/* ==========================================================================
   B.K. Colour Chem — Corrugated Packaging
   Palette derived from brand logo: Navy + Gold
   ========================================================================== */

:root {
  --navy:        #16233f;
  --navy-800:    #1b2c50;
  --navy-700:    #24396a;
  --gold:        #b5883c;
  --gold-600:    #a3792f;
  --gold-300:    #d9b877;
  --ink:         #1a2233;
  --muted:       #5b6577;
  --line:        #e6e2d8;
  --cream:       #faf8f3;
  --cream-2:     #f3efe6;
  --white:       #ffffff;

  --radius:      14px;
  --radius-sm:   10px;
  --shadow-sm:   0 2px 10px rgba(22, 35, 63, .06);
  --shadow-md:   0 10px 30px rgba(22, 35, 63, .10);
  --shadow-lg:   0 24px 60px rgba(22, 35, 63, .16);

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;

  --container:   1180px;
  --nav-h:       76px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(var(--container), 92%); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }

h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.12; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); letter-spacing: -.3px; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

.section-tag {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold-600);
  margin-bottom: .9rem;
}
.section-tag.centered { text-align: center; }
.section-tag.light { color: var(--gold-300); }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-lead, .section-head p:not(.section-tag) { color: var(--muted); font-size: 1.05rem; margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: .95rem;
  padding: .85rem 1.7rem; border-radius: 100px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: #fff; box-shadow: 0 8px 20px rgba(181,136,60,.28); }
.btn-primary:hover { background: var(--gold-600); box-shadow: 0 12px 26px rgba(181,136,60,.34); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-nav, .nav-links a.btn-nav { background: var(--navy); color: #fff; padding: .6rem 1.25rem; }
.btn-nav:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 1000;
  background: rgba(250, 248, 243, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.navbar.scrolled { background: rgba(250, 248, 243, .96); box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand-logo {
  width: 46px; height: 46px; flex: none; border-radius: 8px;
  background-image: url('assets/images/logo.jpg');
  background-repeat: no-repeat;
  background-size: 300%;
  background-position: 50% 38%;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.18rem; color: var(--navy); }
.brand-tag { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--ink); position: relative; transition: color .2s; }
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--gold); transition: width .25s ease;
}
.nav-links a:not(.btn):hover { color: var(--navy); }
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; display: flex; align-items: center;
  color: #fff; overflow: hidden; padding-top: var(--nav-h);
  /* 100vh on a phone is the height WITHOUT the URL bar, so the hero overflows
     the visible area on load. svh is the small (bar-visible) viewport, so the
     content always fits; older browsers keep the vh fallback above it. */
  min-height: 100vh;
  min-height: 100svh;
}
/* Layer 0 — still image. Doubles as the video poster and the fallback whenever
   the video is skipped (mobile, reduced motion, save-data) or fails to load. */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('assets/images/hero-poster.jpg');
  background-size: cover; background-position: center;
}
/* Layer 1 — video. Stays invisible until it is actually playing, so a missing
   or slow file simply leaves the still image showing. */
.hero-video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .9s ease;
}
.hero-video.playing { opacity: 1; }
/* Layer 2 — scrims, above image AND video, so the headline stays legible over both. */
.hero-scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(120deg, rgba(16,24,42,.94) 0%, rgba(22,35,63,.82) 45%, rgba(22,35,63,.55) 100%);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(1200px 600px at 80% 20%, rgba(181,136,60,.22), transparent 60%);
}
.hero-content { position: relative; z-index: 3; max-width: 760px; }
.hero .eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .24em; font-size: .78rem;
  font-weight: 600; color: var(--gold-300); margin-bottom: 1.4rem;
  padding: .4rem .9rem; border: 1px solid rgba(217,184,119,.4); border-radius: 100px;
}
.hero h1 { color: #fff; margin-bottom: 1.4rem; }
.hero-sub { font-size: 1.18rem; color: rgba(255,255,255,.86); max-width: 560px; margin-bottom: 2.2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; }
.scroll-cue span {
  display: block; width: 24px; height: 40px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; position: relative;
}
.scroll-cue span::after {
  content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--gold-300); border-radius: 4px; animation: scroll 1.6s infinite;
}
@keyframes scroll { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,14px)} }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--navy); color: #fff; }
.trust-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; padding: 2rem 0; }
.trust-item { text-align: center; border-right: 1px solid rgba(255,255,255,.12); padding: .3rem 1rem; }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-family: var(--font-serif); font-size: 1.7rem; color: var(--gold-300); }
.trust-item span { font-size: .85rem; color: rgba(255,255,255,.7); letter-spacing: .02em; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-img {
  aspect-ratio: 4/5; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  background: linear-gradient(rgba(22,35,63,.12), rgba(22,35,63,.12)),
    url('assets/images/about-boxes.jpg');
  background-size: cover; background-position: center;
}
.about-badge {
  position: absolute; bottom: -26px; right: -18px; background: var(--navy); color: #fff;
  padding: 1.3rem 1.6rem; border-radius: var(--radius); box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .9rem;
}
.about-badge .num { font-family: var(--font-serif); font-size: 2.4rem; color: var(--gold-300); line-height: 1; }
.about-badge .lbl { font-size: .82rem; color: rgba(255,255,255,.85); line-height: 1.3; }

.about-text h2 { margin-bottom: 1.1rem; }
.about-text p { color: var(--muted); margin-bottom: 1rem; }
.about-list { margin: 1.4rem 0 1.8rem; display: grid; gap: .7rem; }
.about-list li { position: relative; padding-left: 1.9rem; color: var(--ink); font-weight: 500; }
.about-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0; width: 1.3rem; height: 1.3rem;
  background: var(--gold); color: #fff; border-radius: 50%; display: grid; place-items: center;
  font-size: .75rem; font-weight: 700;
}

/* ==========================================================================
   Products
   ========================================================================== */
.products { background: linear-gradient(var(--cream), var(--cream-2)); }
/* Products sit on one horizontal rail rather than wrapping — five items read as
   a set you scan through, and nothing is stranded on a half-empty second row. */
.product-rail {
  position: relative;
  /* Distance from the page edge to where .container content starts. The rail
     sits outside .container and re-creates that inset as scroll padding, so the
     first card lines up with the heading above it while the row still runs off
     the right edge of the page. */
  --gutter: calc((100% - min(var(--container), 92%)) / 2);
}
.product-track {
  display: flex; gap: 1.8rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* top room for the hover lift, bottom for the card shadow */
  padding: 14px var(--gutter) 18px;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* old Edge */
}
.product-track::-webkit-scrollbar { display: none; }
.product-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: var(--radius); }
.product-track > .product-card { flex: 0 0 340px; scroll-snap-align: start; }

/* Arrow controls. Pointer users can't swipe, so give them a target; touch users
   get them out of the way at narrow widths. */
.rail-btn {
  position: absolute; top: 38%; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  font-size: 1.6rem; line-height: 1; padding-bottom: 4px;
  color: var(--navy); background: rgba(255,255,255,.96);
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  transition: background .2s, color .2s, transform .2s, opacity .2s;
}
.rail-btn:hover { background: var(--navy); color: #fff; transform: scale(1.06); }
.rail-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.rail-btn[hidden] { display: none; }
.rail-prev { left: calc(var(--gutter) - 22px); }
.rail-next { right: calc(var(--gutter) - 22px); }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-img { aspect-ratio: 16/11; background-size: cover; background-position: center; position: relative; }
.product-img::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(22,35,63,.18));
}
.prod-single  { background-image: url('assets/images/products/single-wall.jpg'); }
.prod-double  { background-image: url('assets/images/products/double-wall.jpg'); }
.prod-rolls   { background-image: url('assets/images/products/rolls.jpg'); }
/* INTERIM: this is the product sheet's page banner (a generic carton stack), not
   a triple-wall cross-section like the 3 and 5 ply cards use. Swap it as soon as
   a real 7 ply photo exists. */
.prod-triple  { background-image: url('assets/images/products/triple-wall.jpg'); }
/* Line art on white, not a photo — sized to fit rather than crop, on the cream
   ground so it sits with the others until a real die-cut photo replaces it. */
.prod-diecut {
  background-image: url('assets/images/products/die-cut.jpg');
  background-size: contain; background-repeat: no-repeat;
  background-color: #fff;
}
.prod-diecut::after { display: none; }
.product-body { padding: 1.6rem 1.5rem 1.8rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.product-body p { color: var(--muted); font-size: .96rem; flex: 1; }
.product-tag {
  display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .04em;
  color: var(--gold-600); text-transform: uppercase; margin-top: .3rem;
}
.product-body h3 .ply {
  display: inline-block; vertical-align: middle; margin-left: .45rem;
  font-family: var(--font-sans); font-size: .66rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold-600);
  background: rgba(181,136,60,.12); border: 1px solid rgba(181,136,60,.3);
  padding: .18rem .5rem; border-radius: 100px;
}
/* Beats `.product-body p { flex: 1 }` so only the description grows and every
   card's "Best for" line sits on the same baseline. */
.product-body .product-use { font-size: .88rem; color: var(--muted); flex: none; margin-top: .2rem; }
.product-body .product-use strong { color: var(--navy); font-weight: 600; }

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why { position: relative; color: #fff; }
.why-bg {
  position: absolute; inset: 0;
  /* Reuses the hero poster — it sits under a 94% navy wash, so it reads as
     texture only, and it keeps the site free of external image hosts. */
  background: linear-gradient(rgba(16,24,42,.94), rgba(16,24,42,.94)),
    url('assets/images/hero-poster.jpg');
  background-size: cover; background-position: center; background-attachment: fixed;
}
.why-inner { position: relative; z-index: 2; }
.light-h { color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; }
.why-item {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.6rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); transition: transform .25s, background .25s, border-color .25s;
}
.why-item:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); border-color: rgba(217,184,119,.4); }
.why-icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(217,184,119,.16); color: var(--gold-300); font-size: 1.5rem; font-weight: 700;
}
.why-item h4 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; color: #fff; margin-bottom: .25rem; }
.why-item p { font-size: .9rem; color: rgba(255,255,255,.72); }

/* ==========================================================================
   How we work
   ========================================================================== */
.process { background: linear-gradient(var(--cream-2), var(--cream)); }
/* list-style:none is needed explicitly — the reset at the top only clears it
   for ul, and this is an ol so the semantics of an ordered process survive. */
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; list-style: none; }
.process-step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.3rem 1.5rem;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.process-num {
  display: block; font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700;
  color: var(--gold); line-height: 1; margin-bottom: .7rem;
}
.process-step h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; margin-bottom: .4rem; }
.process-step p { font-size: .89rem; color: var(--muted); }

/* ==========================================================================
   Request a sample
   ========================================================================== */
.sample-band {
  display: flex; align-items: center; justify-content: space-between; gap: 1.6rem;
  flex-wrap: wrap; margin-top: clamp(32px, 5vw, 52px);
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.4rem);
}
.sample-band h3 { color: #fff; font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: .3rem; }
.sample-band p { color: rgba(255,255,255,.76); font-size: .95rem; max-width: 60ch; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner { background: var(--gold); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: clamp(40px,6vw,64px) 0;
}
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.9); margin-top: .4rem; }
.cta-banner .btn-primary { background: #fff; color: var(--navy); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.cta-banner .btn-primary:hover { background: var(--navy); color: #fff; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px,6vw,72px); align-items: start; }
.contact-info h2 { margin-bottom: .8rem; }
.contact-lead { color: var(--muted); margin-bottom: 2rem; }
.contact-details { display: grid; gap: 1.4rem; }
.contact-details li { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cream-2); font-size: 1.2rem; border: 1px solid var(--line);
}
.contact-details strong { display: block; color: var(--navy); font-family: var(--font-sans); margin-bottom: .15rem; }
.contact-details div { color: var(--muted); font-size: .96rem; }
.contact-details a:hover { color: var(--gold-600); }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-size: .95rem; color: var(--ink); background: var(--cream);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(181,136,60,.15); background: #fff;
}
.field textarea { resize: vertical; }
.form-note { margin-top: 1rem; font-size: .9rem; font-weight: 500; text-align: center; }
.form-note a { color: var(--gold-600); text-decoration: underline; }
.form-intro { font-size: .92rem; color: var(--muted); margin-bottom: 1.2rem; }
.form-alt { margin-top: 1rem; font-size: .87rem; color: var(--muted); text-align: center; }
.form-alt a { color: var(--gold-600); font-weight: 500; }
.req { color: var(--gold-600); }
/* native select arrow sits oddly against the custom padding; give it room */
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%235b6577' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 11px;
  padding-right: 2.4rem; }
.btn-wa { gap: .6rem; }
.form-note.ok { color: #2e7d4f; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy); color: rgba(255,255,255,.72); padding-top: clamp(56px,7vw,84px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.4rem; padding-bottom: 3rem; }
/* height:auto is required — the <img> carries width/height attributes for CLS,
   and without it the 360px height attribute wins over the 150px CSS width. */
.footer-logo { width: 150px; height: auto; background: #fff; border-radius: 12px; padding: 10px; box-shadow: var(--shadow-sm); }
.footer-role { color: var(--gold-300); font-weight: 600; margin: 1rem 0 .8rem; font-size: .95rem; }
.footer-addr, .footer-contact { font-size: .92rem; line-height: 1.7; }
.footer-contact { margin-top: .8rem; }
.footer-contact a:hover, .footer-col a:hover { color: var(--gold-300); }
.footer-col h4 { font-family: var(--font-sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; color: #fff; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { font-size: .93rem; transition: color .2s; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; }
.footer-bottom p { font-size: .85rem; color: rgba(255,255,255,.55); text-align: center; }

/* ==========================================================================
   Legal page (legal.html)
   ========================================================================== */
.legal { padding: calc(var(--nav-h) + clamp(40px, 6vw, 72px)) 0 clamp(56px, 8vw, 96px); }
.legal-head { max-width: 760px; margin-bottom: 2rem; }
.legal-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: .6rem; }
.legal-updated { color: var(--muted); font-size: .92rem; }

/* Review banner — delete along with the matching block in legal.html once the
   highlighted values have been confirmed. */
.legal-draft {
  background: #fff8e8; border: 1px solid rgba(181,136,60,.45); border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: 2.6rem;
  font-size: .93rem; color: #5c4718; max-width: 900px;
}
.legal-draft strong { color: var(--navy); }
mark.fill { background: rgba(181,136,60,.22); color: inherit; padding: .05em .3em; border-radius: 4px; }

.legal-layout { display: grid; grid-template-columns: 230px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }

/* Sticky contents rail */
.legal-toc { position: sticky; top: calc(var(--nav-h) + 20px); }
.legal-toc-title {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .16em;
  font-weight: 600; color: var(--gold-600); margin-bottom: .9rem;
}
.legal-toc ul { display: grid; gap: .1rem; }
.legal-toc a {
  display: block; padding: .5rem .8rem; border-radius: var(--radius-sm);
  font-size: .93rem; color: var(--muted); border-left: 2px solid var(--line);
  transition: color .2s, background .2s, border-color .2s;
}
.legal-toc a:hover { color: var(--navy); background: var(--cream-2); border-color: var(--gold); }
.legal-toc-contact { margin-top: 1.6rem; font-size: .86rem; color: var(--muted); line-height: 1.6; }
.legal-toc-contact a { color: var(--gold-600); font-weight: 500; }

.legal-body { max-width: 760px; }
.legal-section { padding-bottom: 2.6rem; margin-bottom: 2.6rem; border-bottom: 1px solid var(--line); }
.legal-section:last-of-type { border-bottom: 0; }
/* Clear the fixed navbar when jumping to an anchor */
.legal-section { scroll-margin-top: calc(var(--nav-h) + 20px); }
.legal-section h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1.1rem; }
.legal-section h3 {
  font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: var(--navy);
  margin: 1.8rem 0 .6rem;
}
.legal-section p { color: var(--muted); margin-bottom: .9rem; }
.legal-section a { color: var(--gold-600); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.legal-section a:hover { color: var(--navy); }
.legal-list { display: grid; gap: .6rem; margin: 0 0 1.1rem; }
.legal-list li { position: relative; padding-left: 1.3rem; color: var(--muted); font-size: .96rem; }
.legal-list li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.legal-list strong { color: var(--navy); font-weight: 600; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.legal-foot-note {
  margin-top: 2.4rem; padding: 1.1rem 1.3rem; background: var(--cream-2);
  border-radius: var(--radius-sm); font-size: .93rem; color: var(--muted);
}

@media (max-width: 860px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc {
    position: static; background: var(--cream-2); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.1rem 1.2rem;
  }
  .legal-toc ul { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .2rem; }
  .legal-toc a { border-left: 0; padding: .4rem .2rem; }
  .legal-toc-contact { margin-top: 1rem; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform .25s; animation: wa-pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-pulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.5)} 70%{box-shadow:0 0 0 16px rgba(37,211,102,0)} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0)} }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  /* width:100% is essential — `margin-inline:auto` makes this grid item
     shrink-to-fit, and .about-img is an empty div sized only by
     aspect-ratio, so without it the photo collapses to 0x0. */
  .about-media { width: 100%; max-width: 420px; margin-inline: auto; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .process-steps { grid-template-columns: repeat(3,1fr); }
  .product-track > .product-card { flex-basis: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-bg { background-attachment: scroll; }
}

@media (max-width: 720px) {
  .brand-tag { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: 1rem 6%; box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .35s ease; border-bottom: 1px solid var(--line);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .btn-nav { margin-top: .8rem; text-align: center; }

  .trust-inner { grid-template-columns: repeat(2,1fr); gap: 1.4rem 0; }
  .trust-item:nth-child(2) { border-right: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .sample-band { text-align: center; justify-content: center; }
  .product-track > .product-card { flex-basis: min(80vw, 320px); }
  .rail-btn { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.4rem; }
  .cta-inner { text-align: center; justify-content: center; }

  /* Mobile type scale. The global clamp() minimums were tuned for desktop, so
     on a 390px screen they never scale down — the h1 stayed at 38px and the
     hero paragraph at 19px, which reads as blown-up rather than designed.
     Overriding here leaves desktop and tablet sizing untouched. */
  h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .hero-sub { font-size: 1rem; margin-bottom: 1.8rem; }
  .section-lead, .section-head p:not(.section-tag) { font-size: .97rem; }
  .about-text p, .contact-lead { font-size: .97rem; }
  .hero .eyebrow {
    font-size: .66rem; letter-spacing: .12em;
    padding: .35rem .75rem; margin-bottom: 1.1rem;
  }
  .hero-cta { gap: .7rem; }
  .hero-cta .btn { padding: .8rem 1.35rem; font-size: .9rem; }

  /* The floating button sits over content on a narrow screen — keep it out of
     the way and clear of the iOS home indicator. */
  .wa-float {
    width: 52px; height: 52px;
    right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .scroll-cue { display: none; }

  /* Tap targets. The hamburger was 34px and the phone/email links ~19px —
     both under the 44px minimum, on the one device where they matter most. */
  .nav-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .contact-details a { display: inline-block; padding: 6px 0; }
  .footer-col a { display: inline-block; padding: 5px 0; }
}

@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .about-badge { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-video { display: none; }
}
