/* CIRCUI-T front page look for the build's own Intent page (hand-over to the F2d round; M99, 10 Oct 2026).
   Source: the standby page, coming-soon v3 css/site.css (ED1409E5C6A3), as carried into the site skin concept
   Ben approved in M85 (CIRCUIT-siteskin-20261007/tool/skin/site-skin.css, 237AD13E679F). Every rule sits under
   the fp-home class on <body>, so no other page and not the terminal changes. Sea set SELF-DERIVED from Ben's
   render (v3 site.css lines 13-18); Circuit Gold read from the --ck-* tokens the page already loads.
   Accent rule: gold on sea; brass on ivory or mineral; never the reverse. */

body.fp-home{
  --fp-deep:#071B26;
  --fp-deep-2:#0C2735;
  --fp-ink:#F3F6F8;
  --fp-ink-2:#CCDBE8;
  --fp-gut:clamp(16px,5vw,40px);
  --fp-top:77px;                 /* half-size classification bar (one line, 19.7 px) plus the 57 px header */
  --fp-hero-h:max(460px,calc(100svh - var(--fp-top)));
}
/* The bar wraps as the screen narrows (its one-line width is 927.5 px at this size), so the top offset steps
   with it. Each step is the tallest bar in its range plus the header, so the caption never falls below the fold. */
@media (max-width:1279px){body.fp-home{--fp-top:71px}}
@media (max-width:999px){body.fp-home{--fp-top:84px}}
@media (max-width:599px){body.fp-home{--fp-top:98px}}
@media (max-width:359px){body.fp-home{--fp-top:111px}}

/* Classification bar, front page only: half its height. The wording is untouched (M99). */
body.fp-home .classbar{font-size:10px;line-height:1.3;letter-spacing:.02em;padding:0 12px}
body.fp-home .classbar .flag{font-size:9px;line-height:1.3;letter-spacing:.5px;padding:0 5px}
@media (min-width:1280px){body.fp-home .classbar{padding:3px 12px}}

/* The page's .wrap goes full width so the hero can; an ivory reading column is painted behind what follows */
body.fp-home #main>.wrap{max-width:none;padding:0;background:linear-gradient(var(--ck-ivory),var(--ck-ivory)) 50% 0/min(100%,1180px) 100% no-repeat}
body.fp-home #circui-t{padding:0}

/* Hero. No padding: cqw and cqh measure its content box, so the lockup's inset is margin on its parts */
body.fp-home .fp-hero{--fp-inset:clamp(16px,5vw,80px);position:relative;overflow:hidden;container-type:size;height:var(--fp-hero-h);display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding:0;background:var(--fp-deep)}
body.fp-home .fp-stage{position:absolute;z-index:0;left:50%;top:50%;width:max(100cqw,calc(100cqh * 1586 / 992));aspect-ratio:1586/992;transform:translate(-50%,-50%);animation:fp-drift 48s ease-in-out infinite alternate}
body.fp-home .fp-aerial{display:block;width:100%;height:100%;max-width:none}
@keyframes fp-drift{from{transform:translate(-50%,-50%) scale(1)}to{transform:translate(-51.2%,-50.6%) scale(1.06)}}

/* Scrim: deep sea rising from the lower left, under the type (v3 values) */
body.fp-home .fp-hero::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(to top,rgba(7,27,38,1) 0%,rgba(7,27,38,.92) 7%,rgba(7,27,38,.78) 28%,rgba(7,27,38,.24) 54%,rgba(7,27,38,0) 70%),linear-gradient(to right,rgba(7,27,38,.78) 0%,rgba(7,27,38,.28) 42%,rgba(7,27,38,0) 62%)}

/* Lockup, lower left: gold rule, emblem and wordmark, expansion */
body.fp-home .fp-rule{position:relative;z-index:2;flex:none;width:48px;height:2px;margin:0 var(--fp-inset);background:var(--ck-gold)}
body.fp-home .fp-brand{position:relative;z-index:2;display:flex;align-items:center;gap:clamp(12px,1.6vw,22px);margin:clamp(10px,1.2vw,16px) var(--fp-inset) 0}
body.fp-home .fp-mark{display:block;flex:none;width:clamp(56px,6.4vw,104px);height:auto;max-width:none}
body.fp-home .fp-hero h1{margin:0;font-family:var(--font-display);font-weight:600;font-size:clamp(60px,8.6vw,144px);line-height:.92;letter-spacing:.08em;white-space:nowrap;color:var(--fp-ink);text-shadow:0 2px 28px rgba(7,27,38,.45)}
body.fp-home .fp-hero .lede{position:relative;z-index:2;margin:clamp(12px,1.3vw,18px) var(--fp-inset) clamp(28px,7vh,84px);max-width:24em;font-size:clamp(17px,1.45vw,21px);line-height:1.45;color:var(--fp-ink-2);text-wrap:balance}
body.fp-home .fp-hero :focus-visible{outline-color:var(--ck-gold)}
@media (max-width:359px){
  body.fp-home .fp-mark{width:44px}
  body.fp-home .fp-hero h1{font-size:48px}
}

/* Caption chip: flags the render and its notional facilities; bottom right, top on portrait screens */
body.fp-home .fp-cap{position:absolute;z-index:3;right:clamp(12px,2vw,24px);bottom:12px;max-width:min(24rem,calc(100% - 24px));margin:0;padding:4px 10px;border-radius:3px;background:rgba(7,27,38,.82);font-family:var(--font-body);font-size:12px;line-height:1.45;color:var(--fp-ink-2)}

/* Where the hero meets the copy: the ivory column starts flush under the hero. The logo tile and the status
   line open it; every section after them sits in the same reading column. Nothing here names a section by
   its text, so shorter copy drops in without a CSS change. */
body.fp-home #circui-t>:not(.fp-hero),body.fp-home #main>.wrap>section:not(#circui-t){margin-left:max(var(--fp-gut),calc(50% - 550px));margin-right:max(var(--fp-gut),calc(50% - 550px))}
body.fp-home #circui-t>.circuit-hero{width:min(calc(100% - 2 * var(--fp-gut)),300px);margin-top:clamp(28px,3vw,44px);margin-bottom:24px}
body.fp-home #circui-t>.status{display:flow-root;margin-top:clamp(28px,3vw,44px)}
body.fp-home #main>.wrap>section:last-child{padding-bottom:clamp(32px,4vw,56px)}
@media (min-width:1024px){
  body.fp-home #circui-t>.circuit-hero{float:left;margin-right:40px;margin-bottom:28px}
  body.fp-home #circui-t~section~section{clear:left}
}

/* Portrait screens: hold the science park, Fab 18 and Mother Bear in view, focus capped so the render always
   reaches the right edge (v3 site.css lines 82-91); the taller scrim; the caption moves to the top */
@media (max-aspect-ratio:1/1){
  body.fp-home .fp-stage{transform:translate(calc(-1 * min(75.5%, 100% - 50cqw)),-50%);animation-name:fp-drift-p}
  body.fp-home .fp-hero::after{background:linear-gradient(to top,rgba(7,27,38,1) 0%,rgba(7,27,38,.92) 10%,rgba(7,27,38,.84) 36%,rgba(7,27,38,.3) 58%,rgba(7,27,38,0) 72%),linear-gradient(to right,rgba(7,27,38,.78) 0%,rgba(7,27,38,.28) 42%,rgba(7,27,38,0) 62%)}
  body.fp-home .fp-cap{top:12px;bottom:auto}
}
/* Short landscape screens (a phone on its side): the hero keeps its 460 px floor and runs past the fold, so the
   caption moves to the top, where it stays in view and clear of the lockup */
@media (max-height:540px) and (min-aspect-ratio:1/1){body.fp-home .fp-cap{top:12px;bottom:auto}}
@keyframes fp-drift-p{from{transform:translate(calc(-1 * min(75.5%, 100% - 50cqw)),-50%) scale(1)}to{transform:translate(calc(-1 * min(77.1%, 103% - 50cqw)),-50.6%) scale(1.06)}}

/* Motion: tokens.css already stops every animation under reduced motion; this keeps the hero safe on its own */
@media (prefers-reduced-motion:reduce){body.fp-home .fp-stage{animation:none}}
/* F2D-A additions */
body.fp-home .fp-ini{color:var(--ck-gold)}
body.fp-home .fp-nowrap{white-space:nowrap}
body.fp-home .fp-cue{position:absolute;z-index:3;left:50%;bottom:18px;width:14px;height:14px;border-right:2px solid var(--fp-ink-2);border-bottom:2px solid var(--fp-ink-2);transform:translateX(-50%) rotate(45deg)}
@media (max-aspect-ratio:1/1){body.fp-home .fp-cue{display:none}}
@media (prefers-reduced-motion:reduce){body.fp-home .fp-cue{animation:none}}
/* end F2D-A */
