/* Mission Innovation — site styles */

:root {
  --navy: #11232F;
  --navy-2: #1D3646;
  --orange: #FF5432;
  --sky: #BEDFE1;
  --paper: #EDE9E8;
  --paper-2: #F7F4F3;
  --ink-2: #3B4A54;
  --ink-3: #44535D;
  --on-navy: #DDE3E5;
  --line: rgba(17, 35, 47, 0.3);
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --label: 'Oswald', 'Arial Narrow', sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(12px, 2vw, 24px);
  --pad: clamp(20px, 5vw, 56px);
  --panel-pad: clamp(20px, 4.5vw, 60px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: var(--body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--navy); }
a:hover { color: var(--ink-3); }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--navy); color: var(--paper); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 16px; color: var(--paper); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Type */
.lb { font-family: var(--label); font-weight: 500; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3; }
.lb-sm { font-size: 12px; }
.muted { color: var(--ink-2); }
.display { font-family: var(--display); font-weight: 400; letter-spacing: -0.045em; line-height: 0.98; text-wrap: balance; }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4vw, 60px); line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; max-width: 16em; }
.h3 { font-family: var(--display); font-weight: 500; font-size: 26px; letter-spacing: -0.025em; line-height: 1.12; }
.lede { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; }

/* Layout */
.container { max-width: 1240px; margin: 0 auto; }
.section { padding: clamp(88px, 12vw, 184px) var(--pad); }
.section-tight { padding: clamp(64px, 8vw, 128px) var(--pad); }
.stack { display: flex; flex-direction: column; }
.section-head { display: flex; flex-direction: column; gap: 24px; }
.panel-wrap { padding: 0 var(--gutter); }
.panel { position: relative; overflow: hidden; max-width: 1360px; margin: 0 auto; border-radius: 28px; padding: clamp(48px, 6vw, 88px) var(--panel-pad); }
.panel-navy { background: var(--navy); color: var(--paper); }
.panel-sky { background: var(--sky); }
.grid { display: grid; gap: 16px; }
.cols-250 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.cols-260 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.cols-280 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.cols-300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.cols-320 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.gap-lg { gap: clamp(40px, 5vw, 72px); }
.gap-md { gap: clamp(32px, 4vw, 56px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 9px 0 28px; border: 0; border-radius: 999px; font: inherit; font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer; transition: transform .4s var(--ease), background-color .4s, box-shadow .4s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(17, 35, 47, .45); }
.btn-cream { background: var(--paper); color: var(--navy); }
.btn-cream:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--paper); }
.btn-navy:hover { background: var(--navy-2); color: var(--paper); }
.btn-sm { min-height: 48px; font-size: 15px; padding: 0 7px 0 22px; gap: 12px; }
.btn-md { min-height: 50px; font-size: 16px; padding: 0 7px 0 24px; gap: 12px; }
.btn .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.btn-sm .dot { width: 34px; height: 34px; }
.btn-md .dot { width: 36px; height: 36px; }
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(6px); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link-draw { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); font-weight: 500; font-size: 17px; padding: 10px 0; }
.link-draw:hover { background-size: 100% 1px; }

/* Navigation */
.site-header { position: sticky; top: 12px; z-index: 20; padding: 12px var(--gutter) 0; }
.nav { position: relative; isolation: isolate; max-width: 1360px; margin: 0 auto; border: 1px solid rgba(17, 35, 47, .06); border-radius: 22px; padding: 10px 10px 10px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px;
  background-color: rgba(247, 244, 243, .5);
  -webkit-backdrop-filter: blur(22px) saturate(1.9) brightness(1.06); backdrop-filter: blur(22px) saturate(1.9) brightness(1.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -1px 0 rgba(255,255,255,.25), inset 0 0 18px rgba(255,255,255,.35), 0 10px 30px -10px rgba(17,35,47,.22), 0 2px 6px -2px rgba(17,35,47,.12); }
.nav::before { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.4) 0%, rgba(255,255,255,.26) 18%, rgba(255,255,255,.14) 38%, rgba(255,255,255,.07) 58%, rgba(255,255,255,.04) 78%, rgba(255,255,255,.08) 100%); }
.nav::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; padding: 1px; background: linear-gradient(120deg, rgba(255,255,255,.95), rgba(255,255,255,.15) 30%, rgba(255,255,255,.05) 65%, rgba(255,255,255,.7)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav { background-color: rgba(237, 233, 232, .97); } }
.nav-simple { padding: 10px 22px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { height: 38px; width: auto; position: relative; top: -2px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 36px; }
.nav-links a.lb, .nav-simple a.lb { text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 999px; background: var(--navy); cursor: pointer; align-items: center; justify-content: center; padding: 0; }
.nav-toggle .i-close { display: none; }
.nav.open .nav-toggle .i-open { display: none; }
.nav.open .nav-toggle .i-close { display: block; }
.nav-mobile { display: none; flex-basis: 100%; flex-direction: column; gap: 4px; padding: 8px 12px 14px 0; border-top: 1px solid rgba(17, 35, 47, .12); margin-top: 6px; }
.nav-mobile a.lb { text-decoration: none; font-size: 16px; min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid rgba(17, 35, 47, .12); }
.nav-mobile .btn { margin-top: 14px; justify-content: space-between; min-height: 52px; font-size: 16px; }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-mobile { display: flex; animation: menuIn .35s var(--ease) both; }
}

/* Hero */
.hero-wrap { padding: 36px var(--gutter) 0; }
.hero { position: relative; overflow: hidden; max-width: 1360px; margin: 0 auto; background: var(--navy); color: var(--paper); border-radius: 28px; min-height: clamp(620px, 52vw, 780px); padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 56px; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(17,35,47,.45) 0%, rgba(17,35,47,0) 28%), linear-gradient(90deg, rgba(17,35,47,.95) 0%, rgba(17,35,47,.86) 30%, rgba(17,35,47,.4) 52%, rgba(17,35,47,0) 72%); }
@media (max-width: 820px) {
  .hero-img { object-position: 72% top; }
  .hero-veil { background: linear-gradient(0deg, rgba(17,35,47,.96) 0%, rgba(17,35,47,.88) 48%, rgba(17,35,47,.25) 78%, rgba(17,35,47,.5) 100%); }
}
.hero-top { position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; }
.pill { display: flex; align-items: center; gap: 10px; background: rgba(237, 233, 232, .12); border: 1px solid rgba(237, 233, 232, .28); border-radius: 999px; padding: 10px 18px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.hero-body { position: relative; display: flex; flex-direction: column; gap: clamp(28px, 3.5vw, 48px); }
.hero h1 { max-width: 9em; font-size: clamp(44px, 5.6vw, 88px); }
.hero-sub { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero-sub p { max-width: 27em; color: var(--on-navy); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.cta-row .link-draw { color: var(--paper); }
.reassure { flex-basis: 100%; color: var(--sky); }

/* Seal */
.seal-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.seal { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 32s linear infinite; }

/* Ticker */
.ticker-wrap { padding: 56px 0 28px; overflow: hidden; }
.ticker { display: flex; align-items: center; gap: 40px; width: max-content; padding-right: 40px; animation: slide 44s linear infinite; }
.ticker .lb { font-size: 18px; font-weight: 400; }

/* Facts strip */
.facts { padding: 28px var(--pad) 0; }
.facts .grid { border-top: 1px solid var(--line); gap: 0 56px; }
.fact { padding: 32px 0; display: flex; flex-direction: column; gap: 10px; }
.fact-title { font-family: var(--display); font-size: 36px; letter-spacing: -0.03em; line-height: 1.1; }

/* Problem */
.center-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px; }
.center-head .h2 { max-width: 17em; font-size: clamp(32px, 4.6vw, 68px); }
.center-head .lede { max-width: 34em; color: var(--ink-2); line-height: 1.55; }
.ruled { border-top: 1px solid var(--line); padding-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.ruled h3 { font-family: var(--display); font-weight: 500; font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }

/* Cards */
.card { border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; min-height: 280px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 28px 48px -28px rgba(17, 35, 47, .35); }
.card .h3 { margin-top: auto; }
.card p { font-size: 17px; line-height: 1.5; }
.card-paper { background: var(--paper-2); border: 1px solid rgba(17, 35, 47, .08); }
.card-glass { padding: 32px; gap: 22px; min-height: 380px; background: rgba(237, 233, 232, .06); border: 1px solid rgba(237, 233, 232, .18); -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px); }
.card-glass.featured { background: rgba(237, 233, 232, .1); border-color: rgba(237, 233, 232, .34); }
.card-glass .h3 { margin-top: 0; font-size: 32px; letter-spacing: -0.03em; line-height: 1.08; }
.card-glass p { color: var(--on-navy); line-height: 1.55; }
.card-glass .btn { margin-top: auto; align-self: flex-start; }
.card-example { background: rgba(247, 244, 243, .82); padding: 32px; gap: 18px; min-height: 300px; }
.card-example .h3 { line-height: 1.15; }
.card-example p, .card-example .lb { color: #2B3B46; }
.tag { background: var(--paper); color: var(--navy); font-size: 12px; padding: 7px 12px; border-radius: 999px; }
.card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.on-sky { color: var(--sky); }
.icon { width: 40px; height: 40px; flex-shrink: 0; }

/* Orbs */
.orb { position: absolute; aspect-ratio: 1 / 1; border-radius: 50%; filter: blur(120px); animation: drift 20s ease-in-out infinite; pointer-events: none; }
.orb.b { animation-duration: 26s; animation-direction: reverse; }
.panel-body { position: relative; }

/* Audit steps */
.step { position: relative; isolation: isolate; border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.step-num { position: absolute; right: 0; top: 10px; z-index: -1; pointer-events: none; font-family: var(--display); font-size: 200px; line-height: .8; letter-spacing: -0.06em; color: rgba(17, 35, 47, .07); }
.step h3 { font-family: var(--display); font-weight: 500; font-size: 28px; letter-spacing: -0.025em; line-height: 1.12; }
.step p { max-width: 23em; color: var(--ink-2); }

/* Team */
.team-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px 72px; align-items: end; }
.team-head p { max-width: 30em; color: var(--ink-2); }
.person { display: flex; flex-direction: column; gap: 22px; }
.photo { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 5; background: var(--sky); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.photo:hover img { transform: scale(1.06); }
.photo .lb { position: absolute; left: 16px; bottom: 16px; color: var(--paper); background: rgba(17, 35, 47, .55); padding: 6px 10px; border-radius: 999px; }
.person-text { display: flex; flex-direction: column; gap: 8px; }
.person-text h3 { margin-top: 8px; font-family: var(--display); font-weight: 500; font-size: 28px; letter-spacing: -0.025em; line-height: 1.12; }
.bio { color: var(--ink-3); font-size: 16px; }

/* Closing */
.closing-wrap { padding: var(--gutter); }
.closing { padding: clamp(56px, 7vw, 104px) var(--panel-pad); }
.closing-body { position: relative; max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px 64px; }
.closing-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.closing-copy h2 { max-width: 11em; font-size: clamp(40px, 6vw, 92px); }
.closing-copy p { max-width: 31em; color: var(--on-navy); }
.closing-copy .reassure { margin-top: -14px; }

/* Footer */
.footer-wrap { padding: 0 var(--gutter) var(--gutter); }
.footer { max-width: 1360px; margin: 0 auto; background: var(--navy); color: var(--paper); border-radius: 28px; padding: 56px var(--panel-pad) 36px; display: flex; flex-direction: column; gap: 44px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.footer-top img { height: 52px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 36px; }
.footer a { color: var(--paper); }
.footer a:hover { color: var(--sky); }
.footer-links a { text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.footer-bottom { border-top: 1px solid rgba(237, 233, 232, .2); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: 15px; color: var(--on-navy); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Start page */
.start-main { padding: clamp(56px, 8vw, 120px) var(--pad); }
.start-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: clamp(40px, 6vw, 104px); align-items: start; }
.start-intro { display: flex; flex-direction: column; gap: 32px; }
.start-intro h1 { font-size: clamp(40px, 5.2vw, 80px); }
.next-steps { margin-top: 16px; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.next-steps li { border-top: 1px solid var(--line); padding: 22px 0; display: flex; gap: 24px; align-items: baseline; }
.next-steps .lb { color: var(--ink-2); white-space: nowrap; }
.form-card { background: var(--paper-2); border: 1px solid rgba(17, 35, 47, .08); border-radius: 28px; padding: clamp(24px, 3.5vw, 48px); }
.form { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; }
.field .opt { color: var(--ink-3); letter-spacing: .08em; text-transform: none; font-family: var(--body); font-weight: 400; }
.input { font: inherit; color: var(--navy); background: #fff; border: 1px solid #6B7780; border-radius: 12px; padding: 0 16px; min-height: 54px; width: 100%; transition: border-color .3s, box-shadow .3s; }
textarea.input { padding: 14px 16px; resize: vertical; min-height: 140px; }
.input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(17, 35, 47, .18); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 16px; }
.form-status.error { color: #A3260F; }
.form-done { display: flex; flex-direction: column; gap: 18px; }
.form-done h2 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -0.04em; line-height: 1.05; }
.form-done .star { width: 28px; height: 28px; }

/* Simple pages */
.prose { max-width: 720px; margin: 0 auto; padding: clamp(56px, 8vw, 120px) var(--pad); }
.prose h1 { font-size: clamp(40px, 5vw, 72px); margin-bottom: 32px; }
.prose h2 { font-family: var(--display); font-weight: 500; font-size: 26px; letter-spacing: -0.02em; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; }
.center-page { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 24px; padding: 80px var(--pad); }
.center-page h1 { font-size: clamp(40px, 6vw, 88px); }

/* Motion */
@keyframes blurIn { from { opacity: 0; filter: blur(14px); transform: translateY(20px); } to { opacity: 1; filter: none; transform: none; } }
@keyframes navIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(44px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-7%, 6%) scale(1.14); } }
@keyframes slide { to { transform: translateX(-50%); } }
.in { animation: blurIn 1.2s var(--ease) both; }
.d1 { animation-delay: .15s; } .d2 { animation-delay: .3s; } .d3 { animation-delay: .45s; }
.nav > * { animation: navIn .9s var(--ease) both; }
@supports (animation-timeline: view()) { .rv { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 600px) {
  .hero-top .seal-wrap { display: none; }
}
