/* The Goat Productions — public site styles.
   PROVISIONAL DESIGN ("Darkroom"): colors and fonts below are a working proposal,
   pulled from the TGP logo (heavy condensed caps + warm neon gold). Change the tokens
   in :root and the whole site follows. Nothing here is final until Brayden signs off. */

@font-face { font-family: 'Anton'; src: url('/fonts/anton-latin.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-latin-var.woff') format('woff'); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }

:root {
  /* color */
  --bg: #17130f;          /* darkroom brown-black */
  --bg-2: #201b16;        /* raised surfaces */
  --bg-3: #2b241d;
  --field: #110e0b;       /* inputs */
  --line: #3d342b;
  --line-2: #574a3d;
  --text: #f2ebe0;        /* warm paper white */
  --muted: #ab9f90;
  --gold: #f0c062;        /* logo neon */
  --gold-hi: #ffd68a;
  --on-gold: #1d1508;
  --danger: #ff9b8a;

  /* type */
  --font-display: 'Anton', 'Impact', 'Haettenschweiler', 'Arial Narrow Bold', 'DejaVu Sans Condensed', sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(2rem, 4.2vw, 3.25rem);
  --step-4: clamp(2.5rem, 6vw, 4.75rem);
  --step-5: clamp(3rem, 6.2vw, 6.25rem);

  /* layout */
  --wrap: 1260px;
  --gutter: clamp(16px, 4vw, 40px);
  --space-section: clamp(64px, 9vw, 128px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.narrow-left > * { max-width: 760px; }

/* ---------- type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: var(--step-5);
  line-height: 0.94;
  letter-spacing: 0.004em;
}
.display-sm { font-size: var(--step-4); }
.h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--step-3); line-height: 1; letter-spacing: 0.01em; }
.h3 { font-size: var(--step-2); font-weight: 700; line-height: 1.2; font-stretch: 92%; }
.h4 { font-size: var(--step-1); font-weight: 700; line-height: 1.25; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--text); max-width: 60ch; }
.note { color: var(--muted); font-size: var(--step--1); }
.text-link { font-weight: 600; }
.price { font-variant-numeric: tabular-nums; color: var(--gold); font-weight: 600; white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  font: 700 0.95rem/1 var(--font-body); font-stretch: 95%;
  text-decoration: none; border: 1.5px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s;
}
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-hi); color: var(--on-gold); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 0.875rem; }
.btn[disabled] { opacity: .55; cursor: progress; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav ul a { text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav ul a[aria-current] { border-bottom-color: var(--gold); }
.nav-actions { display: flex; gap: 10px; }
.nav-actions .btn { min-height: 40px; padding: 8px 16px; font-size: 0.875rem; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; background: transparent; border: 1px solid var(--line-2); border-radius: 2px; color: var(--text); cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
  .bars::before, .bars::after { content: ''; position: absolute; left: 0; }
  .bars::before { top: -6px; } .bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    display: none; position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg);
    flex-direction: column; align-items: stretch; padding: 24px var(--gutter); gap: 24px; overflow-y: auto;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: 2.25rem; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .site-nav ul a[aria-current] { color: var(--gold); border-bottom-color: var(--line); }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { min-height: 52px; font-size: 1rem; }
  .brand img { height: 40px; }
}

/* ---------- sections ---------- */
.section { padding: var(--space-section) 0; }
.section-tight { padding: clamp(32px, 5vw, 64px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; }
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); }
.page-head .lede { margin-top: 20px; }
.page-head-tight { padding-bottom: 8px; }
.crumb { margin-bottom: 14px; font-size: var(--step--1); color: var(--muted); }

/* ---------- hero ---------- */
/* Headline + intro on the left; on the right one large vertical frame with two
   smaller frames stacked beside it, like a contact sheet of the three kinds of work. */
.hero { padding: clamp(32px, 4.5vw, 64px) 0 clamp(48px, 6vw, 88px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas: "head frames" "copy frames"; gap: 28px clamp(32px, 5vw, 80px); align-items: start;
}
.hero-h { grid-area: head; font-size: clamp(3rem, 6.1vw, 6rem); }
.hero-copy { grid-area: copy; align-self: end; }
.hero-copy .lede { color: var(--muted); margin: 0; }
.hero-frames { grid-area: frames; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: clamp(8px, 1vw, 12px); }
.hero-frame { margin: 0; aspect-ratio: 9 / 16; overflow: hidden; background: var(--bg-2); border-radius: 2px; }
.hero-frame:first-child { grid-row: 1 / span 2; aspect-ratio: auto; }
.hero-frame img, .hero-frame .placeholder { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "head" "copy" "frames"; }
  .hero-h { font-size: clamp(2.75rem, 11vw, 4.5rem); }
}

/* ---------- two ways ---------- */
.ways .h2 { margin-bottom: 40px; }
.ways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.way { display: flex; flex-direction: column; gap: 16px; }
.way > p { color: var(--muted); max-width: 52ch; }
.way .btn { align-self: flex-start; margin-top: 8px; }
.way-book { background: var(--bg-2); border-top: 3px solid var(--gold); padding: clamp(24px, 3vw, 40px); }
.way-quote { padding: clamp(24px, 3vw, 40px) 0; border-top: 3px solid var(--line-2); }
.price-list { border-top: 1px solid var(--line); margin-bottom: 8px; }
.price-list a { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.price-list a:hover span:first-child { color: var(--gold-hi); }
.quote-groups { margin: 0 0 8px; border-top: 1px solid var(--line); }
.quote-groups > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.quote-groups dt { font-weight: 700; }
.quote-groups dd { margin: 0; color: var(--muted); }
@media (max-width: 860px) {
  .ways-grid { grid-template-columns: 1fr; }
  .quote-groups > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.2vw, 16px); }
.work-grid .work-tile img, .work-grid .placeholder { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.work-tile { display: block; text-decoration: none; overflow: hidden; }
.work-tile img { transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .3s; background: var(--bg-2); }
.work-tile:hover img { transform: scale(1.025); }
.work-meta { display: block; padding: 10px 0 0; font-size: var(--step--1); color: var(--muted); }
@media (max-width: 860px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }

.filters { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; }
.filters a { text-decoration: none; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; color: var(--muted); }
.filters a:hover { color: var(--text); }
.filters a[aria-current] { color: var(--text); border-bottom-color: var(--gold); }

.masonry { columns: 4 240px; column-gap: clamp(8px, 1.2vw, 16px); }
.masonry-item { break-inside: avoid; margin-bottom: clamp(16px, 2vw, 28px); }
.masonry .work-tile img { width: 100%; }
.video-tile { margin: 0; }
.video-tile figcaption { padding-top: 10px; font-size: var(--step--1); color: var(--muted); }
.video-facade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: var(--bg-3); cursor: pointer; overflow: hidden; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; }
.video-facade .play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: var(--gold); }
.video-facade .play::after { content: ''; position: absolute; left: 27px; top: 21px; border-left: 20px solid var(--on-gold); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.video-facade.is-vertical, .video-frame.is-vertical, .tile-video.is-vertical { aspect-ratio: 9 / 16; }
.tile-video { width: 100%; aspect-ratio: 16 / 9; background: var(--bg-3); }

.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 16px;
  width: 100%; border: 1.5px dashed var(--line-2); color: var(--muted);
  background: repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--line) 35%, transparent) 14px 15px);
}
.placeholder span { font-size: 0.75rem; letter-spacing: 0.04em; }
.placeholder strong { color: var(--text); font-weight: 600; font-size: var(--step--1); }

/* lightbox */
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(10, 8, 6, .96); color: var(--text); }
.lightbox::backdrop { background: rgba(10, 8, 6, .9); }
.lightbox figure { margin: 0; height: 100%; display: grid; place-items: center; padding: 56px 16px; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; max-width: 100%; object-fit: contain; }
.lightbox figcaption { margin-top: 12px; color: var(--muted); font-size: var(--step--1); text-align: center; }
.lb-btn { position: absolute; background: rgba(0,0,0,.4); color: var(--text); border: 1px solid var(--line-2); width: 48px; height: 48px; font-size: 1.5rem; cursor: pointer; border-radius: 2px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- contact band ---------- */
.contact-band { background: var(--bg-2); }
.contact-band-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; }
.contact-lines li { border-bottom: 1px solid var(--line); }
.contact-lines a, .contact-lines > li > span:not(.cl-label) {
  display: block; padding: 10px 0; text-decoration: none;
  font-family: var(--font-display); font-size: clamp(1.75rem, 3.4vw, 3rem); line-height: 1.15; letter-spacing: 0.01em; overflow-wrap: break-word;
}
.contact-lines a:hover { color: var(--gold); }
@media (max-width: 860px) { .contact-band-grid { grid-template-columns: 1fr; } }

/* ---------- services ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; }
.jump a { font-weight: 600; text-decoration: none; color: var(--muted); }
.jump a:hover { color: var(--text); }
.svc-group .h2 { margin-bottom: 20px; }
.svc-list { border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px 48px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.svc-main p { margin: 8px 0 0; color: var(--muted); max-width: 60ch; }
.svc-main .note { margin-top: 6px; }
.svc-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pkg-list { width: 100%; }
.pkg-list li { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; }
.price-solo { margin: 0; }
.kind { display: inline-block; margin-top: 6px; font-size: 0.8125rem; color: var(--muted); }
.kind::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; border: 1.5px solid var(--muted); vertical-align: 0; }
.kind-book { color: var(--gold); }
.kind-book::before { background: var(--gold); border-color: var(--gold); }
.policy-list > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.policy-list dt { font-weight: 700; }
.policy-list dd { margin: 4px 0 0; color: var(--muted); }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }

/* ---------- book index ---------- */
.book-group + .book-group { margin-top: 48px; }
.book-group .h3 { margin-bottom: 16px; }
.book-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.book-card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px; background: var(--bg-2); border: 1px solid var(--line); text-decoration: none; border-radius: 3px; transition: border-color .15s; }
.book-card:hover { border-color: var(--gold); color: inherit; }
.book-card-name { font-weight: 700; font-size: var(--step-1); line-height: 1.25; }
.book-card-sum { color: var(--muted); font-size: 0.95rem; }
.book-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; }
.book-card-go { font-weight: 700; font-size: var(--step--1); }
.book-card:hover .book-card-go { color: var(--gold); }
.book-card-muted { background: transparent; border-style: dashed; }
.book-card-muted .price { color: var(--muted); }

/* ---------- forms ---------- */
.step { border: 0; margin: 0 0 clamp(32px, 4vw, 48px); padding: 0; min-width: 0; }
.step[disabled] { opacity: .45; }
.step-title { display: flex; align-items: center; gap: 12px; font-size: var(--step-2); font-weight: 700; margin-bottom: 20px; padding: 0; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-size: 1rem; font-weight: 800; flex: none; }
.step[disabled] .step-n { background: var(--line-2); color: var(--text); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; max-width: 900px; }
.field-wide { grid-column: 1 / -1; }
@media (max-width: 700px) { .field-grid { grid-template-columns: 1fr; } }
.field label, .stack-form label:not(.check) { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.hint { margin: 6px 0 0; font-size: var(--step--1); color: var(--muted); }
input:not([type="radio"]):not([type="checkbox"]), select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--field); border: 1px solid var(--line-2); border-radius: 3px;
}
textarea { resize: vertical; min-height: 110px; }
input[type="file"] { padding: 10px; }
input::placeholder, textarea::placeholder { color: #7f7468; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
input[type="date"] { color-scheme: dark; max-width: 280px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field-error { color: var(--danger); font-size: var(--step--1); margin: 6px 0 0; }
.form-error { font-size: 1rem; margin-bottom: 16px; }
.alert { border-left: 3px solid var(--gold); background: var(--bg-2); padding: 14px 18px; margin-bottom: 28px; max-width: 900px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: 0.95rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); }
.stack-form { max-width: 900px; }
.stack-form .step-title { font-size: var(--step-1); }

.pkg-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; max-width: 900px; }
.pkg-option { position: relative; display: grid; gap: 4px; padding: 18px 18px 16px; background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 3px; cursor: pointer; }
.pkg-option input { position: absolute; opacity: 0; }
.pkg-option:has(input:checked) { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 8%, var(--bg-2)); }
.pkg-option:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.pkg-name { font-weight: 700; font-size: var(--step-1); }
.pkg-meta { color: var(--muted); font-size: var(--step--1); min-height: 0; }
.pkg-price { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }

.picker { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); max-width: 900px; }
@media (max-width: 760px) { .picker { grid-template-columns: 1fr; } }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-month { font-size: var(--step-1); font-weight: 700; }
.cal-nav { width: 44px; height: 44px; background: transparent; color: var(--text); border: 1px solid var(--line-2); border-radius: 3px; font-size: 1.4rem; cursor: pointer; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: 0.75rem; color: var(--muted); padding: 4px 0; }
.cal-day { aspect-ratio: 1; min-height: 40px; border: 1px solid transparent; border-radius: 3px; background: transparent; color: #6f665c; font: inherit; font-size: 0.95rem; cursor: default; font-variant-numeric: tabular-nums; }
.cal-day.open { color: var(--text); background: var(--bg-2); border-color: var(--line); font-weight: 700; cursor: pointer; }
.cal-day.open:hover { border-color: var(--gold); }
.cal-day[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.cal-day.today { text-decoration: underline; text-underline-offset: 4px; }
.cal-loading { grid-column: 1 / -1; color: var(--muted); padding: 24px 0; text-align: center; }
.slots-title { font-size: var(--step-0); font-weight: 600; margin: 8px 0 12px; color: var(--muted); }
[hidden] { display: none !important; }
.acuity-frame-wrap { margin: 16px 0 8px; max-width: 900px; background: #fff; border-radius: 3px; overflow: hidden; }
.acuity-frame-wrap iframe { display: block; width: 100%; min-height: 800px; border: 0; }
.slot-group + .slot-group { margin-top: 14px; }
.slot-group h4 { font-size: var(--step--1); font-weight: 600; color: var(--muted); margin: 0 0 8px; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.cal-day.full { color: var(--muted); border: 1px dashed var(--line-2); cursor: pointer; }
.cal-day.full:hover { border-color: var(--gold); color: var(--text); }
.cal-day.full[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); border: 1px solid var(--gold); }
.cal-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 12px 0 0; font-size: var(--step--1); color: var(--muted); }
.key { display: inline-block; width: 14px; height: 14px; border-radius: 3px; }
.key-open { background: var(--bg-2); border: 1px solid var(--line); }
.key-full { border: 1px dashed var(--line-2); margin-left: 10px; }
.ask { margin-top: 20px; padding: 16px 18px; border-left: 3px solid var(--line-2); background: color-mix(in srgb, var(--bg-2) 60%, transparent); }
.ask p { margin: 0; color: var(--muted); }
.ask strong { color: var(--text); }
.ask-full { margin-top: 0; border-left-color: var(--gold); background: var(--bg-2); }
.ask-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 14px !important; }
.ask-call { font-weight: 700; color: var(--text) !important; }
.slot { min-height: 46px; background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 3px; font: inherit; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; }
.slot:hover { border-color: var(--gold); }
.slot[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }

.summary { margin: 0 0 16px; max-width: 640px; border-top: 1px solid var(--line); }
.summary > div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; }
.summary-lg { margin: 32px 0; }
.policies { margin: 16px 0; max-width: 640px; }
.policies summary { cursor: pointer; font-weight: 600; }
.policies dl > div { padding: 8px 0; border-bottom: 1px solid var(--line); }
.policies dt { font-weight: 700; }
.policies dd { margin: 2px 0 0; color: var(--muted); }

.confirm .display { margin-bottom: 20px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 80px); }
.contact-lines-stack .cl-label { display: block; padding-top: 14px; font-size: var(--step--1); color: var(--muted); }
.contact-lines-stack a, .contact-lines-stack > li > span:not(.cl-label) { font-size: clamp(1.4rem, 2.6vw, 2rem); padding-top: 2px; }
.sent { border-left: 3px solid var(--gold); padding: 8px 0 8px 20px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.prose { max-width: 64ch; }
.prose p { color: var(--muted); }
.prose .lede { color: var(--text); }
.prose .h3 { margin: 32px 0 12px; }
.team .h3 { margin-bottom: 16px; }
.team-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.team-member figure { margin: 0 0 12px; overflow: hidden; border-radius: 2px; background: var(--bg-2); }
.team-member img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; width: 100%; }
.team-member .h4 { margin-bottom: 2px; }
.team-member a { color: var(--muted); text-decoration: none; font-size: var(--step--1); }
.team-member a:hover { color: var(--gold-hi); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; margin-top: 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); max-width: 32ch; }
.footer-h { font-size: var(--step--1); color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.footer-list li { margin-bottom: 8px; }
.footer-list a { text-decoration: none; overflow-wrap: break-word; }
.footer-base { margin-top: 40px; color: var(--muted); font-size: var(--step--1); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.ask { max-width: 900px; }


/* =====================================================================
   MOTION
   Everything here is decoration on top of a page that already works
   without it. Reveals only apply to elements site.js marks below the fold,
   and all of it switches off for people who ask for reduced motion.
   ===================================================================== */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-snap: cubic-bezier(.2, .8, .2, 1); }

/* page-to-page cross-fade (browsers that support it) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .2s ease both; }
::view-transition-new(root) { animation: vt-in .35s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* header: deepens once you scroll, gold progress line along the bottom */
.site-header { transition: background-color .3s, box-shadow .3s, border-color .3s; }
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 96%, transparent); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); }
.site-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold);
  transform-origin: 0 50%; transform: scaleX(0);
}
@supports (animation-timeline: scroll()) {
  .site-header::after { animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { to { transform: scaleX(1); } }
}
.brand img { transition: transform .4s var(--ease-out); }
.brand:hover img { transform: scale(1.04) rotate(-1deg); }

/* nav links: underline sweeps in from the left */
@media (min-width: 961px) {
  .site-nav ul a { position: relative; border-bottom: 0; }
  .site-nav ul a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold);
    transform: scaleX(0); transform-origin: 100% 50%; transition: transform .35s var(--ease-out);
  }
  .site-nav ul a:hover::after, .site-nav ul a[aria-current]::after { transform: scaleX(1); transform-origin: 0 50%; }
}

/* buttons: lift, glow, and a light sweep across the gold ones */
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-gold:hover { box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--gold) 70%, transparent); }
.btn-gold::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn-gold:hover::after { transform: translateX(120%); transition: transform .7s var(--ease-out); }
.btn-ghost::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--text);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .35s var(--ease-out);
}
.btn-ghost:hover { color: var(--bg); border-color: var(--text); }
.btn-ghost:hover::before { transform: scaleY(1); }

/* text links with an arrow that nudges forward */
.arrow-link::after { content: '\00a0→'; display: inline-block; transition: transform .3s var(--ease-out); }
.arrow-link:hover::after { transform: translateX(5px); }

/* ---------- hero entrance ---------- */
.hero-h .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em 0 .08em; margin: -.12em 0 -.08em; }
.hero-h .w > span { display: inline-block; animation: word-up 1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 55ms + 80ms); }
@keyframes word-up { from { transform: translateY(110%) rotate(4deg); } to { transform: none; } }
.hero-copy { animation: fade-up .9s var(--ease-out) .7s both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-frame { animation: frame-in 1.25s var(--ease-out) both; position: relative; }
.hero-frame:nth-child(1) { animation-delay: .25s; }
.hero-frame:nth-child(2) { animation-delay: .42s; }
.hero-frame:nth-child(3) { animation-delay: .58s; }
@keyframes frame-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.hero-frame img { animation: frame-zoom 1.6s var(--ease-out) both, drift 16s ease-in-out 1.8s infinite alternate; }
.hero-frame:nth-child(1) img { animation-delay: .25s, 1.8s; }
.hero-frame:nth-child(2) img { animation-delay: .42s, 2.4s; }
.hero-frame:nth-child(3) img { animation-delay: .58s, 3s; }
@keyframes frame-zoom { from { transform: scale(1.25); } to { transform: scale(1); } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07) translateY(-1.5%); } }

/* ---------- scroll reveals (classes added by site.js) ---------- */
.reveal.reveal-up { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), clip-path 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal-up { opacity: 0; transform: translateY(36px); }
.reveal.in { opacity: 1; transform: none; }
.h2.reveal-up { transform: translateY(0.7em) skewY(3deg); transform-origin: 0 100%; }
.masonry-item.reveal-up { transform: translateY(48px) scale(.97); }
.masonry-item.reveal .work-tile img { transform: scale(1.15); transition: transform 1.4s var(--ease-out) var(--d, 0ms), filter .4s; }
.masonry-item.reveal.in .work-tile img { transform: scale(1); }
.masonry-item.reveal.in .work-tile:hover img { transform: scale(1.05); transition-delay: 0s; }

/* ---------- hover life on cards and rows ---------- */
.work-tile { position: relative; }
.work-tile img { transition: transform .8s var(--ease-out), filter .4s; }
.work-tile:hover img { transform: scale(1.05); filter: brightness(1.08) contrast(1.04); }
.work-tile::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 0 var(--gold); transition: box-shadow .35s var(--ease-out);
}
.work-tile:hover::after, .work-tile:focus-visible::after { box-shadow: inset 0 0 0 3px var(--gold); }

.book-card { transition: border-color .25s, transform .35s var(--ease-out), box-shadow .35s; }
.book-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9), 0 0 0 1px var(--gold); }
.book-card-go { transition: transform .3s var(--ease-out), color .2s; }
.book-card:hover .book-card-go { transform: translateX(4px); }

.price-list a { transition: padding .3s var(--ease-out), background-color .3s; }
.price-list a:hover { padding-left: 10px; padding-right: 10px; background: color-mix(in srgb, var(--gold) 7%, transparent); }
.svc { transition: background-color .3s; }
.svc:hover { background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 5%, transparent), transparent 70%); }
.way { transition: transform .4s var(--ease-out), box-shadow .4s; }
.way-book:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9); }
.contact-lines a { transition: color .25s, transform .4s var(--ease-out); }
.contact-lines a:hover { transform: translateX(10px); }
.team-member figure img { transition: transform .9s var(--ease-out), filter .4s; }
.team-member:hover figure img { transform: scale(1.05); }
.video-facade .play { transition: transform .35s var(--ease-snap), box-shadow .35s; }
.video-facade:hover .play { transform: scale(1.12); box-shadow: 0 0 0 10px color-mix(in srgb, var(--gold) 25%, transparent); }
.video-facade img { transition: transform .8s var(--ease-out); }
.video-facade:hover img { transform: scale(1.04); }
.pkg-option, .slot, .cal-day.open { transition: border-color .2s, background-color .2s, transform .25s var(--ease-out); }
.pkg-option:hover, .slot:hover { transform: translateY(-2px); }
.filters a, .jump a { position: relative; transition: color .2s; }

/* mobile menu: items drop in one after another */
@media (max-width: 960px) {
  .site-nav.open { animation: menu-in .35s var(--ease-out) both; }
  .site-nav.open ul li, .site-nav.open .nav-actions { animation: fade-up .55s var(--ease-out) both; }
  .site-nav.open ul li:nth-child(1) { animation-delay: .05s; }
  .site-nav.open ul li:nth-child(2) { animation-delay: .1s; }
  .site-nav.open ul li:nth-child(3) { animation-delay: .15s; }
  .site-nav.open ul li:nth-child(4) { animation-delay: .2s; }
  .site-nav.open ul li:nth-child(5) { animation-delay: .25s; }
  .site-nav.open ul li:nth-child(6) { animation-delay: .3s; }
  .site-nav.open .nav-actions { animation-delay: .36s; }
  @keyframes menu-in { from { opacity: 0; } }
}

/* lightbox opens with a soft zoom, each photo fades in */
.lightbox[open] { animation: lb-open .35s var(--ease-out); }
@keyframes lb-open { from { opacity: 0; } }
.lightbox img.lb-in { animation: lb-img .5s var(--ease-out); }
@keyframes lb-img { from { opacity: 0; transform: scale(.96); } }
.lb-btn { transition: background-color .2s, border-color .2s; }
.lb-btn:hover { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }

/* ---------- References: always-rotating gallery ---------- */
.marquee {
  --gap: clamp(10px, 1.2vw, 16px);
  --tile: clamp(220px, 24vw, 340px);
  --speed: calc(var(--count, 8) * 6s);
  display: flex; gap: var(--gap); overflow: hidden; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; gap: var(--gap); flex: none; min-width: max-content; animation: marquee var(--speed) linear infinite; }
.marquee-track li { width: var(--tile); flex: none; }
.marquee-track li:nth-child(even) { margin-top: clamp(16px, 3vw, 40px); }
.marquee-track .work-tile img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - var(--gap))); } }
@media (max-width: 700px) { .marquee { --tile: 62vw; --speed: calc(var(--count, 8) * 4.5s); } }

/* ---------- reduced motion: keep it still ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; }
  @view-transition { navigation: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none !important; }
  .marquee-track[aria-hidden] { display: none; }
  .hero-frame img { animation: none !important; }
}

/* ---------- YouTube channel ---------- */
.yt-band { background: var(--bg-2); }
.yt-band-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.yt-kicker { margin: 0 0 8px; color: var(--gold); font-weight: 700; font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; }
.yt-copy { margin: 12px 0 0; color: var(--muted); }
.yt-icon { display: inline-block; width: 26px; height: 18px; border-radius: 5px; background: var(--on-gold); position: relative; flex: none; }
.yt-icon::after { content: ''; position: absolute; left: 10px; top: 5px; border-left: 8px solid var(--gold); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.btn-gold:hover .yt-icon::after { border-left-color: var(--gold-hi); }
.cl-tag { display: block; font-family: var(--font-body); font-size: var(--step--1); color: var(--muted); letter-spacing: 0; line-height: 1.4; }
.muted-lede { color: var(--muted); }

/* ---------- partner studio ---------- */
.kicker { margin: 0 0 10px; color: var(--gold); font-weight: 700; font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; }
.cta-row-tight { margin-top: 20px; }
.studio-band-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.studio-band-media { position: relative; display: block; overflow: hidden; border-radius: 2px; background: var(--bg-2); }
.studio-band-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s var(--ease-out), filter .4s; }
.studio-band-media:hover img { transform: scale(1.04); filter: brightness(1.08); }
.studio-band-media .play, .studio-video .play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; background: var(--gold); transition: transform .35s var(--ease-snap), box-shadow .35s; }
.studio-band-media .play::after { content: ''; position: absolute; left: 29px; top: 23px; border-left: 20px solid var(--on-gold); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.studio-band-media:hover .play { transform: scale(1.12); box-shadow: 0 0 0 10px color-mix(in srgb, var(--gold) 25%, transparent); }
.studio-band-copy { color: var(--muted); max-width: 48ch; margin-top: 16px; }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.studio-video { margin: 0; }
.studio-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--bg-2); border-radius: 2px; }
.studio-video figcaption { padding-top: 10px; font-size: var(--step--1); color: var(--muted); }
.studio-spaces .h3 { margin-bottom: 12px; }
.space-list { border-top: 1px solid var(--line); }
.space-list li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.space-list span { color: var(--muted); font-size: 0.95rem; }
.studio-ways .h2 { margin-bottom: 40px; }
@media (max-width: 860px) { .studio-band-grid, .studio-grid { grid-template-columns: 1fr; } }

/* ---------- areas we serve ---------- */
.areas-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.areas-copy { color: var(--muted); max-width: 60ch; margin: 0 0 20px; }
.area-list { display: flex; flex-wrap: wrap; gap: 8px; }
.area-list li { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: var(--step--1); font-weight: 600; transition: border-color .25s, color .25s; }
.area-list li:hover { border-color: var(--gold); color: var(--gold-hi); }
@media (max-width: 860px) { .areas-grid { grid-template-columns: 1fr; } }
.ref-note { margin: -12px 0 28px; color: var(--muted); max-width: 70ch; }
.ref-note a { color: var(--text); font-weight: 600; }

/* ---------- service landing pages ---------- */
.lp-head .crumb a { color: var(--muted); }
.lp-proof { margin: 16px 0 0; }
.lp-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.2vw, 16px); }
.lp-photos .work-tile img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
@media (max-width: 760px) { .lp-photos { grid-template-columns: repeat(2, 1fr); } }
.lp-svc-list { border-top: 1px solid var(--line); margin-top: 24px; }
.lp-svc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 32px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.lp-svc p { margin: 6px 0 0; color: var(--muted); max-width: 62ch; }
.lp-svc .lp-pk { font-size: var(--step--1); color: var(--text); }
.lp-svc-side { display: flex; align-items: center; gap: 16px; }
@media (max-width: 640px) { .lp-svc { grid-template-columns: 1fr; } }
.lp-faq > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.lp-faq dt { font-weight: 700; }
.lp-faq dd { margin: 6px 0 0; color: var(--muted); }
.lp-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 16px 0 20px; }
.lp-links a { font-weight: 600; text-decoration: none; }
.lp-jump { margin-top: 20px; }
.lp-jump a { color: var(--text); }
