:root {
  --navy: #071f55;
  --navy-2: #0c2a69;
  --blue: #0756b8;
  --blue-2: #287bd1;
  --gold: #d4a017;
  --ink: #112345;
  --muted: #60708b;
  --line: #dce4ef;
  --pale: #f2f7fc;
  --paper: #fff;
  --canvas: #f8fafc;
  --green: #287b62;
  --radius: 18px;
  --shadow: 0 18px 46px rgba(7, 31, 85, .09);
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: "DM Sans", Arial, sans-serif; font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font-family: "DM Sans", Arial, sans-serif; }
button, input, select, textarea { font-size: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: Manrope, "DM Sans", sans-serif; letter-spacing: -.04em; color: var(--navy); line-height: 1.12; }
h1 { font-size: clamp(2.65rem, 5.4vw, 4.8rem); font-weight: 800; margin-bottom: 22px; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 750; margin-bottom: 14px; }
h3 { font-size: 1.2rem; font-weight: 750; margin-bottom: 10px; }
p { color: var(--muted); }
::selection { background: #d8e9fb; color: var(--navy); }
:focus-visible { outline: 3px solid #74a9ea; outline-offset: 3px; border-radius: 5px; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 999; background: var(--navy); color: white; padding: 10px 16px; border-radius: 7px; }
.skip-link:focus { top: 14px; }
.container { width: min(var(--max), calc(100% - 56px)); margin-inline: auto; }
.narrow { max-width: 790px; margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 15px; }
.eyebrow:before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.lede { max-width: 660px; font-size: 1.08rem; line-height: 1.75; }
.section { padding: 92px 0; }
.section.compact { padding: 62px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.section-head p { max-width: 490px; margin: 0; }
.section-head h2 { margin-bottom: 0; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.section.soft { background: var(--pale); }
.section.dark { background: var(--navy); color: white; position: relative; overflow: hidden; }
.section.dark:after { content: ""; position: absolute; width: 720px; height: 350px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; right: -250px; bottom: -260px; transform: rotate(-18deg); pointer-events: none; }
.section.dark h2, .section.dark h3 { color: white; }
.section.dark p { color: #c4d1e8; }
.section.dark .eyebrow { color: #a9ccf5; }
.section.dark .eyebrow:before { background: var(--gold); }
.button { min-height: 46px; border: 1px solid var(--navy); display: inline-flex; gap: 10px; align-items: center; justify-content: center; border-radius: 0; padding: 0 21px; cursor: pointer; font-family: Archivo, "DM Sans", sans-serif; font-size: .88rem; font-weight: 700; box-shadow: 4px 4px 0 var(--navy); transition: background .2s ease, color .2s ease, border .2s ease, transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--navy); }
.button.primary { background: var(--blue); color: white; }
.button.primary:hover { background: var(--navy); }
.button.navy { background: var(--navy); color: white; }
.button.navy:hover { background: var(--blue); }
.button.outline { color: var(--navy); border-color: var(--navy); background: white; }
.button.outline:hover { border-color: var(--blue); background: white; }
.button.white { background: white; color: var(--navy); }
.button.white-outline { color: white; border-color: rgba(255,255,255,.5); background: transparent; }
.button.white-outline:hover { background: rgba(255,255,255,.1); }
.button.small { min-height: 38px; padding: 0 15px; font-size: .8rem; }
.button.full { width: 100%; }
.button[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.text-link { color: var(--blue); display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .88rem; }
.text-link:hover { color: var(--navy); }
.icon { width: 18px; height: 18px; display: inline-grid; place-items: center; flex: 0 0 auto; }
.icon svg { width: 100%; height: 100%; }

/* header and footer */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(220,228,239,.8); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); flex: 0 0 auto; }
.brand-mark { width: 42px; height: 42px; }
.brand-word { font: 800 .98rem Manrope, sans-serif; letter-spacing: .16em; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.25vw, 32px); margin-left: auto; }
.main-nav a { color: #344460; font-size: .81rem; font-weight: 600; position: relative; transition: color .18s; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.main-nav a.active { padding: 8px; border: 1px solid var(--line); background: var(--surface-raised); }
.header-actions { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.instagram-link { display: inline-grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 50%; color: var(--navy); transition: background .2s ease, color .2s ease; }
.instagram-link:hover { background: var(--pale); color: var(--blue); }
.instagram-link svg { display: block; width: 21px; height: 21px; }
.header-search { border: 0; background: transparent; width: 36px; height: 36px; display: grid; place-items: center; color: var(--navy); cursor: pointer; border-radius: 50%; }
.header-search:hover { background: var(--pale); }
.header-actions .button { min-height: 38px; padding-inline: 17px; font-size: .78rem; }
.mobile-toggle { display: none; border: 0; background: transparent; color: var(--navy); padding: 9px; cursor: pointer; }
.mobile-panel { display: none; }
.footer { background: #061a49; color: white; padding: 70px 0 25px; position: relative; overflow: hidden; }
.footer:before { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; width: 900px; height: 400px; top: -300px; left: 20%; transform: rotate(-12deg); }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 54px; position: relative; }
.footer .brand { color: white; margin-bottom: 17px; }
.footer .brand-word { color: white; }
.footer-about { max-width: 300px; color: #b4c2dd; font-size: .88rem; }
.footer h4 { color: white; letter-spacing: 0; font-size: .88rem; margin: 4px 0 18px; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { color: #b9c8e0; font-size: .82rem; width: fit-content; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.15); margin-top: 49px; padding-top: 20px; position: relative; color: #a9b9d6; font-size: .75rem; }
.footer-social { display: flex; gap: 18px; }
.footer-social a { color: #d5e1f3; }
.footer-social .instagram-link { width: 24px; height: 24px; flex-basis: 24px; color: #d5e1f3; }
.footer-social .instagram-link svg { width: 20px; height: 20px; }
.footer-social .instagram-link:hover { background: transparent; color: white; }

/* hero */
.hero { min-height: 630px; display: grid; align-items: center; background: linear-gradient(115deg, #fff 0%, #f5f9fd 53%, #edf5fc 100%); position: relative; overflow: hidden; border-bottom: 1px solid #edf1f5; }
.hero:before, .hero:after { content: ""; position: absolute; border: 1px solid rgba(40,123,209,.12); width: 770px; height: 285px; border-radius: 50%; top: 105px; right: -85px; transform: rotate(-22deg); pointer-events: none; }
.hero:after { width: 700px; height: 250px; top: 144px; right: -40px; transform: rotate(24deg); border-color: rgba(212,160,23,.12); }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 40px; min-height: 620px; position: relative; z-index: 1; }
.hero-copy { padding: 62px 0 74px; max-width: 540px; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy h1 { max-width: 620px; color: var(--heading); font-family: "Plus Jakarta Sans", Manrope, "DM Sans", sans-serif; font-size: clamp(3rem, 6.2vw, 5.8rem); font-weight: 800; letter-spacing: -.065em; line-height: .98; }
.hero-copy h1 em { color: var(--blue); font-family: "Playfair Display", Georgia, serif; font-weight: 600; }
.hero-copy > p { max-width: 445px; margin-bottom: 27px; color: var(--ink); font-size: 1rem; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 20px; align-items: center; margin-top: 29px; color: #506482; font-size: .72rem; flex-wrap: wrap; }
.proof-item { display: inline-flex; gap: 7px; align-items: center; }
.proof-item .icon { width: 14px; height: 14px; color: var(--blue); }
.hero-art { min-height: 490px; position: relative; display: grid; place-items: center; }
.orbit { position: absolute; width: 450px; height: 450px; border-radius: 50%; border: 1px solid rgba(7,86,184,.22); }
.orbit:before, .orbit:after { content: ""; position: absolute; inset: 40px -14px; border: 1px solid rgba(7,86,184,.12); border-radius: 50%; transform: rotate(59deg); }
.orbit:after { transform: rotate(-59deg); inset: 55px -2px; border-color: rgba(212,160,23,.18); }
.orbit-dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); top: 43px; left: 93px; box-shadow: 0 0 0 5px rgba(7,86,184,.1); }
.hero-logo-disc { z-index: 2; width: 206px; height: 206px; background: rgba(255,255,255,.75); display: grid; place-items: center; border-radius: 50%; box-shadow: 0 18px 55px rgba(7,31,85,.1); backdrop-filter: blur(8px); }
.hero-logo-disc .brand-mark { width: 150px; height: 150px; }
.orbit-card { width: 176px; height: 118px; position: absolute; z-index: 3; border-radius: 12px; overflow: hidden; color: white; box-shadow: 0 13px 28px rgba(7,31,85,.2); border: 3px solid white; display: flex; align-items: end; }
.orbit-card:before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,18,49,.88), transparent 75%); }
.orbit-card span { position: relative; z-index: 1; font: 700 .8rem Manrope,sans-serif; padding: 13px; line-height: 1.2; }
.orbit-card.one { left: 3%; top: 14%; transform: rotate(-7deg); }
.orbit-card.two { right: 2%; top: 14%; transform: rotate(5deg); }
.orbit-card.three { left: 5%; bottom: 10%; transform: rotate(-5deg); }
.orbit-card.four { right: 3%; bottom: 9%; transform: rotate(7deg); }
.orbit-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scroll { position: absolute; bottom: 20px; right: 7%; display: flex; align-items: center; gap: 7px; color: #6e7c91; font-size: .7rem; writing-mode: vertical-rl; }
.hero-scroll:before { content: ""; width: 1px; height: 35px; background: var(--gold); }

/* cards and content */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.op-card, .resource-card, .person-card { background: white; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 4px 15px rgba(7,31,85,.035); transition: transform .22s, box-shadow .22s, border-color .22s; }
.op-card { border-radius: 15px; }
.op-card:hover, .resource-card:hover, .person-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bed0e6; }
.card-image { height: 188px; position: relative; background: #dbe7f1; overflow: hidden; }
.card-image img { height: 100%; width: 100%; object-fit: cover; transition: transform .4s; }
.op-card:hover .card-image img, .resource-card:hover img { transform: scale(1.035); }
.card-image .label { position: absolute; top: 13px; left: 13px; }
.label { border-radius: 999px; padding: 5px 10px; background: white; color: var(--navy); font-size: .66rem; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.label.gold { background: #f7e9bc; color: #72550c; }
.label.blue { background: #e3f0ff; color: #1354a2; }
.save-button { position: absolute; top: 11px; right: 11px; width: 35px; height: 35px; display: grid; place-items: center; color: var(--navy); border: 0; border-radius: 50%; background: rgba(255,255,255,.94); cursor: pointer; }
.save-button:hover, .save-button.saved { color: #c33f5c; }
.card-body { padding: 18px 18px 17px; }
.card-type { color: var(--blue); text-transform: uppercase; letter-spacing: .1em; font-size: .64rem; font-weight: 800; margin-bottom: 8px; }
.card-body h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.3; }
.card-body p { font-size: .79rem; line-height: 1.55; margin-bottom: 13px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px 13px; color: #63728a; font-size: .69rem; padding-top: 12px; border-top: 1px solid #edf0f5; }
.card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.card-meta .icon { width: 13px; height: 13px; color: var(--blue); }
.card-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 13px; }
.card-foot .text-link { font-size: .76rem; }
.card-foot small { color: #718099; font-size: .68rem; }
.feature-card { min-height: 400px; padding: 35px; display: flex; flex-direction: column; justify-content: end; border-radius: 18px; color: white; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.feature-card:before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,19,53,.94), rgba(5,19,53,.05) 90%); }
.feature-card > * { position: relative; z-index: 1; }
.feature-card h3 { color: white; font-size: 1.6rem; max-width: 430px; }
.feature-card p { color: #d7e0ef; max-width: 440px; margin-bottom: 20px; }
.category-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 12px; }
.category { background: white; border: 1px solid var(--line); min-height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; color: var(--navy); border-radius: 12px; transition: all .2s; font-size: .72rem; font-weight: 700; text-align: center; padding: 12px 7px; }
.category:hover { background: var(--navy); color: white; transform: translateY(-3px); border-color: var(--navy); }
.category .icon { color: var(--blue); width: 24px; height: 24px; }
.category:hover .icon { color: #eac54a; }
.category-rail { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 22px; }
.category-chip { padding: 8px 14px; background: white; border: 1px solid var(--line); border-radius: 999px; color: #53627a; font-size: .78rem; font-weight: 600; cursor: pointer; transition: .18s; }
.category-chip:hover, .category-chip.active { background: var(--navy); border-color: var(--navy); color: white; }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.stat { padding: 23px 19px; border-left: 1px solid rgba(255,255,255,.24); }
.stat strong { display: block; font: 800 2rem Manrope,sans-serif; color: white; margin-bottom: 7px; }
.stat span { color: #bbcae3; font-size: .79rem; }
.stat-note { text-align: center; color: #91a5c8; font-size: .7rem; margin: 22px 0 0; }
.quote-card { border-left: 2px solid var(--gold); padding: 8px 0 8px 24px; max-width: 750px; margin: auto; }
.quote-card blockquote { font: 600 clamp(1.6rem,3vw,2.5rem) Manrope,sans-serif; color: white; letter-spacing: -.04em; line-height: 1.3; margin: 0 0 19px; }
.quote-card cite { color: #b8c9e3; font-size: .8rem; font-style: normal; }
.resource-card { border-radius: 12px; }
.resource-card img { width: 100%; height: 164px; object-fit: cover; transition: transform .4s; }
.resource-card .card-body { padding: 16px; }
.resource-card h3 { font-size: .96rem; }
.person-card { border-radius: 14px; padding: 20px; text-align: center; }
.person-card img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin: 0 auto 15px; border: 4px solid #eff5fb; }
.person-card h3 { margin-bottom: 4px; font-size: 1rem; }
.person-card p { font-size: .77rem; margin: 0; }
.person-card .person-role { color: var(--blue); font-weight: 700; margin-bottom: 7px; }
.person-card .person-description { margin-top: 9px; line-height: 1.6; }
.team-marquee { overflow: hidden; padding: 6px 0 18px; }
.team-track { display: flex; width: max-content; animation: team-move-left 36s linear infinite; }
.team-marquee:hover .team-track, .team-marquee:focus-within .team-track { animation-play-state: paused; }
.team-group { display: flex; flex: 0 0 auto; align-items: stretch; gap: 18px; padding-right: 18px; }
.team-group .person-card { width: clamp(250px, 24vw, 300px); flex: 0 0 auto; }
.team-group[aria-hidden="true"] { pointer-events: none; }
@keyframes team-move-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.community-photo { min-height: 380px; border-radius: 18px; overflow: hidden; position: relative; }
.community-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.community-photo:after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(0deg,rgba(7,31,85,.75),transparent); }
.photo-caption { position: absolute; z-index: 2; bottom: 22px; left: 25px; right: 25px; color: white; font: 700 1.3rem Manrope,sans-serif; }
.quote-mark { color: var(--gold); font: 700 4rem Georgia; line-height: .8; }

/* inner pages */
.page-hero { padding: 76px 0 70px; background: linear-gradient(120deg,#fff,#f0f6fc); border-bottom: 1px solid #e4ebf3; position: relative; overflow: hidden; }
.page-hero:after { content: ""; position: absolute; right: -180px; top: -245px; width: 650px; height: 380px; border: 1px solid rgba(7,86,184,.13); border-radius: 50%; transform: rotate(-24deg); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.3rem,4.5vw,3.7rem); max-width: 790px; margin-bottom: 17px; }
.page-hero p { max-width: 660px; font-size: 1rem; margin-bottom: 0; }
.breadcrumb { color: #718099; font-size: .72rem; margin-bottom: 20px; }
.breadcrumb a { color: var(--blue); }
.directory-top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; margin: 30px 0 23px; }
.search-box { display: flex; align-items: center; gap: 10px; background: white; border: 1px solid #cbd6e5; height: 52px; border-radius: 10px; padding: 0 15px; max-width: 680px; box-shadow: 0 4px 12px rgba(7,31,85,.03); }
.search-box .icon { color: var(--blue); }
.search-box input { border: 0; outline: none; flex: 1; min-width: 0; color: var(--ink); background: transparent; }
.search-box input:focus-visible { outline: none; }
.filter-row { display: flex; gap: 11px; flex-wrap: wrap; align-items: center; margin-bottom: 25px; }
.filter-select { height: 39px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; background: white; color: #455673; font-size: .76rem; }
.result-count { color: #728098; font-size: .78rem; }
.empty-state { text-align: center; background: white; border: 1px dashed #bfcddd; border-radius: 15px; padding: 58px 20px; }
.empty-state .icon { width: 36px; height: 36px; color: var(--blue); margin-bottom: 14px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { max-width: 440px; margin-inline: auto; margin-bottom: 19px; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 34px; align-items: start; }
.detail-cover { height: 400px; width: 100%; border-radius: 16px; object-fit: cover; }
.detail-main { min-width: 0; }
.detail-main h1 { font-size: clamp(2.1rem,4vw,3.25rem); margin: 13px 0 17px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 11px 22px; padding: 17px 0; border-block: 1px solid var(--line); margin: 19px 0 29px; color: #4c5c74; font-size: .8rem; }
.detail-meta span { display: inline-flex; align-items: center; gap: 7px; }
.detail-meta .icon { color: var(--blue); width: 16px; height: 16px; }
.prose h2 { font-size: 1.5rem; margin: 32px 0 13px; }
.prose h3 { margin: 24px 0 9px; }
.prose p, .prose li { line-height: 1.8; }
.prose ul { padding-left: 20px; color: var(--muted); }
.policy-document .policy-dates { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.policy-document .policy-section + .policy-section { margin-top: 30px; padding-top: 7px; border-top: 1px solid var(--line); }
.policy-document .policy-section h2 { margin-top: 25px; }
.policy-document a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.policy-document strong { color: var(--ink); }
.detail-aside { position: sticky; top: 102px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 7px 23px rgba(7,31,85,.055); padding: 23px; }
.detail-aside h3 { font-size: 1.06rem; margin-bottom: 17px; }
.aside-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #edf0f5; font-size: .76rem; }
.aside-row span:first-child { color: #728098; }
.aside-row strong { text-align: right; color: var(--ink); font-weight: 700; }
.detail-aside .button { margin-top: 18px; }
.detail-aside .aside-note { font-size: .7rem; margin: 11px 0 0; text-align: center; }
.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin: 32px 0 25px; overflow-x: auto; }
.tab { border: 0; background: none; padding: 0 0 12px; color: #687790; white-space: nowrap; cursor: pointer; font-size: .8rem; font-weight: 700; border-bottom: 2px solid transparent; }
.tab.active { color: var(--blue); border-color: var(--gold); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 0; background: transparent; padding: 19px 0; cursor: pointer; color: var(--navy); font-weight: 700; text-align: left; }
.faq-answer { display: none; padding: 0 38px 17px 0; }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { margin: 0; font-size: .87rem; }

/* forms, dashboards, verify */
.form-card { background: white; border: 1px solid var(--line); box-shadow: 0 8px 26px rgba(7,31,85,.06); border-radius: 15px; padding: 30px; }
.form-card h2, .form-card h3 { margin-bottom: 7px; }
.form-card > p { font-size: .82rem; margin-bottom: 23px; }
.field { display: grid; gap: 6px; margin-bottom: 17px; }
.field label { color: #31415e; font-weight: 700; font-size: .76rem; }
.field input, .field select, .field textarea { min-height: 46px; border: 1px solid #cbd6e5; background: #fff; border-radius: 8px; padding: 10px 13px; color: var(--ink); width: 100%; }
.field textarea { min-height: 125px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9aa6b7; }
.field-help { color: #7b899e; font-size: .69rem; }
.admin-image-upload { display:grid; gap:6px; margin-top:8px; }
.admin-image-upload input[type="file"] { min-height:40px; padding:7px 10px; font-size:.74rem; }
.admin-image-upload .field-help { line-height:1.45; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkline { display: flex; align-items: start; gap: 9px; color: #5e6d84; font-size: .76rem; margin: 8px 0 18px; }
.checkline input { margin-top: 4px; accent-color: var(--blue); }
.form-note { font-size: .72rem; color: #78869a; margin: 16px 0 0; text-align: center; }
.inline-message { border: 1px solid #d3e2f2; background: #f2f8fe; color: #23436b; border-radius: 9px; padding: 13px 15px; font-size: .79rem; margin: 14px 0; }
.inline-message.warning { background: #fbf6e8; border-color: #eadca9; color: #71590f; }
.inline-message.error { background: #fff0f0; border-color: #f0cccc; color: #8d3030; }
.login-layout { min-height: 640px; display: grid; grid-template-columns: .92fr 1.08fr; background: var(--navy); }
.login-brand-panel { display: flex; flex-direction: column; justify-content: space-between; padding: 45px clamp(28px,6vw,90px); color: white; position: relative; overflow: hidden; }
.login-brand-panel:after { content: ""; position: absolute; width: 540px; height: 540px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); bottom: -310px; left: -150px; box-shadow: 0 0 0 48px rgba(255,255,255,.025),0 0 0 100px rgba(255,255,255,.02); }
.login-brand-panel .brand, .login-brand-panel h1, .login-brand-panel p { color: white; position: relative; z-index: 1; }
.login-brand-panel h1 { font-size: clamp(2.2rem,4vw,3.5rem); margin-top: auto; max-width: 460px; }
.login-brand-panel p { color: #c3d0e5; max-width: 400px; position: relative; z-index: 1; }
.login-brand-panel .tiny { position: relative; z-index: 1; color: #9eafd0; font-size: .73rem; margin-top: 30px; }
.login-form-panel { background: #f7f9fc; display: grid; place-items: center; padding: 50px 25px; }
.login-form-panel .form-card { width: min(430px,100%); }
.dashboard-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 650px; background: white; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 30px rgba(7,31,85,.05); }
.dash-side { background: var(--navy); padding: 24px 16px; color: white; }
.dash-side .brand { color: white; margin: 0 10px 33px; }
.dash-side .brand-word { font-size: .76rem; }
.dash-side .brand-mark { width: 32px; height: 32px; }
.dash-side nav { display: grid; gap: 5px; }
.dash-side nav a { display: flex; gap: 11px; align-items: center; padding: 11px 12px; border-radius: 7px; color: #bdcbe1; font-size: .79rem; }
.dash-side nav a.active, .dash-side nav a:hover { background: rgba(255,255,255,.11); color: white; }
.dash-side nav .icon { width: 16px; height: 16px; }
.dash-content { padding: 30px; min-width: 0; background: #f8fafc; }
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 27px; }
.dash-top h2 { font-size: 1.65rem; margin: 0 0 3px; }
.dash-top p { margin: 0; font-size: .78rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid white; box-shadow: 0 2px 8px #d1d8e2; }
.dash-stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 20px; }
.dash-stat, .dash-panel { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.dash-stat span { color: #74829a; font-size: .7rem; }
.dash-stat strong { display: block; color: var(--navy); font: 800 1.65rem Manrope,sans-serif; margin: 4px 0; }
.dash-panel { margin-bottom: 17px; }
.dash-panel h3 { font-size: .95rem; margin-bottom: 15px; }
.dash-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; border-top: 1px solid #edf0f5; }
.dash-row:first-of-type { border-top: 0; }
.dash-row .row-title { color: var(--ink); font-size: .78rem; font-weight: 700; }
.dash-row small { display: block; color: #76849a; font-size: .67rem; }
.pill-status { background: #eef5fd; color: #2863a5; border-radius: 99px; padding: 5px 9px; white-space: nowrap; font-size: .65rem; font-weight: 700; }
.dashboard-notice { background: #fbf6e8; color: #6b5411; border: 1px solid #eadca9; border-radius: 9px; padding: 11px 13px; font-size: .73rem; margin-bottom: 19px; }
.verify-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; background: white; border: 1px solid var(--line); border-radius: 16px; padding: 34px; box-shadow: 0 8px 26px rgba(7,31,85,.045); }
.certificate-preview { background: #f4f8fc; border: 1px solid #c8d8e9; min-height: 270px; display: grid; place-items: center; padding: 25px; text-align: center; position: relative; overflow: hidden; }
.certificate-preview:before { content: ""; border: 1px solid #d1b65e; position: absolute; inset: 10px; pointer-events: none; }
.certificate-preview .brand-mark { width: 54px; height: 54px; margin: 0 auto 8px; }
.certificate-preview h3 { font: 600 1.35rem "Playfair Display", Georgia, serif; margin: 6px 0; }
.certificate-preview p { font-size: .68rem; margin: 0; }
.certificate-preview strong { color: var(--navy); font-size: .8rem; }
.status-box { display: none; margin-top: 16px; }
.status-box.show { display: block; }
.status-box .inline-message { margin-bottom: 0; }
.state-404 { min-height: 570px; display: grid; place-items: center; text-align: center; background: linear-gradient(140deg,#f5f9fd,#eaf2fb); overflow: hidden; position: relative; }
.state-404:before { content: ""; position: absolute; width: 750px; height: 280px; border: 1px solid rgba(7,86,184,.2); border-radius: 50%; transform: rotate(-20deg); }
.state-404 > div { position: relative; }
.state-404 .big-404 { color: var(--navy); font: 800 clamp(6rem,20vw,12rem) Manrope,sans-serif; line-height: .9; letter-spacing: -.1em; }
.state-404 h1 { font-size: 1.8rem; margin: 20px 0 10px; }
.state-404 p { max-width: 420px; margin: 0 auto 20px; }
.preview-watermark { font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: #7c899d; }
.table-wrap { overflow: auto; }
table { border-collapse: collapse; width: 100%; font-size: .75rem; min-width: 590px; }
th { color: #7d899a; text-transform: uppercase; letter-spacing: .08em; font-size: .62rem; text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line); }
td { padding: 13px 8px; color: #3f4f68; border-bottom: 1px solid #edf0f4; }
td strong { color: var(--ink); }
.toast-region { position: fixed; bottom: 20px; right: 20px; z-index: 100; display: grid; gap: 8px; width: min(350px,calc(100% - 40px)); }
.toast { background: var(--navy); color: white; padding: 13px 16px; border-radius: 10px; box-shadow: 0 12px 30px rgba(7,31,85,.25); font-size: .8rem; animation: toast-in .22s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.skeleton { background: linear-gradient(90deg,#eef2f7 20%,#f8fafc 38%,#eef2f7 56%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position-x: -200%; } }

@media (max-width: 1040px) {
  .main-nav { gap: 16px; }
  .header-actions { gap: 6px; }
  .header-actions .button { padding-inline: 13px; }
  .hero-grid { grid-template-columns: .92fr 1.08fr; gap: 15px; }
  .orbit { width: 390px; height: 390px; }
  .orbit-card { width: 151px; height: 103px; }
  .hero-logo-disc { width: 170px; height: 170px; }
  .hero-logo-disc .brand-mark { width: 125px; height: 125px; }
  .category-grid { grid-template-columns: repeat(4,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { gap: 30px; }
}
@media (max-width: 780px) {
  .container { width: min(100% - 36px, var(--max)); }
  .header-inner { min-height: 66px; }
  .main-nav, .header-actions .desktop-action, .header-search { display: none; }
  .mobile-toggle { display: grid; place-items: center; }
  .mobile-panel { display: block; position: absolute; top: 100%; left: 0; right: 0; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 14px 22px rgba(7,31,85,.08); padding: 8px 18px 17px; transform-origin: top; }
  .mobile-panel[hidden] { display: none; }
  .mobile-panel nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
  .mobile-panel nav a { padding: 11px 9px; font-size: .84rem; color: #344460; border-bottom: 1px solid #f0f3f7; }
  .mobile-panel .mobile-auth { display: flex; gap: 9px; padding-top: 13px; }
  .mobile-panel .button { flex: 1; }
  .hero { min-height: initial; }
  .hero-grid { display: flex; flex-direction: column; gap: 0; min-height: auto; align-items: stretch; }
  .hero-copy { padding: 58px 0 5px; max-width: 620px; }
  .hero-copy h1 { font-size: clamp(2.5rem,10vw,4.15rem); }
  .hero-copy > p { font-size: .94rem; }
  .hero-art { min-height: 390px; margin: 0 -12px 15px; }
  .orbit { width: min(360px, 89vw); height: min(360px, 89vw); }
  .orbit-card { width: 136px; height: 93px; }
  .orbit-card span { font-size: .68rem; padding: 10px; }
  .hero-logo-disc { width: 152px; height: 152px; }
  .hero-logo-disc .brand-mark { width: 110px; height: 110px; }
  .hero-scroll { display: none; }
  .section { padding: 65px 0; }
  .section.compact { padding: 50px 0; }
  .section-head { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .section-head p { max-width: 600px; }
  .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-2 { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(4,1fr); gap: 8px; }
  .category { min-height: 94px; font-size: .65rem; }
  .stat-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .stat { padding: 18px 12px; }
  .stat strong { font-size: 1.7rem; }
  .footer-grid { grid-template-columns: repeat(2,1fr); gap: 30px 22px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; margin-top: 34px; }
  .page-hero { padding: 58px 0 52px; }
  .directory-top { grid-template-columns: 1fr; align-items: start; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-aside { position: static; order: -1; }
  .detail-cover { height: 300px; }
  .verify-panel { grid-template-columns: 1fr; padding: 23px; }
  .login-layout { grid-template-columns: 1fr; }
  .login-brand-panel { padding: 26px 24px; min-height: 300px; }
  .login-brand-panel h1 { margin-top: 40px; }
  .login-form-panel { padding: 30px 18px; }
  .dashboard-shell { grid-template-columns: 1fr; }
  .dash-side { padding: 12px; }
  .dash-side .brand { display: none; }
  .dash-side nav { display: flex; min-width: 0; overflow-x: auto; gap: 3px; }
  .dash-side nav a { flex: 0 0 auto; white-space: nowrap; padding: 9px 11px; font-size: .7rem; }
  .dash-content { padding: 20px 15px; }
  .dash-top { align-items: flex-start; flex-wrap: wrap; }
  .dash-top > div { min-width: 0; }
  .dash-top h2, .dash-top p { overflow-wrap: anywhere; }
  .dash-stat-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  .dash-stat { min-width: 0; padding: 12px; }
  .dash-stat strong { font-size: 1.35rem; }
  .dash-stat span { display: block; overflow-wrap: anywhere; font-size: .62rem; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 30px); }
  .brand-mark { width: 37px; height: 37px; }
  .brand-word { font-size: .85rem; }
  .hero-copy { padding-top: 45px; }
  .hero-copy h1 { font-size: 2.65rem; }
  .hero-copy .eyebrow { font-size: .66rem; }
  .hero-buttons { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-buttons .button { padding-inline: 12px; font-size: .76rem; }
  .hero-proof { gap: 10px 14px; font-size: .64rem; }
  .hero-art { min-height: 335px; }
  .orbit-card { width: 119px; height: 83px; }
  .orbit-card.one { left: 1%; }
  .orbit-card.two { right: 1%; }
  .orbit-card.three { left: 1%; }
  .orbit-card.four { right: 1%; }
  .hero-logo-disc { width: 130px; height: 130px; }
  .hero-logo-disc .brand-mark { width: 96px; height: 96px; }
  h2 { font-size: 1.85rem; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(4,1fr); }
  .category { padding: 8px 4px; min-height: 84px; }
  .category .icon { width: 21px; height: 21px; }
  .feature-card { min-height: 355px; padding: 24px; }
  .feature-card h3 { font-size: 1.35rem; }
  .footer-grid { gap: 26px 16px; }
  .footer { padding-top: 53px; }
  .form-card { padding: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .detail-cover { height: 235px; }
  .detail-aside { padding: 18px; }
  .dashboard-shell { width: 100%; min-width: 0; }
  .dash-content { width: 100%; min-width: 0; }
  .dash-top { display: block; }
  .dash-top h2 { font-size: 1.35rem; }
  .dash-top .label { display: inline-flex; margin-top: 10px; }
  .dash-stat-grid { width: 100%; grid-template-columns: minmax(0,1fr); }
  .dash-stat { width: 100%; }
  .dash-top .button { display: none; }
  .certificate-preview { min-height: 235px; }
  .tabs { gap: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Globe-led hero and compact mobile quick navigation */
.section { padding: clamp(48px, 5.8vw, 72px) 0; }
.section.compact { padding: clamp(34px, 4vw, 50px) 0; }
.hero-grid { min-height: 570px; }
.page-hero { padding: 62px 0 52px; }
.hero-logo-disc { width: 116px; height: 116px; background: #fff; box-shadow: 0 12px 36px rgba(0,0,0,.28); }
.hero-logo-disc .brand-mark { width: 104px; height: 104px; box-shadow: none; }
.revolving-earth { position: absolute; z-index: 1; width: 264px; height: 264px; border-radius: 50%; overflow: visible; background: radial-gradient(circle at 31% 25%,#2c8ab7 0%,#14638e 36%,#0a3c65 70%,#061a39 100%); box-shadow: inset -24px -9px 32px rgba(0,7,22,.76), inset 8px 6px 22px rgba(126,203,239,.28), 0 22px 56px rgba(0,0,0,.34); }
.revolving-earth:before { content:""; position:absolute; z-index:2; inset:0; border-radius:50%; pointer-events:none; background:radial-gradient(ellipse at 31% 26%,rgba(255,255,255,.24),transparent 22%),linear-gradient(100deg,transparent 23%,rgba(2,14,37,.08) 49%,rgba(1,9,28,.58) 100%); }
.revolving-earth:after { content:""; position:absolute; z-index:4; inset:-3px; border:1px solid rgba(129,190,238,.43); border-radius:50%; box-shadow:0 0 24px rgba(43,139,222,.17); pointer-events:none; }
.earth-map-clip { position:absolute; inset:2px; z-index:1; overflow:hidden; border-radius:50%; }
.earth-map-strip { position:absolute; top:10%; left:0; width:200%; height:80%; opacity:.94; animation: earth-roll 20s linear infinite; filter: drop-shadow(0 0 3px rgba(8,43,53,.35)); }
.earth-latitude, .earth-longitude { position:absolute; z-index:3; inset:24px 5px; border:1px solid rgba(165,218,233,.19); border-radius:50%; pointer-events:none; }
.earth-latitude { transform:rotateX(68deg); }
.earth-longitude { inset:0 59px; transform:rotateY(65deg); }
.earth-orbit { position:absolute; z-index:5; width:285px; height:96px; left:50%; top:50%; border:1px solid rgba(221,184,81,.58); border-radius:50%; transform:translate(-50%,-50%) rotate(-24deg); pointer-events:none; }
.earth-orbit:after { content:""; position:absolute; width:7px; height:7px; top:9px; right:40px; border-radius:50%; background:#e2bd55; box-shadow:0 0 12px rgba(226,189,85,.6); }
@keyframes earth-roll { from { transform:translateX(0); } to { transform:translateX(-50%); } }
.hero-art .orbit { z-index:0; }
.orbit-card { z-index:6; }
.hero-logo-disc { z-index:7; }
.brand-pet { position:relative; display:inline-block; width:25px; height:34px; flex:0 0 25px; margin-left:-5px; opacity:1; transition:opacity .2s,transform .2s; }
.brand-pet .pet-figure { transform:scale(.46); transform-origin:top left; animation:robot-idle 3.6s ease-in-out infinite; }
.brand-pet .pet-bubble { top:-21px; left:53%; font-size:.55rem; }
.brand-pet.laughing .pet-bubble { opacity:1; transform:translateX(-50%) translateY(0); }
.pet-figure { position:relative; display:block; width:54px; height:66px; transform-origin:bottom center; }
.pet-figure.laughing { animation:robot-laugh .36s ease-in-out 2; }
.pet-figure.laughing .pet-mouth { width:9px; height:4px; left:17px; bottom:5px; border-radius:0 0 8px 8px; background:#d4a017; }
@keyframes robot-idle { 0%,100% { translate:0 0; rotate:0; } 50% { translate:0 -2px; rotate:1deg; } }
@keyframes robot-laugh { 0%,100% { transform:translateY(0) rotate(0); } 22% { transform:translateY(-7px) rotate(-8deg); } 48% { transform:translateY(0) rotate(8deg); } 73% { transform:translateY(-4px) rotate(-4deg); } }
.mobile-bottom-nav { display:none; }

@media (max-width: 780px) {
  body { padding-bottom:calc(63px + env(safe-area-inset-bottom)); }
  .hero-grid { min-height:auto; }
  .hero-art { min-height:360px; }
  .revolving-earth { width:234px; height:234px; }
  .earth-orbit { width:252px; height:82px; }
  .hero-logo-disc { width:99px; height:99px; }
  .hero-logo-disc .brand-mark { width:90px; height:90px; }
  .mobile-bottom-nav { position:fixed; z-index:95; left:0; right:0; bottom:0; display:flex; justify-content:space-around; gap:0; padding:7px 5px calc(7px + env(safe-area-inset-bottom)); border-top:1px solid rgba(156,184,220,.18); background:rgba(5,18,42,.94); backdrop-filter:blur(20px); box-shadow:0 -10px 28px rgba(0,0,0,.23); }
  .mobile-bottom-nav a { min-width:0; flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; padding:2px 3px; color:#aabbd4; font-size:.64rem; font-weight:600; line-height:1.25; }
  .mobile-bottom-nav a .icon { width:18px; height:18px; color:#9cb5d8; }
  .mobile-bottom-nav a.active { color:white; }
  .mobile-bottom-nav a.active .icon { color:#e2bd55; filter:drop-shadow(0 0 5px rgba(226,189,85,.35)); }
  .toast-region { bottom:calc(76px + env(safe-area-inset-bottom)); }
  .dash-side { padding:12px; }
  .dash-side nav { position:static; height:auto; display:flex; overflow-x:auto; gap:3px; padding:0; background:transparent; box-shadow:none; }
  .dash-side nav a { flex-direction:row; white-space:nowrap; font-size:.7rem; }
}
@media (max-width: 520px) {
  .hero-art { min-height:325px; margin-inline:-8px; }
  .revolving-earth { width:202px; height:202px; }
  .earth-orbit { width:220px; height:72px; }
  .hero-logo-disc { width:87px; height:87px; }
  .hero-logo-disc .brand-mark { width:80px; height:80px; }
  .mobile-bottom-nav a { font-size:.59rem; }
  .mobile-bottom-nav a .icon { width:17px; height:17px; }
  .section { padding:46px 0; }
  .section.compact { padding:32px 0; }
  .page-hero { padding:48px 0 40px; }
  .card-image { height:174px; }
  .detail-layout { gap:20px; }
}
@media (max-width: 380px) {
  .container { width:calc(100% - 24px); }
  .header-inner { gap:8px; }
  .brand { gap:6px; }
  .brand-mark { width:34px; height:34px; }
  .brand-word { font-size:.72rem; letter-spacing:.12em; }
  .brand-pet { width:21px; flex-basis:21px; transform:scale(.82); transform-origin:left center; }
  .theme-toggle { width:34px; height:34px; }
  .mobile-toggle { padding:6px; }
  .hero-copy h1 { font-size:2.35rem; }
  .mobile-bottom-nav a { font-size:.55rem; }
}
@media (prefers-reduced-motion: reduce) {
  .earth-map-strip, .earth-orbit, .pet-figure, .pet-antenna { animation:none !important; }
}

/* Univario night-sky theme, motion system, and theme tokens */
:root {
  color-scheme: dark;
  --ink: #e7edf8;
  --muted: #c1cde0;
  --line: #27374e;
  --pale: #0c1b30;
  --paper: #0b1728;
  --canvas: #07111f;
  --heading: #f0f5fc;
  --surface: #0d1b2f;
  --surface-raised: #12243b;
  --field: #091729;
  --blue: #58a0ff;
  --blue-2: #8cbcff;
  --gold: #e2bd55;
  --header-bg: rgba(7, 17, 31, .91);
  --hero-bg: radial-gradient(ellipse at 79% 40%, rgba(28,82,151,.2), transparent 41%), linear-gradient(118deg, #081425 0%, #0d1d33 54%, #10223a 100%);
  --soft-bg: radial-gradient(ellipse at 94% 5%, rgba(54,113,183,.12), transparent 32%), #0b192b;
  --banner-bg: #282313;
  --banner-ink: #e7d391;
}
html[data-theme="light"] {
  color-scheme: light;
  --ink: #112345;
  --muted: #53647a;
  --line: #dce4ef;
  --pale: #f2f7fc;
  --paper: #ffffff;
  --canvas: #f8fafc;
  --heading: #071f55;
  --surface: #ffffff;
  --surface-raised: #f4f8fc;
  --field: #ffffff;
  --blue: #0756b8;
  --blue-2: #287bd1;
  --gold: #d4a017;
  --header-bg: rgba(255, 255, 255, .94);
  --hero-bg: linear-gradient(115deg, #fff 0%, #f5f9fd 53%, #edf5fc 100%);
  --soft-bg: #f2f7fc;
  --banner-bg: #f8f2dd;
  --banner-ink: #69500d;
}
body { background: var(--canvas); background-image: radial-gradient(ellipse at 80% 10%, rgba(34,86,145,.10), transparent 37%); background-attachment: fixed; color: var(--ink); transition: background-color .35s ease, color .35s ease; }
h1, h2, h3, h4 { color: var(--heading); }
.site-header { background: var(--header-bg); border-color: var(--line); }
.brand, .main-nav a, .header-search, .mobile-toggle { color: var(--heading); }
.brand-word { color: var(--heading); }
.brand-mark { padding: 0; border-radius: 2px; background: #fff; object-fit: contain; box-shadow: 0 3px 12px rgba(0,0,0,.16); }
.main-nav a { color: var(--ui-muted, #c2cee0); }
.main-nav a.active, .main-nav a:hover { color: var(--blue-2); }
.header-search:hover { background: var(--surface-raised); }
.mobile-panel { background: var(--paper); border-color: var(--line); }
.mobile-panel nav a { color: var(--ink); border-color: var(--line); }
.hero { background: var(--hero-bg); }
.hero-copy > p { color: var(--ink); }
.hero-proof, .hero-scroll { color: var(--muted); }
.hero:before { border-color: rgba(88,160,255,.16); }
.hero:after { border-color: rgba(226,189,85,.13); }
.orbit { border-color: rgba(88,160,255,.24); }
.orbit:before { border-color: rgba(88,160,255,.15); }
.orbit:after { border-color: rgba(226,189,85,.18); }
.orbit-card { border-color: #d7e0eb; }
.section.soft { background: var(--soft-bg); }
.page-hero { background: var(--hero-bg); border-color: var(--line); }
.page-hero:after { border-color: rgba(88,160,255,.15); }
.op-card, .resource-card, .person-card, .form-card, .detail-aside, .dash-stat, .dash-panel, .dashboard-shell { background: var(--surface); border-color: var(--line); }
.card-meta, .result-count, .breadcrumb, .field-help, .preview-watermark { color: var(--muted); }
.card-meta { border-color: var(--line); }
.card-type { color: var(--blue-2); }
.category, .search-box, .filter-select, .empty-state { background: var(--surface); border-color: var(--line); color: var(--ink); }
.category:hover { background: var(--navy); color: white; }
.category-chip { background: var(--surface); border-color: var(--line); color: var(--muted); }
.category-chip:hover, .category-chip.active { background: var(--blue); border-color: var(--blue); color: white; }
.button.outline { color: var(--navy); border-color: #53647d; background: white; }
.button.outline:hover { color: var(--navy); border-color: var(--blue); background: white; }
.text-link { color: var(--blue-2); }
.save-button { background: var(--surface); color: var(--heading); }
.label { color: var(--navy); }
.directory-top .search-box input, .search-box input { color: var(--ink); }
.detail-meta, .detail-aside .aside-row { color: var(--muted); }
.detail-aside h3, .aside-row strong { color: var(--heading); }
.tabs { border-color: var(--line); }
.tab { color: var(--muted); }
.tab.active { color: var(--blue-2); }
.faq-item { border-color: var(--line); }
.faq-question { color: var(--heading); }
.field label { color: var(--ink); }
.field input, .field select, .field textarea { color: var(--ink); background: var(--field); border-color: #394b64; }
.field input::placeholder, .field textarea::placeholder { color: #8392a8; }
.inline-message { background: #122945; border-color: #2c4f78; color: #d3e6ff; }
.inline-message.warning, .dashboard-notice { background: #302b1a; border-color: #5e5128; color: #edda91; }
.inline-message.error { background: #341f28; border-color: #63303a; color: #ffc9cb; }
.form-note, .aside-note { color: var(--muted); }
.login-form-panel { background: var(--canvas); }
.dashboard-shell { box-shadow: 0 12px 42px rgba(0,0,0,.18); }
.dash-content { background: var(--canvas); }
.dash-stat span, .dash-row small { color: var(--muted); }
.dash-stat strong, .dash-row .row-title { color: var(--heading); }
.dash-row { border-color: var(--line); }
.pill-status { background: #152d4a; color: #a7d0ff; }
.verify-panel { background: var(--surface); border-color: var(--line); }
.certificate-preview { background: var(--surface-raised); border-color: #3a4b63; }
.certificate-preview h3, .certificate-preview strong { color: var(--heading); }
.certificate-preview p { color: var(--muted); }
.state-404 { background: var(--hero-bg); }
.state-404:before { border-color: rgba(88,160,255,.2); }
.state-404 .big-404 { color: var(--heading); }
.skeleton { background: linear-gradient(90deg,#132238 20%,#1a2b42 38%,#132238 56%); background-size: 200% 100%; }
.person-card img { border-color: #21334d; }
.feature-card .label { background: #fff; color: var(--navy); }
.dashboard-notice { border: 1px solid #5e5128; border-radius: 9px; padding: 11px 13px; font-size: .73rem; margin-bottom: 19px; }
.footer { background: #04102a; }
.site-header, .op-card, .resource-card, .person-card, .form-card, .button, .category, .dash-panel { transition-timing-function: cubic-bezier(.2,.75,.25,1); }
.op-card:hover, .resource-card:hover, .person-card:hover { box-shadow: 0 22px 54px rgba(0,0,0,.3); }

/* Theme switch */
.theme-toggle { width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--gold); background: var(--surface); cursor: pointer; transition: transform .25s, background .25s, border .25s; }
.theme-toggle:hover { transform: rotate(-12deg) scale(1.06); border-color: var(--gold); }
.theme-toggle .icon { width: 17px; height: 17px; }
.verification-highlight { display: inline-block; margin-top: 6px; padding: 4px 8px; border-radius: 6px; background: #fff0a8; color: #513d00; font-weight: 800; }

/* Opening mark */
.opening-splash { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; color: white; background: radial-gradient(ellipse at 50% 43%, #102d5b 0%, #071a3e 43%, #050d1e 100%); animation: splash-out .65s cubic-bezier(.7,0,.2,1) 1.15s forwards; }
.opening-splash:before, .opening-splash:after { content: ""; position: absolute; width: min(78vw,680px); height: min(28vw,230px); border: 1px solid rgba(132,183,255,.22); border-radius: 50%; transform: rotate(-23deg); animation: intro-orbit 1.8s ease-out both; }
.opening-splash:after { width: min(70vw,610px); height: min(24vw,200px); border-color: rgba(226,189,85,.3); transform: rotate(23deg); animation-delay: .1s; }
.opening-lockup { position: relative; z-index: 1; display: grid; justify-items: center; gap: 15px; animation: intro-rise .95s cubic-bezier(.2,.8,.2,1) both; }
.intro-mark { width: 118px; height: 118px; padding: 1px; border-radius: 4px; background: #fff; object-fit: contain; filter: drop-shadow(0 14px 30px rgba(0,0,0,.35)); animation: intro-mark 1.5s cubic-bezier(.2,.8,.2,1) both; }
.opening-wordmark { color: white; font: 800 1.12rem Manrope,sans-serif; letter-spacing: .24em; padding-left: .24em; }
.opening-tagline { color: #c1d1eb; font-size: .77rem; letter-spacing: .08em; }
.opening-spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 7px rgba(226,189,85,.1), 0 0 22px rgba(226,189,85,.55); animation: spark-in .8s .25s both; }
.opening-spark.a { top: 30%; left: 28%; }.opening-spark.b { bottom: 29%; right: 29%; animation-delay: .5s; }
@keyframes splash-out { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@keyframes intro-rise { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes intro-mark { from { opacity: 0; transform: rotate(-24deg) scale(.72); } to { opacity: 1; transform: rotate(0) scale(1); } }
@keyframes intro-orbit { from { opacity: 0; scale: .8; } to { opacity: 1; scale: 1; } }
@keyframes spark-in { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }

/* Scroll reveal */
.reveal-ready { opacity: 0; filter: blur(4px); transform: translateY(20px) scale(.99); transition: opacity .65s ease var(--reveal-delay,0ms), filter .65s ease var(--reveal-delay,0ms), transform .65s cubic-bezier(.2,.75,.25,1) var(--reveal-delay,0ms); }
.reveal-ready.is-visible { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
.hero-art .orbit { animation: orbit-breathe 8s ease-in-out infinite alternate; }
.hero-logo-disc { animation: logo-float 5s ease-in-out infinite; }
.orbit-card.one, .orbit-card.three { animation: card-float 5.6s ease-in-out infinite; }
.orbit-card.two, .orbit-card.four { animation: card-float 6.2s ease-in-out -2.7s infinite reverse; }
@keyframes orbit-breathe { from { transform: scale(.97) rotate(-2deg); } to { transform: scale(1.03) rotate(2deg); } }
@keyframes logo-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes card-float { 0%,100% { margin-top: 0; } 50% { margin-top: -9px; } }

/* Tiny Univario mascot */
.pet-bubble { position: absolute; left: 50%; top: -29px; transform: translateX(-50%) translateY(4px); padding: 4px 8px; border: 1px solid rgba(152,183,223,.35); border-radius: 7px 7px 7px 2px; background: #102441; color: #eaf2ff; white-space: nowrap; font-size: .58rem; font-weight: 700; opacity: 0; transition: opacity .2s, transform .2s; }
.pet-antenna { position: absolute; top: 1px; left: 26px; width: 2px; height: 10px; background: #739ac7; transform-origin: bottom; animation: antenna-wave 2.4s ease-in-out infinite; }
.pet-antenna:before { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; left: -2.5px; top: -4px; background: var(--gold); box-shadow: 0 0 9px rgba(226,189,85,.7); }
.pet-head { position: absolute; top: 10px; left: 6px; width: 43px; height: 34px; border: 1.5px solid #b8d4f6; border-radius: 12px 12px 10px 10px; background: linear-gradient(145deg,#f8fbff,#b6d4f6); display: flex; justify-content: center; align-items: center; gap: 8px; box-shadow: inset 0 -4px 0 rgba(7,31,85,.13); }
.pet-head:before, .pet-head:after { content: ""; position: absolute; top: 12px; width: 5px; height: 7px; border-radius: 5px; background: #0756b8; box-shadow: 0 0 7px rgba(7,86,184,.5); }
.pet-head:before { left: 10px; }.pet-head:after { right: 10px; }
.pet-mouth { position: absolute; left: 18px; bottom: 6px; width: 7px; height: 2px; background: #d4a017; border-radius: 2px; }
.pet-body { position: absolute; top: 47px; left: 13px; width: 29px; height: 17px; border: 1.5px solid #8eb3e2; border-radius: 7px 7px 10px 10px; background: #0d3471; display: grid; place-items: center; }
.pet-body:before, .pet-body:after { content: ""; position: absolute; width: 7px; height: 2px; background: #aac7ed; top: 6px; border-radius: 2px; }
.pet-body:before { left: -6px; transform: rotate(-25deg); }.pet-body:after { right: -6px; transform: rotate(25deg); }
.pet-emblem { color: #e2bd55; font: 800 8px Manrope,sans-serif; }
@keyframes antenna-wave { 0%,100% { transform: rotate(0); } 50% { transform: rotate(16deg); } }

html[data-theme="light"] .main-nav a { color: #344460; }
html[data-theme="light"] .main-nav a.active, html[data-theme="light"] .main-nav a:hover { color: var(--blue); }
html[data-theme="light"] .mobile-panel nav a { color: #344460; }
html[data-theme="light"] .inline-message { background: #f2f8fe; border-color: #d3e2f2; color: #23436b; }
html[data-theme="light"] .inline-message.warning, html[data-theme="light"] .dashboard-notice { background: #fbf6e8; border-color: #eadca9; color: #71590f; }
html[data-theme="light"] .inline-message.error { background: #fff0f0; border-color: #f0cccc; color: #8d3030; }

/* Firebase-backed workflows */
.sample-pill { position:absolute;left:12px;bottom:12px;z-index:2;padding:5px 8px;border:1px solid rgba(255,255,255,.34);border-radius:3px;background:rgba(5,18,38,.76);color:#e9f1fc;font-size:.58rem;font-weight:800;letter-spacing:.1em; }
.registration-form { display:grid;gap:11px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line); }
.registration-form[hidden] { display:none; }
.registration-form h4 { margin:0;font-size:1rem; }
.registration-form .field { margin:0; }
.auth-utilities { align-items:center;justify-content:space-between; }
.auth-utilities .checkline { margin:0; }
.danger-link { color:#dd777d; }
.admin-form { display:grid;gap:13px; }
.admin-page-editor { border-top: 1px solid var(--line); padding: 12px 0; }
.admin-page-editor summary { cursor: pointer; color: var(--navy); font-weight: 700; padding: 4px 0; }
.admin-page-editor[open] { padding-bottom: 18px; }
.admin-page-editor .field { margin-top: 12px; }
.person-placeholder { aspect-ratio: 1 / 1; display: grid; place-items: center; background: var(--pale); color: var(--navy); font: 700 2rem/1 Manrope, sans-serif; }
.certificate-id-row { display:flex; gap:8px; align-items:center; }
.certificate-id-row input { flex:1; min-width:0; }
.managed-section { padding-block:clamp(48px,7vw,88px); }
.managed-section-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,.9fr); align-items:center; gap:clamp(24px,5vw,64px); }
.managed-section h2 { max-width:760px; margin:0 0 16px; }
.managed-section p { max-width:720px; line-height:1.75; }
.managed-page-image { margin:0; overflow:hidden; border:1px solid var(--line); border-radius:12px; background:var(--surface-raised); }
.managed-page-image img { display:block; width:100%; max-height:410px; object-fit:cover; }
.managed-cta { background:var(--navy); color:#fff; }
.managed-cta h2,.managed-cta p { color:#fff; }
.managed-cta .eyebrow { color:#efc74b; }
@media(max-width:700px){.managed-section-grid{grid-template-columns:1fr}.certificate-id-row{align-items:stretch}.certificate-id-row .button{padding-inline:12px}}
.inline-message.success { border-color:#2a765e;background:#13392f;color:#b9f4dd; }
html[data-theme="light"] .inline-message.success { border-color:#a9d7c8;background:#ebf8f2;color:#155b45; }
.analytics-consent { position:fixed;z-index:120;left:20px;bottom:20px;width:min(610px,calc(100vw - 40px));display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 19px;border:1px solid rgba(147,174,207,.24);border-radius:9px;background:#0c192a;color:#f4f7fc;box-shadow:0 16px 50px rgba(0,0,0,.3); }
.analytics-consent strong { font-size:.86rem; }
.analytics-consent p { max-width:370px;margin:5px 0 0;color:#b6c4d5;font-size:.73rem;line-height:1.5; }
.analytics-actions { display:flex;flex-wrap:nowrap;gap:8px; }
html[data-theme="light"] .analytics-consent { background:#fff;color:#122440;border-color:#cad7e7;box-shadow:0 16px 50px rgba(13,34,65,.15); }
html[data-theme="light"] .analytics-consent p { color:#54667e; }
@media(max-width:700px) {
 .analytics-consent { left:12px;bottom:calc(76px + env(safe-area-inset-bottom));width:calc(100vw - 24px);align-items:flex-start;flex-direction:column;gap:11px;padding:14px; }
 .analytics-consent p { max-width:none; }
 .analytics-actions { width:100%; }
 .analytics-actions .button { flex:1; }
 .auth-utilities { align-items:flex-start; }
}
html[data-theme="light"] .pill-status { background: #eef5fd; color: #2863a5; }
html[data-theme="light"] .skeleton { background: linear-gradient(90deg,#eef2f7 20%,#f8fafc 38%,#eef2f7 56%); background-size: 200% 100%; }
html[data-theme="light"] .person-card img { border-color: #eff5fb; }

/* Certificate scanner and admin QR tools */
.certificate-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:10px; }
.certificate-scanner[hidden], .certificate-qr-wrap[hidden] { display:none !important; }
.certificate-scanner { display:grid; gap:12px; margin-top:18px; padding:16px; border:1px solid var(--line); background:var(--surface-raised); }
.scanner-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.certificate-scanner video { display:block; width:min(100%,520px); max-height:360px; aspect-ratio:4/3; object-fit:cover; background:#020711; border:1px solid var(--line); }
.scan-upload { position:relative; width:fit-content; overflow:hidden; }
.scan-upload input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.scan-upload:focus-within { outline:3px solid #74a9ea; outline-offset:3px; }
.certificate-qr-wrap { display:flex; align-items:center; gap:20px; margin-top:16px; padding:16px; border:1px solid var(--line); background:var(--surface-raised); }
.qr-code { display:grid; place-items:center; width:212px; min-width:212px; min-height:212px; padding:8px; background:#fff; border:1px solid #dce4ef; }
.qr-code canvas, .qr-code img { display:block; width:196px; height:196px; object-fit:contain; }
.row-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.row-actions button { border:0; background:transparent; padding:3px 0; cursor:pointer; }
.certificate-bulk-download { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; margin-top:22px; padding-top:18px; border-top:1px solid var(--line); }
.certificate-bulk-download p { margin:0; color:var(--muted); font-size:.88rem; }
.certificate-bulk-download .form-response { flex-basis:100%; }
.certificate-bulk-download button:disabled { opacity:.58; cursor:wait; }
html[data-theme="light"] .certificate-scanner, html[data-theme="light"] .certificate-qr-wrap { background:#f6f9fd; }
@media(max-width:600px) {
 .certificate-actions { display:grid; grid-template-columns:1fr; }
 .certificate-actions .button { width:100%; }
 .certificate-bulk-download { align-items:stretch; flex-direction:column; }
 .scanner-heading { align-items:flex-start; }
 .certificate-qr-wrap { align-items:flex-start; flex-direction:column; }
 .qr-code { width:100%; min-width:0; }
}

@media (prefers-reduced-motion: reduce) {
  .opening-splash { display: none !important; }
  .reveal-ready, .reveal-ready.is-visible { opacity: 1 !important; filter: none !important; transform: none !important; transition: none !important; }
  .hero-art .orbit, .hero-logo-disc, .orbit-card, .pet-antenna { animation: none !important; }
}


/* Editorial opportunity showcase */
.home-page .section { padding-block: 70px; }
.home-page .section.compact { padding-block: 48px; }
.featured-section { background: #edf3fa; color: #112345; }
.featured-section h2 { color: #071f55; }
.featured-section .section-head { margin-bottom: 27px; }
.featured-heading { align-items: center; }
.featured-heading .eyebrow { color: #0756b8; margin-bottom: 8px; }
.featured-heading .eyebrow:before { display: none; }
.featured-heading h2 { font-size: clamp(1.9rem,3vw,2.65rem); }
.featured-shortcuts { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.featured-shortcuts a { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 15px; border: 1px solid #d2dbe8; border-radius: 999px; background: #fff; color: #071f55; font-size: .72rem; font-weight: 700; transition: transform .2s,border-color .2s,background .2s; }
.featured-shortcuts a:hover { transform: translateY(-2px); border-color: #0756b8; }
.featured-shortcuts .browse-link { background: #071f55; color: white; border-color: #071f55; gap: 7px; }
.opportunity-showcase { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.38fr); gap: 18px; align-items: stretch; }
.featured-lead { min-height: 470px; position: relative; isolation: isolate; overflow: hidden; border-radius: 15px; color: white; background: #071f55; box-shadow: 0 16px 32px rgba(7,31,85,.12); }
.featured-lead-image,.featured-lead-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.featured-lead-image { z-index: -2; object-fit: cover; transition: transform .75s cubic-bezier(.2,.7,.25,1); }
.featured-lead:hover .featured-lead-image { transform: scale(1.045); }
.featured-lead-overlay { z-index: -1; background: linear-gradient(180deg,rgba(5,20,53,.1) 12%,rgba(5,20,53,.42) 39%,rgba(5,20,53,.98) 78%); }
.featured-kicker { position: absolute; top: 19px; left: 19px; z-index: 1; padding: 7px 11px; color: #071f55; background: #f0bf30; border-radius: 4px; font-size: .61rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.featured-lead-copy { position: absolute; inset: auto 25px 24px; }
.featured-sample { color: #f1c232; font-size: .64rem; font-weight: 800; letter-spacing: .1em; }
.featured-lead h3 { margin: 8px 0 8px; color: #fff; font-size: clamp(1.25rem,2vw,1.65rem); letter-spacing: -.035em; }
.featured-lead p { max-width: 520px; margin-bottom: 16px; color: #dce6f7; font-size: .84rem; line-height: 1.55; }
.featured-lead-meta { display: flex; flex-wrap: wrap; gap: 9px 16px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.24); color: #e0e9f8; font-size: .68rem; }
.featured-lead-meta span { display: inline-flex; align-items: center; gap: 6px; }
.featured-lead-meta .icon { color: #f0bf30; }
.featured-lead-actions { display: flex; gap: 9px; align-items: center; }
.featured-lead-actions .button { min-height: 40px; font-size: .75rem; }
.featured-lead-actions .button.primary { background: #0756b8; }
.featured-save { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.09); color: white; }
.featured-save:hover { border-color: #f0bf30; background: rgba(255,255,255,.15); }
.featured-mini-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); gap: 16px; }
.featured-mini { min-width: 0; overflow: hidden; border: 1px solid #dce4ef; border-radius: 13px; background: white; box-shadow: 0 5px 16px rgba(7,31,85,.05); transition: transform .24s,box-shadow .24s,border-color .24s; }
.featured-mini:hover { transform: translateY(-4px); border-color: #bacbe0; box-shadow: 0 15px 30px rgba(7,31,85,.12); }
.featured-mini-image { height: clamp(112px,13vw,154px); position: relative; overflow: hidden; background: #d9e5f2; }
.featured-mini-image:after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(transparent,rgba(5,20,53,.26)); pointer-events: none; }
.featured-mini-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.25,1); }
.featured-mini:hover .featured-mini-image img { transform: scale(1.06); }
.featured-mini-image .label { position: absolute; top: 10px; left: 10px; z-index: 1; max-width: calc(100% - 58px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 5px 9px; font-size: .61rem; }
.featured-mini-image .sample-pill { bottom: 9px; left: 9px; }
.featured-mini-image .save-button { z-index: 2; width: 30px; height: 30px; }
.featured-mini-image .save-button .icon { width: 15px; height: 15px; }
.featured-mini-body { padding: 12px 14px 11px; }
.featured-mini h3 { margin: 0 0 9px; color: #071f55; font-size: .91rem; letter-spacing: -.025em; line-height: 1.3; }
.featured-mini h3 a:hover { color: #0756b8; }
.featured-mini-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px solid #e8edf3; color: #61718a; font-size: .65rem; }
.featured-mini-meta span,.featured-mini-meta a { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.featured-mini-meta span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.featured-mini-meta .icon { color: #0756b8; flex: 0 0 auto; }
.featured-mini-meta a { color: #0756b8; font-weight: 700; white-space: nowrap; }

.standard-wrap { padding-top: 6px !important; }
.standard-panel { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr); min-height: 330px; overflow: hidden; border-radius: 18px; color: white; background: radial-gradient(ellipse at 80% 12%,rgba(39,102,183,.34),transparent 38%),linear-gradient(110deg,#111f3d,#082d67 72%,#0a397c); box-shadow: 0 20px 46px rgba(7,31,85,.18); }
.standard-copy { padding: clamp(25px,4.2vw,44px); align-self: center; }
.standard-pill { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 18px; padding: 5px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #f3c546; background: rgba(255,255,255,.08); font-size: .65rem; font-weight: 700; }
.standard-copy h2 { max-width: 580px; margin-bottom: 15px; color: white; font-size: clamp(1.6rem,3vw,2.35rem); line-height: 1.18; }
.standard-copy h2 em { color: #efc446; font-family: "Playfair Display",Georgia,serif; font-weight: 600; }
.standard-copy > p { max-width: 580px; margin-bottom: 19px; color: #d0ddf2; font-size: .84rem; }
.standard-pillars { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.2); }
.standard-pillars div { display: grid; gap: 3px; }
.standard-pillars strong { color: #f4f7fc; font: 800 .83rem Manrope,sans-serif; }
.standard-pillars span { color: #bdcce4; font-size: .62rem; line-height: 1.4; }
.standard-image { min-height: 330px; position: relative; overflow: hidden; background: #142c4d; }
.standard-image:after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent,rgba(4,17,43,.45)); }
.standard-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.25,1); }
.standard-panel:hover .standard-image img { transform: scale(1.035); }
.standard-image-note { position: absolute; z-index: 1; left: 20px; bottom: 17px; color: white; font-size: .74rem; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.3); }

.danger-zone { margin-top: 4px; border: 1px solid rgba(190,62,73,.48) !important; background: linear-gradient(135deg,rgba(123,30,45,.13),var(--surface)) !important; }
.danger-zone-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.danger-zone-heading .eyebrow { margin: 0 0 4px; color: #e89a9f; }
.danger-zone-heading .eyebrow:before { display: none; }
.danger-zone-heading h3 { margin: 0; color: #f0c3c5; }
.danger-zone > p { max-width: 760px; font-size: .79rem; }
.danger-mark { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(230,122,129,.36); border-radius: 50%; color: #f09ba0; }
.delete-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; max-width: 760px; margin: 15px 0; }
.delete-fields .field { margin: 0; }
.danger-button { min-height: 42px; border-color: #a73b48; color: #fff; background: #8d2938; font-size: .78rem; }
.danger-button:hover { background: #ad3041; }
html[data-theme="light"] .danger-zone-heading h3 { color: #8b2937; }
html[data-theme="light"] .danger-zone-heading .eyebrow { color: #a33f4b; }
html[data-theme="light"] .danger-mark { color: #a33f4b; border-color: #e6b8bd; }
html[data-theme="light"] .danger-zone { background: linear-gradient(135deg,#fff6f6,#fff) !important; }

@media (max-width: 900px) {
 .home-page .section { padding-block: 58px; }
 .opportunity-showcase { grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); gap: 13px; }
 .featured-lead { min-height: 440px; }
 .featured-mini-grid { gap: 12px; }
 .featured-mini-image { height: 126px; }
 .featured-mini-body { padding: 10px 11px; }
 .standard-panel { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
 .home-page .section { padding-block: 48px; }
 .home-page .section.compact { padding-block: 35px; }
 .featured-heading { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 19px !important; }
 .featured-shortcuts { width: 100%; gap: 7px; }
 .featured-shortcuts a { min-height: 36px; padding-inline: 11px; font-size: .65rem; }
 .opportunity-showcase { grid-template-columns: 1fr; gap: 12px; }
 .featured-lead { min-height: 405px; }
 .featured-lead-copy { inset-inline: 19px; bottom: 18px; }
 .featured-lead p { font-size: .78rem; }
 .featured-mini-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 10px; }
 .featured-mini { display: grid; grid-template-columns: 37% minmax(0,1fr); min-height: 126px; }
 .featured-mini-image { height: 100%; min-height: 126px; }
 .featured-mini-image .label { top: 8px; left: 7px; max-width: calc(100% - 14px); font-size: .52rem; padding: 4px 6px; }
 .featured-mini-image .save-button { top: auto; right: 7px; bottom: 7px; width: 28px; height: 28px; }
 .featured-mini-body { display: flex; flex-direction: column; justify-content: center; padding: 12px; }
 .featured-mini h3 { font-size: .84rem; }
 .featured-mini-meta { font-size: .61rem; }
 .featured-mini-meta a { font-size: .6rem; }
 .standard-wrap { padding-top: 0 !important; }
 .standard-panel { grid-template-columns: 1fr; }
 .standard-copy { padding: 25px 21px 22px; }
 .standard-copy h2 { font-size: 1.75rem; }
 .standard-copy > p { font-size: .78rem; }
 .standard-pillars { gap: 8px; }
 .standard-pillars strong { font-size: .7rem; }
 .standard-pillars span { font-size: .57rem; }
 .standard-image { min-height: 230px; }
 .delete-fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
 .featured-mini,.featured-mini-image img,.featured-lead-image,.standard-image img { transition: none !important; }
}

@media (max-width: 930px) {
  .main-nav, .header-actions .desktop-action, .header-search { display: none; }
  .mobile-toggle { display: grid; place-items: center; }
  .mobile-panel { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 14px 22px rgba(7,31,85,.08); padding: 8px 18px 17px; transform-origin: top; }
  .mobile-panel[hidden] { display: none; }
  .mobile-panel nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
  .mobile-panel nav a { padding: 11px 9px; font-size: .84rem; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-panel .mobile-auth { display: flex; gap: 9px; padding-top: 13px; }
  .mobile-panel .button { flex: 1; }
}

/* Homepage visual refresh inspired by the supplied editorial references. */
.home-page { --editorial-blue:var(--canvas); --editorial-sky:var(--pale); --editorial-ink:var(--navy); --editorial-deep:var(--navy); }
.home-page .hero { min-height:610px; border:0; background-color:var(--canvas); background-image:radial-gradient(ellipse at 84% 28%,rgba(40,123,209,.11),transparent 34%),radial-gradient(ellipse at 12% 88%,rgba(212,160,23,.055),transparent 32%),linear-gradient(135deg,rgba(255,255,255,.025),transparent 58%); color:var(--ink); isolation:isolate; }
.home-page .hero:before { display:block; z-index:0; inset:0; width:auto; height:auto; border:0; border-radius:0; top:0; right:0; transform:none; opacity:.36; background-image:linear-gradient(rgba(7,31,85,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(7,31,85,.045) 1px,transparent 1px); background-size:44px 44px; mask-image:radial-gradient(ellipse at 58% 42%,#000,transparent 76%); }
.home-page .hero:after { display:block; z-index:0; width:clamp(360px,55vw,720px); height:clamp(360px,55vw,720px); top:50%; right:-16%; border:1px solid rgba(40,123,209,.12); border-radius:50%; transform:translateY(-50%); box-shadow:0 0 0 28px rgba(40,123,209,.018),0 0 0 58px rgba(40,123,209,.014),0 0 0 92px rgba(40,123,209,.01); pointer-events:none; }
.home-page .hero:after { background:radial-gradient(circle at center,rgba(40,123,209,.045),transparent 68%); }
.home-page .hero-grid { grid-template-columns:minmax(0,1.25fr) minmax(270px,.75fr); min-height:610px; gap:22px; }
.home-page .hero-copy { max-width:760px; padding:66px 0 68px; }
.home-page .hero-copy .eyebrow { color:var(--blue); font-size:.67rem; letter-spacing:.16em; }
.home-page .hero-copy .eyebrow:before { background:var(--gold); }
.home-page .hero-copy h1 { max-width:800px; margin:0 0 23px; color:var(--heading); font-family:Manrope,"Plus Jakarta Sans","DM Sans",sans-serif; font-size:clamp(3.8rem,7vw,6.85rem); font-weight:800; letter-spacing:-.055em; line-height:1.11; }
.home-page .hero-copy h1 em { display:inline-block; padding-left:.15em; color:var(--blue); font:italic 600 .76em/.95 "Playfair Display",Georgia,serif; letter-spacing:-.075em; }
.home-page .hero-copy > p { max-width:460px; margin-bottom:22px; color:var(--ink); font-size:.94rem; line-height:1.62; }
.home-page .hero-buttons { gap:12px; }
.home-page .hero .button { min-height:42px; font-size:.76rem; }
.home-page .hero .button.navy,.home-page .hero .button.primary { color:white; background:var(--editorial-deep); border-color:var(--editorial-deep); box-shadow:4px 4px 0 #0d2d54; }
.home-page .hero .button.outline { color:var(--editorial-deep); background:#fff; border-color:var(--editorial-deep); box-shadow:4px 4px 0 #0d2d54; }
.home-page .hero-proof { color:var(--ink); font-size:.68rem; }
.home-page .hero-proof .icon { color:var(--editorial-deep); }
html:not([data-theme="light"]) .home-page .hero-copy .eyebrow,
html:not([data-theme="light"]) .home-page .hero-copy h1 em { color:var(--blue-2); }
html:not([data-theme="light"]) .home-page .hero-proof .icon { color:var(--blue-2); }
html:not([data-theme="light"]) .home-page .hero .button.navy,
html:not([data-theme="light"]) .home-page .hero .button.primary { color:#07111f; background:var(--blue-2); border-color:var(--blue-2); box-shadow:4px 4px 0 rgba(140,188,255,.45); }
html:not([data-theme="light"]) .home-page .hero { background-image:radial-gradient(ellipse at 84% 28%,rgba(88,160,255,.15),transparent 36%),radial-gradient(ellipse at 12% 88%,rgba(226,189,85,.07),transparent 32%),linear-gradient(135deg,rgba(255,255,255,.025),transparent 58%); }
html:not([data-theme="light"]) .home-page .hero:before { opacity:.22; background-image:linear-gradient(rgba(193,211,239,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(193,211,239,.08) 1px,transparent 1px); }
html:not([data-theme="light"]) .home-page .hero:after { border-color:rgba(140,188,255,.16); box-shadow:0 0 0 28px rgba(140,188,255,.025),0 0 0 58px rgba(140,188,255,.018),0 0 0 92px rgba(140,188,255,.012); background:radial-gradient(circle at center,rgba(88,160,255,.07),transparent 68%); }
.home-page .hero-art { min-height:430px; overflow:visible; }
.home-page .hero-art .orbit { width:min(34vw,390px); height:min(34vw,390px); border-color:rgba(7,86,184,.22); }
.home-page .hero-art .orbit:before { border-color:rgba(7,86,184,.12); }
.home-page .hero-art .orbit:after { border-color:rgba(212,160,23,.18); }
.home-page .hero-art .orbit-dot { background:var(--blue); box-shadow:0 0 0 5px rgba(7,86,184,.1); }
.home-page .hero-logo-disc { width:164px; height:164px; background:rgba(255,255,255,.82); box-shadow:5px 6px 0 rgba(7,31,85,.1); }
.home-page .hero-logo-disc .brand-mark { width:116px; height:116px; }
.home-page .orbit-card { width:145px; height:100px; border:2px solid #fff; border-radius:0; box-shadow:4px 5px 0 rgba(7,31,85,.25); }
.home-page .orbit-card span { font-size:.7rem; }
.home-page .hero-scroll { color:var(--ink); }
.home-page .hero-scroll:before { background:var(--gold); }
.home-page .section { padding-block:74px; }
.home-page .section:nth-of-type(even) { background-color:var(--editorial-sky); }
.home-page .section.dark { background:var(--editorial-deep); }
.home-page .section.dark:after { border-radius:0; border-color:rgba(255,255,255,.16); transform:rotate(-24deg); }
.home-page .section.dark .eyebrow { color:#a9ccf5; }
.home-page .section.dark .eyebrow:before { background:var(--gold); }
.home-page .featured-section,.home-page .winners-section { background:var(--soft-bg); }
.home-page .category { border-radius:0; border-color:var(--line); box-shadow:3px 3px 0 rgba(7,31,85,.13); }
.home-page .featured-lead,.home-page .featured-mini,.home-page .standard-panel,.home-page .winner-card,.home-page .form-card,.home-page .feature-card { border-radius:0; }
.home-page .featured-lead,.home-page .featured-mini { box-shadow:4px 5px 0 rgba(7,31,85,.12); }
.home-page .standard-panel { box-shadow:5px 6px 0 rgba(7,31,85,.12); }
.home-page .standard-pill,.home-page .button { border-radius:0; }
.home-page .footer { background:#102e53; }
.home-page .site-header { background:rgba(255,255,255,.94); border-color:rgba(220,228,239,.8); backdrop-filter:blur(16px); }
.home-page .header-inner { min-height:62px; }
.home-page .brand { gap:7px; }
.home-page .brand-mark { width:34px; height:34px; }
.home-page .brand-word { font-size:.9rem; letter-spacing:.1em; }
.home-page .main-nav { gap:clamp(13px,1.8vw,26px); }
.home-page .main-nav a { color:#344460; font-size:.75rem; }
.home-page .main-nav a.active { background:var(--pale); border-color:var(--line); }
.home-page .header-actions .button { min-height:35px; }
@media (min-width:931px) and (max-width:1440px) {
 .home-page .hero-copy h1 { font-size:clamp(3.5rem,6.3vw,6rem); line-height:1.14; }
}
@media (max-width:930px) {
 .home-page .hero-grid { grid-template-columns:minmax(0,1.1fr) minmax(220px,.9fr); }
 .home-page .hero-copy h1 { font-size:clamp(3.8rem,9.5vw,6.15rem); line-height:1.11; }
 .home-page .orbit-card { width:125px; height:88px; }
}
@media (max-width:680px) {
 .home-page .hero { min-height:0; }
 .home-page .hero-grid { grid-template-columns:1fr; gap:0; min-height:0; }
 .home-page .hero-copy { padding:48px 0 0; }
 .home-page .hero-copy h1 { max-width:620px; font-size:clamp(3.35rem,13.4vw,5.65rem); line-height:1.13; }
 .home-page .hero-copy > p { max-width:520px; }
 .home-page .hero-art { min-height:300px; margin:0 0 38px; }
 .home-page .hero-art .orbit { width:260px; height:260px; }
 .home-page .hero-logo-disc { width:125px; height:125px; }
 .home-page .hero-logo-disc .brand-mark { width:88px; height:88px; }
 .home-page .orbit-card { width:116px; height:78px; }
 .home-page .orbit-card.one,.home-page .orbit-card.three { left:5%; }
 .home-page .orbit-card.two,.home-page .orbit-card.four { right:5%; }
 .home-page .hero-scroll { display:none; }
}
@media (max-width:430px) {
 .home-page .hero-copy { padding-top:40px; }
 .home-page .hero-copy h1 { font-size:clamp(3rem,14.3vw,4.15rem); line-height:1.13; }
 .home-page .hero-art { min-height:265px; }
 .home-page .hero-art .orbit { width:220px; height:220px; }
 .home-page .orbit-card { width:100px; height:70px; }
}

/* Keep the featured area in the active site theme */
.featured-section { background: var(--soft-bg); color: var(--ink); }
.featured-section h2 { color: var(--heading); }
.featured-shortcuts a { background: var(--surface); color: var(--heading); border-color: var(--line); }
.featured-shortcuts .browse-link { background: #071f55; color: #fff; border-color: #071f55; }
.featured-mini { background: var(--surface); border-color: var(--line); }
.featured-mini h3 { color: var(--heading); }
.featured-mini-meta { color: var(--muted); border-color: var(--line); }
.featured-mini-meta .icon,.featured-mini-meta a { color: var(--blue-2); }
.featured-lead-actions .featured-save.saved { border-color: #e2bd55; color: #f3d77d; }
.mobile-panel .mobile-auth { flex-wrap: wrap; }
.admin-action { border-color: #435777 !important; color: var(--heading) !important; }
.admin-action:hover { border-color: var(--gold) !important; color: var(--gold) !important; }

@media (max-width: 520px) {
  .dash-side nav a .dash-nav-label { display: none; }
  .dash-side nav a .icon { width: 20px; height: 20px; flex: 0 0 auto; }
  .dashboard-shell { display: block; width: 100%; min-width: 0; }
  .dash-side { min-width: 0; padding: 10px; }
  .dash-side nav { display: flex; min-width: 0; gap: 4px; overflow-x: hidden; }
  .dash-side nav a { flex: 1 1 0; min-width: 0; justify-content: center; padding: 9px 2px; }
  .dash-content { width: 100%; min-width: 0; padding: 18px 14px; }
  .dash-top { display: block; min-width: 0; }
  .dash-top h2, .dash-top p { overflow-wrap: anywhere; }
  .dash-top .label { display: inline-flex; margin-top: 10px; }
  .dash-stat-grid { display: grid; width: 100%; min-width: 0; grid-template-columns: minmax(0, 1fr); }
  .dash-stat { width: 100%; min-width: 0; }
  .dash-stat span { overflow-wrap: anywhere; }
  .verification-reminder { display: grid; gap: 10px; }
  .verification-reminder .button { width: fit-content; max-width: 100%; }
}

@media (max-width: 430px) {
  .header-inner { gap: 10px; }
  .brand { gap: 6px; }
  .brand-word { font-size: .86rem; letter-spacing: .1em; }
  .header-actions { gap: 4px; }
  .instagram-link { width: 30px; height: 30px; flex-basis: 30px; }
  .instagram-link svg { width: 19px; height: 19px; }
  .mobile-toggle { padding: 5px; }
}

.winners-section { background: var(--soft-bg); color: var(--ink); }
.winners-section h2 { color: var(--heading); }
.winner-section-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px; max-width: 550px; }
.winner-section-actions p { margin: 0; max-width: 420px; }
.winner-marquee { overflow: hidden; padding: 6px 0 14px; }
.winner-track { display: flex; width: max-content; animation: winners-move-right 36s linear infinite; }
.winner-marquee:hover .winner-track, .winner-marquee:focus-within .winner-track, .winners-section.is-paused .winner-track { animation-play-state: paused; }
.winner-group { display: flex; flex: 0 0 auto; gap: 16px; padding-right: 16px; }
.winner-card { display: flex; align-items: center; gap: 17px; width: clamp(290px, 31vw, 390px); min-height: 128px; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: 0 7px 22px rgba(7,31,85,.07); }
.winner-avatar { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 50%; object-fit: cover; background: var(--pale); }
.winner-avatar-fallback { display: grid; place-items: center; color: var(--blue); font: 800 1.3rem Manrope, sans-serif; }
.winner-card-copy { min-width: 0; }
.winner-award { color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.winner-card h3 { color: var(--heading); margin: 5px 0; font-size: 1.1rem; }
.winner-card p { margin: 0; color: var(--muted); font-size: .84rem; }
@keyframes winners-move-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

@media (min-width: 931px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(3.25rem, 6.1vw, 5.8rem); }
  h2 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); }
  h3 { font-size: 1.28rem; }
  .hero-copy { max-width: 600px; }
  .hero-copy h1 { max-width: 620px; }
  .hero-copy > p { max-width: 490px; font-size: 1.1rem; }
  .lede, .section-head p { font-size: 1.15rem; }
  .main-nav a { font-size: .88rem; }
  .button { font-size: .94rem; }
  .winner-card h3 { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .winner-track, .team-track { animation: none; }
}

/* Low-key ambient background texture stays beneath each section's existing theme color. */
body { background-image:radial-gradient(ellipse at 8% 18%,rgba(40,123,209,.08),transparent 34%),radial-gradient(ellipse at 92% 72%,rgba(212,160,23,.045),transparent 30%),linear-gradient(135deg,rgba(255,255,255,.018),transparent 60%); }
.section:not(.dark), .page-hero { background-image:radial-gradient(ellipse at 94% 4%,rgba(40,123,209,.055),transparent 34%),linear-gradient(135deg,rgba(255,255,255,.018),transparent 64%); }
.section.dark { background-image:radial-gradient(ellipse at 92% 8%,rgba(88,160,255,.12),transparent 38%),linear-gradient(125deg,rgba(255,255,255,.018),transparent 58%); }
html:not([data-theme="light"]) body { background-image:radial-gradient(ellipse at 8% 18%,rgba(88,160,255,.09),transparent 34%),radial-gradient(ellipse at 92% 72%,rgba(226,189,85,.055),transparent 30%),linear-gradient(135deg,rgba(255,255,255,.018),transparent 60%); }
html:not([data-theme="light"]) .section:not(.dark), html:not([data-theme="light"]) .page-hero { background-image:radial-gradient(ellipse at 94% 4%,rgba(88,160,255,.085),transparent 36%),linear-gradient(135deg,rgba(255,255,255,.02),transparent 64%); }
html:not([data-theme="light"]) .section.dark { background-image:radial-gradient(ellipse at 92% 8%,rgba(88,160,255,.13),transparent 38%),linear-gradient(125deg,rgba(255,255,255,.025),transparent 58%); }
html:not([data-theme="light"]) .winner-award { color:#c2dcff; }
