/* ==========================================================================
   DANDY RUGS & FURNITURE — v3 "Madder & Indigo"
   Cinematic editorial design system
   Palette: espresso black / bone cream / madder rose / muted indigo
   Labels & wayfinding: indigo · Display accents & interaction: madder rose
   Type: Italiana (wordmark) · Cormorant Garamond (display) · Inter (text)
   ========================================================================== */

:root {
  /* dark world */
  --bg: #16120f;
  --bg-2: #1d1814;
  --bg-3: #241e18;
  --cream: #f4eee3;
  --cream-dim: #b9ae9a;
  --cream-faint: #857b69;
  --accent: #94abcd;      /* muted indigo — labels, kickers, wayfinding */
  --accent-2: #d1786e;    /* madder rose — display italics, hovers, interaction */
  --indigo-deep: #33517e;
  --red: #93393c;
  --line: rgba(244, 238, 227, 0.13);
  --line-strong: rgba(244, 238, 227, 0.28);

  /* light world */
  --paper: #f2ecdf;
  --paper-2: #e9e1d0;
  --ink: #191410;
  --ink-soft: #4d4438;
  --line-dark: rgba(25, 20, 16, 0.14);

  --font-word: "Italiana", serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --pad: clamp(20px, 4vw, 64px);
  --nav-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
}

::selection { background: var(--accent); color: var(--bg); }

/* ------------------------------------------------------------------ type */
.d-hero, .d-1, .d-2, .d-3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: currentColor;
}
.d-hero { font-size: clamp(52px, 9vw, 148px); }
.d-1 { font-size: clamp(42px, 6.4vw, 96px); }
.d-2 { font-size: clamp(32px, 4.2vw, 60px); }
.d-3 { font-size: clamp(24px, 2.6vw, 36px); }

.serif-i { font-family: var(--font-display); font-style: italic; font-weight: 500; }

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}
.kicker--bare::before { display: none; }

.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.75; color: var(--cream-dim); }
.light .lead { color: var(--ink-soft); }

/* ------------------------------------------------------------- scaffolding */
.wrap { padding-left: var(--pad); padding-right: var(--pad); }
.max { max-width: 1560px; margin-left: auto; margin-right: auto; }

.light { background: var(--paper); color: var(--ink); }
.light ::selection { background: var(--ink); color: var(--paper); }

section { position: relative; }

.rule { height: 1px; background: var(--line); border: none; }
.light .rule { background: var(--line-dark); }

/* ------------------------------------------------------------- preloader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  transition: transform 0.9s var(--ease), visibility 0s 0.9s;
}
.loader.done { transform: translateY(-101%); visibility: hidden; }
.loader-word {
  font-family: var(--font-word);
  font-size: clamp(30px, 4.4vw, 54px);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: var(--cream);
}
.loader-word span { color: var(--accent-2); }
.loader-bar {
  width: min(320px, 60vw);
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.loader-bar i {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.loader-pct {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--cream-faint);
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------- nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  transition: background 0.45s ease, border-color 0.45s ease, height 0.45s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(22, 18, 15, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  height: 68px;
}
.nav-brand {
  font-family: var(--font-word);
  font-size: 24px;
  letter-spacing: 0.22em;
  color: var(--cream);
  display: flex;
  align-items: baseline;
  gap: 10px;
  z-index: 2;
}
.nav-brand em {
  font-style: normal;
  color: var(--accent-2);
}
.nav-brand small {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 10px 18px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 1px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cream); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 11px 22px;
  min-height: 44px;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
  z-index: 2;
}
.nav-call svg { width: 15px; height: 15px; color: var(--accent-2); transition: color 0.3s ease; }
.nav-call:hover { background: var(--cream); border-color: var(--cream); color: var(--bg); }
.nav-call:hover svg { color: var(--bg); }

.burger {
  display: none;
  z-index: 2;
  width: 48px;
  height: 48px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}
.burger i {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.burger i:nth-child(1) { top: 19px; }
.burger i:nth-child(2) { top: 27px; }
.burger.open i:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger.open i:nth-child(2) { top: 23px; transform: rotate(-45deg); }

/* full-screen menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--nav-h) var(--pad) 40px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
}
.menu.open {
  clip-path: inset(0 0 0% 0);
  visibility: visible;
  transition: clip-path 0.7s var(--ease), visibility 0s;
}
.menu a.menu-link {
  font-family: var(--font-display);
  font-size: clamp(38px, 9vw, 72px);
  line-height: 1.16;
  color: var(--cream);
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 6px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease), color 0.3s ease;
}
.menu.open a.menu-link { opacity: 1; transform: none; }
.menu.open a.menu-link:nth-child(1) { transition-delay: 0.15s; }
.menu.open a.menu-link:nth-child(2) { transition-delay: 0.22s; }
.menu.open a.menu-link:nth-child(3) { transition-delay: 0.29s; }
.menu.open a.menu-link:nth-child(4) { transition-delay: 0.36s; }
.menu a.menu-link:hover { color: var(--accent-2); }
.menu a.menu-link sup {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.menu-meta {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 48px;
  font-size: 13px;
  color: var(--cream-dim);
  opacity: 0;
  transition: opacity 0.5s ease 0.45s;
}
.menu.open .menu-meta { opacity: 1; }
.menu-meta a { color: var(--accent-2); }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  background: var(--bg);
}
.hero-canvas, .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-poster { object-fit: cover; }
.hero-canvas { display: block; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 18, 15, 0.6) 0%, rgba(22, 18, 15, 0) 32%),
    linear-gradient(180deg, rgba(22, 18, 15, 0) 52%, rgba(22, 18, 15, 0.94) 100%),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(15, 11, 8, 0.5) 100%);
  pointer-events: none;
}

/* filmic grain + vignette */
.hero-grain {
  position: absolute;
  inset: -60px;
  pointer-events: none;
  z-index: 3;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-18px, 24px); }
  50% { transform: translate(22px, -14px); }
  75% { transform: translate(-12px, -22px); }
  100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-grain { animation: none; }
}

.hero-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--pad);
  pointer-events: none;
  z-index: 2;
}
/* guaranteed-legibility scrim that lives and dies with each stage */
.hero-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1150px, 96vw);
  height: min(560px, 72vh);
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(13, 10, 8, 0.78), rgba(13, 10, 8, 0.42) 55%, transparent 100%);
  pointer-events: none;
}
.hero-stage p { position: relative; }
.hero-stage .stage-kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 26px;
  text-shadow: 0 1px 12px rgba(13, 10, 8, 0.9);
}
.hero-stage .d-1 {
  max-width: 16ch;
  color: var(--cream);
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(13, 10, 8, 0.75), 0 1px 6px rgba(13, 10, 8, 0.6);
}
.hero-stage .serif-i { color: var(--accent-2); }
.hero-stage .w { display: inline-block; will-change: transform, opacity; }

.hero-final {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 0 var(--pad) clamp(48px, 9vh, 96px);
  pointer-events: none;
  z-index: 2;
}
.hero-final::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 78%;
  background: linear-gradient(180deg, transparent, rgba(13, 10, 8, 0.55) 42%, rgba(13, 10, 8, 0.9) 100%);
  pointer-events: none;
}
.hero-final > * { pointer-events: auto; position: relative; }
.hero-final .kicker { justify-content: center; margin-bottom: 18px; text-shadow: 0 1px 14px rgba(15, 11, 8, 0.95); }
.hero-final .kicker::before { display: none; }
.hero-final h1 {
  color: var(--cream);
  text-wrap: balance;
  text-shadow: 0 2px 34px rgba(13, 10, 8, 0.8), 0 1px 8px rgba(13, 10, 8, 0.55);
}
.hero-final h1 .serif-i { color: var(--accent-2); }
.hero-final p {
  margin: 20px auto 34px;
  max-width: 52ch;
  color: #ded5c3;
  font-size: clamp(15px, 1.3vw, 17.5px);
  text-shadow: 0 1px 16px rgba(13, 10, 8, 0.95);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* static hero (mobile / reduced-motion): darker veil, no hint, no kicker clutter */
.hero.static .hero-shade {
  background:
    linear-gradient(rgba(22, 18, 15, 0.32), rgba(22, 18, 15, 0.32)),
    linear-gradient(180deg, rgba(22, 18, 15, 0.65) 0%, rgba(22, 18, 15, 0.2) 40%, rgba(22, 18, 15, 0.94) 100%);
}
.hero.static .scroll-hint { display: none; }
@media (max-width: 640px) {
  .hero-final .kicker { display: none; }
  .hero-final { padding-bottom: 40px; }
}

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cream-faint);
  pointer-events: none;
}
.scroll-hint::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--accent-2), transparent);
  animation: hint-drop 2s ease-in-out infinite;
}
@keyframes hint-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.35s ease, border-color 0.35s ease, background 0.35s ease, transform 0.2s ease;
  border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn-solid { background: var(--cream); color: var(--bg); }
.btn-solid:hover { background: var(--accent-2); }
.btn-line { border-color: var(--line-strong); color: var(--cream); }
.btn-line:hover { border-color: var(--accent-2); color: var(--accent-2); }
.light .btn-solid { background: var(--ink); color: var(--paper); }
.light .btn-solid:hover { background: var(--red); }
.light .btn-line { border-color: rgba(25, 20, 16, 0.35); color: var(--ink); }
.light .btn-line:hover { border-color: var(--red); color: var(--red); }

/* ---------------------------------------------------------------- marquee */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: var(--bg);
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > span {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 500;
  white-space: nowrap;
  color: var(--cream-dim);
}
.marquee-track > span i {
  font-style: normal;
  color: var(--accent);
  font-size: 0.55em;
  transform: translateY(-0.1em);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ------------------------------------------------------- collections rows */
.rows { padding: clamp(90px, 12vh, 150px) 0; }
.rows-head { margin-bottom: clamp(48px, 7vh, 90px); display: grid; gap: 22px; }
.rows-head .lead { max-width: 54ch; }

.row-link {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  padding: clamp(26px, 3.6vh, 44px) 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.45s var(--ease);
}
.row-link:last-of-type { border-bottom: 1px solid var(--line); }
.row-num {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--cream-faint);
  font-variant-numeric: tabular-nums;
}
.row-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.2vw, 76px);
  font-weight: 500;
  line-height: 1;
  color: var(--cream);
  transition: color 0.35s ease;
}
.row-desc {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cream-faint);
  text-align: right;
  max-width: 240px;
}
.row-arrow {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.45s var(--ease);
}
.row-arrow svg { width: 18px; height: 18px; color: var(--cream); transition: color 0.35s ease; }
.row-link:hover { padding-left: 18px; }
.row-link:hover .row-title { color: var(--accent-2); }
.row-link:hover .row-arrow { background: var(--accent-2); border-color: var(--accent-2); transform: rotate(-45deg); }
.row-link:hover .row-arrow svg { color: var(--bg); }

.row-thumb { display: none; }

/* floating cursor preview (desktop) */
.row-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  aspect-ratio: 3 / 3.9;
  border-radius: 4px;
  overflow: hidden;
  pointer-events: none;
  z-index: 90;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.35s ease, transform 0.45s var(--ease);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.row-preview.on { opacity: 1; transform: scale(1); }
.row-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.row-preview img.show { opacity: 1; }

/* ---------------------------------------------------------------- craft */
.craft { background: var(--paper); color: var(--ink); }
.craft-pin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
  align-items: center;
  gap: clamp(30px, 5vw, 90px);
  padding-top: 60px;
  padding-bottom: 60px;
}
.craft-copy { max-width: 560px; }
.craft-copy .kicker { color: var(--red); margin-bottom: 26px; }
.craft-copy .kicker::before { background: var(--red); }
.craft-title { margin-bottom: 30px; text-wrap: balance; }
.craft-title .serif-i { color: var(--red); }

.craft-meter {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 34px 0 10px;
}
.craft-count {
  font-family: var(--font-display);
  font-size: clamp(72px, 9vw, 132px);
  font-weight: 500;
  line-height: 0.9;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  min-width: 3.2ch;
}
.craft-unit { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.craft-density { font-size: 15px; color: var(--ink-soft); margin-bottom: 18px; }
.craft-density strong { color: var(--red); font-variant-numeric: tabular-nums; }

.craft-blurbs { position: relative; min-height: 120px; }
.craft-blurb {
  position: absolute;
  inset: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  opacity: 0;
}
.craft-blurb strong { color: var(--ink); }

.craft-progress {
  display: flex;
  gap: 8px;
  margin-top: 34px;
}
.craft-progress i {
  height: 2px;
  flex: 1;
  background: var(--line-dark);
  position: relative;
  overflow: hidden;
}
.craft-progress i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

.craft-media {
  position: relative;
  height: min(74vh, 760px);
  border-radius: 4px;
  overflow: hidden;
}
.craft-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.craft-media img.first { opacity: 1; }
.craft-media figcaption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(244, 238, 227, 0.9);
  background: rgba(22, 18, 15, 0.55);
  backdrop-filter: blur(8px);
  padding: 9px 16px;
  border-radius: 999px;
}

/* ------------------------------------------------------------ quote break */
.quote {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.quote-bg {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
}
.quote-bg img { width: 100%; height: 100%; object-fit: cover; }
.quote::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(15, 11, 8, 0.55);
}
.quote blockquote {
  max-width: 20ch;
  padding: 0 var(--pad);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 1.18;
  color: var(--cream);
  text-wrap: balance;
}
.quote cite {
  display: block;
  margin-top: 30px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent-2);
}

/* --------------------------------------------------------------- h-scroll */
.hscroll { overflow: hidden; }
.hscroll-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: clamp(80px, 11vh, 140px);
  margin-bottom: clamp(40px, 6vh, 70px);
}
.hscroll-track {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  padding: 0 var(--pad) clamp(80px, 11vh, 140px);
  width: max-content;
}
.hs-card {
  position: relative;
  width: clamp(260px, 30vw, 420px);
  flex: none;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-2);
}
.hs-card img {
  width: 100%;
  aspect-ratio: 3 / 3.9;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.hs-card:hover img { transform: scale(1.05); }
.hs-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(15, 11, 8, 0.82));
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.hs-card figcaption b { color: var(--cream); font-weight: 500; }
.hs-cta {
  width: clamp(260px, 26vw, 360px);
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 36px;
}
.hs-cta p { color: var(--cream-dim); font-size: 15px; }

/* ---------------------------------------------------------------- visit */
.visit { border-top: 1px solid var(--line); }
.visit-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  padding: clamp(90px, 13vh, 160px) 0;
  align-items: center;
}
.visit h2 { margin: 24px 0 16px; text-wrap: balance; }
.visit h2 .serif-i { color: var(--accent-2); }
.visit .lead { max-width: 44ch; margin-bottom: 40px; }

.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 18px;
  margin-bottom: 8px;
}
.open-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4fae62;
  box-shadow: 0 0 0 0 rgba(79, 174, 98, 0.5);
  animation: pulse 2.4s infinite;
}
.open-badge.closed i { background: var(--red); animation: none; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 174, 98, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(79, 174, 98, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 174, 98, 0); }
}

.visit-phone {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.15;
  transition: color 0.3s ease;
  font-variant-numeric: tabular-nums;
  width: fit-content;
}
.visit-phone:hover { color: var(--accent-2); }
.visit-alt { font-size: 14px; color: var(--cream-faint); margin: 10px 0 36px; }
.visit-alt a { color: var(--accent-2); }

.visit-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.vf {
  padding: 28px;
  border-bottom: 1px solid var(--line);
}
.vf:nth-child(odd) { border-right: 1px solid var(--line); }
.vf:nth-last-child(-n+2) { border-bottom: none; }
.vf h4 {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.vf p { font-size: 15px; color: var(--cream-dim); line-height: 1.65; }
.vf p b { color: var(--cream); font-weight: 500; }
.vf a { color: var(--accent-2); }

.visit-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  height: min(78vh, 800px);
}
.visit-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------- footer */
.footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(60px, 9vh, 110px);
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: clamp(50px, 8vh, 90px);
}
.footer-brand p { margin-top: 18px; max-width: 300px; font-size: 14.5px; color: var(--cream-faint); }
.footer h4 {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.footer ul { list-style: none; display: grid; gap: 12px; font-size: 14.5px; color: var(--cream-dim); }
.footer ul a { transition: color 0.25s ease; }
.footer ul a:hover { color: var(--accent-2); }

.footer-word {
  font-family: var(--font-word);
  font-size: clamp(64px, 12.5vw, 210px);
  line-height: 0.95;
  letter-spacing: 0.06em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 238, 227, 0.22);
  user-select: none;
  transform: translateY(8%);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 22px 0 26px;
  font-size: 12.5px;
  color: var(--cream-faint);
}

/* ------------------------------------------------------------ page hero */
.phero {
  position: relative;
  min-height: 72svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.phero-bg { position: absolute; inset: -10% 0; z-index: -2; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; }
.phero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(22, 18, 15, 0.6), rgba(22, 18, 15, 0.25) 45%, rgba(22, 18, 15, 0.92) 100%);
}
.phero-inner { padding-top: calc(var(--nav-h) + 40px); padding-bottom: clamp(44px, 7vh, 80px); width: 100%; }
.phero h1 { color: var(--cream); margin: 20px 0 18px; text-wrap: balance; }
.phero h1 .serif-i { color: var(--accent-2); }
.phero .lead { max-width: 56ch; }

/* ----------------------------------------------------- collections page */
.cat-tabs {
  position: sticky;
  top: 67px;
  z-index: 80;
  background: rgba(22, 18, 15, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cat-tabs .wrap {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-tabs .wrap::-webkit-scrollbar { display: none; }
.cat-tabs a {
  flex: none;
  padding: 17px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-faint);
  position: relative;
  transition: color 0.3s ease;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}
.cat-tabs a::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 2px;
  background: var(--accent-2);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.cat-tabs a:hover, .cat-tabs a.active { color: var(--cream); }
.cat-tabs a.active::after { transform: scaleX(1); }

.cat {
  padding: clamp(80px, 11vh, 130px) 0;
}
.cat + .cat { border-top: 1px solid var(--line); }
.cat-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 26px;
  margin-bottom: clamp(36px, 5vh, 60px);
}
.cat-head .kicker { margin-bottom: 20px; }
.cat-head h2 { color: var(--cream); display: flex; align-items: baseline; gap: 20px; }
.cat-head h2 sup {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--cream-faint);
}
.cat-head .lead { max-width: 58ch; margin-top: 14px; font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips span {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--cream-dim);
  font-variant-numeric: tabular-nums;
}

.masonry {
  columns: 3;
  column-gap: 22px;
}
.masonry figure {
  position: relative;
  break-inside: avoid;
  margin-bottom: 22px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-2);
  cursor: zoom-in;
}
.masonry img {
  width: 100%;
  transition: transform 0.6s var(--ease), opacity 0.4s ease;
}
.masonry figure:hover img { transform: scale(1.045); }
.masonry figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(15, 11, 8, 0.8));
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.masonry figure:hover figcaption,
.masonry figure:focus-visible figcaption { opacity: 1; }

/* --------------------------------------------------------------- lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(12, 9, 7, 0.94);
  padding: 5vh 5vw;
}
.lb.open { display: flex; }
.lb img {
  max-width: 100%;
  max-height: 82svh;
  border-radius: 3px;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.7);
}
.lb-btn {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(22, 18, 15, 0.6);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.lb-btn:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--bg); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-meta {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: baseline;
  gap: 18px;
  color: var(--cream-dim);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.lb-meta b { color: var(--cream); font-weight: 500; }
.lb-count { font-variant-numeric: tabular-nums; color: var(--cream-faint); }

/* ------------------------------------------------------------ about page */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  padding: clamp(90px, 13vh, 150px) 0;
}
.story-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  height: min(80vh, 820px);
}
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story h2 { margin: 24px 0 22px; text-wrap: balance; }
.story h2 .serif-i { color: var(--accent-2); }
.light .story h2 .serif-i { color: var(--red); }
.story p { color: var(--cream-dim); margin-bottom: 18px; max-width: 56ch; }
.light .story p { color: var(--ink-soft); }

.grades { padding: clamp(90px, 12vh, 150px) 0; }
.grade-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(40px, 6vh, 64px);
}
.grade {
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  padding: 38px 32px;
  background: rgba(255, 255, 255, 0.35);
  display: flex;
  flex-direction: column;
}
.grade-reeds {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.grade-reeds small {
  font-size: 13px;
  font-family: var(--font-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-left: 8px;
}
.grade-bar {
  height: 3px;
  background: var(--line-dark);
  margin: 24px 0;
  overflow: hidden;
}
.grade-bar i {
  display: block;
  height: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease) 0.2s;
}
.in-view .grade-bar i { transform: scaleX(var(--w)); }
.grade h3 { font-family: var(--font-display); font-size: 26px; font-weight: 500; margin-bottom: 10px; color: var(--ink); }
.grade p { font-size: 15px; color: var(--ink-soft); }
.grade-tag {
  margin-top: 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
}

.promises { padding: clamp(90px, 12vh, 150px) 0; border-top: 1px solid var(--line); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin-top: clamp(40px, 6vh, 64px); }
.promise { padding: clamp(30px, 3.6vw, 52px); border-right: 1px solid var(--line); }
.promise:last-child { border-right: none; }
.promise-num { font-size: 12px; letter-spacing: 0.26em; color: var(--accent); margin-bottom: 26px; }
.promise h3 { font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; color: var(--cream); margin-bottom: 14px; }
.promise p { font-size: 15px; color: var(--cream-dim); }

/* ---------------------------------------------------------- contact page */
.contact-hero { padding: calc(var(--nav-h) + clamp(50px, 9vh, 110px)) 0 clamp(50px, 8vh, 90px); }
.contact-hero h1 { color: var(--cream); margin: 22px 0 14px; }
.contact-hero h1 .serif-i { color: var(--accent-2); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: clamp(50px, 7vh, 80px);
}
.contact-cell { padding: clamp(30px, 3.4vw, 48px); border-right: 1px solid var(--line); }
.contact-cell:last-child { border-right: none; }
.contact-cell h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.contact-cell .big {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.3;
  width: fit-content;
  transition: color 0.3s ease;
  font-variant-numeric: tabular-nums;
}
a.big:hover { color: var(--accent-2); }
.contact-cell p { font-size: 14.5px; color: var(--cream-dim); margin-top: 12px; }
.contact-cell p a { color: var(--accent-2); }

.hours-list { list-style: none; display: grid; gap: 10px; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px;
  color: var(--cream-dim);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list b { color: var(--cream); font-weight: 500; font-variant-numeric: tabular-nums; }

.map-shell {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: clamp(90px, 12vh, 150px);
}
.map-shell iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.9) sepia(0.18);
}

/* ---------------------------------------------------------- reveal utils */
.rv, .rv-line { will-change: transform, opacity; }
.rv { opacity: 0; transform: translateY(40px); }
.rv.on { opacity: 1; transform: none; transition: opacity 0.9s ease, transform 0.9s var(--ease); }
.rv-img { overflow: hidden; }
.rv-img img { transform: scale(1.12); transition: transform 1.4s var(--ease); }
.rv-img.on img { transform: scale(1); }

html.no-js .rv, html.no-js .rv-img img { opacity: 1; transform: none; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .masonry { columns: 2; }
  .craft-pin { grid-template-columns: 1fr; align-content: center; gap: 34px; }
  .craft-media { height: 44vh; }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-media { height: 50vh; }
  .story { grid-template-columns: 1fr; }
  .story-media { height: 54vh; }
  .grade-cards { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; }
  .promise { border-right: none; border-bottom: 1px solid var(--line); }
  .promise:last-child { border-bottom: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .contact-cell:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-call { display: none; }
  .burger { display: block; }
  .row-link { grid-template-columns: auto 1fr auto; }
  .row-desc { display: none; }
  .row-preview { display: none; }
  .row-thumb {
    display: block;
    width: 74px;
    height: 92px;
    object-fit: cover;
    border-radius: 3px;
  }
  .visit-facts { grid-template-columns: 1fr; }
  .vf:nth-child(odd) { border-right: none; }
  .vf:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .vf:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
  .masonry { columns: 1; }
  .cat-head { grid-template-columns: 1fr; align-items: start; }
  .lb-prev, .lb-next { display: none; }
  .hero-final p { font-size: 15px; }
  .map-shell iframe { height: 340px; }
}

/* --------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .scroll-hint::after { animation: none; }
  .open-badge i { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .rv-img img { transform: none; transition: none; }
  .loader { transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   v3 additions — hero detailing, brand system, interaction rebuilds
   ========================================================================== */

/* ---------------------------------------------------------- brand monogram */
.mono {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.08em;
  flex: none;
}

/* section divider motif — a woven hairline with diamond guls */
.divider {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 var(--pad);
  max-width: 1560px;
  margin: 0 auto;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.divider svg { width: 84px; height: 14px; color: var(--accent); opacity: 0.75; flex: none; }
.light .divider::before, .light .divider::after { background: var(--line-dark); }
.light .divider svg { color: var(--indigo-deep); }

/* ------------------------------------------------------------ hero details */
.hero-frame {
  position: absolute;
  inset: clamp(14px, 2vw, 26px);
  border: 1px solid rgba(244, 238, 227, 0.16);
  pointer-events: none;
  z-index: 2;
}
.hero-frame i {
  position: absolute;
  width: 15px;
  height: 15px;
  border-color: rgba(244, 238, 227, 0.55);
  border-style: solid;
  border-width: 0;
}
.hero-frame i:nth-child(1) { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; }
.hero-frame i:nth-child(2) { top: -1px; right: -1px; border-top-width: 1px; border-right-width: 1px; }
.hero-frame i:nth-child(3) { bottom: -1px; left: -1px; border-bottom-width: 1px; border-left-width: 1px; }
.hero-frame i:nth-child(4) { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }

.hero-rail {
  position: absolute;
  left: clamp(30px, 4vw, 56px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: grid;
  gap: 26px;
  pointer-events: none;
}
.hero-rail span {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-faint);
  transition: color 0.4s ease;
  writing-mode: horizontal-tb;
}
.hero-rail span::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease);
}
.hero-rail span.on { color: var(--accent-2); }
.hero-rail span.on::before { width: 40px; }

.hero-progress {
  position: absolute;
  left: clamp(14px, 2vw, 26px);
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(14px, 2vw, 26px);
  height: 2px;
  background: rgba(244, 238, 227, 0.12);
  z-index: 4;
  overflow: hidden;
}
.hero-progress i {
  position: absolute;
  inset: 0;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: left;
}

.hero-coords {
  position: absolute;
  left: clamp(30px, 4vw, 56px);
  bottom: clamp(34px, 4.4vw, 52px);
  z-index: 4;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream-faint);
  pointer-events: none;
}
.hero-mark {
  position: absolute;
  right: clamp(30px, 4vw, 56px);
  bottom: clamp(34px, 4.4vw, 52px);
  z-index: 4;
  width: 30px;
  height: 30px;
  color: rgba(244, 238, 227, 0.5);
  pointer-events: none;
}

/* legible plaque for the final kicker */
.hero-final .kicker {
  justify-content: center;
  margin-bottom: 22px;
  text-shadow: none;
  color: var(--cream);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  border: 1px solid rgba(244, 238, 227, 0.32);
  background: rgba(13, 10, 8, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 11px 24px;
  display: inline-flex;
  gap: 12px;
}
.hero-final .kicker .mono { color: var(--accent-2); font-size: 13px; }

@media (max-width: 1100px) {
  .hero-rail { display: none; }
  .hero-coords, .hero-mark { display: none; }
}

/* -------------------------------------------------- craft: grade switcher */
.craft-v3 { background: var(--paper); color: var(--ink); }
.craft-v3 .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
  padding: clamp(90px, 12vh, 150px) 0;
}
.grade-tabs {
  display: flex;
  gap: 10px;
  margin: 30px 0 26px;
}
.grade-tab {
  flex: 1;
  border: 1px solid var(--line-dark);
  background: transparent;
  border-radius: 4px;
  padding: 16px 10px 13px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.2s ease;
  min-height: 48px;
}
.grade-tab b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.grade-tab small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.grade-tab:hover { border-color: var(--red); }
.grade-tab.on { background: var(--ink); border-color: var(--ink); }
.grade-tab.on b, .grade-tab.on small { color: var(--paper); }
.grade-tab.on small { color: #cbb; }

.craft-readout { min-height: 150px; position: relative; }
.craft-read {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s var(--ease);
  pointer-events: none;
}
.craft-read.on { opacity: 1; transform: none; pointer-events: auto; }
.craft-read h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 500;
  margin-bottom: 8px;
}
.craft-read h3 em { font-style: italic; color: var(--red); }
.craft-read p { font-size: 15.5px; color: var(--ink-soft); max-width: 46ch; }
.craft-read .density {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--indigo-deep);
}

.craft-stage {
  position: relative;
  height: min(72vh, 720px);
  border-radius: 4px;
  overflow: hidden;
}
.craft-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.7s ease, transform 1s var(--ease);
}
.craft-stage img.on { opacity: 1; transform: scale(1); }
.craft-stage .plate {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(244, 238, 227, 0.92);
  background: rgba(22, 18, 15, 0.6);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: 999px;
}

/* --------------------------------------------- arrivals: drag carousel */
.arrivals { padding-bottom: clamp(80px, 11vh, 140px); }
.arrivals-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: clamp(80px, 11vh, 140px);
  margin-bottom: clamp(36px, 5vh, 60px);
}
.car-nav { display: flex; gap: 10px; }
.car-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}
.car-btn svg { width: 18px; height: 18px; }
.car-btn:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--bg); }
.car-btn[disabled] { opacity: 0.3; pointer-events: none; }

.car-shell { position: relative; }
.car-shell::before, .car-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(12px, 3vw, 56px);
  z-index: 2;
  pointer-events: none;
}
.car-shell::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.car-shell::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.car-track {
  display: flex;
  gap: clamp(18px, 2.4vw, 30px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px var(--pad);
  cursor: grab;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.car-track .hs-card { scroll-snap-align: start; }
.car-track .hs-cta { scroll-snap-align: start; }

/* --------------------------------------------------------- size guide */
.sizer { padding: clamp(80px, 11vh, 130px) 0; }
.sizer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.sizer-controls { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.sizer-btn {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--cream-dim);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  min-height: 46px;
  font-variant-numeric: tabular-nums;
  transition: all 0.25s ease;
}
.sizer-btn:hover { border-color: var(--accent-2); color: var(--cream); }
.sizer-btn.on { background: var(--cream); border-color: var(--cream); color: var(--bg); font-weight: 600; }
.sizer-note { color: var(--cream-dim); font-size: 15px; max-width: 46ch; min-height: 76px; }
.sizer-note b { color: var(--cream); font-weight: 500; }

.room {
  position: relative;
  aspect-ratio: 5 / 3.4;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(148, 171, 205, 0.06), transparent 60%),
    var(--bg-2);
  overflow: hidden;
}
.room .furn {
  position: absolute;
  border: 1px solid rgba(244, 238, 227, 0.34);
  border-radius: 3px;
  color: var(--cream-faint);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 238, 227, 0.04);
}
.room .rug-box {
  position: absolute;
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%);
  background:
    linear-gradient(rgba(147, 57, 60, 0.28), rgba(147, 57, 60, 0.28)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cpath d='M18 4 32 18 18 32 4 18Z' fill='none' stroke='%23d1786e' stroke-opacity='.35'/%3E%3C/svg%3E");
  border: 1px solid var(--accent-2);
  border-radius: 2px;
  transition: width 0.7s var(--ease), height 0.7s var(--ease);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.room .rug-box span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cream);
  background: rgba(22, 18, 15, 0.75);
  padding: 4px 10px;
  border-radius: 3px 0 0 0;
  font-variant-numeric: tabular-nums;
}
.room .scale-note {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

/* --------------------------------------------------------------- FAQ */
.faq { padding: clamp(80px, 11vh, 130px) 0; border-top: 1px solid var(--line); }
.faq-list { margin-top: clamp(34px, 5vh, 54px); border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 500;
  text-align: left;
  padding: 26px 54px 26px 0;
  cursor: pointer;
  position: relative;
  min-height: 48px;
}
.faq-q::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--accent-2);
  border-bottom: 1.5px solid var(--accent-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.35s var(--ease);
}
.faq-item.open .faq-q::after { transform: translateY(-30%) rotate(225deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-a p { color: var(--cream-dim); font-size: 15.5px; padding: 0 0 26px; max-width: 68ch; }
.faq-a p a { color: var(--accent-2); }

/* ------------------------------------------------------- language note */
.lang-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 20px;
  margin-top: 26px;
  color: var(--cream-dim);
  font-size: 14.5px;
}
.lang-note b {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--accent);
}

/* --------------------------------------------------------- mobile FAB */
.call-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 140;
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--accent-2);
  color: #fff;
  border-radius: 999px;
  padding: 15px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.call-fab svg { width: 17px; height: 17px; }
@media (max-width: 860px) {
  .call-fab {
    display: inline-flex;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s var(--ease);
  }
  .call-fab.show { opacity: 1; transform: none; pointer-events: auto; }
}

@media (max-width: 1000px) {
  .craft-v3 .inner { grid-template-columns: 1fr; }
  .craft-stage { height: 46vh; }
  .sizer-grid { grid-template-columns: 1fr; }
}

/* size guide + grade tabs on light sections */
.light .sizer-btn:hover { border-color: var(--red); color: var(--ink); }
.light .sizer-btn.on { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 600; }
.light .sizer-note b { color: var(--ink); }

/* about photo band */
.band { padding: clamp(70px, 10vh, 120px) 0; border-top: 1px solid var(--line); }
.band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(34px, 5vh, 54px);
}
.band-grid figure {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-2);
  cursor: zoom-in;
}
.band-grid img {
  width: 100%;
  aspect-ratio: 3 / 3.6;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.band-grid figure:hover img { transform: scale(1.045); }
@media (max-width: 860px) { .band-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.light .sizer-btn { border-color: rgba(25, 20, 16, 0.35); color: var(--ink-soft); }

/* ==========================================================================
   v3.1 — immersive collection panels
   ========================================================================== */
.panels { border-top: 1px solid var(--line); }
.panels-head { padding: clamp(80px, 11vh, 130px) var(--pad) clamp(44px, 6vh, 70px); }
.panels-head .lead { max-width: 54ch; margin-top: 18px; }

.panel {
  position: relative;
  display: block;
  min-height: clamp(440px, 80vh, 780px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  isolation: isolate;
}
.panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
  z-index: -2;
}
.panel:hover > img, .panel:focus-visible > img { transform: scale(1.045); }
.panel-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(22, 18, 15, 0.38), rgba(22, 18, 15, 0.06) 45%, rgba(13, 10, 8, 0.86) 100%);
  transition: background 0.5s ease;
}
.panel-idx {
  position: absolute;
  top: clamp(20px, 3vh, 34px);
  right: var(--pad);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(244, 238, 227, 0.66);
  font-variant-numeric: tabular-nums;
}
.panel-kicker {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  text-shadow: 0 1px 10px rgba(13, 10, 8, 0.8);
}
.panel-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(90px, 14vh, 150px) var(--pad) clamp(30px, 4.6vh, 52px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
}
.panel-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: 0.98;
  color: var(--cream);
  text-shadow: 0 2px 26px rgba(13, 10, 8, 0.6);
  transition: color 0.35s ease;
}
.panel:hover .panel-title { color: #fff; }
.panel-sub {
  margin-top: 12px;
  font-size: clamp(13.5px, 1.1vw, 15.5px);
  color: rgba(244, 238, 227, 0.82);
  text-shadow: 0 1px 12px rgba(13, 10, 8, 0.85);
  max-width: 52ch;
}
.panel-go {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}
.panel-go i {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(244, 238, 227, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.45s var(--ease);
}
.panel-go svg { width: 19px; height: 19px; transition: color 0.35s ease; }
.panel:hover .panel-go i {
  background: var(--accent-2);
  border-color: var(--accent-2);
  transform: rotate(-45deg);
}
.panel:hover .panel-go svg { color: var(--bg); }

.panel-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.panel-row .panel {
  min-height: clamp(380px, 60vh, 600px);
  border-left: 1px solid var(--line);
}
.panel-row .panel:first-child { border-left: none; }
.panel-row .panel-title { font-size: clamp(30px, 2.6vw, 46px); }
.panel-row .panel-body {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: clamp(26px, 4vh, 40px);
}
.panel-row .panel-go i { width: 48px; height: 48px; }

@media (max-width: 900px) {
  .panel { min-height: 64vh; }
  .panel-body { flex-direction: column; align-items: flex-start; gap: 18px; }
  .panel-row { grid-template-columns: 1fr; }
  .panel-row .panel { border-left: none; min-height: 52vh; }
}

/* ------------------------------------------- collections page: banners */
.cat { padding: 0 0 clamp(60px, 8vh, 100px); }
.cat + .cat { border-top: none; }
.cat-banner {
  position: relative;
  min-height: clamp(420px, 64vh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(30px, 4.6vh, 52px);
}
.cat-banner > img {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  z-index: -2;
}
.cat-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(22, 18, 15, 0.44), rgba(22, 18, 15, 0.08) 40%, rgba(13, 10, 8, 0.88) 100%);
}
.cat-banner-body {
  width: 100%;
  padding: clamp(110px, 16vh, 170px) var(--pad) clamp(30px, 4.6vh, 50px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
}
.cat-banner-body h2 {
  color: var(--cream);
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-size: clamp(38px, 5vw, 76px);
  text-shadow: 0 2px 26px rgba(13, 10, 8, 0.6);
}
.cat-banner-body h2 sup {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: rgba(244, 238, 227, 0.7);
}
.cat-banner-body .kicker { margin-bottom: 16px; text-shadow: 0 1px 10px rgba(13, 10, 8, 0.85); }
.cat-banner-body .lead {
  color: rgba(244, 238, 227, 0.85);
  font-size: 16px;
  max-width: 56ch;
  margin-top: 12px;
  text-shadow: 0 1px 12px rgba(13, 10, 8, 0.85);
}
.cat-banner-body .chips { margin-top: 18px; }
.cat-banner-body .chips span {
  border-color: rgba(244, 238, 227, 0.35);
  color: rgba(244, 238, 227, 0.9);
  background: rgba(13, 10, 8, 0.35);
  backdrop-filter: blur(6px);
}
.cat-banner-body .btn { flex: none; }
.cat-banner-body .btn-line { border-color: rgba(244, 238, 227, 0.45); }

@media (max-width: 900px) {
  .cat-banner-body { flex-direction: column; align-items: flex-start; }
}

/* uniform large-format grid replaces masonry */
.cgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cgrid figure {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-2);
  cursor: zoom-in;
  aspect-ratio: 3 / 3.7;
}
.cgrid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.cgrid figure:hover img { transform: scale(1.045); }
.cgrid figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(15, 11, 8, 0.8));
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.cgrid figure:hover figcaption,
.cgrid figure:focus-visible figcaption { opacity: 1; }
@media (max-width: 1100px) { .cgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cgrid { grid-template-columns: 1fr; } }

/* ==========================================================================
   v3.2 — "The finished edge" · extraordinary footer + hero museum-light
   The footer is built to read like the woven end of a rug: a kilim selvedge
   band, a gradient-lit wordmark, and a real hanging fringe of tassel threads.
   ========================================================================== */

/* --------------------------------------------------------- footer rebuild */
.footer {
  position: relative;
  border-top: none;
  padding-top: 0;
  isolation: isolate;
}
/* faint woven fabric texture across the whole footer */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46'%3E%3Cpath d='M23 6 40 23 23 40 6 23Z' fill='none' stroke='%23f4eee3' stroke-width='1'/%3E%3Cpath d='M23 16 30 23 23 30 16 23Z' fill='none' stroke='%23f4eee3' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 46px 46px;
  opacity: 0.028;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000, transparent 78%);
          mask-image: radial-gradient(120% 100% at 50% 0%, #000, transparent 78%);
}

/* kilim selvedge — the finished, bound edge that opens the footer */
.footer-selvedge {
  height: 18px;
  margin: 0 calc(var(--pad) * -1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='18'%3E%3Cpath d='M0 9 40 9' stroke='%2394abcd' stroke-width='1' stroke-dasharray='6 6' opacity='.5'/%3E%3Cpath d='M20 3 27 9 20 15 13 9Z' fill='none' stroke='%23d1786e' stroke-width='1.2'/%3E%3Cpath d='M20 6 23 9 20 12 17 9Z' fill='%2394abcd'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.85;
}

.footer-grid {
  padding-top: clamp(58px, 8vh, 100px);
}
.footer-brand p { line-height: 1.7; }

/* instagram affordance */
.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 16px 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cream-dim);
  transition: border-color 0.35s var(--ease), color 0.35s ease, background 0.35s ease;
}
.footer-ig svg { width: 17px; height: 17px; color: var(--accent-2); transition: transform 0.4s var(--ease); }
.footer-ig i {
  font-style: normal;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: max-width 0.5s var(--ease), opacity 0.4s ease;
}
.footer-ig:hover { border-color: var(--accent-2); color: var(--cream); }
.footer-ig:hover svg { transform: rotate(-8deg) scale(1.05); }
.footer-ig:hover i { max-width: 160px; opacity: 1; }

/* animated column links */
.footer-col ul a { position: relative; }
.footer-col ul a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--accent-2);
  transition: right 0.4s var(--ease);
}
.footer-col ul a:hover::after { right: 0; }

/* back-to-top */
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 11px 20px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--cream-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.35s ease, color 0.35s ease, background 0.35s ease;
}
.to-top svg { width: 15px; height: 15px; color: var(--accent-2); transition: transform 0.45s var(--ease); }
.to-top:hover { border-color: var(--accent-2); color: var(--cream); }
.to-top:hover svg { transform: translateY(-3px); }

/* ---------------------------------------------- signoff: wordmark + fringe */
.footer-signoff {
  position: relative;
  margin-top: clamp(30px, 5vh, 60px);
  padding-top: clamp(20px, 3vh, 40px);
}
.footer-word {
  font-family: var(--font-word);
  font-size: clamp(64px, 12.6vw, 220px);
  line-height: 0.9;
  letter-spacing: 0.06em;
  text-indent: 0.06em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  transform: translateY(6%);
  background: linear-gradient(96deg,
    var(--accent-2) 0%,
    var(--cream) 40%,
    #ffffff 52%,
    var(--cream) 62%,
    var(--accent) 100%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 238, 227, 0.16);
  animation: footer-sheen 9s ease-in-out infinite;
}
@keyframes footer-sheen {
  0%, 100% { background-position: 8% 50%; }
  50% { background-position: 92% 50%; }
}

/* the hanging fringe — alternating madder + indigo tassel threads that fray */
.footer-fringe {
  position: relative;
  height: 58px;
  margin-top: 4px;
  background-image:
    repeating-linear-gradient(90deg, rgba(209, 120, 110, 0.55) 0 1.4px, transparent 1.4px 7px),
    repeating-linear-gradient(90deg, transparent 0 3.5px, rgba(148, 171, 205, 0.42) 3.5px 4.7px, transparent 4.7px 7px);
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 20%, rgba(0,0,0,0.45) 66%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0, #000 20%, rgba(0,0,0,0.45) 66%, transparent 100%);
  animation: fringe-sway 7s ease-in-out infinite;
  transform-origin: top center;
}
/* the binding row where the threads are knotted into the rug */
.footer-fringe::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-2) 18%, var(--accent) 82%, transparent);
  opacity: 0.7;
}
@keyframes fringe-sway {
  0%, 100% { transform: translateX(0) skewX(0deg); }
  50% { transform: translateX(2px) skewX(0.6deg); }
}

.footer-bottom {
  margin-top: clamp(30px, 4vh, 48px);
  align-items: center;
}
.footer-made {
  color: var(--cream-faint);
  letter-spacing: 0.04em;
  text-align: center;
}
@media (max-width: 720px) {
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-made { order: 3; }
}

/* ---------------------------------------------------- hero museum spotlight */
.hero-spot {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(260px 260px at var(--mx, 50%) var(--my, 40%),
    rgba(244, 238, 227, 0.11), rgba(244, 238, 227, 0.04) 45%, transparent 72%);
  mix-blend-mode: soft-light;
  transition: opacity 0.7s ease;
}
.hero-spot.on { opacity: 1; }

/* deepen the cinematic vignette a touch on the film hero */
.hero:not(.static) .hero-shade {
  background:
    linear-gradient(180deg, rgba(22, 18, 15, 0.6) 0%, rgba(22, 18, 15, 0) 32%),
    linear-gradient(180deg, rgba(22, 18, 15, 0) 50%, rgba(22, 18, 15, 0.94) 100%),
    radial-gradient(125% 100% at 50% 46%, transparent 48%, rgba(15, 11, 8, 0.62) 100%);
}

/* --------------------------------------------------------- button sheen */
.btn-solid { position: relative; }
.btn-solid::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 65%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.btn-solid:hover::after { animation: btn-sheen 0.9s var(--ease); }
@keyframes btn-sheen { to { left: 140%; } }

@media (prefers-reduced-motion: reduce) {
  .footer-word { animation: none; background-position: 20% 50%; }
  .footer-fringe { animation: none; }
  .btn-solid:hover::after { animation: none; }
  .hero-spot { display: none; }
}

/* footer: comfortable single column on phones */
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-top: 44px; }
  .footer-brand { max-width: 460px; }
  .to-top { margin-top: 20px; }
  .footer-selvedge { height: 15px; }
  .footer-fringe { height: 46px; }
}

/* ---------------------------------------------- mobile hero video reel */
.hero-reel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--bg);
}
.hero-reel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
  will-change: opacity;
}
.hero-reel video.show { opacity: 1; }
/* on the video hero, let the copy sit a touch higher and always legible */
.hero.reel .hero-final { padding-bottom: clamp(56px, 12vh, 110px); }

/* keep the hero headline from clipping on the mobile video reel */
@media (max-width: 600px) {
  .hero-final h1 { font-size: clamp(44px, 12.5vw, 58px); }
  .hero.reel .hero-final p { font-size: 14.5px; }
}
