/* Daylight by James — "Cinematic editorial" styles (design round 3).
   Dark-first, photo-led. Instrument Serif headlines, Geist text, one accent: amber.
   Motion is progressive: content is fully visible without JS or with reduced motion;
   html.motion (set by motion.js) switches on reveal start-states. */

:root {
  --bg: #0e0d0c;
  --bg-2: #161412;
  --bg-3: #1f1c19;
  --line: rgba(243, 236, 226, .14);
  --line-2: rgba(243, 236, 226, .38);   /* form borders: >= 3:1 on --bg */
  --text: #f3ece2;
  --text-2: #b3a99c;
  --text-3: #8f867b;
  --amber: #e8963a;
  --amber-hi: #ffb35c;
  --amber-glow: rgba(232, 150, 58, .35);
  --paper: #f4eee4;      /* document surfaces only (billing statement, QR card) */
  --ink: #1c1a17;
  --stone: #5f574f;
  --ok: #7cc79a;
  --bad: #ff8f7a;

  --serif: "Instrument Serif", "Geist", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1320px;
  --radius: 4px;
  --bar-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

/* Page-to-page cross-fade (browsers that support cross-document View Transitions). */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
a { color: var(--amber); text-underline-offset: 4px; text-decoration-thickness: 1px; }
::selection { background: var(--amber); color: #120c05; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; margin: 0 0 .45em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.9rem, 9vw, 7.2rem); }
h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--amber); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--text-2); margin-bottom: 1.4rem; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber-glow); }
.muted { color: var(--text-2); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-2); max-width: 46ch; }
.peso { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 99; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Film grain: one static SVG noise tile at very low opacity. */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; view-transition-name: hdr; transition: transform .5s var(--ease), background-color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-header.scrolled, body:not(.on-home) .site-header { background: rgba(14, 13, 12, .72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.site-header.away { transform: translateY(-100%); }
.site-header::before { content: ""; position: absolute; inset: 0 0 -95px; z-index: -1; pointer-events: none; background: linear-gradient(rgba(14, 13, 12, .92), rgba(14, 13, 12, 0)); transition: opacity .4s; }
.site-header.scrolled::before, body:not(.on-home) .site-header::before { opacity: 0; }
::view-transition-group(hdr) { animation: none; }
body:not(.on-home) main { padding-top: 68px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--text); }
.wordmark { font: 400 1.75rem/1 var(--serif); letter-spacing: -.01em; }
.wordmark small { font: 500 .68rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--text); margin-left: 8px; }
.brand { align-items: center; gap: 10px; }
.brand img { height: 32px; width: 32px; }
.site-footer .brand { margin-bottom: 22px; }
.site-footer .wordmark { font-size: 2.2rem; }
.site-footer .brand img { height: 44px; width: 44px; }
.nav { display: none; align-items: center; gap: 30px; }
.nav a { position: relative; color: var(--text); text-decoration: none; font-size: .92rem; letter-spacing: .01em; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: .88rem; }
.nav .btn[aria-current="page"] { background: var(--amber-hi); }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; font: 500 .82rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text); min-height: 48px; min-width: 48px; padding: 0 0 0 12px; cursor: pointer; }
.menu-btn i { display: grid; gap: 5px; width: 22px; }
.menu-btn i::before, .menu-btn i::after { content: ""; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.menu-btn[aria-expanded="true"] i::before { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: 68px 0 0; z-index: 49; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 24px var(--gutter) 120px; background: rgba(14, 13, 12, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.mobile-nav.open, .mobile-nav:target { opacity: 1; visibility: visible; }
.mobile-nav a { color: var(--text); text-decoration: none; font: 400 clamp(2.4rem, 11vw, 3.4rem)/1.15 var(--serif); transform: translateY(18px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.mobile-nav a[aria-current="page"] { color: var(--amber); font-style: italic; }
.mobile-nav.open a, .mobile-nav:target a { transform: none; opacity: 1; }
.mobile-nav.open a:nth-child(2) { transition-delay: .05s; } .mobile-nav.open a:nth-child(3) { transition-delay: .1s; }
.mobile-nav.open a:nth-child(4) { transition-delay: .15s; } .mobile-nav.open a:nth-child(5) { transition-delay: .2s; }
.mobile-nav .meta { margin-top: 28px; font-size: .9rem; color: var(--text-2); }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: rgba(14, 13, 12, .97); }
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
  .site-header .wrap { height: 76px; }
  body:not(.on-home) main { padding-top: 76px; }
}

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 500 .98rem var(--sans); letter-spacing: .01em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .4s var(--ease), box-shadow .4s, background-color .3s, color .3s, border-color .3s; }
.btn .arrow { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-amber { background: var(--amber); color: #170f06; }
.btn-amber:hover { background: var(--amber-hi); box-shadow: 0 10px 40px -8px var(--amber-glow); }
.btn-ink, .btn-light { background: var(--text); color: var(--bg); }
.btn-ink:hover, .btn-light:hover { background: #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(243, 236, 226, .02); }
.btn-ghost:hover { border-color: var(--text); background: rgba(243, 236, 226, .06); }
.btn:active { transform: scale(.97); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Phone action bar (floating glass pill) ---------- */
.action-bar { transition: transform .5s var(--ease), opacity .5s, visibility .5s; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(22, 20, 18, .8); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0, 0, 0, .45); transition: transform .5s var(--ease), opacity .5s; }
.action-bar .btn { min-height: 48px; padding: 0 12px; font-size: .95rem; }
.action-bar.hide, .float-msg.hide { transform: translateY(140%); opacity: 0; pointer-events: none; visibility: hidden; }
.float-msg { transition: transform .5s var(--ease), opacity .5s; }
.float-msg { display: none; }
.on-book .action-bar, .on-booking .action-bar, .on-booking .float-msg, .on-book .float-msg { display: none !important; }
@media (max-width: 899px) { .site-footer { padding-bottom: calc(40px + var(--bar-h)) !important; } .on-book .site-footer, .on-booking .site-footer { padding-bottom: 40px !important; } }
@media (min-width: 900px) {
  .action-bar { display: none; }
  .float-msg { display: inline-flex; position: fixed; right: 24px; bottom: 24px; z-index: 45; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); }
}

/* ---------- Reveal start-states (only while motion.js is running) ---------- */
html.motion [data-reveal] { opacity: 0; transform: translateY(36px); }
html.motion [data-reveal="fade"] { transform: none; }
html.motion [data-reveal="img"] { opacity: 1; transform: none; clip-path: inset(10% 6% 10% 6% round var(--radius)); }
html.motion [data-split] { opacity: 0; }
html.motion [data-reveal]:focus-within, html.motion [data-reveal]:focus { opacity: 1; transform: none; clip-path: none; }
[data-split] .line-mask, [data-split] [class*="-mask"] { padding-bottom: .1em; margin-bottom: -.1em; }
.f-conference-03 { object-position: 34% 50%; }
.f-portrait-05 { object-position: 50% 0%; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(120% 70% at 15% 100%, rgba(14, 13, 12, .94) 12%, rgba(14, 13, 12, 0) 62%),
  linear-gradient(180deg, rgba(14, 13, 12, .6) 0%, rgba(14, 13, 12, 0) 20%, rgba(14, 13, 12, 0) 42%, rgba(14, 13, 12, .92) 100%); }
.hero .wrap { width: 100%; padding-top: 140px; padding-bottom: clamp(28px, 6vh, 64px); }
.hero h1 { max-width: 11ch; margin-bottom: .3em; font-size: clamp(3.4rem, 10vw, 7.2rem); }
.hero .lede { color: var(--text); opacity: .88; }
.hero-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: clamp(28px, 6vh, 56px); padding-top: 18px; border-top: 1px solid var(--line); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue::after { content: ""; width: 1px; height: 28px; background: linear-gradient(var(--text), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); opacity: 0; } }
@media (max-width: 599px) { .hero-meta .hide-sm { display: none; } }
/* Phones: photo fills the top of the screen and fades into dark; text sits on the dark part. */
@media (max-width: 899px) {
  .hero { min-height: 0; }
  .hero-media { bottom: auto; height: auto; aspect-ratio: 1680 / 1365; }
  .hero::before { background: linear-gradient(180deg, rgba(14, 13, 12, .7) 0%, rgba(14, 13, 12, 0) 22%, rgba(14, 13, 12, 0) calc(81vw - 140px), var(--bg) 81vw); }
  .hero .wrap { padding-top: 76vw; }
}
/* Desktop: the photo sits right of a dark field, so the headline never lands on a face. */
@media (min-width: 900px) {
  .hero-media { left: 32%; }
  .hero-media img { object-position: 70% 50%; }
  .hero::before { background:
    linear-gradient(90deg, var(--bg) 32%, rgba(14, 13, 12, .4) 38%, rgba(14, 13, 12, 0) 48%),
    linear-gradient(180deg, rgba(14, 13, 12, .55) 0%, rgba(14, 13, 12, 0) 18%, rgba(14, 13, 12, 0) 70%, var(--bg) 100%); }
  .hero h1 { max-width: 9ch; }
  .hero .lede { max-width: 34ch; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; user-select: none; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track span { display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px); font: 400 clamp(2rem, 5vw, 3.6rem)/1.1 var(--serif); white-space: nowrap; color: var(--text); }
.marquee-track span:nth-child(even) { font-style: italic; color: var(--text-2); }
.marquee-track i { width: .36em; height: .36em; border-radius: 50%; background: var(--amber); box-shadow: 0 0 18px var(--amber-glow); flex: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 13vw, 160px) 0; }
.section-tight { padding: clamp(48px, 7vw, 80px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 6vw, 72px); }
.section-head h2 { margin: 0; }
@media (min-width: 900px) { .section-head { grid-template-columns: 1.3fr 1fr; align-items: end; } .section-head .lede { justify-self: end; margin: 0; } }
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }

/* Statement: large serif paragraph; words light up as it scrolls through */
.statement { font: 400 clamp(1.9rem, 4.8vw, 3.9rem)/1.12 var(--serif); letter-spacing: -.01em; max-width: 22ch; margin: 0; }
.statement em { color: var(--amber); }
html.motion .statement .w { opacity: .4; }

/* Work index: alternating editorial rows */
.work-list { display: grid; gap: clamp(72px, 11vw, 150px); }
.work-row { display: grid; gap: 22px; text-decoration: none; color: var(--text); }
.work-row .frame { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--bg-2); outline: 1px solid rgba(243, 236, 226, .08); outline-offset: -1px; }
.work-row .frame img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.work-row .num { font: 500 .74rem/1 var(--sans); letter-spacing: .22em; color: var(--text-3); }
.work-row h3 { font-size: clamp(2rem, 4.4vw, 3.6rem); margin: 12px 0 14px; }
.work-row p { color: var(--text-2); max-width: 38ch; }
.work-row .more { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--text); border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: border-color .3s, gap .4s var(--ease); }
.work-row:hover .more { border-color: var(--amber); gap: 16px; }
@media (min-width: 900px) {
  .work-row { grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
  .work-row .frame { aspect-ratio: 5 / 4; }
  .work-row:nth-child(even) { grid-template-columns: 5fr 7fr; }
  .work-row:nth-child(even) .frame { order: 2; }
}

/* Price list (editorial, replaces package cards) */
.price-list { border-top: 1px solid var(--line); }
.price-row { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; padding: 28px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.price-row::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.price-row:hover::before { transform: scaleX(1); }
.price-row h3 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; transition: color .3s; }
.price-row .price { grid-row: 1; grid-column: 2; font: 400 clamp(1.7rem, 3.4vw, 2.6rem)/1 var(--serif); text-align: right; white-space: nowrap; align-self: center; }
.price-row .price small { font: 400 .78rem var(--sans); color: var(--text-2); letter-spacing: .04em; }
.price-row .incl { grid-column: 1 / -1; color: var(--text-2); font-size: .95rem; margin: 0; }
.price-row ul { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 6px 0 0; }
.price-row li { font-size: .86rem; color: var(--text-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.price-row .go { grid-column: 1 / -1; display: inline-flex; gap: 10px; font-size: .92rem; color: var(--amber); margin-top: 4px; }
@media (min-width: 900px) {
  .price-row { grid-template-columns: 20rem 1fr 13rem; align-items: center; gap: 32px; padding: 36px 0; }
  .price-row .incl, .price-row ul { grid-column: 2; grid-row: 1; margin: 0; }
  .price-row .price { grid-column: 3; grid-row: 1; }
  .price-row .go { display: none; }
  .price-row:hover h3 { color: var(--amber); }
}
.fit { font: italic 400 1.05rem/1 var(--serif); color: var(--amber); letter-spacing: 0; }
.cur { font-family: var(--sans); font-weight: 300; font-size: .62em; vertical-align: .32em; margin-right: .06em; }
.tag { display: inline-flex; align-items: center; font: 500 .62rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #170f06; background: var(--amber); padding: 6px 10px; border-radius: 999px; font-style: normal; }
.notes { display: grid; gap: 1px; margin-top: clamp(40px, 6vw, 64px); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 700px) { .notes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .notes { grid-template-columns: repeat(4, 1fr); } }
.notes div { background: var(--bg); padding: 22px; font-size: .94rem; color: var(--text-2); }
.notes strong { display: block; font: 400 1.4rem/1.2 var(--serif); color: var(--text); margin-bottom: 6px; }

/* Steps (how booking works) */
.steps-grid { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 700px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.steps-grid > div { background: var(--bg); padding: 30px 24px 34px 0; }
@media (min-width: 700px) { .steps-grid > div { padding: 34px 28px; } }
.steps-grid b { display: block; font: 400 clamp(3.4rem, 7vw, 5rem)/1 var(--serif); font-style: italic; color: var(--amber); margin-bottom: 18px; }
.steps-grid strong { display: block; font: 400 1.6rem/1.2 var(--serif); margin-bottom: 8px; }
.steps-grid p { color: var(--text-2); margin: 0; font-size: .95rem; }

/* Testimonial + trust */
.quote { margin: 0; font: 400 clamp(1.7rem, 3.6vw, 2.8rem)/1.2 var(--serif); }
.quote cite { display: block; margin-top: 18px; font: 400 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); font-style: normal; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; color: var(--text-2); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 28px; }
.placeholder-note { font-size: .8rem; color: var(--bad); }

/* Closing call to action: a low sun rising behind the headline */
.cta { position: relative; overflow: hidden; text-align: center; padding: clamp(110px, 18vw, 220px) 0; isolation: isolate; border-top: 1px solid var(--line); }
.cta .sun { position: absolute; left: 50%; top: 100%; width: min(1100px, 170vw); aspect-ratio: 1; translate: -50% -36%; border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(232, 150, 58, .42), rgba(232, 150, 58, .1) 55%, transparent 72%); }
.cta h2 { font-size: clamp(2.6rem, 7.5vw, 6rem); max-width: 12ch; margin-inline: auto; }
.cta p { color: var(--text-2); margin: 0 auto 30px; max-width: 40ch; }
.cta .btn-row { justify-content: center; }

/* Page intro (inner pages) */
.page-intro { padding: clamp(64px, 11vw, 140px) 0 clamp(36px, 6vw, 72px); }
.page-intro h1 { max-width: 14ch; }

/* ---------- Gallery (category pages) ---------- */
.cat-nav { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 28px; scrollbar-width: none; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a { flex: none; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); text-decoration: none; font-size: .9rem; transition: background-color .3s, color .3s, border-color .3s; }
.cat-nav a:hover { border-color: var(--text); }
.cat-nav a[aria-current="page"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.grid { display: grid; gap: 10px; grid-template-columns: 1fr; padding: 0 var(--gutter); max-width: 1600px; margin: 0 auto; }
.grid a { position: relative; display: block; background: var(--bg-2); aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; outline: 1px solid rgba(243, 236, 226, .08); outline-offset: -1px; }
.grid a.tall { aspect-ratio: 4 / 5; }
.grid img { width: 100%; height: 100%; object-fit: cover; }
.grid a::after { content: "View"; position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; background: rgba(14, 13, 12, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--text); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.grid a:hover::after, .grid a:focus-visible::after { opacity: 1; transform: none; }
/* Tablet and up: 6-track grid. Landscape 2×1 at 3:2, portrait 2×2, "wide" closing frame 6×2; dense packing keeps the bottom edge even. */
@media (min-width: 700px) {
  .grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; grid-auto-flow: dense; gap: 12px; }
  .grid a { grid-column: span 2; aspect-ratio: 3 / 2; }
  .grid a.tall { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .grid a.wide { grid-column: 1 / -1; grid-row: span 2; aspect-ratio: auto; }
  .grid a img { position: absolute; inset: 0; } /* rows are set by the 3:2 tiles, never stretched by a tall photo */
}

/* Lightbox (hand-written fallback; PhotoSwipe styles live in vendor/photoswipe.css) */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(8, 7, 6, .96); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 94vw; max-height: 84vh; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(243, 236, 226, .06); border: 1px solid var(--line); border-radius: 999px; color: var(--text); font: 500 .9rem var(--sans); min-width: 48px; min-height: 48px; cursor: pointer; }
.lb-close { top: 14px; right: 14px; padding: 0 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); font-size: 1.4rem !important; }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); font-size: 1.4rem !important; }
.lb-count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: var(--text-2); font-size: .82rem; letter-spacing: .18em; }
.pswp { --pswp-bg: #080706; --pswp-placeholder-bg: #161412; }

/* ---------- Forms (booking) ---------- */
.steps { display: flex; gap: 6px; margin: 0 0 32px; }
.steps span { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; position: relative; }
.steps span::after { content: ""; position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.steps span.on::after { transform: scaleX(1); }
.step { display: none; }
.step.active { display: block; animation: step-in .55s var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(14px); } }
.step h2 { font-size: clamp(2.4rem, 6vw, 3.4rem); margin-bottom: .2em; }
.step h2:focus { outline: none; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.tiles.three { grid-template-columns: repeat(3, 1fr); }
.tiles.three .tile label { min-height: 70px; padding: 12px; font-size: .95rem; }
.field-label { font-weight: 500; margin: 20px 0 8px; }
.form-error { background: rgba(255, 143, 122, .1); border: 1px solid rgba(255, 143, 122, .45); color: var(--bad); border-radius: 10px; padding: 12px 14px; font-weight: 500; }
.tile { position: relative; display: flex; }
.tile input { position: absolute; opacity: 0; }
.tile label { flex: 1; display: flex; flex-direction: column; justify-content: center; min-height: 88px; padding: 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); cursor: pointer; font-weight: 500; transition: border-color .3s, background-color .3s, box-shadow .3s; }
.tile label:hover { border-color: var(--text-2); }
.tile label small { font-weight: 400; color: var(--text-2); font-size: .84rem; margin-top: 3px; }
.tile input:checked + label { border-color: var(--amber); background: rgba(232, 150, 58, .1); box-shadow: 0 0 0 1px var(--amber), 0 10px 30px -12px var(--amber-glow); }
.tile input:focus-visible + label { outline: 2px solid var(--amber); outline-offset: 3px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; margin-bottom: 8px; }
.field .hint { font-size: .85rem; color: var(--text-2); margin: -4px 0 8px; }
.times { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.times.games { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.times .field { margin: 0; }
#coverage { margin-top: 10px; }
/* Owner approval page: one big, thumb-reachable action on a phone */
#ownerLines p { margin: 0 0 6px; }
#ownerGo { width: 100%; margin-top: 18px; }
/* Owner page (r4 aesthetic #3, usability #4): no marketing chrome, a headline that fits a phone, a full-width
   action that stays in reach at the bottom of the screen. */
.on-owner h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); max-width: none; }
.nowrap { white-space: nowrap; }
@media (max-width: 720px) {
  .owner-go { position: sticky; bottom: 16px; z-index: 5; }
  #ownerGo { box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }
}
#ownerCopyText { width: 100%; min-height: 240px; }
p.hint { font-size: .85rem; color: var(--text-2); margin: -4px 0 10px; }
input[type=text], input[type=tel], input[type=email], input[type=date], input[type=time], select, textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); font: 400 1rem var(--sans); color: var(--text); transition: border-color .3s, box-shadow .3s;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232, 150, 58, .22); outline: none; }
input::placeholder, textarea::placeholder { color: var(--text-3); }
textarea { min-height: 110px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; background: var(--bg-2); }
.stepper button { width: 52px; height: 52px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--text); transition: background-color .25s; }
.stepper button:hover { background: rgba(243, 236, 226, .08); }
.stepper output { min-width: 3.5em; text-align: center; font-weight: 500; }
.total { position: sticky; bottom: 12px; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; margin: 24px 0; background: rgba(31, 28, 25, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); color: var(--text); border-radius: 16px; box-shadow: 0 14px 40px rgba(0, 0, 0, .4); }
.total small { color: var(--text-2); }
.total strong { font: 400 1.9rem var(--serif); color: var(--amber); white-space: nowrap; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.avail { padding: 12px 14px; border-radius: 10px; font-weight: 500; margin-top: 12px; }
.avail.ok { background: rgba(124, 199, 154, .1); border: 1px solid rgba(124, 199, 154, .4); color: var(--ok); }
.avail.no { background: rgba(255, 143, 122, .1); border: 1px solid rgba(255, 143, 122, .4); color: var(--bad); }
.avail:not(.ok):not(.no) { border: 1px solid var(--line); }
.done-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--bg-2); animation: step-in .6s var(--ease) both; }
.ref { font: 400 2rem var(--serif); color: var(--amber); }
input[type=date]::-webkit-calendar-picker-indicator, input[type=time]::-webkit-calendar-picker-indicator { filter: none; opacity: .75; cursor: pointer; }

/* ---------- Private booking page ---------- */
.status { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 22px 0 32px; padding: 0; list-style: none; }
.status li { font-size: .8rem; color: var(--text-3); letter-spacing: .02em; }
.status li::before { content: ""; display: block; height: 3px; border-radius: 3px; background: var(--line); margin-bottom: 10px; }
.status .done { color: var(--ok); }
.status .done::before { background: var(--ok); }
.status .now { color: var(--text); }
.status .now::before { background: var(--amber); box-shadow: 0 0 12px var(--amber-glow); }
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.panel .h3 { font-size: 1.8rem; margin-bottom: 14px; }
.panel.paper { background: var(--paper); color: var(--ink); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.panel.paper .muted, .panel.paper .amount-row span:first-child { color: var(--stone); }
.panel.paper a { color: #8a520c; }
.panel.paper .amount-row { border-color: #d8cfc1; }
.panel.paper :focus-visible { outline-color: var(--ink); }
.trust-note { background: rgba(232, 150, 58, .07); border-left: 2px solid var(--amber); border-radius: 0 10px 10px 0; padding: 14px 18px; font-size: .95rem; }
.trust-note p { margin: 0 0 6px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: .97rem; margin: 0; }
.kv dt { color: var(--text-2); }
.kv dd { margin: 0; }
.amount-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.amount-row.total-row { border: 0; font-weight: 600; font-size: 1.1rem; }
.qr { width: 190px; height: 190px; border-radius: 14px; display: grid; place-items: center; text-align: center; font-size: .8rem; color: var(--stone); background: repeating-linear-gradient(45deg, #fff, #fff 6px, #f1ebe1 6px, #f1ebe1 12px); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--amber); }
input[type=file] { color: var(--text-2); font: 400 .9rem var(--sans); max-width: 100%; }

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid var(--line); }
summary { font: 400 clamp(1.4rem, 2.6vw, 1.9rem)/1.25 var(--serif); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; transition: color .3s; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--amber); }
summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2);
  background: linear-gradient(var(--text), var(--text)) center / 12px 1px no-repeat, linear-gradient(var(--text), var(--text)) center / 1px 12px no-repeat; transition: transform .45s var(--ease), background-size .45s var(--ease); }
details[open] summary::after { transform: rotate(180deg); background-size: 12px 1px, 1px 0; }
details p { margin: 0 0 24px; color: var(--text-2); max-width: 62ch; animation: step-in .45s var(--ease) both; }
.terms { padding-left: 1.4em; color: var(--text-2); }
.terms-head { font-size: clamp(1.45rem, 2.8vw, 1.75rem); margin: 40px 0 14px; color: var(--text); }
.terms li { margin-bottom: 12px; padding-left: 6px; }
.terms li::marker { color: var(--amber); }

/* About */
.about-img { border-radius: var(--radius); overflow: hidden; }
.about-img img { width: 100%; height: auto; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); margin: 32px 0; }
.facts div { background: var(--bg); padding: 18px 12px 18px 0; }
.facts b { display: block; font: 400 clamp(1.9rem, 4vw, 2.8rem)/1 var(--serif); color: var(--amber); margin-bottom: 6px; font-weight: 400; }
.facts span { font-size: .84rem; color: var(--text-2); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: 72px 0 40px; font-size: .92rem; color: var(--text-2); }
.site-footer a { color: var(--text); text-decoration: none; display: inline-block; padding: 10px 0; }
.site-footer a:hover { color: var(--amber); }
.site-footer .cols { display: grid; gap: 28px; }
@media (min-width: 760px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0; }
.footer-title { font: 400 clamp(1.9rem, 3vw, 2.6rem)/1.1 var(--serif); color: var(--text); margin-bottom: 12px; }
.giant { font: 400 clamp(5rem, 25vw, 23rem)/1 var(--serif); letter-spacing: -.045em; color: rgba(243, 236, 226, .06); margin: 64px 0 0; white-space: nowrap; text-align: center; user-select: none; }
.fine { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--text-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}

/* Spacing utilities (attribute-based so pages carry no inline styles; keeps a strict CSP possible). */
[data-u="pt-0"] { padding-top: 0 !important; }
[data-u="mt-12"] { margin-top: 12px; }
[data-u="mt-16"] { margin-top: 16px; }
[data-u="mt-18"] { margin-top: 18px; }
[data-u="mt-24"] { margin-top: 24px; }
[data-u="mt-96"] { margin-top: 96px; }
[data-u="push-right"] { margin-left: auto; }
[data-u="fine-note"] { margin-top: 12px; font-size: .88rem; }
[data-u="pay-split"] { gap: 24px; margin-top: 20px; }

/* Page-level price line on each Work page (customer review #3) */
.page-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 8px; font-size: 1.05rem; color: var(--text); }
.page-price strong { font: 400 1.6rem/1.2 var(--serif); }
.page-price a { display: inline-block; padding: 10px 0; }
.inline-link { display: inline-block; padding: 10px 0; }
.doc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 16px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #d8cfc1; }
.doc-head img { height: 36px; width: auto; max-width: 100%; }
.doc-head .doc-meta { margin: 0; min-width: 0; font-size: .82rem; color: var(--stone); line-height: 1.5; overflow-wrap: anywhere; }
@media (min-width: 600px) { .doc-head .doc-meta { text-align: right; } }
.doc-head .doc-meta strong { display: block; font: 400 1.5rem/1.1 var(--serif); color: var(--ink); }
.panel.paper .kv dt { color: var(--stone); }
.amount-row .sub { display: block; font-size: .8rem; color: var(--stone); }
.amount-row.due { background: rgba(232, 150, 58, .14); margin: 6px -10px; padding: 12px 10px; border-radius: var(--radius); border: 0; }
.doc-foot { margin-top: 14px; font-size: .8rem; color: var(--stone); }
.page-intro-tight { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(24px, 4vw, 48px); }
.page-intro-tight .section-head { margin-bottom: 0; }

/* Honeypot field: off-screen for people, still present for bots that fill every input. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Booking form (r4 aesthetic #1): a smaller intro so each step starts near the top of the screen, and an estimate
   that only appears once a package is chosen and never sits over the fields on a wide screen. */
body.on-book .page-intro h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.on-book .steps, .step h2 { scroll-margin-top: 88px; }
.total.is-early { display: none; }
@media (min-width: 900px) { .total { position: static; } }
