/* ==========================================================================
   Obi's Mobile Detailing — styles.css
   Design system locked in CLAUDE.md. Near-black canvas, one champagne accent.
   Mobile-first. The "expensive" feeling comes from imagery, motion and
   restraint — never from more colour.
   ========================================================================== */

:root{
  --bg:            #0E0F11;
  --panel:         #16181B;
  --panel-2:       #1B1E22;
  --line:          rgba(244,242,237,.10);
  --line-strong:   rgba(244,242,237,.18);

  --ink:           #F4F2ED;
  --muted:         #8A8D93;

  --accent:        #C6A15B;
  --accent-soft:   rgba(198,161,91,.14);
  --accent-line:   rgba(198,161,91,.34);
  --accent-hi:     #D9B978;

  --display: "General Sans", "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gut: 22px;
  --sec-y: 104px;
  --r: 4px;

  --ease:     cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-lux: cubic-bezier(.32,.72,0,1);   /* slow settle, no bounce */
}

@media (min-width: 860px){
  :root{ --gut: 44px; --sec-y: 176px; }
}

/* ------------------------------- reset ---------------------------------- */
*,*::before,*::after{ box-sizing:border-box; }
html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:80px;
}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--body);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block; }
h1,h2,h3{ font-family:var(--display); font-weight:500; letter-spacing:-.024em; line-height:1.05; margin:0; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
a{ color:inherit; text-decoration:none; }

::selection{ background:var(--accent); color:#0E0F11; }

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

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:400;
  background:var(--accent); color:#0E0F11;
  padding:12px 18px; font-weight:600; font-size:14px;
}
.skip-link:focus{ left:12px; top:12px; }

.wrap{
  width:100%;
  max-width:var(--wrap);
  margin-inline:auto;
  padding-inline:var(--gut);
}


/* ------------------------- scroll progress ------------------------------ */
.progress{
  position:fixed;
  inset:0 0 auto 0;
  height:1.5px;
  z-index:130;
  background:transparent;
  pointer-events:none;
}
.progress span{
  display:block;
  height:100%;
  width:100%;
  transform:scaleX(0);
  transform-origin:left;
  background:linear-gradient(90deg, rgba(198,161,91,.35), var(--accent) 60%, var(--accent-hi));
  box-shadow:0 0 12px rgba(198,161,91,.45);
}

/* ------------------------------ intro ----------------------------------- */
/* Only ever visible when the head script opts in, and it removes itself on a
   timer, so a broken script can't trap the page behind a curtain. */
.intro{ display:none; }
.intro-on .intro{
  display:flex;
  position:fixed;
  inset:0;
  z-index:300;
  align-items:center;
  justify-content:center;
  background:var(--bg);
  animation:introLift .75s var(--ease-out) 1.15s forwards;
}
.intro__mark{
  display:flex;
  flex-direction:column;
  align-items:center;
  opacity:0;
  animation:introMark 1s var(--ease-out) .1s forwards;
}
.intro__name{
  font-family:var(--display);
  font-size:clamp(30px,7vw,46px);
  font-weight:600;
  letter-spacing:-.02em;
}
.intro__sub{
  font-size:clamp(9px,2.2vw,11px);
  letter-spacing:.34em;
  text-transform:uppercase;
  color:var(--muted);
  margin-top:9px;
}
.intro__rule{
  display:block;
  height:1px; width:150px;
  margin-top:22px;
  background:linear-gradient(90deg, transparent, var(--accent), transparent);
  transform:scaleX(0);
  animation:introRule .9s var(--ease-out) .45s forwards;
}
@keyframes introMark{ from{opacity:0; transform:translateY(11px);} to{opacity:1; transform:none;} }
@keyframes introRule{ from{transform:scaleX(0);} to{transform:scaleX(1);} }
@keyframes introLift{ to{ opacity:0; visibility:hidden; } }

/* the hero settles as the curtain lifts */
.intro-on .hero__body{ animation:heroSettle 1.25s var(--ease-lux) 1.35s backwards; }
@keyframes heroSettle{ from{ opacity:0; transform:translateY(26px); } to{ opacity:1; transform:none; } }

/* THE DETAIL REVEAL — paint starts flat and low-gloss, a specular sweep
   glides across, and it resolves to full gloss with the reflection sharp.
   Once per session (gated by the head script), skippable, off when reduced. */
.intro-on .hero__img{
  animation:
    kenburns 30s var(--ease) forwards,
    paintReveal 1.5s var(--ease-lux) 1.05s backwards;
}
@keyframes paintReveal{
  from{ filter:saturate(.58) contrast(.84) brightness(.93); }
  to  { filter:none; }
}
.intro-on .hero__sweep{ animation:specular 1.35s var(--ease-lux) 1.0s backwards; }
@keyframes specular{
  0%  { transform:translateX(-58%); opacity:0; }
  16% { opacity:1; }
  84% { opacity:1; }
  100%{ transform:translateX(58%); opacity:0; }
}

/* ------------------------------- kicker --------------------------------- */
.kicker{
  display:flex;
  align-items:center;
  gap:14px;
  font-size:11px;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:500;
  margin-bottom:30px;
}
.kicker__rule{
  display:block;
  width:44px; height:1px;
  background:linear-gradient(90deg, var(--accent), rgba(198,161,91,.15));
  flex:none;
}

/* -------------------------------- type ---------------------------------- */
.eyebrow .num{
  color:var(--accent);
  font-variant-numeric:tabular-nums;
  margin-right:14px;
  position:relative;
}
.eyebrow .num::after{
  content:"";
  position:absolute;
  right:-9px; top:50%;
  width:1px; height:9px;
  background:var(--line-strong);
  transform:translateY(-50%);
}

.eyebrow{
  font-size:11.5px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:500;
  margin-bottom:24px;
}

.section__title{
  font-size:clamp(34px, 7.6vw, 68px);
  max-width:15ch;
  text-wrap:balance;
}
.section__lede{
  margin-top:24px;
  color:var(--muted);
  font-size:clamp(15px, 3.6vw, 18.5px);
  max-width:52ch;
  line-height:1.74;
}
.section__head{ margin-bottom:64px; position:relative; }
/* champagne hairline that draws itself in when the block reveals */
.section__head::after{
  content:"";
  position:absolute;
  left:0; bottom:-26px;
  width:min(210px, 40%); height:1px;
  background:linear-gradient(90deg, var(--accent), transparent);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform 1.1s var(--ease-out) .18s;
}
.js .section__head.is-in::after{ transform:scaleX(1); }

/* Centred variant — must follow the base rules above: same specificity,
   so source order is what decides. */
.section__head--center{ text-align:center; }
.section__head--center .section__title,
.section__head--center .section__lede{ margin-inline:auto; }
.section__head--center .eyebrow{ justify-content:center; }
.section__head--center::after{ left:50%; transform:translateX(-50%) scaleX(0); transform-origin:center; }
.js .section__head--center.is-in::after{ transform:translateX(-50%) scaleX(1); }


/* ------------------------------ buttons --------------------------------- */
.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.6em;
  font-family:var(--body);
  font-size:14px;
  font-weight:600;
  letter-spacing:.02em;
  line-height:1;
  padding:16px 28px;
  border-radius:var(--r);
  border:1px solid transparent;
  background:transparent;
  cursor:pointer;
  overflow:hidden;
  isolation:isolate;
  transition:background .35s var(--ease), color .35s var(--ease),
             border-color .35s var(--ease), transform .35s var(--ease);
}
/* metallic sheen sweep — one pass on hover, nothing while idle */
.btn::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(105deg,
    transparent 30%,
    rgba(255,255,255,.30) 46%,
    rgba(255,255,255,.44) 50%,
    rgba(255,255,255,.30) 54%,
    transparent 70%);
  transform:translateX(-115%);
  transition:transform .95s var(--ease-out);
  pointer-events:none;
}
.btn:hover::after,
.btn:focus-visible::after{ transform:translateX(115%); }

.btn--primary{
  background:var(--accent);
  color:#0E0F11;
  border-color:var(--accent);
}
.btn--primary:hover{ background:var(--accent-hi); border-color:var(--accent-hi); }
.btn--ghost{
  color:var(--ink);
  border-color:var(--line-strong);
}
.btn--ghost:hover{ border-color:var(--accent); color:var(--accent); }
.btn--ghost::after{
  background:linear-gradient(105deg, transparent 30%, rgba(198,161,91,.20) 50%, transparent 70%);
}
.btn:active{ transform:translateY(1px); }
.btn--sm{ padding:11px 20px; font-size:13px; }
.btn--lg{ padding:19px 32px; font-size:15px; }
.btn--block{ display:flex; width:100%; }
.btn[disabled]{ opacity:.55; pointer-events:none; }

/* -------------------------------- nav ----------------------------------- */
.nav{
  position:fixed;
  inset:0 0 auto 0;
  z-index:100;
  transition:background .45s var(--ease), border-color .45s var(--ease);
  border-bottom:1px solid transparent;
}
.nav.is-stuck{
  background:rgba(14,15,17,.78);
  backdrop-filter:saturate(150%) blur(14px);
  -webkit-backdrop-filter:saturate(150%) blur(14px);
  border-bottom-color:var(--line);
}
.nav__inner{
  max-width:var(--wrap);
  margin-inline:auto;
  padding:18px var(--gut);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.wordmark{ display:flex; flex-direction:column; line-height:1.02; }
.wordmark__name{
  font-family:var(--display);
  font-size:20px;
  font-weight:600;
  letter-spacing:-.012em;
}
.wordmark__sub{
  font-size:9px;
  letter-spacing:.3em;
  text-transform:uppercase;
  color:var(--muted);
  margin-top:5px;
}
.nav__links{ display:none; align-items:center; gap:36px; }
.nav__links a:not(.btn){
  font-size:14px;
  color:var(--muted);
  position:relative;
  transition:color .3s var(--ease);
}
.nav__links a:not(.btn)::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-7px;
  height:1px; background:var(--accent);
  transform:scaleX(0); transform-origin:left;
  transition:transform .4s var(--ease);
}
.nav__links a:not(.btn):hover{ color:var(--ink); }
.nav__links a:not(.btn):hover::after{ transform:scaleX(1); }

@media (min-width:860px){ .nav__links{ display:flex; } }

/* -------------------------------- hero ---------------------------------- */
.hero{
  position:relative;
  min-height:100svh;
  display:flex;
  align-items:flex-end;
  padding-bottom:clamp(112px, 18vh, 190px);
  padding-top:140px;
  overflow:hidden;
  isolation:isolate;
}
/* parallax drifts the wrapper; Ken-Burns scales the image — kept on separate
   elements so the two transforms never fight each other */
.hero__media{
  position:absolute;
  inset:-4% 0 0 0;
  z-index:-1;
  transform:translate3d(0, var(--hero-shift, 0px), 0);
  will-change:transform;
}
.hero__img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:64% 54%;
  transform-origin:58% 52%;
  animation:kenburns 30s var(--ease) forwards;
}
@keyframes kenburns{
  from{ transform:scale(1.045); }
  to  { transform:scale(1.135); }
}
/* Deliberately light. The image is no longer darkened wholesale to make type
   readable — the copy carries its own local scrim (.hero__body::before), so
   this only blends the frame into the page and keeps the nav legible. */
.hero__sweep{
  position:absolute;
  inset:0 -45%;
  opacity:0;
  pointer-events:none;
  mix-blend-mode:screen;
  background:linear-gradient(102deg,
    transparent 36%,
    rgba(255,255,255,.06) 44%,
    rgba(246,240,228,.26) 49.5%,
    rgba(255,255,255,.06) 55%,
    transparent 63%);
}
.hero__scrim{
  position:absolute; inset:0;
  background:
    radial-gradient(140% 96% at 60% 42%, rgba(14,15,17,0) 0%, rgba(14,15,17,.10) 62%, rgba(14,15,17,.46) 100%),
    linear-gradient(to top,
      var(--bg) 0%,
      rgba(14,15,17,.66) 13%,
      rgba(14,15,17,.16) 34%,
      rgba(14,15,17,.04) 60%,
      rgba(14,15,17,.34) 100%);
}
@media (min-width:860px){
  .hero__scrim{
    background:
      radial-gradient(125% 88% at 68% 38%, rgba(14,15,17,0) 0%, rgba(14,15,17,.08) 58%, rgba(14,15,17,.44) 100%),
      linear-gradient(to top,
        var(--bg) 0%,
        rgba(14,15,17,.60) 11%,
        rgba(14,15,17,.12) 32%,
        rgba(14,15,17,.02) 62%,
        rgba(14,15,17,.34) 100%);
  }
}
.grain{
  position:absolute; inset:-50%;
  opacity:.26;
  mix-blend-mode:overlay;
  pointer-events:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='180' height='180' filter='url(%23n)' opacity='.55'/></svg>");
}

.hero__body{ position:relative; isolation:isolate; }
/* The copy's own ground — confined to the text block so the car stays bright
   everywhere else. On wide screens it hugs the left column only. */
.hero__body::before{
  content:"";
  position:absolute;
  z-index:-1;
  left:calc(-1 * var(--gut));
  right:calc(-1 * var(--gut));
  top:-54px;
  bottom:-70px;
  pointer-events:none;
  background:linear-gradient(to bottom,
    transparent 0%,
    rgba(14,15,17,.46) 12%,
    rgba(14,15,17,.62) 38%,
    rgba(14,15,17,.62) 76%,
    rgba(14,15,17,.36) 93%,
    transparent 100%);
}
@media (min-width:860px){
  .hero__body::before{
    /* anchored to the viewport edge, not the text column, so no unscrimmed
       strip is left at the far left of the frame */
    left:calc(50% - 50vw);
    right:auto;
    width:min(78vw, 1180px);
    top:-120px;
    bottom:-140px;
    /* horizontal falloff reaches zero before the box edge, and the mask fades
       the top and bottom out, so the scrim has no visible rectangle */
    background:linear-gradient(to right,
      rgba(14,15,17,.88) 0%,
      rgba(14,15,17,.84) 44%,
      rgba(14,15,17,.68) 64%,
      rgba(14,15,17,.34) 81%,
      rgba(14,15,17,.09) 93%,
      transparent 100%);
    -webkit-mask-image:linear-gradient(to bottom, transparent 0%, #000 22%, #000 74%, transparent 100%);
            mask-image:linear-gradient(to bottom, transparent 0%, #000 22%, #000 74%, transparent 100%);
  }
}
.hero__title{
  font-size:clamp(46px, 12.8vw, 128px);
  line-height:.98;
  letter-spacing:-.04em;
  max-width:12ch;
  text-wrap:balance;
}
.hero__title em{ font-style:normal; color:var(--accent); }
/* second layer of legibility, so type never relies on the scrim alone */
.hero__title{ text-shadow:0 1px 3px rgba(14,15,17,.55), 0 4px 34px rgba(14,15,17,.45); }
.hero__body .eyebrow,
.hero__sub,
.hero__marks{ text-shadow:0 1px 10px rgba(14,15,17,.72), 0 1px 2px rgba(14,15,17,.5); }
.hero__sub{
  max-width:44ch;
  color:rgba(244,242,237,.78);
  font-size:clamp(16px, 4vw, 19.5px);
  line-height:1.68;
}
.hero__meta{
  margin-top:34px;
  display:flex;
  flex-direction:column;
  gap:26px;
}
@media (min-width:1040px){
  .hero__meta{ flex-direction:row; align-items:flex-start; gap:56px; }
  .hero__meta .hero__marks{ margin-top:4px; flex-direction:column; gap:12px; }
}
.hero__cta{
  margin-top:46px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.hero__cta .btn{ flex:1 1 auto; min-width:184px; }
.hero__marks{
  display:flex;
  flex-wrap:wrap;
  gap:11px 30px;
  font-size:12.5px;
  letter-spacing:.07em;
  text-transform:uppercase;
  color:var(--muted);
}
.hero__marks li{ display:flex; align-items:center; gap:9px; }
.hero__marks li::before{
  content:"";
  width:5px; height:5px;
  background:var(--accent);
  border-radius:50%;
  flex:none;
}
@media (min-width:860px){ .hero__cta .btn{ flex:0 0 auto; } }

.hero__scroll{
  position:absolute;
  left:50%; bottom:26px;
  translate:-50% 0;
  width:1px; height:54px;
  background:linear-gradient(to bottom, transparent, var(--line-strong));
  overflow:hidden;
}
.hero__scroll span{
  position:absolute; inset:0;
  background:var(--accent);
  animation:scrollpulse 2.8s var(--ease) infinite;
}
@keyframes scrollpulse{
  0%   { transform:translateY(-100%); }
  60%,100%{ transform:translateY(100%); }
}

/* ------------------------------ sections -------------------------------- */
.section{ padding-block:var(--sec-y); position:relative; }
.section--flush{ padding-bottom:calc(var(--sec-y) * .6); }

.notice{
  margin-bottom:38px;
  padding:14px 18px;
  border:1px dashed var(--accent-line);
  background:var(--accent-soft);
  border-radius:var(--r);
  color:var(--ink);
  font-size:13.5px;
  line-height:1.6;
}
.notice strong{ color:var(--accent); font-weight:600; }
.notice code{
  font-family:ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size:12.5px;
  color:var(--accent);
}

/* ------------------------------- tiers ---------------------------------- */
.tiers{ display:grid; gap:16px; grid-template-columns:1fr; }
@media (min-width:900px){
  .tiers{ grid-template-columns:repeat(3,1fr); gap:20px; align-items:start; }
}
.tier{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:36px 30px 32px;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden;
  transition:border-color .45s var(--ease), transform .45s var(--ease), background .45s var(--ease);
}
/* hairline that races across the card top on hover */
.tier::before{
  content:"";
  position:absolute; top:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent, var(--accent), transparent);
  transform:scaleX(0);
  transition:transform .8s var(--ease-out);
}
.tier:hover::before{ transform:scaleX(1); }
.tier:hover{ border-color:var(--line-strong); background:var(--panel-2); }
.tier--featured{
  border-color:var(--accent-line);
  background:linear-gradient(180deg, rgba(198,161,91,.07), rgba(198,161,91,0) 42%), var(--panel);
}
.tier--featured::before{ transform:scaleX(1); }
@media (min-width:900px){
  .tier--featured{ transform:translateY(-16px); padding-bottom:46px; }
  .tier--featured:hover{ transform:translateY(-20px); }
}
.tier__flag{
  position:absolute;
  top:0; right:24px;
  background:var(--accent);
  color:#0E0F11;
  font-size:10px;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  padding:6px 12px 5px;
  border-radius:0 0 var(--r) var(--r);
}
.tier__name{ font-size:20px; line-height:1.3; margin-bottom:16px; max-width:20ch; }
.tier__price{
  font-family:var(--display);
  font-size:27px;
  letter-spacing:-.02em;
  margin-bottom:14px;
}
.tier__blurb{
  color:var(--muted);
  font-size:14.5px;
  line-height:1.6;
  padding-bottom:26px;
  margin-bottom:26px;
  border-bottom:1px solid var(--line);
}
.tier__list{
  display:flex; flex-direction:column; gap:12px;
  font-size:14.5px;
  color:rgba(244,242,237,.86);
  margin-bottom:28px;
}
.tier__list li{ display:flex; align-items:flex-start; gap:12px; line-height:1.5; }
.tier__list li::before{
  content:"";
  flex:none;
  width:14px; height:14px;
  margin-top:3px;
  border-radius:50%;
  border:1px solid var(--accent-line);
  background:linear-gradient(var(--accent),var(--accent)) center/5px 1px no-repeat;
}
.tier__note{
  color:var(--muted);
  font-size:13.5px;
  line-height:1.62;
  margin-bottom:26px;
}
.tier__time{
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--muted);
  margin-top:auto;
  margin-bottom:22px;
}
.tiers__foot{ margin-top:38px; color:var(--muted); font-size:14.5px; }
.tiers__foot a{
  color:var(--accent);
  border-bottom:1px solid var(--accent-line);
  padding-bottom:1px;
  transition:border-color .3s var(--ease);
}
.tiers__foot a:hover{ border-color:var(--accent); }

/* --------------------------- before / after ----------------------------- */
/* Full-bleed signature beat — the transformation is the hook, so it gets the
   whole viewport width rather than sitting inside the text column. */
.ba{ margin:0; }
.ba__frame{
  position:relative;
  overflow:hidden;
  width:100%;
  height:clamp(340px, 72vh, 760px);
  background:var(--panel);
  touch-action:pan-y;          /* let the page scroll vertically over it */
  --pos:50%;
  border-block:1px solid var(--line);
}
/* custom champagne handle cursor, pointer devices only */
@media (hover:hover) and (pointer:fine){
  .ba__frame{
    cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='16' cy='16' r='13' fill='%230E0F11' fill-opacity='.66' stroke='%23C6A15B' stroke-width='1.3'/%3E%3Cpath d='M12.4 16h7.2M14.4 13.2 11.6 16l2.8 2.8M17.6 13.2 20.4 16l-2.8 2.8' fill='none' stroke='%23C6A15B' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 16 16, ew-resize;
  }
}

.ba__img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  user-select:none;
  -webkit-user-drag:none;
}
.ba__clip{
  position:absolute; inset:0;
  width:var(--pos);
  overflow:hidden;
  will-change:width;
}
/* the clipped image must stay the size of the frame, not the clip */
.ba__clip .ba__img{ width:var(--ba-w, 100vw); max-width:none; }

.ba__line{
  position:absolute;
  top:0; bottom:0;
  left:var(--pos);
  width:2px;
  margin-left:-1px;
  background:linear-gradient(to bottom, transparent, var(--accent) 12%, var(--accent) 88%, transparent);
  pointer-events:none;
}
.ba__grip{
  position:absolute;
  top:50%; left:50%;
  translate:-50% -50%;
  width:54px; height:54px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(14,15,17,.72);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border:1px solid var(--accent-line);
  color:var(--accent);
  box-shadow:0 6px 26px rgba(0,0,0,.5);
  transition:transform .3s var(--ease), border-color .3s var(--ease);
}
.ba__frame:hover .ba__grip{ transform:translate(-50%,-50%) scale(1.07); border-color:var(--accent); }

.ba__label{
  position:absolute;
  top:clamp(18px, 4vw, 40px);
  font-family:var(--display);
  font-size:clamp(15px, 2.4vw, 26px);
  font-weight:500;
  letter-spacing:.16em;
  text-transform:uppercase;
  pointer-events:none;
  text-shadow:0 2px 22px rgba(14,15,17,.85), 0 1px 3px rgba(14,15,17,.7);
  transition:opacity .5s var(--ease-lux);
}
.ba__label--before{ left:clamp(18px, 4vw, 44px); color:rgba(244,242,237,.72); }
.ba__label--after{ right:clamp(18px, 4vw, 44px); color:var(--accent); }

/* The accessible control. Pointer dragging is handled in JS on the frame
   (a range with appearance:none hit-tests unreliably), so this input is
   pointer-transparent but still tabbable and arrow-key operable. */
.ba__range{
  position:absolute; inset:0;
  width:100%; height:100%;
  margin:0; padding:0;
  opacity:0;
  pointer-events:none;
  appearance:none;
  -webkit-appearance:none;
  background:transparent;
}
.ba__frame:focus-within{ outline:2px solid var(--accent); outline-offset:3px; }

.ba__cap{
  margin-top:22px;
  font-size:13.5px;
  color:var(--muted);
  max-width:60ch;
}

/* ------------------------------ gallery --------------------------------- */
/* Tiles are laid out so every row fills completely at each breakpoint:
   2 cols -> items 1 & 6 run full width; 3 cols -> items 1, 4 & 5 span two. */
.gallery{
  margin-top:8px;
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  padding-inline:var(--gut);
  max-width:1560px;
  margin-inline:auto;
}
.gallery__item{
  margin:0;
  overflow:hidden;
  border-radius:var(--r);
  background:var(--panel);
  aspect-ratio:4/3;
  position:relative;
}
.gallery__item img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform 1.2s var(--ease), filter .7s var(--ease);
  filter:saturate(.94);
}
.gallery__item:hover img{ transform:scale(1.05); filter:saturate(1.03); }
.gallery__item::after{
  content:"";
  position:absolute; inset:0;
  box-shadow:inset 0 0 0 1px var(--line);
  border-radius:var(--r);
  pointer-events:none;
}
@media (min-width:760px){
  .gallery{
    grid-template-columns:repeat(2,1fr);
    grid-auto-rows:minmax(0, clamp(200px, 32vw, 400px));
    gap:12px;
  }
  .gallery__item{ aspect-ratio:auto; }
  .gallery__item:nth-child(1),
  .gallery__item:nth-child(6){ grid-column:span 2; }
}
@media (min-width:1100px){
  .gallery{
    grid-template-columns:repeat(3,1fr);
    grid-auto-rows:minmax(0, clamp(220px, 24vw, 400px));
  }
  .gallery__item:nth-child(6){ grid-column:auto; }
  .gallery__item:nth-child(1),
  .gallery__item:nth-child(4),
  .gallery__item:nth-child(5){ grid-column:span 2; }
}

/* ----------------------------- testimonials ----------------------------- */
.quotes{ display:grid; gap:44px; grid-template-columns:1fr; }
@media (min-width:820px){ .quotes{ grid-template-columns:repeat(3,1fr); gap:52px; } }
/* No cards — hairline rules and air. Quieter reads more expensive here. */
.quote{
  margin:0;
  display:flex;
  flex-direction:column;
  padding:34px 0 0;
  border-top:1px solid var(--line);
  position:relative;
}
.quote::after{
  content:"";
  position:absolute; top:-1px; left:0;
  width:46px; height:1px;
  background:var(--accent);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .9s var(--ease-lux) .15s;
}
.js .quote.is-in::after{ transform:scaleX(1); }
.quote::before{
  content:"\201C";
  font-family:var(--display);
  font-size:46px;
  line-height:1;
  color:var(--accent);
  opacity:.30;
  margin-bottom:2px;
}
.quote blockquote{ margin:0; flex:1; }
.quote blockquote p{
  font-size:clamp(15.5px, 1.6vw, 17px);
  line-height:1.78;
  color:rgba(244,242,237,.86);
}
.quote__who{
  margin-top:26px;
  font-family:var(--display);
  font-size:14.5px;
  color:var(--ink);
}
.quote__who::before{
  content:"";
  display:inline-block;
  width:16px; height:1px;
  background:var(--accent);
  vertical-align:middle;
  margin-right:11px;
}

/* ------------------------------- about ---------------------------------- */
.about{ display:grid; gap:48px; grid-template-columns:1fr; align-items:center; }
@media (min-width:960px){ .about{ grid-template-columns:.82fr 1fr; gap:88px; } }
.about__media{
  margin:0;
  border-radius:var(--r);
  overflow:hidden;
  position:relative;
  aspect-ratio:4/5;
}
.about__media img{ width:100%; height:100%; object-fit:cover; }
.about__media::after{
  content:"";
  position:absolute; inset:0;
  box-shadow:inset 0 0 0 1px var(--line);
  border-radius:var(--r);
}
.prose{
  margin-top:28px;
  display:flex; flex-direction:column; gap:18px;
  color:var(--muted);
  font-size:15.5px;
  line-height:1.8;
  max-width:56ch;
}
.stats{
  margin:44px 0 0;
  display:grid; grid-template-columns:1fr; gap:0;
  border-top:1px solid var(--line);
}
@media (min-width:560px){ .stats{ grid-template-columns:repeat(3,1fr); } }
.stats > div{ padding:20px 0; border-bottom:1px solid var(--line); }
@media (min-width:560px){ .stats > div{ border-bottom:none; padding-right:18px; } }
.stats dt{
  font-size:10.5px;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:9px;
}
.stats dd{ margin:0; font-family:var(--display); font-size:16px; color:var(--ink); }

/* ------------------------------- book ----------------------------------- */
.booknow{
  margin:0 auto;
  max-width:760px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:clamp(34px,5vw,54px) clamp(20px,4vw,48px);
  border:1px solid var(--accent-line);
  border-radius:var(--r);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(198,161,91,.09), transparent 68%),
    var(--bg);
}
.booknow__num{
  font-family:var(--display);
  font-size:clamp(30px, 6.4vw, 54px);
  font-weight:500;
  letter-spacing:-.02em;
  color:var(--ink);
  font-variant-numeric:tabular-nums;
  transition:color .4s var(--ease-lux);
}
.booknow__num:hover{ color:var(--accent); }
.booknow__acts{
  margin-top:30px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  width:100%;
}
.booknow__acts .btn{ flex:1 1 210px; }
@media (min-width:600px){ .booknow__acts .btn{ flex:0 0 auto; min-width:212px; } }
.booknow__fine{
  margin-top:24px;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
}

.altcontact{
  margin:40px auto 0;
  max-width:760px;
  display:flex;
  flex-direction:column;
  gap:0;
}
@media (min-width:600px){ .altcontact{ flex-direction:row; gap:0; } }
.altcontact li{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:20px 0;
  border-top:1px solid var(--line);
  text-align:center;
}
@media (min-width:600px){ .altcontact li + li{ border-left:1px solid var(--line); } }
.altcontact__k{
  font-size:10.5px;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--muted);
}
.altcontact__v{
  font-family:var(--display);
  font-size:15px;
  word-break:break-word;
  transition:color .35s var(--ease-lux);
}
.altcontact__v:hover{ color:var(--accent); }

/* the form is the secondary path now — folded away until asked for */
.formwrap{
  margin:52px auto 0;
  max-width:760px;
  border-top:1px solid var(--line);
}
.formwrap summary{
  list-style:none;
  cursor:pointer;
  padding:24px 0 0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-size:13.5px;
  color:var(--muted);
  transition:color .35s var(--ease-lux);
}
.formwrap summary::-webkit-details-marker{ display:none; }
.formwrap summary::after{
  content:"";
  width:7px; height:7px;
  border-right:1px solid currentColor;
  border-bottom:1px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  transition:transform .4s var(--ease-lux);
}
.formwrap[open] summary::after{ transform:rotate(-135deg) translateY(-2px); }
.formwrap summary:hover{ color:var(--accent); }
.formwrap__body{ padding-top:30px; }

.section--book{
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(198,161,91,.055), transparent 70%),
    var(--panel);
  border-top:1px solid var(--line);
}

.contactlist{ margin-top:48px; border-top:1px solid var(--line); }
.contactlist li{
  display:flex; align-items:baseline; justify-content:space-between;
  gap:20px; padding:16px 0;
  border-bottom:1px solid var(--line);
}
.contactlist__k{
  font-size:10.5px; letter-spacing:.2em; text-transform:uppercase;
  color:var(--muted); flex:none;
}
.contactlist__v{
  font-family:var(--display);
  font-size:15.5px;
  text-align:right;
  transition:color .3s var(--ease);
}
a.contactlist__v:hover{ color:var(--accent); }



.grid2{ display:grid; grid-template-columns:1fr; gap:0; }
@media (min-width:600px){ .grid2{ grid-template-columns:1fr 1fr; gap:18px; } }

.field{ margin-bottom:20px; display:flex; flex-direction:column; }
.field label{
  font-size:11px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--muted); margin-bottom:10px;
}
.field .hint{
  text-transform:none; letter-spacing:.02em;
  font-size:11.5px; color:rgba(138,141,147,.72);
}
.field input,
.field select,
.field textarea{
  font-family:var(--body);
  font-size:15px;
  color:var(--ink);
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:14px 15px;
  width:100%;
  transition:border-color .3s var(--ease), background .3s var(--ease);
  appearance:none;
  -webkit-appearance:none;
}
.field textarea{ resize:vertical; min-height:110px; line-height:1.6; }
.field select{
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238A8D93' stroke-width='1.6'><path d='M1 1.5 6 6.5 11 1.5'/></svg>");
  background-repeat:no-repeat;
  background-position:right 15px center;
  padding-right:40px;
  cursor:pointer;
}
.field input::placeholder,
.field textarea::placeholder{ color:rgba(138,141,147,.6); }
.field input:hover,
.field select:hover,
.field textarea:hover{ border-color:var(--line-strong); }
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline:none;
  border-color:var(--accent);
  background:var(--panel-2);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible{ outline:none; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea{ border-color:#B4593F; }
.field__err{ color:#D08163; font-size:12px; margin-top:7px; }
input[type="date"]::-webkit-calendar-picker-indicator{
  filter:invert(.62) sepia(.2);
  cursor:pointer;
}
.hp{ position:absolute; left:-9999px; opacity:0; }

.form__status{
  margin-top:16px;
  font-size:14px; line-height:1.6;
  display:none;
  padding:13px 16px;
  border-radius:var(--r);
  border:1px solid var(--line);
}
.form__status.is-visible{ display:block; }
.form__status.is-ok{
  color:var(--accent);
  border-color:var(--accent-line);
  background:var(--accent-soft);
}
.form__status.is-err{
  color:#D08163;
  border-color:rgba(180,89,63,.4);
  background:rgba(180,89,63,.09);
}
.form__fine{ margin-top:16px; font-size:12px; color:var(--muted); text-align:center; }
.btn__label{ display:inline-block; }
.btn.is-busy .btn__label{ opacity:.6; }

/* ------------------------------- footer --------------------------------- */
.footer{
  border-top:1px solid var(--line);
  padding-top:72px;
  padding-bottom:calc(34px + env(safe-area-inset-bottom));
}
.footer__inner{
  display:grid; grid-template-columns:1fr; gap:40px;
  padding-bottom:50px;
}
@media (min-width:640px){ .footer__inner{ grid-template-columns:1fr 1fr; } }
@media (min-width:1000px){ .footer__inner{ grid-template-columns:1.5fr 1fr 1fr 1fr; gap:44px; } }

.footer__tag{ margin-top:18px; color:var(--muted); font-size:14px; max-width:30ch; }
.footer__col h3{
  font-family:var(--body);
  font-size:10.5px; letter-spacing:.2em; text-transform:uppercase;
  color:var(--muted); font-weight:600; margin-bottom:18px;
}
.footer__col ul{ display:flex; flex-direction:column; gap:11px; font-size:14.5px; }
.footer__col li{ display:flex; justify-content:space-between; gap:14px; color:rgba(244,242,237,.82); }
.footer__col a{ transition:color .3s var(--ease); }
/* a placeholder that IS the list item shouldn't stretch across the column */
.footer__col a:hover{ color:var(--accent); }

.footer__base{
  border-top:1px solid var(--line);
  padding-top:26px;
  display:flex; flex-direction:column; gap:10px;
  font-size:12.5px; color:var(--muted);
}
@media (min-width:640px){
  .footer__base{ flex-direction:row; justify-content:space-between; align-items:center; }
}

/* --------------------------- mobile CTA bar ----------------------------- */
.js .mobilebar{ transform:translateY(110%); }
.mobilebar{
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:110;
  display:flex; gap:10px;
  padding:12px var(--gut) calc(12px + env(safe-area-inset-bottom));
  background:rgba(14,15,17,.86);
  backdrop-filter:saturate(150%) blur(16px);
  -webkit-backdrop-filter:saturate(150%) blur(16px);
  border-top:1px solid var(--line);
  transition:transform .5s var(--ease);
}
.mobilebar.is-visible{ transform:translateY(0); }
.mobilebar__act{
  display:flex; align-items:center; justify-content:center; gap:9px;
  flex:1 1 0;
  padding:17px 18px;
  border-radius:var(--r);
  font-size:14px; font-weight:600; letter-spacing:.02em;
  min-height:52px;              /* comfortable tap target */
}
.mobilebar__act--ghost{
  border:1px solid var(--line-strong);
  color:var(--ink);
  transition:border-color .35s var(--ease-lux), color .35s var(--ease-lux);
}
.mobilebar__act--ghost:active{ border-color:var(--accent); color:var(--accent); }
@media (min-width:860px){ .mobilebar{ display:none; } }
@media (max-width:859px){
  .footer{ padding-bottom:calc(100px + env(safe-area-inset-bottom)); }
}

/* ------------------------- ambient film grain --------------------------- */
/* One fixed layer over the whole dark canvas. Very low opacity — it should
   read as film stock, never as texture. */
body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:9;
  pointer-events:none;
  opacity:.035;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='160' height='160' filter='url(%23g)'/></svg>");
}

/* ----------------------------- reveal anim ------------------------------ */
.js .rv{
  opacity:0;
  transform:translateY(26px);
  transition:opacity 1.1s var(--ease-lux), transform 1.1s var(--ease-lux);
}
.js .rv.is-in{ opacity:1; transform:none; }
.js .rv[data-d="1"]{ transition-delay:.09s; }
.js .rv[data-d="2"]{ transition-delay:.18s; }
.js .rv[data-d="3"]{ transition-delay:.27s; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
  .js .rv{ opacity:1; transform:none; }
  .hero__img{ animation:none; transform:scale(1.02); filter:none; }
  .hero__media{ transform:none; }
  .hero__sweep{ display:none; }
  .btn::after{ display:none; }
  .intro{ display:none !important; }
  .progress span{ transition:none; }
  .quote::after{ transform:scaleX(1); }
}
