:root {
  --black: #0a0a0a;
  --grey: #626262;
  --line: #d8d8d8;
  --wash: #f6f6f4;
  --white: #ffffff;
  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --page-pad: clamp(1.25rem, 5vw, 5rem);
  --section-space: clamp(6rem, 12vw, 11rem);
  --content-width: 90rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--white); color: var(--black); font-family: var(--font); font-size: 16px; line-height: 1.55; text-rendering: optimizeLegibility; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }

:focus-visible { outline: 2px solid var(--black); outline-offset: 4px; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: 0.75rem 1rem; background: var(--black); color: var(--white); }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; padding: 0 var(--page-pad); background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 0.4rem; align-items: baseline; text-decoration: none; letter-spacing: -0.02em; }
.brand strong { font-size: 1.05rem; }
.brand span { color: var(--grey); font-size: 0.9rem; }
.site-nav { display: flex; gap: 1.8rem; align-items: center; }
.site-nav a { font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.site-nav a:not(.nav-cta):hover { text-decoration: underline; text-underline-offset: 0.25rem; }
.nav-cta { padding: 0.65rem 1rem; background: var(--black); color: var(--white); }
.menu-toggle { display: none; width: 2.5rem; height: 2.5rem; padding: 0.65rem; background: transparent; border: 0; }
.menu-toggle span { display: block; height: 1px; margin: 0.35rem 0; background: var(--black); }

.flash-stack { position: fixed; top: 5.3rem; right: var(--page-pad); z-index: 60; width: min(28rem, calc(100vw - 2.5rem)); }
.flash { padding: 1rem; background: var(--white); border: 1px solid var(--black); }

.hero { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(25rem, 0.76fr); gap: clamp(4rem, 9vw, 10rem); align-items: center; width: min(100%, var(--content-width)); min-height: 100svh; margin: 0 auto; padding: clamp(8rem, 14vw, 13rem) var(--page-pad) clamp(6rem, 9vw, 9rem); }
.hero-copy-block { animation: rise-in 650ms ease-out both; }
.eyebrow { margin: 0 0 1.5rem; color: var(--grey); font-size: 0.73rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-weight: 560; letter-spacing: -0.045em; }
h1 { max-width: 12ch; font-size: clamp(3.4rem, 7.1vw, 6.75rem); line-height: 0.93; }
h2 { max-width: 14ch; font-size: clamp(2.7rem, 5vw, 5rem); line-height: 0.98; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.1; }
.hero-copy { max-width: 42rem; margin: 2rem 0 0; color: #292929; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; margin-top: 2rem; }
.hero-note { margin: 1.25rem 0 0; color: var(--grey); font-size: 0.82rem; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0.8rem 1.2rem; border: 1px solid var(--black); border-radius: 0; font-weight: 650; text-decoration: none; cursor: pointer; transition: background-color 150ms ease, color 150ms ease; }
.button-primary { background: var(--black); color: var(--white); }
.button-primary:hover { background: var(--white); color: var(--black); }
.button:disabled { cursor: wait; opacity: 0.58; }
.text-link { font-size: 0.92rem; font-weight: 650; text-underline-offset: 0.25rem; }

.operator-brief { width: 100%; padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--black); animation: brief-in 750ms 80ms ease-out both; }
.brief-topline { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); color: var(--grey); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.brief-question { padding: 1.35rem 0; }
.brief-question small, .brief-actions span, .brief-finding span { color: var(--grey); font-size: 0.67rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.brief-question p { max-width: 26ch; margin: 0.35rem 0 0; font-size: clamp(1.45rem, 2.6vw, 2.1rem); font-weight: 560; letter-spacing: -0.035em; line-height: 1.08; }
.brief-funnel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--line); }
.brief-funnel div { padding: 1rem 0.5rem 1rem 0; }
.brief-funnel strong, .brief-funnel span { display: block; }
.brief-funnel strong { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 560; line-height: 1; }
.brief-funnel span { margin-top: 0.3rem; color: var(--grey); font-size: 0.68rem; }
.brief-funnel .is-signal { border-bottom: 3px solid var(--black); }
.brief-finding { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.brief-finding p { margin: 0; font-size: 0.9rem; font-weight: 650; }
.brief-actions { margin: 0; padding: 0; list-style: none; }
.brief-actions li { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.brief-actions strong { font-size: 0.82rem; }
.brief-note { margin: 0.8rem 0 0; color: var(--grey); font-size: 0.68rem; }

.proof-section { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(3rem, 8vw, 9rem); align-items: center; padding: 0 var(--page-pad) var(--section-space); }
.studio-photo { margin: 0; }
.studio-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.studio-photo figcaption { margin-top: 0.6rem; color: var(--grey); font-size: 0.72rem; }
.proof-copy { max-width: 35rem; }
.proof-copy > p:not(.eyebrow) { margin: 1.5rem 0 0; color: #333; font-size: 1.06rem; }
.proof-copy .proof-disclaimer { color: var(--grey); font-size: 0.78rem; }
.proof-links { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.proof-links a { font-size: 0.84rem; font-weight: 650; text-underline-offset: 0.25rem; }

.section { width: min(100%, var(--content-width)); margin: 0 auto; padding: var(--section-space) var(--page-pad); border-top: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.7fr); gap: 1rem clamp(3rem, 9vw, 9rem); align-items: end; margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.section-intro .eyebrow { grid-column: 1 / -1; }
.section-intro > p:not(.eyebrow) { max-width: 36rem; margin: 0; color: var(--grey); font-size: 1.02rem; }

.method-loop, .programme-phases { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--black); }
.method-loop li { display: grid; grid-template-columns: 5rem 1fr; gap: clamp(1.5rem, 5vw, 5rem); padding: 2rem 0; border-bottom: 1px solid var(--line); }
.method-loop li > span { color: var(--grey); font-size: 0.75rem; }
.method-loop p, .programme-phases p { max-width: 42rem; margin: 0.55rem 0 0; color: var(--grey); }

.programme-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--black); }
.programme-facts div { padding: 1.25rem 1.25rem 0 0; }
.programme-facts dt { color: var(--grey); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.programme-facts dd { margin: 0.5rem 0 0; font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 560; line-height: 1.25; }
.programme-facts small { display: block; margin-top: 0.25rem; color: var(--grey); font-size: 0.72rem; font-weight: 400; }
.programme-phases { margin-bottom: 2.5rem; }
.programme-phases li { display: grid; grid-template-columns: 8rem 1fr; gap: clamp(1.5rem, 5vw, 5rem); padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.programme-phases li > span { color: var(--grey); font-size: 0.75rem; font-weight: 650; }

.fit-section { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(3rem, 9vw, 10rem); }
.fit-section .section-intro { display: block; margin: 0; }
.fit-section .section-intro .eyebrow { margin-bottom: 1.5rem; }
.fit-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.fit-columns > div { border-top: 1px solid var(--black); padding-top: 1.25rem; }
.fit-columns ul { margin: 1.25rem 0 0; padding-left: 1.15rem; color: var(--grey); }
.fit-columns li + li { margin-top: 0.85rem; }

.faq-section { display: grid; grid-template-columns: 0.62fr 1.38fr; gap: clamp(3rem, 9vw, 10rem); }
.faq-section .section-intro { display: block; margin: 0; }
.faq-list { border-top: 1px solid var(--black); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 1.35rem 3rem 1.35rem 0; cursor: pointer; font-size: 1.05rem; font-weight: 650; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; font-size: 1.25rem; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { max-width: 48rem; margin: 0 0 1.5rem; color: var(--grey); }

.apply-section { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.apply-copy { position: sticky; top: 7rem; }
.apply-copy > p:not(.eyebrow) { max-width: 34rem; margin: 1.5rem 0 0; color: var(--grey); }
.application-expectation { display: grid; gap: 0; margin: 2rem 0 0; border-top: 1px solid var(--black); }
.application-expectation div { display: grid; grid-template-columns: 7rem 1fr; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.application-expectation dt { color: var(--grey); font-size: 0.72rem; }
.application-expectation dd { margin: 0; font-size: 0.86rem; font-weight: 650; }

.lead-form { padding: clamp(1.25rem, 4vw, 2.5rem); background: var(--wash); border: 1px solid var(--line); }
.error-summary { margin-bottom: 1.5rem; padding: 1rem; background: var(--white); border: 1px solid var(--black); }
.error-summary p { margin: 0.3rem 0 0; }
.error-summary ul { margin: 0.6rem 0 0; padding-left: 1.2rem; }
.error-summary a { text-underline-offset: 0.2rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
label { display: grid; gap: 0.45rem; color: #353535; font-size: 0.82rem; font-weight: 650; }
.optional { color: var(--grey); font-size: 0.7rem; font-weight: 400; }
input, select, textarea { width: 100%; min-height: 3rem; padding: 0.8rem; background: var(--white); color: var(--black); border: 1px solid #9a9a9a; border-radius: 0; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--black); outline-offset: 1px; border-color: var(--black); }
.field_with_errors { display: contents; }
.field_with_errors input, .field_with_errors select, .field_with_errors textarea { border: 2px solid var(--black); }
.wide-label { margin: 1.2rem 0; }
.application-consents { display: grid; gap: 0.9rem; margin: 1.5rem 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.check-label { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.7rem; align-items: start; font-weight: 500; line-height: 1.45; }
.check-label input { width: 1.05rem; height: 1.05rem; min-height: 0; margin-top: 0.13rem; padding: 0; accent-color: var(--black); }
.form-note { margin: 1rem 0 0; color: var(--grey); font-size: 0.75rem; }
.applications-closed { min-height: 20rem; display: grid; align-content: center; }
.applications-closed h3 { max-width: 20ch; font-size: clamp(1.8rem, 4vw, 3rem); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.site-footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2.5rem var(--page-pad); border-top: 1px solid var(--line); }
.site-footer p { margin: 0.25rem 0 0; color: var(--grey); font-size: 0.78rem; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; font-size: 0.78rem; }
.analytics-settings { padding: 0; background: transparent; color: inherit; border: 0; cursor: pointer; text-decoration: underline; }
.consent-banner { position: fixed; right: 1rem; bottom: 1rem; z-index: 80; width: min(34rem, calc(100vw - 2rem)); padding: 1.25rem; background: var(--white); border: 1px solid var(--black); }
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0; font-size: 0.84rem; }
.consent-banner > div { display: flex; gap: 0.75rem; margin-top: 1rem; }
.consent-banner .button { min-height: 2.75rem; font-size: 0.8rem; }
.consent-decline { background: var(--white); color: var(--black); }

.booking-page, .admin-page { min-height: 100vh; padding: clamp(3rem, 8vw, 7rem) var(--page-pad); background: var(--white); }
.booking-page { display: grid; place-items: center; }
.booking-card { width: min(46rem, 100%); padding: clamp(1.5rem, 5vw, 3.5rem); border: 1px solid var(--line); }
.booking-card h1, .admin-page h1 { margin: 0.5rem 0 1rem; font-size: clamp(2.7rem, 7vw, 5.5rem); }
.current-booking { display: grid; gap: 0.35rem; margin: 1.5rem 0; padding: 1.1rem; border: 1px solid var(--black); }
.current-booking > span { color: var(--grey); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.current-booking a { font-weight: 650; }
.slot-picker fieldset { display: grid; gap: 0.65rem; margin: 1.5rem 0; padding: 0; border: 0; }
.slot-picker legend { margin-bottom: 0.8rem; font-size: 1.3rem; font-weight: 650; }
.slot-option { display: grid; grid-template-columns: 1.2rem 1fr; align-items: center; padding: 0.9rem; border: 1px solid var(--line); cursor: pointer; }
.slot-option:has(input:checked) { border-color: var(--black); }
.slot-option input { width: 1rem; height: 1rem; min-height: 0; padding: 0; }
.admin-page { width: min(76rem, 100%); margin: 0 auto; }
.admin-page--narrow { width: min(46rem, 100%); }
.admin-header { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.admin-list { border-top: 1px solid var(--black); }
.admin-list-row { display: grid; grid-template-columns: minmax(16rem, 1fr) auto auto; gap: 1.5rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.admin-list-row span:first-child { display: grid; }
.admin-list-row small { color: var(--grey); }
.application-review { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--black); }
.application-review div { padding: 1.2rem 1.2rem 1.2rem 0; border-bottom: 1px solid var(--line); }
.application-review dt { color: var(--grey); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.application-review dd { margin: 0.35rem 0 0; }
.back-link { display: inline-block; margin-bottom: 1.5rem; font-weight: 650; }
.text-button { padding: 0; background: transparent; border: 0; cursor: pointer; text-decoration: underline; }

@keyframes rise-in { from { opacity: 0; transform: translateY(0.8rem); } to { opacity: 1; transform: none; } }
@keyframes brief-in { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .operator-brief { max-width: 42rem; }
  .proof-section, .section-intro, .fit-section, .faq-section, .apply-section { grid-template-columns: 1fr; }
  .section-intro .eyebrow { grid-column: auto; }
  .apply-copy { position: static; }
}

@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 0.75rem var(--page-pad) 1rem; background: var(--white); border-bottom: 1px solid var(--black); }
  .site-nav.is-open { display: flex; }
  .site-nav a, .site-nav .nav-cta { padding: 0.8rem 0; background: transparent; color: var(--black); }
  .hero { gap: 3rem; padding-top: 8rem; }
  h1 { font-size: clamp(3.25rem, 15vw, 5rem); }
  h2 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .proof-section { padding-top: 1rem; }
  .programme-facts, .fit-columns, .form-grid { grid-template-columns: 1fr; }
  .programme-facts div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .site-footer { flex-direction: column; }
}

@media (max-width: 460px) {
  .brand span { display: none; }
  .hero-actions, .consent-banner > div { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { text-align: center; }
  .brief-funnel span { font-size: 0.6rem; }
  .brief-finding, .brief-actions li, .method-loop li, .programme-phases li { grid-template-columns: 1fr; gap: 0.35rem; }
  .method-loop li > span, .programme-phases li > span { margin-bottom: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
