/* =========================================================
   NOLAVU 3D Studio — Homepage V0.1  VISUAL CALIBRATION
   Premium Creative Craft Tool Studio × Small-Batch Development

   Calibration basis: research/out/measurements.json (10 sites, CDP computed styles)
   - radius 0px dominant (22/36 card samples), shadow:none dominant (28/36)
   - Hero h1 45–57.6px, section title 31–44px, body 15–18px
   - header 64–159px desktop
   Deliberately NOT copied: any competitor colour, logo, copy, image, illustration.
   ========================================================= */

:root{
  /* Surfaces — warm off-white */
  --bg:            #FBF9F5;
  --bg-warm:       #F5F1E8;   /* warm section band */
  --bg-deep:       #EFEAE0;   /* deepest band */
  --surface:       #FFFFFF;

  /* Ink */
  --ink:           #16150F;   /* near black */
  --ink-soft:      #403D35;
  --muted:         #7C776B;   /* neutral grey */
  --line:          #E6E1D6;
  --line-soft:     #EFEBE1;
  --line-strong:   #D6D0C2;

  /* PROVISIONAL BRAND ACCENT — NOT a permanent brand colour.
     Final accent must be re-checked for visual conflict once the real
     hero product photography (REAL-01) is supplied. */
  --accent:        #6E8F7D;
  --accent-deep:   #57785F;
  --accent-mist:   #E8EEEA;

  --shell:  1280px;

  /* Restrained Corners — 0–4px, chosen per component type.
     Not a blanket "0px = premium" rule.
       0px : large image fields, full-bleed bands, flow captions
       2px : buttons, nav toggle, small tags  (--r)
       3px : card-scale interactive blocks
       4px : nothing at present; ceiling is 4px                     */
  --r:  2px;   /* buttons, controls */
  --r-img: 0px;   /* imagery — crisp, no rounding */
  --r-tag: 1px;   /* small labels */

  --ease: cubic-bezier(.22,.61,.36,1);
  --lift: 14px;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'PingFang SC','Microsoft YaHei',sans-serif;
  font-size:17px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3{ margin:0; font-weight:600; letter-spacing:-0.022em; line-height:1.14; color:var(--ink); }
p{ margin:0; }
a{ color:inherit; }
img{ max-width:100%; display:block; }

.shell{ width:100%; max-width:var(--shell); margin:0 auto; padding:0 40px; }
.shell-narrow{ max-width:920px; }

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:300;
  background:var(--ink); color:#fff; padding:12px 18px; font-size:14px;
}
.skip-link:focus{ left:0; }

/* ============ 1. HEADER — 76px, industry median 64–159 ============ */
/* Flat warm surface, no backdrop blur — a translucent blurred bar is a
   SaaS-template tell this site must not have. Three zones: brand,
   information, action, so the wordmark reads first and the CTA last. */
.site-header{
  position:sticky; top:0; z-index:100;
  background:var(--bg);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:grid;
  grid-template-columns:minmax(0,auto) minmax(0,1fr) minmax(0,auto);
  align-items:center; gap:32px; min-height:76px;
}

.logo{ display:flex; flex-direction:column; line-height:1.04; text-decoration:none; flex-shrink:0; }
.logo-line-1{ font-size:19px; font-weight:600; letter-spacing:-0.015em; }
.logo-line-2{ font-size:10.5px; font-weight:500; letter-spacing:.19em; text-transform:uppercase; color:var(--muted); margin-top:3px; }
.header-actions{ display:flex; align-items:center; gap:14px; justify-content:flex-end; }
.header-actions .btn-primary{
  background:transparent; color:var(--ink);
  border:1px solid var(--line-strong);
}
.header-actions .btn-primary:hover{
  background:var(--ink); color:var(--bg); border-color:var(--ink);
}

.main-nav{ display:flex; align-items:center; gap:34px; justify-content:center; }
.main-nav a{
  position:relative; text-decoration:none; font-size:15px; font-weight:450;
  color:var(--ink-soft); padding:6px 0;
  transition:color .2s var(--ease);
}
.main-nav a::after{
  content:''; position:absolute; left:0; bottom:0; width:100%; height:1px;
  background:var(--accent); transform:scaleX(0); transform-origin:left;
  transition:transform .28s var(--ease);
}
.main-nav a:hover{ color:var(--ink); }
.main-nav a:hover::after{ transform:scaleX(1); }

.header-actions{ display:flex; align-items:center; gap:14px; }

.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:48px; height:48px; padding:0; cursor:pointer;
  background:transparent; border:1px solid var(--line-strong); border-radius:var(--r);
}
.nav-toggle span{
  display:block; width:18px; height:1.5px; margin:0 auto; background:var(--ink);
  transition:transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg); }

/* ============ Buttons — 52px tap target ============ */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  min-height:52px; padding:0 30px;
  font-size:15.5px; font-weight:500; letter-spacing:-0.005em;
  text-decoration:none; white-space:nowrap; cursor:pointer;
  border-radius:var(--r); border:1px solid transparent;
  transition:background-color .2s var(--ease), color .2s var(--ease),
             border-color .2s var(--ease), transform .18s var(--ease);
}
/* Header CTA: min-height raised 44px → 48px for tap-target compliance
   (applies site-wide, desktop / tablet / mobile). Colour, font and
   wording are unchanged. Horizontal padding is compensated so the
   button keeps the same visual weight. */
.btn-sm{ min-height:48px; padding:0 22px; font-size:14.5px; }

.btn-primary{ background:var(--accent); color:#fff; }
.btn-primary:hover{ background:var(--accent-deep); transform:translateY(-1px); }

.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--line-strong); }
.btn-ghost:hover{ border-color:var(--ink); transform:translateY(-1px); }

.link-arrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:15.5px; font-weight:500; color:var(--ink);
  text-decoration:none; padding:8px 0 8px;
  border-bottom:1px solid var(--line-strong);
  transition:border-color .2s var(--ease), color .2s var(--ease), gap .22s var(--ease);
}
.link-arrow:hover{ border-color:var(--accent); color:var(--accent-deep); gap:13px; }

/* ============ Section rhythm — measured 500–700px desktop ============ */
.section{ padding:112px 0; }
.section-band{ background:var(--bg-warm); }
.section-band-deep{ background:var(--bg-deep); }

.section-head{ max-width:760px; margin-bottom:60px; }
.section-title{ font-size:clamp(32px,3.9vw,46px); }
.section-supporting{ margin-top:22px; font-size:17.5px; color:var(--muted); max-width:60ch; }

/* eyebrow — replaces centred headings with left-aligned editorial markers */
.eyebrow{
  display:flex; align-items:center; gap:12px;
  font-size:11.5px; font-weight:600; letter-spacing:.16em; text-transform:uppercase;
  color:var(--muted); margin-bottom:24px;
}
.eyebrow::after{ content:''; height:1px; width:52px; background:var(--line-strong); }

/* ============ Placeholders — sized as final layout ============ */
/* =========================================================
   HERO SECONDARY CTA — MOBILE ONLY
   ------------------------------------------------------------
   Measured at 390px: the secondary link was 15.5px, exactly the
   primary's size, with its own border-bottom, so a full-width accent
   button sat directly above an underlined line of equal weight. The
   approved benchmark (Mini Fuse hero) carries a single CTA and has no
   such conflict.

   Below 880px the secondary becomes a compact text link: smaller type,
   no rule, 18px from the primary, and the image follows immediately
   after it. The anchor keeps a 48px tap height via padding, so the
   touch floor is unchanged. Desktop is not affected — every rule here
   is inside the max-width:880px block.
   ========================================================= */
@media (max-width:880px){
  .hero .hero-actions,
  .page-hero .hero-actions{
    flex-direction:column; align-items:flex-start;
    gap:18px; margin-top:28px;
  }
  .hero .hero-actions .btn,
  .page-hero .hero-actions .btn{ width:100%; }
  .hero .hero-actions .link-arrow,
  .page-hero .hero-actions .link-arrow{
    font-size:14px; font-weight:500; color:var(--ink-soft);
    /* the rule is what made it read as a second component */
    border-bottom:0;
    /* padding keeps the tap target at 48px while the type stays small */
    padding:14px 0; margin-top:-6px;
    gap:6px;
  }
  .hero .hero-actions .link-arrow:hover,
  .page-hero .hero-actions .link-arrow:hover{
    color:var(--accent-deep); gap:9px;
  }
  /* close the gap between the link and the image below it */
  .hero-visual{ margin-top:26px; }
}

/* =========================================================
   SECTION RHYTHM — the anti-template layer
   ------------------------------------------------------------
   Measured problem: every section on every page used identical
   values — 112px vertical padding, a 46px H2, and an eyebrow on
   100% of them. Scrolling then read as the same rectangle over
   and over, which is what makes a site look generated.

   This does not add components. It introduces four *rhythm
   levels* so consecutive sections differ in scale and density
   without changing a single word of copy.

   level-lead    a statement section — quieter heading, more air
   level-std     the default working level
   level-dense   information-heavy — tighter, smaller heading
   level-quiet   a breathing pause, deliberately almost empty
   ========================================================= */

/* --- vertical padding ladder (was: 112px everywhere) --- */
.section{ padding:104px 0; }
.section-level-lead{ padding:132px 0; }
.section-level-dense{ padding:84px 0; }
.section-level-quiet{ padding:72px 0; }

/* --- heading scale ladder (was: 46px everywhere) --- */
.section-title{ font-size:clamp(31px,3.5vw,42px); }
.section-level-lead .section-title{ font-size:clamp(34px,4.1vw,50px); max-width:20ch; }
.section-level-dense .section-title{ font-size:clamp(27px,2.9vw,34px); letter-spacing:-0.022em; }
.section-level-quiet .section-title{ font-size:clamp(25px,2.5vw,30px); color:var(--ink-soft); }

/* --- head spacing also varies, not a single 60px --- */
.section-head{ margin-bottom:56px; }
.section-level-lead .section-head{ margin-bottom:72px; }
.section-level-dense .section-head{ margin-bottom:40px; }
.section-level-quiet .section-head{ margin-bottom:32px; }

/* --- eyebrow density ---
   The rule after the label is a nice touch, but drawing it on
   all 43 sections made the label read as a template stamp. On
   dense and quiet levels it is dropped; on lead level it is
   allowed to sit wider so the scale change is felt.          */
.section-level-dense .eyebrow,
.section-level-quiet .eyebrow{ margin-bottom:16px; }
.section-level-dense .eyebrow::after{ display:none; }
.section-level-lead .eyebrow{ margin-bottom:28px; }
.section-level-lead .eyebrow::after{ width:84px; }

/* --- supporting copy width varies with the level --- */
.section-supporting{ max-width:58ch; }
.section-level-lead .section-supporting{ font-size:18.5px; max-width:52ch; }
.section-level-dense .section-supporting{ font-size:16.5px; max-width:64ch; margin-top:18px; }

/* --- a side-by-side head: title left, intro right ---
   Breaks the "stacked label + headline + paragraph" shape that
   otherwise repeats on every single section.                  */
.section-head-split{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:56px; align-items:end; max-width:none;
}
.section-head-split .section-title{ margin-bottom:0; }
.section-head-split .section-supporting{ margin-top:0; padding-bottom:4px; }
@media (max-width:880px){
  .section-head-split{ grid-template-columns:1fr; gap:20px; align-items:start; }
  .section-head-split .section-supporting{ padding-bottom:0; }
}

/* --- a narrow measure head for list-led sections ---
   Product-gap style insights read better in a tight column than
   stretched across the full shell.                           */
.section-head-narrow{ max-width:640px; }
.section-head-narrow .section-title{ max-width:22ch; }

.ph{
  position:relative; overflow:hidden;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:9px; text-align:center; padding:22px;
  background:
    repeating-linear-gradient(135deg,rgba(22,21,15,.026) 0 1px,transparent 1px 10px),
    var(--bg-warm);
  border:1px dashed var(--line-strong);
  border-radius:var(--r-img);   /* imagery stays crisp — 0px */
}
.ph-tag{
  font-size:10px; font-weight:600; letter-spacing:.13em; text-transform:uppercase;
  color:var(--accent-deep); background:var(--surface);
  border:1px solid var(--accent-mist); padding:5px 10px; border-radius:var(--r-tag);
  /* keeps the ID readable when the tile is only ~164px wide */
  max-width:100%; line-height:1.35;
}
.ph-note{ font-size:12.5px; color:var(--muted); max-width:24ch; line-height:1.5; }

/* ============ 2. HERO — 42/58 split, product 58% ============ */
.hero{ padding:76px 0 108px; }
.hero-grid{
  display:grid; grid-template-columns:minmax(0,44fr) minmax(0,56fr);
  gap:60px; align-items:center;
}
/* 60px over 5 lines was too fragmented; 54px keeps the 48–60 band
   while holding the headline to 3–4 lines at this measure. */
.hero-title{ font-size:clamp(36px,3.9vw,54px); letter-spacing:-0.03em; font-weight:600; }
.hero-sub{ margin-top:26px; font-size:18px; line-height:1.62; color:var(--ink-soft); max-width:42ch; }
.hero-supporting{ margin-top:16px; font-size:15.5px; color:var(--muted); max-width:44ch; }
.hero-actions{ margin-top:40px; display:flex; align-items:center; flex-wrap:wrap; gap:22px 30px; }

.hero-visual{ position:relative; }
/* 4:3 rather than 1:1 — real product photography of trays and bead
   tools is horizontal, and a square would crop it or leave dead space. */
.ph-hero{ aspect-ratio:4/3; }
.hero-visual::after{
  content:''; position:absolute; left:-18px; top:-18px; width:120px; height:120px;
  border-top:1px solid var(--accent-mist); border-left:1px solid var(--accent-mist);
  pointer-events:none;
}

/* ============ 3. PRODUCT CATEGORIES — 2 col, image 62–68% ============ */
.product-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px; }

.product-card{ display:flex; flex-direction:column; }
/* image 1:1 = 64% of a 4:3.28 card; use 5:4 for a taller editorial crop */
.ph-card{ aspect-ratio:5/4; }
.product-card .card-body{ padding:32px 0 0; display:flex; flex-direction:column; flex:1; }
.card-title{ font-size:24px; letter-spacing:-0.018em; }
.card-text{ margin-top:14px; font-size:16.5px; line-height:1.68; color:var(--ink-soft); max-width:46ch; }

.tag-list{ list-style:none; margin:24px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:0 10px; }
.tag-list li{
  font-size:12.5px; font-weight:450; color:var(--muted);
  border-bottom:1px solid var(--line-strong); padding:0 0 3px; margin-right:10px;
}
.card-body .link-arrow{ margin-top:28px; align-self:flex-start; }

/* ============ 4. VALUE — asymmetric 3-col, no card boxes ============ */
.value-grid{
  display:grid; grid-template-columns:1.15fr 1fr 1fr; gap:0;
  border-top:1px solid var(--line-strong);
}
.value-item{ padding:44px 44px 46px 0; border-bottom:1px solid var(--line); }
.value-item:not(:last-child){ border-right:1px solid var(--line); }
.value-item:not(:first-child){ padding-left:44px; }
.value-num{
  display:block; font-size:12px; font-weight:600; letter-spacing:.12em;
  color:var(--accent-deep); margin-bottom:18px;
}
.value-title{ font-size:21px; }
.value-text{ margin-top:16px; font-size:16.5px; line-height:1.7; color:var(--ink-soft); }

/* ============ 5. REAL PRODUCT PROOF — editorial grid ============
   Layout: one large lead image on the left, three supporting images
   stacked on the right.

   Two earlier attempts were measured and rejected:
     - lead beside a 3-deep right column  -> 1,602px (column too tall)
     - wide 2:1 lead over a row of 3     -> 1,382px (600px lead dominates)
   This version keeps the supporting column at 16:10 each, so the row
   height is set by the lead's 3:2 rather than by three stacked images. */
.proof-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr;
  grid-template-areas:
    "lead s1"
    "lead s2"
    "lead s3";
  gap:20px;
  align-items:start;
}
.proof-lead{ grid-area:lead; }
.proof-s1{ grid-area:s1; }
.proof-s2{ grid-area:s2; }
.proof-s3{ grid-area:s3; }

.proof-item{ margin:0; display:flex; flex-direction:column; min-width:0; }
/* Supporting column is three images deep, so each one is deliberately
   wide (2:1). At 16:10 the stack measured 1,074px and set the section
   height; 2:1 brings the stack to ~740px, below the 3:2 lead. */
.ph-proof{ aspect-ratio:12/5; }
.proof-lead .ph-proof{ aspect-ratio:3/2; }
.proof-cap{
  margin-top:12px; font-size:13.5px; font-weight:500; color:var(--ink-soft);
  letter-spacing:-0.005em; line-height:1.4;
}
.proof-cap span{ display:block; margin-top:2px; font-size:12px; font-weight:400; color:var(--muted); }

/* Proof carries four images. Reduced band padding and a tighter head
   keep the section near one desktop viewport. */
.section-band-tight{ padding-top:72px; padding-bottom:72px; }
.section-band-tight .section-head{ margin-bottom:34px; }
.section-band-tight .eyebrow{ margin-bottom:18px; }
.section-band-tight .section-supporting{ margin-top:16px; }

/* =========================================================
   EVIDENCE PLACEHOLDER — an intentional slot, not an error
   ------------------------------------------------------------
   The requirement is that a reader can tell at a glance that a real
   photograph will sit here later. So: a quiet warm surface, a
   hairline rather than a dashed debug border, a stable ratio, and
   the label set small and deliberate. No red, no warning styling.
   ========================================================= */
.ph{
  border:1px solid var(--line-strong);
  border-radius:var(--r-img);
  background:
    linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0) 60%),
    var(--bg-warm);
}
.ph-tag{
  font-size:9.5px; font-weight:600; letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--ink-soft);
  background:rgba(255,255,255,.9);
  border:1px solid var(--line-strong);
  padding:6px 11px; border-radius:1px;
  max-width:100%; line-height:1.35;
}
.ph-note{
  font-size:12.5px; color:var(--muted);
  max-width:26ch; line-height:1.5; text-align:center;
}
/* a small corner mark reads as "slot", not as "broken" */
.ph::before{
  content:''; position:absolute; top:10px; left:10px;
  width:14px; height:1px; background:var(--line-strong);
  box-shadow:0 0 0 0 transparent;
}

/* ============ TEMP / DEMO VISUAL MODE (concept preview) ============
   These are NOT NOLAVU products and NOT production proof. They exist
   only so the layout can be judged at close-to-final visual fidelity
   while the real photography is still missing.

   The <img> is always in the DOM; it is only revealed when
   SITE_CONFIG.visual.demoAssetsEnabled is true. When the flag is off the
   placeholder chrome shows through, so no HTML needs editing.          */

/* hidden by default — the flag decides */
.demo-img{ display:none; }

.ph.is-demo{ padding:0; border-style:solid; border-color:var(--line); background:var(--bg-warm); }
.ph.is-demo .demo-img{
  display:block; width:100%; height:100%;
  object-fit:cover; object-position:50% 50%;
}
.ph.is-demo .ph-tag,
.ph.is-demo .ph-note{ display:none; }


/* ---- real integrated imagery (B.3-B) - same box model as .is-demo ---- */
.ph.has-img{ padding:0; border-style:solid; border-color:var(--line); background:var(--bg-warm); }
.ph.has-img .ph-img{
  display:block; width:100%; height:100%;
  object-fit:cover; object-position:50% 50%;
}

/* A small, honest marker. It must not read as "real product photo". */
.ph.is-demo::after{
  content:"CONCEPT PREVIEW";
  position:absolute; left:10px; bottom:10px; z-index:2;
  font-size:9.5px; font-weight:600; letter-spacing:.14em;
  padding:4px 8px; border-radius:1px;
  color:var(--accent-deep); background:rgba(255,255,255,.86);
  border:1px solid var(--accent-mist);
  pointer-events:none;
}

/* ============ 6. PROCESS — horizontal, 5 steps ============ */
/* PROCESS — a sequence, not five icon cards.
   The number is the anchor: set large and quiet it becomes the visual
   anchor instead of a small coloured caption, and the connecting rule
   runs behind the numbers rather than between boxes. */
.process-track{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(5,minmax(0,1fr));
  border-top:1px solid var(--line-strong);
}
.process-step{ position:relative; padding:34px 30px 30px 0; border-bottom:1px solid var(--line); }
.process-step:last-child{ padding-right:0; }
.process-step::after{
  content:''; position:absolute; top:-1px; left:0; width:44px; height:2px; background:var(--accent);
}
.step-index{
  display:block; font-size:34px; font-weight:600; line-height:1;
  letter-spacing:-0.03em; color:var(--line-strong);
  transition:color .3s var(--ease);
}
.process-step:hover .step-index{ color:var(--accent); }
.step-name{
  display:block; margin-top:16px; font-size:17px; font-weight:500;
  color:var(--ink); line-height:1.38; letter-spacing:-0.012em; max-width:22ch;
}
@media (max-width:880px){
  .process-track{ grid-template-columns:1fr; border-top:0; }
  .process-step{ padding:0 0 26px 34px; border-bottom:0; }
  .process-step::before{
    content:''; position:absolute; left:0; top:8px; bottom:-8px;
    width:1px; background:var(--line-strong);
  }
  .process-step:last-child::before{ display:none; }
  .process-step:last-child{ padding-bottom:0; }
  .process-step::after{
    top:6px; left:0; width:9px; height:9px; border-radius:50%; background:var(--accent);
  }
  .step-index{ font-size:14px; letter-spacing:.1em; }
  .step-name{ margin-top:7px; font-size:17px; max-width:none; }
}

/* ============ 7. WHO — 3 items, borderless editorial ============ */
.who-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; border-top:1px solid var(--line-strong); }
.who-item{ padding:48px 44px 0 0; }
.who-item:not(:first-child){ padding-left:44px; border-left:1px solid var(--line); }
.who-num{ display:block; font-size:12px; letter-spacing:.12em; color:var(--muted); margin-bottom:16px; }
.who-title{ font-size:23px; letter-spacing:-0.018em; }

/* ============ 8. PRODUCTION — 1 lead + 4 support ============ */
.support-list{
  list-style:none; margin:40px 0 0; padding:0;
  display:flex; flex-wrap:wrap; gap:0 28px;
}
.support-list li{
  position:relative; font-size:16px; font-weight:450; color:var(--ink-soft);
  padding-left:18px;
}
.support-list li::before{
  content:''; position:absolute; left:0; top:12px;
  width:6px; height:1px; background:var(--accent);
}

/* Evidence block: one lead + a 2x2 pair, kept inside a single band.
   The previous version set the lead at 4:3 (528px) beside a 2x2 of 1:1
   tiles, so the two columns plus the caption row reached ~1,185px.
   Flatter tiles let the lead and the pair resolve to one row height. */
.production-media{
  margin-top:44px;
  display:grid; grid-template-columns:1.62fr 1fr; gap:20px;
  align-items:start;
}
.media-lead .ph-media{ aspect-ratio:16/10; }
.media-pair{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.media-pair .ph-media{ aspect-ratio:4/3; }
/* Flow strip reads as one sequence and stays a caption row, not a
   sixth image slot. Tight padding keeps the section compact. */
.media-flow{
  margin-top:24px; padding-top:18px;
  border-top:1px solid var(--line);
  display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:20px;
  align-items:start;
}
.flow-cap{
  font-size:12px; font-weight:600; letter-spacing:.13em; text-transform:uppercase;
  color:var(--muted); margin-bottom:9px;
}
.flow-arrow{
  font-size:13px; color:var(--accent); margin-top:11px; letter-spacing:.06em;
}

/* ============ 9. FINAL CTA ============ */
.cta-panel{ padding:0; border:0; background:transparent; }
.cta-actions{ margin-top:40px; display:flex; flex-wrap:wrap; gap:14px; }
.cta-note{
  margin-top:32px; font-size:14px; color:var(--muted); max-width:58ch;
  border-top:1px solid var(--line); padding-top:22px;
}

/* ============ 10. FOOTER ============ */
.site-footer{ border-top:1px solid var(--line); background:var(--bg-warm); padding:76px 0 40px; }
.footer-inner{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,.55fr) minmax(0,.75fr) auto;
  gap:48px; align-items:start;
}
.footer-brand{ min-width:0; }
.footer-name{ font-size:17px; font-weight:600; letter-spacing:-0.01em; }
.footer-tagline{ margin-top:12px; font-size:14.5px; color:var(--muted); max-width:38ch; line-height:1.7; }
.footer-col-title{
  font-size:11px; font-weight:600; letter-spacing:.15em; text-transform:uppercase;
  color:var(--muted); margin-bottom:18px;
}
.footer-nav{ display:flex; flex-direction:column; gap:12px; }
.footer-nav a{
  font-size:15px; color:var(--ink-soft); text-decoration:none;
  transition:color .2s var(--ease);
}
.footer-nav a:hover{ color:var(--accent-deep); }
.footer-contact{ display:flex; flex-direction:column; gap:10px; }
.footer-contact a{ font-size:15px; color:var(--ink-soft); text-decoration:none; word-break:break-word; }
.footer-contact a:hover{ color:var(--accent-deep); }
.footer-location{ font-size:14.5px; color:var(--muted); white-space:nowrap; }
.footer-base{
  margin-top:56px; padding-top:26px;
  border-top:1px solid var(--line);
  display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap;
  font-size:13px; color:var(--muted);
}

/* the title was inline, so the label and the value shared a line while
   every other column stacked. Same markup, block-level children. */
.footer-location{ display:flex; flex-direction:column; align-items:flex-start; }
.footer-location .footer-col-title{ display:block; }

/* ============ Reveal — fade + 14px up only ============ */
/* Reveal is progressive enhancement.
   The hidden state only applies once JS has confirmed it can reveal
   again, so the page stays fully readable when JavaScript is off. */
.js .reveal{
  opacity:0; transform:translateY(var(--lift));
  transition:opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible{ opacity:1; transform:none; }
/* No-JS (or JS failed): content is simply visible. */
.reveal{ opacity:1; transform:none; }

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
  *{ animation:none !important; transition-duration:.01ms !important; }
}

/* ============ Tablet ============ */
@media (max-width:1180px){
  .shell{ padding:0 32px; }
  .section{ padding:92px 0; }
  .hero{ padding:60px 0 88px; }
  .hero-grid{ grid-template-columns:minmax(0,48fr) minmax(0,52fr); gap:44px; }
  .product-grid{ gap:32px; }
  .value-item{ padding:38px 32px 40px 0; }
  .value-item:not(:first-child){ padding-left:32px; }
  .who-item{ padding:42px 32px 0 0; }
  .who-item:not(:first-child){ padding-left:32px; }
  .production-media{ grid-template-columns:1.4fr 1fr; gap:18px; }
  .media-pair{ gap:18px; }
  .media-flow{ grid-template-columns:repeat(3,minmax(0,1fr)); row-gap:22px; }
  .footer-inner{ grid-template-columns:1fr 1fr; gap:36px; }
  .footer-location{ text-align:left; }
}

/* ============ Mobile — re-typeset, not a shrink ============ */
@media (max-width:880px){
  .shell{ padding:0 24px; }
  body{ font-size:16.5px; }

  .nav-toggle{ display:flex; }
  .header-actions .btn{ display:none; }
  .main-nav{
    position:absolute; left:0; right:0; top:100%;
    flex-direction:column; align-items:stretch; gap:0;
    background:var(--bg); border-bottom:1px solid var(--line);
    padding:6px 24px 20px; display:none;
  }
  .main-nav.is-open{ display:flex; }
  .main-nav a{ padding:17px 0; font-size:16.5px; border-bottom:1px solid var(--line-soft); }
  .main-nav a::after{ display:none; }
  .main-nav a:last-child{ border-bottom:0; }

  .section{ padding:64px 0; }
  .section-head{ margin-bottom:36px; }
  .section-band-tight{ padding-top:60px; padding-bottom:60px; }
  .section-band-tight .section-head{ margin-bottom:32px; }
  .section-title{ font-size:clamp(27px,7.4vw,34px); }
  .section-supporting{ margin-top:18px; font-size:16.5px; }

  /* Hero mobile: Headline → Subheadline → CTA → Product Image.
     Image stays large (92% viewport) per DAC 97% / PaintGem 100%. */
  .hero{ padding:40px 0 76px; }
  .hero-grid{ grid-template-columns:1fr; gap:38px; }
  .hero-title{ font-size:clamp(31px,8.4vw,42px); }
  .hero-sub{ margin-top:20px; font-size:17px; }
  .hero-supporting{ margin-top:14px; font-size:15px; }
  .hero-actions{ margin-top:32px; gap:16px 24px; }
  .hero-actions .btn{ width:100%; }
  .hero-visual{ order:4; }
  .ph-hero{ aspect-ratio:4/3; }
  .hero-visual::after{ display:none; }

  .product-grid{ grid-template-columns:1fr; gap:38px; }
  .ph-card{ aspect-ratio:5/4; }
  .product-card .card-body{ padding:26px 0 0; }
  .card-title{ font-size:21px; }

  .value-grid{ grid-template-columns:1fr; }
  .value-item{ padding:26px 0 28px; border-right:0 !important; }
  .value-item:not(:first-child){ padding-left:0; }

  /* Proof: lead stays large on top, 3 supporting beneath it.
     Areas are reset so the mobile flow reads top-to-bottom. */
  .proof-grid{
    grid-template-columns:1fr 1fr;
    grid-template-areas:
      "lead lead"
      "s1   s2"
      "s3   s3";
    gap:16px;
  }
  .proof-lead .ph-proof{ aspect-ratio:4/3; }
  /* 3:2 rather than 1:1 — three stacked squares made the mobile proof
     block 1,939px, which is more than two full screens of scrolling. */
  .ph-proof{ aspect-ratio:16/10; }
  .proof-s3 .ph-proof{ aspect-ratio:16/9; }

  .who-grid{ grid-template-columns:1fr; }
  .who-item{ padding:26px 0 28px; border-left:0 !important; border-bottom:1px solid var(--line); }
  .who-item:not(:first-child){ padding-left:0; }

  .support-list{ flex-direction:column; gap:10px; margin-top:32px; }
  .media-flow{ grid-template-columns:1fr 1fr; gap:18px; margin-top:26px; padding-top:18px; }
  /* Lead stays full width; the four supporting evidence shots sit in one
     2x2 grid rather than four full-width stacked blocks. */
  .production-media{ grid-template-columns:1fr; gap:18px; margin-top:32px; }
  .media-pair{ gap:14px; }
  .media-lead .ph-media{ aspect-ratio:16/9; }
  .media-pair .ph-media{ aspect-ratio:4/3; }
  .flow-cap{ margin-bottom:6px; }
  .flow-arrow{ margin-top:8px; }

  .cta-actions{ flex-direction:column; }
  .cta-actions .btn{ width:100%; }

  .footer-inner{ grid-template-columns:1fr; gap:32px; }
}

@media (max-width:420px){
  /* Proof keeps its 2-up supporting grid down to the narrowest phones.
     Forcing one column here stacked four images vertically and made
     the mobile proof block taller than two full screens. */
  .proof-grid{ gap:14px; }
  .tag-list li{ margin-right:8px; }
}
