/* ============================================================
   Global Wood — base styles (ported from design styles.css)
   ============================================================ */
:root {
  --cream: #F4F1EC;
  --cream-2: #ECE7DE;
  --ink: #0E0E0E;
  --ink-2: #1A1815;
  --ink-3: #2A2622;
  --line: rgba(14, 14, 14, 0.12);
  --line-dark: rgba(244, 241, 236, 0.14);
  --mute: #6B6760;
  --mute-dark: #9C968B;
  --brand-red: #E1251B;
  --caramel: #E1251B;
  --caramel-2: #E1251B;
  --caramel-soft: #E1251B;
  --radius-card: 18px;
  --radius-pill: 999px;
  --pad-section: clamp(96px, 12vw, 168px);
  --max: 1480px;
  --gutter: clamp(20px, 4vw, 56px);
  --serif: "Instrument Serif", "Newsreader", "EB Garamond", Georgia, serif;
  --sans: "Inter", "Söhne", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
input, select, textarea { max-width: 100%; }

::selection { background: var(--caramel); color: var(--cream); }

/* Type scale */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}
.eyebrow.on-dark { color: var(--mute-dark); }
.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  font-family: var(--sans);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.86;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-wordmark__global { color: var(--brand-red); }
.brand-wordmark__wood { color: var(--brand-wordmark-wood, var(--ink)); }

/* Layout */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--pad-section) 0; position: relative; }
.section.dark { background: var(--ink); color: var(--cream); }
.section.dark .eyebrow { color: var(--mute-dark); }

/* Pill buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: var(--radius-pill);
  background: var(--ink); color: var(--cream);
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  border: 1px solid var(--ink);
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
  max-width: 100%;
  justify-content: center;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -12px rgba(14,14,14,.4); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); }
.btn.caramel { background: var(--caramel); border-color: var(--caramel); color: #fff; }
.btn.caramel:hover { background: var(--caramel-soft); border-color: var(--caramel-soft); }
.btn.on-dark { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn.on-dark.ghost { background: transparent; color: var(--cream); border-color: var(--line-dark); }
.btn .arr { display:inline-flex; width:22px; height:22px; align-items:center; justify-content:center; border-radius:999px; background: rgba(244,241,236,.12); }
.btn.ghost .arr { background: rgba(14,14,14,.08); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Cards */
.card-img { border-radius: var(--radius-card); overflow: hidden; position: relative; background: var(--cream-2); }
.card-img.dark-bg { background: #1f1c18; }
/* Real product image inside a .card-img frame — fills the aspect-ratio box (no layout shift). */
.card-img > .gw-pimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Flat nav */
.pill-nav {
  display: inline-flex; align-items: center; gap: 26px;
  padding: 0;
  background: transparent;
  border: 0;
}
.pill-nav.on-dark { background: transparent; border-color: transparent; }
.pill-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 16px; font-weight: 500; letter-spacing: 0;
  color: var(--ink-2);
  transition: background .2s ease, color .2s ease;
}
.pill-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.pill-nav.on-dark a { color: var(--ink-2); }
.pill-nav a:hover,
.pill-nav.on-dark a:hover,
.pill-nav a.active,
.pill-nav.on-dark a.active {
  background: transparent;
  color: var(--brand-red);
}
.pill-nav a:hover::after,
.pill-nav a.active::after { transform: scaleX(1); }

/* Tag chip */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: var(--radius-pill);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink);
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
}
.tag.on-dark { color: var(--cream); background: rgba(14,14,14,.55); border-color: var(--line-dark); }
.tag .dot { width:6px; height:6px; border-radius:999px; background: var(--caramel); }

/* Hero giant headline */
.giant { font-weight: 700; letter-spacing: -0.045em; line-height: 0.86; font-size: clamp(80px, 17vw, 320px); }
.giant .serif-italic { font-weight: 400; letter-spacing: -0.02em; }

/* Subtle horizontal divider */
.hr { height: 1px; background: var(--line); border: 0; }
.section.dark .hr { background: var(--line-dark); }

/* Ticker */
.ticker { width: 100%; overflow: hidden; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark .ticker, .ticker.on-dark { border-color: var(--line-dark); }
.ticker__track { display: inline-flex; gap: 56px; align-items: center; animation: tick 38s linear infinite; white-space: nowrap; padding-left: 56px; }
.ticker__item { font-size: clamp(28px, 4.4vw, 64px); font-weight: 600; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 56px; }
.ticker__item .star { color: var(--caramel); font-size: 0.7em; transform: translateY(-4px); display: inline-block; }
.ticker__item .it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Swatch grid */
.swatch {
  aspect-ratio: 1/1.05; border-radius: 14px; overflow: hidden; position: relative; cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.6,.2,1), box-shadow .35s; box-shadow: 0 1px 0 rgba(14,14,14,0.04);
}
.swatch:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(14,14,14,0.35); }
.swatch__meta {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; justify-content: space-between; align-items: end;
  color: var(--cream); font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  gap: 8px;
}
.swatch__meta span { min-width: 0; overflow-wrap: anywhere; }

/* Stat row */
.stat-num { font-size: clamp(56px, 7vw, 112px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stat-num .sup { font-size: 0.45em; vertical-align: top; margin-left: 4px; font-weight: 500; }

/* Misc */
.kbd { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.section.dark .kbd { color: var(--mute-dark); }

/* Subtle grain on cream sections */
.section:not(.dark)::before {
  content: ''; pointer-events:none; position:absolute; inset:0;
  background-image: radial-gradient(rgba(14,14,14,0.025) 1px, transparent 1px);
  background-size: 3px 3px; opacity: .35; mix-blend-mode: multiply;
}

/* Form */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute-dark); }
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--line-dark);
  color: var(--cream); padding: 12px 0; font-family: var(--sans); font-size: 16px;
  outline: none; transition: border-color .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(156,150,139,0.6); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--caramel); }
.field textarea { resize: none; }
.field select option { color: var(--ink); }

/* Util */
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-48 { gap: 48px; }

/* ============================================================
   Components & page layouts (ported from JSX inline styles)
   ============================================================ */

/* --- Header --- */
.site-header {
  position: relative;
  z-index: 40;
  background: var(--cream);
  color: var(--ink);
  border-bottom: 1px solid rgba(14,14,14,0.1);
  box-shadow: 0 10px 28px -28px rgba(14,14,14,0.42);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; gap: 24px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; }
.site-header .brand { flex-shrink: 0; }
.brand__mark { display: block; flex-shrink: 0; object-fit: contain; object-position: center; }
.brand__logo { display: block; width: auto; height: 32px; max-width: 138px; object-fit: contain; }
.brand__name { font-weight: 600; letter-spacing: -0.02em; font-size: 18px; }
.brand .kbd { margin-left: 6px; }
.site-header .header-cta { display: flex; align-items: center; gap: 10px; }
.site-header .status-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--caramel); display: inline-block; }
.site-header .btn,
.site-header .btn.on-dark {
  height: 50px;
  padding: 0 24px;
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
}
.site-header .btn:hover,
.site-header .btn.on-dark:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.site-header .btn .arr,
.site-header .btn.on-dark .arr { background: rgba(255,255,255,.16); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  box-shadow: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.nav-toggle:hover {
  background: rgba(225,37,27,0.08);
  color: var(--brand-red);
}
.nav-toggle.on-dark {
  background: transparent;
  color: var(--ink-2);
}
.nav-toggle__bars {
  width: 18px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle[aria-expanded="true"] {
  background: rgba(225,37,27,0.08);
  color: var(--brand-red);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- Hero --- */
.hero { padding-top: 140px; padding-bottom: 60px; min-height: 100vh; min-height: 100svh; position: relative; overflow: hidden; }
.hero__meta { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; margin-top: 28px; margin-bottom: 60px; }
.hero__meta p { margin: 0; max-width: 280px; font-size: 14px; line-height: 1.5; color: var(--mute); }
.hero__headwrap { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero .giant { margin: 0; color: var(--ink); white-space: nowrap; font-size: clamp(44px, 13.5vw, 220px); max-width: 100%; }
.hero .brand-wordmark { font-size: clamp(42px, 12vw, 188px); max-width: 100%; }
.hero .giant .star { font-family: var(--mono); font-size: 0.08em; color: var(--caramel); transform: translateY(-1em); margin-left: 0.4em; letter-spacing: 0.1em; display: inline-block; }
.hero__cutout {
  position: relative; width: min(64vw, 560px); aspect-ratio: 3/4; margin-top: 54px;
  filter: drop-shadow(0 50px 50px rgba(14,14,14,0.22)); pointer-events: none;
}
.hero__cutout .tag { position: absolute; bottom: 18px; left: 18px; background: rgba(14,14,14,0.62); color: var(--cream); border: 1px solid rgba(244,241,236,0.18); }
.hero__slider { overflow: hidden; }
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: translateY(10px) scale(0.98);
  animation: heroSlide 36s infinite;
  animation-delay: calc(var(--i) * 6s);
}
.hero__slide:first-child { opacity: 1; transform: none; }
.hero__annot { display: flex; align-items: center; justify-content: center; gap: 40px; margin-top: 34px; }
.hero__annot .lead { max-width: 540px; }
.hero__annot .lead p { margin: 0; font-size: clamp(19px, 1.55vw, 23px); line-height: 1.5; letter-spacing: -0.006em; }
.hero__actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.hero__actions .btn {
  height: 54px;
  padding: 0 26px;
  font-size: 15px;
}
.hero__cats { display: flex; gap: 8px; justify-content: center; margin-top: 52px; flex-wrap: wrap; }
@keyframes heroSlide {
  0%, 13.5% { opacity: 1; transform: translateY(0) scale(1); }
  16.666%, 100% { opacity: 0; transform: translateY(-10px) scale(0.98); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide { animation: none; opacity: 0; transform: none; }
  .hero__slide:first-child { opacity: 1; }
}
.cat-chip {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink);
  font-size: 13.5px; font-weight: 500; letter-spacing: -0.005em; display: inline-flex; align-items: center; gap: 8px;
}
.cat-chip.active { background: var(--ink); color: var(--cream); }
.cat-chip.active .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--caramel); }

/* --- Section header (two-column intro used across sections) --- */
.sec-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; margin-bottom: 64px; }
.sec-head.even { grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 80px; }
.sec-head h2 { margin: 18px 0 0; font-weight: 600; font-size: clamp(44px, 6.4vw, 104px); letter-spacing: -0.04em; line-height: 0.96; }
.sec-head h2.sm { font-size: clamp(40px, 5.6vw, 88px); letter-spacing: -0.038em; line-height: 0.98; }
.sec-head p { margin: 0; font-size: 17px; line-height: 1.55; max-width: 460px; color: var(--mute); }
.section.dark .sec-head p { color: var(--mute-dark); }

/* --- Stats --- */
.stats { padding-top: 80px; padding-bottom: 120px; }
.stats .lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 80px; }
.stats .lead-row h2 { margin: 0; font-weight: 600; letter-spacing: -0.035em; font-size: clamp(40px, 5.6vw, 88px); line-height: 1.0; }
.stats .lead-row p { margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--ink); max-width: 460px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 56px; }
.stats__grid .item { border-left: 1px solid var(--line); padding-left: 32px; }
.stats__grid .item:first-child { border-left: none; padding-left: 0; }
.stats__grid .item .label { margin-top: 12px; color: var(--mute); font-size: 14px; max-width: 220px; line-height: 1.45; }

/* --- Products grid --- */
.products { padding-top: 0; padding-bottom: var(--pad-section); }
.products-page-spacer { height: clamp(44px, 8vw, 96px); }
.products__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px 48px; }
.products__grid .cell.offset { padding-top: 56px; }
.product-card { display: block; color: inherit; }
.product-card .meta-row { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 20px; gap: 24px; }
.product-card h3 { margin: 0; font-weight: 600; font-size: 28px; letter-spacing: -0.025em; line-height: 1.05; }
.product-card.large h3 { font-size: 36px; }
.product-card .sub { margin: 6px 0 0; color: var(--mute); font-size: 14.5px; line-height: 1.45; max-width: 380px; }
.product-card .go {
  display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid var(--line); flex-shrink: 0;
}
.product-card:hover .go { background: var(--ink); color: var(--cream); border-color: var(--ink); transition: all .2s ease; }
.product-card h3,
.product-card .sub { overflow-wrap: anywhere; }
.spec-strip { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.spec-pill {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mute); padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px;
}
.products .card-tag { position: absolute; left: 14px; bottom: 14px; background: rgba(14,14,14,0.62); color: var(--cream); border-color: rgba(244,241,236,0.18); }
.products .card-num { position: absolute; top: 14px; right: 14px; font-family: var(--mono); color: rgba(244,241,236,0.85); font-size: 11px; letter-spacing: 0.12em; }
.center-cta { display: flex; justify-content: center; margin-top: 80px; }

/* --- Craft (dark annotated diagram) --- */
.craft { padding-top: 140px; padding-bottom: 140px; }
.craft__diagram {
  position: relative; height: 580px; background: linear-gradient(180deg, #1a1612 0%, #0f0c0a 100%);
  border-radius: 24px; border: 1px solid var(--line-dark); padding: 64px; overflow: hidden;
}
.craft__stack { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(420px, 38%); display: flex; flex-direction: column; gap: 6px; }
.craft__stack .lyr-lacquer { height: 12px; border-radius: 4px; background: linear-gradient(90deg, rgba(225,37,27,0.72) 0%, #E1251B 50%, rgba(225,37,27,0.58) 100%); box-shadow: 0 0 24px rgba(225,37,27,0.4); }
.craft__stack .lyr-decor { height: 8px; border-radius: 3px; background: linear-gradient(90deg, #a76d35 0%, #7a4f24 100%); }
.craft__stack .lyr-backer { height: 6px; border-radius: 3px; background: #2a2018; }
.craft__stack .lyr-edge { height: 10px; border-radius: 3px; background: linear-gradient(90deg, #E1251B 0%, rgba(225,37,27,0.72) 100%); }
.callout { position: absolute; }
.callout .dot { position: absolute; width: 7px; height: 7px; border-radius: 999px; background: var(--caramel); top: -3px; }
.callout .line { position: absolute; height: 1px; background: var(--caramel); top: 0; }
.callout .txt { position: absolute; top: -28px; color: var(--cream); min-width: 180px; }
.callout .txt .lab { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--caramel-2); }
.callout .txt .val { margin-top: 4px; font-size: 17px; letter-spacing: -0.005em; line-height: 1.25; }
.craft__fig { position: absolute; left: 32px; top: 24px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute-dark); }
.craft__build { position: absolute; right: 32px; bottom: 24px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute-dark); }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 72px; }
.process .step { padding-top: 24px; border-top: 1px solid var(--line-dark); }
.process .step .n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--caramel-2); }
.process .step .t { margin-top: 10px; font-size: 19px; letter-spacing: -0.01em; color: var(--cream); }
.process .step p { margin: 8px 0 0; color: var(--mute-dark); font-size: 14px; line-height: 1.5; }

/* --- Decor library --- */
.decor { padding-top: 140px; padding-bottom: 140px; }
.decor__filters { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.filter-btn { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 13px; font-weight: 500; transition: all .2s ease; }
.filter-btn.active { background: var(--ink); color: var(--cream); }
.decor__info { display: flex; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 32px; gap: 16px; }
.decor__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.decor__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; gap: 24px; }
.decor__foot p { margin: 0; font-size: 15px; color: var(--mute); max-width: 480px; line-height: 1.5; }
.swatch__grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.18; mix-blend-mode: multiply; }
.swatch__finish {
  position: absolute; top: 10px; right: 10px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(244,241,236,0.92); background: rgba(0,0,0,0.32); padding: 4px 7px;
  border-radius: 4px; border: 1px solid rgba(244,241,236,0.15);
}
.swatch__sheen {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 35%),
              linear-gradient(0deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 45%);
}
/* Photo-backed swatch — the uploaded image replaces the color tile + grain. */
.swatch__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.swatch--img .swatch__grain { display: none; }

/* --- Applications --- */
.apps { padding-top: 0; padding-bottom: var(--pad-section); }
.apps__row { display: grid; gap: 24px; }
.apps__row.a { grid-template-columns: 1.4fr 1fr; }
.apps__row.b { grid-template-columns: 1fr 1.4fr; margin-top: 48px; }
.apps__cap { display: flex; justify-content: space-between; align-items: end; margin-top: 18px; }
.apps__cap h3 { margin: 6px 0 0; font-weight: 600; font-size: 30px; letter-spacing: -0.025em; }

/* --- Quality --- */
.quality { padding-top: 140px; padding-bottom: 140px; }
.quality__table { border-top: 1px solid var(--line-dark); }
.quality__row { display: grid; grid-template-columns: 1fr 1fr 60px; gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line-dark); }
.quality__row .idx { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--caramel-2); text-transform: uppercase; }
.quality__row .code { font-weight: 600; font-size: 28px; letter-spacing: -0.02em; color: var(--cream); }
.quality__row .code,
.quality__row .name,
.quality__row .note { overflow-wrap: anywhere; }
.quality__row .name { font-size: 17px; color: var(--cream); letter-spacing: -0.005em; }
.quality__row .note { font-size: 13.5px; color: var(--mute-dark); margin-top: 4px; }
.quality__row .go { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line-dark); }

/* --- Contact --- */
.contact { padding-top: 0; padding-bottom: 140px; }
.contact.standalone { padding-top: 150px; }
.contact.standalone .contact__grid { border-top: 0; padding-top: 0; }
.contact__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; padding: 120px 0; border-top: 1px solid var(--line-dark); }
.contact__grid h2 { margin: 18px 0 0; font-weight: 600; font-size: clamp(48px, 7vw, 120px); letter-spacing: -0.04em; line-height: 0.94; color: var(--cream); }
.contact__grid .pitch { margin-top: 28px; font-size: 17px; color: var(--mute-dark); line-height: 1.6; max-width: 460px; }
.contact__lines { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact__lines .big { margin-top: 8px; font-size: 22px; color: var(--cream); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.contact__lines .small { margin-top: 4px; font-size: 13.5px; color: var(--mute-dark); }
.contact__form { background: rgba(244,241,236,0.03); border-radius: 24px; border: 1px solid var(--line-dark); padding: 40px; display: flex; flex-direction: column; gap: 28px; }
.contact__form .form-head { display: flex; justify-content: space-between; align-items: center; }
.contact__form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact__form .submit-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.form-alert { padding: 14px 16px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.form-alert.ok { background: rgba(225,37,27,0.16); border: 1px solid var(--caramel); color: var(--cream); }
.form-alert.err { background: rgba(200,60,40,0.14); border: 1px solid rgba(200,90,70,0.5); color: #f2d9d2; }
.field-error { color: #e0a596; font-size: 12.5px; font-family: var(--mono); letter-spacing: 0.04em; }

/* --- Footer --- */
.section.site-footer,
.section.dark.site-footer {
  background: var(--cream);
  color: var(--ink);
}
.site-footer { padding-top: 0; padding-bottom: 56px; }
.site-footer .mega { padding-top: 56px; }
.site-footer .mega .word {
  width: 100%;
  justify-content: center;
  padding: 34px 0 30px;
  background: var(--cream);
  font-size: clamp(52px, 11.5vw, 176px);
}
.site-footer .cols { display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(5, minmax(0, 1fr)); gap: 42px; margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
}
.footer-brand__logo { display: block; width: auto; height: 58px; max-width: 260px; object-fit: contain; }
.site-footer .cols .about p { margin-top: 16px; color: var(--mute); font-size: 14px; line-height: 1.55; max-width: 280px; }
.site-footer .cols ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer .cols ul a { font-size: 14.5px; color: var(--ink); letter-spacing: -0.005em; }
.site-footer .cols p,
.site-footer .cols a { overflow-wrap: anywhere; }
.site-footer .cols ul a:hover { color: var(--brand-red); }
.site-footer .kbd { color: var(--mute); }
.site-footer .legal { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; }

/* --- Page intro (sub-page hero band) --- */
.page-intro { padding-top: 160px; padding-bottom: 80px; position: relative; overflow: hidden; }
.page-intro.dark { background: var(--ink); color: var(--cream); }
.page-intro__crumb { display: flex; gap: 10px; align-items: center; }
.page-intro h1 { margin: 22px 0 0; font-weight: 700; font-size: clamp(56px, 10vw, 160px); letter-spacing: -0.045em; line-height: 0.9; }
.page-intro .lead { margin: 28px 0 0; max-width: 620px; font-size: 19px; line-height: 1.5; color: var(--mute); }
.page-intro.dark .lead { color: var(--mute-dark); }

/* --- Product detail --- */
.pd { padding-top: 0; padding-bottom: var(--pad-section); }
.pd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pd__body p { font-size: 17px; line-height: 1.7; color: var(--ink); margin: 0 0 18px; }
.pd__specs { margin-top: 8px; border-top: 1px solid var(--line); }
.pd__specs .r { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pd__specs .r .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.pd__specs .r .v { font-size: 15px; overflow-wrap: anywhere; }
.pd__features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.pd__features li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.pd__features li::before { content: ''; width: 7px; height: 7px; border-radius: 999px; background: var(--caramel); margin-top: 8px; flex-shrink: 0; }
.pd__nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1180px) {
  .site-header .header-cta .kbd { display: none !important; }
  .site-header .header-cta .btn { padding: 0 18px; }
}

@media (max-width: 1024px) {
  :root {
    --pad-section: clamp(72px, 10vw, 112px);
    --gutter: clamp(18px, 3.6vw, 36px);
  }
  .site-header .wrap { gap: 14px; }
  .pill-nav { gap: 20px; }
  .pill-nav a { padding: 8px 0; }
  .sec-head, .sec-head.even, .stats .lead-row { grid-template-columns: 1fr; gap: 28px; }
  .sec-head, .sec-head.even { margin-bottom: 52px; }
  .sec-head h2 { font-size: clamp(38px, 8vw, 76px); }
  .sec-head h2.sm { font-size: clamp(36px, 7vw, 68px); }
  .hero { padding-top: 128px; min-height: auto; }
  .hero__cutout { width: min(70vw, 500px); }
  .stats { padding-top: 72px; padding-bottom: 96px; }
  .stats .lead-row { margin-bottom: 56px; }
  .products__grid { gap: 52px 36px; }
  .craft,
  .decor,
  .quality { padding-top: 104px; padding-bottom: 104px; }
  .decor__grid { grid-template-columns: repeat(4, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; padding: 80px 0; }
  .pd__grid { grid-template-columns: 1fr; gap: 40px; }
  .page-intro { padding-top: 140px; padding-bottom: 72px; }
}
@media (max-width: 820px) {
  :root { --pad-section: clamp(64px, 12vw, 88px); }
  .pill-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.nav-open .pill-nav {
    display: flex; position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); z-index: 45;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 12px;
    border-radius: 0;
    background: var(--cream);
    border-top: 1px solid var(--line);
    box-shadow: none;
    max-height: calc(100svh - 96px); overflow-y: auto;
  }
  .site-header.nav-open .pill-nav a {
    text-align: left;
    padding: 13px 0;
    border-radius: 0;
    color: var(--ink-2);
    background: transparent;
  }
  .site-header.nav-open .pill-nav a::after {
    left: 0;
    right: auto;
    width: 32px;
  }
  .site-header.nav-open .pill-nav a:hover {
    background: transparent;
    color: var(--brand-red);
  }
  .site-header.nav-open .pill-nav a.active {
    background: transparent;
    color: var(--brand-red);
  }
  .site-header.nav-open.on-dark-nav .pill-nav {
    background: var(--cream);
    border-color: var(--line);
  }
  .brand .kbd { display: none; }
  .header-cta .kbd { display: none; }
  .site-header .header-cta .btn { height: 46px; padding: 0 18px; font-size: 15px; }
  .hero { padding-top: 112px; padding-bottom: 48px; }
  .hero__meta { grid-template-columns: 1fr; gap: 18px; }
  .hero__meta .col { align-items: flex-start !important; text-align: left !important; }
  .hero__meta p { max-width: none; }
  .hero__cutout { width: min(76vw, 440px); margin-top: 40px; }
  .hero__annot { flex-direction: column; align-items: center; gap: 28px; margin-top: 28px; }
  .hero__annot .lead p { font-size: clamp(17px, 3vw, 20px); }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { height: 50px; padding: 0 20px; }
  .hero__cats { margin-top: 40px; }
  .products__grid { grid-template-columns: 1fr; gap: 48px; }
  .products__grid .cell.offset { padding-top: 0; }
  .process { grid-template-columns: 1fr 1fr; }
  .apps__row.a, .apps__row.b { grid-template-columns: 1fr; }
  .craft__diagram { height: auto; padding: 32px; }
  .craft__stack { position: static; transform: none; width: 100%; margin: 80px 0; }
  .callout { display: none; }
  .quality__row { grid-template-columns: 1fr; gap: 8px; }
  .quality__row .go { display: none; }
  .contact__form .two, .contact__lines { grid-template-columns: 1fr; }
  .contact__grid { padding: 72px 0; }
  .contact__form { padding: 32px; border-radius: 18px; }
  .contact__form .submit-row { align-items: stretch; flex-direction: column; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stats__grid .item:nth-child(odd) { border-left: none; padding-left: 0; }
  .site-footer .cols { gap: 36px 28px; }
  .pd__nav { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  :root {
    --pad-section: 64px;
    --gutter: clamp(16px, 5vw, 22px);
  }
  .section { padding: var(--pad-section) 0; }
  .btn {
    height: auto;
    min-height: 44px;
    padding: 10px 16px;
    white-space: normal;
    line-height: 1.25;
  }
  .site-header .wrap { padding-top: 14px; padding-bottom: 14px; gap: 10px; }
  .brand__logo { height: 28px; max-width: 120px; }
  .site-header .header-cta .btn {
    height: 42px;
    padding: 0 13px;
    font-size: 14px;
  }
  .site-header .header-cta .btn .arr { display: none; }
  .hero {
    padding-top: 96px;
    padding-bottom: 40px;
    min-height: auto;
  }
  .hero .brand-wordmark { font-size: clamp(34px, 11vw, 56px); }
  .hero__annot .lead p { font-size: 16.5px; line-height: 1.55; }
  .hero__actions { width: 100%; align-items: stretch; }
  .hero__actions .btn { width: 100%; min-height: 48px; padding: 11px 16px; }
  .hero__cutout { width: min(84vw, 330px); margin-top: 34px; filter: drop-shadow(0 28px 32px rgba(14,14,14,0.2)); }
  .hero__cutout .tag { left: 12px; bottom: 12px; max-width: calc(100% - 24px); }
  .hero__cats { justify-content: flex-start; margin-top: 34px; }
  .cat-chip { padding: 9px 13px; font-size: 12.5px; }
  .ticker { padding: 16px 0; }
  .ticker__track { gap: 32px; padding-left: 32px; }
  .ticker__item { gap: 32px; font-size: clamp(24px, 8vw, 38px); }
  .sec-head, .sec-head.even { margin-bottom: 40px; gap: 20px; }
  .sec-head h2,
  .stats .lead-row h2,
  .page-intro h1,
  .contact__grid h2 { letter-spacing: -0.025em; }
  .sec-head h2 { font-size: clamp(34px, 11vw, 52px); line-height: 1.02; }
  .sec-head h2.sm { font-size: clamp(32px, 10vw, 48px); line-height: 1.04; }
  .sec-head p,
  .stats .lead-row p,
  .contact__grid .pitch,
  .page-intro .lead { font-size: 16px; }
  .stats { padding-top: 56px; padding-bottom: 72px; }
  .stats .lead-row { margin-bottom: 40px; }
  .stats__grid { padding-top: 36px; }
  .stat-num { font-size: clamp(46px, 16vw, 72px); }
  .products { padding-bottom: 72px; }
  .products-page-spacer { height: 48px; }
  .product-card .meta-row { gap: 14px; margin-top: 16px; }
  .product-card h3,
  .product-card.large h3 { font-size: clamp(24px, 7vw, 30px); }
  .product-card .go { width: 34px; height: 34px; }
  .craft,
  .decor,
  .quality { padding-top: 72px; padding-bottom: 72px; }
  .craft__diagram { padding: 22px; border-radius: 18px; }
  .craft__stack { margin: 44px 0; }
  .process { grid-template-columns: 1fr; gap: 20px; margin-top: 48px; }
  .apps__row.b { margin-top: 36px; }
  .apps__cap h3 { font-size: 24px; }
  .quality__row { padding: 22px 0; }
  .quality__row .code { font-size: 24px; }
  .contact { padding-bottom: 72px; }
  .contact.standalone { padding-top: 112px; }
  .contact__grid { padding: 64px 0; }
  .contact__form { padding: 24px; gap: 24px; }
  .contact__lines .big { font-size: 19px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .site-footer .mega .word { font-size: clamp(40px, 10.5vw, 58px); padding: 24px 0 22px; }
  .footer-brand__logo { height: 48px; max-width: 220px; }
  .decor__grid { grid-template-columns: repeat(3, 1fr); }
  .stats__grid { grid-template-columns: 1fr; }
  .stats__grid .item { border-left: none; padding-left: 0; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .decor__info { flex-direction: column; gap: 6px; }
  .decor__foot, .pd__nav { flex-direction: column; align-items: flex-start; }
  .decor__foot .btn { width: 100%; }
  .page-intro { padding-top: 112px; padding-bottom: 56px; }
  .page-intro h1 { font-size: clamp(42px, 13vw, 64px); line-height: 0.98; }
  .pd__specs .r { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 390px) {
  .brand__logo { max-width: 104px; height: 25px; }
  .nav-toggle { width: 40px; height: 40px; border-radius: 9px; }
  .decor__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .swatch { border-radius: 10px; }
  .swatch__meta { left: 9px; right: 9px; bottom: 9px; font-size: 9px; flex-direction: column; align-items: flex-start; }
  .swatch__finish { top: 8px; right: 8px; font-size: 8.5px; }
  .site-footer .cols { grid-template-columns: 1fr; margin-top: 40px; padding-top: 36px; }
  .footer-brand__logo { height: 42px; max-width: 190px; }
  .spec-pill { font-size: 9.5px; padding: 5px 8px; }
}

@media (max-width: 360px) {
  .hero .brand-wordmark { font-size: clamp(31px, 10.5vw, 38px); }
  .cat-chip { flex: 1 1 calc(50% - 8px); justify-content: center; }
  .contact__form { padding: 20px; }
}

@media (max-height: 720px) and (min-width: 821px) {
  .hero { min-height: auto; padding-bottom: 52px; }
  .hero__cutout { width: min(42vw, 420px); margin-top: 34px; }
  .hero__cats { margin-top: 36px; }
}

/* ============================================================
   Admin back-office
   ============================================================ */
.admin-body { background: var(--cream-2); min-height: 100vh; }
.admin-shell { display: grid; grid-template-columns: 256px 1fr; min-height: 100vh; }
.admin-side { background: var(--ink); color: var(--cream); padding: 28px 22px; position: sticky; top: 0; height: 100vh; }
.admin-side .brand { margin-bottom: 36px; }
.admin-side .brand__mark { background: var(--cream); border-radius: 3px; }
.admin-side .brand__name { color: var(--cream); }
.admin-nav { display: flex; flex-direction: column; gap: 4px; }
.admin-nav a { padding: 11px 14px; border-radius: 10px; font-size: 14px; color: var(--mute-dark); transition: background .2s, color .2s; }
.admin-nav a:hover { background: rgba(244,241,236,0.06); color: var(--cream); }
.admin-nav a.active { background: var(--caramel); color: #fff; }
.admin-side .signout { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.admin-side .signout .who { font-size: 12.5px; color: var(--mute-dark); margin-bottom: 10px; word-break: break-all; }
.admin-main { padding: 40px clamp(20px, 4vw, 56px); }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.admin-head h1 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.admin-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.admin-card { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.admin-card .n { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; }
.admin-card .l { color: var(--mute); font-size: 13.5px; margin-top: 6px; }
.panel { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.panel__head { padding: 18px 22px; border-bottom: 1px solid var(--line); font-weight: 600; letter-spacing: -0.01em; }
.atable { width: 100%; border-collapse: collapse; font-size: 14px; }
.atable th { text-align: left; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); padding: 14px 22px; border-bottom: 1px solid var(--line); font-weight: 500; }
.atable td { padding: 14px 22px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.atable tr:last-child td { border-bottom: 0; }
.atable tr:hover td { background: rgba(14,14,14,0.02); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); }
.badge.unread { background: var(--caramel); color: #fff; border-color: var(--caramel); }
.badge.on { color: #2e6b3e; border-color: rgba(46,107,62,0.4); background: rgba(46,107,62,0.08); }
.badge.off { color: var(--mute); }
.abtn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 13.5px; font-weight: 500; border: 1px solid var(--ink); cursor: pointer; }
.abtn.ghost { background: transparent; color: var(--ink); }
.abtn.ghost:hover { background: var(--ink); color: var(--cream); }
.abtn.caramel { background: var(--caramel); border-color: var(--caramel); color: #fff; }
.abtn.danger { background: transparent; color: #a23b28; border-color: rgba(162,59,40,0.4); height: 36px; padding: 0 14px; font-size: 13px; }
.abtn.danger:hover { background: #a23b28; color: #fff; }
.abtn.sm { height: 36px; padding: 0 14px; font-size: 13px; }
.aform { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.aform .full { grid-column: 1 / -1; }
.afield { display: flex; flex-direction: column; gap: 7px; }
.afield label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.afield input, .afield select, .afield textarea {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px;
  font-family: var(--sans); font-size: 14.5px; color: var(--ink); outline: none; transition: border-color .2s;
}
.afield input:focus, .afield select:focus, .afield textarea:focus { border-color: var(--caramel); }
.afield textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.afield .hint { font-size: 12px; color: var(--mute); }
.flash { background: rgba(225,37,27,0.14); border: 1px solid var(--caramel); color: var(--ink-2); padding: 13px 18px; border-radius: 12px; margin-bottom: 24px; font-size: 14px; }
.alert-err { background: rgba(162,59,40,0.1); border: 1px solid rgba(162,59,40,0.4); color: #7d2a1c; padding: 13px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 14px; }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.login-card { width: 100%; max-width: 400px; background: var(--cream); border: 1px solid var(--line); border-radius: 20px; padding: 40px; }
.login-card .brand { margin-bottom: 28px; }
.login-card .afield { margin-bottom: 18px; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 24px; }
.kv dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
@media (max-width: 820px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; }
  .admin-cards { grid-template-columns: 1fr; }
  .aform { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; }
}
