/* ============================================================
   DIGAN CHEESE — cinematic portfolio
   Mobile-first. Off-black, warm charcoal, champagne gold, ivory.
   ============================================================ */

:root {
  --ink: #0c0b09;
  --ink-2: #12100d;
  --charcoal: #1a1712;
  --charcoal-2: #232019;
  --ivory: #ece5d8;
  --ivory-dim: rgba(236, 229, 216, 0.62);
  --ivory-faint: rgba(236, 229, 216, 0.34);
  --gold: #c5a572;
  --gold-soft: rgba(197, 165, 114, 0.5);
  --gold-faint: rgba(197, 165, 114, 0.18);
  --hairline: rgba(236, 229, 216, 0.12);

  --serif: "Bodoni Moda", "Didot", "Playfair Display", serif;
  --sans: "Hanken Grotesk", "Avenir Next", "Segoe UI", sans-serif;

  --fs-hero: clamp(2.6rem, 9.5vw, 7.5rem);
  --fs-h2: clamp(2rem, 5.5vw, 4.6rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.55rem);
  --fs-body: clamp(1rem, 0.95rem + 0.35vw, 1.175rem);
  --fs-small: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);

  --space-1: clamp(1rem, 3vw, 2rem);
  --space-2: clamp(2rem, 6vw, 4.5rem);
  --space-3: clamp(4rem, 11vw, 9.5rem);
  --gutter: clamp(1.25rem, 4.5vw, 4rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

html, body { overflow-x: clip; }

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

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

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: fixed; top: -100%; left: 1rem; z-index: 300;
  background: var(--gold); color: var(--ink);
  padding: 0.6rem 1.2rem; font-size: var(--fs-small);
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- film grain ---------- */
.grain {
  position: fixed; inset: -100%;
  z-index: 200; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  animation: grain 9s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -8%); } 20% { transform: translate(-12%, 4%); }
  30% { transform: translate(6%, -14%); } 40% { transform: translate(-4%, 12%); }
  50% { transform: translate(-12%, 8%); } 60% { transform: translate(10%, 0%); }
  70% { transform: translate(0%, 12%); } 80% { transform: translate(3%, 22%); }
  90% { transform: translate(-8%, 8%); }
}

/* ---------- typography helpers ---------- */
.kicker {
  font-size: var(--fs-small);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: clamp(1rem, 3vw, 2rem);
}
.kicker__no { color: var(--ivory-faint); letter-spacing: 0.2em; }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.06;
  letter-spacing: 0.005em;
}
.section-title em, .hero__title em, .about__quote em,
.contact__title em, .edition__title em { color: var(--gold); }

.line { display: block; overflow: hidden; }
.line > span { display: inline-block; will-change: transform; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(0.9rem, 2.5vw, 1.4rem) var(--gutter);
  transition: background 0.5s, backdrop-filter 0.5s;
}
.site-header.is-scrolled {
  background: rgba(12, 11, 9, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__mark {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid var(--gold); flex: none;
}
.brand__name {
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
  letter-spacing: 0.16em; text-transform: uppercase;
  white-space: nowrap;
}

.nav-desktop { display: none; }

.language-switch {
  display: inline-flex; align-items: center; gap: 0.28rem;
  color: var(--ivory-faint); font: 400 0.66rem var(--sans);
  letter-spacing: 0.12em; white-space: nowrap;
}
.lang-btn {
  border: 0; background: none; color: inherit; cursor: pointer;
  padding: 0.55rem 0.18rem; font: inherit; letter-spacing: inherit;
  transition: color 0.25s;
}
.lang-btn:hover, .lang-btn:focus-visible, .lang-btn[aria-pressed="true"] { color: var(--gold); }

.menu-btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: none; border: 0; color: var(--ivory);
  font: 400 var(--fs-small) var(--sans);
  letter-spacing: 0.28em; text-transform: uppercase;
  cursor: pointer; padding: 0.8rem 0.2rem; min-height: 44px;
}
.menu-btn__lines { display: inline-flex; flex-direction: column; gap: 5px; width: 26px; }
.menu-btn__lines i { height: 1px; background: var(--ivory); transition: transform 0.4s var(--ease-out), width 0.4s var(--ease-out); }
.menu-btn__lines i:last-child { width: 65%; align-self: flex-end; }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:last-child { width: 100%; transform: translateY(-3px) rotate(-45deg); }

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: linear-gradient(160deg, var(--ink) 0%, var(--charcoal) 100%);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(clamp(1rem, 3vh, 2.5rem) + 60px) var(--gutter) clamp(1rem, 3vh, 2.5rem);
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 5.2vh, 2.6rem);
  line-height: 1.25;
  padding: 0.3rem 0;
  display: flex; align-items: baseline; gap: 1rem;
  border-bottom: 1px solid var(--hairline);
  transform: translateY(1.2rem); opacity: 0;
  transition: transform 0.7s var(--ease-out), opacity 0.7s var(--ease-out), color 0.3s;
}
.mobile-menu.is-open .mobile-menu__nav a { transform: none; opacity: 1; }
.mobile-menu__nav a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu__nav a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu__nav a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu__nav a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu__nav a:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu__nav a:nth-child(6) { transition-delay: 0.38s; }
.mobile-menu__nav a:nth-child(7) { transition-delay: 0.44s; }
.mobile-menu__nav a:hover, .mobile-menu__nav a:focus-visible { color: var(--gold); }
.mobile-menu__nav em {
  font-family: var(--sans); font-style: normal;
  font-size: var(--fs-small); letter-spacing: 0.2em; color: var(--gold);
}
.mobile-menu__foot {
  margin-top: clamp(1.2rem, 3.5vh, 2.6rem);
  color: var(--ivory-dim);
  font-size: var(--fs-small); letter-spacing: 0.18em; text-transform: uppercase; line-height: 2;
}

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; }

.hero__stage { position: absolute; inset: 0; overflow: hidden; background: var(--ink); }
.hero__video, .hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero__video {
  object-fit: cover;
  object-position: center 58%;
}
.hero__video, .hero__canvas { opacity: 0; transition: opacity 0.6s; }
.hero--video .hero__video.is-ready { opacity: 1; }
.hero--frames .hero__canvas.is-ready { opacity: 1; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(12,11,9,0.55) 0%, rgba(12,11,9,0) 30%, rgba(12,11,9,0) 55%, rgba(12,11,9,0.82) 100%);
}

.hero__content {
  position: absolute; z-index: 2;
  left: var(--gutter); right: var(--gutter); bottom: clamp(5.5rem, 14svh, 8.5rem);
  pointer-events: none;
}
.hero__studio {
  font-size: var(--fs-small);
  letter-spacing: 0.55em; text-transform: uppercase;
  color: var(--gold); font-weight: 400;
  margin-bottom: clamp(0.9rem, 2.5vw, 1.6rem);
  white-space: nowrap;
}
.hero__studio span { display: inline-block; opacity: 0; transform: translateY(0.6em); }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: var(--fs-hero); line-height: 1.02;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 40px rgba(12, 11, 9, 0.6);
}
.hero__sub {
  margin-top: clamp(0.9rem, 2.5vw, 1.5rem);
  max-width: 34ch;
  color: var(--ivory-dim);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  letter-spacing: 0.04em;
  opacity: 0; transform: translateY(1rem);
}

.hero__scroll {
  position: absolute; z-index: 2;
  left: var(--gutter); bottom: clamp(1.4rem, 4svh, 2.4rem);
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-size: var(--fs-small); letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ivory-dim); min-height: 44px;
  opacity: 0;
}
.hero__scroll i {
  width: 1px; height: 44px; background: var(--gold-soft);
  position: relative; overflow: hidden; display: block;
}
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%; background: var(--gold);
  animation: scrollhint 2.2s var(--ease-out) infinite;
}
@keyframes scrollhint { 0% { top: -50%; } 60%, 100% { top: 110%; } }
.hero__scroll:hover { color: var(--ivory); }

/* ---------- shared media / reveals ---------- */
.mask-reveal { overflow: hidden; position: relative; }
.mask-reveal img {
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform;
}

section { position: relative; }
section[id] { scroll-margin-top: 5rem; }

/* ---------- vision ---------- */
.vision { padding: var(--space-3) var(--gutter); background: linear-gradient(var(--ink) 0%, var(--ink-2) 100%); }
.vision__inner { max-width: 1400px; margin-inline: auto; }
.vision__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 6.4rem);
  line-height: 1.03; margin-bottom: var(--space-2);
}
.vision__grid { display: grid; gap: var(--space-2); }
.vision__media { aspect-ratio: 4 / 3; }
.vision__copy { display: flex; flex-direction: column; gap: 1.4rem; max-width: 46ch; }
.vision__copy p:first-child {
  font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.45; color: var(--ivory);
}
.vision__copy p { color: var(--ivory-dim); }
.vision__sig { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.4rem; }

/* ---------- selected work ---------- */
.work { background: var(--ink-2); padding-top: var(--space-3); }
.work__head { padding: 0 var(--gutter) var(--space-2); max-width: 1400px; margin-inline: auto; }

/* mobile: swipeable snap gallery */
.work__track {
  display: flex; gap: clamp(1rem, 3vw, 2.5rem);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) var(--space-3);
  scrollbar-width: none;
}
.work__track::-webkit-scrollbar { display: none; }

.work-card {
  flex: 0 0 min(78vw, 420px);
  scroll-snap-align: center;
}
.work-card figure {
  aspect-ratio: 3 / 4; overflow: hidden; position: relative;
  background: var(--charcoal);
}
.work-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 1.2s var(--ease-out);
  filter: saturate(0.92);
}
.work-card:hover img { transform: scale(1.05); filter: saturate(1.05); }
.work-card__meta { padding: 1.1rem 0.2rem 0; display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 0.9rem; align-items: baseline; }
.work-card__meta em {
  font-family: var(--serif); color: var(--gold); font-size: 1rem;
  grid-row: span 2;
}
.work-card__meta h3 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); letter-spacing: 0.04em; }
.work-card__meta p { color: var(--ivory-faint); font-size: var(--fs-small); letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- process ---------- */
.process {
  background: var(--ink);
  display: grid; gap: var(--space-2);
  padding: var(--space-3) var(--gutter);
}
.process__media { aspect-ratio: 16 / 10; }
.process__steps { display: grid; gap: clamp(1.8rem, 4vw, 2.6rem); margin-top: var(--space-2); counter-reset: step; }
.process-step {
  border-top: 1px solid var(--hairline);
  padding-top: 1.4rem;
  display: grid; gap: 0.5rem;
}
.process-step__no { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.process-step h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 2.6rem); letter-spacing: 0.02em;
}
.process-step p { color: var(--ivory-dim); max-width: 42ch; }

/* ---------- detail ---------- */
.detail { background: var(--ink-2); padding: var(--space-3) var(--gutter); }
.detail__head { max-width: 1400px; margin: 0 auto var(--space-2); }
.detail__grid { max-width: 1400px; margin-inline: auto; display: grid; gap: var(--space-2); }
.detail__hero { aspect-ratio: 16 / 11; }
.detail__callouts { display: grid; gap: 0; }
.callout {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.05rem 0.2rem;
  border-bottom: 1px solid var(--hairline);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ivory-dim);
}
.callout:first-child { border-top: 1px solid var(--hairline); }
.callout span {
  width: 6px; height: 6px; flex: none; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold-soft);
}

/* ---------- gallery / exhibition ---------- */
.gallery { background: var(--ink); overflow: clip; }
.gallery__backdrop { position: absolute; inset: 0; opacity: 0.35; }
.gallery__backdrop img { width: 100%; height: 100%; object-fit: cover; }
.gallery__backdrop::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--ink) 0%, rgba(12,11,9,0.35) 30%, rgba(12,11,9,0.55) 70%, var(--ink) 100%);
}
.gallery__head { position: relative; z-index: 2; padding: var(--space-3) var(--gutter) var(--space-2); max-width: 1400px; margin-inline: auto; }

.gallery__track {
  position: relative; z-index: 2;
  display: flex; gap: clamp(1.4rem, 4vw, 4rem);
  align-items: center;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) var(--space-3);
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }

.exhibit { flex: 0 0 min(74vw, 520px); scroll-snap-align: center; }
.exhibit__frame {
  padding: clamp(0.6rem, 1.4vw, 1.1rem);
  background: linear-gradient(150deg, #2b2519, #171410 60%);
  border: 1px solid var(--gold-faint);
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.85), 0 4px 14px rgba(0,0,0,0.5);
}
.exhibit__frame img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.exhibit--portrait .exhibit__frame img { aspect-ratio: 4 / 5; object-position: center top; }
.exhibit figcaption {
  margin-top: 0.9rem; text-align: center;
  font-family: var(--serif); font-style: italic;
  color: var(--ivory-dim); font-size: clamp(0.95rem, 1.4vw, 1.1rem);
}

/* ---------- services ---------- */
.services { background: var(--ink-2); padding: var(--space-3) var(--gutter); }
.services__head { max-width: 1400px; margin: 0 auto var(--space-2); }
.services__grid {
  max-width: 1400px; margin-inline: auto;
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--hairline);
  border-block: 1px solid var(--hairline);
}
.service {
  background: var(--ink-2);
  padding: clamp(1.6rem, 3.5vw, 2.6rem) clamp(1.2rem, 2.5vw, 2rem);
  display: grid; gap: 0.7rem;
  transition: background 0.5s;
}
.service:hover { background: var(--charcoal); }
.service em { font-family: var(--serif); color: var(--gold); font-size: 0.95rem; }
.service h3 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); }
.service p { color: var(--ivory-dim); font-size: 0.98rem; max-width: 34ch; }

/* ---------- edition ---------- */
.edition {
  background: var(--ink);
  padding: var(--space-3) var(--gutter);
  display: grid; gap: var(--space-2);
  max-width: 100%;
}
.edition__media { aspect-ratio: 16 / 10; }
.edition__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 5.6rem); line-height: 1.05;
  margin-bottom: 1.2rem;
}
.edition__body p { color: var(--ivory-dim); max-width: 44ch; }
.edition__num {
  margin-top: 1.4rem;
  font-family: var(--serif); font-style: italic;
  color: var(--gold); font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: 0.14em;
}

.btn-line {
  display: inline-block; margin-top: 2rem;
  padding: 0.95rem 0;
  font-size: var(--fs-small); letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ivory);
  border-bottom: 1px solid var(--gold);
  transition: color 0.35s, letter-spacing 0.5s var(--ease-out);
  min-height: 44px;
}
.btn-line:hover { color: var(--gold); letter-spacing: 0.38em; }

/* ---------- about ---------- */
.about { background: var(--ink-2); padding: var(--space-3) var(--gutter); }
.about__inner { max-width: 1400px; margin-inline: auto; }
.about__quote {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.7rem, 5vw, 3.9rem); line-height: 1.18;
  margin-bottom: var(--space-2);
  max-width: 22ch;
}
.about__grid { display: grid; gap: var(--space-2); }
.about__media { aspect-ratio: 4 / 3; }
.about__copy { display: flex; flex-direction: column; gap: 1.3rem; max-width: 48ch; }
.about__copy p { color: var(--ivory-dim); }
.about__copy p:last-child { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.15em; }

/* ---------- contact ---------- */
.contact {
  background:
    radial-gradient(90% 60% at 50% 110%, rgba(197,165,114,0.08) 0%, rgba(197,165,114,0) 60%),
    var(--ink);
  padding: var(--space-3) var(--gutter) var(--space-2);
}
.contact__inner { max-width: 900px; margin-inline: auto; }
.contact__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.5rem, 8vw, 5.8rem); line-height: 1.04;
  margin-bottom: var(--space-2);
}

.inquiry { display: grid; grid-template-columns: 1fr; gap: clamp(1.4rem, 3vw, 2.2rem); }
.field { display: grid; gap: 0.55rem; }
.field label {
  font-size: var(--fs-small); letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ivory-dim);
}
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  color: var(--ivory);
  font: 300 1.05rem var(--sans);
  padding: 0.8rem 0.1rem;
  min-height: 48px;
  transition: border-color 0.35s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c5a572' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.3rem center;
  cursor: pointer;
}
.field select option { background: var(--charcoal); color: var(--ivory); }
.field input::placeholder, .field textarea::placeholder { color: var(--ivory-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--gold);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
}
.field input[type="date"] { color-scheme: dark; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-bottom-color: #b0603f; }

.form-note { min-height: 1.4em; color: var(--gold); font-style: italic; font-family: var(--serif); }

.btn-solid {
  justify-self: start;
  background: var(--gold); color: var(--ink);
  border: 1px solid var(--gold);
  font: 500 var(--fs-small) var(--sans);
  letter-spacing: 0.3em; text-transform: uppercase;
  padding: 1.2rem 2.6rem;
  min-height: 52px;
  cursor: pointer;
  transition: background 0.4s, color 0.4s;
}
.btn-solid:hover, .btn-solid:focus-visible { background: transparent; color: var(--gold); }

.contact-booking-cta {
  margin-top: clamp(1rem, 3vw, 2rem); padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--gold-faint); background: linear-gradient(125deg, rgba(197,165,114,0.09), rgba(197,165,114,0.02));
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem;
}
.contact-booking-cta h3 { margin: 0.3rem 0; font: 400 clamp(1.35rem, 3vw, 2rem) var(--serif); }
.contact-booking-cta > div > p:last-child { color: var(--ivory-dim); max-width: 48ch; font-size: 0.92rem; }
.contact-booking-cta .btn-line { margin: 0; border: 0; border-bottom: 1px solid var(--gold); background: none; color: var(--ivory); cursor: pointer; }
.contact-booking-cta .btn-line span { color: var(--gold); margin-left: 0.4rem; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: var(--space-2) var(--gutter);
  display: grid; gap: 0.5rem;
  background: var(--ink);
}
.site-footer__brand {
  font-family: var(--serif);
  letter-spacing: 0.2em; text-transform: uppercase;
  font-size: 1.05rem;
}
.site-footer__line { color: var(--ivory-dim); font-size: var(--fs-small); letter-spacing: 0.14em; }
.site-footer__legal { color: var(--ivory-faint); font-size: var(--fs-small); letter-spacing: 0.1em; }

/* ============================================================
   SHORT VIEWPORTS (landscape phones) — keep the pinned hero
   fully visible and the headline compact
   ============================================================ */
@media (max-height: 600px) {
  .hero { min-height: 0; height: 100svh; }
  .hero__content { bottom: clamp(3.2rem, 14svh, 5rem); }
  .hero__title { font-size: clamp(1.7rem, 11svh, 3.4rem); }
  .hero__studio { margin-bottom: 0.5rem; }
  .hero__sub { margin-top: 0.5rem; font-size: 0.9rem; }
  .hero__scroll { bottom: 0.9rem; }
}

/* ============================================================
   TABLET — 768px+
   ============================================================ */
@media (min-width: 768px) {
  .vision__grid { grid-template-columns: 1.15fr 1fr; align-items: end; }
  .vision__media { aspect-ratio: 4 / 3.4; }

  .process { grid-template-columns: 1fr 1fr; align-items: center; }
  .process__media { aspect-ratio: 4 / 5; height: 100%; }

  .detail__grid { grid-template-columns: 1.4fr 1fr; align-items: center; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service:last-child { grid-column: 1 / -1; }

  .edition { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .edition__media { aspect-ratio: 4 / 4.4; }

  .about__grid { grid-template-columns: 1fr 1.1fr; align-items: center; }

  .inquiry { grid-template-columns: repeat(2, 1fr); }
  .field--wide { grid-column: 1 / -1; }
  .form-note { grid-column: 1 / -1; }

  .site-footer { grid-template-columns: 1fr auto 1fr; align-items: baseline; }
  .site-footer__legal { justify-self: end; }
}

/* ============================================================
   DESKTOP — 1024px+  (pinned horizontal galleries handled by JS)
   ============================================================ */
@media (min-width: 1024px) {
  .nav-desktop { display: flex; gap: clamp(0.75rem, 1.55vw, 1.8rem); align-items: center; }
  .nav-desktop a {
    font-size: var(--fs-small);
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ivory-dim);
    padding: 0.4rem 0;
    position: relative;
    transition: color 0.35s;
  }
  .nav-desktop a::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 100%; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: right;
    transition: transform 0.45s var(--ease-out);
  }
  .nav-desktop a:hover, .nav-desktop a:focus-visible { color: var(--ivory); }
  .nav-desktop a:hover::after, .nav-desktop a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
  .nav-desktop .nav-cta { color: var(--gold); border: 1px solid var(--gold-soft); padding: 0.55rem 1.3rem; }
  .nav-desktop .nav-cta:hover { background: var(--gold); color: var(--ink); }
  .menu-btn { display: none; }

  /* pinned horizontal work gallery */
  body.js-desktop .work__pin { overflow: clip; }
  body.js-desktop .work__track {
    overflow: visible; scroll-snap-type: none;
    width: max-content;
    padding-right: 38vw;
    will-change: transform;
  }
  body.js-desktop .work-card { flex-basis: clamp(360px, 30vw, 480px); }
  body.js-desktop .work-card:nth-child(even) { margin-top: clamp(2rem, 6vh, 5rem); }

  body.js-desktop .gallery__pin { overflow: clip; }
  body.js-desktop .gallery__track {
    overflow: visible; scroll-snap-type: none;
    width: max-content;
    padding-right: 44vw;
    will-change: transform;
  }
  body.js-desktop .exhibit { flex-basis: clamp(480px, 38vw, 640px); }
  body.js-desktop .exhibit:nth-child(odd) { transform: translateY(clamp(-1rem, -2vh, -2rem)); }

  .detail__callouts { gap: 0; }

  /* 5 service cards: 3 on the first row, 2 on the second — no empty cells */
  .services__grid { grid-template-columns: repeat(6, 1fr); }
  .service { grid-column: span 2; }
  .service:nth-child(4), .service:last-child { grid-column: span 3; }
}

@media (min-width: 1440px) {
  :root { --gutter: clamp(3rem, 6vw, 6rem); }
}

@media (min-width: 1024px) and (max-width: 1149px) {
  .nav-desktop { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
  .hero__scroll i::after { animation: none; top: 25%; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .hero__studio span, .hero__sub, .hero__scroll { opacity: 1 !important; transform: none !important; }
}

/* no-JS / fallback: keep everything visible */
.no-js .reveal, .no-js .line > span, .no-js .hero__studio span,
.no-js .hero__sub, .no-js .hero__scroll, .no-js .hero__video { opacity: 1 !important; transform: none !important; }

/* ---------- booking invitation ---------- */
.services__booking {
  max-width: 1400px; margin: var(--space-2) auto 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 1rem; padding-top: var(--space-2); border-top: 1px solid var(--hairline);
}
.services__booking p { font: italic clamp(1.2rem, 2.5vw, 1.8rem) var(--serif); color: var(--ivory-dim); }

/* ============================================================
   RESERVATIONS — browser-only simulation
   ============================================================ */
.booking {
  background: var(--ink-2); color: var(--ivory);
  padding: clamp(2rem, 5vw, 4.5rem) var(--gutter);
}
.booking-modal {
  width: min(1240px, calc(100% - 2rem)); max-width: none;
  height: min(94svh, 1040px); max-height: 94svh;
  margin: auto; border: 1px solid var(--gold-faint); overflow-y: auto;
  box-shadow: 0 30px 100px rgba(0,0,0,0.72);
}
.booking-modal::backdrop { background: rgba(5,4,3,0.86); backdrop-filter: blur(10px); }
.booking-modal__close {
  position: sticky; z-index: 10; top: 0; float: right;
  width: 46px; height: 46px; margin: -1rem -1rem 0 0;
  border: 1px solid var(--hairline); background: rgba(12,11,9,0.86); color: var(--ivory-dim);
  font: 300 1.7rem var(--sans); cursor: pointer; backdrop-filter: blur(8px);
}
.booking-modal__close:hover, .booking-modal__close:focus-visible { color: var(--gold); border-color: var(--gold); }
.booking__head, .booking-app { max-width: 1200px; margin-inline: auto; }
.booking__intro { max-width: 60ch; color: var(--ivory-dim); margin-top: 1.2rem; }
.demo-banner {
  margin-top: 1.5rem; padding: 0.9rem 1rem;
  border: 1px solid var(--gold-faint); background: rgba(197,165,114,0.06);
  color: var(--ivory-dim); font-size: 0.88rem;
}
.demo-banner strong { color: var(--gold); font-weight: 500; }
.booking-app { margin-top: var(--space-2); border-top: 1px solid var(--hairline); }
.booking-progress { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--hairline); }
.booking-progress button {
  border: 0; border-right: 1px solid var(--hairline); background: transparent;
  color: var(--ivory-faint); padding: 1.1rem 0.4rem; cursor: pointer;
  font: 400 var(--fs-small) var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
}
.booking-progress button:last-child { border-right: 0; }
.booking-progress button span { color: var(--gold); margin-right: 0.35rem; }
.booking-progress button.is-active { color: var(--ivory); background: var(--gold-faint); }
.booking-progress button:disabled { cursor: default; }
.booking-panel { padding-top: var(--space-2); }
.booking-panel__head { margin-bottom: 1.6rem; }
.booking-panel__head h3, .booking-confirmation h3, .owner-dialog h2, .dashboard-head h2 {
  font: 400 clamp(1.8rem, 4vw, 3rem)/1.1 var(--serif);
}
.eyebrow { color: var(--gold); font-size: var(--fs-small); letter-spacing: 0.22em; text-transform: uppercase; }
.booking-services { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--hairline); }
.booking-service {
  position: relative; display: grid; gap: 0.65rem; min-height: 210px;
  padding: 1.5rem; border: 0; text-align: left; color: var(--ivory);
  background: var(--ink); cursor: pointer; transition: background 0.35s, box-shadow 0.35s;
}
.booking-service:hover { background: var(--charcoal); }
.booking-service.is-selected { background: var(--charcoal); box-shadow: inset 0 0 0 1px var(--gold); }
.booking-service__check { position: absolute; top: 1rem; right: 1rem; color: var(--gold); opacity: 0; }
.booking-service.is-selected .booking-service__check { opacity: 1; }
.booking-service em { color: var(--gold); font: italic 1rem var(--serif); }
.booking-service h4 { font: 400 1.45rem var(--serif); }
.booking-service p { color: var(--ivory-dim); font: 300 0.92rem/1.5 var(--sans); }
.booking-service small { color: var(--ivory-faint); margin-top: auto; text-transform: uppercase; letter-spacing: 0.12em; }
.hours-card {
  margin-top: 1px; padding: 1.4rem; background: var(--ink);
  display: grid; gap: 1.2rem; align-items: center;
}
.hours-control { display: grid; grid-template-columns: 44px 1fr 44px; gap: 0.75rem; align-items: center; }
.hours-control button, .calendar-head button {
  width: 44px; height: 44px; border: 1px solid var(--hairline); background: transparent;
  color: var(--ivory); cursor: pointer; font-size: 1.25rem;
}
.hours-control button:hover, .calendar-head button:hover { border-color: var(--gold); color: var(--gold); }
.hours-control input { width: 100%; accent-color: var(--gold); }
.hours-total { color: var(--ivory-dim); }
.hours-total strong { display: block; color: var(--gold); font: 400 2rem var(--serif); }
.booking-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; gap: 1rem; }
.booking-actions .btn-line { background: none; border: 0; border-bottom: 1px solid var(--gold); color: var(--ivory); cursor: pointer; }
.calendar-card { max-width: 760px; margin-inline: auto; background: var(--ink); border: 1px solid var(--hairline); padding: clamp(1rem, 3vw, 2rem); }
.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.calendar-head h4 { font: 400 clamp(1.3rem, 3vw, 2rem) var(--serif); }
.calendar-week, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.25rem; }
.calendar-week { color: var(--ivory-faint); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; margin-bottom: 0.5rem; }
.calendar-day {
  aspect-ratio: 1; min-width: 0; border: 1px solid transparent; background: transparent;
  color: var(--ivory); cursor: pointer; font: 300 clamp(0.75rem, 2vw, 0.95rem) var(--sans);
}
.calendar-day:hover:not(:disabled) { border-color: var(--gold); }
.calendar-day.is-selected { background: var(--gold); color: var(--ink); font-weight: 600; }
.calendar-day:disabled { color: rgba(236,229,216,0.18); cursor: not-allowed; text-decoration: line-through; }
.calendar-day.is-empty { visibility: hidden; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; margin-top: 1.2rem; color: var(--ivory-faint); font-size: 0.75rem; }
.calendar-legend span { display: flex; align-items: center; gap: 0.4rem; }
.calendar-legend i { width: 8px; height: 8px; border: 1px solid var(--hairline); }
.calendar-legend .is-available { border-color: var(--ivory-dim); }
.calendar-legend .is-selected { background: var(--gold); border-color: var(--gold); }
.calendar-legend .is-unavailable { opacity: 0.25; }
.checkout-grid { display: grid; gap: var(--space-2); align-items: start; }
.checkout-form { min-width: 0; }
.payment-plans { border: 0; display: grid; gap: 0.65rem; margin-bottom: 2rem; }
.payment-plans legend { margin-bottom: 0.85rem; font: 400 1.25rem var(--serif); }
.payment-plan {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.8rem; align-items: center;
  border: 1px solid var(--hairline); padding: 1rem; cursor: pointer; background: var(--ink);
}
.payment-plan:has(input:checked) { border-color: var(--gold); background: var(--gold-faint); }
.payment-plan input { accent-color: var(--gold); }
.payment-plan span { display: grid; }
.payment-plan strong { font-weight: 400; }
.payment-plan small { color: var(--ivory-dim); line-height: 1.4; }
.payment-plan em { color: var(--gold); font-style: normal; white-space: nowrap; }
.checkout-fields { display: grid; grid-template-columns: 1fr; gap: 1.3rem; }
.checkout-safe { color: var(--ivory-faint); font-size: 0.78rem; margin: 0.5rem 0 1.2rem; }
.booking-summary { position: sticky; top: 7rem; padding: 1.5rem; background: var(--ink); border: 1px solid var(--hairline); }
.booking-summary h4 { font: 400 1.8rem var(--serif); margin: 0.5rem 0 1.5rem; }
.booking-summary dl { display: grid; }
.booking-summary dl div { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--hairline); padding: 0.8rem 0; }
.booking-summary dt { color: var(--ivory-dim); }
.booking-summary dd { text-align: right; }
.booking-summary .summary-due { color: var(--gold); font: 400 1.1rem var(--serif); }
.booking-confirmation { text-align: center; padding: var(--space-2) 1rem; max-width: 680px; margin-inline: auto; }
.booking-confirmation > p:not(.eyebrow):not(.confirmation-mark) { color: var(--ivory-dim); margin: 1rem auto 1.5rem; max-width: 50ch; }
.confirmation-mark { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 1.2rem; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 1.5rem; }
.booking-confirmation dl { margin: 1.5rem 0; border-block: 1px solid var(--hairline); }
.booking-confirmation dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem; border-bottom: 1px solid var(--hairline); }
.booking-confirmation dl div:last-child { border: 0; }
.booking-confirmation dt { color: var(--ivory-dim); }

/* ---------- discreet owner area ---------- */
.site-footer__end { display: flex; align-items: center; gap: 0.7rem; justify-self: end; }
.owner-access { border: 0; background: none; color: rgba(236,229,216,0.16); font: 300 0.58rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; padding: 0.4rem; }
.owner-access:hover, .owner-access:focus-visible { color: var(--gold); }
.owner-dialog {
  width: min(1100px, calc(100% - 2rem)); max-height: calc(100svh - 2rem);
  padding: clamp(1.4rem, 4vw, 3rem); border: 1px solid var(--gold-faint);
  background: var(--ink-2); color: var(--ivory); overflow-y: auto;
}
.owner-dialog::backdrop { background: rgba(5,4,3,0.86); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; top: 0.7rem; right: 0.8rem; border: 0; background: none; color: var(--ivory-dim); font-size: 1.8rem; cursor: pointer; }
.owner-gate { max-width: 430px; margin: 2rem auto; }
.owner-gate > p { color: var(--ivory-dim); margin: 0.8rem 0 1.5rem; }
.owner-gate form { display: grid; gap: 1rem; }
.dashboard-head { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.dashboard-head .btn-line { margin: 0; background: none; cursor: pointer; }
.dashboard-stats { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--hairline); margin: 1.5rem 0; }
.dashboard-stats article { background: var(--ink); padding: 1.2rem; display: grid; gap: 0.35rem; }
.dashboard-stats span { color: var(--ivory-dim); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.15em; }
.dashboard-stats strong { color: var(--gold); font: 400 1.8rem var(--serif); }
.dashboard-tools { display: flex; justify-content: flex-end; align-items: center; gap: 0.7rem; margin-bottom: 1rem; font-size: var(--fs-small); color: var(--ivory-dim); }
.dashboard-tools select { background: var(--ink); color: var(--ivory); border: 1px solid var(--hairline); padding: 0.6rem; }
.dashboard-list { display: grid; gap: 0.7rem; }
.agenda-empty { border: 1px dashed var(--hairline); padding: 2rem; color: var(--ivory-dim); text-align: center; }
.agenda-item { border: 1px solid var(--hairline); background: var(--ink); padding: 1rem; display: grid; gap: 1rem; }
.agenda-item__date { color: var(--gold); font: 400 1.25rem var(--serif); }
.agenda-item__main h3 { font: 400 1.25rem var(--serif); }
.agenda-item__main p, .agenda-item__money p { color: var(--ivory-dim); font-size: 0.85rem; }
.agenda-item__money strong { color: var(--gold); }
.agenda-item__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.agenda-item__actions button { border: 1px solid var(--hairline); background: transparent; color: var(--ivory-dim); padding: 0.55rem 0.7rem; cursor: pointer; font: 400 0.7rem var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }
.agenda-item__actions button:hover { border-color: var(--gold); color: var(--gold); }

@media (min-width: 620px) {
  .booking-services { grid-template-columns: repeat(2, 1fr); }
  .hours-card { grid-template-columns: 1fr minmax(240px, 1.2fr) auto; }
  .checkout-fields { grid-template-columns: repeat(2, 1fr); }
  .checkout-fields .field--wide { grid-column: 1 / -1; }
  .dashboard-stats { grid-template-columns: repeat(3, 1fr); }
  .agenda-item { grid-template-columns: 130px minmax(220px, 1fr) auto; align-items: center; }
  .agenda-item__actions { grid-column: 2 / -1; }
}
@media (min-width: 960px) {
  .booking-services { grid-template-columns: repeat(3, 1fr); }
  .checkout-grid { grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr); }
}
@media (max-width: 767px) {
  .grain { animation: none; opacity: 0.025; transform: none; }
  .contact-booking-cta { align-items: flex-start; }
  .booking-modal { width: 100%; height: 100svh; max-height: 100svh; border: 0; }
  .booking { padding-top: 1.2rem; }
  .booking-modal__close { margin: 0; }
  .site-footer__end { justify-content: space-between; justify-self: stretch; }
  .payment-plan { grid-template-columns: auto 1fr; }
  .payment-plan em { grid-column: 2; }
  .owner-dialog { width: 100%; max-height: 100svh; }
}
