/* ═══════════════════════════════════════════════════════════════
   FORM — Walnut Frame Studio
   Design System & Homepage Styles
   ═══════════════════════════════════════════════════════════════ */


/* ── Custom Properties ──────────────────────────────────────────── */
:root {

  /* Walnut Palette — sampled from actual product photography */
  --walnut-deep:      #1A0C05;   /* deepest shadow, shadow-box interior */
  --walnut-frame:     #4A2A14;   /* the solid walnut frame itself */
  --walnut-mid:       #6B3D1E;   /* mid-tone warm brown */
  --walnut-veneer:    #8B5A2B;   /* the lighter veneer background */
  --walnut-highlight: #B87840;   /* bright grain line, direct light */
  --grain-gold:       #C08040;   /* warm gold accent — grain at peak light */
  --grain-pale:       #D4A878;   /* palest grain, near the sapwood */

  /* Neutrals */
  --cream:            #F2EBE0;   /* gallery wall white */
  --ivory:            #F8F4EE;   /* off-white, page background */
  --concrete:         #CAC0B8;   /* raw concrete (lifestyle setting) */
  --warm-black:       #0F0C0A;   /* laser-cut shape color */
  --void:             #080604;   /* footer, deepest dark */

  /* Text */
  --ink:              #1C0D07;   /* primary text */
  --ink-mid:          #5A4035;   /* secondary text */
  --ink-light:        #9C7D68;   /* captions, labels */

  /* Typography */
  --font-display:     'Cormorant Garamond', 'Book Antiqua', Georgia, serif;
  --font-ui:          'Syne', system-ui, sans-serif;

  /* Spacing — 8px base scale */
  --sp-1:   0.5rem;   /*  8px */
  --sp-2:   1rem;     /* 16px */
  --sp-3:   1.5rem;   /* 24px */
  --sp-4:   2rem;     /* 32px */
  --sp-6:   3rem;     /* 48px */
  --sp-8:   4rem;     /* 64px */
  --sp-12:  6rem;     /* 96px */
  --sp-16:  8rem;     /* 128px */
  --sp-24: 12rem;     /* 192px */

  /* Layout */
  --max-w:        1400px;
  --nav-h:        76px;
  --frame-depth:  16px;   /* padding = visual frame thickness */

  /* Motion */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.45, 0, 0.55, 1);
  --duration-fast:   200ms;
  --duration-base:   400ms;
  --duration-slow:   800ms;
  --duration-enter: 1000ms;
}


/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--ivory);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 400;
  overflow-x: hidden;
  cursor: default;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.is-ready {
  opacity: 1;
}

body > main {
  flex: 1;
  min-height: 60vh;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: italic; }


/* ── Shared Utilities ───────────────────────────────────────────── */

/* Small all-caps label */
.label {
  font-family: var(--font-ui);
  font-size: 0.625rem;   /* 10px */
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--grain-gold);
}

.label--light {
  color: var(--grain-gold);
}

/* Underline text link */
.text-link {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mid);
  border-bottom: 1px solid var(--concrete);
  padding-bottom: 2px;
  transition: color var(--duration-fast), border-color var(--duration-fast);
}

.text-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.text-link--light {
  color: var(--walnut-mid);
  border-color: rgba(74, 42, 20, 0.3);
}

.text-link--light:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* Scroll-triggered reveal — initial state */
[data-reveal-scroll] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

[data-reveal-scroll].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in grid */
.collection__grid [data-reveal-scroll]:nth-child(2) { transition-delay: 120ms; }
.collection__grid [data-reveal-scroll]:nth-child(3) { transition-delay: 240ms; }

.materials__item:nth-child(2) { transition-delay: 80ms; }
.materials__item:nth-child(3) { transition-delay: 160ms; }
.materials__item:nth-child(4) { transition-delay: 240ms; }


/* ── Breadcrumb ─────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 64px;
  margin: calc(var(--nav-h) + 28px) auto 0;
  max-width: 1320px;
}
.breadcrumb--light .breadcrumb__item,
.breadcrumb--light .breadcrumb__sep  { color: rgba(248,244,238,0.45); }
.breadcrumb--light .breadcrumb__item:hover { color: rgba(248,244,238,0.85); }
.breadcrumb--light .breadcrumb__item--current { color: rgba(248,244,238,0.28); }
.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-ui);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--grain-gold);
  text-decoration: none;
  transition: opacity .18s;
}
.breadcrumb__item:hover { opacity: .65; }
.breadcrumb__item svg  { width: 10px; height: 10px; flex-shrink: 0; }
.breadcrumb__sep {
  font-family: var(--font-ui);
  font-size: 0.5rem;
  color: rgba(74,42,20,0.28);
  user-select: none;
}
.breadcrumb__item--current {
  color: var(--ink-light);
  pointer-events: none;
}
@media (max-width: 640px) {
  .breadcrumb { padding: 0 24px; }
}

/* ── Navigation ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 var(--sp-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition:
    background var(--duration-base) var(--ease-out),
    border-color var(--duration-base),
    backdrop-filter var(--duration-base);
}

.nav.is-scrolled {
  background: rgba(248, 244, 238, 0.97);
  border-bottom-color: rgba(74, 42, 20, 0.12);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  transition: opacity var(--duration-fast);
}
.nav__brand:hover { opacity: 0.75; }

.nav__logo {
  height: 28px;
  width: auto;
  display: block;
  transition: filter var(--duration-base);
}

.nav.is-scrolled .nav__logo {
  filter: none;
}

.nav__mark {
  width: 13px;
  height: 13px;
  color: var(--grain-gold);
  flex-shrink: 0;
}

.nav__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  color: var(--ivory);
  text-transform: uppercase;
  padding-right: 0.5em;
  transition: color var(--duration-base);
}

.nav.is-scrolled .nav__name {
  color: var(--ink);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav__links a {
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(248, 244, 238, 0.65);
  transition: color var(--duration-fast);
}

.nav.is-scrolled .nav__links a {
  color: var(--ink-mid);
}

.nav__links a:hover,
.nav.is-scrolled .nav__links a:hover {
  color: var(--ink);
}

.nav__acquire {
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ivory);
  padding: 10px 22px;
  border: 1px solid rgba(248, 244, 238, 0.45);
  transition:
    background var(--duration-fast),
    border-color var(--duration-fast),
    color var(--duration-fast);
}

.nav.is-scrolled .nav__acquire {
  color: var(--ink);
  border-color: rgba(74, 42, 20, 0.35);
}

.nav__acquire:hover {
  background: rgba(248, 244, 238, 0.18);
  border-color: var(--ivory);
}

.nav.is-scrolled .nav__acquire:hover {
  background: var(--walnut-frame);
  border-color: var(--walnut-frame);
  color: var(--ivory);
}


/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: var(--nav-h) var(--sp-8) var(--sp-8);
  overflow: hidden;
}

/* Cover photograph — full bleed */
.hero__bg {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Dark overlay for text readability — heavier on the left where text sits */
.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(8, 5, 3, 0.62) 0%,
      rgba(8, 5, 3, 0.38) 50%,
      rgba(8, 5, 3, 0.10) 100%
    ),
    linear-gradient(
      to top,
      rgba(8, 5, 3, 0.45) 0%,
      transparent 55%
    );
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 680px;
}

/* Hero — entrance animations */
.hero__eyebrow {
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--grain-gold);
  margin-bottom: var(--sp-4);
  opacity: 0;
  transform: translateY(14px);
  animation: revealUp var(--duration-enter) var(--ease-out) 0.3s forwards;
}

.hero__title-wrap {
  margin-bottom: var(--sp-4);
  position: relative;
  padding: var(--sp-4) 0;
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp var(--duration-enter) var(--ease-out) 0.55s forwards;
}

/* Thin horizontal rules flanking the title — the "frame within the frame" */
.hero__title-wrap::before,
.hero__title-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--grain-gold), rgba(192,128,64,0));
  animation: expandRule 1.2s var(--ease-out) 1s forwards;
}

.hero__title-wrap::before { top: 0; }
.hero__title-wrap::after  { bottom: 0; }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--ivory);
}

.hero__title em {
  color: var(--grain-pale);
  display: block;
}

.hero__sub {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.9;
  color: rgba(248, 244, 238, 0.55);
  margin-bottom: var(--sp-6);
  opacity: 0;
  animation: revealUp var(--duration-enter) var(--ease-out) 0.85s forwards;
}

.hero__cta {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory);
  padding: 15px 40px;
  border: 1px solid rgba(248, 244, 238, 0.45);
  opacity: 0;
  animation: revealUp var(--duration-enter) var(--ease-out) 1.1s forwards;
  transition:
    background var(--duration-fast),
    border-color var(--duration-fast),
    color var(--duration-fast);
}

.hero__cta:hover {
  background: rgba(248, 244, 238, 0.15);
  border-color: var(--ivory);
}


/* Hero — scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--sp-4);
  left: var(--sp-8);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  opacity: 0;
  animation: revealFade 1s ease 2s forwards;
}

.hero__scroll-label {
  font-family: var(--font-ui);
  font-size: 0.5rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(248, 244, 238, 0.35);
}

.hero__scroll-track {
  width: 48px;
  height: 1px;
  background: rgba(248, 244, 238, 0.18);
  position: relative;
  overflow: hidden;
}

.hero__scroll-dot {
  position: absolute;
  top: -1px;
  left: -8px;
  width: 8px;
  height: 3px;
  background: var(--grain-gold);
  animation: scrollDot 2.4s var(--ease-in-out) 2s infinite;
}


/* ── Manifesto ──────────────────────────────────────────────────── */
.manifesto {
  padding: var(--sp-16) var(--sp-8);
  background: var(--cream);
}

.manifesto__inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
}

.manifesto__rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(74, 42, 20, 0.25) 30%,
    rgba(74, 42, 20, 0.25) 70%,
    transparent
  );
}

.manifesto__quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-align: center;
  color: var(--ink);
}

.manifesto__quote em {
  color: var(--walnut-mid);
}


/* ── Collection ─────────────────────────────────────────────────── */
.collection {
  padding: var(--sp-24) var(--sp-8);
  background: var(--ivory);
}

.collection__header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-16);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(74, 42, 20, 0.12);
}

.collection__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex: 1;
  min-width: 200px;
}

.collection__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
  max-width: 1035px;
  margin: 0 auto;
}

/* ── Piece Card ─────────────────────────────────────────────────── */
.piece {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.piece__link {
  display: block;
}

/* The outer "aura" — slight warm glow beneath the frame */
.piece__frame-outer {
  transition: transform var(--duration-slow) var(--ease-out);
}

.piece:hover .piece__frame-outer {
  transform: translateY(-10px);
}

/* The walnut shadow-box frame */
.piece__frame {
  padding: 3px;
  background: #816144;
  box-shadow:
    0  4px 16px rgba(26, 12, 5, 0.12),
    0  1px  4px rgba(26, 12, 5, 0.08);
  transition: box-shadow var(--duration-slow) var(--ease-out);
}

.piece:hover .piece__frame {
  box-shadow:
    0  8px 32px rgba(26, 12, 5, 0.18),
    0  2px  8px rgba(26, 12, 5, 0.10);
}

/* The veneer background inside the frame */
.piece__veneer {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Wide piece has landscape veneer */
.piece--wide .piece__veneer {
  aspect-ratio: 4 / 3;
}

/* Multiply blend — artwork merges with walnut veneer background */
.piece__veneer img {
  mix-blend-mode: multiply;
  transition: transform var(--duration-slow) var(--ease-out);
}

.piece:hover .piece__veneer img {
  transform: scale(1.04);
}

.piece__art {
  width: 55%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.45));
  transition: transform var(--duration-slow) var(--ease-out);
}

.piece:hover .piece__art {
  transform: scale(1.03);
}

/* Metadata below the frame */
.piece__meta {
  padding: 0 4px;
}

.piece__num {
  font-family: var(--font-ui);
  font-size: 0.5625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grain-gold);
  margin-bottom: var(--sp-1);
}

.piece__name {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 4px;
  transition: color var(--duration-fast);
}

.piece:hover .piece__name {
  color: var(--walnut-frame);
}

.piece__detail {
  font-family: var(--font-ui);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: var(--sp-1);
}

.piece__price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
}


/* ── Craft (Warm Parchment Section) ────────────────────────────── */
.craft {
  position: relative;
  background: #EDE3D4;
  padding: var(--sp-24) var(--sp-8);
  overflow: hidden;
}

/* Subtle warm grain striations on parchment */
.craft::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      91.5deg,
      transparent              0px,
      transparent              6px,
      rgba(74, 42, 20, 0.018)  6px,
      rgba(74, 42, 20, 0.018)  7px,
      transparent              7px,
      transparent             14px
    );
  pointer-events: none;
}

.craft__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.craft__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: var(--sp-4) 0 var(--sp-6);
}

.craft__title em {
  color: var(--walnut-frame);
  display: block;
}

.craft__body {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-mid);
  max-width: 460px;
  margin-bottom: var(--sp-4);
}

.craft__diagram-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  border: 1px solid rgba(74, 42, 20, 0.18);
}

.craft__diagram {
  width: 100%;
  max-width: 360px;
  height: auto;
  opacity: 0.9;
}


/* ── Materials Strip ────────────────────────────────────────────── */
.materials {
  background: var(--cream);
  padding: var(--sp-12) var(--sp-8);
  border-top: 1px solid rgba(74, 42, 20, 0.08);
  border-bottom: 1px solid rgba(74, 42, 20, 0.08);
}

.materials__list {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.materials__item {
  flex: 1;
  padding: var(--sp-4) var(--sp-6);
  text-align: center;
}

.materials__divider {
  width: 1px;
  height: 60px;
  background: rgba(74, 42, 20, 0.15);
  flex-shrink: 0;
}

.materials__icon {
  font-size: 0.625rem;
  color: var(--grain-gold);
  display: block;
  margin-bottom: var(--sp-2);
}

.materials__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: var(--sp-1);
}

.materials__desc {
  font-family: var(--font-ui);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
}


/* ── Footer ─────────────────────────────────────────────────────── */
.footer {
  background: var(--void);
  padding: var(--sp-16) var(--sp-8) var(--sp-8);
  border-top: 1px solid rgba(192, 128, 64, 0.12);
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-8);
  margin-bottom: var(--sp-12);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.footer__mark {
  width: 14px;
  height: 14px;
  color: var(--grain-gold);
  margin-bottom: 4px;
}

.footer__name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  padding-right: 0.5em;
  color: var(--ivory);
  text-transform: uppercase;
}

.footer__tagline {
  font-family: var(--font-ui);
  font-size: 0.5625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.footer__nav {
  display: flex;
  gap: var(--sp-16);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer__col-head {
  font-family: var(--font-ui);
  font-size: 0.5625rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--grain-gold);
  margin-bottom: var(--sp-1);
}

.footer__col a {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(248, 244, 238, 0.38);
  transition: color var(--duration-fast);
}

.footer__col a:hover {
  color: var(--ivory);
}

.footer__legal {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer__legal p {
  font-family: var(--font-ui);
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 244, 238, 0.18);
}


/* ── Keyframe Animations ────────────────────────────────────────── */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes expandRule {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 72%;
    opacity: 1;
  }
}

@keyframes scrollDot {
  0%   { left: -8px;  opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: 48px;  opacity: 0; }
}


/* ═══════════════════════════════════════════════════════════════
   HAMBURGER + MOBILE MENU
   ═══════════════════════════════════════════════════════════════ */

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  flex-shrink: 0;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav.is-scrolled .nav__hamburger span { background: var(--ink); }

.nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Full-screen mobile overlay */
.nav__mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #080604;
  z-index: 500;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav__mobile-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav__mobile-overlay ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 0;
}

.nav__mobile-overlay ul a {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  font-weight: 300;
  color: #F8F4EE;
  letter-spacing: 0.04em;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.nav__mobile-overlay ul a:hover { opacity: 1; }

.nav__mobile-acquire {
  margin-top: 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F8F4EE;
  border: 1px solid rgba(248,244,238,0.3);
  padding: 11px 30px;
}

/* ── Responsive ─────────────────────────────────────────────────── */

/* Tablet — 1024px */
@media (max-width: 1024px) {
  :root {
    --sp-8:  3rem;
    --sp-12: 4.5rem;
    --sp-16: 6rem;
    --sp-24: 8rem;
  }

  .collection__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
  }

  .piece--wide {
    grid-column: 1 / -1;
  }

  .piece--wide .piece__veneer {
    aspect-ratio: 16 / 7;
  }

  .craft__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .craft__diagram-wrap {
    max-width: 360px;
  }


}

/* Mobile — 640px */
@media (max-width: 640px) {
  :root {
    --sp-8:  1.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-24: 6rem;
    --nav-h: 64px;
  }

  /* ── Nav ── */
  .nav__links          { display: none; }
  .nav__acquire        { display: none; }
  .nav__hamburger      { display: flex; }
  .nav__mobile-overlay { display: flex; }

  /* ── Hero ── */
  .hero__content { max-width: 100%; }
  .hero__title   { line-height: 0.95; }
  .hero__cta     { padding: 12px 28px; }
  .hero__scroll  { display: none; }

  /* ── Manifesto ── */
  .manifesto { padding: var(--sp-12) var(--sp-8); }

  /* ── Collection (homepage) ── */
  .collection__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
  .piece--wide .piece__veneer { aspect-ratio: 4 / 5; }

  /* ── Craft ── */
  .craft__title  { line-height: 0.95; }
  .craft__body   { max-width: 100%; }

  /* ── Materials ── */
  .materials__list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-4);
  }
  .materials__divider {
    width: 40px;
    height: 1px;
    align-self: flex-start;
    margin-left: var(--sp-6);
  }
  .materials__item { text-align: left; }

  /* ── Footer ── */
  .footer__inner   { flex-direction: column; gap: var(--sp-6); }
  .footer__nav     { gap: var(--sp-6); flex-wrap: wrap; }
  .footer__legal   { flex-direction: column; gap: var(--sp-2); text-align: center; }
}

