/* ============ Theme tokens ============ */
:root {
  --accent: #a9af90;          /* brand sage — overridden from admin settings */
  --accent-ink: #1c1e15;      /* text on accent */
  --accent-deep: #6f7656;     /* sage dark enough for text on light backgrounds */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Lato", Inter, "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html[data-theme="cinema"] {
  --bg: #0d0d0b;
  --bg-2: #141410;
  --surface: #1c1c17;
  --ink: #f3f0e8;
  --muted: #a6a494;
  --line: rgba(243, 240, 232, .12);
  --link: var(--accent);
  --nav-solid: rgba(13, 13, 11, .92);
  --shadow: 0 20px 50px rgba(0, 0, 0, .55);
  color-scheme: dark;
}
/* Studio — the same palette as your CRM and studio dashboard */
html[data-theme="studio"] {
  --bg: #1b1e17;
  --bg-2: #20241b;
  --surface: #24281f;
  --ink: #f8f5ed;
  --muted: #a3a794;
  --line: #3c4233;
  --link: var(--accent);
  --nav-solid: rgba(27, 30, 23, .92);
  --shadow: 0 20px 50px rgba(0, 0, 0, .5);
  color-scheme: dark;
}
html[data-theme="ivory"] {
  --bg: #f6f2ea;
  --bg-2: #eee8dc;
  --surface: #fffdf8;
  --ink: #24251e;
  --muted: #6b6c5f;
  --line: rgba(36, 37, 30, .13);
  --link: var(--accent-deep);
  --nav-solid: rgba(246, 242, 234, .94);
  --shadow: 0 18px 40px rgba(60, 55, 40, .18);
  color-scheme: light;
}

/* ============ Base ============ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--sans); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
.eyebrow { font: 600 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
html[data-theme="ivory"] .eyebrow { color: var(--accent-deep); }
.muted { color: var(--muted); }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(64px, 10vw, 128px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(34px, 5vw, 60px); margin-top: 12px; }
.text-link { font-weight: 600; font-size: 14px; color: var(--link); border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px;
  padding: 14px 26px; font: 600 14px/1 var(--sans); letter-spacing: .02em;
  justify-content: center; text-align: center; white-space: nowrap; flex-shrink: 0;
  transition: transform .25s var(--ease), background .25s, color .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #bcc2a4; }
.btn-light { background: #f3f0e8; color: #15150f; }
.btn-ghost { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .26); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn svg { width: 16px; height: 16px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(20, 20, 16, .55); color: #fff; font-size: 20px; backdrop-filter: blur(6px);
}
.icon-btn:hover { background: rgba(20, 20, 16, .8); }

/* ============ Nav ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); color: #fff;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .55), transparent);
  transition: background .35s, color .35s, box-shadow .35s;
}
.nav.solid, body.no-hero .nav {
  background: var(--nav-solid); color: var(--ink); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--accent); color: var(--accent);
  font: 600 11px/1 var(--sans); letter-spacing: .08em;
}
.brand-name { font: 700 19px/1 var(--sans); letter-spacing: .01em; }
.nav-links { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
.nav-links a { opacity: .78; transition: opacity .2s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a.active { box-shadow: 0 2px 0 var(--accent); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; width: 40px; height: 40px; background: none; border: 0; position: relative; }
.nav-burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s; }
.nav-burger span:first-child { top: 16px; } .nav-burger span:last-child { top: 23px; }
body.menu-open .nav-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .nav-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ============ Hero ============ */
.hero { position: relative; height: 100svh; min-height: 560px; max-height: 1000px; overflow: hidden; background: #0d0d0b; color: #fff; }
.hero-media, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media iframe {
  position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none;
  width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; transform: translate(-50%, -50%) scale(1.32); /* crops YouTube's title bar & logo out of frame */
  opacity: 0; transition: opacity 1.2s;
}
.hero-media iframe.ready { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 8, 6, .82) 0%, rgba(8, 8, 6, .35) 45%, transparent 75%),
    linear-gradient(0deg, var(--hero-fade, #0d0d0b) 0%, transparent 32%);
}
html[data-theme="ivory"] .hero { --hero-fade: rgba(8, 8, 6, .55); }
.hero-content {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(140px, 22vh, 230px);
  max-width: 640px;
}
html[data-theme="ivory"] .hero-content { bottom: clamp(70px, 12vh, 120px); }
.hero-content h1 { font-size: clamp(52px, 8.5vw, 112px); margin: 18px 0 14px; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero-meta { display: flex; gap: 10px; align-items: center; font-size: 14px; color: rgba(255, 255, 255, .85); flex-wrap: wrap; }
.hero-meta .tag { border: 1px solid rgba(255, 255, 255, .45); padding: 2px 8px; border-radius: 3px; font-size: 12px; }
.hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.hero-syn { font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6; color: rgba(255, 255, 255, .88); margin: 18px 0 28px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-sound { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(150px, 23vh, 240px); }
html[data-theme="ivory"] .hero-sound { bottom: clamp(80px, 13vh, 130px); }

/* ============ Film rows ============ */
.rows { position: relative; z-index: 4; padding-bottom: 40px; }
html[data-theme="cinema"] .hero + .rows { margin-top: clamp(-130px, -14vh, -90px); }
html[data-theme="ivory"] .rows { padding-top: 56px; }
.row { margin-bottom: clamp(28px, 4vw, 48px); position: relative; }
.row-title { display: flex; align-items: baseline; gap: 14px; padding: 0 var(--gutter); margin-bottom: 14px; }
.row-title h3 { font-family: var(--sans); font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: 0; }
.row-title a { font-size: 13px; color: var(--link); opacity: 0; transform: translateX(-6px); transition: .3s var(--ease); }
.row:hover .row-title a { opacity: 1; transform: none; }
.row-track {
  display: flex; gap: 10px; overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory;
  padding: 18px var(--gutter) 30px; margin: -18px 0 -30px; scrollbar-width: none; scroll-padding: 0 var(--gutter);
}
.row-track::-webkit-scrollbar { display: none; }
.row-arrow {
  position: absolute; top: 44px; bottom: 6px; width: calc(var(--gutter) - 4px); min-width: 36px; z-index: 6;
  border: 0; background: rgba(0, 0, 0, .45); color: #fff; font-size: 34px; opacity: 0; transition: opacity .25s;
}
.row:hover .row-arrow { opacity: 1; }
.row-arrow.prev { left: 0; } .row-arrow.next { right: 0; }
@media (hover: none) { .row-arrow { display: none; } }

.card {
  position: relative; flex: 0 0 clamp(240px, 23vw, 360px); scroll-snap-align: start;
  border-radius: var(--radius); background: var(--surface); cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), z-index 0s .4s;
}
.card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.card-media iframe { position: absolute; left: -15%; top: -15%; width: 130%; height: 130%; border: 0; pointer-events: none; opacity: 0; transition: opacity .6s; }
.card-media iframe.ready { opacity: 1; }
.card-badge { position: absolute; left: 10px; top: 10px; z-index: 2; background: var(--accent); color: var(--accent-ink); font: 700 10px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 5px 7px; border-radius: 3px; }
.card-info { padding: 12px 4px 4px; }
.card-info strong { display: block; font: 500 21px/1.15 var(--serif); }
.card-info span { font-size: 12.5px; color: var(--muted); }
.card-play {
  position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: #111; border: 0; display: grid; place-items: center;
  opacity: 0; transform: scale(.85); transition: .3s var(--ease);
}
.card-play svg { width: 16px; height: 16px; margin-left: 2px; }
@media (hover: hover) {
  .card:hover { transform: scale(1.06); z-index: 5; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
  .card:hover .card-media img { transform: scale(1.05); }
  .card:hover .card-play { opacity: 1; transform: none; }
  .row-track .card:first-child:hover { transform-origin: left center; }
  .row-track .card:last-child:hover { transform-origin: right center; }
}
@media (hover: none) { .card-play { opacity: 1; transform: none; } }

/* Portrait story cards (rows + grid) */
.card.portrait { flex-basis: clamp(200px, 18vw, 280px); background: transparent; }
.card.portrait .card-media { aspect-ratio: 4 / 5; }
.card.portrait .card-over {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 50px 16px 16px; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
}
.card.portrait .card-over strong { display: block; font: 500 24px/1.1 var(--serif); }
.card.portrait .card-over span { font-size: 12px; opacity: .85; letter-spacing: .04em; }

/* ============ Intro / brand ============ */
.intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro h2 { font-size: clamp(44px, 6.6vw, 92px); font-style: italic; margin: 18px 0 26px; }
.intro p { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 540px; margin: 0 0 28px; }
.stats { display: flex; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; margin-top: 10px; }
.stats div strong { display: block; font: 500 42px/1 var(--serif); color: var(--ink); }
.stats div span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.intro-stack { position: relative; aspect-ratio: 4 / 5; }
.intro-stack img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.intro-stack img:first-child { inset: 0 18% 14% 0; width: 82%; height: 86%; }
.intro-stack img:last-child { right: 0; bottom: 0; width: 52%; height: 48%; border: 6px solid var(--bg); }

/* ============ Editorial story grid (home) ============ */
.editorial { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.ed-item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; display: block; }
.ed-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ed-item:hover img { transform: scale(1.04); }
.ed-item .card-over { position: absolute; inset: auto 0 0 0; padding: 70px 22px 20px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); }
.ed-item .card-over strong { display: block; font: 500 clamp(24px, 2.6vw, 36px)/1.05 var(--serif); }
.ed-item .card-over span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.ed-item:nth-child(1) { grid-column: span 7; aspect-ratio: 4 / 3.2; }
.ed-item:nth-child(2) { grid-column: span 5; aspect-ratio: auto; }
.ed-item:nth-child(3) { grid-column: span 4; aspect-ratio: 4 / 5; }
.ed-item:nth-child(4) { grid-column: span 4; aspect-ratio: 4 / 5; }
.ed-item:nth-child(5) { grid-column: span 4; aspect-ratio: 4 / 5; }

/* ============ Reviews ============ */
.reviews { text-align: center; background: var(--bg-2); }
.quote-wrap { max-width: 920px; margin: 0 auto; min-height: 260px; position: relative; }
.quote { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity .7s, transform .7s var(--ease); pointer-events: none; }
.quote.on { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.quote blockquote { margin: 26px 0 26px; font: italic 400 clamp(24px, 3.2vw, 40px)/1.3 var(--serif); }
.quote cite { font-style: normal; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.quote cite b { color: var(--ink); font-weight: 600; }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 30px; }
.dots button { width: 26px; height: 3px; border: 0; padding: 0; border-radius: 2px; background: var(--line); }
.dots button.on { background: var(--accent); }

/* ============ Enquiry ============ */
.enquire { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); }
.enquire h2 { font-size: clamp(42px, 6vw, 80px); margin: 18px 0 20px; }
.enquire-aside p { color: var(--muted); max-width: 420px; }
.contact-lines { margin-top: 30px; display: grid; gap: 12px; font-size: 15px; }
.contact-lines a { display: inline-flex; gap: 10px; align-items: center; }
.contact-lines a:hover { color: var(--link); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--ink);
  font: 400 17px/1.4 var(--sans); padding: 8px 0 10px; border-radius: 0; outline: none; transition: border-color .25s;
}
.field textarea { resize: vertical; min-height: 80px; }
.field select option { background: var(--surface); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 15px; font-size: 13.5px;
  transition: .2s;
}
.chip:hover { border-color: var(--accent); }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.form-msg { grid-column: 1 / -1; font-size: 14px; min-height: 20px; }
.form-msg.ok { color: var(--link); } .form-msg.err { color: #d7836f; }

/* ============ Page headers ============ */
.page-head { padding: 150px var(--gutter) 40px; }
.page-head h1 { font-size: clamp(56px, 9vw, 128px); margin-top: 14px; }
.page-head p { color: var(--muted); max-width: 560px; font-size: 17px; margin: 18px 0 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(14px, 2vw, 24px); padding: 0 var(--gutter) 100px; }
.story-grid .card { flex: none; }

/* ============ Story / show page ============ */
.show-hero { position: relative; height: 88svh; min-height: 520px; color: #fff; overflow: hidden; background: #0d0d0b; }
.show-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.show-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 8, 6, .8), transparent 70%), linear-gradient(0deg, var(--bg) 0%, transparent 40%); }
html[data-theme="ivory"] .show-hero::after { background: linear-gradient(90deg, rgba(8, 8, 6, .78), transparent 70%), linear-gradient(0deg, rgba(8,8,6,.5) 0%, transparent 40%); }
.show-hero .hero-content { bottom: clamp(60px, 12vh, 120px); }

.episodes { max-width: 1100px; }
.ep { display: grid; grid-template-columns: 40px minmax(160px, 260px) 1fr; gap: 22px; align-items: center; padding: 20px 14px; border-bottom: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: background .25s; }
.ep:hover { background: var(--bg-2); }
.ep-num { font: 500 30px/1 var(--serif); color: var(--muted); text-align: center; }
.ep .card-media { position: relative; }
.ep .card-media::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 22px; background: rgba(0,0,0,.25); opacity: 0; transition: opacity .25s; }
.ep:hover .card-media::after { opacity: 1; }
.ep h4 { margin: 0 0 6px; font: 600 17px/1.3 var(--sans); display: flex; justify-content: space-between; gap: 12px; }
.ep h4 small { font-weight: 400; color: var(--muted); font-size: 13px; }
.ep p { margin: 0; color: var(--muted); font-size: 14.5px; }

.gallery { display: flex; flex-direction: column; gap: clamp(8px, 1.2vw, 16px); }
.g-row { display: grid; gap: clamp(8px, 1.2vw, 16px); }
.g-row.one { grid-template-columns: 1fr; }
.g-row.one .g-img { aspect-ratio: 16 / 9; }
.g-row.two { grid-template-columns: 1fr 1fr; }
.g-row.two .g-img { aspect-ratio: 4 / 5; }
.g-row.three { grid-template-columns: 1.4fr 1fr 1fr; }
.g-row.three .g-img { aspect-ratio: 3 / 4; }
.g-img { overflow: hidden; border-radius: 4px; cursor: zoom-in; background: var(--bg-2); }
.g-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; opacity: 0; }
.g-img img.loaded { opacity: 1; }
.g-img:hover img { transform: scale(1.03); }
.story-text { max-width: 760px; margin: 0 auto; text-align: center; padding: 0 var(--gutter); }
.story-text p { font: italic 400 clamp(22px, 2.6vw, 32px)/1.4 var(--serif); margin: 18px 0 0; }

/* ============ Player & lightbox ============ */
.player, .lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.player[hidden], .lightbox[hidden] { display: none; }
.player { background: #000; animation: fade .3s; }
.player-frame { width: min(100vw, 177.78vh); aspect-ratio: 16 / 9; }
.player-frame iframe, .player-frame video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.player-close, .lb-close { position: absolute; top: 18px; right: 18px; z-index: 3; }
.player-caption { position: absolute; left: 24px; top: 24px; color: #fff; font: 500 22px/1 var(--serif); opacity: .8; }
.lightbox { background: #050504; animation: fade .3s; }
.lb-backdrop { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(40px) brightness(.35) saturate(1.2); transition: background-image .4s; }
.lb-img { position: relative; max-width: 92vw; max-height: 88vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transition: opacity .25s; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 54px; height: 54px; font-size: 30px; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .75); font-size: 13px; letter-spacing: .2em; }
@keyframes fade { from { opacity: 0; } }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--line); padding: 72px var(--gutter) 40px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer h3 { font-size: clamp(32px, 4vw, 52px); font-style: italic; max-width: 520px; }
.footer h5 { margin: 0 0 14px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer ul a:hover { color: var(--link); }
.footer-bottom { margin-top: 60px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.empty { padding: 160px var(--gutter); text-align: center; }
.empty h1 { font-size: 64px; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px;
    background: var(--nav-solid); color: var(--ink); backdrop-filter: blur(14px);
    transform: translateY(-10px); opacity: 0; pointer-events: none; transition: .3s var(--ease);
  }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; opacity: 1; }
  .nav-links a.active { box-shadow: none; color: var(--link); }
  body.menu-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  body.menu-open .nav { background: var(--nav-solid); color: var(--ink); }
  .nav-burger { display: block; }
  .nav-right .btn { display: none; }
  .nav-right .btn.nav-cta { display: inline-flex; padding: 9px 14px; font-size: 12.5px; }
  .brand-name { font-size: 17px; }
  .intro, .enquire, .footer-top { grid-template-columns: 1fr; }
  .intro-stack { max-width: 460px; }
  .editorial { grid-template-columns: 1fr 1fr; }
  .ed-item:nth-child(n) { grid-column: span 1; aspect-ratio: 4 / 5; }
  .ed-item:nth-child(1) { grid-column: span 2; aspect-ratio: 4 / 3; }
  .ep { grid-template-columns: 120px 1fr; gap: 14px; padding: 16px 0; }
  .ep-num { display: none; }
  .g-row.three { grid-template-columns: 1fr 1fr; }
  .g-row.three .g-img:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .section-head { flex-direction: column; align-items: start; }
}
@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; }
  .card { flex-basis: 74vw; }
  .card.portrait { flex-basis: 56vw; }
  .hero-content { bottom: 120px; }
  .hero-sound { display: none; }
  .lb-prev, .lb-next { display: none; }
  .g-row.two { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  html[data-theme="cinema"] .hero + .rows { margin-top: 0; }
  .hero-content, html[data-theme="ivory"] .hero-content { bottom: 56px; }
  .hero { --hero-fade: #0d0d0b; }
}

/* ============ Photo-first additions ============ */
/* Film-hero overlap only applies to the film hero */
html[data-theme="cinema"] .hero + .rows { margin-top: 0; }
html:not([data-theme="ivory"]) .hero.film-hero + .rows { margin-top: clamp(-130px, -14vh, -90px); }

/* Photo slideshow hero */
.photo-hero .slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.1); transition: opacity 1.8s ease, transform 0s 1.8s;
}
.photo-hero .slides img.on { opacity: 1; transform: scale(1); transition: opacity 1.8s ease, transform 9s cubic-bezier(.2,.6,.3,1); }
.photo-hero::after {
  background:
    linear-gradient(90deg, rgba(8,8,6,.7) 0%, rgba(8,8,6,.2) 50%, transparent 75%),
    linear-gradient(0deg, rgba(8,8,6,.65) 0%, transparent 45%);
}
.photo-hero .hero-content, html[data-theme="ivory"] .photo-hero .hero-content { bottom: clamp(70px, 13vh, 130px); max-width: 760px; }
.photo-hero h1.tagline { font-style: italic; font-weight: 400; font-size: clamp(54px, 8vw, 118px); line-height: .98; }
.slide-cap {
  position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(96px, 15vh, 156px);
  color: #fff; font: italic 400 22px/1 var(--serif); opacity: .9; text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.slide-cap::before { content: "— "; opacity: .7; }
.slide-bars { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(70px, 13vh, 130px); display: flex; gap: 6px; }
.slide-bars button { width: 34px; height: 14px; padding: 0; border: 0; background: none; display: flex; align-items: center; }
.slide-bars i { display: block; width: 100%; height: 2px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.slide-bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.slide-bars button.on i::after { animation: barfill 6s linear forwards; }
@keyframes barfill { to { transform: scaleX(1); } }

/* Big photo strip */
.strip-wrap { position: relative; }
.strip-wrap:hover .row-arrow { opacity: 1; }
.strip-arrow { top: 0; bottom: 0; }
.strip {
  display: flex; gap: clamp(8px, 1vw, 14px); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); height: clamp(380px, 74vh, 760px);
}
.strip::-webkit-scrollbar { display: none; }
.strip-item { position: relative; flex: none; height: 100%; margin: 0; scroll-snap-align: start; overflow: hidden; border-radius: 4px; cursor: zoom-in; background: var(--bg-2); min-width: 200px; }
.strip-item img { height: 100%; width: auto; max-width: none; transition: transform 1.2s var(--ease), opacity .8s; opacity: 0; }
.strip-item img.loaded { opacity: 1; }
.strip-item:hover img { transform: scale(1.03); }

/* Captions on photos */
.strip-item figcaption, .m-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 60px 18px 16px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.6)); opacity: 0; transform: translateY(8px);
  transition: opacity .4s, transform .4s var(--ease); pointer-events: none;
}
.strip-item:hover figcaption, .m-item:hover figcaption { opacity: 1; transform: none; }
figcaption strong { display: block; font: 500 22px/1.1 var(--serif); }
figcaption span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }

/* Masonry wall — natural aspect ratios, nothing cropped */
.masonry { columns: 4 260px; column-gap: clamp(8px, 1.2vw, 16px); }
.m-item { position: relative; break-inside: avoid; margin: 0 0 clamp(8px, 1.2vw, 16px); overflow: hidden; border-radius: 4px; cursor: zoom-in; background: var(--bg-2); min-height: 120px; }
.m-item img { width: 100%; height: auto; opacity: 0; transition: opacity .8s, transform 1.2s var(--ease); }
.m-item img.loaded { opacity: 1; }
.m-item:hover img { transform: scale(1.03); }

/* Films band on the photo-first homepage */
.films-band { background: var(--bg-2); padding: clamp(56px, 8vw, 100px) 0 clamp(30px, 4vw, 50px); }
.films-band .rows { padding-bottom: 0; }

/* Lightbox caption */
.lb-cap { position: absolute; left: 24px; bottom: 18px; z-index: 3; color: #fff; font: italic 400 22px/1 var(--serif); }
.lb-cap span { font: 400 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .7; font-style: normal; }
.lb-cap a:hover span { opacity: 1; }

@media (max-width: 560px) {
  .slide-cap { display: none; }
  .slide-bars { left: var(--gutter); right: auto; bottom: 28px; }
  .photo-hero .hero-content { bottom: 64px; }
  .strip { height: 62vh; }
  .masonry { columns: 2; }
  .strip-item figcaption, .m-item figcaption { display: none; }
  .lb-cap { left: 16px; bottom: 50px; font-size: 18px; }
}

/* ============ Framed layout: side rail + rounded content frame (desktop) ============ */
html[data-theme="studio"] { --rail-bg: #121410; --rail-ink: #f8f5ed; --frame-line: rgba(169,175,144,.10); }
html[data-theme="cinema"] { --rail-bg: #050504; --rail-ink: #e9e5da; --frame-line: rgba(255,255,255,.06); }
html[data-theme="ivory"]  { --rail-bg: #23241d; --rail-ink: #ece8dc; --frame-line: rgba(0,0,0,.04); }
.rail, .search { display: none; }
.script { font-family: "Pinyon Script", var(--serif); font-weight: 400; letter-spacing: 0; text-transform: none; }

@media (min-width: 1024px) {
  :root { --rail-w: 112px; --frame-pad: 12px; }
  body { background: var(--rail-bg); }
  .shell { margin-left: var(--rail-w); padding: var(--frame-pad) var(--frame-pad) var(--frame-pad) 0; }
  .frame { background: var(--bg); border-radius: 28px; min-height: calc(100vh - var(--frame-pad) * 2); overflow: clip; box-shadow: 0 0 0 1px var(--frame-line); }

  /* top bar inside the frame */
  .nav, .nav.solid, body.no-hero .nav {
    position: sticky; inset: auto; top: 0; height: 76px; color: var(--ink);
    background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(16px); box-shadow: none;
    padding: 0 20px; gap: 14px;
  }
  .nav.solid { box-shadow: 0 1px 0 var(--line); }
  .nav .brand, .nav-links, .nav-burger { display: none; }
  .search {
    display: flex; align-items: center; gap: 10px; flex: 1; max-width: 640px; position: relative;
    background: var(--bg-2); border: 1px solid var(--line); border-radius: 99px; padding: 0 16px; height: 46px;
    transition: border-color .2s, box-shadow .2s;
  }
  .search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
  .search > svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
  .search input { flex: 1; border: 0; background: none; outline: none; font: 400 15px var(--sans); color: var(--ink); min-width: 0; }
  .search input::placeholder { color: var(--muted); }
  .search input::-webkit-search-cancel-button { display: none; }
  .search kbd { font: 600 11px var(--sans); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; }
  .search-results {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 70; max-height: 70vh; overflow: auto;
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 8px; box-shadow: var(--shadow);
  }
  .sr-group { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 6px; }
  .sr-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 8px; border-radius: 12px; cursor: pointer; }
  .sr-item:hover, .sr-item.on { background: var(--bg-2); }
  .sr-item img { width: 64px; height: 44px; object-fit: cover; border-radius: 8px; }
  .sr-item strong { display: block; font: 500 19px/1.15 var(--serif); }
  .sr-item span { font-size: 12.5px; color: var(--muted); }
  .sr-item em { font-style: normal; font-size: 11px; color: var(--link); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
  .sr-empty { padding: 22px; text-align: center; color: var(--muted); }
  .nav-right { margin-left: auto; }
  .nav-right .btn { display: inline-flex; }

  /* heroes become framed cards */
  .hero, .show-hero {
    margin: 0 16px; border-radius: 22px; height: calc(100vh - 76px - var(--frame-pad) * 2 - 16px); min-height: 520px; max-height: 920px;
  }
  .hero-media iframe { width: 100%; height: 56.25vw; min-width: 177.78vh; }
  html:not([data-theme="ivory"]) .hero.film-hero + .rows { margin-top: -110px; }
  .page-head { padding-top: 48px; }
  .wa-float { right: 28px; bottom: 28px; }
  .footer { margin-top: 20px; }
}

/* ============ Places map ============ */
.places { display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px; height: clamp(440px, 70vh, 640px); }
.places-map { border-radius: 22px; overflow: hidden; background: var(--bg-2); z-index: 0; }
.places-list { list-style: none; margin: 0; padding: 8px; overflow-y: auto; border-radius: 22px; background: var(--bg-2); scrollbar-width: thin; }
.places-list button {
  width: 100%; display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; text-align: left;
  background: none; border: 0; padding: 8px; border-radius: 14px; transition: background .2s;
}
.places-list button:hover, .places-list button.on { background: var(--surface); }
.places-list button.on { box-shadow: inset 3px 0 0 var(--accent); }
.places-list img { width: 76px; height: 56px; object-fit: cover; border-radius: 10px; }
.places-list strong { display: block; font: 500 20px/1.15 var(--serif); }
.places-list small { color: var(--muted); font-size: 12.5px; }
.pin i {
  display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--accent);
  border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.4); position: relative;
}
.pin i::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--accent); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.4); opacity: 0; } }
.leaflet-popup-content-wrapper { border-radius: 16px; padding: 0; overflow: hidden; background: var(--surface); color: var(--ink); }
.leaflet-popup-content { margin: 0; width: 230px !important; }
.leaflet-popup-tip { background: var(--surface); }
.pin-pop { display: block; font-family: var(--sans); }
.pin-pop img { width: 100%; height: 140px; object-fit: cover; }
.pin-pop strong { display: block; font: 500 22px/1.1 var(--serif); padding: 12px 14px 2px; color: var(--ink); }
.pin-pop span { display: block; padding: 0 14px; font-size: 12px; color: var(--muted); }
.pin-pop em { display: block; padding: 8px 14px 14px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--link); }
.leaflet-container a.leaflet-popup-close-button { color: #fff; }
.leaflet-control-attribution { font-size: 10px; background: color-mix(in srgb, var(--bg) 70%, transparent) !important; color: var(--muted); }
.leaflet-control-attribution a { color: var(--muted) !important; }
.leaflet-bar a { background: var(--surface); color: var(--ink); border-color: var(--line); }

.signature { font-size: clamp(30px, 3vw, 40px); color: var(--link); margin-top: 6px; }

@media (max-width: 900px) {
  .places { grid-template-columns: 1fr; height: auto; }
  .places-map { height: 380px; }
  .places-list { max-height: 320px; }
}

@media (min-width: 1024px) and (max-height: 760px) { .rail-card { display: none; } }


/* ============ Logo (your laurel mark, tinted per theme) ============ */
.logo-mark {
  display: inline-block; width: 64px; aspect-ratio: 640 / 604; flex: none;
  background: currentColor;
  -webkit-mask: url("/brand/logo.png") center / contain no-repeat; mask: url("/brand/logo.png") center / contain no-repeat;
}
.logo-mark.sm { width: 44px; }
.nav .brand .logo-mark { color: #f8f5ed; }
.nav.solid .brand .logo-mark, body.no-hero .nav .brand .logo-mark, body.menu-open .nav .brand .logo-mark { color: var(--ink); }
html[data-theme="ivory"] .nav.solid .brand .logo-mark, html[data-theme="ivory"] body.no-hero .nav .brand .logo-mark { color: var(--accent-deep); }
.footer .logo-mark { width: 92px; color: var(--accent); }

/* ============ The rail — collapsed icon bar that blooms into a panel ============ */
@media (min-width: 1024px) {
  :root { --rail-w: 116px; --rail-open: 300px; }
  .rail {
    display: block; position: fixed; inset: 0 auto 0 0; z-index: 60; width: var(--rail-w);
    transition: width .5s cubic-bezier(.2,.8,.2,1);
  }
  .rail-inner {
    position: absolute; inset: 0; display: flex; flex-direction: column; padding: 22px 12px 16px; color: var(--rail-ink);
    background:
      radial-gradient(160px 200px at 58px 70px, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
      radial-gradient(240px 260px at 0 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
      var(--rail-bg);
    overflow: hidden;
  }
  /* film-grain texture */
  .rail-inner::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09; 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  /* glowing sage edge */
  .rail-inner::after {
    content: ""; position: absolute; top: 8%; bottom: 8%; right: 0; width: 1px; pointer-events: none;
    background: linear-gradient(transparent, color-mix(in srgb, var(--accent) 55%, transparent), transparent);
  }
  .rail:hover, .rail:focus-within { width: var(--rail-open); }
  .rail:hover .rail-inner, .rail:focus-within .rail-inner { box-shadow: 30px 0 80px rgba(0,0,0,.45); }

  .rail-brand { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0 0 22px; width: calc(var(--rail-w) - 24px); }
  .rail-brand .logo-mark {
    width: 84px; color: var(--accent);
    background: linear-gradient(110deg, var(--accent) 30%, #f8f5ed 50%, var(--accent) 70%) 0 0 / 300% 100%;
    animation: shimmer 7s ease-in-out infinite; filter: drop-shadow(0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent));
  }
  @keyframes shimmer { 0%, 60% { background-position: 100% 0; } 100% { background-position: 0 0; } }
  .rail-word { font: 400 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; opacity: .55; white-space: nowrap; transform: scale(.82); }

  .rail-links { position: relative; display: flex; flex-direction: column; gap: 2px; }
  .rail-glow {
    position: absolute; left: 0; right: 0; top: 0; height: 0; border-radius: 16px; pointer-events: none; opacity: 0;
    background: linear-gradient(100deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #f8f5ed));
    box-shadow: 0 8px 26px color-mix(in srgb, var(--accent) 35%, transparent);
    transition: top .5s cubic-bezier(.2,.8,.2,1), height .5s, opacity .3s;
  }
  .rail-links a {
    position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; justify-items: center; gap: 5px;
    padding: 11px 6px; border-radius: 16px; color: var(--rail-ink); white-space: nowrap;
    transition: color .3s, background .25s;
  }
  .rail-links a:not(.active):hover { background: rgba(255,255,255,.05); }
  .rl-ico { display: grid; place-items: center; width: 24px; height: 24px; opacity: .7; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .2s; }
  .rl-ico svg { width: 23px; height: 23px; }
  .rail-links a:hover .rl-ico { transform: translateY(-2px) scale(1.08); opacity: 1; }
  .rl-txt { display: grid; justify-items: center; }
  .rl-txt b { font-weight: 500; font-size: 11.5px; letter-spacing: .03em; opacity: .7; }
  .rl-txt small { display: none; font-size: 11.5px; opacity: .55; margin-top: 1px; }
  .rail-links a.active { color: var(--accent-ink); }
  .rail-links a.active .rl-ico, .rail-links a.active .rl-txt b { opacity: 1; }
  .rail-links a.active small { opacity: .75; }

  /* expanded panel: items become rows with live counts */
  .rail:hover .rail-links a, .rail:focus-within .rail-links a { grid-template-columns: 24px 1fr; justify-items: start; align-items: center; gap: 16px; padding: 12px 16px; }
  .rail:hover .rl-txt, .rail:focus-within .rl-txt { justify-items: start; animation: slidein .45s cubic-bezier(.2,.8,.2,1); }
  .rail:hover .rl-txt b, .rail:focus-within .rl-txt b { font: 500 22px/1.05 var(--serif); letter-spacing: 0; opacity: 1; }
  .rail:hover .rl-txt small, .rail:focus-within .rl-txt small { display: block; }
  @keyframes slidein { from { opacity: 0; transform: translateX(-8px); } }

  /* booking card with crossfading photos */
  .rail-card {
    position: relative; margin-top: auto; display: block; border-radius: 18px; overflow: hidden; color: #fff;
    height: 150px; width: calc(var(--rail-w) - 24px); transition: width .5s cubic-bezier(.2,.8,.2,1), height .5s cubic-bezier(.2,.8,.2,1);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent), 0 14px 30px rgba(0,0,0,.35);
  }
  .rail:hover .rail-card, .rail:focus-within .rail-card { width: calc(var(--rail-open) - 24px); height: 210px; }
  .rail-card-img { position: absolute; inset: 0; background: center / cover; opacity: 0; transition: opacity 1.6s ease, transform 8s ease-out; transform: scale(1.12); }
  .rail-card-img.on { opacity: 1; transform: scale(1); }
  .rail-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 20%, rgba(10,12,8,.9)); }
  .rail-card-txt { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 12px; display: grid; gap: 2px; text-align: center; }
  .rail-card-txt em { font: 400 22px/1 "Pinyon Script", var(--serif); color: var(--accent); }
  .rail-card-txt b { font: 500 16px/1.1 var(--serif); letter-spacing: .06em; }
  .rail-card-more { display: none; font-size: 12px; opacity: .8; }
  .rail:hover .rail-card-more, .rail:focus-within .rail-card-more { display: block; }
  .rail:hover .rail-card-txt em, .rail:focus-within .rail-card-txt em { font-size: 30px; }
  .rail:hover .rail-card-txt b, .rail:focus-within .rail-card-txt b { font-size: 24px; }
  .rail-card-cta {
    margin-top: 8px; justify-self: center; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; white-space: nowrap;
    background: var(--accent); color: var(--accent-ink); border-radius: 99px; padding: 7px 10px;
  }
  .rail-card-cta i { font-style: normal; display: inline-block; transition: transform .3s; }
  .rail-card:hover .rail-card-cta i { transform: translateX(3px); }

  .rail-social { display: flex; justify-content: center; gap: 6px; margin-top: 12px; position: relative; }
  .rail-social a { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--rail-ink); opacity: .55; transition: opacity .2s, background .2s, transform .3s; }
  .rail-social a:hover { opacity: 1; background: rgba(255,255,255,.08); transform: translateY(-2px); }
  .rail-social svg { width: 16px; height: 16px; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .rail-card { height: 0; margin-top: auto; box-shadow: none; }
  .rail:hover .rail-card { height: 170px; }
  .rail-links a { padding: 8px 6px; }
}
@media (prefers-reduced-motion: reduce) { .rail-brand .logo-mark { animation: none; } }
@media (min-width: 1024px) {
  .rail-card-cta { display: none; }
  .rail:hover .rail-card-cta, .rail:focus-within .rail-card-cta { display: inline-block; }
  .rail-card-txt b { font-size: 14px; letter-spacing: .02em; }
  .rail-social { gap: 2px; }
  .rail-social a { width: 23px; height: 23px; }
  .rail-social svg { width: 14px; height: 14px; }
  .rail:hover .rail-social, .rail:focus-within .rail-social { gap: 10px; }
  .rail:hover .rail-social a, .rail:focus-within .rail-social a { width: 34px; height: 34px; }
  .rail:hover .rail-social svg, .rail:focus-within .rail-social svg { width: 17px; height: 17px; }
}
/* collapsed booking card: just the photo + a clean label; full details when the rail opens */
.rail-card-mini { display: none; }
@media (min-width: 1024px) {
  .rail-card { height: 118px; }
  .rail-card-mini {
    display: block; position: absolute; z-index: 2; left: 8px; right: 8px; bottom: 8px; text-align: center;
    font: 700 9.5px/1.25 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink);
    background: var(--accent); border-radius: 10px; padding: 6px 2px; transition: opacity .2s;
  }
  .rail-card-txt { opacity: 0; transition: opacity .3s .1s; }
  .rail:hover .rail-card-mini, .rail:focus-within .rail-card-mini { opacity: 0; }
  .rail:hover .rail-card-txt, .rail:focus-within .rail-card-txt { opacity: 1; }
}

/* ============ Rounded photo & film cards ============ */
:root { --radius: 18px; --radius-lg: 24px; }
.card, .card-media, .ed-item, .g-img, .strip-item, .m-item, .intro-stack img,
.ep .card-media, .places-list img, .sr-item img { border-radius: var(--radius); }
.ed-item, .strip-item, .intro-stack img:first-child { border-radius: var(--radius-lg); }
.card.portrait .card-media { border-radius: var(--radius-lg); }
.lb-img { border-radius: 14px; }
.player-frame { border-radius: 16px; overflow: hidden; }
.card-badge { border-radius: 8px; left: 12px; top: 12px; }
.intro-stack img:last-child { border-radius: var(--radius); }
@media (max-width: 560px) { :root { --radius: 14px; --radius-lg: 18px; } }

/* ============ About ============ */
.page-head h1 em { font-style: italic; color: var(--link); }
.about-founder { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px,5vw,80px); align-items: center; margin-top: 30px; }
.af-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); }
.about-founder h2, .about-select h2 { font-size: clamp(38px,5vw,64px); margin: 12px 0 18px; }
.about-founder p { color: var(--muted); font-size: 17px; max-width: 520px; }
.about-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.about-grid.three { grid-template-columns: repeat(3, 1fr); }
.about-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.about-card span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--link); }
.about-card h3 { font-size: 26px; margin: 12px 0 10px; }
.about-card p { color: var(--muted); margin: 0; font-size: 15px; }
.about-select { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: var(--surface); border-radius: 28px; padding: clamp(28px,5vw,64px); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.about-select em { color: var(--link); }
.about-select p { color: var(--muted); margin: 0 0 24px; }
.about-select ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: s; }
.about-select li { counter-increment: s; padding: 12px 0; border-bottom: 1px solid var(--line); font: 500 21px/1.2 var(--serif); }
.about-select li::before { content: counter(s, lower-roman) ".  "; color: var(--link); font-family: var(--sans); font-size: 13px; }
@media (max-width: 900px) { .about-founder, .about-select { grid-template-columns: 1fr; } .about-grid, .about-grid.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .about-grid, .about-grid.three { grid-template-columns: 1fr; } }

/* ============ Journey timeline ============ */
.timeline { position: relative; list-style: none; margin: 20px auto 0; padding: 0; max-width: 1040px; }
.tl-line { position: absolute; top: 10px; bottom: 10px; left: 50%; width: 2px; transform: translateX(-50%); background: var(--line); border-radius: 2px; overflow: hidden; }
.tl-line i { position: absolute; inset: 0; background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 60%, #f8f5ed)); transform-origin: top; transform: scaleY(0); transition: transform .15s linear; box-shadow: 0 0 14px var(--accent); }
.tl-step { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; margin-bottom: clamp(18px, 3vw, 34px); }
.tl-dot {
  grid-column: 2; justify-self: center; z-index: 1; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font: 700 13px/1 var(--sans); letter-spacing: .06em;
  background: var(--bg); color: var(--muted); border: 2px solid var(--line);
  transition: background .5s, color .5s, border-color .5s, box-shadow .5s, transform .5s var(--ease);
}
.tl-card {
  grid-column: 1; grid-row: 1; text-align: right; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 28px; opacity: .45; transform: translateX(-18px); transition: opacity .6s, transform .6s var(--ease), border-color .6s, box-shadow .6s;
}
.tl-step:nth-child(odd) .tl-card { grid-column: 3; text-align: left; transform: translateX(18px); }
.tl-when { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--link); font-weight: 700; }
.tl-card h3 { font-size: clamp(26px, 2.6vw, 34px); margin: 8px 0 8px; }
.tl-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.tl-step.lit .tl-dot { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: scale(1.08); box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 18%, transparent); }
.tl-step.lit .tl-card { opacity: 1; transform: none; border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow); }
@media (max-width: 760px) {
  .tl-line { left: 26px; }
  .tl-step { grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
  .tl-dot { grid-column: 1; }
  .tl-card, .tl-step:nth-child(odd) .tl-card { grid-column: 2; text-align: left; transform: translateX(12px); padding: 18px 20px; }
}
@media (prefers-reduced-motion: reduce) { .tl-card { opacity: 1; transform: none; } }

/* ============ Studio history strip ============ */
.history { overflow: hidden; }
.hist-nav { display: flex; gap: 10px; }
.hist-nav .row-arrow { position: static; opacity: 1; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); font-size: 22px; }
.hist-nav .row-arrow:hover { border-color: var(--accent); color: var(--accent); }
.hist-track {
  display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 10px max(var(--gutter, 32px), calc((100% - 1240px) / 2)) 26px; scroll-padding-inline: max(var(--gutter, 32px), calc((100% - 1240px) / 2)); cursor: grab; user-select: none;
}
.hist-track::-webkit-scrollbar { display: none; }
.hist-track.drag { cursor: grabbing; scroll-snap-type: none; }
.hist-item { position: relative; flex: 0 0 clamp(270px, 30vw, 380px); scroll-snap-align: start; padding-top: 70px; }
.hist-year {
  position: absolute; top: 0; left: -4px; font: 600 clamp(84px, 9vw, 128px)/.8 var(--serif); letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 55%, transparent); transition: color .6s, -webkit-text-stroke-color .6s; pointer-events: none; z-index: 2;
}
.hist-item.on .hist-year { color: color-mix(in srgb, var(--accent) 22%, transparent); -webkit-text-stroke-color: var(--accent); }
.hist-media { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); position: relative; }
.hist-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) brightness(.75); transform: scale(1.06); transition: filter .9s, transform 1.4s var(--ease); pointer-events: none; }
.hist-item.on .hist-media img, .hist-item:hover .hist-media img { filter: none; transform: none; }
.hist-body { padding: 18px 4px 0; }
.hist-body h3 { font-size: clamp(24px, 2.2vw, 30px); margin: 8px 0 6px; }
.hist-body p { margin: 0; color: var(--muted); font-size: 15px; }
.hist-tick { position: absolute; left: 0; right: calc(-1 * clamp(16px, 2vw, 28px)); bottom: -22px; height: 1px; background: var(--line); }
.hist-tick::before { content: ""; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background .5s, box-shadow .5s; }
.hist-item.on .hist-tick::before { background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 20%, transparent); }
.hist-progress { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 18px; }
.hist-progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(.08); transition: transform .2s; box-shadow: 0 0 10px var(--accent); }

/* ============ Before / after slider ============ */
.ba-stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.ba { display: none; position: relative; aspect-ratio: 16/9; --pos: 50%; user-select: none; touch-action: pan-y; }
.ba.on { display: block; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
/* Until a real "straight out of camera" file is uploaded, simulate a flat RAW look */
.ba-before.sim { filter: saturate(.45) contrast(.78) brightness(1.07) sepia(.12) hue-rotate(-6deg); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 16px rgba(0,0,0,.35); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 22, 17, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1.5px solid #fff; color: #fff; font: 700 15px/1 var(--sans); letter-spacing: .1em; }
.ba-tag { position: absolute; top: 16px; padding: 6px 11px; border-radius: 99px; font: 700 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; background: rgba(20, 22, 17, .55); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.ba-tag.l { left: 16px; } .ba-tag.r { right: 16px; background: var(--accent); color: var(--accent-ink); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100vh; }
.ba-tabs { display: flex; gap: 12px; margin-top: 16px; overflow-x: auto; scrollbar-width: none; }
.ba-tabs button { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg-2); color: var(--muted); font: 600 13px/1 var(--sans); cursor: pointer; transition: .3s; }
.ba-tabs button img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.ba-tabs button.on, .ba-tabs button:hover { border-color: var(--accent); color: var(--ink); }
@media (max-width: 760px) { .ba { aspect-ratio: 4/5; } .hist-nav { display: none; } }

/* ============ Build your own quote ============ */
.qb { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(20px, 3vw, 44px); align-items: start; padding-bottom: 80px; }
.q-step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 30px 0; border-top: 1px solid var(--line); }
.q-step:first-child { border-top: 0; padding-top: 6px; }
.q-num { font: 500 40px/1 var(--serif); color: var(--accent); }
.q-body h3 { font-size: clamp(26px, 2.4vw, 32px); margin: 0 0 4px; }
.q-body > p.muted { margin: 0 0 18px; color: var(--muted); }
.q-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.q-preset { position: relative; text-align: left; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); border-radius: var(--radius-lg); padding: 10px 10px 16px; cursor: pointer; transition: .35s var(--ease); font: inherit; }
.q-preset-img { display: block; aspect-ratio: 4/3; border-radius: calc(var(--radius-lg) - 8px); overflow: hidden; margin-bottom: 12px; background: var(--surface); }
.q-preset-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.85); transition: 1s var(--ease); }
.q-preset b { display: block; font: 600 24px/1.1 var(--serif); padding: 0 6px; }
.q-preset small { display: block; color: var(--muted); padding: 2px 6px 0; }
.q-preset:hover, .q-preset.on { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.q-preset:hover img, .q-preset.on img { filter: none; transform: scale(1.05); }
.q-preset.on::after { content: "✓"; position: absolute; top: 18px; right: 18px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; }

.q-events { display: grid; gap: 10px; }
.q-ev { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); transition: border-color .4s, box-shadow .4s; }
.q-ev.on { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 10%, transparent); }
.q-ev-head { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: none; border: 0; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.q-ev-ico { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--accent); font-size: 17px; transition: .4s; }
.q-ev.on .q-ev-ico { background: var(--accent); color: var(--accent-ink); }
.q-ev-txt { flex: 1; min-width: 0; }
.q-ev-txt b { display: block; font: 600 21px/1.15 var(--serif); }
.q-ev-txt small { color: var(--muted); }
.q-ev-price { font-weight: 700; color: var(--link); font-variant-numeric: tabular-nums; white-space: nowrap; }
.q-check { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: .3s; }
.on > .q-check, .q-ev.on .q-check { background: var(--accent); border-color: var(--accent); }
.on > .q-check::after, .q-ev.on .q-check::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.q-ev-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.q-ev.on .q-ev-body { grid-template-rows: 1fr; }
.q-ev-inner { overflow: hidden; padding: 0 18px; }
.q-ev.on .q-ev-inner { padding-bottom: 16px; }
.q-len { display: inline-flex; padding: 3px; border-radius: 99px; background: var(--surface); margin: 2px 0 10px 54px; }
.q-len button { border: 0; background: none; color: var(--muted); padding: 7px 14px; border-radius: 99px; font: 600 12.5px/1 var(--sans); cursor: pointer; }
.q-len button.on { background: var(--accent); color: var(--accent-ink); }
.q-role { display: flex; justify-content: space-between; align-items: center; padding: 8px 0 8px 54px; border-top: 1px dashed var(--line); font-size: 14.5px; }
.q-stepper { display: inline-flex; align-items: center; gap: 4px; }
.q-stepper button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 17px; cursor: pointer; line-height: 1; }
.q-stepper button:hover { border-color: var(--accent); color: var(--accent); }
.q-stepper output { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.q-extras { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.q-extra { position: relative; text-align: left; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); color: var(--ink); padding: 16px 18px 16px 52px; cursor: pointer; font: inherit; transition: .3s var(--ease); }
.q-extra .q-check { position: absolute; left: 18px; top: 18px; }
.q-extra b { display: block; font: 600 20px/1.15 var(--serif); }
.q-extra small { display: block; color: var(--muted); margin-top: 2px; }
.q-extra em { display: block; font-style: normal; font-weight: 700; color: var(--link); margin-top: 8px; font-size: 13.5px; }
.q-extra.on { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.q-form { grid-template-columns: 1fr 1fr; }

.q-receipt { position: sticky; top: 96px; background: linear-gradient(170deg, color-mix(in srgb, var(--accent) 12%, var(--bg-2)), var(--bg-2) 55%); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.q-r-head { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.q-r-head .logo-mark { color: var(--accent); width: 40px; }
.q-r-head em { display: block; font: 400 26px/1 "Pinyon Script", cursive; color: var(--accent); font-style: normal; }
.q-r-head b { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.q-lines { list-style: none; margin: 0; padding: 8px 0; max-height: 42vh; overflow: auto; }
.q-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); animation: qIn .4s var(--ease); }
.q-lines li b { display: block; font-size: 14px; }
.q-lines li small { color: var(--muted); font-size: 12.5px; }
.q-lines li span { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.q-lines .q-empty { color: var(--muted); border: 0; font-size: 14px; }
@keyframes qIn { from { opacity: 0; transform: translateY(6px); } }
.q-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 18px; }
.q-total span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.q-total b { font: 600 38px/1 var(--serif); font-variant-numeric: tabular-nums; }
.q-send { width: 100%; justify-content: center; }
.q-note { color: var(--muted); font-size: 12.5px; margin: 14px 0 0; line-height: 1.5; }
.q-bar { display: none; }

.q-cta { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 14px 18px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--ink); transition: .3s var(--ease); }
.q-cta > span { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.q-cta b { display: block; font: 600 20px/1.1 var(--serif); }
.q-cta small { color: var(--muted); }
.q-cta i { margin-left: auto; font-style: normal; color: var(--accent); transition: transform .3s; }
.q-cta:hover { transform: translateY(-2px); border-color: var(--accent); }
.q-cta:hover i { transform: translateX(4px); }

@media (max-width: 1023px) {
  .qb { grid-template-columns: 1fr; }
  .q-receipt { position: static; }
  .q-bar { position: fixed; left: 12px; right: 76px; bottom: 14px; z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 99px; background: color-mix(in srgb, var(--bg-2) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(160%); transition: transform .4s var(--ease); }
  .q-bar.show { transform: none; }
  .q-bar small { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
  .q-bar b { font: 600 22px/1 var(--serif); }
}
@media (max-width: 640px) {
  .q-step { grid-template-columns: 1fr; gap: 6px; }
  .q-num { font-size: 28px; }
  .q-presets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .q-preset { padding: 6px 6px 12px; }
  .q-preset b { font-size: 18px; padding: 0 4px; } .q-preset small { font-size: 11.5px; padding: 0 4px; }
  .q-extras, .q-form { grid-template-columns: 1fr; }
  .q-len, .q-role { margin-left: 0; padding-left: 0; }
  .q-ev-head { padding: 12px 14px; gap: 10px; } .q-ev-inner { padding: 0 14px; }
}

/* quote: details first, builder locked until then */
.q-lock { position: relative; }
.q-lock-msg { display: none; }
.q-lock.locked > .q-step { filter: blur(3px) saturate(.4); opacity: .4; pointer-events: none; user-select: none; }
.q-lock.locked .q-lock-msg { display: flex; align-items: center; gap: 10px; position: sticky; top: 110px; z-index: 3; width: max-content; max-width: 100%; margin: 24px auto -64px; padding: 12px 20px; border-radius: 99px; background: var(--bg-2); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); font-weight: 700; font-size: 14px; }
.q-lock .q-step { transition: filter .7s var(--ease), opacity .7s var(--ease); }
.q-go { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.q-you-sum { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 10%, var(--bg-2)); border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); animation: qIn .5s var(--ease); }
.q-you-sum b { display: block; font: 600 24px/1.1 var(--serif); }
.q-you-sum span { color: var(--muted); font-size: 14px; }
.q-you-sum[hidden], .q-form[hidden] { display: none; }
.q-send:disabled { opacity: .45; cursor: not-allowed; }
.q-optin { display: flex !important; align-items: center; gap: 10px; font-size: 14px !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ink) !important; cursor: pointer; font-weight: 400 !important; }
.q-optin input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }

/* personal-link welcome */
.hello { position: fixed; left: 50%; bottom: 24px; z-index: 60; display: flex; align-items: center; gap: 16px; width: min(560px, calc(100% - 32px)); padding: 18px 20px; border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--bg-2) 92%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .7s var(--ease), opacity .7s; }
.hello.show { transform: translate(-50%, 0); opacity: 1; }
.hello .logo-mark { color: var(--accent); width: 54px; flex: none; }
.hello em { display: block; font: 400 26px/1 "Pinyon Script", cursive; color: var(--accent); font-style: normal; }
.hello b { display: block; font: 600 26px/1.15 var(--serif); }
.hello small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.hello button { align-self: flex-start; background: none; border: 0; color: var(--muted); font-size: 16px; cursor: pointer; }

/* ---------- FAQ, policies, team, story chapters ---------- */
.story-chaps { margin-top: 36px; padding: 0 16px; }
.story-chaps .chip small { opacity: .6; margin-left: 4px; font-size: .8em; }
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font-family: var(--serif); font-size: clamp(19px, 2vw, 23px); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--accent); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--muted); max-width: 720px; }
.faq details > div p { margin: 0 0 10px; line-height: 1.7; }
.legal { max-width: 780px; padding-bottom: 110px; line-height: 1.75; }
.legal h3 { font-family: var(--serif); font-size: 24px; margin: 34px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-links a { color: inherit; opacity: .75; }
.legal-links a:hover { opacity: 1; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.tm { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 16px; border: 1px solid var(--line); border-radius: 18px; }
.tm img, .tm span { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; }
.tm span { display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); font-family: var(--serif); font-size: 30px; }
.tm strong { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.tm small { color: var(--muted); }
.locs { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; align-items: center; margin-top: 60px; padding: 34px; border-radius: 22px; border: 1px solid var(--line); }
.locs p { color: var(--muted); margin: 8px 0 0; }
@media (max-width: 760px) { .locs { grid-template-columns: 1fr; padding: 24px; } }

/* phone header: keep the date button on one line next to the logo */
@media (max-width: 420px) {
  .nav { gap: 10px; }
  .nav-right .btn.nav-cta .cta-long { display: none; }
  .brand-name { font-size: 15.5px; }
}
@media (max-width: 700px) {
  .ba-tabs { flex-wrap: wrap; overflow: visible; gap: 8px; }
  .ba-tabs button { font-size: 12.5px; padding-right: 12px; }
  .ba-tabs button img { width: 30px; height: 30px; }
}

/* ============ Phone: tighter rhythm between sections ============ */
@media (max-width: 700px) {
  .section { padding-top: 30px; padding-bottom: 30px; }
  .section.wrap[style*="padding-top:0"], .section[style*="padding-top: 0"] { padding-top: 0 !important; }
  .section-head { margin-bottom: 22px; }
  .section-head h2 { margin-top: 8px; }
  .page-head { padding-top: 104px; padding-bottom: 24px; }
  #app > section.wrap:not(.section) { padding-bottom: 32px !important; }
  .locs { margin-top: 28px !important; }
  .films-band { padding-top: 34px; padding-bottom: 18px; }
  .rows { padding-top: 24px; padding-bottom: 8px; }
  .footer { padding-top: 44px; }
  .about-founder { margin-top: 12px; }
  #photographs { padding-top: 30px !important; }
}
.nav-cta { gap: 0; }
.nav-right .btn.nav-cta .cta-long { display: inline; white-space: pre; }
.nav-right .btn.nav-cta .cta-short { display: none; white-space: pre; }
@media (max-width: 420px) {
  .nav-right .btn.nav-cta .cta-long { display: none; }
  .nav-right .btn.nav-cta .cta-short { display: inline; }
}

/* ============ Sidebar "Book Now" button ============ */
@media (min-width: 1024px) {
  /* collapsed: a clean glowing button, no squashed photo */
  .rail-card, .rail-card:not(:hover) {
    height: 54px; margin-top: auto; overflow: hidden; flex-shrink: 0; border-radius: 16px;
    background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 100%, #fff 12%), color-mix(in srgb, var(--accent) 78%, #000 22%));
    box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 35%, transparent), inset 0 1px 0 rgba(255,255,255,.35);
    animation: saveGlow 3.2s ease-in-out infinite;
  }
  .rail-card .rail-card-img, .rail-card::after { opacity: 0; }
  .rail-card-mini {
    inset: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 7px; text-align: left;
    background: none; padding: 0; border-radius: 0; color: var(--accent-ink);
    font: 800 10px/1.15 var(--sans); letter-spacing: .14em;
  }
  .rail-card-mini svg { width: 20px; height: 20px; flex: none; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
  .rail-card:hover .rail-card-mini svg { transform: rotate(-8deg) scale(1.12); }
  /* soft light sweep across the button */
  .rail-card::before {
    content: ""; position: absolute; z-index: 3; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.38) 50%, transparent 65%);
    transform: translateX(-120%); animation: saveSheen 4.5s ease-in-out infinite;
  }
  @keyframes saveSheen { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
  @keyframes saveGlow {
    0%, 100% { box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 30%, transparent), inset 0 1px 0 rgba(255,255,255,.35); }
    50% { box-shadow: 0 10px 34px color-mix(in srgb, var(--accent) 60%, transparent), 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent), inset 0 1px 0 rgba(255,255,255,.35); }
  }

  /* expanded sidebar: the same button, wider, with the offer spelled out */
  .rail-card .rail-card-img, .rail-card .rail-card-txt, .rail-card::after { display: none; }
  .rail:hover .rail-card, .rail:focus-within .rail-card { height: 62px; }
  .rail:hover .rail-card-mini, .rail:focus-within .rail-card-mini { opacity: 1; justify-content: flex-start; padding: 0 16px; gap: 12px; }
  .rail-card-mini .mini-wide, .rail-card-mini .mini-arrow { display: none; }
  .rail:hover .rail-card-mini .mini-lbl, .rail:focus-within .rail-card-mini .mini-lbl { display: none; }
  .rail:hover .rail-card-mini .mini-wide, .rail:focus-within .rail-card-mini .mini-wide { display: grid; gap: 3px; letter-spacing: 0; text-transform: none; }
  .mini-wide b { font: 700 15px/1 var(--sans); }
  .mini-wide small { font: 600 11px/1 var(--sans); opacity: .75; letter-spacing: .04em; }
  .rail:hover .rail-card-mini .mini-arrow, .rail:focus-within .rail-card-mini .mini-arrow { display: block; margin-left: auto; font: 400 20px/1 var(--sans); font-style: normal; transition: transform .3s; }
  .rail-card:hover .mini-arrow { transform: translateX(4px); }
  .rail:hover .rail-card-mini svg, .rail:focus-within .rail-card-mini svg { width: 24px; height: 24px; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .rail-card, .rail-card:not(:hover) { height: 50px; }
}
@media (prefers-reduced-motion: reduce) { .rail-card, .rail-card::before { animation: none !important; } }
