/* Label Harsh — site styles (v2)
   Layout: photography first. A full-bleed hero of the three campaign images, then quiet editorial
   sections on near-black emerald, one warm sand band for the label's story. No ornament; hairlines only. */

:root {
  /* colour: deep Pine Grove ground (Pantone 19-5406, darkened), Racing Green shimmer band, warm ivory type, gold logo, warm sand band */
  --bg: #182723;
  --bg-raised: #13211d;
  --bg-deep: #111d1a;
  --racing: #11534a;
  --gold: #c9a45c;
  --gold-line: rgba(201, 164, 92, 0.42);
  --ivory: #efe7da;
  --ivory-soft: #aaa193;
  --champagne: #d6c4a5;
  --line: rgba(239, 231, 218, 0.14);
  --line-strong: rgba(239, 231, 218, 0.38);
  --sand: #e8dfd2;
  --ink: #15211b;
  --ink-soft: #5b5a50;
  --ink-line: rgba(21, 33, 27, 0.18);
  --scrim: rgba(14, 24, 21, 0.96);
  --shade: rgba(16, 27, 24, 0.84);
  --error: #f0b7ae;

  /* type: Bodoni Moda for headlines, Jost (Futura-like) for everything else */
  --font-display: "Bodoni Moda", "Bodoni 72", Didot, "Libre Bodoni", Georgia, serif;
  --font-text: "Jost", Futura, "Century Gothic", "Avenir Next", "Segoe UI", sans-serif;

  --step--2: 0.6875rem;
  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  --step-3: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  --step-4: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  --step-5: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem);

  --gutter: clamp(16px, 4.5vw, 72px);
  --header-h: 116px;
  --measure: 32rem;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-text);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
a:hover { color: var(--champagne); text-decoration-color: currentColor; }
:focus-visible { outline: 1px solid var(--champagne); outline-offset: 4px; }
p { margin: 0; text-wrap: pretty; }

h1, h2, h3 {
  font-family: var(--font-text);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1.3;
  margin: 0;
  text-wrap: balance;
}

.label {
  font-family: var(--font-text);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--ivory-soft);
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ivory); color: var(--bg); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  gap: 16px;
}
.header-util, .header-book, .menu-toggle, .nav a {
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}
.header-util--left { justify-self: start; }
.header-util--right { justify-self: end; }
.header-util:hover { color: var(--champagne); }
.brand { display: block; justify-self: center; grid-column: 2; line-height: 0; }
.brand img { height: 30px; width: auto; }
.nav__row { display: flex; justify-content: center; gap: clamp(24px, 3vw, 48px); min-height: 44px; align-items: flex-start; }
.nav a { padding-block: 4px 10px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ivory); border-bottom-color: var(--ivory); }

.menu-toggle, .header-book { display: none; }
.menu-toggle {
  justify-self: start;
  background: none; border: 0; color: var(--ivory);
  font-family: inherit; padding: 12px 0; cursor: pointer;
  align-items: center; gap: 12px;
}
.menu-toggle__lines { width: 20px; height: 7px; position: relative; display: inline-block; }
.menu-toggle__lines::before, .menu-toggle__lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--ivory);
  transition: transform 0.3s ease, top 0.3s ease;
}
.menu-toggle__lines::before { top: 0; }
.menu-toggle__lines::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before { top: 3px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after { top: 3px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0;
  z-index: 49;
  background: var(--bg);
  padding-block: 24px;
  overflow-y: auto;
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; }
.mobile-menu ul a {
  display: block; text-decoration: none; padding-block: 18px;
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__meta { margin-top: 28px; color: var(--ivory-soft); display: grid; gap: 10px; justify-items: start; overflow-wrap: anywhere; font-size: 0.9375rem; }
.mobile-menu:not([hidden]) { animation: fade-in 0.3s ease both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .site-header__bar { min-height: 60px; }
  .nav, .header-util { display: none; }
  .menu-toggle { display: inline-flex; grid-column: 1; grid-row: 1; }
  .header-book { display: inline-block; justify-self: end; grid-column: 3; grid-row: 1; padding-block: 12px; }
  .brand { grid-row: 1; }
  .brand img { height: 24px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 30px;
  font-family: var(--font-text);
  font-size: var(--step--2); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--ivory);
  background: var(--ivory); color: var(--bg);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: var(--champagne); border-color: var(--champagne); color: var(--bg); }
.btn--ghost { background: transparent; color: var(--ivory); border-color: var(--line-strong); }
.btn--ghost:hover { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.btn--line { background: transparent; color: var(--ivory); border-color: var(--ivory); min-height: 44px; padding: 0 26px; }
.btn--line:hover { background: var(--ivory); color: var(--bg); border-color: var(--ivory); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link {
  font-size: var(--step--2); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 0.6em;
}

/* ---------- hero ---------- */
.hero { position: relative; }
.hero__media { margin: 0; }
.hero__slide { margin: 0; position: relative; overflow: hidden; background: var(--bg-raised); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__copy { display: grid; gap: 14px; }
.hero__title { font-size: var(--step-5); letter-spacing: 0.24em; margin-right: -0.24em; white-space: nowrap; }
.hero__lede { max-width: 30rem; color: var(--ivory); }
.hero__dots { display: none; gap: 8px; }
.hero__dots button {
  width: 34px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative;
}
.hero__dots button::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-strong);
  transition: background-color 0.3s ease, height 0.3s ease;
}
.hero__dots button[aria-current="true"]::after { background: var(--ivory); height: 2px; }

/* layout A: triptych (default). Full-bleed, three equal panels; swipe on phones. */
[data-hero="triptych"] .hero__media {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  height: min(calc(100svh - var(--header-h)), 62vw); min-height: 540px;
}
[data-hero="triptych"] .hero__copy {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  justify-items: center; text-align: center;
  padding-block: 140px clamp(36px, 5vw, 64px);
  background: linear-gradient(transparent, var(--shade) 72%);
}
[data-hero="triptych"] .hero__copy .btn-row { justify-content: center; margin-top: 8px; }

@media (max-width: 720px) {
  [data-hero="triptych"] .hero__media {
    display: flex; height: auto; min-height: 0; gap: 0;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  [data-hero="triptych"] .hero__media::-webkit-scrollbar { display: none; }
  [data-hero="triptych"] .hero__slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 0.64; }
  [data-hero="triptych"] .hero__slide img { object-position: 50% 50% !important; }
  [data-hero="triptych"] .hero__copy { padding-block: 120px 28px; }
  [data-hero="triptych"] .hero__dots { display: flex; justify-content: center; order: 9; margin-top: 10px; }
}

/* layout B: staggered. Three framed images at different heights on open dark space. */
[data-hero="staggered"] { padding-block: clamp(24px, 4vw, 56px) clamp(56px, 8vw, 112px); }
[data-hero="staggered"] .hero__media {
  display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: clamp(14px, 3vw, 48px); align-items: start;
  max-width: 1180px; margin-inline: auto;
}
[data-hero="staggered"] .hero__slide { aspect-ratio: 0.66; }
[data-hero="staggered"] .hero__slide:nth-child(1) { margin-top: 16%; }
[data-hero="staggered"] .hero__slide:nth-child(3) { margin-top: 34%; }
[data-hero="staggered"] .hero__copy {
  max-width: 1180px; margin: clamp(36px, 5vw, 64px) auto 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 18px 48px;
}
[data-hero="staggered"] .hero__copy > div:first-child { display: grid; gap: 12px; }
[data-hero="staggered"] .hero__copy > div { display: grid; gap: 20px; }
[data-hero="staggered"] .hero__dots, [data-hero="staggered"] .hero__title { justify-self: start; }
@media (max-width: 720px) {
  [data-hero="staggered"] .hero__media { grid-template-columns: 1fr 1fr; }
  [data-hero="staggered"] .hero__slide:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
  [data-hero="staggered"] .hero__slide:nth-child(1), [data-hero="staggered"] .hero__slide:nth-child(3) { margin-top: 0; }
  [data-hero="staggered"] .hero__copy { grid-template-columns: 1fr; margin-top: 28px; }
}

/* layout C: split. Words on the left, one large image that changes on the right. */
[data-hero="split"] .hero__inner {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px);
  align-items: center; padding-block: clamp(24px, 4vw, 56px) clamp(56px, 8vw, 112px);
}
[data-hero="split"] .hero__media { position: relative; aspect-ratio: 0.72; max-height: calc(100svh - var(--header-h) - 48px); justify-self: end; width: 100%; }
[data-hero="split"] .hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
[data-hero="split"] .hero__slide.is-active { opacity: 1; }
[data-hero="split"] .hero__copy { order: -1; gap: 22px; }
[data-hero="split"] .hero__dots { display: flex; margin-top: 12px; }
@media (max-width: 720px) {
  [data-hero="split"] .hero__inner { grid-template-columns: 1fr; }
  [data-hero="split"] .hero__media { aspect-ratio: 0.64; max-height: none; }
  [data-hero="split"] .hero__copy { order: 0; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 11vw, 160px); }
.section--tight { padding-block: clamp(56px, 8vw, 112px); }

.quote-block { text-align: center; }
.quote {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: var(--step-2); line-height: 1.45; max-width: 34rem; margin-inline: auto; color: var(--ivory);
}

.feature { position: relative; }
.feature__media { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; height: min(calc(100svh - var(--header-h)), 60vw); min-height: 520px; }
.feature__media figure { margin: 0; overflow: hidden; background: var(--bg-raised); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.feature__copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; gap: 14px; justify-items: center; text-align: center;
  padding: 140px 16px clamp(36px, 5vw, 64px);
  background: linear-gradient(transparent, var(--shade) 72%);
}
.feature__copy h2 { font-size: var(--step-4); letter-spacing: 0.22em; margin-right: -0.22em; }
@media (max-width: 720px) {
  .feature__media { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .feature__media figure { aspect-ratio: 0.67; }
  .feature__second { display: none; }
}

.specs { margin: 4px 0 0; display: grid; border-top: 1px solid var(--line); }
.specs > div {
  display: grid; grid-template-columns: 7rem 1fr; gap: 16px;
  padding-block: 13px; border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.specs dt { color: var(--ivory-soft); }
.specs dd { margin: 0; }

.price { font-size: var(--step-1); font-weight: 300; letter-spacing: 0.04em; }

/* ---------- about (warm sand band) ---------- */
.about { background: var(--sand); color: var(--ink); }
.about__inner {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.about__mark { width: 48px; margin-bottom: 26px; filter: drop-shadow(0 1px 1px rgba(60, 40, 10, 0.25)); }
.about .label { color: var(--ink-soft); }
.about h2 { font-size: var(--step-3); color: var(--ink); }
.about__body { display: grid; gap: 22px; max-width: 36rem; }
.about__body p { font-size: 1.0625rem; line-height: 1.8; }
.about__body p.about__lead { font-family: var(--font-display); font-style: italic; font-size: var(--step-2); line-height: 1.45; }
.about__sign { padding-top: 18px; border-top: 1px solid var(--ink-line); display: grid; gap: 2px; }
.about__sign strong { font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.8125rem; }
.about__sign span { font-size: var(--step--1); color: var(--ink-soft); }
.about a { color: var(--ink); }
.about :focus-visible { outline-color: var(--ink); }

/* ---------- appointments ---------- */
.appointments {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.appointments__intro { display: grid; gap: 22px; max-width: 26rem; }
.section-title { font-size: var(--step-3); }
.contact-list { margin: 10px 0 0; display: grid; gap: 16px; }
.contact-list div { display: grid; gap: 2px; }
.contact-list dt { font-size: var(--step--2); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-soft); }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 32px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: var(--step--2); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--ivory);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 10px 0;
  transition: border-color 0.2s ease;
}
.field textarea { resize: vertical; min-height: 104px; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ivory-soft) 50%), linear-gradient(135deg, var(--ivory-soft) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px;
}
.field select option { background: var(--bg); color: var(--ivory); }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: var(--ivory-soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ivory); box-shadow: 0 1px 0 0 var(--ivory); }
.field input::placeholder, .field textarea::placeholder { color: rgba(170, 161, 147, 0.6); }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.85); }
.field [aria-invalid="true"] { border-bottom-color: var(--error); }
.error { color: var(--error); font-size: var(--step--1); }
.form__actions { grid-column: 1 / -1; display: grid; gap: 14px; justify-items: start; }
.form__status { font-size: 0.9375rem; max-width: 36rem; }
.form__status a { color: var(--champagne); }

/* ---------- private list ---------- */
.list-band {
  background-color: var(--racing);
  background-image: linear-gradient(105deg, #0e453d 0%, #145a4f 42%, #11524a 64%, #0f4a42 82%, #0c3d36 100%);
}
.list-band p { color: rgba(239, 231, 218, 0.78); }
.list-band__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px; align-items: end;
  padding-block: clamp(56px, 8vw, 96px);
}
.list-band h2 { font-size: var(--step-2); }
.list-band p { margin-top: 12px; }
.subscribe { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; }
.subscribe__status { grid-column: 1 / -1; font-size: 0.9375rem; min-height: 1.5em; }

/* ---------- footer (big centred gold logo, as in the first draft) ---------- */
.site-footer { background: var(--bg-deep); padding-block: clamp(56px, 8vw, 96px) calc(36px + env(safe-area-inset-bottom, 0px)); }
.footer__lockup { width: min(320px, 68vw); margin: 0 auto clamp(40px, 6vw, 64px); }
.footer__cols {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
  padding-bottom: 40px; border-bottom: 1px solid var(--gold-line);
}
.footer__cols h2 {
  font-family: var(--font-text); font-weight: 400; text-transform: none; letter-spacing: 0.02em;
  font-size: 1.0625rem; color: var(--gold); margin-bottom: 14px;
}
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__cols a { text-decoration: none; font-size: 1.0625rem; overflow-wrap: anywhere; }
.footer__cols a:hover { color: var(--gold); }
.footer__legal { padding-top: 22px; color: var(--ivory-soft); font-size: var(--step--1); }

/* ---------- product page ---------- */
.crumbs { padding-top: 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-strong); }
.crumbs a { text-decoration: none; }

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
  padding-block: 28px clamp(72px, 10vw, 140px);
}
.pdp__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.pdp__shot { margin: 0; background: var(--bg-raised); }
.pdp__shot button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; line-height: 0; }
.pdp__shot img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; object-position: 50% 20%; }
.pdp__count { display: none; }

.pdp__info { position: sticky; top: calc(var(--header-h) + 28px + env(safe-area-inset-top, 0px)); display: grid; gap: 22px; }
.pdp__title { font-size: var(--step-2); letter-spacing: 0.14em; }
.pdp__note { color: var(--ivory-soft); font-size: 0.9375rem; }
.pdp__actions { display: grid; gap: 10px; }
.pdp__actions .btn { width: 100%; }

.swatch { display: flex; align-items: center; gap: 12px; font-size: 0.9375rem; padding-block: 18px; border-block: 1px solid var(--line); }
.swatch__chip {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #e5338a 0 62%, #5a1626 62%);
  box-shadow: 0 0 0 1px var(--line-strong);
}

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 18px;
  font-size: var(--step--2); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.1rem; font-weight: 300; letter-spacing: 0; transition: transform 0.3s ease; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion__body { padding-bottom: 20px; color: var(--ivory-soft); display: grid; gap: 10px; font-size: 0.9375rem; }
.accordion details[open] .accordion__body { animation: fade-in 0.3s ease both; }

.fitting-band { border-top: 1px solid var(--line); text-align: center; }
.fitting-band__inner { display: grid; gap: 20px; justify-items: center; max-width: 38rem; margin-inline: auto; }
.fitting-band h2 { font-size: var(--step-2); }
.fitting-band p { color: var(--ivory-soft); }

/* lightbox */
.lightbox {
  border: 0; padding: 0; margin: 0;
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  background: var(--scrim); color: var(--ivory);
}
.lightbox::backdrop { background: var(--scrim); }
.lightbox__inner { height: 100%; display: grid; place-items: center; padding: calc(64px + env(safe-area-inset-top, 0px)) 16px calc(64px + env(safe-area-inset-bottom, 0px)); }
.lightbox img { max-height: 100%; max-width: min(100%, 900px); width: auto; object-fit: contain; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: none; border: 1px solid var(--line-strong); color: var(--ivory);
  font: inherit; font-size: var(--step--2); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; min-width: 48px; min-height: 48px; padding: 0 16px;
}
.lightbox__close { top: calc(14px + env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lightbox__nav--prev { left: max(16px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: max(16px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--ivory); }
.lightbox__caption { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; color: var(--ivory-soft); font-size: var(--step--1); }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 96px; }
.notfound__inner { display: grid; gap: 20px; justify-items: center; max-width: 30rem; }
.notfound img { width: 48px; }
.notfound h1 { font-size: var(--step-3); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .appointments, .pdp, .about__inner { grid-template-columns: 1fr; }
  .list-band__inner { grid-template-columns: 1fr; }
  .pdp__info { position: static; }
}
@media (max-width: 640px) {
  .form { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .subscribe { grid-template-columns: 1fr; }
  .subscribe .btn, .hero .btn-row .btn { width: 100%; }
  .specs > div { grid-template-columns: 6rem 1fr; }

  .pdp__gallery {
    display: flex; gap: 4px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px)));
    scrollbar-width: none;
  }
  .pdp__gallery::-webkit-scrollbar { display: none; }
  .pdp__shot { flex: 0 0 100%; scroll-snap-align: start; }
  .pdp__shot img { aspect-ratio: 0.66; }
  .pdp__count { display: block; text-align: center; margin-top: 12px; font-size: var(--step--1); color: var(--ivory-soft); font-variant-numeric: tabular-nums; }
}

/* ---------- motion ----------
   One load sequence (header settles, photographs unveil, title tracks in), then quiet reveals on scroll.
   .motion is set in <head>; .reveal-ready, .is-in and .has-parallax are set by site.js. */
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

@media (prefers-reduced-motion: no-preference) {
  .motion .brand, .motion .header-util, .motion .menu-toggle, .motion .header-book, .motion .nav__row a {
    animation: settle-down 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .motion .brand { animation-delay: 0.05s; }
  .motion .nav__row a:nth-child(1) { animation-delay: 0.2s; }
  .motion .nav__row a:nth-child(2) { animation-delay: 0.27s; }
  .motion .nav__row a:nth-child(3) { animation-delay: 0.34s; }
  .motion .nav__row a:nth-child(4) { animation-delay: 0.41s; }

  .motion .hero__slide { animation: unveil 1.35s cubic-bezier(0.3, 0.1, 0.15, 1) both; }
  .motion .hero__slide img { animation: settle-in 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .motion .hero__slide:nth-child(2), .motion .hero__slide:nth-child(2) img { animation-delay: 0.05s; }
  .motion .hero__slide:nth-child(1), .motion .hero__slide:nth-child(1) img { animation-delay: 0.17s; }
  .motion .hero__slide:nth-child(3), .motion .hero__slide:nth-child(3) img { animation-delay: 0.29s; }

  .motion .hero__copy .label, .motion .hero__copy .btn-row, .motion .hero__copy .hero__lede, .motion .hero__dots {
    animation: rise-up 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .motion .hero__copy .label { animation-delay: 0.6s; }
  .motion .hero__title { animation: track-in 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.65s both; }
  .motion .hero__copy .hero__lede { animation-delay: 0.9s; }
  .motion .hero__copy .btn-row { animation-delay: 1s; }
  .motion .hero__dots { animation-delay: 1.15s; }

  @keyframes settle-down { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
  @keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes settle-in { from { transform: scale(1.16); } to { transform: none; } }
  @keyframes rise-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes track-in { from { opacity: 0; letter-spacing: 0.46em; margin-right: -0.46em; } to { opacity: 1; letter-spacing: 0.24em; margin-right: -0.24em; } }

  /* scroll reveals */
  .reveal-ready .rv {
    opacity: 0; transform: translateY(34px);
    transition: opacity 1.1s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--rv-delay, 0s);
  }
  .reveal-ready .rv-img {
    clip-path: inset(14% 0 0 0); opacity: 0.001;
    transition: clip-path 1.5s cubic-bezier(0.65, 0, 0.15, 1), opacity 0.6s ease;
    transition-delay: var(--rv-delay, 0s);
  }
  .reveal-ready .rv-img img { scale: 1.14; transition: scale 2.4s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--rv-delay, 0s); }
  .reveal-ready .rv.is-in { opacity: 1; transform: none; }
  .reveal-ready .rv-img.is-in { clip-path: inset(0 0 0 0); opacity: 1; }
  .reveal-ready .rv-img.is-in img { scale: 1; }

  /* gentle depth on large photographs (laptops only; phones keep every photo whole) */
  .has-parallax [data-hero="triptych"] .hero__slide img,
  .has-parallax .feature__media img { height: calc(100% + 72px); margin-top: -36px; will-change: translate; }

  /* soft fade between pages */
  .page-leaving main, .page-leaving .site-footer { opacity: 0; transition: opacity 0.35s ease; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
