/* Noah Banks Flooring — shared stylesheet.
   Extracted from index.html 2026-10-23 when the one-page site was
   split into /, /colors/, /gallery/, /specs/ and /dealer/.
   EVERY page loads this. A rule added for one page lands on all
   five, so scope page-specific rules with a class on <body>. */

:root{
    --taiga:#768179; --naval:#2F3D4C; --boxcar:#90514A; --ethereal:#AEA594;

    --ink:#1c201d; --body:#555d57; --muted:#8a918b; --faint:#b4bab5;
    --line:#e6e4df; --bg:#fff; --cream:#faf8f4; --sand:#f2efe8;
    --dark:#1e2220; --darker:#151817;
    --wrap:1180px;
    --ease:cubic-bezier(.22,.61,.36,1);
  }
  *{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  /* Two faces, brand-wide, and they match the catalog exactly so the PDF and
     the site read as one company: Bodoni Moda for display, IBM Plex Sans for
     everything else. Ethan, 2026-10-26 — do not introduce a third.
     Bodoni Moda is loaded on its optical-size axis (opsz 6..96), so the
     browser thickens the hairlines on its own at the smaller display sizes
     (.herocred b bottoms out at 17px). Don't pin opsz or set
     font-optical-sizing:none — that is what makes small Didone go spindly. */
  body{ margin:0; background:var(--bg); color:var(--body);
        font:16.5px/1.7 "IBM Plex Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
        -webkit-font-smoothing:antialiased; }
  .wrap{ max-width:var(--wrap); margin:0 auto; padding:0 28px; }
  @media (max-width:560px){ .wrap{ padding:0 18px; } }
  h1,h2,h3,h4{ color:var(--ink); margin:0; line-height:1.12; }
  h1,h2{ font-family:"Bodoni Moda",Didot,"Times New Roman",serif; font-weight:400; }
  h2{ font-size:clamp(32px,4.6vw,52px); letter-spacing:-.005em; }
  h3{ font-size:17px; font-weight:600; letter-spacing:-.01em; }
  p{ margin:0; }
  img{ max-width:100%; display:block; }
  a{ color:inherit; }

  .eyebrow{ font-size:11px; font-weight:600; letter-spacing:.24em;
            text-transform:uppercase; color:var(--taiga); margin-bottom:20px; }
  .rule{ width:46px; height:2px; background:var(--taiga); margin:0 0 26px; }

  .btn{ display:inline-block; background:var(--ink); color:#fff; font-weight:600;
        padding:14px 26px; text-decoration:none; font-size:14px;
        letter-spacing:.04em; border:1px solid var(--ink);
        transition:background .25s var(--ease), color .25s var(--ease); }
  .btn:hover{ background:transparent; color:var(--ink); }
  .btn-l{ background:#fff; color:var(--ink); border-color:#fff; }
  .btn-l:hover{ background:transparent; color:#fff; border-color:rgba(255,255,255,.6); }
  .btn-o{ background:transparent; color:#fff; border-color:rgba(255,255,255,.45); }
  .btn-o:hover{ background:#fff; color:var(--ink); border-color:#fff; }

  /* ---------- header ---------- */
  header{ position:sticky; top:0; z-index:40; background:rgba(255,255,255,.94);
          backdrop-filter:saturate(1.4) blur(10px);
          border-bottom:1px solid var(--line); }
  .bar{ display:flex; align-items:center; justify-content:space-between;
        gap:24px; padding:18px 0; }
  .bar .mark{ height:34px; width:auto; }
  .bar nav{ display:flex; align-items:center; gap:30px; font-size:13.5px;
            font-weight:500; letter-spacing:.03em; }
  .bar nav a{ text-decoration:none; color:var(--body); position:relative;
              padding-bottom:3px; }
  .bar nav a.navlink::after{ content:""; position:absolute; left:0; right:100%;
            bottom:0; height:1px; background:var(--ink);
            transition:right .3s var(--ease); }
  .bar nav a.navlink:hover{ color:var(--ink); }
  .bar nav a.navlink:hover::after{ right:0; }
  .bar .btn{ padding:11px 20px; }
  /* ⚠️ `.bar nav a` (0,2,1) out-specifies `.btn` (0,1,0), so the header's dealer
     button rendered its label in the muted --body tone on its own dark ground,
     and the hover color failed the same way. Both have to be restated from
     inside the bar to win. */
  .bar nav a.btn{ color:#fff; }
  .bar nav a.btn:hover{ color:var(--ink); }
  /* 🚨 These links used to be `display:none` below 1000px, full stop. That was
     survivable while the whole site was one scrolling page. It is NOT now that
     Collections/Colors/Gallery/Specs are separate URLs — a phone would have no
     way to reach them. Below 1000px they collapse into the .navtoggle panel
     instead. Never re-hide them without putting something in their place. */
  .navtoggle{ display:none; }
  .bar nav a.navlink.on{ color:var(--ink); font-weight:600; }
  .bar nav a.navlink.on::after{ right:0; }
  @media (max-width:1000px){
    .bar{ flex-wrap:wrap; }
    .navtoggle{ display:inline-flex; align-items:center; justify-content:center;
                flex-direction:column; gap:4px; order:3; cursor:pointer;
                width:42px; height:38px; padding:0; border-radius:2px;
                background:transparent; border:1px solid var(--line); }
    .navtoggle span{ display:block; width:17px; height:1.5px; background:var(--ink); }
    .bar nav{ order:2; gap:18px; }
    .bar nav a.navlink{ display:none; }
    /* Open: the text links drop under the bar; the dealer button stays in it. */
    .bar.navopen nav{ width:100%; order:4; flex-direction:column;
                      align-items:stretch; gap:0; padding-top:4px; }
    .bar.navopen nav a.navlink{ display:block; padding:13px 0; font-size:15px;
                                border-top:1px solid var(--line); }
    .bar.navopen nav a.navlink::after{ display:none; }
    .bar.navopen nav .btn{ margin:14px 0 4px; text-align:center; }
  }
  @media (max-width:520px){ .bar .mark{ height:27px; } .bar .btn{ padding:10px 15px; font-size:13px; } }

  /* ---------- interior page header ----------
     The home page keeps the full photographic .hero. The other four open with
     this instead: same sticky bar, then a compact band with the page name.

     ⚠️ `.rule` and `.eyebrow` default to colors meant for a LIGHT ground --
     var(--taiga) on white. On this dark band they all but vanish, which is why
     both are restated here, the same way `section.dark` restates them. */
  .pagehead{ background:var(--dark); color:#fff; padding:64px 0 58px; }
  .pagehead .eyebrow{ color:var(--ethereal); }
  .pagehead .rule{ background:var(--ethereal); margin-bottom:22px; }
  .pagehead h1{ color:#fff; font-family:"Bodoni Moda",Didot,"Times New Roman",serif;
                font-weight:400; font-size:clamp(32px,4.6vw,52px); line-height:1.07;
                margin:0; letter-spacing:-.005em; text-wrap:balance; }
  .pagehead p{ margin:20px 0 0; max-width:58ch; color:#c8cfc9; font-size:18px;
               line-height:1.65; }
  @media (max-width:560px){ .pagehead{ padding:44px 0 40px; } }

  /* ---------- "next page" teaser at the foot of a page ---------- */
  .nextup{ border-top:1px solid var(--line); }
  .nextup .wrap{ padding:58px 28px 64px; display:flex; flex-wrap:wrap;
                 gap:22px 40px; align-items:center; justify-content:space-between; }
  .nextup .t{ min-width:0; }
  .nextup h3{ margin:0; font-family:"Bodoni Moda",Didot,"Times New Roman",serif;
              font-weight:400; font-size:clamp(24px,3vw,33px); line-height:1.15; }
  .nextup p{ margin:9px 0 0; color:var(--muted); max-width:58ch; font-size:16px; }

  /* ---------- hero ---------- */
  .hero{ position:relative; min-height:76vh; display:flex; align-items:flex-end;
         padding:120px 0 68px; background:var(--dark); overflow:hidden; }
  .hero .bg{ position:absolute; inset:0;
             /* Real installed work, 2026-10-21 — replaced the hero-planks.jpg
                swatch. Those files are still in img/ if this needs reverting.
                🚨 `../img/`, NOT `img/`. A url() in a stylesheet resolves
                against the STYLESHEET, not the page that loaded it. When these
                rules lived in an inline <style> in index.html, `img/...` was
                right; the moment the CSS moved to /css/site.css the browser
                started looking for /css/img/hero-install.jpg and the hero went
                flat black with no error. Same for every url() below. One
                `../` is correct for ALL pages, however deep -- it is relative
                to the css file, not to the page. */
             background-image:url("../img/hero-install.jpg");
             background-image:image-set(url("../img/hero-install.webp") type("image/webp"),
                                        url("../img/hero-install.jpg")  type("image/jpeg"));
             background-size:cover; background-position:center;
             transform:scale(1.03); }
  .hero::after{ content:""; position:absolute; inset:0;
                background:linear-gradient(75deg,
                  rgba(18,21,20,.95) 0%, rgba(18,21,20,.88) 38%,
                  rgba(18,21,20,.58) 68%, rgba(18,21,20,.34) 100%); }
  .hero .wrap{ position:relative; z-index:2; width:100%; }
  .hero .mark{ height:74px; width:auto; margin-bottom:46px; }
  .hero h1{ color:#fff; font-size:clamp(38px,6vw,74px); max-width:15ch;
            letter-spacing:-.012em; line-height:1.04; }
  .hero h1 em{ font-style:italic; color:var(--ethereal); }
  .hero .lede{ margin-top:26px; font-size:clamp(16.5px,1.75vw,19px); max-width:52ch;
               color:#cdd3cd; }
  .hero .cta{ margin-top:38px; display:flex; flex-wrap:wrap; gap:12px; }
  /* Parade of Homes credit, bottom-right against the hero's empty side — the
     75deg overlay is thin over there and the floor under it is pale, so the
     type carries its own shadow rather than relying on the scrim. Hidden below
     900px, where it would land on top of the lede. */
  /* 340px, not a ch value: ch resolves against the BLOCK's font-size, not the
     children's, and at 32ch the tracked subline broke with "PARADE" alone on
     the second line. */
  .herocred{ position:absolute; right:0; bottom:0; z-index:2; width:370px;
             padding-left:22px; border-left:1px solid rgba(196,162,76,.6); }
  .herocred b{ display:block; font-family:"Bodoni Moda",Didot,"Times New Roman",serif;
               font-weight:400; font-size:clamp(17px,1.7vw,22px); line-height:1.2;
               color:#fff;
               text-shadow:0 1px 2px rgba(10,12,10,.95), 0 2px 22px rgba(10,12,10,.9); }
  .herocred span{ display:block; margin-top:9px; font-size:9.5px; font-weight:600;
                  letter-spacing:.13em; text-transform:uppercase; color:#e2e6e1;
                  text-wrap:balance;
                  text-shadow:0 1px 2px rgba(10,12,10,.95), 0 2px 16px rgba(10,12,10,.95); }
  @media (max-width:900px){ .herocred{ display:none; } }
  @media (max-width:560px){ .hero{ min-height:0; padding:84px 0 56px; }
                            .hero .mark{ height:52px; margin-bottom:32px; } }

  /* ---------- ticker ---------- */
  .ticker{ background:var(--ink); color:#cfd4cf; }
  .ticker .wrap{ display:flex; flex-wrap:wrap; justify-content:space-between;
                 gap:16px 40px; padding-top:20px; padding-bottom:20px;
                 font-size:12.5px; font-weight:500; letter-spacing:.12em;
                 text-transform:uppercase; }
  .ticker b{ color:#fff; font-weight:600; }

  /* ---------- sections ---------- */
  section{ padding:104px 0; }
  @media (max-width:700px){ section{ padding:68px 0; } }
  section.cream{ background:var(--cream); }
  section.sand{ background:var(--sand); }
  section.dark{ background:var(--dark); color:#c9cfc9; }
  section.dark h2,section.dark h3,section.dark h4{ color:#fff; }
  section.dark .eyebrow{ color:var(--ethereal); }
  section.dark .rule{ background:var(--ethereal); }
  .lead{ max-width:58ch; font-size:18px; }
  .lead p + p{ margin-top:20px; }
  .two{ display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:start; }
  @media (max-width:900px){ .two{ grid-template-columns:1fr; gap:38px; } }
  /* Fills the dead space under the heading in the left column of #why. */
  .whyshot{ margin:40px 0 0; }
  .whyshot img{ width:100%; height:auto; display:block; }
  @media (max-width:900px){ .whyshot{ display:none; } }

  ul.check{ list-style:none; margin:0; padding:0; }
  ul.check li{ position:relative; padding-left:32px; margin-bottom:20px;
               font-size:15.5px; line-height:1.6; }
  ul.check li::before{ content:""; position:absolute; left:0; top:10px;
                       width:16px; height:1px; background:var(--taiga); }
  ul.check li b{ color:var(--ink); display:block; margin-bottom:2px; }
  section.dark ul.check li b{ color:#fff; }
  section.dark ul.check li::before{ background:var(--ethereal); }

  /* ---------- collections ---------- */
  /* Four across. Apex runs as a band under the row instead of a fifth card:
     at five columns the spec values wrapped ("UV cured urethane",
     "23.32 sq ft / box") on all four real cards, which is too high a price for
     a teaser that carries no specs. */
  .cols{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:52px; }
  @media (max-width:1040px){ .cols{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:600px){  .cols{ grid-template-columns:1fr; } }
  .col{ background:#fff; border:1px solid var(--line); display:flex;
        flex-direction:column; transition:transform .3s var(--ease),
        box-shadow .3s var(--ease); }
  .col:hover{ transform:translateY(-3px); box-shadow:0 14px 34px rgba(28,32,29,.09); }
  .col .tex{ height:128px; overflow:hidden; position:relative; }
  .col .tex img{ width:100%; height:100%; object-fit:cover; }
  .col .tex span{ position:absolute; left:0; bottom:0; padding:7px 14px;
                  font-size:10.5px; font-weight:600; letter-spacing:.18em;
                  text-transform:uppercase; color:#fff; }
  .col .bod{ padding:24px 22px 26px; flex:1; display:flex; flex-direction:column; }
  .col h3{ font-family:"Bodoni Moda",Didot,"Times New Roman",serif; font-weight:400;
           font-size:30px; letter-spacing:0; }
  .col .kind{ font-size:10.5px; font-weight:600; letter-spacing:.16em;
              text-transform:uppercase; color:var(--muted); margin-top:7px; }
  .col p{ font-size:14.5px; line-height:1.62; margin-top:14px; flex:1; }
  .spec{ list-style:none; margin:20px 0 0; padding:16px 0 0;
         border-top:1px solid var(--line); font-size:13px; }
  .spec li{ display:flex; justify-content:space-between; gap:12px; padding:4.5px 0; }
  .spec span:first-child{ color:var(--muted); }
  .spec span:last-child{ color:var(--ink); font-weight:600; text-align:right; }

  /* A second product inside a collection card. Only Unfinished uses it: Premium
     Unfinished is the Apex build delivered raw, and it would not survive as a
     fifth .cols column — at five the spec values wrap on every card, which is
     why Apex is a band rather than a card. mt:auto pins it to the foot of the
     flex body so it lines up however tall the row stretches. */
  .col .alt{ margin-top:auto; padding-top:16px; border-top:1px solid var(--line);
             font-size:12.5px; line-height:1.55; color:var(--muted); }
  .col .alt b{ display:block; color:var(--ink); font-weight:600; font-size:13px;
               letter-spacing:.01em; margin-bottom:4px; }

  /* ---------- Apex: the top line, as a band under the collections ----------
     Black and gold, off the house palette on purpose — it reads as a different
     tier, not another collection. Tokens match the Apex pages in the printed
     catalog.
     ⭐ CLEARED TO PUBLISH 2026-10-21, which reverses the old "disregard the
     apex stuff" rule. Specs and the color list below come from Ethan direct,
     NOT from the price sheet — and no price, SKU or count of the range goes
     on this page. Two sides: the plank, and Apex Parquet.
     Every color here is a literal: the band sits off the token palette. */
  .apexband{ margin-top:20px; background:#0D0E0D; color:#F2EDE2;
    position:relative; overflow:hidden; display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,21rem);
    gap:34px 44px; align-items:start; padding:46px 46px 44px; }
  @media (max-width:860px){ .apexband{ grid-template-columns:minmax(0,1fr);
    padding:34px 28px; gap:26px; } }
  .apexband > *{ position:relative; z-index:1; min-width:0; }
  .apexband .lbl{ font-size:10.5px; font-weight:600; letter-spacing:.2em;
    text-transform:uppercase; color:#C4A24C; }
  .apexband h3{ font-family:"Bodoni Moda",Didot,"Times New Roman",serif; font-weight:400;
    font-size:clamp(40px,6vw,62px); line-height:1; color:#fff;
    letter-spacing:.015em; margin:12px 0 0; }
  .apexband .grule{ width:58px; height:2px; background:#C4A24C; margin:20px 0 0; }
  .apexband p{ color:rgba(242,237,226,.74); font-size:15.5px; margin:20px 0 0; }
  .apexband p b{ color:#fff; font-weight:600; }
  /* The .spec list is styled off --line/--muted/--ink, all of which are near
     invisible on black, so it is re-colored here rather than reused as is. */
  .apexband .spec{ border-top-color:rgba(242,237,226,.22); margin-top:4px; }
  .apexband .spec li{ border-bottom:0; }
  .apexband .spec span:first-child{ color:rgba(242,237,226,.55); }
  .apexband .spec span:last-child{ color:#fff; }
  .apexsplit{ grid-column:1/-1; display:grid; gap:34px 44px;
    grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));
    border-top:1px solid rgba(242,237,226,.17); padding-top:30px; }
  .apexsplit > div{ min-width:0; }
  .apexsplit p{ font-size:14.5px; margin-top:14px; }
  .apextbl{ width:100%; border-collapse:collapse; margin-top:16px;
    font-size:14px; }
  .apextbl th{ text-align:left; font-size:10px; font-weight:600;
    letter-spacing:.16em; text-transform:uppercase; color:#C4A24C;
    padding:0 14px 8px 0; border-bottom:1px solid rgba(196,162,76,.5); }
  .apextbl td{ text-align:left; padding:8px 14px 8px 0;
    border-bottom:1px solid rgba(242,237,226,.14); }
  .apextbl td:first-child{ color:#fff; font-weight:600; }
  .apextbl td + td{ color:rgba(242,237,226,.66); }
  /* Needs .apexband in the selector to out-specify `.apexband p`, which sets
     its own margin and color. */
  .apexband .apexnote{ grid-column:1/-1; font-size:13.5px;
    color:rgba(242,237,226,.55); margin:0; }
  /* A slow gold rake, so the band is not a flat black rectangle. */
  .apexband::after{ content:""; position:absolute; inset:0; pointer-events:none;
    background:
      radial-gradient(120% 90% at 86% 6%, rgba(196,162,76,.18), transparent 58%),
      linear-gradient(103deg, transparent 54%, rgba(196,162,76,.08) 73%, transparent 88%); }

  /* ---------- swatch grid ---------- */
  .swhead{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:52px; }
  .swhead div{ font-size:10.5px; font-weight:600; letter-spacing:.2em;
               text-transform:uppercase; color:var(--muted);
               padding-bottom:12px; border-bottom:1px solid var(--ink); }
  .swhead i{ display:inline-block; width:8px; height:8px; margin-right:10px; }
  .swgrid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:16px; }
  /* ⚠️ ON THE ONE-PAGE SITE the colour grid runs in a narrower column with the
     section intro held beside it (.progcols below). At full wrap width the
     three boards were ~370px wide and ~495px tall, so ten rows ran 4,950px and
     #program measured 5,650px — a THIRD of the page, between a dealer and the
     only call to action. Narrowing it alone left the flush-left heading beside
     a centred grid, which just read as a mistake; holding the intro in the
     freed column fixes both. All 30 boards stay — Ethan restored them
     deliberately, one row per colour, three constructions across.
     ⚠️ The SPLIT /colors/ page keeps the full-width grid: strip_head() removes
        the heading there, so there would be nothing to put in the left column.
     Re-measure document.scrollHeight after touching any of this. */
  .progcols .wrap{ display:grid; grid-template-columns:clamp(230px,25%,310px) 1fr;
                   gap:clamp(30px,4vw,60px); align-items:start; }
  /* ⚠️ PLACE ALL THREE EXPLICITLY. With auto-placement the wrap's three
     children filled (1,1) (2,1) (1,2), which dropped the 3-across board grid
     into the 310px intro column — boards came out 93px wide and the section
     measured 2,108px instead of ~3,800. Never rely on auto-flow here. */
  .progcols .progintro{ position:sticky; top:104px;
                        grid-column:1; grid-row:1 / span 2; }
  .progcols .swhead{ grid-column:2; grid-row:1; margin-top:0; }
  .progcols .swgrid{ grid-column:2; grid-row:2; }
  .progcols .progintro .lead{ font-size:15.5px; }
  /* The display size set for a full-width heading breaks badly in a 300px
     column ("One color / story."). Pull it back so it sets in three
     even lines. */
  .progcols .progintro h2{ font-size:clamp(27px,3vw,37px); }
  @media (max-width:860px){
    .progcols .wrap{ grid-template-columns:minmax(0,1fr); gap:0; }
    .progcols .progintro,
    .progcols .swhead,
    .progcols .swgrid{ grid-column:1; grid-row:auto; }
    .progcols .progintro{ position:static; }
    .progcols .swhead{ margin-top:46px; }
  }

  .swgrid button{ padding:0; border:0; background:#151817; cursor:zoom-in;
                  display:block; line-height:0; aspect-ratio:1 / 1.34;
                  overflow:hidden; }
  .swgrid img{ width:100%; height:100%; object-fit:contain;
               transition:transform .45s var(--ease); }
  .swgrid button:hover img{ transform:scale(1.035); }
  .swgrid button:focus-visible{ outline:2px solid var(--taiga); outline-offset:3px; }
  @media (max-width:620px){ .swhead div{ font-size:9px; letter-spacing:.12em; }
                            .swhead,.swgrid{ gap:8px; } }

  /* ---------- facts ---------- */
  .facts{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-top:52px; }
  @media (max-width:820px){ .facts{ grid-template-columns:1fr; gap:22px; } }
  .fact{ border-top:1px solid var(--line); padding-top:22px; }
  section.dark .fact{ border-color:rgba(255,255,255,.17); }
  .fact b{ display:block; font-family:"Bodoni Moda",Didot,"Times New Roman",serif;
           font-weight:400; font-size:46px; color:var(--ink); line-height:1; }
  section.dark .fact b{ color:#fff; }
  .fact span{ display:block; margin-top:11px; font-size:14.5px; color:var(--muted);
              line-height:1.55; }
  section.dark .fact span{ color:#a8b0a9; }

  .certs{ display:flex; flex-wrap:wrap; gap:9px; margin-top:34px; }
  .cert{ border:1px solid var(--line); padding:9px 16px; font-size:11.5px;
         font-weight:600; letter-spacing:.12em; text-transform:uppercase;
         color:var(--body); }

  /* ---------- installed gallery ---------- */
  .inst{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:52px; }
  @media (max-width:860px){ .inst{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:560px){ .inst{ grid-template-columns:1fr; } }
  .inst figure{ margin:0; }
  /* `.frame` is a <button> so the job photos open in the lightbox — they used
     to be plain divs and were the one gallery on the site you could not click.
     These four lines are the UA button reset; without them you get a grey
     chrome background, a 2px border and centre alignment. */
  .inst button.frame{ display:block; width:100%; padding:0; border:0;
                      cursor:zoom-in; font:inherit; color:inherit; }
  .inst .frame{ aspect-ratio:4 / 3; overflow:hidden; background:var(--sand); }
  .inst .frame img{ width:100%; height:100%; object-fit:cover;
                    transition:transform .5s var(--ease); }
  .inst figure:hover .frame img{ transform:scale(1.04); }
  .inst figcaption{ margin-top:12px; font-size:13.5px; color:var(--muted); }
  .inst figcaption b{ color:var(--ink); display:block; font-weight:600; }
  /* PLACEHOLDER styling — remove .ph when real photography lands */
  .inst .ph .frame{ display:flex; align-items:center; justify-content:center;
                    border:1px dashed var(--faint); background:
                    repeating-linear-gradient(45deg,#f6f4ef,#f6f4ef 11px,#f1eee7 11px,#f1eee7 22px); }
  .inst .ph .frame span{ font-size:11px; font-weight:600; letter-spacing:.18em;
                         text-transform:uppercase; color:var(--muted); }

  /* ---------- catalog ---------- */
  .cat{ display:grid; grid-template-columns:1fr 1.05fr; gap:64px; align-items:center; }
  @media (max-width:900px){ .cat{ grid-template-columns:1fr; gap:36px; } }
  .cat .shot{ position:relative; margin:0; }
  /* ⚠️ `height:auto` is load-bearing. The img carries width/height ATTRIBUTES
     (for layout stability), and the UA stylesheet maps those to real CSS
     width/height. With only `width:100%` here the height stayed pinned at the
     attribute's 1068px and the photo rendered squashed to a third of its
     aspect. `.whyshot img` already sets height:auto for the same reason. */
  .cat .shot img{ width:100%; height:auto; display:block;
                  box-shadow:0 24px 60px rgba(0,0,0,.4); }
  /* The catalog's own cover treatment, repeated here: the caption sits on a
     gradient scrim rather than on bare photo, because the lower half of this
     frame is pale floor and white type on it was unreadable. */
  .cat figcaption{ position:absolute; left:0; right:0; bottom:0;
    padding:70px 26px 22px;
    background:linear-gradient(to top, rgba(10,12,10,.92) 0%,
               rgba(10,12,10,.62) 48%, rgba(10,12,10,0) 100%); }
  .cat figcaption b{ display:block; font-family:"Bodoni Moda",Didot,"Times New Roman",serif;
    font-weight:400; font-size:clamp(19px,2.1vw,25px); line-height:1.18;
    color:#fff; max-width:26ch; }
  .cat figcaption span{ display:block; margin-top:9px; font-size:10px;
    font-weight:600; letter-spacing:.2em; text-transform:uppercase;
    color:#ccd3cc; }
  .catbtns{ display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }
  .catmeta{ margin-top:22px; font-size:13px; color:#9aa29b; letter-spacing:.04em; }

  /* ---------- dealer ---------- */
  .dgrid{ display:grid; grid-template-columns:1.1fr 1fr; gap:64px; margin-top:48px; }
  @media (max-width:900px){ .dgrid{ grid-template-columns:1fr; gap:34px; } }
  /* align-self:start so the box wraps its own content. As a grid item it
     stretched to match the five benefit points beside it and carried ~145px
     of empty bordered space under the last line, which reads as something
     missing rather than as breathing room. */
  .dbox{ border:1px solid rgba(255,255,255,.18); padding:34px;
         align-self:start; }
  .dbox .lbl{ font-size:10.5px; font-weight:600; letter-spacing:.2em;
              text-transform:uppercase; color:var(--ethereal); }
  .dbox .big{ font-size:21px; font-weight:600; color:#fff; margin-top:10px;
              text-decoration:none; display:inline-block; word-break:break-word;
              border-bottom:1px solid rgba(255,255,255,.3); padding-bottom:2px; }
  .dbox .row{ margin-bottom:30px; } .dbox .row:last-child{ margin-bottom:0; }

  /* ---------- dealer inquiry form ----------
     Lives inside `section.dark`, so every color here is a literal or a light
     token. The form controls need `color-scheme:dark` too, or Windows renders
     the <select> drop-down as black text on black. */
  .dform{ margin-top:58px; padding-top:40px;
          border-top:1px solid rgba(255,255,255,.14); color-scheme:dark; }
  .dform .fhead h3{ margin:0; font-family:"Bodoni Moda",Didot,"Times New Roman",serif;
                    font-weight:400; font-size:clamp(23px,2.8vw,30px); color:#fff; }
  .dform .fhead p{ margin:10px 0 0; max-width:60ch; color:#b6bdb7; font-size:15.5px; }
  .dform .fhead a{ color:#fff; }
  .ffields{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
            gap:18px 24px; margin-top:30px; }
  .ffields label{ display:flex; flex-direction:column; gap:7px; min-width:0; }
  .ffields label.wide{ grid-column:1 / -1; }
  .ffields span{ font-size:11px; font-weight:600; letter-spacing:.14em;
                 text-transform:uppercase; color:#9aa29b; }
  /* "optional" has to read as an aside, not part of the label. Set in the same
     uppercase tracking as the label it follows, it reads as one phrase —
     "COMPANY REQUIRED" was the first attempt and it looked like a field name. */
  .ffields span i{ font-style:normal; text-transform:none; font-weight:400;
                   letter-spacing:.01em; font-size:12px; color:#7d857e; }
  .ffields input,.ffields select,.ffields textarea{
            background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.2);
            color:#fff; font:inherit; font-size:15.5px; padding:12px 14px;
            border-radius:2px; width:100%; }
  /* 🚨 The open drop-down is drawn by the OS, not by the page, and Windows
     draws it on a WHITE list however the <select> itself is styled. With
     color:#fff on the select, every option was white-on-white and the list
     looked empty. `color-scheme:dark` has to sit on the SELECT (inheriting it
     from .dform is not enough), and the explicit option colors are the belt to
     that brace on platforms that ignore color-scheme. */
  .ffields select{ color-scheme:dark; }
  .ffields select option{ background:#20231E; color:#fff; }
  .ffields textarea{ resize:vertical; }
  .ffields input::placeholder,.ffields textarea::placeholder{ color:#7d857e; }
  .ffields input:focus,.ffields select:focus,.ffields textarea:focus{
            outline:2px solid var(--ethereal); outline-offset:1px;
            border-color:transparent; }
  /* A field flagged by validation. `.bad` is set in JS, not :invalid, so the
     form does not go red before anyone has typed anything. */
  .ffields .bad input,.ffields .bad select,.ffields .bad textarea,
  .ffields input.bad,.ffields select.bad,.ffields textarea.bad{
            border-color:#d98b80; background:rgba(217,139,128,.09); }
  .hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
  .factions{ display:flex; flex-wrap:wrap; align-items:center; gap:14px 22px;
             margin-top:26px; }
  .fnote{ margin:0; font-size:13.5px; color:#8e968f; max-width:46ch; }
  .fnote.err{ color:#e8a99f; }
  .fdone h4{ margin:0; font-family:"Bodoni Moda",Didot,"Times New Roman",serif;
             font-weight:400; font-size:clamp(21px,2.5vw,27px); color:#fff; }
  .fdone p{ margin:10px 0 18px; color:#b6bdb7; font-size:15.5px; max-width:62ch; }
  .fdone b{ color:#fff; font-weight:600; }
  .fdone textarea{ width:100%; background:rgba(255,255,255,.06);
                   border:1px solid rgba(255,255,255,.2); color:#fff;
                   font:14px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
                   padding:14px; border-radius:2px; resize:vertical; }
  .fdoneact{ display:flex; flex-wrap:wrap; gap:12px; margin-top:16px; }
  @media (max-width:640px){ .ffields{ grid-template-columns:minmax(0,1fr); } }

  /* ---------- strip divider ---------- */
  /* `../img/` — see the note on .hero .bg. Relative to this file, not the page. */
  .divider{ height:84px; background-image:url("../img/strip.jpg");
            background-image:image-set(url("../img/strip.webp") type("image/webp"),
                                       url("../img/strip.jpg")  type("image/jpeg"));
            background-size:cover; background-position:center; }

  footer{ background:var(--darker); color:#848b85; font-size:13.5px; padding:56px 0 36px; }
  footer .fmark{ height:46px; width:auto; opacity:.85; margin-bottom:32px; }
  footer .fl{ display:flex; flex-wrap:wrap; gap:14px 32px;
              justify-content:space-between; border-top:1px solid rgba(255,255,255,.08);
              padding-top:26px; }
  /* Installation guides in the footer, reachable from every page. The QR codes
     printed on the cartons land on these pages, so an installer who scanned
     once and came back to the site has to be able to find them again without
     digging through #specs. */
  footer .flinks{ display:flex; flex-wrap:wrap; gap:26px 64px; padding-bottom:28px; }
  footer .fgroup{ display:flex; flex-direction:column; align-items:flex-start; gap:7px;
                  min-width:0; }
  footer .flinks a{ color:#cfd5cf; text-decoration:none;
                    border-bottom:1px solid rgba(207,213,207,.35); padding-bottom:2px; }
  footer .flinks a:hover{ color:#fff; border-bottom-color:#fff; }
  footer .flinks b{ color:#848b85; font-weight:600;
                    font-size:11px; letter-spacing:.14em; text-transform:uppercase; }

  /* ---------- lightbox ---------- */
  .lb{ position:fixed; inset:0; z-index:70; display:none; align-items:center;
       justify-content:center; background:rgba(14,16,15,.96); padding:30px; }
  .lb[open]{ display:flex; }
  .lb img{ max-width:100%; max-height:86vh; width:auto; height:auto; }
  .lb .cap{ position:absolute; left:0; right:0; bottom:22px; text-align:center;
            color:#b6bdb7; font-size:13px; letter-spacing:.1em;
            text-transform:uppercase; padding:0 70px; }
  .lb button{ position:absolute; background:transparent; color:#fff;
              border:1px solid rgba(255,255,255,.28); width:46px; height:46px;
              font-size:20px; line-height:1; cursor:pointer;
              transition:background .2s var(--ease); }
  .lb button:hover{ background:rgba(255,255,255,.14); }
  .lb .x{ top:24px; right:24px; }
  .lb .prev{ left:24px; top:50%; margin-top:-23px; }
  .lb .next{ right:24px; top:50%; margin-top:-23px; }
  @media (max-width:620px){ .lb{ padding:12px; } .lb .prev{ left:8px; }
                            .lb .next{ right:8px; } .lb .cap{ padding:0 14px; } }

  /* ---------- spec comparison tables (/specs/) ----------
     Ethan, 2026-11-10: "the specs page is very barren and does not highlight
     the specs of each line." It carried no per-line number at all — the whole
     job of the page is letting a dealer compare 6 mm / 3/8" / 1/2" / 3/4"
     at a glance, so the comparison grid IS the page now.

     ⚠️ font-variant-numeric:tabular-nums is load-bearing. Dropping IBM Plex
        Mono (two faces brand-wide) cost these columns their tabular figures;
        this is what replaces them. Remove it and the dimensions go ragged.
     ⚠️ An em-dash in a cell means NOT PUBLISHED, not "none" — several Apex
        figures are genuinely unsettled. Never fill one in by inference. */
  .spectable{ margin-top:50px; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  /* On the SPLIT page strip_head() removes the section's own eyebrow/h2/lead —
     they are promoted into the dark .pagehead band — so the table becomes the
     first thing in the wrap and its 50px would sit on top of the section's own
     padding as one ~180px hole. On the one-page site the heading is still
     there and the 50px is correct. This rule covers both. */
  .spectable:first-child{ margin-top:0; }
  .spectable table{ border-collapse:collapse; width:100%; min-width:740px;
                    font-size:14.5px; font-variant-numeric:tabular-nums; }
  .spectable th,
  .spectable td{ text-align:left; vertical-align:top; padding:14px 20px 13px 0;
                 border-bottom:1px solid var(--line); }
  .spectable thead th{ border-bottom:1px solid var(--ink); padding-bottom:15px;
                       vertical-align:bottom; }
  .spectable thead .nm{ display:block; font-family:"Bodoni Moda",Didot,
                        "Times New Roman",serif; font-weight:400; font-size:24px;
                        line-height:1.1; color:var(--ink); }
  .spectable thead .tier{ display:block; margin-top:7px; font-size:10.5px;
                          font-weight:600; letter-spacing:.2em;
                          text-transform:uppercase; color:var(--taiga); }
  .spectable th[scope=row]{ font-weight:500; font-size:11.5px; letter-spacing:.13em;
                            text-transform:uppercase; color:var(--muted);
                            white-space:nowrap; padding-right:34px; }
  .spectable td{ color:var(--ink); }
  .spectable td .sub{ display:block; color:var(--muted); font-size:13px;
                      letter-spacing:0; }
  .spectable .na{ color:var(--faint); }
  .spectable tbody tr:last-child th,
  .spectable tbody tr:last-child td{ border-bottom:0; }
  .spectable .use td{ font-size:13.5px; color:var(--body); line-height:1.55; }
  /* The row label stays put while the four columns scroll under it — without
     this, a phone user scrolled to the Apex column has no idea which row they
     are reading. */
  @media (max-width:860px){
    .spectable th[scope=row],
    .spectable thead th:first-child{ position:sticky; left:0; z-index:1;
                                     background:var(--bg); padding-right:20px; }
  }
  .specnote{ margin-top:20px; font-size:13.5px; line-height:1.65;
             color:var(--muted); max-width:52rem; }
  .specnote b{ color:var(--body); font-weight:600; }
  .spechead{ margin-top:78px; }
  .spechead h3{ font-size:22px; font-family:"Bodoni Moda",Didot,
                "Times New Roman",serif; font-weight:400; }
  .spechead p{ margin-top:12px; font-size:15.5px; max-width:52rem; }
