/* v5 draft, third pass: facts, timeline, drawings, states in order, closing band, phone bar, the model's way back.
   Loaded after v5.css and model.css. */

/* hero: the program in four figures, on one quiet line */
.hero-facts { margin: 2.25rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0; color: var(--text-3); font-size: 0.875rem; }
.hero-facts li { padding: 0 1.25rem; border-left: 1px solid var(--line-2); white-space: nowrap; }
.hero-facts li:first-child { border-left: 0; }
.hero-facts b { color: var(--text); font: 600 1rem/1 var(--display); letter-spacing: -0.02em; margin-right: 0.35rem; }
@media (max-width: 40em) {
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 0; max-width: 22rem; }
  .hero-facts li:nth-child(odd) { border-left: 0; }
}

/* the rollout as a line: solid where the rule is in force, broken where it is on hold or under review */
.timeline { margin-top: 2.5rem; display: grid; }
.timeline li { position: relative; padding: 1.5rem 1.5rem 0.5rem 0; display: grid; gap: 0.55rem; align-content: start; justify-items: start; border-top: 1px dashed var(--line-3); }
.timeline li.is-live { border-top: 1px solid var(--ok); }
.timeline li::before { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--canvas); border: 1px solid var(--line-3); }
.timeline li.is-live::before { background: var(--ok); border-color: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.timeline li.is-held::before { border-color: var(--warn); }
.tl-date { font: 500 0.75rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.timeline b { font: 600 1.1rem/1.3 var(--display); letter-spacing: -0.015em; }
.tl-sub { color: var(--text-2); font-size: 0.92rem; max-width: 22rem; }
@media (min-width: 48em) { .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 47.99em) { .timeline li { padding-bottom: 1.75rem; } }

/* small drawings at the head of a card: built from the same parts as the product, never a picture of it */
.ill { height: 5.5rem; margin-bottom: 1.35rem; border-radius: var(--r-m); background: var(--sunken); border: 1px solid var(--line-1); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ill-steps { gap: 4px; padding: 0 1rem; }
.ill-steps i { flex: 1 1 0; max-width: 1rem; aspect-ratio: 1; border-radius: 3px; background: #3a3a42; transition: background-color 500ms var(--ease); transition-delay: calc(var(--n, 0) * 55ms + 250ms); }
.ill-steps i:nth-child(2) { --n: 1; }
.ill-steps i:nth-child(3) { --n: 2; }
.ill-steps i:nth-child(4) { --n: 3; }
.ill-steps i:nth-child(5) { --n: 4; }
.ill-steps i:nth-child(6) { --n: 5; }
.is-in .ill-steps i:nth-child(-n+5), html:not(.v5-js) .ill-steps i:nth-child(-n+5) { background: var(--ok); }
.is-in .ill-steps i:nth-child(6), html:not(.v5-js) .ill-steps i:nth-child(6) { background: var(--text); }
.ill-doc { position: relative; }
.ill-doc .doc { position: relative; width: 4.6rem; height: 3.7rem; margin-top: 1.4rem; padding: 0.55rem 0.5rem; border-radius: 6px 6px 0 0; background: var(--raised); border: 1px solid var(--line-2); border-bottom: 0; display: grid; gap: 5px; align-content: start; }
.ill-doc .doc-b { position: absolute; left: calc(50% - 1.5rem); top: 0.65rem; margin: 0; background: var(--surface); transform: rotate(4deg); }
.ill-doc .doc i { height: 3px; border-radius: 2px; background: var(--line-3); transform-origin: 0 50%; transform: scaleX(0.2); transition: transform 600ms var(--ease); }
.ill-doc .doc i:nth-child(1) { width: 62%; background: var(--text-2); }
.ill-doc .doc i:nth-child(2) { transition-delay: 120ms; }
.ill-doc .doc i:nth-child(3) { width: 86%; transition-delay: 220ms; }
.ill-doc .doc i:nth-child(4) { width: 70%; transition-delay: 320ms; }
.is-in .ill-doc .doc i, html:not(.v5-js) .ill-doc .doc i { transform: none; }
.ill-doc .doc em { position: absolute; right: 0.45rem; top: 0.45rem; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.ill-trace { gap: 0; padding: 0 0.75rem; }
.ill-trace span { flex: none; height: 1.5rem; padding: 0 0.55rem; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); font: 500 0.68rem/1 var(--sans); }
.ill-trace span:last-child { color: var(--ok); border-color: rgba(63, 185, 80, 0.32); background: var(--ok-soft); }
.ill-trace i { flex: 1 1 0.75rem; max-width: 2rem; height: 1px; background: var(--line-3); transform-origin: 0 50%; transform: scaleX(0); transition: transform 500ms var(--ease) 300ms; }
.ill-trace i:nth-of-type(2) { transition-delay: 600ms; }
.is-in .ill-trace i, html:not(.v5-js) .ill-trace i { transform: none; }
.ill-svg { width: 100%; padding: 0; }
.ill-svg .bd { fill: rgba(255, 255, 255, 0.02); stroke: var(--line-3); stroke-dasharray: 4 4; }
.ill-svg .dev { fill: var(--raised); stroke: var(--text-2); stroke-width: 1.2; stroke-linecap: round; }
.ill-svg .pill { fill: var(--surface); stroke: var(--line-3); }
.ill-svg .ln { fill: none; stroke: var(--line-3); stroke-dasharray: 3 4; }
.ill-svg text { fill: var(--text-3); font: 500 8.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.ill-svg .pt { fill: var(--text); font: 600 9px var(--sans); letter-spacing: 0; text-transform: none; }

/* the four states, in order: each rule draws as the page reaches it (v5-site.js); without scripts all four are drawn */
.states li::before { width: 100%; transform-origin: 0 50%; transition: transform 800ms var(--ease); }
.states li > * { transition: opacity 500ms var(--ease); }
.v5-js .states li:not(.is-reached)::before { transform: scaleX(0.12); }
.v5-js .states li:not(.is-reached) .chip, .v5-js .states li:not(.is-reached) .model-num { opacity: 0.45; }

/* the close: the field returns behind the last call to action */
.section-close { isolation: isolate; overflow: clip; }
.section-close .field { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 900ms var(--ease); }
.section-close .field.is-in { opacity: 1; }
.section-close .close-card { background: rgba(20, 20, 22, 0.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* phones: the demo button stays in reach between the hero and the close */
.cta-bar { display: none; }
@media (max-width: 62em) {
  .cta-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom, 0px));
             background: rgba(10, 10, 11, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line-1);
             transform: translateY(110%); transition: transform 360ms var(--ease); }
  .cta-bar.is-on { transform: none; }
  .cta-bar .btn { width: 100%; }
}

/* the model: one clear way back from a close-up, for touch as well as keys */
.model-back { position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 0.6rem; height: 2.5rem; padding: 0 1rem;
              border-radius: 999px; border: 1px solid var(--line-2); background: rgba(20, 20, 22, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
              color: var(--text); font: 500 0.875rem/1 var(--sans); cursor: pointer; white-space: nowrap; transition: border-color var(--t-2) var(--ease), background-color var(--t-2) var(--ease); }
.model-back[hidden] { display: none; }
.model-back:hover { border-color: var(--line-3); background: var(--raised); }
.model-back kbd { font: 500 0.7rem/1 var(--mono); padding: 0.2rem 0.35rem; border-radius: 4px; border: 1px solid var(--line-2); color: var(--text-3); }
.model.is-focus .model-hint { opacity: 0 !important; }
@media (hover: none) { .model-back kbd { display: none; } }

/* ---------- fourth pass: softer, and the two plain sections ---------- */

/* arrivals take a little longer and travel a little less */
@media (prefers-reduced-motion: no-preference) {
  .v5-js [data-reveal] { transform: translateY(8px); transition: opacity 800ms var(--ease), transform 900ms var(--ease); }
}
.card, .close-card, .close-quiet, .cert-note, .ill { border-radius: 16px; }
.ill { border-radius: 12px; }

/* substance: the four figures as one ruled table, each figure large */
.grid-4 { gap: 0; border-top: 1px solid var(--line-2); }
.grid-4 .stat { padding: 1.75rem 1.5rem 1.75rem 0; border-top: 0; border-bottom: 1px solid var(--line-1); }
.grid-4 .stat .fig { font-size: clamp(2.8rem, 5vw, 4rem); display: block; }
@media (min-width: 68em) {
  .grid-4 .stat { padding-left: 1.5rem; border-left: 1px solid var(--line-1); border-bottom: 0; }
  .grid-4 .stat:first-child { padding-left: 0; border-left: 0; }
}
@media (min-width: 48em) and (max-width: 67.99em) { .grid-4 .stat:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line-1); } }

/* the architecture: the family as a small tree, Fed marked as where you are */
.family { margin-bottom: 2rem; display: grid; justify-items: center; }
.fam-root, .fam-node { display: inline-flex; align-items: center; height: 2.25rem; padding: 0 0.95rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
                       color: var(--text-2); font: 500 0.85rem/1 var(--sans); white-space: nowrap; }
.fam-root { color: var(--text); border-color: var(--line-3); }
.fam-row { position: relative; margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; width: min(44rem, 100%); justify-items: center; }
.fam-row::before { content: ""; position: absolute; left: 16.66%; right: 16.66%; top: -1.25rem; height: 1px; background: var(--line-3); transform-origin: 50% 50%; transition: transform 800ms var(--ease) 200ms; }
.fam-row::after { content: ""; position: absolute; left: 50%; top: -2.5rem; width: 1px; height: 1.25rem; background: var(--line-3); }
.fam-node { position: relative; }
.fam-node::before { content: ""; position: absolute; left: 50%; top: -1.25rem; width: 1px; height: 1.25rem; background: var(--line-3); }
.fam-node.is-here { color: var(--text); border-color: rgba(91, 155, 234, 0.55); background: rgba(91, 155, 234, 0.1); }
.v5-js .family:not(.is-in) .fam-row::before { transform: scaleX(0); }
@media (max-width: 40em) { .fam-root, .fam-node { font-size: 0.75rem; padding: 0 0.6rem; } .fam-row { gap: 0.4rem; } }

/* ---------- fifth pass ---------- */

/* no flash of the flat picture: where the model will run, the stage waits empty for it (v5-early.js gives the picture
   back if the model has not started in four seconds) */
.v5-gl .model-flat { visibility: hidden; }

/* a little more light on the table, so the soft shadows have something to fall on */
.model { background: radial-gradient(70% 62% at 58% 48%, #1c1c21 0%, #121215 46%, var(--canvas) 76%); }

/* what lights up with the part in hand */
.model-links { margin-top: 1.25rem; min-height: 5.5rem; align-content: flex-start; display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.model-links[hidden] { display: none; }
.model-links b { flex-basis: 100%; font: 500 0.68rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.2rem; }
.model-links span { display: inline-flex; align-items: center; min-height: 1.5rem; padding: 0.2rem 0.55rem; border-radius: 6px; border: 1px solid var(--line-1); background: rgba(255, 255, 255, 0.04);
                    color: var(--text-2); font-size: 0.78rem; line-height: 1.25; animation: linkIn 500ms var(--ease) both; }
.model-links span:nth-of-type(2) { animation-delay: 70ms; }
.model-links span:nth-of-type(3) { animation-delay: 140ms; }
@keyframes linkIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
/* the title and its line keep a fixed height (model.css), and the chips sit under the list: nothing above or in the
   list changes size, so a name never moves out from under the pointer */
@media (max-width: 62em) { .model-links { display: none; } }

/* ---------- sixth pass ---------- */

/* while the model loads: one quiet line where it will stand, gone the moment it is live */
.v5-gl .model:not(.is-live)::after { content: ""; position: absolute; left: calc(50% - 4rem); top: 50%; width: 8rem; height: 1px; border-radius: 1px;
  background: linear-gradient(90deg, transparent, var(--line-3) 40%, var(--text-2) 50%, var(--line-3) 60%, transparent); background-size: 300% 100%;
  animation: loadLine 1400ms var(--ease-sym) infinite; }
@keyframes loadLine { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .v5-gl .model:not(.is-live)::after { animation: none; } }

/* phones: the menu is a full sheet under the header; the page behind it holds still */
@media (max-width: 62em) {
  html.nav-open { overflow: hidden; }
  .nav-links { height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); overflow-y: auto; padding-top: 0.75rem; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
  .nav-links li { opacity: 0; transform: translateY(6px); transition: opacity 260ms var(--ease), transform 320ms var(--ease); }
  .nav-links.is-open li { opacity: 1; transform: none; }
  .nav-links.is-open li:nth-child(1) { transition-delay: 40ms; }
  .nav-links.is-open li:nth-child(2) { transition-delay: 70ms; }
  .nav-links.is-open li:nth-child(3) { transition-delay: 100ms; }
  .nav-links.is-open li:nth-child(4) { transition-delay: 130ms; }
  .nav-links.is-open li:nth-child(5) { transition-delay: 160ms; }
  .nav-links.is-open li:nth-child(6) { transition-delay: 190ms; }
  .nav-links.is-open li:nth-child(7) { transition-delay: 220ms; }
  .nav-links.is-open li:nth-child(8) { transition-delay: 250ms; }
  .nav-links a:not(.btn) { height: 3.4rem; font: 600 1.25rem/1 var(--display); letter-spacing: -0.02em; color: var(--text); }
  html.nav-open .cta-bar { transform: translateY(110%); }
}

/* phones: menu rules run the full width; the model's stage is no taller than it needs */
@media (max-width: 62em) {
  .nav-links a:not(.btn) { display: flex; width: 100%; }
  .model-home { height: min(78svh, 38rem); min-height: 30rem; }
}

/* the darkening behind the words is drawn by the model itself where it can be (so it is dithered with the shadows);
   the CSS version stays for phones, slow graphics and no WebGL */
.model.gl-scrim .model-words::before { display: none; }

/* ---------- copy pass, 22 Nov (the product session's deck) ---------- */
.hero-facts { max-width: 62rem; }
.hero-facts li { white-space: normal; max-width: 20rem; text-align: left; }
@media (min-width: 62em) { .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tl-reviewed { margin-top: 1.25rem; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }

/* ---------- final pass, from the scan ---------- */

/* no label under 12 px */
.kicker, .fig-src, .stat-kick, .tl-date, .tl-reviewed, .model-hint, .footer-col h2, .model-links b, .model-num { font-size: 0.75rem; }
.ill-trace span { font-size: 0.75rem; }

/* footer links: a full line of touch each */
.footer-col li + li { margin-top: 0; }
.footer-col li a:not(.btn) { display: inline-flex; align-items: center; min-height: 2.25rem; }

/* the model's view controls: always there, top right of the stage */
.model-tools { position: absolute; right: max(var(--gutter), (100% - var(--wrap)) / 2); top: clamp(1rem, 4vh, 2rem); display: flex; gap: 0.5rem; opacity: 0; transition: opacity 500ms var(--ease) 1200ms; }
.model.is-live .model-tools { opacity: 1; }
.model-tool, .model-reset.model-tool { height: 2.25rem; padding: 0 0.85rem; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(20, 20, 22, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
              color: var(--text); font: 500 0.8rem/1 var(--sans); letter-spacing: 0; text-transform: none; cursor: pointer; pointer-events: auto;
              transition: border-color var(--t-2) var(--ease), background-color var(--t-2) var(--ease); }
.model-tool:hover { border-color: var(--line-3); background: var(--raised); }
.model-tool[aria-pressed="true"] { background: var(--text); color: var(--text-inverse); border-color: transparent; }
.model-tool[hidden] { display: none; }
@media (max-width: 62em) { .model-tools { top: auto; bottom: 4.25rem; right: var(--gutter); } }

/* nav labels never break in two; the phone facts stay one line each */
.nav-links a { white-space: nowrap; }
@media (max-width: 40em) { .hero-facts .facts-more { display: none; } .hero-facts li { white-space: nowrap; } }

/* ---------- a long document: the RFI response ---------- */
.paper { padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem); }
.paper-head { max-width: 52rem; padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line-1); }
.paper-head .kicker a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: var(--line-3); }
.paper-head .kicker a:hover { color: var(--text); }
.paper-head h1 { margin-top: 1.1rem; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.035em; }
.paper-note { margin-top: 1.25rem; color: var(--text-2); font-size: 1.06rem; }
.paper-meta { margin-top: 2rem; display: grid; gap: 0.6rem; }
.paper-meta div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; align-items: baseline; }
.paper-meta dt { font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.paper-meta dd { margin: 0; color: var(--text); font-size: 0.97rem; }
.paper-cols { display: grid; gap: 2.5rem; margin-top: clamp(2rem, 4vw, 3.25rem); }
.paper-toc ol { margin-top: 0.9rem; display: grid; }
.paper-toc a { display: flex; align-items: center; min-height: 2.25rem; padding: 0.45rem 0 0.45rem 0.9rem; border-left: 1px solid var(--line-2); color: var(--text-2); font-size: 0.875rem; line-height: 1.3; text-decoration: none;
               transition: color var(--t-2) var(--ease), border-color var(--t-2) var(--ease); }
.paper-toc a:hover { color: var(--text); border-left-color: var(--text); }
.paper-body { max-width: 42rem; color: var(--text-2); font-size: 1.04rem; line-height: 1.7; }
.paper-body p + p, .paper-body ul + p, .paper-body p + ul { margin-top: 1.1rem; }
.paper-body h3 { margin: 3rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line-1); color: var(--text); font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.02em; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.paper-h { margin-top: 3.5rem; color: var(--text); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; letter-spacing: -0.03em; }
.paper-sub { margin-top: 0.6rem; color: var(--text-2); font-size: 1.1rem; }
.paper-sub + h3 { margin-top: 2.25rem; }
.paper-body ul { display: grid; gap: 0.7rem; }
.paper-body li { position: relative; padding-left: 1.4rem; }
.paper-body li::before { content: ""; position: absolute; left: 0.2rem; top: 0.78em; width: 0.5rem; height: 1px; background: var(--text-3); }
.paper-letter { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line-1); border-radius: var(--r-l, 14px); background: var(--surface); }
.paper-letter p:first-child { color: var(--text); }
@media (min-width: 62.01em) {
  .paper-cols { grid-template-columns: 16rem minmax(0, 1fr); gap: 0; }
  .paper-toc { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; padding-right: 2rem; max-height: calc(100vh - var(--header-h) - 4rem); overflow: auto; }
}

/* clickable pills: a pastel wash floods in from where the pointer entered, and drains when it leaves */
a.chip { position: relative; overflow: hidden; isolation: isolate; --tint: 168, 199, 250;
         transition: border-color 700ms var(--ease), color 700ms var(--ease); }
.eyebrow a.chip:nth-child(2) { --tint: 167, 232, 200; }
.eyebrow a.chip:nth-child(3) { --tint: 214, 188, 250; }
a.chip::before { content: ""; position: absolute; z-index: -1; left: var(--px, 50%); top: var(--py, 50%); width: 2px; height: 2px; margin: -1px; border-radius: 50%;
                 background: rgba(var(--tint), 0.2); box-shadow: 0 0 14px 10px rgba(var(--tint), 0.2); opacity: 0; transform: scale(1);
                 transition: transform 900ms cubic-bezier(0.2, 0, 0.13, 1), opacity 600ms var(--ease); }
a.chip:hover, a.chip:focus-visible { background: transparent; border-color: rgba(var(--tint), 0.5); color: rgb(var(--tint)); }
a.chip:hover::before, a.chip:focus-visible::before { opacity: 1; transform: scale(160); transition: transform 1100ms cubic-bezier(0.2, 0, 0.13, 1), opacity 300ms var(--ease); }
@media (prefers-reduced-motion: reduce) { a.chip::before { transition: opacity 200ms linear; transform: scale(160); } }

/* nav: one highlight that slides from link to link */
@media (min-width: 62.01em) {
  .nav-links { position: relative; }
  .nav-glide { position: absolute; left: 0; top: 50%; height: 2.1rem; margin-top: -1.05rem; width: 1px; border-radius: var(--r-s); background: rgba(255, 255, 255, 0.07); pointer-events: none; opacity: 0; transform-origin: 0 50%;
               transition: transform 420ms cubic-bezier(0.2, 0, 0.13, 1), width 420ms cubic-bezier(0.2, 0, 0.13, 1), opacity 260ms var(--ease); }
  .nav-glide.is-on { opacity: 1; }
  .nav-glide.is-placing { transition: opacity 260ms var(--ease); }
  .nav-links.has-glide a:not(.btn):hover { background: transparent; }
  .nav-links.has-glide li:not(.nav-glide) { position: relative; z-index: 1; }
}
@media (max-width: 62em) { .nav-glide { display: none; } }

/* the white button turns pearl under the pointer: soft pastels that drift, never loud */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::before { content: ""; position: absolute; z-index: -1; inset: -1px; opacity: 0;
  background: radial-gradient(120% 160% at var(--px, 50%) var(--py, 50%), rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 55%),
              linear-gradient(115deg, #ffd9e8 0%, #d9e6ff 26%, #d6fbe9 50%, #efe0ff 74%, #ffe9d6 100%);
  background-size: 100% 100%, 260% 100%; background-position: 0 0, 0% 0;
  transition: opacity 600ms var(--ease); }
.btn-primary:hover::before, .btn-primary:focus-visible::before { opacity: 1; animation: pearl 7s linear infinite alternate; }
@keyframes pearl { from { background-position: 0 0, 0% 0; } to { background-position: 0 0, 100% 0; } }
@media (prefers-reduced-motion: reduce) { .btn-primary:hover::before { animation: none; } }

/* ---------- the family, drawn as one diagram: the root, a bus, and a branch into each card ---------- */
.arch { --gap: 1rem; --here: 91, 155, 234; --drop: 2.75rem; display: grid; justify-items: center; }
.arch-root { position: relative; display: inline-flex; align-items: center; gap: 0.8rem; padding: 0.7rem 1.1rem 0.7rem 0.8rem; border: 1px solid var(--line-3); border-radius: var(--r-m); background: var(--surface);
             box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 40px -24px rgba(0, 0, 0, 0.8); }
.arch-root b { display: block; font: 600 0.98rem/1.2 var(--display); letter-spacing: -0.015em; color: var(--text); }
.arch-root small { display: block; margin-top: 0.2rem; font: 500 0.75rem/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.arch-mark { display: grid; grid-template-columns: repeat(2, 0.5rem); gap: 2px; padding: 0.4rem; border-radius: var(--r-s); background: var(--sunken); border: 1px solid var(--line-1); }
.arch-mark i { width: 0.5rem; height: 0.5rem; border-radius: 1.5px; background: var(--line-3); }
.arch-mark i:nth-child(3) { background: rgb(var(--here)); box-shadow: 0 0 8px rgba(var(--here), 0.7); }
.arch-tree { position: relative; width: 100%; height: var(--drop); }
/* the bus runs between the centres of the outer cards; its ends turn down into them */
.arch-bus, .arch-lit { position: absolute; top: 50%; bottom: 0; left: calc((100% - 2 * var(--gap)) / 6); right: calc((100% - 2 * var(--gap)) / 6); border: 1px solid var(--line-3); border-bottom: 0; border-radius: 12px 12px 0 0; }
.arch-bus::before, .arch-bus::after { content: ""; position: absolute; left: 50%; width: 1px; margin-left: -0.5px; background: var(--line-3); }
.arch-bus::before { bottom: 100%; height: 100%; }                   /* trunk, up to the root */
.arch-bus::after { top: 0; bottom: 0; }                             /* the middle branch */
/* each branch carries its product's colour: strongest at the card, fading into the grey line; the branch in use opens all the way to the root */
.arch-lit { border-color: transparent; --c: var(--here); filter: drop-shadow(0 0 5px rgba(var(--c), 0.5));
            -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
            transition: -webkit-mask-size 900ms cubic-bezier(0.2, 0, 0.13, 1), mask-size 900ms cubic-bezier(0.2, 0, 0.13, 1), opacity 500ms var(--ease); }
.arch-lit-1 { right: 50%; border-top-color: rgb(var(--c)); border-left-color: rgb(var(--c)); border-radius: 12px 0 0 0;
              -webkit-mask-image: linear-gradient(to right, #000 0 22%, transparent 62%); mask-image: linear-gradient(to right, #000 0 22%, transparent 62%); -webkit-mask-position: 0 0; mask-position: 0 0; }
.arch-lit-2 { --c: 45, 190, 170; left: 50%; right: auto; width: 0; border: 0; border-left: 1px solid rgb(var(--c)); margin-left: -0.5px; border-radius: 0;
              -webkit-mask-image: linear-gradient(to top, #000 0 25%, transparent 85%); mask-image: linear-gradient(to top, #000 0 25%, transparent 85%); -webkit-mask-position: 0 100%; mask-position: 0 100%; }
.arch-lit-3 { --c: 139, 150, 255; left: 50%; border-top-color: rgb(var(--c)); border-right-color: rgb(var(--c)); border-radius: 0 12px 0 0;
              -webkit-mask-image: linear-gradient(to left, #000 0 22%, transparent 62%); mask-image: linear-gradient(to left, #000 0 22%, transparent 62%); -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.arch-trunk { position: absolute; left: 50%; top: 0; height: 50%; width: 1px; margin-left: -0.5px; --c: var(--here); background: rgb(var(--c)); box-shadow: 0 0 6px rgba(var(--c), 0.6); opacity: 0; transition: opacity 600ms var(--ease), background-color 600ms var(--ease); }
/* which branch is in use: the hovered card, otherwise the page you are on */
.arch:not(:has(.arch-card:hover, .arch-card:focus-within)) .arch-lit-1,
.arch:has(.arch-card:nth-child(1):hover) .arch-lit-1, .arch:has(.arch-card:nth-child(1):focus-within) .arch-lit-1,
.arch:has(.arch-card:nth-child(3):hover) .arch-lit-3, .arch:has(.arch-card:nth-child(3):focus-within) .arch-lit-3 { -webkit-mask-size: 500% 100%; mask-size: 500% 100%; }
.arch:has(.arch-card:nth-child(2):hover) .arch-lit-2, .arch:has(.arch-card:nth-child(2):focus-within) .arch-lit-2 { -webkit-mask-size: 100% 500%; mask-size: 100% 500%; }
.arch.is-in .arch-trunk { opacity: 1; }
.arch:has(.arch-card:nth-child(2):hover) .arch-trunk, .arch:has(.arch-card:nth-child(2):focus-within) .arch-trunk { --c: 45, 190, 170; }
.arch:has(.arch-card:nth-child(3):hover) .arch-trunk, .arch:has(.arch-card:nth-child(3):focus-within) .arch-trunk { --c: 139, 150, 255; }
.arch-cols { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.arch-card { position: relative; transition: border-color 500ms var(--ease), background-color 500ms var(--ease); }
.arch-card::before { content: ""; position: absolute; left: 50%; top: -4px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-3); transition: border-color 500ms var(--ease), background-color 500ms var(--ease), box-shadow 500ms var(--ease); }
.arch-card.is-here { border-color: rgba(var(--here), 0.32); }
.arch-card:hover, .arch-card:focus-within { border-color: rgba(var(--here), 0.45); }
.arch-card.is-here::before, .arch-card:hover::before, .arch-card:focus-within::before { background: rgb(var(--here)); border-color: rgb(var(--here)); box-shadow: 0 0 0 3px rgba(var(--here), 0.18); }
.arch:has(.arch-card:not(.is-here):hover) .arch-card.is-here:not(:hover)::before { background: var(--bg); border-color: var(--line-3); box-shadow: none; }
.arch-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.arch-head b { font: 600 1.05rem/1.2 var(--display); letter-spacing: -0.02em; color: var(--text); }
.chip-here { border-color: rgba(var(--here), 0.45); color: rgb(188, 214, 250); background: rgba(var(--here), 0.1); }
.arch-out { font: 500 0.75rem/1 var(--mono); letter-spacing: 0.04em; color: var(--text-3); text-decoration: none; white-space: nowrap; transition: color var(--t-2) var(--ease); }
.arch-out span { display: inline-block; transition: transform var(--t-2) var(--ease); }
.arch-out:hover { color: var(--text); } .arch-out:hover span { transform: translateX(3px); }
.arch-scope { margin: 0.55rem 0 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-1); font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
/* drawn on arrival: the trunk drops, the bus opens from the middle, then the cards */
.v5-js .arch .arch-tree { clip-path: inset(0 0 0 0); transition: clip-path 1100ms cubic-bezier(0.2, 0, 0.13, 1) 250ms; }
.v5-js .arch:not(.is-in) .arch-tree { clip-path: inset(0 50% 100% 50%); }
.v5-js .arch .arch-card { transition: opacity 700ms var(--ease), transform 700ms var(--ease), border-color 500ms var(--ease); transition-delay: calc(700ms + var(--k, 0) * 110ms), calc(700ms + var(--k, 0) * 110ms), 0s; }
.v5-js .arch:not(.is-in) .arch-card { opacity: 0; transform: translateY(10px); }
.arch-card:nth-child(2) { --k: 1; } .arch-card:nth-child(3) { --k: 2; }
@media (max-width: 62em) {
  .arch { --drop: 1.75rem; }
  .arch-cols { grid-template-columns: 1fr; gap: 1.75rem; }
  .arch-bus, .arch-lit { left: 50%; right: auto; width: 0; border: 0; border-left: 1px solid var(--line-3); top: 0; margin-left: -0.5px; border-radius: 0; }
  .arch-bus::before, .arch-bus::after, .arch-lit::before, .arch-lit-2, .arch-lit-3 { display: none; }
  .arch-lit-1 { border-left-color: rgb(var(--here)); opacity: 1 !important; }
  .arch-card + .arch-card::after { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 1.75rem; margin-left: -0.5px; background: var(--line-3); }
}
@media (prefers-reduced-motion: reduce) { .v5-js .arch .arch-tree, .v5-js .arch .arch-card { transition: none; } }
.arch-card:has(.arch-out) { padding-bottom: 3.5rem; }
.arch-out { position: absolute; left: var(--card-pad, 1.75rem); bottom: 1.4rem; }

/* the closing title gives off light: a tight bloom on the letters and a wide, faint pearl haze behind them */
.section-close .section-head h2 { position: relative; isolation: isolate; text-shadow: 0 0 1px rgba(255, 255, 255, 0.35), 0 0 18px rgba(255, 255, 255, 0.22), 0 0 46px rgba(255, 255, 255, 0.12); }
.section-close .section-head h2::before { content: ""; position: absolute; z-index: -1; inset: -70% -12% -70% -12%; pointer-events: none;
  background: radial-gradient(50% 50% at 30% 50%, rgba(214, 226, 255, 0.10), transparent 70%), radial-gradient(45% 50% at 68% 50%, rgba(255, 226, 240, 0.07), transparent 70%);
  filter: blur(18px); opacity: 0; transition: opacity 1400ms var(--ease) 300ms; }
.section-close .section-head.is-in h2::before, html:not(.v5-js) .section-close .section-head h2::before { opacity: 1; }

/* product marks and colours in the family diagram */
.arch-card { --c: var(--here); }
.arch-card:nth-child(2) { --c: 45, 190, 170; } .arch-card:nth-child(3) { --c: 139, 150, 255; }
.arch-card, .arch-card.is-here { border-color: var(--line-1); background-image: linear-gradient(180deg, rgba(var(--c), 0.07), rgba(var(--c), 0) 5.5rem); }
.arch-card.is-here { border-color: rgba(var(--c), 0.3); }
.arch-card:hover, .arch-card:focus-within { border-color: rgba(var(--c), 0.45); }
.arch-card::before, .arch-card.is-here::before { background: rgb(var(--c)); border-color: rgb(var(--c)); box-shadow: 0 0 0 3px rgba(var(--c), 0.16); }
.arch:has(.arch-card:not(.is-here):hover) .arch-card.is-here:not(:hover)::before { background: rgb(var(--c)); border-color: rgb(var(--c)); box-shadow: 0 0 0 3px rgba(var(--c), 0.16); }
.arch-head { justify-content: flex-start; }
.arch-head .chip { margin-left: auto; }
.arch-logo { flex: none; width: 1.75rem; height: 1.75rem; border-radius: 7px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 6px 16px -6px rgba(var(--c), 0.7); }
.arch-root .arch-logo { width: 2.1rem; height: 2.1rem; border-radius: 8px; --c: 60, 110, 170; }
.arch-out:hover { color: rgb(var(--c)); }
/* soft glows drawn by the browser are 8-bit and can show steps on a sensitive screen: a layer of one-level noise at true device pixels breaks them up */
.section-close .section-head h2::after { content: ""; position: absolute; z-index: 1; inset: -70% -12%; pointer-events: none; background: url(/noise.png) 0 0 / var(--noise-px, 256px) var(--noise-px, 256px); image-rendering: pixelated; }
/* the noise layer has no edge: it fades out well inside its own box */
.section-close .section-head h2::after { -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%); mask-image: radial-gradient(closest-side, #000 35%, transparent 100%); }
/* the root's mark takes the colour of the product in use, and gives a little of it off */
.arch { --rc: 30, 76, 128; }
.arch:has(.arch-card:nth-child(1):hover), .arch:has(.arch-card:nth-child(1):focus-within) { --rc: 43, 113, 196; }
.arch:has(.arch-card:nth-child(2):hover), .arch:has(.arch-card:nth-child(2):focus-within) { --rc: 18, 137, 127; }
.arch:has(.arch-card:nth-child(3):hover), .arch:has(.arch-card:nth-child(3):focus-within) { --rc: 72, 82, 190; }
.arch-root .arch-logo rect:first-child { fill: rgb(var(--rc)); transition: fill 900ms cubic-bezier(0.2, 0, 0.13, 1); }
.arch-root .arch-logo { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 0 0 0 rgba(var(--rc), 0), 0 6px 18px -6px rgba(var(--rc), 0.8); transition: box-shadow 900ms cubic-bezier(0.2, 0, 0.13, 1); }
.arch:has(.arch-card:hover) .arch-root .arch-logo, .arch:has(.arch-card:focus-within) .arch-root .arch-logo { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset, 0 0 0 4px rgba(var(--rc), 0.16), 0 0 26px 2px rgba(var(--rc), 0.75); }
.arch-root { transition: border-color 900ms cubic-bezier(0.2, 0, 0.13, 1), background-color 900ms cubic-bezier(0.2, 0, 0.13, 1); background-image: radial-gradient(120% 140% at 0% 50%, rgba(var(--rc), 0.16), rgba(var(--rc), 0) 60%); }
.arch:has(.arch-card:hover) .arch-root, .arch:has(.arch-card:focus-within) .arch-root { border-color: rgba(var(--rc), 0.6); }
.arch-card:hover::before, .arch-card:focus-within::before { background: rgb(var(--c)); border-color: rgb(var(--c)); box-shadow: 0 0 0 4px rgba(var(--c), 0.22); }

/* ---------- footer, second version ---------- */
.site-footer { position: relative; overflow: clip; isolation: isolate; padding: clamp(3rem, 6vw, 5rem) 0 0; background: #070708; }
.site-footer::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-3) 20%, var(--line-3) 80%, transparent); }
.site-footer::after { content: ""; position: absolute; z-index: -1; left: 50%; top: -14rem; width: min(70rem, 120%); height: 22rem; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(91, 155, 234, 0.07), transparent 70%); pointer-events: none; }
.ft-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: center; padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line-1); }
.ft-mark { display: inline-flex; align-items: center; gap: 0.85rem; text-decoration: none; color: var(--text); font: 600 clamp(1.5rem, 2.6vw, 2rem)/1 var(--display); letter-spacing: -0.035em; }
.ft-mark b { font-weight: 600; color: #5b9bea; }
.ft-mark .ft-logo { width: 2.5rem; height: 2.5rem; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 10px 26px -8px rgba(43, 113, 196, 0.8); transition: transform 600ms cubic-bezier(0.2, 0, 0.13, 1), box-shadow 600ms var(--ease); }
.ft-mark:hover .ft-logo { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 14px 32px -8px rgba(43, 113, 196, 1); }
.ft-brand p { margin-top: 1rem; max-width: 26rem; color: var(--text-2); font-size: 0.97rem; }
.ft-talk { display: flex; align-items: center; gap: 1.5rem; padding: 1.1rem 1.1rem 1.1rem 1.4rem; border: 1px solid var(--line-2); border-radius: var(--r-l); background: rgba(255, 255, 255, 0.025); }
.ft-talk h2 { font: 600 1.05rem/1.2 var(--display); letter-spacing: -0.02em; color: var(--text); }
.ft-talk p { margin-top: 0.25rem; max-width: 17rem; color: var(--text-2); font-size: 0.88rem; line-height: 1.45; }
.ft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.7fr); gap: 2.5rem; padding: clamp(2rem, 4vw, 3rem) 0; }
.footer-col li a:not(.btn) { position: relative; }
.footer-col:not(.ft-family) li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.45rem; height: 1px; background: var(--text); transform: scaleX(0); transform-origin: 0 50%; transition: transform 500ms cubic-bezier(0.2, 0, 0.13, 1); }
.footer-col:not(.ft-family) li a:hover::after, .footer-col:not(.ft-family) li a:focus-visible::after { transform: scaleX(1); }
.ft-family ul { display: grid; gap: 0.5rem; }
.ft-family li a:not(.btn) { display: flex; align-items: center; gap: 0.8rem; min-height: 3.25rem; padding: 0.5rem 0.7rem; margin-inline: -0.7rem; border: 1px solid transparent; border-radius: var(--r-m);
                            transition: background-color 500ms var(--ease), border-color 500ms var(--ease); }
.ft-family li a:hover, .ft-family li a:focus-visible { background: rgba(var(--c), 0.07); border-color: rgba(var(--c), 0.35); }
.ft-family .ft-logo { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 7px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset; transition: box-shadow 500ms var(--ease); }
.ft-family li a:hover .ft-logo { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset, 0 0 20px rgba(var(--c), 0.7); }
.ft-family b { display: block; font: 600 0.92rem/1.2 var(--sans); color: var(--text); }
.ft-family small { display: block; margin-top: 0.2rem; font: 500 0.75rem/1.2 var(--mono); letter-spacing: 0.04em; color: var(--text-3); }
.ft-family li a::before { content: "\2197"; order: 3; margin-left: auto; color: var(--text-3); font-size: 0.9rem; opacity: 0; transform: translate(-3px, 3px); transition: opacity 400ms var(--ease), transform 500ms cubic-bezier(0.2, 0, 0.13, 1), color 400ms var(--ease); }
.ft-family li a:hover::before, .ft-family li a:focus-visible::before { opacity: 1; transform: none; color: rgb(var(--c)); }
.site-footer .cert-note { position: relative; margin: 0; padding: 0.95rem 1.1rem 0.95rem 2.6rem; border: 1px solid var(--line-1); border-radius: var(--r-m); background: rgba(255, 255, 255, 0.02); color: var(--text-2); font-size: 0.88rem; }
.site-footer .cert-note::before { content: ""; position: absolute; left: 1.1rem; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--text-2); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.07); }
.footer-legal { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.footer-legal > div { display: grid; gap: 0.35rem; }
.ft-up { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.25rem; padding: 0 0.85rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2); font-size: 0.82rem; text-decoration: none; transition: color var(--t-3) var(--ease), border-color var(--t-3) var(--ease); }
.ft-up span { transition: transform 500ms cubic-bezier(0.2, 0, 0.13, 1); }
.ft-up:hover { color: var(--text); border-color: var(--line-3); } .ft-up:hover span { transform: translateY(-3px); }
/* the name, very large and very quiet, sinking below the edge of the page */
.ft-word { margin: clamp(1.5rem, 4vw, 3rem) 0 0; text-align: center; white-space: nowrap; font: 700 clamp(3rem, 12.6vw, 13rem)/0.78 var(--display); letter-spacing: 0.015em; user-select: none; pointer-events: none;
           color: transparent; background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0) 82%); -webkit-background-clip: text; background-clip: text; margin-bottom: -0.16em; }
@media (max-width: 62em) {
  .ft-top { grid-template-columns: 1fr; }
  .ft-talk { flex-direction: column; align-items: flex-start; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-family { grid-column: 1 / -1; }
}
.has-cta-bar .site-footer, .site-footer { padding-bottom: 0; }
@media (max-width: 40em) { .ft-word { padding-bottom: 4.5rem; } }

/* the title's glow belongs to the words, however short the title is */
.section-close .section-head h2 { width: fit-content; max-width: 100%; }
.section-close .section-head h2::before { inset: -80% -3.5rem; }
.section-close .section-head h2::after { inset: -80% -3.5rem; }
/* legal pages: the same long-document layout, and facts still owed are marked so the draft cannot pass for final */
.tbd { padding: 0.05em 0.4em; border-radius: 4px; border: 1px dashed rgba(212, 167, 44, 0.6); background: rgba(212, 167, 44, 0.12); color: var(--warn); font: 500 0.78em/1.4 var(--mono); letter-spacing: 0.04em; white-space: nowrap; }
.paper-legal .paper-body h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.paper-legal .paper-body ul { margin-top: 1.1rem; }
.paper-legal .paper-cols:has(.paper-toc ol:empty) { grid-template-columns: 1fr; }
.paper-legal .paper-toc:has(ol:empty) { display: none; }
.paper-head .paper-note .tbd, .paper-body .tbd { white-space: normal; }

/* launch, the quiet version: one line under the buttons */
.launch-line { margin: 1.75rem auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.4rem 0.9rem; font-size: 0.92rem; color: var(--text-2); }
.launch-line i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(63, 185, 80, 0.14), 0 0 12px rgba(63, 185, 80, 0.6); }
.launch-line b { font-weight: 600; color: var(--text); }
.launch-line span { padding-left: 0.9rem; border-left: 1px solid var(--line-2); }
.launch-line a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 0.2em; }
.launch-line a:hover { color: var(--text); }
@media (max-width: 40em) { .launch-line span { padding-left: 0; border-left: 0; flex-basis: 100%; text-align: center; } }

/* contents rails (briefings, legal pages, the RFI response): the link for the section being read is lit */
.paper-toc a { transition: color 400ms var(--ease), border-color 400ms var(--ease), padding-left 500ms cubic-bezier(0.2, 0, 0.13, 1); }
.paper-toc a.is-here { color: var(--text); border-left-color: var(--text); padding-left: 1.15rem; }

/* phone model: the chip row never moves when the words above it change (its height is reserved), and since the model
   now sits below the words there is nothing to darken behind them, so the blurred plate and its hard lower edge go */
@media (max-width: 62em) {
  .model-title { min-height: 2.3em; }
  .model-line { min-height: 3.3em; }
  .model-words::before { display: none; }
}
@media (max-width: 62em) {
  .model-gl { -webkit-mask-image: linear-gradient(180deg, transparent calc(var(--words-end, 17rem) - 10px), #000 calc(var(--words-end, 17rem) + 26px)); mask-image: linear-gradient(180deg, transparent calc(var(--words-end, 17rem) - 10px), #000 calc(var(--words-end, 17rem) + 26px)); }
}

/* the model's parts list (wide screens): each part is a numbered key; the one in use is a lit plate */
@media (min-width: 62.01em) {
  .model-list { counter-reset: part; gap: 3px; margin-top: 1.4rem; }
  .model-list button { counter-increment: part; height: 2.3rem; padding: 0 2.2rem 0 2.75rem; border: 1px solid transparent; border-radius: var(--r-m); color: var(--text-2); font-size: 0.9rem; font-weight: 500;
                       transition: color 400ms var(--ease), background-color 400ms var(--ease), border-color 400ms var(--ease), box-shadow 500ms var(--ease); }
  .model-list button::before { content: counter(part, decimal-leading-zero); left: 0.45rem; top: 50%; width: 1.75rem; height: 1.45rem; margin-top: -0.725rem; display: grid; place-items: center; border-radius: 5px;
                               border: 1px solid var(--line-2); background: var(--sunken, #0d0d0f); color: var(--text-3); font: 500 0.68rem/1 var(--mono); letter-spacing: 0.06em;
                               transition: background-color 400ms var(--ease), color 400ms var(--ease), border-color 400ms var(--ease); }
  .model-list button::after { content: ""; position: absolute; right: 0.85rem; top: 50%; width: 0.42rem; height: 0.42rem; margin-top: -0.24rem; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: translateX(-5px) rotate(45deg); opacity: 0;
                              transition: opacity 400ms var(--ease), transform 500ms cubic-bezier(0.2, 0, 0.13, 1); }
  .model-list button:hover, .model-list button.is-on { color: var(--text); background: rgba(255, 255, 255, 0.045); border-color: var(--line-1); }
  .model-list button:hover::before, .model-list button.is-on::before { height: 1.45rem; margin-top: -0.725rem; background: var(--raised); border-color: var(--line-3); color: var(--text); }
  .model-list button:hover::after, .model-list button.is-on::after { opacity: 0.7; transform: rotate(45deg); }
  .model-list button[aria-pressed="true"] { color: var(--text); background: var(--raised); border-color: var(--line-3); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 14px 28px -18px rgba(0, 0, 0, 0.9); }
  .model-list button[aria-pressed="true"]::before { background: var(--text); border-color: transparent; color: var(--text-inverse); height: 1.45rem; margin-top: -0.725rem; }
  .model-list button[aria-pressed="true"]::after { opacity: 1; transform: rotate(45deg); }
  .model-list button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
}

/* audit pass: headings in order on the legal pages, nothing under 12 px outside drawings, full-size touch targets */
.paper-body h2.ph { margin: 3rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line-1); color: var(--text); font: 600 1.3rem/1.2 var(--display); letter-spacing: -0.02em; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.paper-legal .paper-body h2.ph:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.site-header .brand { min-height: 2.75rem; display: inline-flex; align-items: center; }
@media (max-width: 62em) { .arch-out { min-height: 2.25rem; display: inline-flex; align-items: center; bottom: 0.8rem; } }
