/* Commercial Cabinets: drawing-set visual language.
   Palette from the logo: ink #03033B, amber #EA9546. Paper and line tones derived. */

@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-var.woff2") format("woff2"); font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("/assets/fonts/plexsans-var.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("/assets/fonts/plexsans-italic-var.woff2") format("woff2"); font-weight: 100 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/plexmono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #03033B;
  --ink-2: #16165a;
  --ink-soft: #2a2a63;
  --amber: #EA9546;
  --amber-deep: #9A5210;
  --paper: #F6F1E8;
  --paper-2: #EDE5D6;
  --paper-3: #E3D9C6;
  --white: #FFFDF9;
  --line: #CDC3AF;
  --line-ink: rgba(3, 3, 59, .16);
  --text: #15153f;
  --muted: #4A4A68;
  --on-ink: #F6F1E8;
  --on-ink-muted: #C9C6DA;
  --ok: #1f6b45;
  --err: #a32121;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --sans: "Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1240px;
  --gut: clamp(1.1rem, 4vw, 2.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 3px;
  --mast-h: 76px;
  --dock-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--mast-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.65 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; top: 0 !important; position: static !important; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: var(--amber); }
a:hover { color: var(--amber-deep); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .4em; }
strong { font-weight: 600; }
h1, h2, h3, h4 { font-family: var(--display); font-stretch: 82%; color: var(--ink); line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.005em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 760; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.6rem); font-weight: 720; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 680; font-stretch: 90%; line-height: 1.2; }
p, li { text-wrap: pretty; }
.mono { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.55; color: var(--muted); max-width: 40em; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--ink); color: var(--on-ink); padding: .7rem 1rem; }
.skip:focus { top: 1rem; }
main:focus { outline: none; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .75rem 1.35rem; border-radius: var(--radius); border: 2px solid transparent; font: 600 .98rem/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: #f2a764; color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--ink:hover { background: var(--ink-2); color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--on-ink); }
.btn--line-light { border-color: var(--on-ink-muted); color: var(--on-ink); background: transparent; }
.btn--line-light:hover { background: var(--on-ink); color: var(--ink); }
.btn--block { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; color: var(--ink); border-bottom: 2px solid var(--amber); padding-bottom: 2px; }
.link-arrow::after { content: ""; width: .9em; height: .6em; background: currentColor; clip-path: polygon(0 40%, 70% 40%, 70% 0, 100% 50%, 70% 100%, 70% 60%, 0 60%); transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* Masthead */
.mast { position: sticky; top: 0; z-index: 60; background: rgba(246, 241, 232, .94); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.mast.is-scrolled { box-shadow: 0 6px 24px -18px rgba(3, 3, 59, .5); }
.mast__inner { width: min(100% - 2 * var(--gut), 1400px); margin-inline: auto; height: var(--mast-h); display: flex; align-items: center; gap: 1.2rem; }
.mast__logo { flex: 0 0 auto; display: block; }
.mast__logo img { width: clamp(190px, 19vw, 270px); height: auto; }
.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav__item { margin: 0; position: static; }
.nav__link { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding: .4rem .8rem; font: 500 .96rem/1 var(--sans); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; position: relative; }
.nav__link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 6px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__link:hover { color: var(--ink); }
.nav__trigger svg { width: 11px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s; }
.nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.mast__cta { min-height: 44px; padding: .6rem 1.1rem; font-size: .93rem; }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); border-bottom: 3px solid var(--ink); box-shadow: 0 30px 50px -30px rgba(3, 3, 59, .45); opacity: 0; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.mega.is-open { opacity: 1; transform: none; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 22px; } /* invisible hover bridge over the trigger gap */
.mega__inner { width: min(100% - 2 * var(--gut), 1400px); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr minmax(260px, .8fr); gap: 2.4rem; padding: 2rem 0 2.2rem; }
.mega__group { color: var(--amber-deep); margin: 0 0 .8rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.mega__col ul { list-style: none; margin: 0; padding: 0; }
.mega__col li { margin: 0; }
.mega__col a { display: grid; grid-template-columns: 3.4rem 1fr; column-gap: .6rem; padding: .8rem .6rem; text-decoration: none; color: var(--ink); border-radius: var(--radius); transition: background .15s; }
.mega__col a:hover, .mega__col a:focus-visible, .mega__col a[aria-current="page"] { background: var(--paper); }
.mega__col .mono { grid-row: span 2; padding-top: .2rem; color: var(--muted); }
.mega__col strong { font: 650 1.06rem/1.25 var(--display); font-stretch: 90%; }
.mega__col small { color: var(--muted); font-size: .88rem; line-height: 1.45; margin-top: .2rem; }
.mega__feature { background: var(--paper); padding: 1rem; border-left: 3px solid var(--amber); }
.mega__feature img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: .9rem; }
.mega__feature p { font-size: .93rem; margin-bottom: .7rem; }

/* Translate control, styled to the site. Google's own UI is suppressed below. */
.lang { position: relative; display: flex; align-items: center; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.lang__icon { position: absolute; left: .55rem; width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 1.5; pointer-events: none; }
.lang select { appearance: none; -webkit-appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2303033B' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right .55rem center / 10px 7px; font: 500 .88rem var(--sans); color: var(--ink); height: 100%; padding: 0 1.7rem 0 2rem; cursor: pointer; max-width: 9.5rem; border-radius: var(--radius); }
.lang select:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.goog-te-banner-frame, .skiptranslate > iframe, iframe.skiptranslate, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip, .goog-te-spinner-pos, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-yAWNEb-L7lbkb { display: none !important; visibility: hidden !important; }
#google_translate_element, .goog-te-gadget { display: none !important; }
.goog-text-highlight, font[style*="background-color"] { background: none !important; box-shadow: none !important; }
html.translated-ltr body, html.translated-rtl body { top: 0 !important; }
html.translated-ltr .nav__link, html.translated-rtl .nav__link { white-space: nowrap; }
html[class*="translated"] h1, html[class*="translated"] h2 { hyphens: auto; overflow-wrap: anywhere; }

/* Menu button + drawer (tablet and phone) */
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; }
.menu-btn__bars::after { top: 6px; }
.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(3, 3, 59, .45); display: flex; align-items: flex-end; }
.drawer[hidden] { display: none; }
.drawer__sheet { width: 100%; max-height: 88vh; overflow: auto; background: var(--paper); border-radius: 14px 14px 0 0; padding: 1rem var(--gut) calc(1.2rem + env(safe-area-inset-bottom)); animation: sheet-up .28s var(--ease); }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: .6rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.drawer__close { width: 48px; height: 48px; font-size: 1.9rem; line-height: 1; background: none; border: 0; color: var(--ink); cursor: pointer; }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list li { margin: 0; border-bottom: 1px solid var(--line); }
.drawer__list a { display: flex; gap: .9rem; align-items: baseline; padding: .95rem .2rem; text-decoration: none; font: 650 1.15rem/1.2 var(--display); font-stretch: 88%; color: var(--ink); }
.drawer__list a[aria-current="page"] { color: var(--amber-deep); }
.drawer__list .mono { color: var(--muted); min-width: 2.8rem; }
.drawer__minor { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding: 1rem .2rem 1.2rem; margin: 0; }
.drawer__minor a { display: inline-block; padding: .5rem 0; }

/* Dimension rule: drafting-style divider with end ticks and a centered label */
.dim { display: flex; align-items: center; gap: .9rem; color: var(--muted); margin: 0 0 1.4rem; }
.dim::before, .dim::after { content: ""; flex: 1; height: 9px; border-top: 1px solid currentColor; opacity: .55; margin-top: 8px; }
.dim::before { border-left: 1px solid currentColor; }
.dim::after { border-right: 1px solid currentColor; }
.dim--light { color: var(--on-ink-muted); }

/* Section heading block (centered) */
.sec-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3.2rem); }
.sec-head .lede { margin-inline: auto; }
.kicker { display: inline-block; color: var(--amber-deep); margin-bottom: .8rem; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink h2, .section--ink h3 { color: var(--on-ink); }
.section--ink .lede { color: var(--on-ink-muted); }
.section--ink .kicker { color: var(--amber); }
.section--ink a:not(.btn) { color: var(--on-ink); }

/* HOME: hero sheet */
.hero { position: relative; padding: clamp(2rem, 5vw, 3.6rem) 0 0; overflow: hidden; }
.hero__grid { width: min(100% - 2 * var(--gut), 1400px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end; }
.hero__copy { padding-bottom: clamp(2rem, 5vw, 4rem); }
.hero__copy h1 { font-size: clamp(2.5rem, 5.6vw, 4.9rem); font-stretch: 76%; letter-spacing: -.01em; margin-bottom: .35em; }
.hero__copy h1 em { font-style: normal; color: var(--amber-deep); }
.hero__copy .lede { margin-bottom: 1.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__meta { display: flex; gap: 1.4rem; margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--muted); flex-wrap: wrap; }
.hero__figure { position: relative; margin: 0; }
.hero__figure picture img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.hero__figure figcaption { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--on-ink-muted); padding: .55rem .9rem; font-size: .8rem; }
.hotspot { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.hotspot__btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--white); background: var(--amber); color: var(--ink); font: 600 .9rem var(--mono); cursor: pointer; box-shadow: 0 0 0 0 rgba(234, 149, 70, .6); animation: ping 2.6s infinite; display: grid; place-items: center; }
.hotspot__btn[aria-expanded="true"] { background: var(--ink); color: var(--on-ink); animation: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(234, 149, 70, .55); } 70% { box-shadow: 0 0 0 14px rgba(234, 149, 70, 0); } 100% { box-shadow: 0 0 0 0 rgba(234, 149, 70, 0); } }
.hotspot__tip { position: absolute; width: min(270px, 70vw); left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%); background: var(--white); color: var(--text); padding: .85rem 1rem; border-top: 3px solid var(--amber); box-shadow: 0 18px 40px -16px rgba(3, 3, 59, .5); font-size: .9rem; line-height: 1.45; }
.hotspot__tip strong { display: block; font: 650 1rem/1.2 var(--display); color: var(--ink); margin-bottom: .25rem; }
.hotspot__tip[hidden] { display: none; }
.hotspot--low .hotspot__tip { bottom: auto; top: calc(100% + 12px); }
.hotspot--left .hotspot__tip { left: auto; right: -20px; transform: none; }

/* HOME: sheet index */
.index { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); counter-reset: none; }
.index li { margin: 0; border-bottom: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: 5.5rem minmax(0, 1.1fr) minmax(0, 1.4fr) 2.5rem; gap: 1.5rem; align-items: center; padding: 1.35rem .5rem; text-decoration: none; color: var(--text); position: relative; transition: background .2s, padding .25s var(--ease); }
.index a:hover, .index a:focus-visible { background: var(--white); padding-left: 1.1rem; }
.index .mono { color: var(--amber-deep); font-size: .82rem; }
.index h3 { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-stretch: 80%; }
.index p { margin: 0; color: var(--muted); font-size: .98rem; }
.index__go { width: 2.5rem; height: 2.5rem; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; transition: background .2s, color .2s; }
.index__go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.index a:hover .index__go { background: var(--ink); color: var(--on-ink); }
.index__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.index__intro { position: sticky; top: calc(var(--mast-h) + 2rem); }
.index__intro h2 { font-stretch: 78%; }

/* Sector explorer */
.explorer { display: grid; grid-template-columns: minmax(200px, 270px) minmax(0, 1fr); gap: 0; background: var(--white); border: 1px solid var(--line); }
.explorer__tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--paper); }
.explorer__tab { text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 1.1rem 1.2rem; font: 600 1.02rem/1.25 var(--sans); color: var(--ink); cursor: pointer; display: flex; gap: .8rem; align-items: baseline; min-height: 56px; position: relative; transition: background .2s; }
.explorer__tab .mono { color: var(--muted); font-size: .7rem; }
.explorer__tab:hover { background: var(--paper-2); }
.explorer__tab[aria-selected="true"] { background: var(--white); }
.explorer__tab[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--amber); }
.explorer__tab[aria-selected="true"]::after { content: ""; position: absolute; right: -1px; top: 0; bottom: 0; width: 1px; background: var(--white); }
.explorer__panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 460px; }
.explorer__panel[hidden] { display: none; }
.explorer__img img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.explorer__body { padding: clamp(1.4rem, 3vw, 2.4rem); display: flex; flex-direction: column; }
.explorer__body h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-stretch: 80%; }
.explorer__body dl { margin: .4rem 0 1.4rem; display: grid; gap: .7rem; }
.explorer__body dt { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--amber-deep); }
.explorer__body dd { margin: 0; font-size: .97rem; line-height: 1.5; }
.explorer__body .link-arrow { margin-top: auto; align-self: flex-start; }
.explorer__noimg { background: var(--ink); color: var(--on-ink); display: flex; align-items: flex-end; padding: 1.6rem; position: relative; overflow: hidden; }
.explorer__noimg svg { position: absolute; inset: 0; width: 100%; height: 100%; stroke: rgba(246, 241, 232, .25); fill: none; stroke-width: 1; }
.explorer__noimg p { position: relative; margin: 0; font: 650 1.4rem/1.2 var(--display); font-stretch: 80%; max-width: 14em; }

/* Material strip on the home page */
.matstrip { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.matstrip figure { margin: 0; position: relative; }
.matstrip figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.matstrip__tags { position: absolute; inset: auto 0 0 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.matstrip__tags span { background: rgba(3, 3, 59, .88); color: var(--on-ink); padding: .55rem .7rem; font-size: .7rem; text-align: center; border-right: 1px solid rgba(246, 241, 232, .2); }
.matrows { border-top: 2px solid var(--ink); margin: 0 0 1.6rem; }
.matrows div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.matrows dt { font: 650 1.05rem/1.3 var(--display); font-stretch: 85%; color: var(--ink); }
.matrows dd { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.5; }

/* Checklist with progress */
.check { background: var(--white); border: 1px solid var(--line); padding: clamp(1.2rem, 3vw, 2rem); }
.check__bar { height: 8px; background: var(--paper-2); border-radius: 4px; overflow: hidden; margin: .4rem 0 .5rem; }
.check__bar span { display: block; height: 100%; width: 0; background: var(--amber); transition: width .35s var(--ease); }
.check__status { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .9rem; margin-bottom: 1rem; flex-wrap: wrap; }
.check__status strong { color: var(--ink); }
.check ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2rem; }
.check li { break-inside: avoid; margin: 0; }
.check label { display: grid; grid-template-columns: 26px 1fr; gap: .8rem; align-items: start; padding: .7rem 0; border-bottom: 1px dashed var(--line); cursor: pointer; font-size: .97rem; line-height: 1.45; }
.check input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; border: 2px solid var(--ink); border-radius: 2px; margin: 0; display: grid; place-items: center; cursor: pointer; background: var(--white); }
.check input::after { content: ""; width: 11px; height: 6px; border: solid var(--ink); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) scale(0); transition: transform .15s var(--ease); margin-top: -3px; }
.check input:checked { background: var(--amber); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check small { display: block; color: var(--muted); font-size: .86rem; }
.check__out { margin-top: 1.2rem; padding: 1rem 1.1rem; background: var(--paper); border-left: 3px solid var(--ink); font-size: .95rem; }
.check__out p { margin: 0; }

/* Title-block CTA */
.tblock { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr); border: 2px solid var(--on-ink-muted); }
.tblock > div { padding: clamp(1.2rem, 3vw, 2rem); border-right: 1px solid rgba(201, 198, 218, .45); }
.tblock > div:last-child { border-right: 0; }
.tblock h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-stretch: 78%; margin-bottom: .4em; }
.tblock .mono { color: var(--amber); display: block; margin-bottom: .6rem; }
.tblock p { color: var(--on-ink-muted); margin: 0 0 1rem; font-size: .97rem; }
.tblock__act { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.section--ink .tblock__act a.link-plain { color: var(--on-ink); }

/* Inner page head */
.pagehead { padding: clamp(1.6rem, 4vw, 3rem) 0 0; }
.crumbs { margin: 0 0 1.4rem; }
.crumbs ol { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0; flex-wrap: wrap; color: var(--muted); }
.crumbs li { margin: 0; display: flex; gap: .5rem; align-items: center; }
.crumbs li + li::before { content: "/"; opacity: .6; }
.crumbs a { color: var(--muted); }
.pagehead__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end; }
.pagehead h1 { font-stretch: 76%; font-size: clamp(2.3rem, 5vw, 4.1rem); }
.pagehead__sheet { display: flex; gap: 1.2rem; flex-wrap: wrap; color: var(--muted); margin-bottom: 1.2rem; }
.pagehead__sheet span:first-child { color: var(--amber-deep); }
.pagehead figure { margin: 0; }
.pagehead figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.pagehead figcaption { font-size: .8rem; color: var(--muted); padding: .5rem 0 0; }
.pagehead--center { text-align: center; padding-bottom: clamp(2rem, 4vw, 3rem); }
.pagehead--center .lede { margin-inline: auto; }
.pagehead__band { height: 14px; margin-top: clamp(1.8rem, 4vw, 3rem); background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 22px), var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); opacity: .35; }

/* Document layout: sticky contents + article */
.doc { display: grid; grid-template-columns: 230px minmax(0, 46rem); gap: clamp(2rem, 5vw, 5rem); justify-content: center; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.toc { position: sticky; top: calc(var(--mast-h) + 1.5rem); align-self: start; font-size: .92rem; }
.toc p { color: var(--muted); margin-bottom: .7rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: .45rem 0 .45rem 1rem; color: var(--muted); text-decoration: none; margin-left: -1px; border-left: 2px solid transparent; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--amber); font-weight: 600; }
.article > h2 { margin-top: 2.6em; padding-top: .9em; border-top: 1px solid var(--line); font-stretch: 80%; }
.article > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.article > h3 { margin-top: 1.8em; }
.article p, .article li { font-size: 1.06rem; }
.article ul li::marker { color: var(--amber-deep); }
.article figure { margin: 2rem 0; }
.article figure img { width: 100%; border-radius: var(--radius); }
.article figcaption { font-size: .84rem; color: var(--muted); margin-top: .5rem; }
.article .wide { margin-left: calc(-1 * min(6vw, 4rem)); margin-right: calc(-1 * min(6vw, 4rem)); }

/* Callouts */
.note { margin: 1.8rem 0; padding: 1.1rem 1.3rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--amber); }
.note .mono { display: block; color: var(--amber-deep); margin-bottom: .45rem; }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.note--ink { background: var(--ink); color: var(--on-ink); border-color: var(--ink); border-left-color: var(--amber); }
.note--ink .mono { color: var(--amber); }
.note--ink a { color: var(--on-ink); }
.note--warn { border-left-color: var(--err); }
.note--warn .mono { color: var(--err); }

/* Spec / comparison tables */
.table-wrap { margin: 1.8rem 0; overflow-x: auto; }
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--white); }
.spec caption { text-align: left; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: .6rem; }
.spec th, .spec td { padding: .8rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.45; }
.spec thead th { background: var(--ink); color: var(--on-ink); font: 600 .9rem/1.3 var(--sans); }
.spec tbody th { font-weight: 600; color: var(--ink); background: var(--paper); width: 26%; }
.spec td.num { font-family: var(--mono); font-size: .86rem; white-space: nowrap; }

/* Decision matrix */
.matrix { margin: 1.8rem 0; border-top: 2px solid var(--ink); }
.matrix div { display: grid; grid-template-columns: minmax(0, 1fr) 2.2rem minmax(0, 1fr); gap: .8rem; padding: .9rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.matrix div > span:first-child { color: var(--muted); }
.matrix div > span:first-child b { color: var(--ink); font-weight: 600; }
.matrix i { font-style: normal; font-family: var(--mono); color: var(--amber-deep); text-align: center; padding-top: .1rem; }
.matrix div > span:last-child { font-weight: 600; color: var(--ink); }

/* Bottom line box */
.bottomline { margin: 2.4rem 0 0; padding: 1.5rem 1.6rem; background: var(--paper-2); border-top: 3px solid var(--ink); }
.bottomline h2 { border: 0 !important; margin-top: 0 !important; padding-top: 0 !important; font-size: 1.5rem; }
.bottomline ul { margin: 0; }

/* FAQ */
.faq { max-width: 50rem; margin: 0 auto; }
.faq__search { display: block; margin-bottom: 1rem; }
.faq__search input { width: 100%; min-height: 50px; padding: .75rem 1rem .75rem 2.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303033B' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 1rem center / 18px; font: 400 1rem var(--sans); color: var(--text); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-of-type { border-top: 2px solid var(--ink); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.1rem .2rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: clamp(1.08rem, 1.6vw, 1.25rem); font-stretch: 92%; }
.faq__item summary::after { content: ""; flex: 0 0 auto; width: 30px; height: 30px; border: 1px solid var(--ink); border-radius: 50%; background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat; transition: transform .2s; }
.faq__item[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat; transform: rotate(180deg); }
.faq__a { padding: 0 .2rem 1.2rem; color: var(--muted); }
.faq__a p { margin: 0; }
.faq__empty { color: var(--muted); }
.section--tint .faq__search input { background-color: var(--white); }

/* Tools (materials matcher, ADA reach checker, timeline, lead-time risk) */
.tool { margin: 2.2rem 0; background: var(--ink); color: var(--on-ink); padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--radius); }
.tool h3 { color: var(--on-ink); font-stretch: 80%; font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.tool .mono { color: var(--amber); display: block; margin-bottom: .5rem; }
.tool p { color: var(--on-ink-muted); font-size: .97rem; }
.tool fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; }
.tool legend { font-weight: 600; margin-bottom: .6rem; color: var(--on-ink); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .95rem; border: 1px solid rgba(201, 198, 218, .55); border-radius: var(--radius); font-size: .92rem; color: var(--on-ink); transition: background .15s, border-color .15s, color .15s; }
.chip input:checked + span { background: var(--amber); border-color: var(--amber); color: var(--ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.tool__result { margin-top: 1rem; border-top: 1px solid rgba(201, 198, 218, .35); padding-top: 1rem; }
.bars { display: grid; gap: .7rem; }
.bars div { display: grid; grid-template-columns: 8.5rem 1fr 2.6rem; gap: .8rem; align-items: center; font-size: .93rem; }
.bars b { font-weight: 600; }
.bars .bar { height: 12px; background: rgba(246, 241, 232, .12); border-radius: 2px; overflow: hidden; }
.bars .bar i { display: block; height: 100%; width: 0; background: var(--amber); transition: width .45s var(--ease); }
.bars output { font-family: var(--mono); font-size: .8rem; text-align: right; color: var(--on-ink-muted); }
.tool__note { margin-top: 1rem; font-size: .9rem; color: var(--on-ink); background: rgba(246, 241, 232, .08); padding: .8rem 1rem; border-left: 3px solid var(--amber); }
.tool__note p { margin: 0; color: var(--on-ink); }
.tool label.field-dark { display: grid; gap: .35rem; font-weight: 600; font-size: .94rem; }
.tool select, .tool input[type="number"] { min-height: 48px; border-radius: var(--radius); border: 1px solid rgba(201, 198, 218, .55); background: var(--ink-2); color: var(--on-ink); padding: .6rem .8rem; font: 400 1rem var(--sans); width: 100%; }
.tool__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.reach { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 1.4rem; align-items: center; }
.reach__readout { font: 700 clamp(2.4rem, 6vw, 3.6rem)/1 var(--display); font-stretch: 75%; color: var(--amber); }
.reach svg { width: 100%; height: auto; }
.reach svg .fig { stroke: var(--on-ink); fill: none; stroke-width: 2; }
.reach svg .counter { fill: var(--amber); }
.reach svg .zone { fill: rgba(234, 149, 70, .22); }
.reach svg .lbl { fill: var(--on-ink-muted); font: 500 9px var(--mono); }

.steps { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 2px solid rgba(201, 198, 218, .5); }
.steps li { margin: 0; }
.steps button { width: 100%; min-height: 64px; background: none; border: 0; border-right: 1px solid rgba(201, 198, 218, .25); color: var(--on-ink-muted); text-align: left; padding: .7rem .6rem; cursor: pointer; font: 500 .82rem/1.3 var(--sans); position: relative; }
.steps button .mono { display: block; color: inherit; margin: 0 0 .25rem; font-size: .66rem; }
.steps button[aria-selected="true"] { color: var(--on-ink); background: rgba(246, 241, 232, .08); }
.steps button[aria-selected="true"]::before { content: ""; position: absolute; top: -2px; left: 0; right: 0; height: 3px; background: var(--amber); }
.steps__panel { padding: 1.2rem 0 0; }
.steps__panel h4 { color: var(--on-ink); font-size: 1.25rem; font-stretch: 85%; margin-bottom: .4rem; }
.steps__panel p { margin-bottom: .6rem; }
.steps__panel[hidden] { display: none; }

/* Next/previous sheet */
.sheetnav { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); margin-top: 3rem; }
.sheetnav a { display: flex; flex-direction: column; gap: .35rem; padding: 1.2rem .4rem; text-decoration: none; color: var(--ink); }
.sheetnav a:hover { background: var(--white); }
.sheetnav .mono { color: var(--muted); }
.sheetnav strong { font: 650 1.2rem/1.2 var(--display); font-stretch: 85%; }
.sheetnav__next { text-align: right; align-items: flex-end; border-left: 1px solid var(--line); }

/* Forms */
.formwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.formside { position: sticky; top: calc(var(--mast-h) + 1.5rem); }
.formside ol { padding-left: 1.1em; }
.form { background: var(--white); border: 1px solid var(--line); padding: clamp(1.2rem, 3.5vw, 2.4rem); }
.form fieldset { border: 0; padding: 0; margin: 0 0 1.8rem; }
.form legend { font: 700 1.25rem/1.2 var(--display); font-stretch: 85%; color: var(--ink); padding: 0 0 .9rem; width: 100%; border-bottom: 1px solid var(--line); margin-bottom: 1.1rem; display: flex; gap: .8rem; align-items: baseline; }
.form legend .mono { color: var(--amber-deep); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.form__grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: .35rem; align-content: start; }
.field > span:first-child, .field__label { font-weight: 600; font-size: .94rem; color: var(--ink); }
.field small { color: var(--muted); font-size: .84rem; }
.req { color: var(--amber-deep); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem .85rem; border: 1px solid #b9ae98; border-radius: var(--radius); background: var(--paper); font: 400 1rem var(--sans); color: var(--text); transition: border-color .15s, background .15s; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: var(--white); outline: 3px solid rgba(234, 149, 70, .55); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--err); background: #fff6f4; }
.field__error { color: var(--err); font-size: .86rem; font-weight: 600; }
.boxes { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 1rem; }
.box { display: flex; gap: .65rem; align-items: center; min-height: 44px; font-size: .96rem; cursor: pointer; }
.box input { width: 20px; height: 20px; accent-color: var(--ink); flex: 0 0 auto; margin: 0; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--ink); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 1rem 1.2rem; margin-bottom: 1.4rem; border-left: 4px solid; font-size: .98rem; }
.form-status--ok { background: #eaf4ee; border-color: var(--ok); color: #123d28; }
.form-status--err { background: #fbeceb; border-color: var(--err); color: #5c1414; }
.form__foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 1.3rem; }
.form__foot p { margin: 0; font-size: .86rem; color: var(--muted); max-width: 30em; }

/* Legal pages */
.legal { max-width: 46rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem); }
.legal h2 { font-size: 1.55rem; margin-top: 2em; }

/* Footer */
.foot { background: var(--ink); color: var(--on-ink-muted); padding: clamp(3rem, 6vw, 4.5rem) 0 0; }
.foot__top { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.foot__brand img { width: 260px; margin-bottom: 1.2rem; }
.foot__brand p { max-width: 26rem; font-size: .95rem; }
.foot__col h2 { color: var(--amber); font-size: .74rem; margin-bottom: 1rem; }
.foot__col ul { list-style: none; padding: 0; margin: 0; }
.foot__col li { margin: 0; }
.foot__col a { display: inline-block; padding: .4rem 0; color: var(--on-ink); text-decoration: none; font-size: .96rem; }
.foot__col a:hover { color: var(--amber); }
.foot__notice { width: min(100% - 2 * var(--gut), var(--wrap)); margin: 2.6rem auto 0; padding-top: 1.4rem; border-top: 1px solid rgba(201, 198, 218, .25); font-size: .85rem; line-height: 1.55; }
.foot__block { width: min(100% - 2 * var(--gut), var(--wrap)); margin: 1.4rem auto 0; display: grid; grid-template-columns: 1fr 1fr 2fr; border: 1px solid rgba(201, 198, 218, .35); border-bottom: 0; }
.foot__block > div { padding: .9rem 1rem; border-right: 1px solid rgba(201, 198, 218, .35); display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; }
.foot__block > div:last-child { border-right: 0; }
.foot__block .mono { color: var(--on-ink-muted); opacity: .8; font-size: .66rem; }
.foot__legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; margin: 0; padding: 0; }
.foot__legal li { margin: 0; }
.foot__legal a { color: var(--on-ink); }

/* Mobile dock */
.dock { display: none; }

/* Reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* 404 */
.lost { text-align: center; padding: clamp(4rem, 10vw, 7rem) 0; }
.lost .hero__actions { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav, .lang, .mast__cta { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .mast__inner .lang { display: flex; }
  .mast__inner .lang { margin-left: auto; }
  .mast__inner .menu-btn { margin-left: .5rem; }
}
@media (max-width: 1020px) {
  .hero__grid, .pagehead__grid, .matstrip, .index__layout, .formwrap { grid-template-columns: 1fr; }
  .index__intro, .formside { position: static; }
  .hero__copy { padding-bottom: 0; }
  .explorer { grid-template-columns: 1fr; }
  .explorer__tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scroll-snap-type: x mandatory; scrollbar-width: none; }
  .explorer__tabs::-webkit-scrollbar { display: none; }
  .explorer__tab { flex: 0 0 auto; border-bottom: 0; border-right: 1px solid var(--line); scroll-snap-align: start; white-space: nowrap; }
  .explorer__tab[aria-selected="true"]::before { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 3px; }
  .explorer__tab[aria-selected="true"]::after { display: none; }
  .doc { grid-template-columns: minmax(0, 46rem); }
  .toc { position: static; }
  .toc details { border: 1px solid var(--line); background: var(--white); }
  .toc details summary { display: flex; justify-content: space-between; padding: .9rem 1rem; cursor: pointer; font-weight: 600; min-height: 48px; align-items: center; }
  .toc details > div { padding: 0 1rem 1rem; }
  .toc p.toc__label { display: none; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .tblock { grid-template-columns: 1fr 1fr; }
  .tblock > div:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid rgba(201, 198, 218, .45); }
  .article .wide { margin-left: 0; margin-right: 0; }
}
@media (max-width: 760px) {
  :root { --mast-h: 64px; --dock-h: 68px; }
  body { font-size: 1.02rem; padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); }
  .mast__logo img { width: 170px; }
  .lang select { max-width: 7.2rem; font-size: .82rem; padding-right: 1.5rem; }
  .dock { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--white); border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px -20px rgba(3, 3, 59, .5); }
  .dock a, .dock button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; border-radius: 8px; color: var(--ink); text-decoration: none; font: 600 .72rem var(--sans); background: none; border: 0; cursor: pointer; }
  .dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
  .dock [aria-current="page"] { color: var(--amber-deep); }
  .dock .dock__primary { background: var(--ink); color: var(--on-ink); }
  .dock .dock__primary[aria-current="page"] { color: var(--amber); }
  .hero__figure { margin-inline: calc(-1 * var(--gut)); }
  .hero__figure picture img { aspect-ratio: 4 / 3.4; border-radius: 0; object-position: 62% 50%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .index a { grid-template-columns: 1fr 2.5rem; gap: .35rem 1rem; padding: 1.1rem .2rem; }
  .index a .mono { grid-column: 1; }
  .index a h3 { grid-column: 1; }
  .index a p { grid-column: 1; }
  .index__go { grid-column: 2; grid-row: 1 / span 3; }
  .explorer__panel { grid-template-columns: 1fr; min-height: 0; }
  .explorer__img img { aspect-ratio: 16 / 10; min-height: 0; }
  .check ul { columns: 1; }
  .matrows div { grid-template-columns: 1fr; gap: .2rem; }
  .tblock { grid-template-columns: 1fr; }
  .tblock > div { border-right: 0; border-bottom: 1px solid rgba(201, 198, 218, .45); }
  .tblock > div:last-child { border-bottom: 0; }
  .form__grid, .boxes, .tool__grid { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .reach { grid-template-columns: 1fr; }
  .reach svg { max-width: 220px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps button { border-bottom: 1px solid rgba(201, 198, 218, .25); }
  .bars div { grid-template-columns: 6.6rem 1fr 2.4rem; }
  .matrix div { grid-template-columns: 1fr; gap: .25rem; }
  .matrix i { text-align: left; }
  .sheetnav { grid-template-columns: 1fr; }
  .sheetnav__next { border-left: 0; border-top: 1px solid var(--line); }
  .foot__top { grid-template-columns: 1fr; }
  .foot__block { grid-template-columns: 1fr; }
  .foot__block > div { border-right: 0; border-bottom: 1px solid rgba(201, 198, 218, .35); }
  /* Stacked spec tables on phones */
  .spec--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .spec--stack, .spec--stack tbody, .spec--stack tr, .spec--stack th, .spec--stack td { display: block; width: 100%; }
  .spec--stack tr { border: 1px solid var(--line); margin-bottom: .9rem; background: var(--white); }
  .spec--stack tbody th { background: var(--ink); color: var(--on-ink); width: 100%; }
  .spec--stack td { display: grid; grid-template-columns: 7.5rem 1fr; gap: .7rem; }
  .spec--stack td::before { content: attr(data-label); font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: .15rem; }
  .spec--stack td.num { white-space: normal; }
  .hotspot__btn { width: 34px; height: 34px; }
}
@media (max-width: 400px) {
  .mast__logo img { width: 150px; }
  .lang select { max-width: 6.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .mast, .dock, .drawer, .foot, .tool, .toc { display: none !important; }
  body { background: #fff; }
}
.hero__copy h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); }
.hero__slogan { font: 650 clamp(1.3rem, 2.2vw, 1.75rem)/1.2 var(--display); font-stretch: 82%; color: var(--ink); margin: 0 0 1rem; text-wrap: balance; }
.hero__slogan em { font-style: normal; color: var(--amber-deep); }
.toc__mob { display: none; }
@media (max-width: 1020px) {
  .toc__desk, .toc__label { display: none; }
  .toc__mob { display: block; }
  .toc__mob ol { border-left: 1px solid var(--line); }
}
/* Segmented grade selector */
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(201, 198, 218, .5); border-radius: var(--radius); overflow: hidden; margin: .4rem 0 1.2rem; }
.seg button { min-height: 48px; background: none; border: 0; border-right: 1px solid rgba(201, 198, 218, .35); color: var(--on-ink); font: 600 .98rem var(--sans); cursor: pointer; }
.seg button:last-child { border-right: 0; }
.seg button[aria-selected="true"] { background: var(--amber); color: var(--ink); }
.seg__panel[hidden] { display: none; }
.seg__list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(201, 198, 218, .3); }
.seg__list div { padding: .9rem .2rem; border-bottom: 1px solid rgba(201, 198, 218, .3); }
.seg__list div:nth-child(odd) { padding-right: 1rem; }
.seg__list dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-bottom: .25rem; }
.seg__list dd { margin: 0; color: var(--on-ink); font-size: .96rem; }
@media (max-width: 760px) { .seg__list { grid-template-columns: 1fr; } }
/* Hero spacing rule: equal space above and below hero content */
:root { --ph: clamp(2rem, 4vw, 3rem); }
.hero { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.hero__grid { align-items: center; }
.hero__copy { padding-bottom: 0; }
.hero__figure picture img { border-radius: var(--radius); }
.pagehead { padding: var(--ph) 0 0; }
.pagehead__band { margin-top: var(--ph); }
.pagehead--center { padding: var(--ph) 0; }
.pagehead figure img { border-radius: var(--radius); }
.index h2.h3like { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-stretch: 80%; }
.legal strong { color: var(--ink); }
.explorer__img picture { height: 100%; }
.explorer__img { min-height: 280px; }
.tool .reach__readout { font: 700 clamp(2.4rem, 6vw, 3.6rem)/1 var(--display); font-stretch: 75%; color: var(--amber); margin: .2rem 0 .8rem; }
.tool p.mono { font-size: .74rem; color: var(--amber); }
.tool__grid .span-all { grid-column: 1 / -1; }
.pagehead--center .wrap > :last-child, .pagehead__grid > div > :last-child { margin-bottom: 0; }
.pagehead figcaption { padding-bottom: 0; }
.hero__figure picture img, .hero__figure img { aspect-ratio: 2400 / 1340 !important; object-position: 50% 50% !important; }
@media (max-width: 760px) { .hero__figure picture img { border-radius: 0; } .hero__figure figcaption { position: static; } }
@media (max-width: 760px) { .spec--stack { background: transparent; } .spec--stack caption { display: block; width: 100%; } .spec--stack td { grid-template-columns: 5.6rem 1fr; } }

/* ---------- Layout fixes (owner: no overlap, no blank half) ---------- */
/* Hero: title runs the full width, then copy left and the photo right, so neither column leaves an empty band */
.hero__title h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); font-stretch: 76%; letter-spacing: -.01em; margin-bottom: .35em; }
@media (min-width: 1021px) {
  .hero__grid { row-gap: 0; align-items: center; }
  .hero__title { grid-column: 1 / -1; }
  .hero__title h1 { max-width: none; margin-bottom: .45em; }
}
/* Wide figures must not reach past the viewport on mid-size screens */
@media (max-width: 1180px) { .article .wide { margin-left: 0; margin-right: 0; } }
