/* ==========================================================================
   Obsidian — Automotive Care Atelier
   ========================================================================== */

:root {
  /* Colour tokens */
  --ink: #0b0b0c;
  --ink-2: #131315;
  --ink-3: #1b1b1e;
  --bone: #f2efe9;
  --bone-2: #e8e3da;
  --stone: #a19c93;          /* muted text on dark (7:1 on --ink) */
  --stone-dark: #5d5953;     /* muted text on light (6.5:1 on --bone) */
  --gold: #c8a96a;
  --gold-soft: #dcc393;
  --gold-deep: #8a6d33;      /* gold text on light backgrounds */
  --line: rgba(242, 239, 233, 0.12);
  --line-dark: rgba(11, 11, 12, 0.12);
  --error: #e0685c;
  --error-light: #b3261e;

  /* Type */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1320px;
  --header-h: 76px;
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.25s;

  /* Z-index scale */
  --z-header: 40;
  --z-menu: 50;
  --z-modal: 100;
  --z-preloader: 1000;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
em { font-style: italic; }
address { font-style: normal; }
[hidden] { display: none !important; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 600;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: clamp(88px, 12vw, 168px) 0; position: relative; }
.section--light { background: var(--bone); color: var(--ink); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.section--light .eyebrow { color: var(--gold-deep); }

.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 5.6vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.h2 em, .h3 em { color: var(--gold); font-weight: 300; }
.section--light .h2 em { color: var(--gold-deep); }

.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.05;
}
.h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.1;
}

.section-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head .eyebrow { margin-bottom: 24px; }
.section-head__lede { margin-top: 24px; color: var(--stone); max-width: 560px; font-size: 1.0625rem; }
.section--light .section-head__lede { color: var(--stone-dark); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.section-head--center .section-head__lede { margin-left: auto; margin-right: auto; }
.section-head--split {
  max-width: none; display: grid; gap: 24px; align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.2fr 1fr; gap: 64px; }
  .section-head--split .section-head__lede { margin-top: 0; justify-self: end; }
}

/* ---------- Buttons ---------- */
.btn {
  --bh: 54px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh);
  padding: 0 30px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  border-radius: var(--radius);
  overflow: hidden; isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.2s var(--ease), background-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:active { transform: scale(0.97); }
.btn--sm { --bh: 42px; padding: 0 20px; font-size: 0.68rem; }
.btn--block { width: 100%; }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold::before { background: var(--bone); }

.btn--ghost { border: 1px solid rgba(242, 239, 233, 0.4); color: var(--bone); }
.btn--ghost::before { background: var(--bone); }
.btn--ghost:hover { color: var(--ink); border-color: var(--bone); }

.btn--line { border: 1px solid var(--ink); color: var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--bone); }

.btn .spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid currentColor; border-right-color: transparent;
  display: none; animation: spin 0.8s linear infinite;
}
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: var(--z-preloader);
  background: var(--ink);
  display: grid; place-items: center; align-content: center; gap: 28px;
  transition: transform 0.9s var(--ease-in-out) 0.1s, visibility 0s linear 1s;
}
.preloader__mark { display: flex; flex-direction: column; align-items: center; gap: 16px; color: var(--gold); }
.preloader__mark svg path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.2s var(--ease) forwards; }
.preloader__mark span {
  font-family: var(--serif); font-size: 1.6rem; letter-spacing: 0.5em; text-transform: uppercase; color: var(--bone);
  padding-left: 0.5em; opacity: 0; animation: fadeUp 0.9s var(--ease) 0.3s forwards;
}
.preloader__bar { width: 140px; height: 1px; background: var(--line); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--gold); transform-origin: left; animation: load 1.3s var(--ease) forwards; }
body.is-loaded .preloader { transform: translateY(-100%); visibility: hidden; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header);
  height: var(--header-h);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(11, 11, 12, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  height: 100%; max-width: 1560px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); }
.logo__text {
  display: flex; flex-direction: column; line-height: 1;
  font-family: var(--serif); font-size: 1.4rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--bone);
}
.logo__text small {
  font-family: var(--sans); font-size: 0.55rem; letter-spacing: 0.38em; color: var(--stone); margin-top: 6px;
}

.nav { display: none; }
.nav__list { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.nav__link {
  position: relative; display: inline-block; padding: 10px 0;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(242, 239, 233, 0.78);
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--bone); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__book { display: none; }

.staff-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bone);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.staff-btn:hover { border-color: var(--gold); color: var(--gold); }
.staff-btn span { display: none; }

.burger {
  width: 44px; height: 44px; position: relative; display: grid; place-items: center;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1px; background: var(--bone);
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (min-width: 560px) {
  .staff-btn span { display: inline; }
}
@media (min-width: 1100px) {
  .nav { display: block; }
  .burger { display: none; }
  .header__book { display: inline-flex; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: calc(var(--z-header) - 1);
  background: var(--ink);
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-in-out);
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu__list li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mobile-menu__list a {
  display: flex; align-items: baseline; gap: 18px; padding: 14px 0;
  font-family: var(--serif); font-size: clamp(2rem, 9vw, 3rem); font-weight: 300; line-height: 1.1;
  transform: translateY(100%); transition: transform 0.7s var(--ease), color var(--dur);
}
.mobile-menu__list a span { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gold); }
.mobile-menu__list a:hover { color: var(--gold); }
.mobile-menu.is-open .mobile-menu__list a { transform: none; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(1) a { transition-delay: 0.20s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(2) a { transition-delay: 0.24s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(3) a { transition-delay: 0.28s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(4) a { transition-delay: 0.32s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(5) a { transition-delay: 0.36s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(6) a { transition-delay: 0.40s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(7) a { transition-delay: 0.44s; }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 6px; color: var(--stone); font-size: 0.9rem; margin-top: 32px; }
.mobile-menu__foot a { min-height: 32px; display: inline-flex; align-items: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: -6% 0; z-index: -2; will-change: transform; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 35% 60%;
  transform: scale(1.12); transition: transform 2.6s var(--ease);
}
body.is-loaded .hero__media img { transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.55) 0%, rgba(11,11,12,0) 30%),
    linear-gradient(90deg, rgba(11,11,12,0.55) 0%, rgba(11,11,12,0) 60%),
    linear-gradient(0deg, rgba(11,11,12,0.95) 0%, rgba(11,11,12,0.55) 38%, rgba(11,11,12,0.05) 75%);
}
.hero__eyebrow { text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
@media (max-width: 767px) {
  .hero__media img { object-position: 30% 50%; }
  .hero__shade { background: linear-gradient(0deg, rgba(11,11,12,0.96) 0%, rgba(11,11,12,0.78) 55%, rgba(11,11,12,0.35) 100%); }
}
.hero__content { padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(72px, 12vh, 150px); }
.hero__eyebrow { margin-bottom: 28px; }
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.75rem, min(8.4vw, 10.5vh), 8.5rem); line-height: 0.95; letter-spacing: -0.02em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { color: var(--gold); }
.hero__lede { max-width: 520px; margin-top: 28px; color: rgba(242, 239, 233, 0.8); font-size: 1.0625rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

[data-hero] { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.hero__title [data-hero] { opacity: 1; transform: translateY(105%); transition: transform 1.3s var(--ease); }
body.is-loaded [data-hero] { opacity: 1; transform: none; }
body.is-loaded .hero__eyebrow { transition-delay: 0.55s; }
body.is-loaded .hero__title .line:nth-child(1) [data-hero] { transition-delay: 0.65s; }
body.is-loaded .hero__title .line:nth-child(2) [data-hero] { transition-delay: 0.78s; }
body.is-loaded .hero__lede { transition-delay: 1s; }
body.is-loaded .hero__cta { transition-delay: 1.12s; }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 40px;
  display: none; flex-direction: column; align-items: center; gap: 14px;
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--stone);
  writing-mode: vertical-rl;
}
.hero__scroll i { width: 1px; height: 64px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--gold);
  animation: scrollLine 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
@media (min-width: 768px) { .hero__scroll { display: flex; } }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 26px 0; background: var(--ink);
}
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span {
  font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 300; font-style: italic;
  color: rgba(242, 239, 233, 0.55); padding: 0 clamp(24px, 3vw, 48px); white-space: nowrap;
  display: inline-flex; align-items: center; gap: clamp(24px, 3vw, 48px);
}
.marquee__track span::after { content: ""; width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid var(--gold); margin-left: clamp(24px, 3vw, 48px); margin-right: calc(-1 * clamp(24px, 3vw, 48px)); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Approach ---------- */
.approach__grid { display: grid; gap: 48px; }
.approach__visual { display: none; }
.step { padding: 40px 0; border-top: 1px solid var(--line); }
.step__index { font-size: 0.7rem; letter-spacing: 0.24em; color: var(--gold); display: block; margin-bottom: 18px; }
.step p { color: var(--stone); margin-top: 18px; max-width: 460px; }
.step__img { margin-top: 28px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

@media (min-width: 960px) {
  .approach__grid { grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
  .approach__visual { display: block; position: sticky; top: calc(var(--header-h) + 40px); }
  .approach__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
  .approach__frame img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transform: scale(1.08);
    transition: opacity 1s var(--ease), transform 1.6s var(--ease);
  }
  .approach__frame img.is-active { opacity: 1; transform: scale(1); }
  .approach__counter {
    position: absolute; left: 24px; bottom: 20px; font-size: 0.75rem; letter-spacing: 0.24em; color: var(--bone);
    background: rgba(11, 11, 12, 0.6); padding: 8px 14px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .approach__num { color: var(--gold); }
  .step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.3; transition: opacity 0.6s var(--ease); }
  .step.is-current { opacity: 1; }
  .step__img { display: none; }
}

/* ---------- Statement ---------- */
.statement {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  overflow: hidden; isolation: isolate; padding: 120px 0;
}
.statement__media { position: absolute; inset: -10% 0; z-index: -2; will-change: transform; }
.statement__media img { width: 100%; height: 100%; object-fit: cover; }
.statement__shade { position: absolute; inset: 0; z-index: -1; background: rgba(11, 11, 12, 0.72); }
.statement__text {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.1rem, 5.2vw, 4.5rem); line-height: 1.1; max-width: 1080px; margin-bottom: 48px;
}
.statement__text em { color: var(--gold); }
.statement__text .w { display: inline-block; opacity: 0.14; transition: opacity 0.6s var(--ease); }
.statement__text .w.is-lit { opacity: 1; }

/* ---------- Services ---------- */
.services__grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }
.service { background: var(--ink); position: relative; overflow: hidden; }
.service__img { aspect-ratio: 4 / 3; overflow: hidden; }
.service__img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.35) brightness(0.85);
  transition: transform 1.2s var(--ease), filter 0.8s var(--ease);
}
.service:hover .service__img img { transform: scale(1.06); filter: grayscale(0) brightness(1); }
.service__body { padding: 32px 32px 40px; }
.service__no { font-size: 0.7rem; letter-spacing: 0.24em; color: var(--gold); }
.service__body h3 { margin: 12px 0 12px; }
.service__body p { color: var(--stone); font-size: 0.95rem; }

/* ---------- Packages ---------- */
.size-toggle {
  position: relative; display: flex; width: fit-content; max-width: 100%; margin: 0 auto 64px;
  border: 1px solid var(--line-dark); border-radius: 999px; padding: 4px;
}
.size-toggle button {
  position: relative; z-index: 1; min-height: 44px; padding: 0 clamp(14px, 3vw, 28px);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone-dark);
  border-radius: 999px; transition: color 0.4s var(--ease); white-space: nowrap;
}
.size-toggle button.is-active { color: var(--bone); }
.size-toggle__pill {
  position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--ink);
  transition: transform 0.55s var(--ease), width 0.55s var(--ease);
}

.packages__group {
  display: flex; align-items: center; gap: 24px; margin: 0 0 32px;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--stone-dark);
}
.packages__group::after { content: ""; flex: 1; height: 1px; background: var(--line-dark); }
.packages__grid { display: grid; gap: 20px; margin-bottom: 80px; }
@media (min-width: 640px) { .packages__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .packages__grid { grid-template-columns: repeat(4, 1fr); } .packages__grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) and (max-width: 1179px) { .packages__grid--3 { grid-template-columns: repeat(3, 1fr); } }

.pkg {
  position: relative; display: flex; flex-direction: column;
  padding: 36px 30px 32px;
  background: #fbfaf7; border: 1px solid var(--line-dark);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.pkg:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11, 11, 12, 0.35); border-color: rgba(11, 11, 12, 0.25); }
.pkg__tier { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.pkg__name { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.1; margin: 12px 0 20px; }
.pkg__price {
  font-family: var(--serif); font-weight: 300; font-size: 3.6rem; line-height: 1;
  display: flex; align-items: flex-start; gap: 2px; font-variant-numeric: tabular-nums;
}
.pkg__price small { font-size: 1.5rem; margin-top: 6px; }
.pkg__from { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; align-self: flex-end; margin: 0 8px 8px 0; color: var(--stone-dark); }
.pkg__price [data-price] { display: inline-block; transition: opacity 0.25s var(--ease), transform 0.35s var(--ease); }
.pkg__price [data-price].is-swapping { opacity: 0; transform: translateY(-10px); }
.pkg__time { font-size: 0.82rem; color: var(--stone-dark); margin-top: 10px; }
.pkg__list { margin: 28px 0 28px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: grid; gap: 10px; flex: 1; align-content: start; }
.pkg__list li { position: relative; padding-left: 22px; font-size: 0.92rem; line-height: 1.5; }
.pkg__list li::before {
  content: ""; position: absolute; left: 2px; top: 0.55em; width: 6px; height: 6px; transform: rotate(45deg);
  border: 1px solid var(--gold-deep);
}
.pkg__note { font-size: 0.8rem; color: var(--stone-dark); margin: -12px 0 24px; }
.pkg .btn { width: 100%; }

.pkg--featured { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.pkg--featured .pkg__tier { color: var(--gold); }
.pkg--featured .pkg__time, .pkg--featured .pkg__from, .pkg--featured .pkg__note { color: var(--stone); }
.pkg--featured .pkg__list { border-top-color: var(--line); }
.pkg--featured .pkg__list li::before { border-color: var(--gold); }
.pkg__badge {
  position: absolute; top: 0; right: 24px; transform: translateY(-50%);
  background: var(--gold); color: var(--ink); padding: 6px 12px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}

.pkg--dark { background: var(--ink-2); color: var(--bone); border-color: var(--ink-2); }
.pkg--dark .pkg__tier { color: var(--gold); }
.pkg--dark .pkg__from { color: var(--stone); }
.pkg--dark .pkg__list { border-top-color: var(--line); }
.pkg--dark .pkg__list li { color: rgba(242, 239, 233, 0.85); }
.pkg--dark .pkg__list li::before { border-color: var(--gold); }

.packages__foot { text-align: center; color: var(--stone-dark); font-size: 0.95rem; margin-top: -32px; }
.packages__foot a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Gallery ---------- */
.gallery__grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: clamp(150px, 26vw, 220px);
  grid-auto-flow: dense;
}
@media (min-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(200px, 19vw, 280px); gap: 16px; }
}
.g-item { position: relative; overflow: hidden; padding: 0; background: var(--ink-2); display: block; width: 100%; height: 100%; }
.g-item--tall { grid-row: span 2; }
.g-item--wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.8s var(--ease); filter: brightness(0.88); }
.g-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11,11,12,0.6), transparent 50%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.g-item::before {
  content: "+"; position: absolute; z-index: 2; right: 16px; bottom: 12px;
  font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--bone);
  opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.06); filter: brightness(1); }
.g-item:hover::after, .g-item:hover::before, .g-item:focus-visible::after, .g-item:focus-visible::before { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-modal);
  background: rgba(8, 8, 9, 0.96);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  padding: 72px 8px 32px;
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; height: 100%; justify-content: center; min-width: 0; }
.lightbox__figure img {
  max-width: 100%; max-height: calc(100svh - 160px); width: auto; height: auto; object-fit: contain;
  transform: scale(0.96); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}
.lightbox__figure img.is-ready { transform: none; opacity: 1; }
.lightbox__figure figcaption { font-size: 0.85rem; color: var(--stone); text-align: center; padding: 0 16px; }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: border-color var(--dur), color var(--dur); }
.lightbox__nav { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: border-color var(--dur), color var(--dur); }
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--gold); color: var(--gold); }
@media (min-width: 768px) { .lightbox { padding: 72px 32px 40px; gap: 24px; } }

/* ---------- Booking ---------- */
.book__layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .book__layout { grid-template-columns: 1.6fr 1fr; gap: 64px; } }

.book__panel { background: #fbfaf7; border: 1px solid var(--line-dark); padding: clamp(24px, 4vw, 48px); min-width: 0; }

/* Kaspio booking widget. It renders in a shadow root, so it is styled only
   through these --kb-* tokens, mapped onto the site's own. */
.kaspio-booking {
  min-height: 320px;
  scroll-margin-top: calc(var(--header-h) + 20px);
  --kb-accent: var(--gold);
  --kb-on-accent: var(--ink);
  --kb-accent-text: var(--gold-deep);     /* the pale gold is unreadable as text on bone */
  --kb-text: var(--ink);
  --kb-muted: var(--stone-dark);
  --kb-border: var(--line-dark);
  --kb-surface: #fff;
  --kb-hover: var(--bone);
  --kb-radius: var(--radius);
  --kb-button-radius: var(--radius);
  --kb-font: var(--sans);
  --kb-heading-font: var(--serif);
  --kb-heading-size: 1.6rem;
  --kb-heading-weight: 400;
  --kb-button-transform: uppercase;
  --kb-button-spacing: 0.2em;
}

.summary { display: grid; gap: 20px; }
@media (min-width: 1024px) { .summary { position: sticky; top: calc(var(--header-h) + 24px); } }
.summary__card { background: var(--ink); color: var(--bone); padding: 36px 32px; }
.summary__facts { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.summary__facts li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; color: var(--stone); }
.summary__facts strong { color: var(--bone); font-weight: 600; }
.summary__facts a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.summary__hours { border: 1px solid var(--line-dark); padding: 28px 32px; }
.summary__hours .eyebrow { margin-bottom: 12px; }
.summary__hours p:last-child { font-size: 0.95rem; }

/* Form fields (staff login) */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; min-width: 0; }
.field:last-child { margin-bottom: 0; }
.field label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
}
.field input[type="email"], .field input[type="password"] {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bone); border: 1px solid transparent; border-bottom: 1px solid rgba(11, 11, 12, 0.3);
  border-radius: 0; -webkit-appearance: none; appearance: none;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.field input:focus { outline: none; border-color: var(--gold-deep); background: #fff; }
.field input:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 1px; }

/* ---------- Finale ---------- */
.finale { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; text-align: center; padding: 120px 0; }
.finale__media { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.finale__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.finale__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(11,11,12,0.55), rgba(11,11,12,0.92)); }
.finale__inner { display: flex; flex-direction: column; align-items: center; }
.finale__inner .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.finale__title {
  font-family: var(--serif); font-weight: 300; font-size: clamp(3.2rem, 10vw, 9rem); line-height: 0.95; letter-spacing: -0.02em;
  margin: 28px 0 48px;
}
.finale__title em { color: var(--gold); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding: 88px 0 32px; scroll-margin-top: var(--header-h); }
.footer__top { display: grid; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; } }
.footer__brand p { color: var(--stone); margin-top: 20px; max-width: 320px; font-size: 0.95rem; }
.footer__h { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer__col p, .footer__col address { color: rgba(242, 239, 233, 0.82); font-size: 0.95rem; line-height: 1.9; }
.footer__col a { transition: color var(--dur); }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; font-size: 0.82rem; color: var(--stone); }
@media (min-width: 768px) { .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__links a, .linklike { min-height: 32px; display: inline-flex; align-items: center; font-size: 0.82rem; color: var(--stone); transition: color var(--dur); }
.footer__links a:hover, .linklike:hover { color: var(--bone); }

/* ---------- Staff login modal ---------- */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 16px; }
.modal__scrim { position: absolute; inset: 0; background: rgba(5, 5, 6, 0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.4s var(--ease); }
.modal__panel {
  position: relative; width: 100%; max-width: 440px; max-height: calc(100svh - 32px); overflow-y: auto;
  background: var(--ink-2); border: 1px solid var(--line);
  padding: 48px clamp(24px, 5vw, 44px) 40px;
  opacity: 0; transform: translateY(24px) scale(0.98);
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
}
.modal.is-open .modal__scrim { opacity: 1; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--stone); transition: color var(--dur); }
.modal__close:hover { color: var(--bone); }
.modal__mark { color: var(--gold); margin-bottom: 20px; }
.modal__title { font-family: var(--serif); font-weight: 300; font-size: 2.6rem; line-height: 1; margin: 14px 0 32px; }
.modal .field label { color: var(--bone); }
.modal .field input {
  background: var(--ink-3); color: var(--bone); border-bottom-color: rgba(242, 239, 233, 0.25);
}
.modal .field input:focus { background: var(--ink); border-color: var(--gold); }
.modal .field input:focus-visible { outline-color: var(--gold); }
.password { position: relative; }
.password input { padding-right: 76px; }
.password__toggle {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  min-height: 44px; padding: 0 14px; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.login__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 24px; font-size: 0.85rem; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; min-height: 44px; color: var(--stone); }
.check input { width: 18px; height: 18px; accent-color: var(--gold); }
.login__forgot { color: var(--stone); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.login__forgot:hover { color: var(--gold); }
.login__msg { font-size: 0.85rem; color: var(--error); margin-bottom: 16px; }
.login__msg:empty { display: none; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal, .no-js [data-hero], .no-js .hero__title [data-hero] { opacity: 1; transform: none; }
.no-js .preloader { display: none; }

/* ---------- Reduced motion ---------- */
@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; transition-delay: 0s !important; }
  .reveal, [data-hero], .hero__title [data-hero] { opacity: 1; transform: none; }
  .hero__media img { transform: none; }
  .marquee__track { animation: none; }
  .statement__text .w { opacity: 1; }
}
