/* ============================================================
   AUREL — fictional watch house template
   Near-black + brass, art-deco line ornament, old money.
   Effects budget: transform/opacity only. Reveals and chapter
   switching are IO-driven; no persistent rAF loops.
   ============================================================ */

:root {
  --noir:      #0c0b09;
  --noir-2:    #14120e;
  --panel:     #191612;
  --ivory:     #ece6d8;
  --ivory-dim: #a89f8d;
  --brass:     #c9a25e;
  --brass-hi:  #e6c98d;
  --brass-dim: #77653f;
  --line:      rgba(201, 162, 94, 0.28);
  --line-soft: rgba(201, 162, 94, 0.14);
  --serif:     "Cormorant Garamond", Georgia, serif;
  --sans:      "Jost", system-ui, sans-serif;
  --ease:      cubic-bezier(.23, .8, .32, 1);
  --wrap:      1200px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ivory);
  background: var(--noir);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(201, 162, 94, .3); }

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.skip-link {
  position: fixed; top: -3rem; left: 1rem; z-index: 100;
  background: var(--brass); color: var(--noir);
  padding: .6rem 1rem; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 1.5px solid var(--brass); outline-offset: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.06; letter-spacing: .005em; }
h1 em, h2 em { font-style: italic; color: var(--brass-hi); font-weight: 400; }

.kicker {
  font-size: .78rem; font-weight: 400; letter-spacing: .34em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 1.2rem;
}

.diamond {
  display: inline-block; width: 5px; height: 5px;
  background: var(--brass); transform: rotate(45deg);
  margin: 0 .8rem; vertical-align: middle; flex-shrink: 0;
}

.section-sub { color: var(--ivory-dim); max-width: 34em; }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- deco button ---------- */

.btn-deco {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.05rem 2.4rem;
  font-size: .82rem; font-weight: 400; letter-spacing: .3em; text-transform: uppercase;
  color: var(--brass-hi); text-decoration: none;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, transparent 0%, transparent 40%, rgba(201,162,94,.16) 50%, transparent 60%, transparent 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  transition: background-position .8s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.btn-deco::before, .btn-deco::after {
  content: ""; position: absolute; width: 7px; height: 7px;
  border: 1px solid var(--brass); transform: rotate(45deg);
  background: var(--noir);
  transition: background-color .4s var(--ease);
}
.btn-deco::before { left: -4px; top: 50%; margin-top: -4.5px; }
.btn-deco::after  { right: -4px; top: 50%; margin-top: -4.5px; }
.btn-deco:hover { background-position: 0 0; border-color: var(--brass); color: var(--brass-hi); }
.btn-deco:hover::before, .btn-deco:hover::after { background: var(--brass); }
.btn-deco:active { transform: scale(.98); }
.btn-deco-sm { padding: .7rem 1.5rem; font-size: .72rem; }
.btn-deco-lg { padding: 1.2rem 3rem; }

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.nav.is-scrolled {
  background: rgba(12, 11, 9, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-soft);
}

.nav-inner {
  max-width: calc(var(--wrap) + 6rem);
  margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.15rem clamp(1.25rem, 4vw, 3rem);
}

.nav-side { display: flex; gap: 2.2rem; align-items: center; }
.nav-right { justify-content: flex-end; }

.nav-side a {
  font-size: .74rem; font-weight: 400; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ivory-dim); text-decoration: none;
  transition: color .3s var(--ease);
}
.nav-side a:hover { color: var(--brass-hi); }

.nav-reserve { position: relative; color: var(--brass) !important; padding-bottom: 3px; }
.nav-reserve-rule {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-reserve:hover .nav-reserve-rule { transform: scaleX(1); }

.wordmark {
  display: inline-flex; align-items: center; gap: .9rem;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 500; letter-spacing: .42em;
  text-indent: .42em; /* visually recenter tracked caps */
  color: var(--ivory); text-decoration: none;
}
.wordmark-rule { width: 34px; height: 1px; background: var(--line); }

@media (max-width: 720px) {
  .nav-side a.nav-link-plain, .nav-left a:nth-child(2) { display: none; }
  .nav-side { gap: 1.2rem; }
  .wordmark { letter-spacing: .3em; text-indent: .3em; font-size: 1.3rem; gap: .6rem; }
  .wordmark-rule { width: 18px; }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(285deg, rgba(12,11,9,.9) 0%, rgba(12,11,9,.62) 40%, rgba(12,11,9,.12) 68%, rgba(12,11,9,.35) 100%),
    linear-gradient(to top, rgba(12,11,9,.9) 0%, transparent 30%);
}

.hero-frame {
  position: absolute; inset: clamp(14px, 2.2vw, 28px);
  width: auto; height: auto;
  color: var(--line);
  pointer-events: none;
}

.hero-copy {
  position: relative; z-index: 2;
  max-width: calc(var(--wrap) + 6rem);
  width: 100%;
  margin: 0 auto;
  padding: 7rem clamp(1.5rem, 5vw, 4rem) 5rem;
  display: flex; flex-direction: column; align-items: flex-end;
  text-align: right;
}
.hero-copy .hero-eyebrow { justify-content: flex-end; }
.hero-cta { justify-content: flex-end; }

@media (max-width: 900px) {
  /* on narrow screens the watch fills the frame; go back to left-aligned over the shade */
  .hero-copy { align-items: flex-start; text-align: left; }
  .hero-copy .hero-eyebrow, .hero-cta { justify-content: flex-start; }
  .hero-shade {
    background:
      linear-gradient(rgba(12,11,9,.62), rgba(12,11,9,.62)),
      linear-gradient(to top, rgba(12,11,9,.92) 0%, transparent 40%);
  }
}

.hero-eyebrow {
  display: flex; align-items: center;
  font-size: .78rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(3rem, 7.2vw, 6rem);
  color: var(--ivory);
  max-width: 10em;
}

/* line-mask headline entrance */
.h-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.h-line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.hero.is-ready .h-line > span { transform: none; }
.h-line:nth-child(2) > span { transition-delay: .12s; }

.reveal-line { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease) .5s, transform .9s var(--ease) .5s; }
.hero.is-ready .reveal-line { opacity: 1; transform: none; }
.hero-cta.reveal-line { transition-delay: .68s; }

@media (prefers-reduced-motion: reduce) {
  .h-line > span { transform: none; transition: none; }
  .reveal-line { opacity: 1; transform: none; transition: none; }
}

.hero-sub {
  margin-top: 2rem;
  color: var(--ivory-dim);
  font-size: 1.05rem;
  letter-spacing: .02em;
}

.hero-cta { margin-top: 2.6rem; display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap; }
.hero-price { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-dim); }

.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(22px, 4vh, 40px); z-index: 2;
  width: 1px; height: 56px; margin-left: -.5px;
  background: var(--line-soft);
  overflow: hidden;
}
.scroll-cue span {
  position: absolute; left: 0; top: -40%;
  width: 100%; height: 40%;
  background: var(--brass);
  animation: cue-drop 2.2s var(--ease) infinite;
}
@keyframes cue-drop { 0% { top: -40%; } 60%, 100% { top: 110%; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue span { animation: none; top: 30%; } }

/* ============================================================
   DECO DIVIDER
   ============================================================ */

.deco-divider { padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem) 0; color: var(--brass-dim); }
.deco-divider-tight { padding-top: 0; margin-bottom: 2.5rem; }
.sunburst { display: block; max-width: 420px; margin: 0 auto; opacity: .8; }

/* ============================================================
   MOVEMENTS — scroll chapters
   ============================================================ */

.movements-track { height: 340vh; }
.movements-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}

.movements-grid {
  max-width: calc(var(--wrap) + 6rem);
  width: 100%;
  margin: 0 auto;
  padding: 5rem clamp(1.5rem, 5vw, 4rem) 2rem;
  display: grid; grid-template-columns: .82fr 1.18fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.chapter-stack { position: relative; min-height: 21em; display: grid; }
.chapter { grid-area: 1 / 1; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.chapter.is-active { opacity: 1; transform: none; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .chapter { transition: none; } }

.chapter-num {
  display: block;
  font-family: var(--serif); font-size: 1.3rem; color: var(--brass);
  letter-spacing: .3em;
  margin-bottom: .8rem;
}
.chapter h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 1.2rem; }
.chapter p { color: var(--ivory-dim); max-width: 26em; margin-bottom: 1rem; }
.chapter-note {
  font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass); margin-top: 1.4rem;
}

.chapter-progress { display: flex; gap: .6rem; margin-top: 2.2rem; }
.chapter-progress i {
  width: 34px; height: 1px; background: var(--line-soft);
  position: relative; overflow: hidden;
}
.chapter-progress i::after {
  content: ""; position: absolute; inset: 0;
  background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.chapter-progress i.is-on::after { transform: scaleX(1); }

.movements-media { position: relative; }
.media-frame {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: var(--noir-2);
}
.media-item {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.045);
  transition: opacity .8s var(--ease), transform 1.4s var(--ease);
}
.media-item.is-active { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .media-item { transition: none; transform: none; } }

.media-corners {
  position: absolute; inset: 10px;
  width: calc(100% - 20px); height: calc(100% - 20px);
  color: rgba(201, 162, 94, .55);
  pointer-events: none;
}

@media (max-width: 900px) {
  .movements-track { height: auto; }
  .movements-sticky { position: static; height: auto; overflow: visible; }
  .movements-grid { grid-template-columns: 1fr; padding-top: 3rem; align-items: start; }
  .chapter-stack { min-height: 0; }
  .chapter { position: static; grid-area: auto; opacity: 1; transform: none; pointer-events: auto; margin-bottom: 3rem; }
  .chapter-progress { display: none; }
  .movements-media { order: -1; }
}

/* ============================================================
   SPECS
   ============================================================ */

.specs { padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem); }
.specs-row {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.spec {
  padding: 1.8rem 1rem;
  text-align: center;
  border-left: 1px solid var(--line-soft);
}
.spec:first-child { border-left: 0; }
.spec dt { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); margin-bottom: .5rem; }
.spec dd { font-family: var(--serif); font-size: 1.35rem; color: var(--ivory); }
.spec:nth-child(2) { transition-delay: .06s; } .spec:nth-child(3) { transition-delay: .12s; }
.spec:nth-child(4) { transition-delay: .18s; } .spec:nth-child(5) { transition-delay: .24s; }
.spec:nth-child(6) { transition-delay: .3s; }

@media (max-width: 900px) {
  .specs-row { grid-template-columns: repeat(3, 1fr); }
  .spec:nth-child(4) { border-left: 0; }
  .spec:nth-child(n+4) { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 520px) {
  .specs-row { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(odd) { border-left: 0; }
  .spec:nth-child(even) { border-left: 1px solid var(--line-soft); }
  .spec:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}

/* ============================================================
   COLLECTION
   ============================================================ */

.collection { padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem); }

.section-head { max-width: var(--wrap); margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 1.2rem; }

.watch-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.watch-card:nth-child(2) { transition-delay: .08s; }
.watch-card:nth-child(3) { transition-delay: .16s; }

.watch-photo {
  position: relative;
  overflow: hidden;
  background: var(--noir-2);
}
.watch-photo img {
  aspect-ratio: 3 / 4; object-fit: cover; width: 100%;
  transition: transform 1s var(--ease);
}
.watch-card:hover .watch-photo img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .watch-card:hover .watch-photo img { transform: none; } }

.photo-frame {
  position: absolute; inset: 12px;
  border: 1px solid rgba(201, 162, 94, 0);
  transition: border-color .5s var(--ease), inset .5s var(--ease);
  pointer-events: none;
}
.watch-card:hover .photo-frame { border-color: rgba(201, 162, 94, .5); }

.watch-body { padding: 1.6rem .4rem 0; text-align: center; }
.watch-body h3 { font-size: 1.9rem; }
.watch-spec { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-dim); margin-top: .5rem; }

.watch-foot {
  margin-top: 1.2rem;
  display: flex; align-items: center; justify-content: center; gap: 1.6rem;
}
.watch-price { font-family: var(--serif); font-size: 1.45rem; color: var(--brass-hi); font-variant-numeric: tabular-nums; }

.collection-fine {
  max-width: var(--wrap); margin: 3rem auto 0;
  text-align: center;
  font-size: .9rem; color: var(--ivory-dim);
}
.collection-fine em { font-family: var(--serif); font-style: italic; color: var(--brass-hi); }

@media (max-width: 900px) { .watch-grid { grid-template-columns: 1fr; max-width: 420px; } }

/* ============================================================
   VOICES
   ============================================================ */

.voices { padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem); text-align: center; }
.voices .kicker { margin-bottom: 2.5rem; }

.quote-stage { max-width: 780px; margin: 0 auto; display: grid; position: relative; }
.quote {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  pointer-events: none;
  padding-bottom: 4.6rem;
}
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .quote { transition: none; } }

.quote blockquote {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.35;
  color: var(--ivory);
  text-wrap: balance;
}
.quote blockquote em { font-style: italic; color: var(--brass-hi); }
.quote figcaption {
  margin-top: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ivory-dim);
}

.quote-nav {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center; gap: 1.4rem;
}
.q-btn {
  width: 44px; height: 44px;
  border: 1px solid var(--line-soft);
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
  color: var(--ivory-dim);
}
.q-btn:hover { border-color: var(--brass); color: var(--brass-hi); }
.q-btn:active { transform: scale(.94); }
.q-btn svg { width: 17px; height: 17px; }

.q-dots { display: flex; gap: .7rem; }
.q-dot {
  width: 7px; height: 7px; padding: 0;
  background: var(--line-soft);
  transform: rotate(45deg);
  transition: background-color .3s var(--ease);
}
.q-dot[aria-selected="true"] { background: var(--brass); }

/* ============================================================
   HERITAGE
   ============================================================ */

.heritage { padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem); }
.era-row {
  max-width: var(--wrap); margin: 0 auto;
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line-soft);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.era:nth-child(2) { transition-delay: .08s; }
.era:nth-child(3) { transition-delay: .16s; }
.era-year {
  display: block;
  font-family: var(--serif); font-size: 2.6rem; color: var(--brass);
  margin-bottom: .8rem;
}
.era p { font-size: .96rem; color: var(--ivory-dim); max-width: 30em; }

@media (max-width: 760px) { .era-row { grid-template-columns: 1fr; gap: 2.2rem; } }

/* ============================================================
   CTA
   ============================================================ */

.cta { text-align: center; padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(5rem, 10vw, 8rem); }
.cta h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.cta p { margin: 1.4rem auto 2.4rem; color: var(--ivory-dim); }

/* ============================================================
   RESERVE DIALOG
   ============================================================ */

.reserve-dialog {
  border: 1px solid var(--line);
  background: var(--noir-2);
  color: var(--ivory);
  padding: 0;
  max-width: 460px; width: calc(100% - 2.5rem);
  margin: auto;
}
.reserve-dialog::backdrop { background: rgba(5, 4, 3, .78); backdrop-filter: blur(3px); }

.rd-inner { position: relative; padding: clamp(2rem, 5vw, 2.8rem); }
.rd-close {
  position: absolute; top: .9rem; right: .9rem;
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ivory-dim);
  transition: color .3s var(--ease);
}
.rd-close:hover { color: var(--brass-hi); }
.rd-close svg { width: 18px; height: 18px; }

.rd-step .kicker { margin-bottom: .6rem; }
.rd-step h3 { font-size: 1.9rem; margin-bottom: .7rem; }
.rd-sub { font-size: .95rem; color: var(--ivory-dim); margin-bottom: 1.6rem; }

.rd-field { margin-bottom: 1.1rem; text-align: left; }
.rd-field label {
  display: block;
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--brass); margin-bottom: .45rem;
}
.rd-field input {
  width: 100%; font: inherit; font-size: .98rem;
  color: var(--ivory);
  background: var(--noir);
  border: 1px solid var(--line-soft);
  padding: .8rem .95rem;
  transition: border-color .3s var(--ease);
}
.rd-field input::placeholder { color: rgba(168, 159, 141, .55); }
.rd-field input:focus { outline: none; border-color: var(--brass); }
.rd-field input.is-invalid { border-color: #b05941; }

.rd-error { font-size: .85rem; color: #cf7a5e; margin: -.3rem 0 .9rem; }

.rd-submit { width: 100%; margin-top: .4rem; }
.rd-fine { margin-top: 1rem; font-size: .78rem; color: var(--ivory-dim); text-align: center; }

#rdStepDone { text-align: center; }
.rd-seal { width: 64px; height: 64px; color: var(--brass); margin: .5rem auto 1.2rem; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer { border-top: 1px solid var(--line-soft); background: #090806; }
.footer-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1.1fr .9fr 1.4fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
.wordmark-footer { font-size: 1.2rem; color: var(--ivory); }
.footer-brand p { margin-top: 1.2rem; font-size: .92rem; color: var(--ivory-dim); line-height: 1.8; }

.footer-links { display: flex; flex-direction: column; gap: .8rem; }
.footer-links a {
  font-size: .78rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ivory-dim); text-decoration: none;
  transition: color .3s var(--ease);
}
.footer-links a:hover { color: var(--brass-hi); }

.footer-note { font-size: .84rem; line-height: 1.7; color: rgba(168, 159, 141, .75); }
.footer-note p { margin-bottom: .8rem; }
.footer-note strong { color: var(--ivory-dim); font-weight: 400; }
.footer-copy { padding-top: .4rem; }

@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr; } }

/* ============================================================
   COLLECTION PAGE
   ============================================================ */

[hidden] { display: none !important; }

.nav.is-solid {
  position: sticky;
  background: rgba(12, 11, 9, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav-side a[aria-current="page"] { color: var(--ivory); }

.cat-head {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
}
.cat-head h1 { font-size: clamp(2.8rem, 6.4vw, 5rem); }
.cat-intro { margin-top: 1.6rem; max-width: 40em; color: var(--ivory-dim); }

/* ---------- filter bar ---------- */

.cat-bar {
  position: sticky; top: 62px; z-index: 20;
  background: rgba(12, 11, 9, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.cat-bar-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: .9rem clamp(1.5rem, 5vw, 4rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.filters { display: flex; gap: .4rem; flex-wrap: wrap; }
.filter {
  padding: .5rem 1.1rem;
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ivory-dim);
  border: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.filter:hover { color: var(--brass-hi); }
.filter.is-on { color: var(--brass-hi); border-color: var(--line); }
.cat-count { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ivory-dim); white-space: nowrap; }

/* ---------- catalogue grid ---------- */

.catalogue { padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); }
.cat-grid {
  max-width: var(--wrap); margin: 0 auto;
  /* minmax(0,…) so the nowrap availability pills can't set a min-content
     floor that blows the grid out sideways */
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;   /* cards keep their natural height beside the tall editorial tile */
}

.product { display: flex; flex-direction: column; min-width: 0; }
.product-photo {
  position: relative; overflow: hidden;
  background: var(--noir-2);
}
.product-photo img {
  aspect-ratio: 3 / 4; object-fit: cover; width: 100%;
  transition: transform 1s var(--ease), opacity .5s var(--ease);
}
.product:hover .product-photo img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .product:hover .product-photo img { transform: none; } }

.quick-look {
  position: absolute; left: 50%; bottom: 1.2rem;
  transform: translate(-50%, 8px);
  padding: .6rem 1.4rem;
  font-size: .7rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ivory);
  background: rgba(12, 11, 9, .82);
  border: 1px solid var(--line);
  opacity: 0;
  transition: opacity .35s var(--ease), transform .35s var(--ease), color .3s var(--ease);
}
.product:hover .quick-look, .quick-look:focus-visible { opacity: 1; transform: translate(-50%, 0); }
.quick-look:hover { color: var(--brass-hi); }

.product-body { padding: 1.3rem .2rem 0; }
.product-ref {
  font-size: .68rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--brass-dim);
}
.product-body h2 { font-size: 1.75rem; margin: .35rem 0 .4rem; }
.product-spec { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ivory-dim); }

.product-foot {
  margin-top: 1rem; padding-top: .9rem;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: .6rem 1rem;
  flex-wrap: wrap;
}
.product-price { font-family: var(--serif); font-size: 1.35rem; color: var(--brass-hi); font-variant-numeric: tabular-nums; }

.pill {
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .32rem .7rem;
  border: 1px solid var(--line-soft);
  color: var(--ivory-dim);
  white-space: nowrap;
}
.pill-low  { color: var(--brass-hi); border-color: var(--line); }
.pill-wait { border-style: dashed; }
.pill-out  { color: rgba(168, 159, 141, .5); }

.product.is-out .product-photo img { opacity: .48; }
.product.is-out:hover .product-photo img { opacity: .62; }

/* ---------- editorial tile ---------- */

.editorial {
  grid-column: span 2;
  position: relative;
  display: flex; align-items: flex-end;
  min-height: 340px;
  overflow: hidden;
  background: var(--noir-2);
}
.editorial img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .5;
}
.editorial-copy {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  background: linear-gradient(to top, rgba(12,11,9,.92) 20%, transparent);
  width: 100%;
}
.editorial-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .8rem; }
.editorial-copy p { color: var(--ivory-dim); max-width: 34em; font-size: .95rem; }

.text-link {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1rem;
  font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--brass-hi); text-decoration: none;
  border: 0; padding: 0;
}
.text-link span { transition: transform .3s var(--ease); display: inline-block; }
.text-link:hover span { transform: translateX(4px); }

.cat-empty {
  max-width: var(--wrap); margin: 3rem auto 0;
  text-align: center; color: var(--ivory-dim);
}
.cat-empty .text-link { margin-left: .6rem; cursor: pointer; }

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-bar { top: 56px; }
  .cat-bar-inner { flex-direction: column; align-items: flex-start; gap: .7rem; }
  .quick-look { opacity: 1; transform: translate(-50%, 0); }
}
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; max-width: 420px; }
  .editorial { grid-column: span 1; }
}

/* ---------- atelier / accessories ---------- */

.atelier { padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6.5rem); }
.atelier-head { text-align: center; }
.atelier-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: 0 auto 1.2rem; }
.atelier-head .section-sub { margin: 0 auto; }

.acc-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.acc {
  border: 1px solid var(--line-soft);
  padding: 2rem 1.6rem 1.6rem;
  display: flex; flex-direction: column;
  transition: border-color .4s var(--ease), opacity .9s var(--ease), transform .9s var(--ease);
}
.acc:hover { border-color: var(--line); }
.acc:nth-child(2) { transition-delay: .07s; }
.acc:nth-child(3) { transition-delay: .14s; }

.acc-art { color: var(--brass); margin-bottom: 1.2rem; }
.acc-art svg { width: 82px; height: 82px; display: block; margin: 0 auto; }
.acc h3 { font-size: 1.5rem; margin-bottom: .6rem; text-align: center; }
.acc p { font-size: .92rem; color: var(--ivory-dim); flex: 1; text-align: center; }
.acc-foot {
  margin-top: 1.4rem; padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

@media (max-width: 860px) { .acc-grid { grid-template-columns: 1fr; max-width: 420px; } }

/* ---------- quick look dialog ---------- */

.qv-dialog {
  border: 1px solid var(--line);
  background: var(--noir-2);
  color: var(--ivory);
  padding: 0;
  max-width: 880px; width: calc(100% - 2.5rem);
  margin: auto;
}
.qv-dialog::backdrop { background: rgba(5, 4, 3, .8); backdrop-filter: blur(3px); }

.qv-inner { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; }
.qv-photo { background: var(--noir); }
.qv-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }

.qv-body { padding: clamp(1.6rem, 3.5vw, 2.6rem); display: flex; flex-direction: column; }
.qv-body h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: .4rem 0 .8rem; }
.qv-note { color: var(--ivory-dim); font-size: .95rem; margin-bottom: 1.4rem; }

.qv-specs { border-top: 1px solid var(--line-soft); margin-bottom: 1.6rem; }
.qv-specs > div {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.qv-specs dt { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.qv-specs dd { font-size: .92rem; color: var(--ivory-dim); text-align: right; }

.qv-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }

@media (max-width: 700px) {
  .qv-inner { grid-template-columns: 1fr; }
  .qv-photo { max-height: 38vh; }
  .qv-photo img { aspect-ratio: 16 / 10; }
}
