/* Jia Da Packaging — first-draft site styles */

:root {
  --ivory: #f7f3ec;
  --ivory-deep: #efe8dc;
  --paper: #fffaf3;
  --ink: #141210;
  --ink-soft: #3c3832;
  --muted: #7a7268;
  --line: rgba(20, 18, 16, 0.12);
  --line-strong: rgba(20, 18, 16, 0.22);
  --gold: #b0894f;
  --gold-soft: #c4a574;
  --gold-dim: #8c6d3a;
  --dark: #0e0d0c;
  --dark-2: #181614;
  --dark-3: #221f1c;
  --cream-on-dark: #f7f3ec;
  --muted-on-dark: rgba(247, 243, 236, 0.62);
  --line-on-dark: rgba(247, 243, 236, 0.14);
  --wa: #25d366;
  --wa-deep: #1ebe57;
  --danger: #9a3b2f;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --max: 1320px;
  --pad: clamp(20px, 4vw, 64px);
  --section: clamp(72px, 12vw, 160px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: auto;
  background: var(--ivory);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html.lenis, html.lenis body { height: auto; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
}

img, picture, video { max-width: 100%; height: auto; display: block; }
img { object-fit: cover; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

h1, h2, h3, .display {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  background: var(--ink);
  color: var(--ivory);
  padding: 8px 14px;
  border-radius: 4px;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
}
.site-header.is-scrolled {
  background: rgba(247, 243, 236, 0.86);
  backdrop-filter: saturate(1.2) blur(16px);
  -webkit-backdrop-filter: saturate(1.2) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .header-inner {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.25s;
}
.nav a:not(.btn):hover,
.nav a:not(.btn).is-active { color: var(--ink); }
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:not(.btn):hover::after,
.nav a:not(.btn).is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 90;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--ink);
  color: var(--ivory);
}
.btn-primary:hover { background: #000; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(20,18,16,0.04); }
.btn-gold {
  background: var(--gold);
  color: #1a140c;
}
.btn-gold:hover { background: var(--gold-soft); }
.btn-light {
  background: var(--ivory);
  color: var(--ink);
}
.btn-light:hover { background: #fff; }
.btn-wa {
  background: var(--wa);
  color: #063;
}
.btn-wa:hover { background: var(--wa-deep); color: #fff; }
.btn-nav {
  margin-left: 8px;
  min-height: 40px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--ivory) !important;
  border-radius: 999px;
}
.btn-nav:hover { background: #000; }
.btn-nav::after { display: none !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 24px) 0 48px;
  background: var(--ivory);
  overflow: hidden;
}
.hero-inner {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(44px, 6.4vw, 88px);
  font-weight: 500;
  max-width: 12ch;
}
.hero .lede {
  margin-top: 28px;
  max-width: 38ch;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-soft);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual .media {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 1;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  will-change: transform;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center 60%;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* ---------- Facts ---------- */
.facts {
  background: var(--dark);
  color: var(--cream-on-dark);
  padding: clamp(56px, 8vw, 96px) 0;
}
.facts-grid {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fact {
  text-align: center;
  padding: 8px 16px;
}
.fact-num {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ivory);
}
.fact-num .unit {
  font-size: 0.42em;
  letter-spacing: 0;
  margin-left: 6px;
  font-weight: 500;
}
.fact-label {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

/* ---------- Shared sections ---------- */
.section { padding: var(--section) 0; }
.section-dark {
  background: var(--dark);
  color: var(--cream-on-dark);
}
.section-dark h2, .section-dark h3 { color: var(--cream-on-dark); }
.section-dark .eyebrow { color: var(--gold-soft); }
.section-dark p { color: var(--muted-on-dark); }
.section-ivory { background: var(--ivory); }
.section-paper { background: var(--paper); }
.section-deep { background: var(--ivory-deep); }

.section-head {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin: 0 auto clamp(40px, 6vw, 80px);
}
.section-head h2 { max-width: 18ch; }
.section-head.wide { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.section-head h2 {
  font-size: clamp(36px, 5vw, 68px);
  margin-top: 12px;
}
.section-head .intro {
  margin-top: 18px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
  line-height: 1.55;
}
.section-dark .section-head .intro { color: var(--muted-on-dark); }

/* ---------- Categories ---------- */
.cat-grid {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ivory-deep);
  min-height: 420px;
  color: var(--ivory);
}
.cat-card:nth-child(1) { grid-row: 1 / span 2; min-height: 680px; }
.cat-card .media {
  position: absolute;
  inset: 0;
}
.cat-card .media img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: translateY(-5%);
  transition: transform 1.1s var(--ease);
}
.cat-card:hover .media img { transform: translateY(-5%) scale(1.05); }
.cat-card .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,13,12,0.05) 30%, rgba(14,13,12,0.72) 100%);
  z-index: 1;
}
.cat-card .copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 32px;
}
.cat-card h3 {
  font-size: clamp(28px, 3vw, 42px);
  color: var(--ivory);
}
.cat-card p {
  margin-top: 8px;
  color: rgba(247,243,236,0.8);
  font-size: 15px;
  max-width: 36ch;
}
.cat-card .more {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ---------- Unbox sequence ---------- */
.unbox {
  background: var(--ivory);
}
.unbox-pin {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 5vw, 80px);
  width: min(var(--max), 100% - var(--pad) * 2);
  margin-inline: auto;
  align-items: center;
  padding: var(--header-h) 0;
}
.unbox-copy h2 {
  font-size: clamp(36px, 5vw, 64px);
  margin: 12px 0 20px;
  max-width: 12ch;
}
.unbox-copy p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 36ch;
}
.unbox-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 78vh;
  margin-inline: auto;
  border-radius: 8px;
  overflow: hidden;
  background: #efe8dc;
}
.unbox-stage img,
.unbox-stage .frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}
.unbox-open { opacity: 0; }
.unbox-caption {
  margin-top: 24px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Collection / product moments ---------- */
.moment {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin: 0 auto clamp(48px, 8vw, 120px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.moment.reverse { direction: rtl; }
.moment.reverse > * { direction: ltr; }
.moment .copy h3 {
  font-size: clamp(32px, 3.6vw, 52px);
  margin: 12px 0 16px;
}
.moment .copy p { color: var(--ink-soft); max-width: 42ch; }
.moment .copy .btn { margin-top: 24px; }
.moment-media {
  overflow: hidden;
  border-radius: 6px;
  background: var(--ivory-deep);
  aspect-ratio: 4 / 5;
}
.moment-media.wide { aspect-ratio: 5 / 4; }
.moment-media img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  transform: translateY(-5%);
  transition: transform 1.2s var(--ease);
}
.moment:hover .moment-media img { transform: translateY(-5%) scale(1.04); }

.product-grid {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  display: block;
}
.product-card .thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  background: var(--paper);
  margin-bottom: 16px;
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
}
.product-card p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Styles guide ---------- */
.style-grid {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.style-card {
  background: var(--paper);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.style-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20,18,16,0.08);
}
.style-card .thumb {
  aspect-ratio: 1;
  background: #f3eee6;
}
.style-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8%;
  transition: transform 0.8s var(--ease);
}
.style-card:hover .thumb img { transform: scale(1.04); }
.style-card .copy { padding: 18px 20px 22px; }
.style-card h3 {
  font-size: 22px;
  margin-bottom: 6px;
}
.style-card p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.style-card .num {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

/* ---------- Process ---------- */
.process-list {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: step;
}
.process-step {
  padding: 28px 24px 8px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.section-dark .process-step { border-top-color: var(--line-on-dark); }
.process-step .n {
  font-family: var(--font-serif);
  font-size: 42px;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}
.process-step h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.process-step p { font-size: 15px; color: var(--ink-soft); max-width: 28ch; }
.section-dark .process-step p { color: var(--muted-on-dark); }

/* ---------- Factory ---------- */
.factory-layout {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}
.factory-lead {
  overflow: hidden;
  border-radius: 6px;
  min-height: 420px;
  position: relative;
}
.factory-lead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}
.factory-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.factory-side .shot {
  overflow: hidden;
  border-radius: 6px;
  min-height: 200px;
}
.factory-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
}
.factory-caption {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.factory-caption h2 { font-size: clamp(32px, 4vw, 56px); }
.factory-caption p { color: var(--ink-soft); font-size: 18px; max-width: 48ch; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: clamp(80px, 12vw, 140px) 0;
  text-align: center;
  background: var(--dark);
  color: var(--ivory);
}
.cta-band h2 {
  color: var(--ivory);
  font-size: clamp(36px, 5.5vw, 72px);
  max-width: 16ch;
  margin: 12px auto 20px;
}
.cta-band p {
  color: var(--muted-on-dark);
  font-size: 18px;
  max-width: 42ch;
  margin: 0 auto 32px;
}
.cta-band .actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(40px, 6vw, 80px);
}
.page-hero h1 {
  font-size: clamp(44px, 6.4vw, 84px);
  max-width: 16ch;
}
.page-hero .lede {
  margin-top: 20px;
  max-width: 44ch;
  font-size: 19px;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */
.faq-list {
  width: min(760px, 100% - var(--pad) * 2);
  margin-inline: auto;
}
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%;
  text-align: left;
  padding: 22px 40px 22px 0;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  position: relative;
}
.faq-item button::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq-item.is-open button::after { transform: translateY(-20%) rotate(225deg); }
.faq-item .answer {
  display: none;
  padding: 0 8px 24px 0;
  color: var(--ink-soft);
  max-width: 62ch;
}
.faq-item.is-open .answer { display: block; }

/* ---------- Contact form ---------- */
.contact-grid {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.contact-aside h2 { font-size: clamp(32px, 4vw, 52px); margin: 12px 0 16px; }
.contact-aside p { color: var(--ink-soft); margin-bottom: 24px; max-width: 40ch; }
.contact-meta {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
.contact-meta a,
.contact-meta span {
  display: block;
}
.contact-meta .label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.contact-meta .value {
  font-size: 17px;
  margin-top: 2px;
}
.contact-meta a.value:hover { color: var(--gold-dim); }

.form {
  background: var(--paper);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(20,18,16,0.08);
}
.form-note {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 16px;
}
.form-hook { display: none; }
.form-error {
  display: none;
  color: var(--danger);
  font-size: 14px;
  margin-bottom: 12px;
}
.form-error.is-visible { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: var(--cream-on-dark);
  padding: 72px 0 32px;
}
.footer-grid {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.site-footer .logo { color: var(--ivory); margin-bottom: 16px; }
.site-footer .logo img { background: var(--ivory); border-radius: 6px; }
.site-footer p { color: var(--muted-on-dark); font-size: 14px; max-width: 36ch; }
.site-footer h3 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 14px;
}
.site-footer a { color: var(--muted-on-dark); font-size: 14px; display: block; padding: 4px 0; transition: color 0.25s; }
.site-footer a:hover { color: var(--ivory); }
.footer-bottom {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-on-dark);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted-on-dark);
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(20,18,16,0.2);
  transition: transform 0.35s var(--ease), background 0.3s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); background: var(--wa-deep); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- Customize blocks ---------- */
.spec-grid {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.spec-card {
  background: var(--paper);
  border-radius: 6px;
  padding: 32px 28px;
  border: 1px solid var(--line);
}
.spec-card h3 { font-size: 28px; margin-bottom: 10px; }
.spec-card p { color: var(--ink-soft); font-size: 16px; }

.about-prose {
  width: min(760px, 100% - var(--pad) * 2);
  margin-inline: auto;
}
.about-prose p + p { margin-top: 18px; }
.about-prose p { font-size: 19px; color: var(--ink-soft); }

/* ---------- Reveal defaults (JS enhances) ---------- */
[data-reveal] { }
.is-reduced [data-reveal],
.is-reduced .unbox-open { opacity: 1 !important; transform: none !important; }

/* ---------- Mobile ---------- */
@media (max-width: 980px) {
  .hero-inner,
  .unbox-pin,
  .moment,
  .moment.reverse,
  .factory-layout,
  .factory-caption,
  .contact-grid,
  .footer-grid,
  .cat-grid,
  .process-list,
  .product-grid,
  .style-grid,
  .spec-grid,
  .facts-grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .cat-card:nth-child(1) { grid-row: auto; min-height: 480px; }
  .cat-card { min-height: 360px; }
  .process-step { padding: 24px 0; }
  .factory-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; padding-bottom: 48px; }
  .hero-visual { order: -1; }
  .hero-visual .media { max-width: 280px; margin-inline: auto; }
  .unbox-stage { max-height: 64vh; max-width: 420px; }
  .section-head.wide { flex-direction: column; align-items: start; }
}

@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--ivory);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transform: translateY(-100%);
    transition: transform 0.45s var(--ease);
    z-index: 85;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { font-size: 28px; font-family: var(--font-serif); font-weight: 500; padding: 10px 16px; }
  .nav a::after { display: none; }
  .btn-nav {
    margin: 18px 0 0;
    font-family: var(--font-sans);
    font-size: 14px;
    background: var(--ink);
  }
  .logo span { font-size: 12px; }
  .facts-grid { gap: 36px; }
  .product-grid,
  .style-grid,
  .spec-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .factory-side { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .cat-card .copy { padding: 24px; }
  .hero h1 { font-size: clamp(36px, 11vw, 46px); }
  .hero .lede { margin-top: 16px; font-size: 16px; }
  .hero-actions { margin-top: 22px; margin-bottom: 8px; }
  .hero-copy .eyebrow { margin-bottom: 14px; }
  .hero { padding-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-visual .media,
  .cat-card .media img,
  .moment-media img,
  .unbox-stage img { transform: none !important; }
  .unbox-open { opacity: 1; }
  .unbox-closed { opacity: 0; }
}

@media (hover: none) {
  .cat-card:hover .media img,
  .moment:hover .moment-media img,
  .product-card:hover .thumb img,
  .style-card:hover .thumb img { transform: none; }
  .style-card:hover { transform: none; box-shadow: none; }
  .btn:hover { transform: none; }
}

/* Picture elements must fill their frames so absolute images pin correctly */
.hero-visual .media picture,
.moment-media picture,
.cat-card .media picture,
.factory-lead picture,
.factory-side .shot picture,
.product-card .thumb picture,
.style-card .thumb picture,
.unbox-stage picture {
  display: block;
  width: 100%;
  height: 100%;
}
.unbox-stage picture {
  position: absolute;
  inset: 0;
}
.hero-visual .media,
.moment-media,
.cat-card .media,
.factory-lead,
.factory-side .shot,
.product-card .thumb,
.style-card .thumb {
  overflow: hidden;
}
