/* certa.fm — the whole design system for the site.
   Brand: CNS foundation/brand/certa (palette, wordmark, the lit-cell mark). Playful where EngCOR's site is
   structured: rounded UI, motion, things to touch. The brand marks themselves stay square. */

@font-face {
  font-family: "Lexend";
  src: url("/assets/fonts/lexend.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* palette (brand) */
  --navy: #0B2545; --deep: #13315C; --steel: #2A4D74; --cobalt: #3A6290; --sky: #5079A6; --haze: #7FA2C6;
  --teal: #13A89E; --lagoon: #0E8A82; --aqua: #8FD3CC; --frost: #DCE7EE;
  --ink: #121212; --slate: #444444; --grey: #808080; --white: #FFFFFF;
  /* working tints */
  --night: #081C35;      /* panels on navy */
  --card: #102E52;       /* cards on navy */
  --mist: #EEF3F7;       /* light section ground */
  --line: #D3DEE7;
  --amber: #F2B84B;      /* semantic: alert, out of spec */
  /* type */
  --font: "Lexend", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --r: 14px; --r-lg: 22px;
  --wrap: 1160px; --gut: clamp(16px, 4vw, 32px);
  --shadow: 0 1px 2px rgba(11,37,69,.06), 0 8px 24px rgba(11,37,69,.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-weight: 350; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--lagoon); }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.06; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

/* the square full stop: the wordmark's dot, closing every headline */
.sq { display: inline-block; width: .15em; height: .15em; margin-left: .05em; background: var(--teal); vertical-align: baseline; }
.sq-navy { background: var(--navy); }
.in-view .sq { animation: pop .6s cubic-bezier(.3,1.6,.5,1) both .15s; }
@keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .235em; text-transform: uppercase; color: var(--steel); margin-bottom: 18px; }
.eyebrow-aqua { color: var(--aqua); }
.eyebrow-navy { color: var(--navy); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--frost); max-width: 60ch; margin-top: 22px; }
.lede-dark { font-size: clamp(17px, 1.6vw, 20px); color: var(--slate); max-width: 62ch; margin-top: 20px; }
.lede-navy { font-size: clamp(17px, 1.6vw, 20px); color: var(--navy); max-width: 52ch; margin-top: 20px; }
.small-print { font-size: 15px; color: var(--grey); margin-top: 16px; max-width: 52ch; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1 var(--font); letter-spacing: .01em; text-decoration: none; border: 0; cursor: pointer;
  padding: 16px 24px; border-radius: 999px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-teal { background: var(--teal); color: var(--navy); box-shadow: 0 6px 18px rgba(19,168,158,.28); }
.btn-teal:hover { background: #17B9AE; }
.btn-ghost { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(220,231,238,.45); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--aqua); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-sm { padding: 11px 18px; font-size: 15px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11,37,69,.86); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(127,162,198,.14); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand img { height: 56px; width: auto; margin-left: -10px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--frost); text-decoration: none; font-size: 15px; font-weight: 450; }
.nav a:not(.btn):hover { color: var(--aqua); }
@media (max-width: 820px) { .nav a:not(.btn) { display: none; } }

/* hero: the room */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate; }
.hero::before { /* floor grid, faint */ content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(127,162,198,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(127,162,198,.07) 1px, transparent 1px);
  background-size: 64px 64px; background-position: -1px -1px; }
.room { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; touch-action: pan-y; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(64px, 10vw, 128px) clamp(56px, 8vw, 104px); }
.hero h1 { font-size: clamp(54px, 8.6vw, 112px); line-height: .95; letter-spacing: -0.035em; }
.hero .sq { animation: pop .7s cubic-bezier(.3,1.6,.5,1) both .3s; }

.monitor { background: rgba(8,28,53,.88); border: 1px solid rgba(127,162,198,.28); border-radius: var(--r-lg); padding: 22px 22px 18px; box-shadow: 0 30px 60px rgba(0,0,0,.28); backdrop-filter: blur(4px); font-variant-numeric: tabular-nums; max-width: 380px; justify-self: end; width: 100%; }
.mon-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); }
.mon-grade { color: var(--haze); letter-spacing: .08em; font-weight: 450; }
.mon-rows { margin: 18px 0 14px; display: grid; gap: 10px; }
.mon-rows > div { display: grid; grid-template-columns: 74px 1fr auto; align-items: baseline; gap: 10px; padding: 10px 12px; background: rgba(19,49,92,.55); border-radius: 10px; }
.mon-rows dt { font-size: 13px; color: var(--haze); }
.mon-rows dd { margin: 0; }
.mon-rows b { font-size: 28px; font-weight: 600; letter-spacing: -0.01em; color: var(--white); }
.mon-rows small { font-size: 12px; color: var(--haze); margin-left: 4px; }
.mon-rows .lim { font-size: 12px; color: var(--haze); }
.mon-bar { height: 6px; background: rgba(127,162,198,.18); border-radius: 6px; overflow: hidden; }
.mon-bar span { display: block; height: 100%; width: 100%; background: var(--amber); border-radius: 6px; transition: width .3s ease, background .3s ease; }
.mon-status { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.mon-status::before { content: ""; width: 12px; height: 12px; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.mon-status[data-state="in"] { color: var(--aqua); }
.mon-status[data-state="in"]::before { background: var(--teal); box-shadow: 0 0 14px var(--teal); }
.mon-status[data-state="out"] { color: var(--amber); }
.mon-hint { margin-top: 6px; font-size: 13px; color: var(--haze); }

.foundation-strip { border-top: 1px solid rgba(127,162,198,.18); background: rgba(8,28,53,.6); }
.foundation-strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 16px; }
.foundation-strip span { font-size: 12.5px; font-weight: 600; letter-spacing: .235em; text-transform: uppercase; color: var(--aqua); display: inline-flex; align-items: center; gap: 12px; }
.foundation-strip span::before { content: ""; width: 8px; height: 8px; background: var(--teal); }

/* sections */
.sec { padding-block: clamp(72px, 10vw, 128px); }
.sec h2 { font-size: clamp(34px, 4.6vw, 58px); max-width: 22ch; }
.sec-light { background: var(--white); }
.sec-frost { background: var(--mist); }
.sec-navy { background: var(--navy); color: var(--white); }
.sec-teal { background: var(--teal); color: var(--navy); }

/* the Friday story */
.toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 36px; background: var(--mist); border-radius: 999px; padding: 6px; }
.toggle button { position: relative; z-index: 1; font: 600 15px/1 var(--font); color: var(--steel); background: none; border: 0; padding: 14px 22px; border-radius: 999px; cursor: pointer; transition: color .25s; white-space: nowrap; }
.toggle button[aria-selected="true"] { color: var(--white); }
.toggle-thumb { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); background: var(--navy); border-radius: 999px; transition: transform .35s cubic-bezier(.5,1.4,.5,1); }
.toggle[data-one] .toggle-thumb { transform: translateX(100%); background: var(--teal); }
.toggle[data-one] button[aria-selected="true"] { color: var(--navy); }
.story { margin-top: 36px; }
.story-panel { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.voices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.voice { position: relative; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r) var(--r) var(--r) 4px; padding: 18px 18px 16px; box-shadow: var(--shadow); transition: transform .3s ease; }
.voice:nth-child(1) { transform: rotate(-1.4deg); } .voice:nth-child(2) { transform: rotate(1deg) translateY(10px); }
.voice:nth-child(3) { transform: rotate(.8deg); } .voice:nth-child(4) { transform: rotate(-1.2deg) translateY(10px); }
.voice:hover { transform: rotate(0) translateY(-3px); }
.voice .who { display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
.voice p { font-size: 16px; color: var(--ink); }
.voice-buried { background: var(--mist); border-style: dashed; }
.voice-buried p { color: var(--grey); }
.voice .note { display: inline-block; margin-top: 10px; font-size: 12.5px; color: var(--navy); background: var(--amber); padding: 3px 9px; border-radius: 6px; transform: rotate(-2deg); }
.voices-one { grid-template-columns: 1fr; }
.voice-certa { border-color: var(--teal); border-width: 2px; transform: none !important; padding: 26px; }
.voice-certa .who { color: var(--lagoon); }
.voice-certa p { font-size: 19px; }
.verdict { display: flex; gap: 18px; align-items: center; padding: 26px; border-radius: var(--r-lg); }
.verdict b { display: block; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -0.02em; line-height: 1.05; }
.verdict small { display: block; font-size: 15px; margin-top: 8px; line-height: 1.5; }
.verdict-slow { background: var(--mist); color: var(--navy); }
.verdict-slow small { color: var(--slate); }
.verdict-fast { background: var(--navy); color: var(--white); }
.verdict-fast b { color: var(--aqua); }
.verdict-fast small { color: var(--frost); }
.clock { flex: none; width: 58px; height: 58px; border-radius: 50%; border: 3px solid currentColor; position: relative; }
.clock span { position: absolute; left: 50%; top: 50%; width: 3px; height: 20px; margin-left: -1.5px; background: currentColor; border-radius: 2px; transform-origin: 50% 0; transform: rotate(180deg); animation: tick 1.2s linear infinite; }
.clock::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3px; height: 13px; margin-left: -1.5px; background: currentColor; transform-origin: 50% 0; transform: rotate(250deg); }
.clock-fast { color: var(--teal); }
.clock-fast span { animation: none; transform: rotate(120deg); }
@keyframes tick { to { transform: rotate(540deg); } }
.story-panel:not([hidden]) { animation: rise .45s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.pillar { background: var(--card); border: 1px solid rgba(127,162,198,.16); border-radius: var(--r-lg); padding: 26px 22px 24px; display: flex; flex-direction: column; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.pillar:hover { transform: translateY(-6px); border-color: rgba(19,168,158,.6); background: #12345C; }
.p-label { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--aqua); margin-top: 22px; }
.pillar h3 { font-size: clamp(24px, 2.2vw, 30px); margin-top: 10px; }
.p-hook { font-size: 15.5px; color: var(--frost); margin-top: 12px; }
.p-list { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(127,162,198,.2); display: grid; gap: 8px; font-size: 15px; color: var(--white); }
.p-list li { padding-left: 20px; position: relative; }
.p-list li::before { content: ""; position: absolute; left: 0; top: .58em; width: 8px; height: 8px; background: var(--teal); }
.tag { display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--aqua); border: 1px solid var(--teal); padding: 2px 6px 1px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; }

/* the pillar glyphs: the 3 x 3 grid doing each job */
.glyph { position: relative; display: grid; grid-template-columns: repeat(3, 22px); gap: 4px; width: max-content; }
.glyph i { display: block; width: 22px; height: 22px; background: var(--steel); }
.glyph i:nth-child(6) { background: var(--teal); }
/* cleaning: grimy cells get wiped clean, left to right */
.g-clean i:not(:nth-child(6)) { animation: wipe 4.2s infinite; }
.g-clean i:nth-child(3n+1) { animation-delay: 0s; } .g-clean i:nth-child(3n+2) { animation-delay: .25s; } .g-clean i:nth-child(3n) { animation-delay: .5s; }
@keyframes wipe { 0%, 15% { background: #5E5348; } 35%, 85% { background: var(--sky); } 100% { background: #5E5348; } }
/* pest: something tries to get in and bounces off */
.g-pest i { background: var(--cobalt); }
.g-pest .bug { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); top: 30px; left: 86px; animation: bug 3.4s ease-in-out infinite; }
@keyframes bug { 0% { transform: translate(18px, -6px); } 40% { transform: translate(2px, 0); } 48% { transform: translate(-2px, 0); } 56% { transform: translate(6px, 2px); } 100% { transform: translate(18px, -6px); } }
/* monitoring: plates read one by one, one comes back lit */
.g-em i { animation: read 4.5s infinite; }
.g-em i:nth-child(1) { animation-delay: 0s; } .g-em i:nth-child(2) { animation-delay: .3s; } .g-em i:nth-child(3) { animation-delay: .6s; }
.g-em i:nth-child(4) { animation-delay: .9s; } .g-em i:nth-child(5) { animation-delay: 1.2s; } .g-em i:nth-child(6) { animation: none; }
.g-em i:nth-child(7) { animation-delay: 1.5s; } .g-em i:nth-child(8) { animation-delay: 1.8s; } .g-em i:nth-child(9) { animation-delay: 2.1s; }
@keyframes read { 0%, 100% { background: var(--steel); } 8% { background: var(--haze); } 20% { background: var(--steel); } }
/* facility services: the kit stacks up, ready */
.g-fac i { animation: kit 4s infinite both; }
.g-fac i:nth-child(7) { animation-delay: 0s; } .g-fac i:nth-child(8) { animation-delay: .15s; } .g-fac i:nth-child(9) { animation-delay: .3s; }
.g-fac i:nth-child(4) { animation-delay: .45s; } .g-fac i:nth-child(5) { animation-delay: .6s; } .g-fac i:nth-child(6) { animation-delay: .75s; }
.g-fac i:nth-child(1) { animation-delay: .9s; } .g-fac i:nth-child(2) { animation-delay: 1.05s; } .g-fac i:nth-child(3) { animation-delay: 1.2s; }
@keyframes kit { 0% { opacity: 0; transform: translateY(-10px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }

.slab { margin-top: 18px; border-radius: var(--r-lg); background: linear-gradient(90deg, var(--teal), var(--lagoon)); color: var(--navy); padding: 26px 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px 40px; align-items: center; }
.slab-words { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.slab p { font-size: 15.5px; font-weight: 400; }

/* where we sit */
.sit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.layers { display: grid; gap: 14px; perspective: 900px; }
.layer { border-radius: var(--r-lg); padding: 22px 24px; display: grid; gap: 4px; transition: transform .35s ease; }
.layer b { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.layer > span:last-child { font-size: 15px; }
.l-who { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.l-sci { background: var(--mist); color: var(--navy); margin-right: 40px; }
.l-sci .l-who { color: var(--steel); }
.l-bld { background: var(--mist); color: var(--navy); margin-right: 40px; }
.l-bld .l-who { color: var(--steel); }
.l-room { background: var(--navy); color: var(--white); transform: translateX(28px); box-shadow: 0 18px 40px rgba(11,37,69,.25); position: relative; }
.l-room::after { content: ""; position: absolute; right: 22px; top: 22px; width: 18px; height: 18px; background: var(--teal); box-shadow: 0 0 18px rgba(19,168,158,.7); }
.l-room .l-who { color: var(--aqua); }
.l-room > span:last-child { color: var(--frost); }
.layers:hover .l-room { transform: translateX(40px); }

/* who it's for */
.fits { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.fit { background: var(--white); border-radius: var(--r-lg); padding: 22px 18px; display: grid; align-content: start; gap: 8px; box-shadow: var(--shadow); transition: transform .2s ease; }
.fit:hover { transform: translateY(-4px) rotate(-.6deg); }
.fit b { font-size: 18px; line-height: 1.25; font-weight: 600; color: var(--navy); }
.fit > span:last-child { font-size: 14.5px; color: var(--slate); }
.badge { justify-self: start; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--white); background: var(--steel); padding: 5px 10px; border-radius: 6px; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.fit:nth-child(1) .badge { background: var(--navy); } .fit:nth-child(3) .badge { background: var(--lagoon); } .fit:nth-child(4) .badge { background: var(--cobalt); } .fit:nth-child(5) .badge { background: var(--sky); }

/* the provider check */
.quiz { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.score { margin-top: 32px; display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 0 10px; }
.score-n { font-size: 84px; font-weight: 700; line-height: 1; color: var(--navy); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; display: inline-block; }
.score-n.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.18); color: var(--teal); } }
.score-of { font-size: 28px; color: var(--grey); font-weight: 500; }
.score p { grid-column: 1 / -1; margin-top: 10px; font-size: 17px; color: var(--slate); max-width: 40ch; }
.score p a { font-weight: 600; }
.qs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.qs label { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; transition: border-color .2s, background .2s; }
.qs label:hover { border-color: var(--haze); }
.qs input { appearance: none; -webkit-appearance: none; margin: 2px 0 0; width: 26px; height: 26px; border: 2px solid var(--sky); background: var(--white); cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s, transform .2s; }
.qs input::after { content: ""; width: 10px; height: 10px; background: var(--white); transform: scale(0); transition: transform .2s cubic-bezier(.3,1.6,.5,1); }
.qs input:checked { background: var(--teal); border-color: var(--teal); }
.qs input:checked::after { transform: scale(1); }
.qs input:checked + span { color: var(--navy); }
.qs label:has(input:checked) { border-color: var(--teal); background: #F2FBFA; }
.qs span { font-size: 16px; color: var(--slate); }

/* how we start */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 70px; display: grid; gap: 8px; }
.steps li::before { content: "0" counter(s); position: absolute; top: 0; left: 0; font-size: 44px; font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px var(--aqua); letter-spacing: -0.02em; }
.steps li::after { content: ""; position: absolute; top: 24px; left: 82px; right: -10px; height: 2px; background: repeating-linear-gradient(90deg, rgba(143,211,204,.45) 0 8px, transparent 8px 14px); }
.steps li:last-child::after { right: auto; width: 14px; height: 14px; top: 18px; background: var(--teal); }
.steps b { font-size: 21px; }
.steps span { font-size: 15.5px; color: var(--frost); }
.behind { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(127,162,198,.2); font-size: 17px; color: var(--haze); max-width: 70ch; }

/* contact */
.talk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.mail { margin-top: 28px; font-size: 17px; color: var(--navy); }
.mail a { color: var(--navy); font-weight: 600; }
.form { background: var(--white); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; box-shadow: 0 24px 50px rgba(11,37,69,.2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--navy); }
.form input, .form select, .form textarea { font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--mist); border: 1.5px solid transparent; border-radius: 10px; padding: 12px 14px; width: 100%; transition: border-color .2s, background .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); background: var(--white); }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; }
.form-msg { font-size: 15px; color: var(--navy); min-height: 1.4em; }
.form-msg.err { color: #9B2C1F; }

/* footer */
.foot { background: var(--night); color: var(--haze); padding-block: 48px 40px; }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: center; }
.foot img { height: 64px; width: auto; margin-left: -10px; }
.foot-tag { font-size: 12px; font-weight: 600; letter-spacing: .235em; text-transform: uppercase; color: var(--aqua); margin-top: 4px; }
.foot-pillars { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: center; font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.foot-pillars a { color: inherit; text-decoration: none; }
.foot-pillars a:hover { color: var(--aqua); }
.foot-meta { display: grid; gap: 4px; justify-items: end; font-size: 14px; }
.foot-meta a { color: var(--frost); text-decoration: none; }

/* responsive */
@media (max-width: 1060px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps li:nth-child(2)::after { right: auto; width: 0; }
}
@media (max-width: 860px) {
  .hero-in, .story-panel, .sit, .quiz, .talk, .slab { grid-template-columns: minmax(0, 1fr); }
  .monitor { justify-self: start; }
  .l-room { transform: translateX(14px); } .l-sci, .l-bld { margin-right: 14px; }
  .foot-in { grid-template-columns: 1fr; } .foot-pillars { justify-content: start; } .foot-meta { justify-items: start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .pillars, .fits, .steps, .voices, .row2 { grid-template-columns: minmax(0, 1fr); }
  .voice:nth-child(n) { transform: none; }
  .steps li::after { display: none; }
  .toggle button { padding: 13px 14px; font-size: 14px; }
  .brand img { height: 48px; }
}

/* ===================== multi-page additions ===================== */

/* nav: active page, mobile menu */
.nav a[aria-current="page"] { color: var(--aqua); }
.menu-btn { display: none; background: none; border: 1.5px solid rgba(220,231,238,.4); color: var(--white); border-radius: 999px; padding: 9px 14px; font: 600 14px/1 var(--font); cursor: pointer; align-items: center; gap: 8px; }
.menu-btn i { display: grid; grid-template-columns: repeat(3, 4px); gap: 2px; }
.menu-btn i b { width: 4px; height: 4px; background: var(--haze); }
.menu-btn i b:nth-child(6) { background: var(--teal); }
@media (max-width: 960px) {
  .nav a:not(.btn) { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.open { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); border-bottom: 1px solid rgba(127,162,198,.2); padding: 8px var(--gut) 20px; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
  .nav.open a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid rgba(127,162,198,.14); font-size: 17px; }
  .nav.open .btn { margin-top: 16px; justify-content: center; }
}
@media (min-width: 961px) { .nav a:not(.btn) { display: inline; } }
@media (max-width: 560px) { .nav:not(.open) .btn { display: none; } }

/* inner-page hero: the room again, calmer, no monitor */
.hero-page .hero-in { grid-template-columns: minmax(0, 1fr); padding-block: clamp(56px, 8vw, 104px) clamp(48px, 7vw, 88px); }
.hero-page h1 { font-size: clamp(42px, 6.4vw, 84px); max-width: 16ch; line-height: 1; }
.hero-page .lede { max-width: 58ch; }

/* home: explore the rest */
.explore-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.explore { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px 22px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.explore:hover { transform: translateY(-5px) rotate(-.5deg); border-color: var(--teal); box-shadow: var(--shadow); }
.explore b { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--navy); margin-top: 8px; }
.explore > span:not(.go) { font-size: 15.5px; color: var(--slate); flex: 1; }
.explore .go { font-size: 15px; font-weight: 600; color: var(--lagoon); display: inline-flex; gap: 8px; align-items: center; }
.explore .go::after { content: ""; width: 9px; height: 9px; background: var(--teal); transition: transform .2s ease; }
.explore:hover .go::after { transform: translateX(5px); }
.ill { height: 64px; display: flex; align-items: center; }
.ill-layers { flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; }
.ill-layers i { display: block; height: 14px; width: 92px; border-radius: 4px; background: var(--frost); }
.ill-layers i:nth-child(2) { background: var(--navy); width: 104px; margin-left: 10px; position: relative; }
.ill-layers i:nth-child(2)::after { content: ""; position: absolute; right: 5px; top: 4px; width: 6px; height: 6px; background: var(--teal); }
.ill-badges { gap: 6px; flex-wrap: wrap; align-content: center; }
.ill-badges i { font: 600 11px/1 var(--font); font-style: normal; color: var(--white); background: var(--steel); padding: 6px 8px; border-radius: 5px; }
.ill-badges i:nth-child(1) { background: var(--navy); } .ill-badges i:nth-child(3) { background: var(--lagoon); }
.ill-steps i { width: 16px; height: 16px; background: var(--sky); }
.ill-steps i + i { margin-left: 22px; position: relative; }
.ill-steps i + i::before { content: ""; position: absolute; right: 100%; top: 7px; width: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--haze) 0 4px, transparent 4px 7px); }
.ill-steps i:last-child { background: var(--teal); }
.ill-check { gap: 8px; }
.ill-check i { width: 22px; height: 22px; border: 2px solid var(--sky); display: grid; place-items: center; }
.ill-check i.on { background: var(--teal); border-color: var(--teal); }
.ill-check i.on::after { content: ""; width: 8px; height: 8px; background: var(--white); }

/* teal call-to-action band */
.cta-band { background: var(--teal); color: var(--navy); padding-block: clamp(56px, 8vw, 88px); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta-band h2 { font-size: clamp(32px, 4.2vw, 52px); }
.cta-band p { margin-top: 12px; font-size: 18px; max-width: 52ch; }

/* where we sit: why now, and the two-column notes */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.why article { background: var(--card); border: 1px solid rgba(127,162,198,.16); border-radius: var(--r-lg); padding: 26px 24px; }
.why .yr { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--navy); background: var(--aqua); padding: 4px 9px; border-radius: 5px; }
.why h3 { font-size: 22px; margin-top: 16px; }
.why p { font-size: 15.5px; color: var(--frost); margin-top: 10px; }
.sit-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 48px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.sit-more h3 { font-size: 22px; color: var(--navy); }
.sit-more p { font-size: 16px; color: var(--slate); margin-top: 10px; }

/* who it's for: detailed fits + the honest guide */
.fits-big { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fits-big .fit { padding: 26px 24px; }
.fits-big .fit p { font-size: 15.5px; color: var(--slate); }
.models { margin-top: 44px; display: grid; gap: 10px; }
.model { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 28px; align-items: center; padding: 18px 22px; border-radius: var(--r); background: var(--card); border: 1px solid rgba(127,162,198,.14); }
.model .sit-txt { font-size: 16px; color: var(--white); }
.model .pick { justify-self: start; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--frost); border: 1.5px solid rgba(220,231,238,.35); padding: 6px 12px; border-radius: 999px; }
.model .why-txt { font-size: 14.5px; color: var(--haze); }
.model-certa { background: var(--teal); border-color: var(--teal); }
.model-certa .sit-txt, .model-certa .why-txt { color: var(--navy); }
.model-certa .pick { color: var(--white); background: var(--navy); border-color: var(--navy); }
.model-head { padding: 0 22px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--aqua); background: none; border: 0; }

/* how we start: the closed loop */
.loop-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.loop { position: relative; width: min(100%, 400px); aspect-ratio: 1; justify-self: center; }
.loop .ring { position: absolute; inset: 16%; border-radius: 50%; border: 2px dashed var(--haze); }
.loop .runner { position: absolute; inset: 16%; border-radius: 50%; animation: spin 8s linear infinite; }
.loop .runner::before { content: ""; position: absolute; left: 50%; top: -9px; width: 16px; height: 16px; margin-left: -8px; background: var(--teal); box-shadow: 0 0 16px rgba(19,168,158,.7); }
@keyframes spin { to { transform: rotate(360deg); } }
.loop .node { position: absolute; width: 136px; text-align: center; background: var(--white); border-radius: var(--r); padding: 12px 10px; box-shadow: var(--shadow); font-size: 13.5px; line-height: 1.35; color: var(--slate); transform: translate(-50%, -50%); }
.loop .node b { display: block; font-size: 17px; color: var(--navy); margin-bottom: 2px; }
.loop .n1 { left: 50%; top: 16%; } .loop .n2 { left: 84%; top: 50%; } .loop .n3 { left: 50%; top: 84%; } .loop .n4 { left: 16%; top: 50%; }
.loop .mid { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); }
.kpis { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpis li { background: var(--white); border-radius: var(--r); padding: 14px 16px; font-size: 15px; color: var(--slate); box-shadow: var(--shadow); }
.kpis b { display: block; color: var(--navy); font-size: 16px; }
.steps-big li > span { font-size: 16px; }
.steps-big .get { display: block; margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--aqua); }

/* talk to us: the check and the form together */
.talk-page { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.talk-page h2 { font-size: clamp(28px, 3.2vw, 40px); }
.talk-page .form { position: sticky; top: 96px; }
.form-head { display: grid; gap: 10px; }
.form-head h2 { color: var(--navy); }
.chip { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--navy); background: var(--mist); padding: 6px 12px; border-radius: 999px; }
.chip::before { content: ""; width: 8px; height: 8px; background: var(--teal); }
.score-inline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 26px 0 18px; }
.score-inline .score-n { font-size: 64px; }
.score-inline p { font-size: 16px; color: var(--slate); margin-left: 10px; max-width: 36ch; }

@media (max-width: 1060px) {
  .explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fits-big, .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .loop-wrap, .talk-page, .sit-more { grid-template-columns: minmax(0, 1fr); }
  .talk-page .form { position: static; }
  .model { grid-template-columns: minmax(0, 1fr); }
  .model-head { display: none; }
}
@media (max-width: 560px) {
  .explore-grid, .fits-big, .why, .kpis { grid-template-columns: minmax(0, 1fr); }
  .loop .node { width: 112px; font-size: 12px; }
}

/* ===================== coming soon (main branch only) ===================== */
.soon { background: var(--navy); }
.soon .hero { min-height: calc(100vh - 72px - 50px); min-height: calc(100svh - 72px - 50px); display: grid; grid-template-rows: 1fr auto; }
.soon .hero-in { align-self: center; }
.top-mail { color: var(--frost); text-decoration: none; font-size: 15px; font-weight: 450; }
.top-mail:hover { color: var(--aqua); }
.soon-tag { display: inline-block; color: var(--navy); background: var(--aqua); padding: 4px 10px; border-radius: 6px; margin-right: 12px; letter-spacing: .18em; }
.soon-mail { align-self: center; color: var(--haze); font-size: 15px; }
.soon-mail b { color: var(--frost); font-weight: 500; }
.soon-foot { background: var(--night); color: var(--haze); }
.soon-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 16px; font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.soon-foot span:first-child { color: var(--aqua); }
@media (max-width: 560px) { .top-mail { font-size: 13px; } .soon-tag { margin-bottom: 8px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
