/* Fonts: self-hosted Latin subsets of Google Fonts (Bodoni Moda, Italiana, Jost) */
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 500; font-display: swap; src: url('fonts/bodoni-moda-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/bodoni-moda-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Italiana'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/italiana-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('fonts/jost-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --black: #141212;
  --black-2: #1c1a19; /* alternate dark section surface */
  --ink: #221f1e;
  --text-soft: #d8d0c6; /* body text on black */
  --white: #fffbf7;
  --cream: #f7f0e6;
  --line: #e8dfd0;
  --pink: #f8aac0; /* Isis's glove; fills and text on black only */
  --pink-deep: #a8456a; /* same hue, for pink text on light backgrounds */
  --gold: #c8a24e;
  --gold-deep: #7d5f1f; /* small gold text on light backgrounds */
  --gold-rich: #9c7a2e; /* large gold text on light backgrounds (3:1+) */
  --gold-line: rgba(200,162,78,.25); /* hairlines and card borders on black */
  --pink-glow: rgba(248,170,192,.28);
  --gold-light: #e9d6a8;
  --grey: #8a8177;
  --grey-ink: #6e655c; /* small grey text on light backgrounds (5.5:1 on --white) */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; } /* gutter: no jump when the About pager locks scrolling */
html, body { overflow-x: hidden; overflow-x: clip; width: 100%; }
body {
  background: var(--black);
  color: var(--cream);
  font-family: 'Jost', -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
/* Skip link: off-screen until a keyboard user tabs to it; sits above the header and loader */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200; padding: 12px 18px;
  background: var(--black); color: var(--gold); border: 1px solid var(--gold);
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }
h1, h2, h3 { font-family: 'Bodoni Moda', serif; font-weight: 500; line-height: 1.15; }
section { padding: 110px 0; scroll-margin-top: 100px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sec-label {
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
  font-weight: 600; margin-bottom: 16px;
}
.btn {
  display: inline-block; padding: 15px 34px; background: var(--black); color: var(--gold);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--gold); transition: background .25s ease, color .25s ease, border-color .25s ease;
  cursor: pointer;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn-outline {
  display: inline-block; padding: 14px 32px; background: transparent; color: var(--black);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--black); transition: background .25s ease, color .25s ease;
}
.btn-outline:hover { background: var(--black); color: var(--white); }

/* ---------- Loader (Cadence "Gradient Text") ---------- */
/* Shown from the first paint only when JS runs; script.js plays it and removes it. The
   failsafe hides it after 9s if the script never finishes. */
.loader {
  --letter-step: 85ms; --letter-dur: 560ms; --letter-rise: .35em; --letter-blur: 8px;
  --letter-ease: cubic-bezier(.22, 1, .36, 1); --settle-dur: 700ms;
  position: fixed; inset: 0; z-index: 150; display: none; background-color: var(--black);
  transition: background-color .7s ease, opacity .5s ease;
}
@media (scripting: enabled) {
  .loader { display: block; animation: loader-failsafe .4s ease 9s forwards; }
  html.is-loading { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .loader { display: none !important; } }
html.loader-seen .loader { display: none !important; } /* already played this session (loader-gate.js) */
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }
.loader.is-revealing { background-color: transparent; }
/* Full-screen layer so script.js can mask the letters with Isis's (and the props') cut-out at reveal */
.loader-letters { position: absolute; inset: 0; }
.loader.is-done { opacity: 0; }
/* Same face, size and baseline as the hero's SVG text; script.js sets font-size, left and top */
.loader-mark {
  position: absolute; left: 0; top: 0; margin: 0; white-space: nowrap;
  font-family: 'Italiana', serif; font-weight: 400; line-height: normal; letter-spacing: 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  visibility: hidden; /* until place() puts it on the wordmark: painting it at 0,0 first was a layout shift */
}
.loader-mark.is-placed { visibility: visible; }
/* Letters arrive in solid gold, each rising out of a blur */
.loader-letter {
  display: inline-block; color: var(--gold); -webkit-text-fill-color: var(--gold);
  opacity: 0; transform: translateY(var(--letter-rise)); filter: blur(var(--letter-blur));
  transition: opacity var(--letter-dur) ease, transform var(--letter-dur) var(--letter-ease), filter var(--letter-dur) ease;
  transition-delay: calc(var(--i) * var(--letter-step));
}
.loader-mark.is-lit .loader-letter { opacity: 1; transform: none; filter: none; }
.loader-word { white-space: nowrap; }
.loader-base { display: inline-block; width: 0; height: 0; } /* baseline marker for alignment */
/* Handover: the paragraph paints the wordmark's gold gradient through the text; the letters'
   solid fill fades off on top of it. Letters must stay at opacity 1 with no transform or
   filter here, or they become their own layer and drop out of the background clip. */
.loader-mark.is-clipped {
  background-image: linear-gradient(100deg, transparent 42%, rgba(255,248,230,.55) 50%, transparent 58%),
    linear-gradient(180deg, #d9bc78 0%, #b8913f 55%, #8a6a24 100%);
  background-size: 300% 100%, 100% 100%; background-position: 100% 0, 0 0; background-repeat: no-repeat;
  animation: loader-sheen 1.6s cubic-bezier(.45, 0, .25, 1) .3s forwards;
}
@keyframes loader-sheen { to { background-position: 0% 0, 0 0; } }
.loader-mark.is-clipped .loader-letter {
  color: transparent; -webkit-text-fill-color: transparent; opacity: 1; transform: none; filter: none;
  transition: color var(--settle-dur) ease, -webkit-text-fill-color var(--settle-dur) ease;
}

/* ---------- Nav ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  /* Same frosted glass as the hero card; dark glass once the page below is black */
  background: rgba(20,18,18,.62);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: background-color .3s ease;
}
/* The nav reads as a stripe: gold hairlines above and below the row */
header::before, header::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px; background: var(--gold);
}
header::before { top: 8px; }
header::after { bottom: 8px; }
/* Over the hero scene the bar is see-through; script.js drops the class once the hero has scrolled past */
header.over-hero { background: rgba(255,251,247,.62); }
.nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 100px;
}
.nav-links { grid-column: 1; justify-self: start; display: flex; gap: 30px; align-items: center; }
.logo-link { grid-column: 2; justify-self: center; }
.logo-link img { height: 68px; width: auto; }
.nav-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 16px; }
.nav-links a {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: var(--cream); transition: color .2s ease; position: relative;
}
.nav-links a:hover { color: var(--pink); }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; background: none; border: 0; color: var(--cream); font-size: 24px; cursor: pointer; }
header.over-hero .nav-links a, header.over-hero .menu-toggle { color: var(--ink); }
header.over-hero .nav-links a:hover { color: var(--pink-deep); }

/* ---------- Hero ---------- */
/* Pinned layered scene: the section is taller than the screen and the stage sticks while
   script.js drives each layer from scroll progress (and the cursor on desktop). */
.hero { height: 300vh; padding: 0; background: var(--cream); }
.hero-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
}
/* All layers share the 16:9 frame, cover-fit and bottom-anchored, so they line up at any size */
.hero-layer {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 100%;
  transform-origin: 50% 100%; will-change: transform;
}
.hero-wall { transform: scale(1.04); transform-origin: 50% 50%; }
.hero-front { transform: scale(1.04); }
/* Wordmark sits behind the props and Isis; its box ends at the text baseline so it sinks out of view */
.hero-mark { position: absolute; overflow: hidden; pointer-events: none; }
/* Hidden until heroLayout() places it, so the first paint can't show it at the wrong size (layout shift) */
@media (scripting: enabled) { .hero-mark { visibility: hidden; } }
.hero-mark svg { display: block; width: 100%; height: 100%; overflow: visible; will-change: transform; }
.hero-mark text { font-family: 'Italiana', serif; font-size: 100px; }
.hero-card {
  position: absolute; left: 56px; bottom: 56px; max-width: 450px; padding: 30px 32px 32px;
  /* Glass over the window and flowers on the left; denser on the right, where Isis's black
     blazer reaches under the card at many sizes and the blur would turn it grey */
  background: linear-gradient(90deg, rgba(255,251,247,.7) 0%, rgba(255,251,247,.94) 60%); border-top: 3px solid var(--pink);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  will-change: opacity, transform;
}
.hero-kicker {
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep);
  font-weight: 600; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(34px, 3.4vw, 48px); color: var(--black); }
.hero h1 em { font-style: italic; color: var(--gold-rich); }
.hero-card p:not(.hero-kicker) { margin: 14px 0 24px; font-size: 15px; color: var(--ink); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero-stage { position: relative; }
}

/* ---------- Intro ---------- */
.intro { text-align: center; padding: 60px 0 110px; }
.intro .wrap { max-width: 760px; }
.intro h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 22px; }
.intro p:not(.sec-label) { color: var(--text-soft); font-size: 16.5px; }
.intro .ig-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--pink); border-bottom: 1px solid var(--pink); padding-bottom: 3px; }

/* ---------- Section divider (from Glam Studios): rule, sparkle, rule, straddling the seam ---------- */
.divider {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 16px;
  max-width: 1200px; height: 18px; margin: -9px auto; padding: 0 24px; color: var(--gold);
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: currentColor; }
.divider svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Services ---------- */
.services { background: var(--black-2); }
.services-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.services-head h2 { font-size: clamp(30px, 4.5vw, 44px); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-bottom: 56px; }
.svc-card {
  background: var(--black); border: 1px solid var(--gold-line); border-top: 3px solid var(--pink); padding: 42px 30px; text-align: center;
  position: relative; transition: transform .3s ease, box-shadow .3s ease;
  /* Subgrid: title, price and text share rows across the cards in a row,
     so a title that wraps to two lines doesn't push its price below the others */
  display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(20,18,18,.08); }
.svc-card h3 { font-size: 24px; margin-bottom: 12px; }
.svc-card .price { font-family: 'Bodoni Moda', serif; font-size: 34px; color: var(--gold); margin-bottom: 14px; }
.svc-card p { font-size: 14px; color: var(--grey); }

.ala-carte { border-top: 1px solid var(--gold-line); padding-top: 44px; }
.ala-carte-2 { margin-top: 44px; }
.ala-carte h4 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); margin-bottom: 24px; font-weight: 700; text-align: center; }
.menu-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.menu-row { display: flex; align-items: baseline; gap: 10px; }
.menu-row .name { font-size: 16px; }
.menu-row .name .note { display: block; font-size: 12px; color: var(--grey); font-style: italic; margin-top: 2px; }
.menu-row .leader { flex: 1; border-bottom: 1px dotted var(--grey); position: relative; top: -5px; }
.menu-row .amt { font-family: 'Bodoni Moda', serif; font-size: 18px; font-weight: 600; white-space: nowrap; color: var(--gold); }

/* ---------- Gallery ---------- */
/* ---------- About: opposing pager (Cadence "Opposing Pager", Kendal values) ---------- */
/* A framed box the size of the old About (content width, ~700px tall). script.js locks page
   scroll while the box is centred and turns wheel, touch and arrow keys into page steps.
   Cadence's white becomes black, greys become gold. */
.about { background: var(--black); }
.op-stage {
  --ease: cubic-bezier(.16, 1, .3, 1);
  --hero-dur: 950ms;   /* shared image expand */
  --reveal-dur: 820ms; /* black block slides over the left half */
  --pv-dur: 1725ms;    /* page push */
  --fade-dur: 720ms;   /* each text block */
  --frame-h: clamp(600px, 78vh, 720px);
  --inset-x: clamp(24px, 4vw, 56px);
  --inset-y: 2.4rem;
  --pad-left: var(--inset-x);
  --name-step: calc(var(--frame-h) * .2);
  --thumb-w: min(40vw, var(--frame-h) * .82 * 3 / 4);
  --thumb-h: calc(var(--thumb-w) * 4 / 3);
  position: relative; height: var(--frame-h);
  /* clip, not hidden: a hidden overflow is a scroll container and would swallow the wheel
     before the page can scroll into the lock */
  overflow: clip; color: var(--cream);
}
.op-split { display: flex; width: 100%; height: 100%; }
.op-panel { position: relative; flex: 0 0 50%; width: 50%; height: 100%; overflow: hidden; }

/* Entry: the name, framed by two hairlines */
.op-name { position: absolute; top: 50%; left: var(--pad-left); white-space: nowrap; transform: translateY(-50%); }
.op-name__title, .op-title__text {
  display: block; font-family: 'Bodoni Moda', serif; font-weight: 400; line-height: 1.02;
  font-size: clamp(2.4rem, 3.8vw, 3.6rem); letter-spacing: -.01em;
}
.op-name__tag, .op-tag {
  display: block; margin-top: 1.1rem; font-weight: 600; font-size: .75rem;
  letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
}
.op-hairline {
  position: absolute; left: var(--pad-left); width: min(21rem, 100% - var(--pad-left) - 24px);
  height: 1px; background: var(--gold-line);
}
.op-hairline--top { top: calc(50% - var(--name-step) * .7); }
.op-hairline--bottom { top: calc(50% + var(--name-step) * .7); }

/* Entry: the thumbnail, the shared element that grows into the right half */
.op-thumb {
  position: absolute; top: 50%; left: 50%; width: var(--thumb-w); height: var(--thumb-h);
  transform: translate(-50%, -50%); overflow: hidden; padding: 0; border: 0; background: var(--black-2);
  cursor: pointer; will-change: top, left, width, height;
}
.op-thumb--slot { visibility: hidden; pointer-events: none; }
.op-thumb img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; transition: transform 600ms var(--ease); }
.op-thumb:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.op-thumb__overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(20,18,18,.18); opacity: 0; pointer-events: none; transition: opacity 450ms var(--ease);
}
.op-thumb__plus { position: relative; width: 40px; height: 40px; }
.op-thumb__plus::before, .op-thumb__plus::after { content: ''; position: absolute; background: var(--cream); }
.op-thumb__plus::before { top: 0; left: 50%; width: 1.5px; height: 100%; transform: translateX(-50%); }
.op-thumb__plus::after { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
@media (hover: hover) {
  .op-thumb.is-current:hover img { transform: scale(1.05); }
  .op-thumb.is-current:hover .op-thumb__overlay { opacity: 1; }
}
.op-thumb:not(.is-current) { cursor: default; }

/* Page 0: the black block over the left half */
.op-page {
  position: absolute; top: 0; left: 0; width: 50%; height: 100%; z-index: 15; background: var(--black);
  transform: translateY(-100%); transition: transform var(--reveal-dur) var(--ease); pointer-events: none;
}
.op-stage.is-open .op-page { transform: translateY(0); }
.op-page__inner { position: absolute; inset: 0; }
/* Without JS nothing opens, so show the bio next to the photo */
@media (scripting: none) { .op-page { transform: none; } }
.op-title { position: absolute; top: 44px; left: var(--inset-x); right: var(--inset-x); }
.op-title .op-tag { margin: 0 0 1.1rem; }
.op-sections { position: absolute; left: var(--inset-x); right: var(--inset-x); bottom: var(--inset-y); }
.op-section { width: 22rem; max-width: 32vw; padding-bottom: 1.7rem; border-bottom: 1px solid var(--gold-line); }
.op-section + .op-section { margin-top: 2.5rem; }
/* Short frames keep one section so the title never meets them */
@media (max-height: 820px) { .op-section:nth-child(2) { display: none; } }
@media (scripting: enabled) {
  .op-reveal { opacity: 0; transform: translateY(8px); transition: opacity var(--fade-dur) var(--ease), transform var(--fade-dur) var(--ease); }
  .op-reveal.is-in { opacity: 1; transform: none; }
}
.op-section__head {
  margin-bottom: 1.1rem; font-family: 'Jost', sans-serif; font-weight: 600; font-size: .75rem;
  line-height: 1.4; letter-spacing: .26em; text-transform: uppercase; color: var(--gold);
}
.op-section__body { font-size: .9rem; line-height: 1.7; color: var(--text-soft); }

/* Paging layer: two tracks of half-panels that push in opposite directions */
.op-pv { position: absolute; inset: 0; z-index: 16; opacity: 0; pointer-events: none; transition: opacity 350ms var(--ease); }
.op-pv.is-shown { opacity: 1; pointer-events: auto; }
.op-track { position: absolute; top: 0; width: 50%; height: 100%; overflow: hidden; }
.op-track--left { left: 0; }
.op-track--right { left: 50%; }
.op-pv-panel {
  position: absolute; inset: 0; overflow: hidden; background: var(--black);
  transition: transform var(--pv-dur) var(--ease); will-change: transform;
}
.op-pv-image img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.op-pv-figure { display: flex; align-items: center; justify-content: center; }
.op-pv-figure img {
  width: auto; height: 58%; max-width: calc(100% - 48px); aspect-ratio: 3 / 4; object-fit: cover;
  border: 1px solid var(--gold-line); -webkit-user-drag: none;
}
.op-pv-quote { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 7vw; text-align: center; }
.op-pv-quote__name { margin-bottom: 1.9rem; font-weight: 600; font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.op-pv-quote__text { max-width: 24rem; font-family: 'Bodoni Moda', serif; font-style: italic; font-size: clamp(1.25rem, 1.8vw, 1.7rem); line-height: 1.5; }
.op-credits {
  position: absolute; left: var(--inset-x); right: var(--inset-x); bottom: var(--inset-y);
  width: 22rem; max-width: calc(100% - 2 * var(--inset-x)); margin: 0;
}
.op-credits__row { display: flex; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--gold-line); }
.op-credits dt { font-weight: 600; font-size: .75rem; line-height: 1.9; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.op-credits dd { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--text-soft); text-align: right; }
/* Coming back up from the portfolio, the pager appears already open on its last page */
.op-stage.op-instant, .op-stage.op-instant * { transition: none !important; }

/* Phones and tall portrait screens: the halves stack, new pages open from the seam */
@media (max-width: 600px), (max-aspect-ratio: 4/5) {
  .op-stage { --frame-h: clamp(600px, 80svh, 720px); --inset-y: 1.4rem; --inset-x: 20px; --thumb-w: calc(var(--frame-h) * .5 * .8 * 3 / 4); }
  .op-split { flex-direction: column; }
  .op-panel { flex: 0 0 50%; width: 100%; height: 50%; }
  .op-name { top: 58%; }
  .op-name__title, .op-title__text { font-size: clamp(1.9rem, 7vw, 3.2rem); }
  .op-hairline--top { top: calc(58% - var(--name-step) * .62); }
  .op-hairline--bottom { top: calc(58% + var(--name-step) * .62); }
  .op-page { width: 100%; height: 50%; }
  .op-title { top: 22px; }
  .op-section { width: auto; max-width: 30rem; padding-bottom: 1.2rem; }
  .op-section + .op-section { margin-top: 1.6rem; }
  .op-section:not(:first-child) { display: none; }
  .op-track { width: 100%; height: 50%; }
  .op-track--right { left: 0; top: 50%; }
  .op-pv-quote { padding: 0 48px; }
  .op-pv-quote__name { margin-bottom: 1.2rem; }
  .op-pv-quote__text { font-size: clamp(1.1rem, 4.6vw, 1.7rem); }
  .op-credits { width: auto; }
  .op-credits__row { padding: .6rem 0; }
}
/* Stacked halves are wide and short, so a centred crop of these 2:3 portraits cuts her head
   off. --head is where the window should start (measured hair top minus a little headroom, as
   a fraction of the photo's height); the crop is computed from the box's real size with
   container units: image height = 150cqw, never past the photo's bottom (100cqh - 150cqw). */
.op-stage img[src$="isis-1.webp"] { --head: .17; }
.op-stage img[src$="isis-2.webp"], .op-stage img[src$="isis-5.webp"] { --head: .05; }
.op-stage img[src$="isis-3.webp"] { --head: .10; }
.op-stage img[src$="isis-4.webp"] { --head: .18; }
@media (max-width: 600px), (max-aspect-ratio: 4/5) {
  .op-thumb, .op-pv-image { container-type: size; }
  .op-thumb img, .op-pv-image img { object-position: 50% max(100cqh - 150cqw, min(0px, var(--head, 0) * -150cqw)); }
  /* Title and text are a normal column here, so they can never overlap at any height */
  .op-page__inner, .op-pv-details {
    display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
    padding: 22px var(--inset-x) var(--inset-y);
  }
  .op-page__inner .op-title, .op-page__inner .op-sections, .op-pv-details .op-title, .op-pv-details .op-credits { position: static; }
  .op-pv-details .op-credits { width: auto; max-width: none; }
}
/* Short phones (the frame bottoms out at 600px, so each half is ~300px): tighten the text so
   the title never meets the section or the details list */
@media (max-width: 600px) and (max-height: 780px) {
  .op-title .op-tag { display: none; }
  .op-sections { bottom: 1.2rem; }
  .op-section { padding-bottom: .9rem; }
  .op-section__head { margin-bottom: .6rem; }
  .op-section__body { font-size: .8rem; line-height: 1.55; }
  .op-credits { bottom: 1.2rem; }
  .op-credits__row { padding: .45rem 0; }
  .op-credits dd { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .op-stage { --hero-dur: 1ms; --reveal-dur: 1ms; --pv-dur: 1ms; --fade-dur: 1ms; }
  .op-thumb img, .op-pv { transition-duration: 1ms; }
}

/* ---------- Work Gallery ---------- */
.work-gallery { background: var(--black-2); }
.work-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.work-head h2 { font-size: clamp(30px, 4.5vw, 44px); }
/* Fade-up grid (Cadence "Fade-up Grid"): 4 columns, 2 under 960px; 8 photos fill every row */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.2vw, 28px); }
.work-card {
  --stagger: 0s;
  aspect-ratio: 3 / 4; overflow: hidden; background: var(--black); border: 1px solid var(--gold-line);
}
.work-card img { width: 100%; height: 100%; object-fit: cover; }
.work-card img[src$="work-6.webp"] { object-position: 10% 50%; }
/* Hidden start state only when JS runs, so the photos never stay invisible without it */
@media (scripting: enabled) {
  .work-card {
    opacity: 0; transform: translateY(24px);
    transition: opacity .7s ease var(--stagger), transform .7s ease var(--stagger);
  }
  .work-card.is-in { opacity: 1; transform: none; }
}
/* A row crosses the observer threshold together, so the delay follows the column */
.work-card:nth-child(4n + 2) { --stagger: .1s; }
.work-card:nth-child(4n + 3) { --stagger: .2s; }
.work-card:nth-child(4n + 4) { --stagger: .3s; }
@media (max-width: 960px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card:nth-child(n) { --stagger: 0s; }
  .work-card:nth-child(2n) { --stagger: .1s; }
}
@media (prefers-reduced-motion: reduce) {
  .work-card:nth-child(n) { --stagger: 0s; }
  .work-card { transition: opacity .2s linear; transform: none; }
}

/* ---------- Booking ---------- */
.booking { background: var(--black); }
.booking-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
.booking-grid > * { min-width: 0; }
.booking-info h2 { font-size: clamp(30px, 4.5vw, 44px); margin-bottom: 20px; }
.booking-info p:not(.sec-label) { color: var(--text-soft); font-size: 15.5px; margin-bottom: 16px; }
.booking-info .contact-line { display: flex; gap: 12px; margin-top: 26px; font-size: 14px; }
.booking-info .contact-line strong { min-width: 60px; display: inline-block; font-weight: 600; }

form.booking-form { background: var(--white); padding: 44px; border: 1px solid var(--line); min-width: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; min-width: 0; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; min-width: 0; }
.form-row .form-group { margin-bottom: 0; }
.form-group label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; min-width: 0; box-sizing: border-box;
  font-family: 'Jost', sans-serif; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line);
  background: var(--white); color: var(--black); outline: none; transition: border-color .2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold-deep); }
.form-group input:focus-visible, .form-group select:focus-visible, .form-group textarea:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.form-group textarea { resize: vertical; min-height: 100px; }
.booking-form .btn { width: 100%; padding: 16px; font-size: 13px; }
.form-note { font-size: 12px; color: var(--grey-ink); margin-top: 14px; text-align: center; }
/* Formspree honeypot: off-screen, bots fill it, people never see it */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 16px; font-size: 14px; padding: 12px 14px; display: none; }
.form-msg.show { display: block; }
.form-msg.success { background: #e8f5ea; color: #256b34; border: 1px solid #bfe3c4; }
.form-msg.error { background: #fdeaea; color: #a32222; border: 1px solid #f3c6c6; }

/* ---------- Footer ---------- */
footer { background: var(--black); color: var(--white); padding: 60px 0 30px; border-top: 1px solid var(--gold-line); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.foot-brand img { height: 64px; width: auto; display: block; margin-bottom: 20px; }
.foot-brand p { color: #b4aca1; font-size: 14px; max-width: 280px; }
.foot h3 { font-family: inherit; line-height: inherit; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; font-weight: 700; }
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.foot ul a, .foot ul span { font-size: 14.5px; color: #d8d0c6; }
.foot ul a:hover { color: var(--pink); }
.foot-bottom {
  border-top: 1px solid #322d2a; padding-top: 26px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 14px; font-size: 12px; letter-spacing: .1em; color: #8a8177;
}
.foot-ig { display: inline-flex; align-items: center; gap: 8px; color: #d8d0c6; transition: color .2s ease; }
.foot-ig:hover { color: var(--pink); }

/* ---------- Cursor (from Glam Studios): gold dot + trailing ring ---------- */
.cursor { position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: 0; transition: opacity .3s ease; }
.cursor.is-visible { opacity: 1; }
.cursor-dot, .cursor-ring { position: absolute; top: 0; left: 0; border-radius: 50%; }
.cursor-dot {
  width: 6px; height: 6px; background: var(--gold);
  translate: calc(var(--x, -100px) - 50%) calc(var(--y, -100px) - 50%);
  transition: transform .35s ease;
}
.cursor-ring {
  width: 56px; height: 56px; border: 1px solid var(--gold);
  translate: calc(var(--rx, -100px) - 50%) calc(var(--ry, -100px) - 50%);
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), background-color .3s ease;
}
.cursor.is-hover .cursor-dot { transform: scale(.5); }
.cursor.is-hover .cursor-ring { transform: scale(1.4); background-color: var(--pink-glow); }
.cursor.is-down .cursor-ring { transform: scale(.85); }
.has-cursor, .has-cursor * { cursor: none; }
.has-cursor :is(input, textarea, select) { cursor: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .booking-grid { grid-template-columns: 1fr; gap: 44px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-card { left: 32px; bottom: 32px; }
}
@media (max-width: 640px) {
  section { padding: 72px 0; }
  .nav { display: flex; justify-content: space-between; align-items: center; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .logo-link img { height: 44px; }
  .nav-right { gap: 12px; }
  .nav-right .btn { padding: 14px 18px; font-size: 12px; letter-spacing: .12em; white-space: nowrap; }
  .nav-links.open {
    display: flex; position: absolute; top: 88px; left: 0; right: 0; width: 100%;
    flex-direction: column; align-items: center; text-align: center;
    background: var(--black);
    border-bottom: 1px solid var(--gold-line); box-shadow: 0 14px 28px rgba(20,18,18,.1);
    padding: 24px; gap: 20px; z-index: 50;
  }
  header.over-hero .nav-links.open a { color: var(--cream); }
  /* Full width over the blazer: one dense fill */
  .hero-card { left: 16px; right: 16px; bottom: 16px; max-width: none; padding: 20px 20px 22px; text-align: center; background: rgba(255,251,247,.9); }
  /* No room above the lamp on phones, so the wordmark comes in front of the props (still behind Isis) */
  .hero-mark { z-index: 1; }
  .hero-isis, .hero-front, .hero-card { z-index: 2; }
  /* Phones: wording only. Book and the menu stay in the nav, so the card shrinks and Isis shows */
  .hero-card p:not(.hero-kicker), .hero-ctas { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  form.booking-form { padding: 28px 22px; }
}

/* ---------- Subpages (privacy.html, 404.html): no script, static header ---------- */
.subpage { min-height: 100vh; display: flex; flex-direction: column; }
header.subpage-head {
  position: relative; background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  padding: 24px 0; /* keeps the gold hairlines inside the header, as on the home page */
}
.subpage-head .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.subpage-logo img { height: 60px; width: auto; }
.subpage .btn-outline { color: var(--cream); border-color: var(--gold); }
.subpage .btn-outline:hover { background: var(--gold); color: var(--black); }
.subpage main { flex: 1; padding-block: 72px 96px; }
.prose { max-width: 728px; color: var(--text-soft); }
.prose h1 { font-size: clamp(36px, 6vw, 54px); color: var(--cream); margin-bottom: 12px; }
.prose h2 { font-size: 24px; color: var(--cream); margin: 44px 0 12px; }
.prose p { font-size: 16px; margin-bottom: 14px; }
.prose a:not(.btn) { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.prose a:not(.btn):hover { color: var(--pink); }
.prose .updated { color: var(--grey); font-size: 14px; margin-bottom: 32px; }
.not-found-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.foot-bottom a:hover { color: var(--pink); }
.subpage footer { padding-top: 0; }

/* Touch screens (phones and tablets): 44px tap targets for the text links */
@media (pointer: coarse) {
  .nav-links a, .foot ul a, .foot-bottom a, .booking-info .contact-line a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot ul { gap: 0; }
  .booking-info .contact-line { align-items: center; margin-top: 8px; }
  .intro .ig-link { padding-top: 21px; margin-top: 3px; }
}
