/* =========================================================================
   CARRIDA — Premium Car Wash
   Production stylesheet. Design system ported 1:1 from the Claude Design
   source of truth (design-source/), converted from inline styles.
   ========================================================================= */

/* ----- Design tokens ----------------------------------------------------- */
:root {
  --bg:          #060606;
  --bg-2:        #0A0A0A;
  --panel:       #0C0C0C;
  --panel-2:     #090909;

  --text:        #EDE9E3;
  --text-bright: #F2EFEA;
  --text-soft:   #C9C4BD;
  --muted:       #A9A39B;
  --muted-2:     #8F8A83;

  --gold:        #C6A96B;
  --gold-light:  #E6D2A8;

  --line:        rgba(255,255,255,.06);
  --line-2:      rgba(255,255,255,.08);
  --line-3:      rgba(255,255,255,.10);
  --gold-line:   rgba(198,169,107,.28);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  --mono:  'SF Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --ease:  cubic-bezier(.22,.61,.36,1);

  --pad-x: clamp(20px, 5vw, 72px);
  --maxw:  1320px;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #0A0A0A; }

a { color: var(--text); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--gold); }

img, video { display: block; max-width: 100%; }

h1, h2, h3 { font-weight: 300; }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.shell { position: relative; width: 100%; overflow-x: hidden; background: var(--bg); }

/* Visually-hidden but accessible */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: #0A0A0A; padding: 10px 18px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; color: #0A0A0A; }

/* Shared placeholder "weave" — the elegant striped stand-in used wherever
   real footage/photography has not been dropped in yet. */
.weave { background: repeating-linear-gradient(112deg, #111 0 3px, #0B0B0B 3px 9px); }
.weave--hero { background: repeating-linear-gradient(115deg, #0C0C0C 0 3px, #090909 3px 9px); }
.weave--loc  { background: repeating-linear-gradient(105deg, #0E0E0E 0 3px, #090909 3px 10px); }

/* Small uppercase editorial label */
.eyebrow {
  font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); font-weight: 400;
}
.mono-note {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(169,163,155,.68);
}
/* Accent words: strict & minimal — upright serif in gold, not swash italic */
em { font-style: normal; color: var(--gold-light); }

/* =========================================================================
   Keyframes
   ========================================================================= */
@keyframes ca-veil   { from { opacity: 1; } to { opacity: 0; } }
@keyframes ca-glow   { from { opacity: 0; transform: scale(1.15); } to { opacity: 1; transform: scale(1); } }
@keyframes ca-emerge { from { opacity: 0; transform: scale(1.06); } to { opacity: .95; transform: scale(1); } }
@keyframes ca-rise   { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ca-sheen  { 0% { transform: translateX(-100%); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }
@keyframes ca-intro-mark { 0% { opacity: 0; transform: translateY(14px) scale(.98); letter-spacing: .5em; } 100% { opacity: 1; transform: translateY(0) scale(1); letter-spacing: .28em; } }
@keyframes ca-intro-sweep { 0% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* =========================================================================
   Cinematic intro overlay (short, ~2.6s, skippable)
   ========================================================================= */
.intro {
  position: fixed; inset: 0; z-index: 100;
  background: #050505;
  display: grid; place-items: center;
  overflow: hidden;
  cursor: pointer;
}
.intro__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 45% at 50% 42%, rgba(198,169,107,.16), transparent 60%),
    radial-gradient(90% 70% at 50% 120%, rgba(255,255,255,.04), transparent 60%);
  opacity: 0; animation: ca-glow 1.6s var(--ease) .1s forwards;
}
.intro__sweep {
  position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(230,210,168,.85), transparent);
  transform: translateX(-120%);
  animation: ca-intro-sweep 2.2s var(--ease) .2s forwards;
}
.intro__mark {
  position: relative; text-align: center;
  opacity: 0; animation: ca-intro-mark 1.5s var(--ease) .55s forwards;
}
.intro__logo { width: clamp(160px, 30vw, 300px); height: auto; margin: 0 auto; }
.intro__word {
  margin-top: 18px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .34em;
  text-transform: uppercase; color: rgba(198,169,107,.75);
}
.intro.is-leaving { animation: ca-veil .9s var(--ease) forwards; pointer-events: none; }

/* Legacy veil (kept subtle; harmless if intro is used) */
.veil {
  position: fixed; inset: 0; background: #050505; z-index: 60;
  pointer-events: none; opacity: 0;
}

/* When the intro has finished, stagger the first-view elements in. */
.stagger { opacity: 0; }
.play-intro-done .stagger { opacity: 1; }
.play-intro-done .stagger--header { animation: ca-rise 1s var(--ease) .05s backwards; }
.play-intro-done .stagger--kicker { animation: ca-rise 1.3s var(--ease) .1s backwards; }
.play-intro-done .stagger--title  { animation: ca-rise 1.3s var(--ease) .28s backwards; }
.play-intro-done .stagger--sub    { animation: ca-rise 1.3s var(--ease) .46s backwards; }
.play-intro-done .stagger--meta   { animation: ca-rise 1.2s var(--ease) .62s backwards; }

/* =========================================================================
   Header / navigation
   ========================================================================= */
.header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--pad-x);
  background: rgba(6,6,6,.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(198,169,107,.14);
  transition: padding .4s var(--ease), background .4s var(--ease);
}
.header.is-condensed { padding-top: 12px; padding-bottom: 12px; background: rgba(6,6,6,.9); }
.header__sheen {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  overflow: hidden; pointer-events: none;
}
.header__sheen span {
  display: block; width: 42%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(230,210,168,.95), transparent);
  animation: ca-sheen 9s cubic-bezier(.5,0,.5,1) 1.4s infinite;
}
.header__logo { display: block; flex: none; }
.header__logo img { width: 126px; height: auto; transition: width .4s var(--ease); }
.header.is-condensed .header__logo img { width: 104px; }

.nav {
  display: none; gap: clamp(20px, 3vw, 44px);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 300; color: var(--muted);
}
.nav a { position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="true"]::after { width: 100%; }

.btn-outline {
  flex: none; padding: 13px 24px;
  border: 1px solid rgba(198,169,107,.5); color: var(--gold-light);
  font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; font-weight: 400;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn-outline:hover { background: var(--gold); border-color: var(--gold); color: #0A0A0A; }

/* Right-side header cluster: language switch + Book */
.header__actions { display: flex; align-items: center; gap: clamp(12px, 2vw, 22px); flex: none; }
.lang { display: flex; align-items: center; gap: 9px; }
.lang__btn {
  background: none; border: 0; padding: 4px 1px; cursor: pointer; font-family: var(--sans);
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400;
  color: var(--muted); transition: color .3s var(--ease);
}
.lang__btn:hover { color: var(--gold-light); }
.lang__btn.is-active { color: var(--gold); }
.lang__sep { width: 1px; height: 11px; background: rgba(198,169,107,.32); }

/* Language-swap fade */
[data-i18n] { transition: opacity .25s var(--ease); }
body.is-lang-anim [data-i18n] { opacity: 0; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative; min-height: min(92vh, 900px);
  display: grid; grid-template-rows: 1fr auto;
  overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.05);
}
.hero__media, .hero__weave, .hero__glow, .hero__scrim {
  position: absolute; inset: 0;
}
.hero__weave { animation: ca-emerge 2s var(--ease) .2s backwards; }
.hero__glow {
  background:
    radial-gradient(120% 80% at 72% 18%, rgba(198,169,107,.16), transparent 55%),
    radial-gradient(90% 70% at 20% 110%, rgba(255,255,255,.05), transparent 60%);
  animation: ca-glow 2.2s var(--ease) .1s backwards;
}
.hero__scrim {
  background: linear-gradient(to bottom, rgba(6,6,6,.55) 0%, rgba(6,6,6,.15) 45%, rgba(6,6,6,.92) 100%);
}
.hero__media { object-fit: cover; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__media.is-ready { opacity: 1; }
/* Vertical (9:16) hero footage is not stretched — it sits centred as a
   cinematic panel with the weave/darkness as negative space around it. */
.hero[data-hero-ratio="9-16"] .hero__media {
  object-fit: contain; width: auto; height: 100%; left: 50%; transform: translateX(-50%);
}

.hero__tag {
  position: absolute; left: var(--pad-x); top: clamp(96px, 16vh, 170px);
  max-width: min(260px, 42vw);
  font-family: var(--mono); font-size: 10px; letter-spacing: .28em;
  color: rgba(237,233,227,.4); text-transform: uppercase; line-height: 2.1;
}
.hero__center {
  position: relative; z-index: 2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: clamp(48px, 9vh, 110px) var(--pad-x) 0;
}
.hero__kicker {
  margin: 0 0 clamp(26px, 4vh, 48px);
  font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase;
  color: rgba(198,169,107,.85); font-weight: 400;
}
.hero h1 {
  margin: 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(38px, 7vw, 92px); line-height: 1.02; letter-spacing: .005em;
  color: var(--text-bright); text-wrap: balance;
}
.hero__sub {
  margin: 26px 0 0; max-width: 44ch;
  font-size: clamp(13px, 1.3vw, 15px); font-weight: 300; line-height: 1.85; color: var(--muted);
}
.hero__meta {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: clamp(28px, 6vh, 64px) var(--pad-x) clamp(24px, 4vh, 40px);
  font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(169,163,155,.75); font-weight: 300;
}
.hero__scroll { display: flex; align-items: center; gap: 12px; }
.hero__scroll-line {
  display: block; width: clamp(36px, 8vw, 86px); height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}

/* Hero logo centrepiece + its reveal (fade/scale · gold halo · metallic sheen) */
.hero__logo { position: relative; display: inline-block; margin: 0 0 clamp(24px, 4vh, 44px); }
.hero__logo img { position: relative; z-index: 1; display: block; width: clamp(220px, 34vw, 460px); height: auto; }
.play-intro-done .hero__logo img { animation: ca-logo 1.5s var(--ease) .1s backwards; }
.hero__logo-glow {
  position: absolute; inset: -45% -25%; z-index: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(50% 50% at 50% 50%, rgba(198,169,107,.22), transparent 70%);
}
.play-intro-done .hero__logo-glow { animation: ca-logo-glow 2.6s var(--ease) .1s backwards; }
.hero__logo-sheen {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.55) 50%, transparent 62%);
  background-size: 240% 100%; background-position: 190% 0;
  -webkit-mask: url(../brand/logo.png) center/contain no-repeat;
          mask: url(../brand/logo.png) center/contain no-repeat;
}
.play-intro-done .hero__logo-sheen { animation: ca-logo-sheen 2.4s cubic-bezier(.5,0,.4,1) 1.15s 1 both; }
@keyframes ca-logo { from { opacity: 0; transform: scale(1.08) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes ca-logo-glow { 0% { opacity: 0; transform: scale(.82); } 60% { opacity: .85; } 100% { opacity: .5; transform: scale(1); } }
@keyframes ca-logo-sheen { from { background-position: 190% 0; } to { background-position: -90% 0; } }

/* =========================================================================
   Generic section rhythm + reveal
   ========================================================================= */
.section { padding: clamp(64px, 12vh, 140px) var(--pad-x); }
.section--statement { padding: clamp(96px, 18vh, 220px) var(--pad-x); }
.section--tall { padding: clamp(96px, 18vh, 200px) var(--pad-x); }
.section--bordered { border-top: 1px solid var(--line); }
.wrap { max-width: var(--maxw); margin: 0 auto; }

/* Offset anchor targets so the sticky header never covers a heading */
section[id] { scroll-margin-top: 96px; }

.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Brand statement */
.statement__grid { display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: minmax(0,1fr); }
.statement h2 {
  margin: 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(34px, 6.6vw, 104px); line-height: 1.06; color: var(--text-bright); text-wrap: balance;
}
.statement__cols {
  display: grid; gap: clamp(24px, 4vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 900px; margin-left: auto;
}
.statement__cols p { margin: 0; font-size: clamp(14px, 1.4vw, 16px); font-weight: 300; line-height: 1.9; color: var(--muted); }

/* =========================================================================
   Services
   ========================================================================= */
.services__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; margin-bottom: clamp(40px, 7vh, 88px);
}
.services__head h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.1; color: var(--text-bright); }
.link-underline {
  font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); border-bottom: 1px solid rgba(198,169,107,.4); padding-bottom: 5px;
}
.services__grid { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: minmax(0,1fr); }

.service {
  display: grid; grid-template-columns: 56px minmax(0,1fr); gap: clamp(12px, 3vw, 40px);
  align-items: baseline; padding: clamp(22px, 3vw, 34px) 0;
  border-top: 1px solid var(--line-2);
  transition: padding-left .4s var(--ease);
  cursor: default;
}
.service:last-of-type { border-bottom: 1px solid var(--line-2); }
.service:hover, .service.is-active { padding-left: 14px; }
.service__num { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--gold); }
.service__body { display: grid; gap: 10px; }
.service h3 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3.6vw, 48px); line-height: 1.15; color: var(--text-bright); }
.service p { margin: 0; max-width: 52ch; font-size: 14px; font-weight: 300; line-height: 1.8; color: var(--muted-2); }
.services__note { margin: 26px 0 0; }

/* Sticky media panel that reacts to the hovered service */
.services__panel { display: none; }
.panel {
  position: sticky; top: 130px; aspect-ratio: 9 / 16;
  border: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: flex-end; padding: 26px;
  overflow: hidden; transition: background .5s ease;
}
.panel__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.panel__media.is-ready { opacity: 1; }
.panel__label {
  position: relative; z-index: 1;
  font-family: var(--mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(237,233,227,.42); line-height: 2; white-space: pre-line;
  transition: color .4s ease;
}
.panel__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,6,6,.7), transparent 55%); opacity: 0; transition: opacity .5s ease; }
.panel.has-media .panel__scrim { opacity: 1; }
.panel.has-media .panel__label { color: rgba(237,233,227,.75); }

/* =========================================================================
   Experience
   ========================================================================= */
.experience { background: linear-gradient(to bottom, var(--bg), var(--bg-2) 60%, var(--bg)); }
.experience__grid { display: grid; gap: clamp(48px, 8vw, 110px); grid-template-columns: minmax(0,1fr); align-items: start; }
.experience h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 6.2vw, 96px); line-height: 1.05; color: var(--text-bright); }
.principles { display: grid; gap: clamp(28px, 4vw, 48px); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.principle { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--gold-line); }
.principle h3 { margin: 0; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 400; color: var(--gold-light); }
.principle p { margin: 0; font-size: 14px; font-weight: 300; line-height: 1.85; color: var(--muted-2); }

/* =========================================================================
   Location / experience-of-visit
   ========================================================================= */
.location__stage {
  position: relative; min-height: min(78vh, 720px);
  display: flex; align-items: flex-end; overflow: hidden;
}
.location__bg { position: absolute; inset: -6% -3%; will-change: transform; }
.location__bg img, .location__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--ease); }
.location__bg .is-ready { opacity: 1; }
.location__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,6,6,.96) 5%, rgba(6,6,6,.35) 60%, rgba(6,6,6,.7) 100%); }
.location__tag {
  position: absolute; top: clamp(28px, 6vw, 64px); left: var(--pad-x);
  font-family: var(--mono); font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(237,233,227,.3); line-height: 2;
}
.location__inner {
  position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(48px, 9vh, 96px) var(--pad-x);
  display: grid; gap: clamp(32px, 6vw, 80px); grid-template-columns: minmax(0,1fr);
}
.location h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 5.6vw, 84px); line-height: 1.06; color: var(--text-bright); }
.location__facts { display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); align-self: end; }
.fact { display: grid; gap: 8px; }
.fact__k { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.fact__v { font-size: 14px; font-weight: 300; line-height: 1.7; color: var(--text-soft); }
.fact__v--mono { font-family: var(--mono); font-size: 12px; color: rgba(169,163,155,.7); line-height: 1.8; }

.steps {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(56px, 10vh, 110px) var(--pad-x) clamp(72px, 12vh, 140px);
  display: grid; gap: clamp(28px, 4vw, 44px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}
.step { display: grid; gap: 14px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line-3); }
.step__n { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--gold); }
.step__t { font-size: 14px; font-weight: 300; line-height: 1.8; color: var(--muted); }

/* =========================================================================
   Gallery — luxury automotive editorial, 9:16 first
   ========================================================================= */
.gallery__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; margin-bottom: clamp(32px, 6vh, 72px);
}
.gallery__head h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.1; color: var(--text-bright); }

.gallery__grid {
  display: grid; gap: clamp(12px, 1.6vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  align-items: start;
}
.gallery__wide {
  display: grid; gap: clamp(12px, 1.6vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  margin-top: clamp(12px, 1.6vw, 24px);
}

.frame {
  position: relative; margin: 0; overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
}
.frame--v { aspect-ratio: 9 / 16; }
.frame--h { aspect-ratio: 16 / 9; }
/* Editorial variation: nudge alternating vertical frames for asymmetry */
.gallery__grid .frame--v:nth-child(4) { transform: translateY(clamp(0px, 2vw, 22px)); }

.frame__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.frame__media.is-ready { opacity: 1; }
.frame:hover .frame__media.is-ready { transform: scale(1.04); }
.frame figcaption {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(237,233,227,.42);
}
.frame--h figcaption { left: 20px; bottom: 18px; }
.frame__cue {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
  background: rgba(6,6,6,.55); color: var(--gold-light);
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  opacity: 0; transition: opacity .35s ease;
}
.frame:hover .frame__cue { opacity: 1; }
.frame.has-media .frame__cue { background: rgba(6,6,6,.28); }

/* =========================================================================
   Book / final CTA
   ========================================================================= */
.book { position: relative; padding: clamp(110px, 22vh, 260px) var(--pad-x); text-align: center; overflow: hidden; }
.book__glow { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 12%, rgba(198,169,107,.13), transparent 60%); }
.book__inner { position: relative; max-width: 900px; margin: 0 auto; display: grid; gap: clamp(28px, 5vh, 52px); justify-items: center; }
.book h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 6.4vw, 96px); line-height: 1.05; color: var(--text-bright); text-wrap: balance; }
.book__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn-gold {
  padding: 17px 40px; background: var(--gold); color: #0A0A0A;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500;
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.btn-gold:hover { background: var(--gold-light); color: #0A0A0A; transform: translateY(-2px); }
.btn-ghost {
  padding: 17px 40px; border: 1px solid rgba(237,233,227,.22); color: var(--text);
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 400;
  transition: border-color .35s var(--ease), color .35s var(--ease);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

/* Book lead + contact block */
.book__lead {
  margin: 0; max-width: 46ch; font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 300; line-height: 1.85; color: var(--muted);
}
.contact {
  width: 100%; max-width: 860px; margin: clamp(20px, 4vh, 40px) auto 0;
  padding-top: clamp(28px, 4vh, 44px); border-top: 1px solid var(--line);
  display: grid; gap: clamp(22px, 3vw, 40px);
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  text-align: center;
}
.contact__item { display: grid; gap: 9px; justify-items: center; }
.contact__k { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(198,169,107,.85); }
.contact__v { font-size: 14px; font-weight: 300; color: var(--text-soft); }
a.contact__v { transition: color .3s var(--ease); }
a.contact__v:hover { color: var(--gold); }

/* =========================================================================
   Booking modal
   ========================================================================= */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: clamp(16px, 4vw, 40px); }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0; background: rgba(4,4,4,.82);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__dialog {
  position: relative; width: min(560px, 100%); max-height: 92vh; overflow: auto;
  background-color: #0A0A0A;
  background-image: linear-gradient(180deg, #0C0C0C, #080808);
  border: 1px solid rgba(198,169,107,.18);
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
  padding: clamp(30px, 5vw, 54px);
  opacity: 0; transform: translateY(18px) scale(.985);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px;
  display: grid; place-items: center; background: none;
  border: 1px solid rgba(255,255,255,.12); color: var(--muted); cursor: pointer;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.modal__close:hover { color: var(--gold-light); border-color: rgba(198,169,107,.5); }
.modal__title { margin: 10px 0 0; font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 4vw, 40px); line-height: 1.12; color: var(--text-bright); }
.modal__form { margin-top: clamp(22px, 4vh, 32px); display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field__k { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.field__i {
  width: 100%; padding: 13px 14px; background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.12); color: var(--text); border-radius: 0;
  font-family: var(--sans); font-size: 14px; font-weight: 300;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field__i:focus { outline: none; border-color: rgba(198,169,107,.6); background: rgba(255,255,255,.05); }
.field__i::placeholder { color: rgba(169,163,155,.5); }
.field__i.is-invalid { border-color: #b5545f; }
select.field__i {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C6A96B' stroke-width='1.3' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
select.field__i option { background: #0C0C0C; color: var(--text); }
textarea.field__i { resize: vertical; min-height: 88px; }
.modal__submit { grid-column: 1 / -1; margin-top: 6px; justify-self: start; border: 0; cursor: pointer; }
.modal__hint { grid-column: 1 / -1; margin: 4px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: .03em; color: rgba(169,163,155,.6); line-height: 1.6; }
.modal__success { display: grid; gap: 14px; justify-items: center; text-align: center; padding: clamp(12px, 3vh, 26px) 0; }
.modal__success[hidden] { display: none; }
.modal__check { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(198,169,107,.5); color: var(--gold-light); }
.modal__success .modal__hint { max-width: 40ch; }
.modal__success-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

@media (max-width: 560px) {
  .modal__form { grid-template-columns: 1fr; }
  .modal__submit { justify-self: stretch; text-align: center; }
}

/* =========================================================================
   Footer
   ========================================================================= */
.footer { padding: clamp(96px, 18vh, 200px) var(--pad-x) clamp(40px, 6vh, 64px); border-top: 1px solid var(--line); }
.footer__grid { max-width: var(--maxw); margin: 0 auto; display: grid; gap: clamp(64px, 12vh, 130px); }
.footer__logo { width: clamp(170px, 22vw, 260px); height: auto; margin: 0 auto; opacity: .9; }
.footer__cols {
  display: grid; gap: clamp(28px, 4vw, 56px);
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  font-size: 13px; font-weight: 300; color: var(--muted-2); line-height: 2;
}
.footer__col { display: grid; gap: 10px; }
.footer__k { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(198,169,107,.85); }
.footer__bar {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(143,138,131,.6);
}

/* =========================================================================
   Custom cursor (desktop, pointer-fine only) — subtle "VIEW / EXPLORE"
   ========================================================================= */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: grid; place-items: center; position: fixed; top: 0; left: 0;
    width: 74px; height: 74px; border-radius: 50%;
    border: 1px solid rgba(198,169,107,.5); background: rgba(6,6,6,.35);
    backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
    color: var(--gold-light); font-size: 9px; letter-spacing: .24em; text-transform: uppercase;
    z-index: 90; pointer-events: none;
    transform: translate(-50%, -50%) scale(.4); opacity: 0;
    transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s ease;
    will-change: transform;
  }
  .cursor.is-active { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* =========================================================================
   Responsive — two intentional layouts (desktop >= 900px, mobile below)
   ========================================================================= */
@media (min-width: 900px) {
  .nav { display: flex; }
  .services__grid { grid-template-columns: minmax(0,1.35fr) minmax(0,.65fr); }
  .services__panel { display: block; }
  .experience__grid { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
  .location__inner { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}

/* Mobile-tuned vertical media: 9:16 frames get real presence on phones.
   Explicit width (not max-width + auto margins) so empty placeholder frames
   still stretch; justify-self gives an editorial left/right zigzag. */
@media (max-width: 640px) {
  .gallery__grid { grid-template-columns: 1fr; justify-items: stretch; }
  .gallery__grid .frame--v { width: 80vw; }
  .gallery__grid .frame--v:nth-child(even) { justify-self: end; }
  .gallery__grid .frame--v:nth-child(odd)  { justify-self: start; }
  .gallery__grid .frame--v:nth-child(2),
  .gallery__grid .frame--v:nth-child(4) { transform: none; }
}

/* =========================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001s !important; animation-delay: 0s !important;
    transition-duration: .001s !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .cursor { display: none !important; }
}
