/* Hang Soon Timber — editorial heritage timber yard */

@font-face {
  font-family: "Avenir";
  src: url("/fonts/Avenir.ttc");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Acumin Variable Concept";
  src: url("/fonts/AcuminVariableConcept.otf") format("opentype-variations"),
       url("/fonts/AcuminVariableConcept.otf") format("opentype");
  font-weight: 100 900;
  font-stretch: 50% 200%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette — from official logo spec */
  --paper: #E5DED1;       /* spec: #E5DED1 */
  --paper-warm: #DCD2BC;
  --bone: #F1EBDD;
  --ink: #42210B;         /* spec: #42210B — deep brown */
  --ink-2: rgba(66, 33, 11, 0.72);
  --ink-3: rgba(66, 33, 11, 0.52);
  --ink-4: rgba(66, 33, 11, 0.3);
  --rule: rgba(66, 33, 11, 0.18);
  --rule-2: rgba(66, 33, 11, 0.1);

  --forest: #42210B;      /* dark surface = brand dark brown */
  --forest-2: #5A3014;
  --tan: #A27C52;         /* spec: #A27C52 — mid tan */
  --tan-deep: #8C6943;
  --rust: #A14B2C;
  --gold: #C9A574;

  --mark-tan: #A27C52;    /* logo mark — left bars */
  --mark-ink: #42210B;    /* logo mark — right bars + crossbar */

  --accent: var(--ink);
  --on-accent: var(--paper);

  --font-brand: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  --font-display: "Avenir", "Avenir Next", system-ui, sans-serif;
  --font-sans: "Avenir", "Avenir Next", system-ui, -apple-system, sans-serif;
  --font-acumin: "Acumin Variable Concept", "Avenir", system-ui, sans-serif;
  --font-mono: "Acumin Variable Concept", "Avenir", "JetBrains Mono", ui-monospace, monospace;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;

  --maxw: 1440px;
  --pad-x: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Subtle paper grain across the entire site */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: var(--grain-opacity, 0.5);
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.06 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  transition: opacity 240ms ease;
}

.shell { position: relative; z-index: 2; }

/* Type */
.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; }
.display em { font-style: italic; font-weight: 800; color: var(--tan-deep); }
.eyebrow {
  font-family: var(--font-acumin);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
}
.label-cap {
  font-family: var(--font-acumin);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1, "ss01" 1; }
.tnum { font-variant-numeric: tabular-nums; }

/* Common containers */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 200ms ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn .arr { transition: transform 220ms ease; display: inline-block; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--bone); }
.btn-primary:hover { background: #000; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { filter: brightness(1.08); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bone); }
.btn-soft {
  background: rgba(26,22,18,0.06);
  color: var(--ink);
  border-color: transparent;
}
.btn-soft:hover { background: rgba(26,22,18,0.12); }
.btn-link {
  padding: 8px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
}

/* Header */
.topbar {
  background: var(--ink);
  color: var(--bone);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 38px;
  gap: 24px;
  white-space: nowrap;
}
.topbar .wrap > div { white-space: nowrap; }
.topbar a { color: var(--bone); opacity: 0.85; }
.topbar a:hover { opacity: 1; }
.topbar .dot { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; display: inline-block; margin: 0 10px; vertical-align: middle; }

.nav {
  position: sticky; top: 0;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  z-index: 100;
}
.nav .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 96px;
  gap: 24px;
}
.nav-left, .nav-right { display: flex; align-items: center; gap: 6px; }
.nav-right { justify-content: flex-end; }
.nav-link {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px;
  height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform 240ms ease;
}
.nav-link:hover::after { transform: scaleX(1); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 44px; height: 44px; color: var(--ink); }
.brand-name {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.brand-name span {
  display: block;
  font-family: var(--font-brand);
  font-size: 12.5px;
  letter-spacing: 0.24em;
  font-weight: 500;
  color: var(--tan);
  margin-top: 5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink);
  position: relative;
}
.icon-btn:hover { background: rgba(26,22,18,0.06); }
.cart-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 12px;
  border-radius: var(--radius-pill);
  background: var(--ink); color: var(--bone);
  font-size: 13px; font-weight: 500;
}
.cart-pill .count {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  font-size: 11px; font-weight: 700;
}

/* Hero */
.hero {
  padding: 56px 0 80px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 8.5vw, 132px);
  letter-spacing: -0.025em;
  line-height: 0.92;
  margin: 0;
}
.hero h1 em { font-style: italic; color: var(--tan-deep); }
.hero-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; gap: 24px; flex-wrap: wrap; }
.hero-meta .stamp {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-acumin);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
  font-weight: 500;
}
.hero-meta .stamp .pin {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--tan-deep);
  box-shadow: 0 0 0 4px rgba(140,105,67,0.22);
}
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.35;
  color: var(--ink-2);
  margin: 28px 0 36px;
  max-width: 38ch;
  font-style: italic;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-ctas .or { color: var(--ink-3); font-size: 13px; }
.hero-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--ink);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(26,22,18,0.5);
}
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-tag {
  position: absolute;
  left: 18px; bottom: 18px;
  background: var(--paper);
  padding: 12px 14px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 8px 20px -10px rgba(0,0,0,0.4);
}
.hero-img-tag strong { font-weight: 700; }
.hero-img-tag span { color: var(--ink-2); }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.hero-stat .n {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
}
.hero-stat .l {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 10px;
  max-width: 22ch;
}

/* Marquee species ticker */
.marquee {
  background: var(--ink); color: var(--bone);
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.marquee-track {
  display: flex; gap: 56px;
  padding: 14px 0;
  white-space: nowrap;
  font-family: var(--font-acumin);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  animation: marquee 60s linear infinite;
}
.marquee-track .sep { color: var(--gold); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Section header */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 56px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-title em { font-style: italic; color: var(--tan-deep); }
.section-meta {
  font-family: var(--font-acumin);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-2);
  text-align: right;
  display: flex; flex-direction: column; gap: 6px;
  white-space: nowrap;
  font-weight: 500;
}
.section-num {
  font-family: var(--font-acumin);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
  white-space: nowrap;
  font-weight: 500;
}
.section-num .line { flex: 1; height: 1px; background: var(--rule); max-width: 240px; min-width: 24px; }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.cat {
  position: relative; overflow: hidden;
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: 2px;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), box-shadow 320ms ease;
}
.cat:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -28px rgba(26,22,18,0.32); }
.cat-img-wrap { aspect-ratio: 4/3; overflow: hidden; background: #ddd; position: relative; }
.cat-img-wrap > svg { transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.cat-img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.cat:hover .cat-img,
.cat:hover .cat-img-wrap > svg { transform: scale(1.04); }
.cat-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.cat-tag { font-family: var(--font-acumin); font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.cat-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.cat-name em { font-style: italic; color: var(--tan-deep); }
.cat-desc { color: var(--ink-2); font-size: 13.5px; line-height: 1.5; margin-top: 6px; }
.cat-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
  gap: 12px;
  white-space: nowrap;
}
.cat-foot .price { color: var(--ink); }
.cat-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-acumin);
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  white-space: nowrap;
  font-weight: 500;
}
.cat-badge.dark { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.cat.span-7 { grid-column: span 7; }
.cat.span-5 { grid-column: span 5; }
.cat.span-4 { grid-column: span 4; }
.cat.span-12 { grid-column: span 12; }
.cat.tall .cat-img-wrap { aspect-ratio: 5/4; }
.cat.short .cat-img-wrap { aspect-ratio: 16/10; }

.cat.wide {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: stretch;
}
.cat.wide .cat-img-wrap { aspect-ratio: auto; height: 100%; min-height: 460px; }
.cat.wide .cat-body { padding: clamp(28px, 3.5vw, 56px); justify-content: center; gap: 12px; }
.cat.wide .cat-name { font-size: clamp(40px, 4vw, 60px); letter-spacing: -0.015em; line-height: 1; }
.cat.wide .cat-desc { font-size: 16px; line-height: 1.6; max-width: 44ch; margin-top: 12px; }
.cat.wide .cat-foot { margin-top: 28px; padding-top: 24px; }
@media (max-width: 900px) {
  .cat.wide { grid-template-columns: 1fr; }
  .cat.wide .cat-img-wrap { min-height: 0; aspect-ratio: 4/3; }
}

/* Signature product (Chengal finial) */
.signature {
  background:
    linear-gradient(180deg, rgba(66,33,11,0.92) 0%, rgba(66,33,11,0.96) 100%),
    url("/images/photos/wood-grain.jpeg") center / cover no-repeat;
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.signature .wrap { position: relative; z-index: 2; }
.signature .section-title em { color: var(--gold); }
.signature .eyebrow, .signature .section-meta, .signature .section-num { color: rgba(250,245,234,0.65); }
.signature .section-num .line { background: rgba(250,245,234,0.15); }
.sig-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.sig-art {
  position: relative;
  aspect-ratio: 4/5;
  background: #111;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.6);
}
.sig-art img { width: 100%; height: 100%; object-fit: cover; }
.sig-art .crest {
  position: absolute; top: 18px; right: 18px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold);
  display: grid; place-items: center;
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
  font-style: italic;
}
.sig-body .display { font-size: clamp(40px, 4.6vw, 72px); margin: 0; }
.sig-body .display em { color: var(--gold); }
.sig-tag { color: rgba(250,245,234,0.7); margin: 28px 0 28px; max-width: 48ch; font-size: 16.5px; line-height: 1.6; }
.sig-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
  margin: 36px 0 36px;
  padding: 28px 0;
  border-top: 1px solid rgba(250,245,234,0.18);
  border-bottom: 1px solid rgba(250,245,234,0.18);
}
.sig-spec .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(250,245,234,0.6); }
.sig-spec .v { font-family: var(--font-display); font-size: 22px; margin-top: 4px; }
.sig-price {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.sig-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(250,245,234,0.18);
  gap: 24px;
}
.sig-price-row:first-child {
  border-top: 1px solid rgba(250,245,234,0.18);
}
.sig-price-row .sz {
  font-family: var(--font-acumin);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,245,234,0.7);
  font-weight: 500;
}
.sig-price-row .p {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--bone);
}
.sig-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.signature .btn-primary { background: var(--gold); color: var(--ink); }
.signature .btn-primary:hover { background: #E6B86A; }
.signature .btn-ghost { border-color: var(--bone); color: var(--bone); }
.signature .btn-ghost:hover { background: var(--bone); color: var(--ink); }

/* Heritage / story */
.heritage { background: var(--paper-warm); }
.heritage-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.her-img-stack { position: relative; aspect-ratio: 4/5; }
.her-img {
  position: absolute;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(26,22,18,0.45);
}
.her-img img { width: 100%; height: 100%; object-fit: cover; }
.her-img.main { inset: 0; left: 12%; }
.her-img.small {
  width: 52%; aspect-ratio: 4/5;
  bottom: -6%; left: -6%;
  border: 8px solid var(--paper-warm);
}
.heritage-body p { font-size: 17.5px; line-height: 1.7; color: var(--ink-2); margin: 0 0 18px; max-width: 56ch; }
.heritage-body p strong { color: var(--ink); font-weight: 600; }
.her-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.her-pillar .n { font-family: var(--font-display); font-size: 42px; line-height: 1; letter-spacing: -0.02em; }
.her-pillar .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); margin-top: 8px; }
.her-pillar .d { color: var(--ink-2); font-size: 13.5px; margin-top: 8px; line-height: 1.5; max-width: 24ch; }

/* B2B / Spec */
.b2b {
  background: var(--paper-warm);
  color: var(--ink);
}
.b2b .section-title { color: var(--ink); }
.b2b .section-title em { color: var(--tan-deep); }
.b2b .eyebrow, .b2b .section-num, .b2b .section-meta { color: var(--ink-3); }
.b2b .section-num .line { background: var(--rule); }
.b2b-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(48px, 6vw, 96px);
}
.b2b-intro { color: var(--ink-2); font-size: 17px; line-height: 1.6; margin-top: 28px; max-width: 38ch; }
.b2b-perks { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.b2b-perk {
  display: flex; gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
}
.b2b-perk:last-child { border-bottom: 1px solid var(--rule); }
.b2b-perk .n { font-family: var(--font-mono); font-size: 11px; color: var(--tan-deep); letter-spacing: 0.18em; min-width: 36px; }
.b2b-perk .t { font-family: var(--font-display); font-size: 22px; line-height: 1.2; color: var(--ink); }
.b2b-perk .d { color: var(--ink-2); font-size: 13.5px; line-height: 1.5; margin-top: 4px; }
.b2b-quote-card {
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: clamp(28px, 3vw, 44px);
}
.b2b-quote-card h3 { font-family: var(--font-display); font-size: 32px; margin: 0 0 8px; letter-spacing: -0.01em; color: var(--ink); }
.b2b-quote-card .lede { color: var(--ink-2); font-size: 14.5px; margin-bottom: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-family: var(--font-acumin); font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.field input, .field select, .field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  padding: 10px 0;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 200ms ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.spec-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.chip {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em;
  padding: 8px 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all 180ms ease;
}
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.b2b-quote-card .btn-primary { background: var(--ink); color: var(--paper); width: 100%; justify-content: center; padding: 16px; margin-top: 12px; }
.b2b-quote-card .btn-primary:hover { background: #000; }
.b2b-foot { font-size: 12px; color: var(--ink-3); margin-top: 16px; text-align: center; font-family: var(--font-mono); letter-spacing: 0.1em; }

/* Sustainability strip */
.sustain {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.sustain .wrap {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 36px; align-items: center;
  padding-block: 32px;
}
.sustain-icon { width: 60px; height: 60px; color: var(--forest); }
.sustain-text { font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); line-height: 1.3; max-width: 60ch; }
.sustain-text em { color: var(--forest); font-style: italic; }

/* Journal / news */
.journal { background: var(--paper); }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.jcard { display: flex; flex-direction: column; gap: 16px; cursor: pointer; }
.jcard-img { aspect-ratio: 4/3; overflow: hidden; border-radius: 2px; background: #ccc; }
.jcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.jcard:hover .jcard-img img { transform: scale(1.04); }
.jcard-meta { display: flex; gap: 10px; font-family: var(--font-acumin); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.jcard-title { font-family: var(--font-display); font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; }
.jcard-read { font-family: var(--font-acumin); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); margin-top: 4px; font-weight: 600; }

/* Visit / contact strip */
.visit {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--rule);
}
.visit .wrap {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  padding-block: clamp(72px, 8vw, 112px);
}
.visit-title { font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); margin: 0 0 24px; letter-spacing: -0.02em; line-height: 1; color: var(--ink); font-weight: 800; }
.visit-title em { color: var(--tan-deep); font-style: italic; }
.visit-lede { color: var(--ink-2); font-size: 17px; line-height: 1.6; max-width: 40ch; margin-bottom: 32px; }
.visit-meta { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 12px; }
.visit-row { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--rule); align-items: baseline; }
.visit-row:last-child { border-bottom: 1px solid var(--rule); }
.visit-row .k { font-family: var(--font-acumin); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.visit-row .v { font-family: var(--font-display); font-size: 20px; line-height: 1.3; color: var(--ink); font-weight: 600; }
.visit-row .v span { font-family: var(--font-sans); font-size: 14px; color: var(--ink-2); display: block; margin-top: 2px; font-weight: 400; }
.visit-map {
  aspect-ratio: 4/5;
  border-radius: 2px;
  overflow: hidden;
  background: var(--ink);
  position: relative;
  box-shadow: 0 30px 70px -30px rgba(66,33,11,0.4);
}
.visit-map svg { width: 100%; height: 100%; display: block; }

/* Footer */
.footer { background: var(--ink); color: rgba(250,245,234,0.85); padding: 80px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-grid h4 { font-family: var(--font-acumin); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(250,245,234,0.5); margin: 0 0 18px; font-weight: 500; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 14px; color: rgba(250,245,234,0.8); }
.footer-grid a:hover { color: var(--bone); }
.footer-brand { display: flex; flex-direction: column; gap: 20px; max-width: 36ch; }
.footer-brand .brand-name { color: var(--bone); }
.footer-brand .brand-name span { color: rgba(229,222,209,0.6); }
.brand-on-dark .brand-name { color: var(--bone); }
.brand-on-dark .brand-name span { color: rgba(229,222,209,0.6); }
.footer-brand p { font-size: 14px; color: rgba(250,245,234,0.6); line-height: 1.6; margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid rgba(250,245,234,0.12); font-family: var(--font-acumin); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(250,245,234,0.5); font-weight: 500; }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--bone); }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(250,245,234,0.2); display: grid; place-items: center; }
.footer-socials a:hover { background: rgba(250,245,234,0.1); }

.giant-wordmark {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(140px, 26vw, 440px);
  line-height: 0.82;
  letter-spacing: -0.02em;
  color: rgba(229,222,209,0.06);
  text-align: center;
  margin-top: 80px;
  user-select: none;
  pointer-events: none;
  overflow: hidden;
  text-transform: uppercase;
}
.giant-wordmark .timber {
  display: block;
  font-weight: 500;
  letter-spacing: 0.22em;
  font-size: 0.42em;
  color: rgba(201,165,116,0.18);
  margin-top: 0.1em;
}

/* Mobile menu drawer */
.drawer-back {
  position: fixed; inset: 0;
  background: rgba(26,22,18,0.5);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 240ms ease;
  z-index: 200;
}
.drawer-back.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; right: 0; top: 0; bottom: 0;
  width: min(440px, 92vw);
  background: var(--paper);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.4,.0,.2,1);
  display: flex; flex-direction: column;
  border-left: 1px solid var(--rule);
}
.drawer.on { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 28px 32px; border-bottom: 1px solid var(--rule); }
.drawer-head h3 { font-family: var(--font-display); font-size: 22px; margin: 0; }
.drawer-body { padding: 24px 32px; overflow: auto; flex: 1; }
.drawer-link {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.01em;
}
.drawer-link small { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }

/* Cart drawer specific */
.cart-empty { text-align: center; padding: 48px 0; color: var(--ink-2); font-family: var(--font-display); font-size: 22px; font-style: italic; }
.cart-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.cart-item-img { width: 70px; height: 80px; background: #ddd; border-radius: 2px; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-family: var(--font-display); font-size: 17px; line-height: 1.2; }
.cart-item-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; }
.cart-item-price { font-family: var(--font-mono); font-size: 14px; }
.cart-foot { padding: 24px 32px; border-top: 1px solid var(--rule); background: var(--bone); }
.cart-foot-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.cart-foot-row.tot { font-family: var(--font-display); font-size: 24px; padding-top: 16px; border-top: 1px solid var(--rule); margin-top: 8px; }

/* Responsive */
@media (max-width: 1080px) {
  .nav .wrap { grid-template-columns: auto 1fr auto; }
  .nav-center { display: none; }
  .nav-left { gap: 8px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img-wrap { aspect-ratio: 16/10; max-height: 480px; }
  .sig-grid, .heritage-grid, .b2b-grid, .visit .wrap { grid-template-columns: 1fr; }
  .her-img-stack { aspect-ratio: 16/10; max-height: 380px; }
  .her-img.main { left: 0; }
  .her-img.small { width: 40%; }
  .cats .cat.span-7, .cats .cat.span-5, .cats .cat.span-4 { grid-column: span 6; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 64px; }
  .section-head { grid-template-columns: 1fr; }
  .section-meta { text-align: left; }
  .cats { grid-template-columns: 1fr; }
  .cats .cat.span-7, .cats .cat.span-5, .cats .cat.span-4 { grid-column: span 1; }
  .journal-grid { grid-template-columns: 1fr; }
  .her-pillars { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .sustain .wrap { grid-template-columns: 1fr; gap: 20px; padding-block: 28px; }
  .visit-row { grid-template-columns: 80px 1fr; gap: 10px; }
  .topbar { font-size: 10.5px; }
  .topbar .wrap > div:first-child { overflow: hidden; text-overflow: ellipsis; }
}

/* --- Small mobile fixes (≤ 480px) --- */
/* Prevent any inadvertent horizontal scroll site-wide */
html, body { overflow-x: hidden; }

@media (max-width: 480px) {
  :root { --pad-x: 16px; }
  .hero h1 { font-size: clamp(38px, 11vw, 56px); line-height: 0.98; }
  .hero-sub { font-size: 15px; }
  .hero-meta { gap: 8px; }
  .hero-meta .stamp { font-size: 11px; }
  .nav .wrap { grid-template-columns: 1fr auto; }
  .nav-left { display: none; }   /* small screens: rely on footer for nav */
  .brand img { height: 48px !important; }
  .cart-pill { padding: 8px 12px; font-size: 13px; }
  .topbar .wrap > div:nth-child(2) { display: none; } /* hide phone in topbar to save space */
  .section { padding: 56px 0; }
  .section-title { font-size: clamp(34px, 9vw, 48px); }
  .sig-body .display { font-size: clamp(34px, 9vw, 48px); }
  .sig-specs { grid-template-columns: 1fr; gap: 12px; padding: 16px 0; }
  .sig-art { aspect-ratio: 4/3; }
  .visit-title { font-size: clamp(40px, 11vw, 64px); }
  .footer-grid { gap: 24px; }
  /* Stop wide tables (used in cart/checkout/order) from pushing the page wider */
  table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
