/* Designer brief layer (Nov 2026): Apple-style minimal screens, one idea per screen.
   Loaded after site.css / sections.css / pages.css. Tokens live in site.css. */

/* ---------- shared ---------- */
.center { text-align: center; }
.sec-head-c { margin-inline: auto; text-align: center; }
.sec-head-c .sec-lead { margin-inline: auto; }
.sec.screen { padding-block: clamp(72px, 10vh, 112px); }
.screen { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.sample-s { margin: 12px 0 0; font-size: 12px; color: var(--gray); text-align: right; }
.tag-sample { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(13,18,16,.88); color: #FFFFFF; font-size: 13px; font-weight: 500; }
.btn-outline { color: var(--white); background: transparent; border: 1px solid rgba(13,18,16,.35); }
.btn-outline:hover, .btn-outline:focus-visible { border-color: var(--white); background: rgba(13,18,16,.05); }
.btn-sm-inline { min-height: 42px; padding-block: 8px; font-size: 14px; }

/* ---------- home: hero, centered ---------- */
.hero-c .hero-top { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0; padding-top: clamp(40px, 8vh, 96px); padding-bottom: clamp(32px, 5vh, 56px); }
.hero-c .eyebrow { justify-content: center; }
.hero-c .eyebrow::after { content: ""; width: 22px; height: 1px; background: currentColor; flex: none; }
.hero-c h1 { font-size: clamp(48px, 7.2vw, 120px); letter-spacing: -.045em; text-wrap: balance; }
.hero-c h1 .h-g { color: var(--green-lit-lo); }
.hero-c .lead { max-width: 46ch; margin: 28px auto 36px; font-size: clamp(18px, 1.5vw, 22px); }
.hero-c .hero-cta { justify-content: center; }
.hero-c .frame { flex: none; height: min(76vh, 780px); min-height: 420px; }

/* ---------- home: three numbers ---------- */
.nums { border-top: 0; padding-block: clamp(96px, 14vh, 160px); }
.big3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin: 0; padding: 0; list-style: none; text-align: center; }
.big3 li { display: grid; gap: 14px; justify-items: center; }
.big3 b { font-size: clamp(56px, 7.2vw, 124px); font-weight: 600; letter-spacing: -.055em; line-height: .9; color: var(--green-lit-lo); font-variant-numeric: tabular-nums; white-space: nowrap; }
.big3 b i { font-style: normal; font-size: .4em; letter-spacing: -.02em; margin-right: .12em; }
.big3 span { font-size: clamp(16px, 1.3vw, 19px); color: var(--gray-light); }

/* ---------- home: the problem ---------- */
.problem .sec-head h2 { font-size: clamp(40px, 5.6vw, 92px); letter-spacing: -.04em; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; max-width: 1080px; margin: 0 auto; padding: 0; list-style: none; text-align: center; }
.cols3 li { display: grid; gap: 10px; }
.cols3 b { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -.02em; color: var(--white); }
.cols3 span { font-size: 17px; color: var(--gray-light); }

/* ---------- home: Detect. Diagnose. Act. over the plant ---------- */
#story .panel { max-width: 500px; padding: 34px 34px 22px; }
.dda { display: grid; gap: 2px; margin: 0 0 26px; }
.dda span { display: block; font-size: clamp(40px, 4.4vw, 70px); font-weight: 600; letter-spacing: -.045em; line-height: 1; color: rgba(13,18,16,.13); transition: color .9s var(--ease-out) .15s; }
.dda span.on { color: var(--white); }
.panel.rv-below .dda span.on, .panel.rv-above .dda span.on { color: rgba(13,18,16,.13); }
/* the full stop is drawn here: plain on the waiting words, and the green dot IS the full stop of the active word */
.dda span::after { content: "."; }
.dda span.on::after { content: ""; display: inline-block; width: .15em; height: .15em; margin-left: .05em; border-radius: 50%; background: var(--green-lit); box-shadow: 0 0 0 5px rgba(42,157,94,.14); vertical-align: baseline; }
.panel .dda-line { font-size: 18px; color: var(--gray-light); }
.dda-line b { color: var(--white); font-weight: 600; }
#story .insight { margin-top: 22px; }

.limits { border-top: 0; padding-block: clamp(110px, 16vh, 180px); text-align: center; }
.limits-line { margin: 0 auto 36px; max-width: 22ch; font-size: clamp(34px, 4.6vw, 72px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; color: var(--gray); text-wrap: balance; }
.limits-line b { display: block; font-weight: 600; color: var(--white); }

/* ---------- form band: dark, full width, title left, form right ---------- */
.fband {
  --white: #F4F6F4; --gray-light: rgba(244,246,244,.74); --gray: rgba(244,246,244,.58);
  --line: rgba(255,255,255,.12); --line-strong: rgba(255,255,255,.26); --ink: rgba(255,255,255,.03);
  --green-400: #6FD49A;
  position: relative; padding-block: clamp(96px, 14vh, 150px); background: #0D1210; color: var(--gray-light); overflow: hidden;
}
.fband::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(42,157,94,.22), transparent 70%); pointer-events: none; }
.fband .wrap { position: relative; }
.fband-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; }
.fband-grid > * { min-width: 0; }
.fband h2, .fband h1 { margin: 0 0 18px; font-size: clamp(40px, 5vw, 80px); letter-spacing: -.04em; line-height: 1; color: var(--white); }
.fband-lead { margin: 0; font-size: clamp(18px, 1.5vw, 22px); color: var(--gray-light); max-width: 40ch; }
.fband-kicker { margin: 0 0 26px; font-size: 15px; color: var(--gray); }
.fband-kicker a { color: var(--white); border-bottom: 1px solid var(--line-strong); transition: border-color .2s; }
.fband-kicker a:hover { border-color: #6FD49A; }
.fband-form { padding: 36px 36px 32px; border: 1px solid var(--line-strong); border-radius: 18px; background: #131917; box-shadow: none !important; }
.fband .f label { color: var(--gray-light); }
.fband .f .opt { margin-left: 6px; font-size: 12px; color: var(--gray); }
.fband .f input, .fband .f select, .fband .f textarea { color: #F4F6F4; border-bottom-color: rgba(255,255,255,.28); }
.fband .f select option { background: #0D1210; color: #F4F6F4; }
.fband .f input:focus, .fband .f select:focus, .fband .f textarea:focus { border-bottom-color: #6FD49A; box-shadow: 0 1px 0 #6FD49A; }
.fband .btn-primary { background: #1F8048; }
.fband .btn-primary:hover, .fband .btn-primary:focus-visible { background: #1B7341; }
.fband .form-done h3 { font-size: 26px; color: var(--white); }
.fband ::selection { background: rgba(111,212,154,.35); }
.fband .note { color: var(--gray); }
.fband .page-bg, .fband .bgfx { display: none; }

/* ---------- inner pages: plain opening ---------- */
.ohead { position: relative; padding-top: calc(76px + clamp(72px, 14vh, 150px)); padding-bottom: clamp(72px, 11vh, 120px); }
.ohead .wrap > * { max-width: 980px; }
.ohead h1 { font-size: clamp(44px, 6vw, 96px); letter-spacing: -.045em; line-height: 1; text-wrap: balance; }
.ohead .lead { max-width: 58ch; margin: 30px 0 0; font-size: clamp(18px, 1.45vw, 22px); }
.ohead .actions { margin-top: 40px; }
.ohead.center .wrap > * { margin-inline: auto; }
.ohead.center .eyebrow { justify-content: center; }

/* ---------- platform: alternating outcome screens ---------- */
.alt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.alt > * { min-width: 0; }
.alt.flip > :first-child { order: 2; }
.alt h2 { font-size: clamp(36px, 4.2vw, 64px); }
.alt .n { display: block; margin-bottom: 18px; font-size: 14px; font-weight: 500; color: var(--green-400); }
.alt p.body { margin: 0; font-size: 18px; color: var(--gray-light); max-width: 52ch; }
.more { margin-top: 28px; }
.more summary { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; font-weight: 500; color: var(--white); border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-family: "Geist Mono", monospace; color: var(--green-400); transition: transform .3s var(--ease-out); }
.more[open] summary::after { transform: rotate(45deg); }
.more ul { display: grid; gap: 0; margin: 20px 0 0; padding: 0; list-style: none; }
.more li { padding: 14px 0 14px 26px; border-top: 1px solid var(--line); position: relative; color: var(--gray-light); }
.more li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 8px; height: 8px; border-radius: 50%; background: var(--green-lit); }

/* product UI stand-ins until real screenshots arrive */
.ui { position: relative; margin: 0; border-radius: 18px; border: 1px solid var(--line); background: var(--ink); box-shadow: var(--shadow-soft); overflow: hidden; }
.ui-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--gray); }
.ui-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(13,18,16,.12); }
.ui-bar span { margin-left: 10px; font-family: "Geist Mono", monospace; }
.ui-body { padding: 22px; display: grid; gap: 14px; }
.ui .tag-sample { position: absolute; right: 14px; bottom: 14px; }
.ui-kpi { display: flex; justify-content: space-between; align-items: baseline; }
.ui-kpi span { font-size: 13px; color: var(--gray); }
.ui-kpi b { font-size: 34px; font-weight: 600; letter-spacing: -.03em; color: var(--white); }
.ui-kpi b.g { color: var(--green-lit-lo) !important; }
.ui svg.spark { width: 100%; height: auto; display: block; }
.spark .base { fill: none; stroke: rgba(13,18,16,.3); stroke-width: 2; stroke-dasharray: 5 6; }
.spark .act { fill: none; stroke: var(--green-lit); stroke-width: 2.5; }
.spark .gap { fill: rgba(42,157,94,.1); }
.ui-rows { display: grid; gap: 10px; margin: 0; padding: 0 0 34px; list-style: none; }
.ui-rows li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; color: var(--gray-light); }
.ui-rows b { color: var(--white); font-weight: 500; }
.ui-rows .mono { font-size: 13px; color: var(--gray); }
.hb { width: 72px; height: 6px; border-radius: 3px; background: rgba(13,18,16,.08); overflow: hidden; }
.hb i { display: block; height: 100%; border-radius: inherit; background: var(--green-lit); }

/* alert cards: product alert colors (per brief) only on the small marker */
.acards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.acard { display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: 16px; border: 1px solid var(--line); background: var(--ink); box-shadow: var(--shadow-soft); }
.acard .kind { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 5px 12px 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.acard .kind::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.acard.warn .kind { color: #B26A12; background: rgba(214,138,34,.12); }
.acard.alert .kind { color: #B23A31; background: rgba(214,70,60,.1); }
.acard.opt .kind { color: var(--green-lit-lo); background: rgba(42,157,94,.12); }
.acard h3 { margin: 6px 0 0; font-size: 20px; }
.acard p { margin: 0; color: var(--gray-light); font-size: 15px; }
.sample-label { display: inline-block; margin: 0 0 28px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13px; font-weight: 600; color: var(--white); }

.dash-wrap { position: relative; max-width: 1100px; margin: 0 auto; }
.dash-wrap .tag-sample { position: absolute; top: 16px; right: 18px; z-index: 2; }

/* ---------- how it works: vertical timeline ---------- */
.vsteps { --k: 0; position: relative; max-width: 1040px; margin: 0 auto; padding: 0; list-style: none; }
.vsteps::before, .vsteps::after { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 1px; background: var(--line-strong); }
.vsteps::after { background: var(--green-lit); bottom: auto; height: calc((100% - 20px) * var(--k)); }
.vsteps .step { display: grid; grid-template-columns: 56px 1fr 170px; gap: 0 36px; align-items: start; padding: 0 0 clamp(64px, 11vh, 120px); }
.vsteps .step::before { display: none; }
.vsteps .step > * { grid-column: 2; }
.vsteps .step > .num { grid-column: 1; grid-row: 1 / span 4; }
.vsteps .step > .step-viz { grid-column: 3; grid-row: 1 / span 4; }
.vsteps .num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--black); font: 500 16px "Geist Mono", monospace; color: var(--gray); transition: background .5s, color .5s, border-color .5s; }
.vsteps .step.on .num { background: var(--green-lit-lo); border-color: var(--green-lit-lo); color: #FFFFFF; }
.vsteps .step.live .num { box-shadow: 0 0 0 8px rgba(42,157,94,.14); }
.vsteps h2 { margin: 8px 0 12px; font-size: clamp(26px, 2.6vw, 38px); }
.vsteps h2 em { font-style: normal; color: var(--gray); font-weight: 500; }
.vsteps .step p { max-width: 60ch; font-size: 17px; color: var(--gray-light); }
.vsteps .free { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.vsteps .pill-free { padding: 5px 12px; border-radius: 999px; background: var(--green-lit-lo); color: #FFFFFF; font-size: 13px; font-weight: 600; }
.vsteps .step-viz { max-width: 170px; margin: 6px 0 0; }
.vsteps .step.rv-on { transition: opacity .9s var(--ease-out), translate 1.1s var(--ease-out), filter .9s var(--ease-out); }

/* audit illustration: a floor plan being walked */
.step-viz .v-pin { fill: currentColor; stroke: none; }
.step.live .v-pin { animation-name: vPin; }
@keyframes vPin { 0%, 8% { transform: translate(0, 0); } 30%, 38% { transform: translate(44px, 0); } 60%, 68% { transform: translate(44px, -24px); } 92%, 100% { transform: translate(0, 0); } }

.film-sec { border-top: 0; padding-top: 0; }

/* who is in charge: its own background, full screen */
.charge { background: #EDF2EE; border-top: 0; }
.charge .sec-head { margin-bottom: 72px; }
.grid4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.grid4 li { padding: 36px; border-radius: 18px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.grid4 b { display: block; margin-bottom: 10px; font-size: 22px; font-weight: 600; letter-spacing: -.015em; color: var(--white); }
.grid4 span { font-size: 16px; color: var(--gray-light); }
@media (min-width: 1280px) { .grid4 { grid-template-columns: repeat(4, 1fr); } .grid4 li { padding: 30px 26px; } }

/* ---------- industries: one full screen each ---------- */
.iscreen { position: relative; padding-block: clamp(64px, 10vh, 112px); border-top: 1px solid var(--line); scroll-margin-top: 64px; }
.igrid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 5.5vw, 96px); align-items: center; }
.igrid > * { min-width: 0; }
.iscreen.flip .iphoto { order: -1; }
.iphoto { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); background: #E9EDEA; }
.iphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.iphoto .img-note { position: absolute; left: 14px; bottom: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.88); font-size: 12px; color: var(--gray-light); }
.iscreen .kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 15px; font-weight: 500; color: var(--green-400); }
.iscreen .kicker svg { flex: none; width: 24px; height: 24px; }
.iscreen h2 { font-size: clamp(32px, 3.5vw, 56px); letter-spacing: -.04em; text-wrap: balance; }
.iscreen ul { display: grid; max-width: 44ch; margin: 30px 0 0; padding: 0; list-style: none; }
.iscreen li { display: flex; align-items: baseline; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 18px; color: var(--gray-light); }
.iscreen li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--green-lit); translate: 0 -2px; }

/* ---------- about ---------- */
.story-col { max-width: 760px; margin: 0 auto; }
.story-col p { margin: 0 0 28px; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.35; letter-spacing: -.015em; color: var(--white); }
.story-col p + p { color: var(--gray-light); }
.team.faces { grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); justify-content: center; }
.team.faces .ph { aspect-ratio: 1; }
.team.faces .person > div p.bio { margin-top: 10px; font-size: 14px; text-transform: none; color: var(--gray-light); }

/* ---------- assessment ---------- */
.aband { min-height: 100svh; padding-top: calc(76px + clamp(56px, 10vh, 110px)); }
.gets { display: grid; gap: 0; margin: 40px 0 0; padding: 0; list-style: none; }
.gets li { padding: 18px 0; border-top: 1px solid var(--line); }
.gets b { display: block; margin-bottom: 4px; font-size: 18px; font-weight: 600; color: var(--white); }
.gets span { color: var(--gray-light); }
.direct { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); }
.direct h2 { font-size: clamp(26px, 2.4vw, 36px); margin-bottom: 14px; }
.direct ul { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--gray-light); }
.direct a { color: var(--white); border-bottom: 1px solid var(--line-strong); }

/* ---------- faq ---------- */
.faq-col { max-width: 820px; margin: 0 auto; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .fband-grid { grid-template-columns: 1fr; gap: 48px; }
  .acards { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 960px) {
  .big3 { grid-template-columns: 1fr; gap: 56px; }
  .cols3 { grid-template-columns: 1fr; gap: 36px; }
  .alt { grid-template-columns: 1fr; gap: 40px; }
  .alt.flip > :first-child { order: 0; }
  #story .panel { padding: 20px 20px 14px; }
  .dda { margin-bottom: 14px; grid-auto-flow: column; justify-content: start; gap: 10px; }
  .dda span { font-size: 26px; }
  .dda span.on::after { box-shadow: 0 0 0 3px rgba(42,157,94,.14); }
  .panel .dda-line { font-size: 16px; }
  .vsteps::before, .vsteps::after { left: 21px; }
  .vsteps .step { grid-template-columns: 44px 1fr; gap: 0 18px; padding: 0 0 56px; border: 0; background: none; box-shadow: none; border-radius: 0; }
  .vsteps .step > * { grid-column: 2; }
  .vsteps .step > .num { grid-column: 1; grid-row: 1 / span 4; width: 44px; height: 44px; font-size: 14px; }
  .vsteps .step > .step-viz { grid-column: 2; grid-row: auto; width: 120px; margin: 4px 0 16px; }
  .grid4 { grid-template-columns: 1fr; }
  .grid4 li { padding: 26px; }
  .igrid { grid-template-columns: 1fr; gap: 28px; }
  .iscreen .iphoto, .iscreen.flip .iphoto { order: -1; aspect-ratio: 16 / 10; }
  .iscreen li { font-size: 17px; padding-block: 13px; }
  .fband-form { padding: 24px 20px; }
}
@media (max-width: 600px) {
  .hero-c .hero-cta .btn { flex: none; }
  .hero-c .frame { height: 54svh; min-height: 340px; }
  .ui-body { padding: 16px; }
  .ui-rows li { grid-template-columns: auto 1fr; padding: 10px 12px; }
  .ui-rows li > :last-child { grid-column: 2; }
  .limits-line { font-size: 32px; }
}

/* ---------- v6: tighter rhythm ---------- */
.sec { padding-block: clamp(80px, 11vh, 116px); }
.sec-head { margin-bottom: 44px; }
.nums { padding-block: clamp(64px, 9vh, 104px); }
.limits { padding-block: clamp(72px, 10vh, 112px); }
.limits-line { margin-bottom: 28px; }
.fband { padding-block: clamp(80px, 11vh, 120px); }
.ohead { padding-top: calc(76px + clamp(56px, 10vh, 104px)); padding-bottom: clamp(48px, 7vh, 80px); }
.screen { min-height: 86svh; }
.sec.screen { padding-block: clamp(56px, 8vh, 88px); }
.vsteps .step { padding-bottom: clamp(44px, 7vh, 76px); }
.charge .sec-head { margin-bottom: 52px; }
.hero-c .hero-top { padding-top: clamp(32px, 6vh, 72px); padding-bottom: clamp(28px, 4vh, 44px); }
.hero-c .lead { margin: 22px auto 30px; }
.big3 { gap: 36px; }
.cols3 { gap: 44px; }

/* ---------- v6: faded side photos behind text (depth) ---------- */
.has-side { position: relative; overflow: clip; }
.has-side > .wrap { position: relative; z-index: 1; }
.side-img {
  position: absolute; top: 0; bottom: 0; z-index: 0; width: min(54%, 880px);
  background: center / cover no-repeat; opacity: .26; filter: saturate(.8) contrast(1.08);
  pointer-events: none;
  -webkit-mask: linear-gradient(var(--dir), #000 0, rgba(0,0,0,.55) 45%, transparent 92%), linear-gradient(transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(var(--dir), #000 0, rgba(0,0,0,.55) 45%, transparent 92%), linear-gradient(transparent, #000 18%, #000 82%, transparent);
  mask-composite: intersect;
}
.side-img.r { right: 0; --dir: to left; }
.side-img.l { left: 0; --dir: to right; }
.charge .side-img { opacity: .3; mix-blend-mode: multiply; }
.ohead .side-img { opacity: .3; }
@media (max-width: 960px) {
  .side-img { width: 100%; opacity: .14; }
  .ohead .side-img { opacity: .18; }
}

/* the dark form band gets the plant room, very low, from the right */
.fband::after {
  content: ""; position: absolute; inset: auto auto 0 0; width: min(52%, 820px); height: 78%; pointer-events: none;
  background: url(../assets/img/plant-wide.webp) left bottom / cover no-repeat; opacity: .34; filter: grayscale(.45);
  -webkit-mask: radial-gradient(120% 100% at 0% 100%, #000 0, rgba(0,0,0,.5) 42%, transparent 74%); mask: radial-gradient(120% 100% at 0% 100%, #000 0, rgba(0,0,0,.5) 42%, transparent 74%);
}
.fband > .wrap { z-index: 1; }
@media (max-width: 960px) { .fband::after { width: 100%; opacity: .08; } }

/* ---------- review, Nov 17 (Elizabeth) ---------- */
/* small line icons that mark each point (Phosphor Light, from the sprite): hairline circle, green stroke */
.pt-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--green-lit-lo); background: rgba(255,255,255,.6); }
.pt-ic svg { width: 26px; height: 26px; }
.cols3 .pt-ic { justify-self: center; margin-bottom: 10px; }
.grid4 .pt-ic { margin-bottom: 20px; }
.acard { position: relative; }
.acard-ic { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); }
.acard-ic svg { width: 22px; height: 22px; }
.acard.warn .acard-ic { color: #B26A12; }
.acard.alert .acard-ic { color: #B23A31; }
.acard.opt .acard-ic { color: var(--green-lit-lo); }

/* Detect / Diagnose / Act: ONE box, half the old size. The three panels sit on the same spot and swap
   as the scroll moves through the chapters (story.js sets .boxed on #story and .is-on on the chapter). */
#story .panel { max-width: 400px; padding: 26px 26px 18px; }
.dda { margin-bottom: 18px; }
.dda span { font-size: clamp(26px, 2.5vw, 38px); }
.dda span.on::after { box-shadow: 0 0 0 4px rgba(42,157,94,.14); }
.panel .dda-line { font-size: 16px; }
#story .insight { margin-top: 16px; padding: 14px; gap: 12px; }
#story .insight p { font-size: 13px; }
#story .metric { font-size: 17px; }
@media (min-width: 961px) {
  #story .panel {
    position: fixed; top: 50%; left: max(var(--pad), calc((100vw - 1440px) / 2 + var(--pad))); width: min(400px, 34vw);
    translate: 0 -50% !important; scale: none !important; filter: none !important;
    opacity: 0 !important; visibility: hidden; pointer-events: none;
    transition: opacity .2s var(--ease-out), visibility 0s .2s;
  }
  #story.boxed .chapter.is-on .panel { opacity: 1 !important; visibility: visible; pointer-events: auto; transition: opacity .45s var(--ease-out) .12s, visibility 0s; }
  #story .panel .dda span { transition: none; }
  #story .panel.rv-below .dda span.on, #story .panel.rv-above .dda span.on { color: var(--white); }
}
@media (max-width: 960px) {
  /* phones and tablets: the same single box, pinned to the bottom so the plant stays visible above it */
  #story .panel {
    position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); top: auto;
    width: auto; max-width: 560px; margin-inline: auto;
    translate: none !important; scale: none !important; filter: none !important;
    opacity: 0 !important; visibility: hidden; pointer-events: none;
    transition: opacity .2s var(--ease-out), visibility 0s .2s;
  }
  #story.boxed .chapter.is-on .panel { opacity: 1 !important; visibility: visible; pointer-events: auto; transition: opacity .45s var(--ease-out) .12s, visibility 0s; }
  #story .panel .dda span { transition: none; }
  #story .panel { padding: 18px 18px 12px; }
  #story .panel .sample-s { margin-top: 6px; }
  .dda { margin-bottom: 14px; }
  .pt-ic { width: 46px; height: 46px; }
  .acard-ic { top: 18px; right: 18px; }
}

/* ---------- review round 2, Nov 17 (client document + Elizabeth's text changes) ---------- */
/* the hero fits one screen: smaller headline, and the 3D frame takes whatever height is left */
@media (min-width: 961px) {
  .hero-c { height: 100svh; min-height: 620px; }
  .hero-c .hero-top { padding-top: clamp(18px, 3.2vh, 40px); padding-bottom: clamp(16px, 2.8vh, 30px); }
  .hero-c .eyebrow { margin-bottom: 14px; }
  .hero-c h1 { font-size: clamp(38px, min(5vw, 8.2vh), 84px); }
  .hero-c .lead { max-width: 84ch; margin: 14px auto 20px; font-size: clamp(16px, 1.25vw, 19px); }
  .hero-c .stage { flex: 1; min-height: 0; padding-bottom: 20px; }
  .hero-c .frame { flex: 1; height: auto; min-height: 0; max-height: none; }
}
/* no single word left alone on the last line ("clock", "symptom", "facilities") */
.dda-line, .foot-brand p, .lead, .sec-lead, .fband-lead, .cols3 span, .grid4 span, .modes3 span, .acard p, .insight p, .vsteps .step p, .iscreen li, .story-col p { text-wrap: pretty; }
/* how much EYWA does on its own: the three levels under "You set the limits" */
.modes3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 980px; margin: 0 auto 40px; padding: 0; list-style: none; text-align: left; }
.modes3 li { padding: 24px 26px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.72); box-shadow: var(--shadow-soft); }
.modes3 b { display: block; margin-bottom: 8px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--white); }
.modes3 span { font-size: 15px; line-height: 1.5; color: var(--gray-light); }
.sec-head-c .sec-lead + .sample-label { margin-top: 22px; }
@media (max-width: 960px) { .modes3 { grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px; } }

/* ---------- home hero with the client's video (Nov 17): headline on top, the whole video under it, all in one screen ---------- */
.hero-v .frame-inner { background: #FFFFFF; }
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-c.hero-v .frame { aspect-ratio: 1616 / 1072; }
@media (min-width: 961px) {
  /* the frame takes the height that is left under the text and keeps the video's shape, so nothing is cropped */
  .hero-c.hero-v .stage { align-items: center; }
  .hero-c.hero-v .frame { flex: 1 1 0; width: auto; max-width: 100%; min-height: 0; }
}
@media (max-width: 960px) {
  .hero-c.hero-v .frame { flex: none; width: 100%; height: auto; min-height: 0; }
}

/* ---------- round 3, Nov 17: form band copy centred against the form; "Built for" as an icon row that fades in one by one ---------- */
@media (min-width: 1181px) { .fband-grid { align-items: center; } }
.fband-kicker { margin: 0 0 34px; font-size: 15px; color: var(--gray); }
.fk-label { margin: 0 0 16px; }
.fk-list { display: flex; flex-wrap: wrap; gap: 14px 30px; margin: 0; padding: 0; list-style: none; }
.fk-list a { display: grid; justify-items: center; gap: 10px; color: var(--gray-light); border: 0; text-align: center; transition: color .2s; }
.fk-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-strong); color: #6FD49A; background: rgba(255,255,255,.03); transition: border-color .2s, background .2s; }
.fk-ic svg { width: 26px; height: 26px; }
.fk-t { font-size: 14px; line-height: 1.25; }
.fk-list a:hover, .fk-list a:focus-visible { color: var(--white); }
.fk-list a:hover .fk-ic, .fk-list a:focus-visible .fk-ic { border-color: #6FD49A; background: rgba(111,212,154,.08); }
/* plain fade, one after another */
.fk-list li.rv-on { transition: opacity .8s var(--ease-out) var(--fk, 0ms); }
.fk-list li.rv-on.rv-below, .fk-list li.rv-on.rv-above { translate: none; scale: none; filter: none; opacity: 0; }
.fk-list li.rv-on.rv-above { transition-delay: 0ms; }
.fk-list li:nth-child(1) { --fk: 100ms; }
.fk-list li:nth-child(2) { --fk: 300ms; }
.fk-list li:nth-child(3) { --fk: 500ms; }
.fk-list li:nth-child(4) { --fk: 700ms; }
@media (max-width: 600px) {
  .fk-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .fk-ic { width: 48px; height: 48px; }
  .fk-ic svg { width: 22px; height: 22px; }
  .fk-t { font-size: 13px; }
}


/* ---------- round 3: mobile QA (tap targets, one-line emails) ---------- */
.sel { white-space: nowrap; }
.btn-sm-inline { min-height: 44px; }
@media (max-width: 960px) {
  .foot-nav, .foot-legal { gap: 0; }
  .foot-nav a, .foot-legal a, .foot-nav button, .foot-legal button { display: inline-flex; align-items: center; min-height: 44px; }
  .toc a { padding-block: 12px; }
  .direct li a { display: inline-flex; align-items: center; min-height: 44px; }
  .btn-sm { height: 44px; }
}

/* ---------- round 3: accessibility QA ---------- */
.vid-btn { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(13,18,16,.14); border-radius: 50%; background: rgba(255,255,255,.88); color: #0D1210; cursor: pointer; opacity: .75; transition: opacity .2s, background .2s; }
.vid-btn:hover, .vid-btn:focus-visible { opacity: 1; background: #FFFFFF; }
.vid-btn svg { width: 18px; height: 18px; fill: currentColor; }
.vid-btn .i-play, .vid-btn.is-paused .i-pause { display: none; }
.vid-btn.is-paused .i-play { display: inline; }
.f input:focus-visible, .f select:focus-visible, .f textarea:focus-visible { outline: 2px solid var(--green-400); outline-offset: 3px; border-radius: 2px; }
