/* ==========================================================================
   Skyline Windows — Brand System
   Implements Brand Guidelines 2026 Edition.
   Palette, type scale, spacing scale and the Mullion Grid are defined ONCE
   here. Nothing downstream may invent a colour, a font size or a gap.
   ========================================================================== */

/* --- Typefaces ----------------------------------------------------------- */
/* Brandon Text is the print primary; Poppins is the sanctioned web stand-in.
   Cormorant Garamond italic is an "earned break" only — never UI, never data. */
@font-face{font-family:Poppins;font-style:normal;font-weight:300;font-display:swap;
  src:url(/assets/fonts/poppins-300.woff2) format('woff2')}
@font-face{font-family:Poppins;font-style:normal;font-weight:400;font-display:swap;
  src:url(/assets/fonts/poppins-400.woff2) format('woff2')}
@font-face{font-family:Poppins;font-style:normal;font-weight:500;font-display:swap;
  src:url(/assets/fonts/poppins-500.woff2) format('woff2')}
@font-face{font-family:Poppins;font-style:normal;font-weight:600;font-display:swap;
  src:url(/assets/fonts/poppins-600.woff2) format('woff2')}
@font-face{font-family:Poppins;font-style:normal;font-weight:700;font-display:swap;
  src:url(/assets/fonts/poppins-700.woff2) format('woff2')}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:400;font-display:swap;
  src:url(/assets/fonts/cormorant-italic-400.woff2) format('woff2')}

/* --- Tokens -------------------------------------------------------------- */
:root{
  /* Palette. Weighting per brand guide: white 45, midnight 25, limestone 12,
     glass 10, slate 8. Urban Bronze is retired — it appears nowhere. */
  --midnight:#252C6A;        /* Midnight Sky · Pantone 2757 · the brand */
  --midnight-deep:#1D2358;   /* pressed / footer floor */
  --midnight-lift:#333B7E;   /* hover lift, hairlines on dark */
  --ink:#1C1E2B;             /* headline ink where navy would shout */
  --body:#4A4D5E;            /* body copy — 8.3:1 on white */
  --slate:#75787B;           /* Cool Gray 9 · rules, input borders, non-text */
  --slate-text:#64676A;      /* Slate at text weight. Cool Gray 9 is 4.33:1 on
                                limestone — under AA — so type uses this: 5.69:1
                                on white, 5.55 on limestone, 4.51 on glass. */
  --granite:#BBBCBC;         /* Cool Gray 4 · RULES ONLY. Never text. */
  --limestone:#FCFCFC;       /* warm off-white page floor */
  --glass:#DFE5F2;           /* digital tint — the lit pane */
  --glass-deep:#C9CEE8;      /* type on midnight — 8.2:1 */
  --rule:#DCDCD8;            /* hairline */
  --white:#FFFFFF;

  /* Type scale. Four sizes carry the whole site, plus one eyebrow.
     Five total on any page — the audit threshold. */
  --t-display:clamp(2.25rem,1.35rem + 4.0vw,4.5rem);   /* 72 */
  --t-head:clamp(1.625rem,1.25rem + 1.7vw,2.75rem);    /* 44 */
  --t-sub:clamp(1.1875rem,1.08rem + 0.5vw,1.75rem);    /* 28 */
  --t-body:clamp(1rem,0.97rem + 0.15vw,1.25rem);       /* 20 */
  --t-eyebrow:0.8125rem;                               /* 13 caps */

  /* Spacing. Every gap on this site is one of these five. */
  --s1:0.5rem; --s2:1rem; --s3:2rem; --s4:4rem; --s5:8rem;

  --measure:min(34rem,100%);           /* reading measure */
  --gutter:1rem;             /* 16px mobile side gutter */
  --shell:78rem;
  --hair:1px solid var(--rule);
  --hair-dark:1px solid var(--midnight-lift);
}

/* --- Reset --------------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box;border-radius:0}
/* The brand never rounds a window. Square corners are non-negotiable. */
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important}
}
body{margin:0;overflow-x:clip;background:var(--white);color:var(--body);
  font-family:Poppins,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size:var(--t-body);font-weight:400;line-height:1.6;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,svg,video{display:block;max-width:100%;height:auto}
h1,h2,h3,h4,p,figure,blockquote,ul,ol,dl,dd{margin:0}
ul,ol{padding:0;list-style:none}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
table{border-collapse:collapse;width:100%}

/* --- Typography ---------------------------------------------------------- */
h1,h2,h3,h4{color:var(--midnight);font-weight:600;line-height:1.1;
  letter-spacing:-0.02em;text-wrap:balance}
h1,.display{font-size:var(--t-display);font-weight:700;letter-spacing:-0.03em}
h2,.head{font-size:var(--t-head)}
h3,.sub{font-size:var(--t-sub);font-weight:500;letter-spacing:-0.01em;line-height:1.25}
h4{font-size:var(--t-body);font-weight:600;letter-spacing:0;line-height:1.35}
p{max-width:var(--measure);text-wrap:pretty}
strong{font-weight:600;color:var(--ink)}

.eyebrow{display:block;font-size:var(--t-eyebrow);font-weight:500;line-height:1.3;
  letter-spacing:0.16em;text-transform:uppercase;color:var(--slate-text)}
.eyebrow--light{color:var(--glass-deep)}
.caption{font-size:var(--t-eyebrow);font-weight:300;line-height:1.5;color:var(--slate-text)}
/* Earned break: serif italic. Pull-quotes and the centenary line only. */
.serif{font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-weight:400;
  letter-spacing:0;text-transform:none}

.lede{font-size:var(--t-sub);font-weight:300;line-height:1.45;color:var(--body);
  max-width:min(38rem,100%);letter-spacing:-0.01em}
.on-dark{color:var(--glass-deep)}
.on-dark h1,.on-dark h2,.on-dark h3,.on-dark h4,.on-dark strong{color:var(--white)}

/* --- Layout -------------------------------------------------------------- */
.shell{width:100%;max-width:var(--shell);margin-inline:auto;
  padding-inline:var(--gutter)}
@media (min-width:60rem){:root{--gutter:2rem}}
.section{padding-block:var(--s4)}
.section--tight{padding-block:var(--s3)}
.section--tall{padding-block:var(--s5)}
.section--dark{background:var(--midnight);color:var(--glass-deep)}
/* Headings default to midnight, which vanishes on this background. */
.section--dark h1,.section--dark h2,.section--dark h3,.section--dark h4{color:var(--white)}
.section--stone{background:var(--limestone)}
.section--glass{background:var(--glass)}
.stack>*+*{margin-block-start:var(--s2)}
.stack-3>*+*{margin-block-start:var(--s3)}
.stack-1>*+*{margin-block-start:var(--s1)}

/* Skip link — first stop in the keyboard path. */
.skip{position:absolute;left:var(--s2);top:-4rem;z-index:100;
  background:var(--midnight);color:var(--white);padding:var(--s2) var(--s3);
  font-weight:500;transition:top .15s}
.skip:focus{top:var(--s2)}

/* Focus is always visible and always square. */
:focus-visible{outline:3px solid var(--midnight);outline-offset:2px}
.section--dark :focus-visible,.site-foot :focus-visible,.hero :focus-visible{
  outline-color:var(--white)}

/* --- The Mullion Grid ---------------------------------------------------- */
/* Panes divided by thin lines. One or two panes lit in Glass, never more. */
.mullion{display:grid;gap:1px;background:var(--rule);border:var(--hair)}
.mullion>*{background:var(--white);padding:var(--s3)}
.mullion>.pane--lit{background:var(--glass)}
.section--stone .mullion>*{background:var(--limestone)}
.section--stone .mullion>.pane--lit{background:var(--glass)}
.mullion--dark{background:var(--midnight-lift);border:var(--hair-dark)}
.mullion--dark>*{background:var(--midnight)}
.mullion--dark>.pane--lit{background:var(--midnight-deep)}
.m-2,.m-3,.m-4{grid-template-columns:1fr}
@media (min-width:44rem){
  .m-2,.m-4{grid-template-columns:repeat(2,1fr)}
  .m-3{grid-template-columns:repeat(3,1fr)}
}
@media (min-width:66rem){
  .m-3{grid-template-columns:repeat(3,1fr)}
  .m-4{grid-template-columns:repeat(4,1fr)}
}

/* Hairline rules structure dense pages. */
.rule{border:0;border-top:var(--hair);margin-block:var(--s3)}
.rule--dark{border-top-color:var(--midnight-lift)}

/* --- Buttons — one filled action per view -------------------------------- */
.btn{display:inline-flex;align-items:center;gap:var(--s1);
  padding:var(--s2) var(--s3);font-size:var(--t-eyebrow);font-weight:500;
  letter-spacing:0.14em;text-transform:uppercase;line-height:1;
  min-height:3rem;border:2px solid transparent;cursor:pointer;
  transition:background-color .15s,color .15s,border-color .15s}
.btn--primary{background:var(--midnight);color:var(--white);border-color:var(--midnight)}
.btn--primary:hover{background:var(--midnight-lift);border-color:var(--midnight-lift)}
.btn--primary-light{background:var(--white);color:var(--midnight);border-color:var(--white)}
.btn--primary-light:hover{background:var(--glass);border-color:var(--glass)}
/* Header action. Deliberately NOT filled: the audit allows exactly one filled
   button above the fold, and that one belongs to the hero. */
.btn--outline{background:transparent;color:var(--midnight);border-color:var(--midnight)}
.btn--outline:hover{background:var(--midnight);color:var(--white)}
/* Secondary is visually subordinate by construction: no fill, no border. */
.btn--quiet{background:transparent;color:var(--midnight);padding-inline:0;
  border-bottom:2px solid var(--granite)}
.btn--quiet:hover{border-bottom-color:var(--midnight)}
.btn--quiet-light{background:transparent;color:var(--white);padding-inline:0;
  border-bottom:2px solid rgba(255,255,255,.4)}
.btn--quiet-light:hover{border-bottom-color:var(--white)}
.btn-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s3)}

/* --- Header -------------------------------------------------------------- */
.site-head{position:sticky;top:0;z-index:50;background:var(--white);
  border-bottom:var(--hair)}
.site-head__bar{display:flex;align-items:center;justify-content:space-between;
  gap:var(--s3);min-height:4.5rem}
.wordmark{display:flex;align-items:center;flex-shrink:0;color:var(--midnight)}
/* 30px tall. The lockup is 11.57:1, so that is 347px wide against a bar
   that caps at 1184px, and the nav needs 797px of it at its normal 2rem
   gap: 347 + 16 + 797 = 1160, so the nav keeps its usual rhythm. (40px
   did not fit — it forced the gap down to 0.5rem, which ran the items
   together.)

   Below 80rem the bar is narrower than its cap, so the nav tightens to
   1rem and the lockup scales: at 1024px only 211px is affordable.

   Below 66rem the nav is a drawer and the bar is the logo alone, sized by
   width — 347px is still wider than a phone. */
.wordmark .logo{display:block;width:min(17rem,64vw);height:auto}
@media (min-width:66rem){
  .site-head__bar{gap:var(--s2)}
  .wordmark .logo{width:auto;height:clamp(1.125rem,4.17vw - 1.54rem,1.875rem)}
}
.wordmark.c-white{color:var(--white)}

/* The bar's own button: nav-weight padding, because at 1024px the labels,
   the lockup and a 32px-padded button together overran the shell and every
   label broke to two lines. */
.site-head .btn--outline{padding-inline:var(--s2)}

.nav{display:none}
@media (min-width:66rem){
  /* --s2 while the bar is narrower than its 78rem cap; --s3 once it is
     not, which is the rhythm the rest of the site uses. */
  .nav{display:flex;align-items:center;gap:var(--s2)}
  .nav__list{display:flex;align-items:center;gap:var(--s2)}
}
@media (min-width:80rem){
  .nav,.nav__list{gap:var(--s3)}
}
.nav__link{display:inline-flex;align-items:center;gap:var(--s1);
  white-space:nowrap;
  font-family:inherit;font-size:var(--t-eyebrow);font-weight:500;letter-spacing:0.08em;
  text-transform:uppercase;color:var(--ink);padding:var(--s2) 0;cursor:pointer;
  background:none;border:0;border-bottom:2px solid transparent}
.nav__link:hover,.nav__link[aria-expanded=true]{border-bottom-color:var(--midnight);color:var(--midnight)}
.nav__link[aria-current=page]{border-bottom-color:var(--midnight);color:var(--midnight)}
.nav__caret{width:.5rem;height:.5rem;flex:none;transition:transform .15s}
.nav__link[aria-expanded=true] .nav__caret{transform:rotate(180deg)}

.nav__item{position:relative}
.nav__panel{position:absolute;top:100%;left:calc(var(--s3) * -1);
  min-width:22rem;background:var(--white);border:var(--hair);
  box-shadow:0 16px 40px rgba(37,44,106,.10);padding:var(--s2);display:none}
.nav__panel[data-open]{display:block}
.nav__panel a{display:block;padding:var(--s2);border-left:2px solid transparent}
.nav__panel a:hover,.nav__panel a:focus-visible{background:var(--glass);border-left-color:var(--midnight)}
.nav__panel b{display:block;font-size:var(--t-eyebrow);font-weight:600;
  letter-spacing:.06em;text-transform:uppercase;color:var(--midnight)}
.nav__panel small{display:block;font-size:var(--t-eyebrow);font-weight:400;
  letter-spacing:0;text-transform:none;color:var(--slate-text);margin-top:2px}

.nav-toggle{display:inline-flex;align-items:center;gap:var(--s1);
  background:none;border:0;padding:var(--s2);margin-right:calc(var(--s2) * -1);
  font-size:var(--t-eyebrow);font-weight:500;letter-spacing:.12em;
  text-transform:uppercase;color:var(--midnight);min-height:3rem}
@media (min-width:66rem){.nav-toggle{display:none}}
.nav-toggle svg{width:1.25rem;height:1.25rem}

.drawer{display:none;border-top:var(--hair);padding-block:var(--s2) var(--s3);
  max-height:calc(100dvh - 4.5rem);overflow-y:auto}
.drawer[data-open]{display:block}
@media (min-width:66rem){.drawer{display:none !important}}
.drawer a{display:block;padding:var(--s2) 0;border-bottom:var(--hair);
  font-size:var(--t-eyebrow);font-weight:500;letter-spacing:.08em;
  text-transform:uppercase;color:var(--ink)}
.drawer a.is-sub{padding-left:var(--s2);font-weight:400;letter-spacing:.02em;
  text-transform:none;color:var(--body);font-size:1rem}
.drawer .btn{margin-top:var(--s3);width:100%;justify-content:center}

/* --- Hero ---------------------------------------------------------------- */
/* Phone view first: single column, no hero video, CTA in thumb reach. */
.hero{position:relative;background:var(--midnight);color:var(--glass-deep);
  overflow:hidden}
.hero__media{position:absolute;inset:0;z-index:0}
/* The photograph has to be legible as a photograph. It was at .55 opacity
   under a gradient that was fully opaque navy across the whole left half,
   which left the fold reading as a flat colour field with no building in
   it. The scrim now holds near-solid only as far as the text runs and then
   clears, so the headline keeps white-on-midnight contrast and the right of
   the frame is an actual curtain wall. */
.hero__media img{width:100%;height:100%;object-fit:cover;opacity:.92}
.hero::after{content:'';position:absolute;inset:0;z-index:1;
  background:linear-gradient(100deg,var(--midnight) 0%,rgba(37,44,106,.96) 44%,
    rgba(35,41,100,.9) 68%,rgba(29,35,88,.16) 100%)}
/* Narrow viewports have no room for the photograph to sit beside the
   headline, so the scrim holds across the full width instead of clearing.
   Measured: the lede is 300 weight over a busy facade, and letting the
   gradient clear here took it to 5.4:1. It stays above 11:1 this way. */
@media (max-width:56rem){
  .hero::after{background:linear-gradient(170deg,var(--midnight) 0%,
    rgba(37,44,106,.96) 60%,rgba(31,37,92,.86) 100%)}
}
.hero__inner{position:relative;z-index:2;padding-block:var(--s4);
  display:grid;gap:var(--s3)}
@media (min-width:66rem){.hero__inner{padding-block:var(--s4) var(--s4)}}
.hero h1{color:var(--white);max-width:min(18ch,100%)}
.hero__lede{color:var(--glass-deep);font-size:var(--t-sub);font-weight:300;
  max-width:min(42ch,100%);line-height:1.45}

/* Proof bar — evidence sits on the same screen as the claim. */
.proofbar{position:relative;z-index:2;border-top:1px solid rgba(201,206,232,.28);
  display:grid;grid-template-columns:1fr;gap:1px;background:rgba(201,206,232,.28)}
@media (min-width:44rem){.proofbar{grid-template-columns:repeat(3,1fr)}}
.proofbar>div{background:var(--midnight);padding:var(--s3) 0 var(--s3) var(--s3)}
@media (max-width:43.99rem){.proofbar>div{padding:var(--s2) 0}}
.proofbar dt{font-size:var(--t-eyebrow);font-weight:500;letter-spacing:.16em;
  text-transform:uppercase;color:var(--glass-deep);margin-bottom:var(--s1)}
.proofbar dd{margin:0;font-size:var(--t-sub);font-weight:600;color:var(--white);
  line-height:1.15;letter-spacing:-0.01em}

/* --- Claim-and-proof module --------------------------------------------- */
/* A claim without adjacent proof reads as marketing. Proof is bolted on. */
/* Both columns start at the top. The centre alignment here was for the
   building reel that used to fill this column; with a proof box in it
   instead, centring left the box floating in the middle of a tall column
   of text with empty space above and below it. */
.claim{display:grid;gap:var(--s3);align-items:start}
@media (min-width:52rem){.claim{grid-template-columns:1fr 1fr;gap:var(--s4)}}
.proof{border-left:2px solid var(--midnight);padding-left:var(--s2);
  background:var(--glass);padding:var(--s2) var(--s2) var(--s2) var(--s2);
  border-left-width:3px}
.proof dt{font-size:var(--t-eyebrow);font-weight:500;letter-spacing:.14em;
  text-transform:uppercase;color:var(--midnight)}
.proof dd{margin:var(--s1) 0 0;font-size:1rem;line-height:1.45;color:var(--body)}
.proof dd+dt{margin-top:var(--s2)}
.proof--plain{background:transparent;border-left-color:var(--granite)}

/* --- The sash ------------------------------------------------------------ */
/* A double hung: two panes, one over the other, divided by a meeting rail.
   The upper sash carries what is true of this page. The lower sash carries
   what is true of Skyline, and is the same on every page that has one, so a
   visitor who lands deep in the site still learns how the company works.

   It is the Mullion Grid turned vertical, so the divider is the grid's own
   hairline rather than a new rule invented here. */
.sash{align-self:start}
.sash .proof{background:transparent;border-left:0;padding:0}
.sash__lower{display:grid;gap:var(--s1)}
.sash__lower p{max-width:none}
.sash__lower .btn{margin-top:var(--s1)}
.sash__rule{font-size:1rem;line-height:1.45;color:var(--body);margin:0}
.sash__rule b{color:var(--midnight);font-weight:600}

/* --- Building gallery ---------------------------------------------------- */
/* One whole building at a time, beside the text rather than under it.
   The previous version scrolled vertically through a window shorter than a
   frame, so a visitor mostly saw two half buildings and never a photograph.

   The track holds five slides for four buildings: the fifth is a copy of
   the first, and the walk ends on it so the restart at zero lands on the
   same picture in the same place and cannot be seen. That makes the slide
   width 20% of the track, which is the one number here coupled to how many
   projects exist. `npm test` fails the build if a project is added or
   removed without this being updated. */
.split{display:grid;gap:var(--s3);align-items:stretch}
@media (min-width:56rem){.split{grid-template-columns:1fr 1fr;gap:var(--s4)}}
.split__text{display:grid;grid-template-columns:1fr}
.split__media{min-height:0}

.gal{position:relative;overflow:hidden;height:100%;min-height:22rem;
  background:var(--limestone)}
@media (min-width:56rem){.gal{min-height:0}}
.gal__track{display:flex;width:500%;height:100%;
  animation:gal-walk 28s cubic-bezier(.65,0,.35,1) infinite;will-change:transform}
.gal__slide{flex:0 0 20%;position:relative;height:100%}
.gal__slide a{display:block;height:100%;color:var(--white)}
.gal__shot{width:100%;height:100%;object-fit:cover;display:block}

/* Hold, move, hold. The move is a fifth of the cycle's slowest stretch, so
   what a visitor sees is a still photograph most of the time. The walk ends
   at -80% exactly on the last keyframe and never rests there, or the first
   building would hold for twice as long as the others. */
@keyframes gal-walk{
  0%,22.5%{transform:translateX(0)}
  25%,47.5%{transform:translateX(-20%)}
  50%,72.5%{transform:translateX(-40%)}
  75%,97.5%{transform:translateX(-60%)}
  100%{transform:translateX(-80%)}
}
.gal:hover .gal__track,
.gal:focus-within .gal__track{animation-play-state:paused}
.gal__toggle:checked~.gal__track{animation-play-state:paused}

/* A scrim, so a caption holds contrast over any photograph. */
.gal__slide a::after{content:"";position:absolute;inset:auto 0 0 0;height:45%;
  background:linear-gradient(to top,rgba(28,30,43,.9),transparent);pointer-events:none}
.gal__cap{position:absolute;left:var(--s3);right:var(--s3);bottom:var(--s3);
  z-index:1;display:grid;gap:var(--s1);
  text-shadow:0 1px 3px rgba(28,30,43,.85)}
.gal__name{font-size:var(--t-sub);font-weight:600;letter-spacing:-0.01em;
  color:var(--white)}
.gal__fact{font-size:var(--t-eyebrow);font-weight:500;letter-spacing:.12em;
  text-transform:uppercase;color:var(--glass-deep)}

/* The pause control. A checkbox, so it works with no JavaScript at all. */
.gal__pause{position:absolute;right:var(--s2);top:var(--s2);z-index:2;
  background:var(--white);color:var(--slate-text);padding:var(--s1) var(--s2);
  font-size:var(--t-eyebrow);font-weight:500;letter-spacing:.12em;
  text-transform:uppercase;cursor:pointer}
.gal__pause:hover{color:var(--midnight)}
.gal__toggle:focus-visible+.gal__pause{outline:3px solid var(--midnight);
  outline-offset:2px}
.gal__pause-off{display:none}
.gal__toggle:checked+.gal__pause .gal__pause-on{display:none}
.gal__toggle:checked+.gal__pause .gal__pause-off{display:inline}

/* Reduced motion: nothing moves on its own. The track becomes an ordinary
   swipeable row that snaps to a whole building, so all three are still
   reachable rather than two being hidden behind an animation that no
   longer runs. */
@media (prefers-reduced-motion:reduce){
  .gal{overflow-x:auto;scroll-snap-type:x mandatory}
  .gal__track{animation:none}
  .gal__slide{scroll-snap-align:start}
  .gal__pause,.gal__toggle{display:none}
}

/* --- Interactive section ------------------------------------------------- */
/* A cut through the assembly with the product's own specification hung off
   it. The control is a radio group: it needs no JavaScript, and the browser
   gives arrow-key navigation between callouts for free. Because the strict
   CSP forbids style attributes, every position here is an SVG presentation
   attribute and every state is a class. */
.xsec__body{display:grid;gap:var(--s3);align-items:start}
@media (min-width:56rem){.xsec__body{grid-template-columns:1.25fr 1fr;gap:var(--s4)}}

.xsec__fig{margin:0;display:grid;gap:var(--s2)}
.xsec__svg{width:100%;height:auto;background:var(--limestone);border:var(--hair)}

/* The drawing's materials. These are not brand colours and the brand
   guide does not document them: they are what aluminium, glass, gasket
   and polyamide look like in a manufacturer's section. One `--fin` drives
   every frame face, with white and black overlays deriving the top and
   side tones, so changing it re-skins the whole window. */
.xsec{--fin:#5A6068;--wc-body:#F4F5F6;--wc-cham:#DDE2E7;--wc-steel:#A7AFB6;
  --wc-rule:#8A939C;--wc-tint:#CFE9EC;--wc-green:#7FCFB6;--wc-dark:#1B1D1F}

/* Required on every stroke in the drawing: the plane transforms are
   skewed, and without this they stretch the line weights with them. One
   rule rather than an attribute on forty elements, which is both lighter
   and impossible to forget on a new one. */
.xsec__svg *{vector-effect:non-scaling-stroke}
.wc-set,.wc-seal,.wc-gasket,.wc-skin{stroke:none}
.wc-fin{fill:var(--fin);stroke:#15181A;stroke-width:.8}
.wc-up{fill:#fff;fill-opacity:.18}        /* top faces catch the light */
.wc-side{fill:#000;fill-opacity:.3}       /* side faces fall away */
.wc-up.xh--1,.wc-up.xh--6,.wc-up.xh--10,.wc-up.xh--11,
.wc-side.xh--1,.wc-side.xh--6,.wc-side.xh--10,.wc-side.xh--11{fill-opacity:0}
.wc-gloss{fill:#fff;fill-opacity:.26;stroke:none}
.wc-miter{stroke:#8E959B;stroke-width:.8}

.wc-pane{fill:var(--wc-tint);fill-opacity:.32;stroke:#8FC9BD;stroke-width:.8}
.wc-spacer{fill:url(#wc-perf);stroke:var(--wc-rule);stroke-width:.6}

.wc-cut{stroke:var(--wc-rule);stroke-width:.8;stroke-linejoin:round}
.wc-body{fill:var(--wc-body)}
.wc-cham{fill:var(--wc-cham)}
.wc-steel{fill:var(--wc-steel);stroke:#6B737A}
/* Polyamide. A tan read as brown, and the brand retired Urban Bronze, so
   the strut takes the glass tint instead: still clearly not metal, and the
   only non-metal in the section apart from the glass itself. */
.wc-break{fill:var(--glass-deep);stroke:#8A93B0}
.wc-skin{fill:var(--fin)}
.wc-set{fill:#6B737A}
.wc-seal{fill:#3A3F44}
.wc-edge{fill:var(--wc-green);stroke:#3F9B84}
.wc-gasket{fill:var(--wc-dark)}
.wc-weep{stroke:var(--midnight);stroke-width:2;stroke-dasharray:5 3}

/* Selected. One part goes to full brand navy so the eye lands on it. */
.xsec__pick--1:checked~.xsec__fig .xh--1,
.xsec__pick--2:checked~.xsec__fig .xh--2,
.xsec__pick--3:checked~.xsec__fig .xh--3,
.xsec__pick--4:checked~.xsec__fig .xh--4,
.xsec__pick--5:checked~.xsec__fig .xh--5,
.xsec__pick--6:checked~.xsec__fig .xh--6,
.xsec__pick--7:checked~.xsec__fig .xh--7,
.xsec__pick--8:checked~.xsec__fig .xh--8,
.xsec__pick--9:checked~.xsec__fig .xh--9,
.xsec__pick--10:checked~.xsec__fig .xh--10,
.xsec__pick--11:checked~.xsec__fig .xh--11,
.xsec__pick--12:checked~.xsec__fig .xh--12{fill:var(--midnight);stroke:var(--midnight)}
/* Selecting the glazing should say "this is the glass", not paint over
   it. Three stacked panes at half opacity each went solid navy and the
   unit stopped reading as glass at all. */
.xsec__pick--1:checked~.xsec__fig .wc-pane.xh--1,
.xsec__pick--2:checked~.xsec__fig .wc-pane.xh--2,
.xsec__pick--3:checked~.xsec__fig .wc-pane.xh--3,
.xsec__pick--4:checked~.xsec__fig .wc-pane.xh--4,
.xsec__pick--5:checked~.xsec__fig .wc-pane.xh--5,
.xsec__pick--6:checked~.xsec__fig .wc-pane.xh--6,
.xsec__pick--7:checked~.xsec__fig .wc-pane.xh--7,
.xsec__pick--8:checked~.xsec__fig .wc-pane.xh--8,
.xsec__pick--9:checked~.xsec__fig .wc-pane.xh--9,
.xsec__pick--10:checked~.xsec__fig .wc-pane.xh--10,
.xsec__pick--11:checked~.xsec__fig .wc-pane.xh--11,
.xsec__pick--12:checked~.xsec__fig .wc-pane.xh--12{fill:var(--midnight);fill-opacity:.14;stroke:var(--midnight);stroke-width:2}
.xsec__pick--1:checked~.xsec__fig .wc-weep.xh--1,
.xsec__pick--2:checked~.xsec__fig .wc-weep.xh--2,
.xsec__pick--3:checked~.xsec__fig .wc-weep.xh--3,
.xsec__pick--4:checked~.xsec__fig .wc-weep.xh--4,
.xsec__pick--5:checked~.xsec__fig .wc-weep.xh--5,
.xsec__pick--6:checked~.xsec__fig .wc-weep.xh--6,
.xsec__pick--7:checked~.xsec__fig .wc-weep.xh--7,
.xsec__pick--8:checked~.xsec__fig .wc-weep.xh--8,
.xsec__pick--9:checked~.xsec__fig .wc-weep.xh--9,
.xsec__pick--10:checked~.xsec__fig .wc-weep.xh--10,
.xsec__pick--11:checked~.xsec__fig .wc-weep.xh--11,
.xsec__pick--12:checked~.xsec__fig .wc-weep.xh--12{stroke:var(--midnight);stroke-width:3;fill:none}

/* The legend. Real text, in reading order, so a screen reader and a search
   engine both get the whole specification without the picture. */
.xsec__legend{display:grid}
.xsec__item{border-top:var(--hair)}
.xsec__item:last-child{border-bottom:var(--hair)}
.xsec__item{display:grid;grid-template-columns:1.75rem 1fr;column-gap:var(--s2)}
.xsec__tab{display:grid;grid-template-columns:subgrid;grid-column:1/-1;
  align-items:center;cursor:pointer;padding-block:var(--s2);
  font-weight:500;color:var(--ink)}
.xsec__tab:hover{color:var(--midnight)}
.xsec__n{height:1.75rem;display:inline-grid;place-items:center;
  background:var(--glass);color:var(--midnight);font-size:var(--t-eyebrow);
  font-weight:600;align-self:center}
.xsec__ttl{font-size:var(--t-body)}
.xsec__detail{display:none;max-width:none;grid-column:2;padding-block:0 var(--s2);
  font-size:var(--t-eyebrow);line-height:1.6;letter-spacing:.02em;
  color:var(--slate-text)}

.xsec__pick--1:checked~.xsec__legend .xsec__item--1 .xsec__tab .xsec__n,
.xsec__pick--2:checked~.xsec__legend .xsec__item--2 .xsec__tab .xsec__n,
.xsec__pick--3:checked~.xsec__legend .xsec__item--3 .xsec__tab .xsec__n,
.xsec__pick--4:checked~.xsec__legend .xsec__item--4 .xsec__tab .xsec__n,
.xsec__pick--5:checked~.xsec__legend .xsec__item--5 .xsec__tab .xsec__n,
.xsec__pick--6:checked~.xsec__legend .xsec__item--6 .xsec__tab .xsec__n,
.xsec__pick--7:checked~.xsec__legend .xsec__item--7 .xsec__tab .xsec__n,
.xsec__pick--8:checked~.xsec__legend .xsec__item--8 .xsec__tab .xsec__n,
.xsec__pick--9:checked~.xsec__legend .xsec__item--9 .xsec__tab .xsec__n,
.xsec__pick--10:checked~.xsec__legend .xsec__item--10 .xsec__tab .xsec__n,
.xsec__pick--11:checked~.xsec__legend .xsec__item--11 .xsec__tab .xsec__n,
.xsec__pick--12:checked~.xsec__legend .xsec__item--12 .xsec__tab .xsec__n{background:var(--midnight);color:var(--white)}
.xsec__pick--1:checked~.xsec__legend .xsec__item--1 .xsec__tab,
.xsec__pick--2:checked~.xsec__legend .xsec__item--2 .xsec__tab,
.xsec__pick--3:checked~.xsec__legend .xsec__item--3 .xsec__tab,
.xsec__pick--4:checked~.xsec__legend .xsec__item--4 .xsec__tab,
.xsec__pick--5:checked~.xsec__legend .xsec__item--5 .xsec__tab,
.xsec__pick--6:checked~.xsec__legend .xsec__item--6 .xsec__tab,
.xsec__pick--7:checked~.xsec__legend .xsec__item--7 .xsec__tab,
.xsec__pick--8:checked~.xsec__legend .xsec__item--8 .xsec__tab,
.xsec__pick--9:checked~.xsec__legend .xsec__item--9 .xsec__tab,
.xsec__pick--10:checked~.xsec__legend .xsec__item--10 .xsec__tab,
.xsec__pick--11:checked~.xsec__legend .xsec__item--11 .xsec__tab,
.xsec__pick--12:checked~.xsec__legend .xsec__item--12 .xsec__tab{color:var(--midnight)}
.xsec__pick--1:checked~.xsec__legend .xsec__item--1 .xsec__detail,
.xsec__pick--2:checked~.xsec__legend .xsec__item--2 .xsec__detail,
.xsec__pick--3:checked~.xsec__legend .xsec__item--3 .xsec__detail,
.xsec__pick--4:checked~.xsec__legend .xsec__item--4 .xsec__detail,
.xsec__pick--5:checked~.xsec__legend .xsec__item--5 .xsec__detail,
.xsec__pick--6:checked~.xsec__legend .xsec__item--6 .xsec__detail,
.xsec__pick--7:checked~.xsec__legend .xsec__item--7 .xsec__detail,
.xsec__pick--8:checked~.xsec__legend .xsec__item--8 .xsec__detail,
.xsec__pick--9:checked~.xsec__legend .xsec__item--9 .xsec__detail,
.xsec__pick--10:checked~.xsec__legend .xsec__item--10 .xsec__detail,
.xsec__pick--11:checked~.xsec__legend .xsec__item--11 .xsec__detail,
.xsec__pick--12:checked~.xsec__legend .xsec__item--12 .xsec__detail{display:block}

/* Keyboard: the radio is hidden, so its focus ring has to land on the
   label the visitor is actually moving through. */
.xsec__pick--1:focus-visible~.xsec__legend .xsec__item--1 .xsec__tab,
.xsec__pick--2:focus-visible~.xsec__legend .xsec__item--2 .xsec__tab,
.xsec__pick--3:focus-visible~.xsec__legend .xsec__item--3 .xsec__tab,
.xsec__pick--4:focus-visible~.xsec__legend .xsec__item--4 .xsec__tab,
.xsec__pick--5:focus-visible~.xsec__legend .xsec__item--5 .xsec__tab,
.xsec__pick--6:focus-visible~.xsec__legend .xsec__item--6 .xsec__tab,
.xsec__pick--7:focus-visible~.xsec__legend .xsec__item--7 .xsec__tab,
.xsec__pick--8:focus-visible~.xsec__legend .xsec__item--8 .xsec__tab,
.xsec__pick--9:focus-visible~.xsec__legend .xsec__item--9 .xsec__tab,
.xsec__pick--10:focus-visible~.xsec__legend .xsec__item--10 .xsec__tab,
.xsec__pick--11:focus-visible~.xsec__legend .xsec__item--11 .xsec__tab,
.xsec__pick--12:focus-visible~.xsec__legend .xsec__item--12 .xsec__tab{outline:3px solid var(--midnight);outline-offset:2px}

/* Numbered markers on the drawing. The legend is the control — these
   are indicators, because a 22px SVG hit target is a worse tap than a
   full-width legend row and a screen reader already has the list. */
.xm-lead{stroke:var(--granite);stroke-width:1.25}
.xm-box{fill:var(--white);stroke:var(--slate);stroke-width:1.25}
.xm-n{font-family:Poppins,sans-serif;font-weight:600;fill:var(--slate-text)}
.xsec__pick--1:checked~.xsec__fig .xm.xh--1 .xm-box,
.xsec__pick--2:checked~.xsec__fig .xm.xh--2 .xm-box,
.xsec__pick--3:checked~.xsec__fig .xm.xh--3 .xm-box,
.xsec__pick--4:checked~.xsec__fig .xm.xh--4 .xm-box,
.xsec__pick--5:checked~.xsec__fig .xm.xh--5 .xm-box,
.xsec__pick--6:checked~.xsec__fig .xm.xh--6 .xm-box,
.xsec__pick--7:checked~.xsec__fig .xm.xh--7 .xm-box,
.xsec__pick--8:checked~.xsec__fig .xm.xh--8 .xm-box,
.xsec__pick--9:checked~.xsec__fig .xm.xh--9 .xm-box,
.xsec__pick--10:checked~.xsec__fig .xm.xh--10 .xm-box,
.xsec__pick--11:checked~.xsec__fig .xm.xh--11 .xm-box,
.xsec__pick--12:checked~.xsec__fig .xm.xh--12 .xm-box{fill:var(--midnight);stroke:var(--midnight)}
.xsec__pick--1:checked~.xsec__fig .xm.xh--1 .xm-n,
.xsec__pick--2:checked~.xsec__fig .xm.xh--2 .xm-n,
.xsec__pick--3:checked~.xsec__fig .xm.xh--3 .xm-n,
.xsec__pick--4:checked~.xsec__fig .xm.xh--4 .xm-n,
.xsec__pick--5:checked~.xsec__fig .xm.xh--5 .xm-n,
.xsec__pick--6:checked~.xsec__fig .xm.xh--6 .xm-n,
.xsec__pick--7:checked~.xsec__fig .xm.xh--7 .xm-n,
.xsec__pick--8:checked~.xsec__fig .xm.xh--8 .xm-n,
.xsec__pick--9:checked~.xsec__fig .xm.xh--9 .xm-n,
.xsec__pick--10:checked~.xsec__fig .xm.xh--10 .xm-n,
.xsec__pick--11:checked~.xsec__fig .xm.xh--11 .xm-n,
.xsec__pick--12:checked~.xsec__fig .xm.xh--12 .xm-n{fill:var(--white)}
.xsec__pick--1:checked~.xsec__fig .xm.xh--1 .xm-lead,
.xsec__pick--2:checked~.xsec__fig .xm.xh--2 .xm-lead,
.xsec__pick--3:checked~.xsec__fig .xm.xh--3 .xm-lead,
.xsec__pick--4:checked~.xsec__fig .xm.xh--4 .xm-lead,
.xsec__pick--5:checked~.xsec__fig .xm.xh--5 .xm-lead,
.xsec__pick--6:checked~.xsec__fig .xm.xh--6 .xm-lead,
.xsec__pick--7:checked~.xsec__fig .xm.xh--7 .xm-lead,
.xsec__pick--8:checked~.xsec__fig .xm.xh--8 .xm-lead,
.xsec__pick--9:checked~.xsec__fig .xm.xh--9 .xm-lead,
.xsec__pick--10:checked~.xsec__fig .xm.xh--10 .xm-lead,
.xsec__pick--11:checked~.xsec__fig .xm.xh--11 .xm-lead,
.xsec__pick--12:checked~.xsec__fig .xm.xh--12 .xm-lead{stroke:var(--midnight);stroke-width:2}

@media (prefers-reduced-motion:reduce){.xs{transition:none}}

/* --- Stat --------------------------------------------------------------- */
.stat{font-size:var(--t-head);font-weight:700;color:var(--midnight);
  line-height:1;letter-spacing:-0.03em;display:block}
.section--dark .stat{color:var(--white)}

/* --- Cards / index grids ------------------------------------------------- */
.card{display:flex;flex-direction:column;gap:var(--s2);height:100%}
.card__media{background:var(--glass);overflow:hidden;aspect-ratio:3/2}
.card__media img{width:100%;height:100%;object-fit:cover;
  transition:transform .4s ease}
a.card:hover .card__media img{transform:scale(1.03)}
a.card:hover h3{color:var(--midnight-lift)}
.card__body{display:flex;flex-direction:column;gap:var(--s1);flex:1}
.card__go{margin-top:auto;padding-top:var(--s2);font-size:var(--t-eyebrow);
  font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--midnight)}
.grid{display:grid;gap:var(--s3);grid-template-columns:1fr}
@media (min-width:44rem){.grid--2,.grid--3,.grid--4{grid-template-columns:repeat(2,1fr)}}
@media (min-width:66rem){
  .grid--3{grid-template-columns:repeat(3,1fr)}
  .grid--4{grid-template-columns:repeat(4,1fr)}
}

/* --- Comparison matrix --------------------------------------------------- */
/* Eight systems against five published attributes. Hairlines only — the
   brand's density comes from rules, not fills or rounded chips. */
.matrix-wrap{overflow-x:auto}
.matrix{width:100%;border-collapse:collapse;font-size:1rem;text-align:left}
.matrix th,.matrix td{padding:var(--s2);border-bottom:var(--hair);vertical-align:top}
.matrix thead th{font-size:var(--t-eyebrow);font-weight:500;letter-spacing:.12em;
  text-transform:uppercase;color:var(--slate-text);border-bottom:2px solid var(--midnight);
  white-space:nowrap}
.matrix tbody th{font-weight:600;color:var(--midnight)}
.matrix tbody th small{display:block;font-size:var(--t-eyebrow);font-weight:400;
  letter-spacing:.12em;text-transform:uppercase;color:var(--slate-text)}
.matrix tbody tr:last-child th,.matrix tbody tr:last-child td{border-bottom:0}
/* A dash is a published fact — "we do not state this" — not missing markup. */
.matrix__none{color:var(--slate-text)}

/* On a phone the table becomes one card per system: a horizontally scrolling
   8x6 grid is unusable, and the row header is the thing being compared. */
@media (max-width:52rem){
  .matrix thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .matrix,.matrix tbody,.matrix tr,.matrix th,.matrix td{display:block}
  .matrix tr{border-bottom:2px solid var(--midnight);padding-block:var(--s2)}
  .matrix tbody tr:last-child{border-bottom:0}
  .matrix th,.matrix td{border-bottom:0;padding:0}
  .matrix tbody th{padding-bottom:var(--s1)}
  .matrix td{display:flex;gap:var(--s2);justify-content:space-between;
    padding-block:var(--s1);border-bottom:var(--hair)}
  .matrix td::before{content:attr(data-label);font-size:var(--t-eyebrow);font-weight:500;
    letter-spacing:.12em;text-transform:uppercase;color:var(--slate-text);flex:none}
}

/* --- Spec list ----------------------------------------------------------- */
.specs{border-top:var(--hair)}
.specs li{border-bottom:var(--hair);padding-block:var(--s2);
  display:grid;gap:var(--s1)}
@media (min-width:44rem){.specs li{grid-template-columns:14rem 1fr;gap:var(--s3)}}
.specs dt,.specs .k{font-size:var(--t-eyebrow);font-weight:500;letter-spacing:.12em;
  text-transform:uppercase;color:var(--slate-text)}
.specs .v{color:var(--ink);font-size:1rem}
.ticks li{position:relative;padding-left:var(--s3);padding-block:var(--s1);
  font-size:1rem;line-height:1.5}
.ticks li::before{content:'';position:absolute;left:0;top:.7em;
  width:.75rem;height:1px;background:var(--midnight)}

/* --- Pull quote — an earned break ---------------------------------------- */
.pull{border-left:3px solid var(--midnight);padding-left:var(--s3);
  max-width:min(44rem,100%)}
.pull p{font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;
  font-size:var(--t-sub);line-height:1.35;color:var(--ink);max-width:none}
.pull footer{margin-top:var(--s2);font-size:var(--t-eyebrow);font-weight:500;
  letter-spacing:.14em;text-transform:uppercase;color:var(--slate-text)}
.section--dark .pull{border-left-color:var(--glass-deep)}
.section--dark .pull p{color:var(--white)}
.section--dark .pull footer{color:var(--glass-deep)}

/* --- Forms --------------------------------------------------------------- */
.field{display:block;margin-bottom:var(--s3)}
.field>span{display:block;font-size:var(--t-eyebrow);font-weight:500;
  letter-spacing:.12em;text-transform:uppercase;color:var(--midnight);
  margin-bottom:var(--s1)}
.field .hint{display:block;font-size:var(--t-eyebrow);font-weight:400;
  letter-spacing:0;text-transform:none;color:var(--slate-text);margin-top:var(--s1)}
.field input,.field select,.field textarea{width:100%;padding:var(--s2);
  min-height:3rem;background:var(--white);color:var(--ink);
  border:1px solid var(--slate);font-size:1rem}
.field textarea{min-height:8rem;resize:vertical}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{
  border-color:var(--midnight);outline:3px solid var(--midnight);outline-offset:1px}
.field--invalid input,.field--invalid select,.field--invalid textarea{border-color:#9B1C1C;border-width:2px}
.field__error{display:block;margin-top:var(--s1);font-size:var(--t-eyebrow);
  font-weight:500;color:#9B1C1C;letter-spacing:0;text-transform:none}
.choices{display:grid;gap:var(--s1)}
@media (min-width:44rem){.choices{grid-template-columns:repeat(2,1fr)}}
.choice{display:flex;align-items:flex-start;gap:var(--s2);padding:var(--s2);
  border:1px solid var(--rule);cursor:pointer;background:var(--white)}
.choice:hover{border-color:var(--midnight);background:var(--glass)}
.choice input{margin:0;width:1.15rem;height:1.15rem;flex:none;
  accent-color:var(--midnight);margin-top:2px}
.choice:has(input:checked){border-color:var(--midnight);background:var(--glass);
  box-shadow:inset 3px 0 0 var(--midnight)}
.choice span{font-size:1rem;line-height:1.35}
.choice small{display:block;color:var(--slate-text);font-size:var(--t-eyebrow)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-status{padding:var(--s2) var(--s3);border-left:3px solid var(--midnight);
  background:var(--glass);font-size:1rem;margin-bottom:var(--s3)}
.form-status[data-state=error]{border-left-color:#9B1C1C;background:#FDF2F2;color:#7A1616}
.form-status[hidden]{display:none}

/* Projects search. Hidden until the script runs, so a page without it simply
   lists every project. [hidden] has to be restated for the cards because
   .card sets its own display. */
.psearch{display:grid;gap:0 var(--s3);grid-template-columns:1fr}
@media (min-width:48rem){.psearch{grid-template-columns:2fr 1fr 1fr auto;align-items:end}}
.psearch__go{margin-bottom:var(--s2);justify-content:center}
.psearch .field{margin-bottom:var(--s2)}
.psearch__count{grid-column:1/-1;margin:0}
.psearch[hidden],.card[hidden],.psearch__none[hidden]{display:none}

/* --- Footer -------------------------------------------------------------- */
.site-foot{background:var(--midnight-deep);color:var(--glass-deep);
  padding-block:var(--s4) var(--s3)}
.site-foot h2,.site-foot h3{color:var(--white)}
.site-foot a:hover{color:var(--white);text-decoration:underline;
  text-underline-offset:3px}
.foot-grid{display:grid;gap:var(--s3);grid-template-columns:1fr}
@media (min-width:44rem){.foot-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:66rem){.foot-grid{grid-template-columns:1.4fr 1fr 1fr 1fr}}
.foot-grid h3{font-size:var(--t-eyebrow);font-weight:600;letter-spacing:.16em;
  text-transform:uppercase;color:var(--glass-deep);margin-bottom:var(--s2)}
.foot-grid li+li{margin-top:var(--s1)}
.foot-grid a{font-size:1rem;color:var(--glass-deep)}
.foot-legal{margin-top:var(--s4);padding-top:var(--s2);
  border-top:1px solid var(--midnight-lift);display:flex;flex-wrap:wrap;
  gap:var(--s2) var(--s3);justify-content:space-between;
  font-size:var(--t-eyebrow);color:var(--glass-deep)}

/* --- Breadcrumb ---------------------------------------------------------- */
.crumbs{padding-block:var(--s2);font-size:var(--t-eyebrow);color:var(--slate-text);
  letter-spacing:.06em;text-transform:uppercase}
.crumbs a:hover{color:var(--midnight);text-decoration:underline;text-underline-offset:3px}
.crumbs span{color:var(--granite);padding-inline:var(--s1)}

/* --- Page head ----------------------------------------------------------- */
.pagehead{background:var(--limestone);border-bottom:var(--hair);
  padding-block:var(--s3) var(--s4)}
.pagehead h1{max-width:min(20ch,100%)}

/* --- Utility ------------------------------------------------------------- */
.vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}
.flow-tight p{max-width:var(--measure)}
.wide{max-width:none}
.figure figcaption{margin-top:var(--s1)}

/* --- Utilities ------------------------------------------------------------
   The Content-Security-Policy is `style-src 'self'` with no 'unsafe-inline',
   so an inline style attribute is refused by the browser and the declaration
   is simply lost. Everything the pages need therefore lives here as a class.
   audit.mjs fails the build if a style attribute reappears. */
.t-sm{font-size:1rem}
.c-white{color:var(--white)}
.c-glass{color:var(--glass-deep)}
.c-ink{color:var(--ink)}
.mt-2{margin-top:var(--s2)}
.measure-wide{max-width:min(40rem,100%)}
.link-u{text-decoration:underline;text-underline-offset:3px}
.opt{font-style:normal;color:var(--slate-text)}

/* Footer contact block. <address> would otherwise render italic. */
.addr{font-style:normal;margin-top:var(--s2);line-height:1.7;font-size:1rem}
.addr--plain{font-style:normal;font-size:1rem;line-height:1.7}
.foot-note{color:var(--glass-deep);margin-top:var(--s2)}

/* Proof panel on a dark ground. */
.proof--dark{background:var(--midnight-deep);border-left-color:var(--glass-deep)}
.proof--dark dt{color:var(--glass-deep)}
.proof--dark dd{color:var(--white)}

/* Two-column specification list. */
.cols{columns:2;column-gap:var(--s4);max-width:min(60rem,100%)}
.cols li{break-inside:avoid}
@media (max-width:44rem){.cols{columns:1}}

/* Landmark roll — a single long line of building names. */
.namelist{margin-top:var(--s2);max-width:none;color:var(--ink)}

/* Native form chrome resets. */
.fieldset-plain{border:0;padding:0;margin:0 0 var(--s3)}
.legend-plain{padding:0;margin-bottom:var(--s2)}

/* --- Brand guide (/brand/) ------------------------------------------------
   Specimen chrome. Values are declared here rather than inline because the
   CSP refuses style attributes; src/data/brand.mjs holds the same numbers and
   audit.mjs cross-checks the two. */
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:1rem;
  letter-spacing:0;color:var(--ink)}

.sw{display:flex;flex-direction:column;gap:var(--s2)}
.sw__chip{aspect-ratio:3/2;border:1px solid var(--rule)}
.sw__meta{display:flex;flex-direction:column;gap:var(--s1)}
.sw__chip--midnight{background:var(--midnight)}
.sw__chip--slate{background:var(--slate)}
.sw__chip--granite{background:var(--granite)}
.sw__chip--limestone{background:var(--limestone)}
.sw__chip--glass{background:var(--glass)}
.sw__chip--white{background:var(--white)}

.dot{display:inline-block;width:1rem;height:1rem;margin-right:var(--s1);
  border:1px solid var(--rule);vertical-align:-3px}
.dot--midnight-deep{background:var(--midnight-deep)}
.dot--midnight-lift{background:var(--midnight-lift)}
.dot--ink{background:var(--ink)}
.dot--body{background:var(--body)}
.dot--slate-text{background:var(--slate-text)}
.dot--glass-deep{background:var(--glass-deep)}

/* Type specimens render at the real token size. */
.spec{display:block;color:var(--midnight);line-height:1.1;letter-spacing:-0.02em}
.spec--display{font-size:var(--t-display);font-weight:700;letter-spacing:-0.03em}
.spec--head{font-size:var(--t-head);font-weight:600}
.spec--sub{font-size:var(--t-sub);font-weight:500}
.spec--body{font-size:var(--t-body);font-weight:400;line-height:1.5}
.spec--eyebrow{font-size:var(--t-eyebrow);font-weight:500;letter-spacing:0.16em;
  text-transform:uppercase;color:var(--slate-text)}

/* Spacing swatches, drawn at their own value. */
.gap{display:inline-block;height:1rem;background:var(--midnight);vertical-align:-2px;
  margin-right:var(--s1)}
.gap--s1{width:var(--s1)} .gap--s2{width:var(--s2)} .gap--s3{width:var(--s3)}
.gap--s4{width:var(--s4)} .gap--s5{width:var(--s5)}

.logo-demo{display:flex;align-items:center;justify-content:center;
  min-height:8rem;border:1px solid var(--rule);background:var(--white)}
.logo-demo--dark{background:var(--midnight);padding:var(--s3)}
.logo-demo--dark .logo-demo{background:var(--midnight);border-color:var(--midnight-lift)}
.wordmark--lg .logo{height:2rem}

.pane-spec{display:flex;justify-content:center;background:var(--limestone);
  border:1px solid var(--rule);padding:var(--s3)}
.pane-spec svg{width:100%;max-width:12rem;height:auto}

/* --- Print ----------------------------------------------------------------
   The downloadable guide is this page, printed. Interface chrome goes; the
   system stays. */
@media print{
  @page{size:A4;margin:16mm 14mm}
  html{font-size:11pt}
  body{background:var(--white)}
  .site-head,.site-foot,.crumbs,.no-print,.skip,.nav-toggle{display:none !important}
  .section{padding-block:var(--s3);break-inside:avoid}
  .section--dark{background:var(--midnight) !important;
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  .section--stone{background:var(--limestone) !important;
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
  .sw__chip,.dot,.gap,.mullion,.pane--lit,.logo-demo--dark,.proof,.proofbar>div,
  .hero,.pane-spec{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  h1,h2,h3{break-after:avoid}
  .specs li,.sw,.claim,.mullion,.logo-demo,.pane-spec,.proof{break-inside:avoid}
  /* Each numbered section opens its own page: continuous flow left a mostly
     blank sheet wherever a block would not fit. */
  .section[id]{break-before:page}
  .section[id]:first-of-type{break-before:auto}
  /* No trailing blank sheet. */
  .section:last-child{break-after:avoid}
  a[href^="/"]::after,a[href^="#"]::after{content:''}
  .pagehead{padding-block:0 var(--s3)}
  .grid--3{grid-template-columns:repeat(3,1fr)}
  .m-2{grid-template-columns:repeat(2,1fr)}
  .m-4{grid-template-columns:repeat(4,1fr)}
}

/* --- Ask Skyline answer bar ----------------------------------------------
   Sits directly beneath the hero. Glass ground, square everything, one filled
   action — the brand guide's digital wireframe made real. */
.askbar{background:var(--glass);border-bottom:var(--hair);color:var(--ink)}
.askbar__inner{padding-block:var(--s3)}
.askbar__form{display:grid;gap:var(--s3)}

/* RULE: wherever the Pane sits beside a control, it is exactly that
   control's height — never a loose fraction of it. One token drives the
   glyph, the field and the button, so the three cannot drift apart. */
.askbar__row{--control-h:3.5rem;display:flex;gap:var(--s2);align-items:center;
  flex-wrap:wrap}
.askbar__mark{flex:none;color:var(--midnight);
  height:var(--control-h);width:auto}
.askbar__input{flex:1 1 min(20rem,100%);min-width:0;height:var(--control-h);
  padding-inline:var(--s2);background:var(--white);color:var(--ink);
  border:1px solid var(--slate);font-size:1rem;
  -webkit-appearance:none;appearance:none}
.askbar__input::placeholder{color:var(--slate-text)}
.askbar__input:focus-visible{border-color:var(--midnight);
  outline:3px solid var(--midnight);outline-offset:1px}
.askbar__row .btn{flex:0 0 auto;height:var(--control-h);display:inline-flex;
  align-items:center}

.askbar__out{background:var(--white);border-left:3px solid var(--midnight);
  padding:var(--s3);max-width:min(56rem,100%)}
.askbar__out[hidden]{display:none}
.askbar__out[data-state=error]{border-left-color:#9B1C1C;background:#FDF2F2;
  color:#7A1616}
.askbar__out p{font-size:1rem;max-width:none;color:var(--ink)}
.askbar__out .askbar__srcs{margin-top:var(--s2);display:flex;flex-wrap:wrap;
  gap:var(--s1) var(--s2);align-items:baseline}
.askbar__out .askbar__srcs span{font-size:var(--t-eyebrow);font-weight:500;
  letter-spacing:.14em;text-transform:uppercase;color:var(--slate-text)}
.askbar__out .askbar__srcs a{font-size:1rem;color:var(--midnight);
  border-bottom:2px solid var(--granite)}
.askbar__out .askbar__srcs a:hover{border-bottom-color:var(--midnight)}
.askbar__note{margin-top:var(--s2);font-size:var(--t-eyebrow);
  color:var(--slate-text)}
