/* ==========================================================================
   Director School — Homepage layout (conversion-focused rebuild)
   ========================================================================== */

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--brand) 0%, var(--gold) 100%);
  z-index: var(--z-loader);
  transition: width 80ms linear;
  will-change: width;
}


/* --- Loader --- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--brand-night);
  z-index: var(--z-loader);
  display: grid;
  place-items: center;
  pointer-events: none;
  transition: opacity 700ms var(--ease-out);
}

.loader.is-done { opacity: 0; visibility: hidden; }

.loader__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--text-on-ink);
}

.loader__icon { width: 48px; height: 48px; filter: brightness(2); opacity: 0.95; }

.loader__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.125rem, 4vw, 1.5rem);
  letter-spacing: -0.02em;
  color: var(--text-on-ink);
  overflow: hidden;
  white-space: nowrap;
}

.loader__wordmark span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: loaderType 0.5s var(--ease-out) forwards;
}

@keyframes loaderType {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Site header (sits over hero) --- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: var(--space-5) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  color: var(--text-on-ink);
}

.site-header > * { pointer-events: auto; }

.brand-mark {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: inherit;
}

.brand-mark__icon { width: 32px; height: 32px; filter: brightness(2.5); }

.brand-mark__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: inherit;
  line-height: 1;
  white-space: nowrap;
}

.brand-mark__tagline {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: var(--tr-meta);
  color: rgba(248, 245, 238, 0.55);
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}

@media (max-width: 767px) { .brand-mark__tagline { display: none; } }

.site-header__cta {
  display: none;
  background: rgba(248, 245, 238, 0.08);
  border-color: rgba(248, 245, 238, 0.22);
  color: var(--text-on-ink);
}

.site-header__cta:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

@media (min-width: 768px) { .site-header__cta { display: inline-flex; } }

/* ==========================================================================
   01 — HERO  (type-led, deep brand blue, conversion-focused)
   ========================================================================== */

.hero {
  background: var(--brand-night);
  background-image:
    radial-gradient(circle at 80% 20%, rgba(42, 79, 168, 0.4), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(197, 174, 121, 0.18), transparent 60%);
  color: var(--text-on-ink);
  min-height: clamp(620px, 100dvh, 1040px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 6rem var(--gutter) 3rem;
  isolation: isolate;
}

@media (min-width: 768px) {
  .hero { padding: 8rem var(--gutter) 4rem; }
}

@media (min-width: 1024px) {
  .hero { padding: 10rem var(--gutter) 5rem; }
}

/* Soft animated grid backdrop in the hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(248, 245, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 245, 238, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  animation: heroGridFade 1.6s var(--ease-out) 0.3s forwards;
}

@keyframes heroGridFade { to { opacity: 1; } }

.hero__inner {
  width: 100%;
  max-width: var(--max-content);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

.hero__dateline {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: rgba(248, 245, 238, 0.55);
}

.hero__dateline::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(248, 245, 238, 0.18);
  max-width: 240px;
}

.hero h1 {
  font-size: clamp(2.25rem, 9vw, 8.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--text-on-ink);
  max-width: 16ch;
  position: relative;
}

/* Hero word-by-word kinetic reveal (Beasty 2026 pattern) */
.hero h1 .line {
  display: block;
}

.hero h1 .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  /* Enlarge the reveal mask so italic overhang (horizontal) and descenders
     (vertical) stop clipping; equal negative margin keeps layout identical. */
  padding: 0.04em 0.16em 0.2em;
  margin: 0 -0.16em -0.2em;
}

/* The mask only needs to hide the slide-up reveal. Once the headline has
   settled, drop the clip entirely so no italic glyph (e.g. the slanted "s")
   is ever cut at rest, at any width. JS adds .words-settled after the anim. */
.hero h1.words-settled .word { overflow: visible; }

.hero h1 .word-inner {
  display: inline-block;
  transform: translateY(110%) rotate(4deg);
  transform-origin: bottom left;
  opacity: 0;
  filter: blur(6px);
  transition:
    transform 1.0s cubic-bezier(0.19, 1, 0.22, 1),
    opacity   0.7s var(--ease-out),
    filter    0.7s var(--ease-out);
}

.hero.is-revealed h1 .word-inner {
  transform: translateY(0) rotate(0);
  opacity: 1;
  filter: blur(0);
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

/* Hero sub + CTAs reveal in sequence after the headline finishes */
.hero__sub, .hero__ctas, .hero__dateline {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.hero.is-revealed .hero__dateline { transition-delay: 0.20s; opacity: 1; transform: translateY(0); }
.hero.is-revealed .hero__sub      { transition-delay: 1.55s; opacity: 1; transform: translateY(0); }
.hero.is-revealed .hero__ctas     { transition-delay: 1.75s; opacity: 1; transform: translateY(0); }


.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  color: rgba(248, 245, 238, 0.78);
  line-height: 1.5;
  max-width: 52ch;
  font-weight: 400;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  margin-top: var(--space-3);
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: flex-start; gap: var(--space-3); width: 100%; }
  .hero__ctas .btn--primary { width: 100%; justify-content: center; }
}

.hero__ctas .btn--text { color: var(--text-on-ink); }
.hero__ctas .btn--text:hover { border-bottom-color: var(--gold); color: var(--gold); }

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  letter-spacing: var(--tr-meta);
  text-transform: uppercase;
  color: rgba(248, 245, 238, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.hero__scroll-hint::after {
  content: '';
  width: 1px;
  height: 32px;
  background: rgba(248, 245, 238, 0.3);
  animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.6); transform-origin: top; }
  50%      { transform: scaleY(1); transform-origin: top; }
}

@media (max-width: 640px) { .hero__scroll-hint { display: none; } }

/* ==========================================================================
   02 — PROOF BAR  (single inline strip directly under hero)
   ========================================================================== */

.proof-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  padding: var(--space-6) var(--gutter);
}

.proof-bar__inner {
  max-width: var(--max-content);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3) var(--space-6);
}

.proof-bar__item {
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  letter-spacing: var(--tr-meta);
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
}

.proof-bar__item strong {
  color: var(--brand);
  font-weight: 500;
}

.proof-bar__sep {
  color: var(--rule);
  user-select: none;
}

/* Mobile: stack vertically as a list, smaller font, no separator dots */
@media (max-width: 767px) {
  .proof-bar { padding: var(--space-5) var(--gutter); }
  .proof-bar__inner {
    flex-direction: column;
    gap: var(--space-3);
    align-items: flex-start;
  }
  .proof-bar__item {
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    white-space: normal;
  }
  .proof-bar__sep { display: none; }
}

/* ==========================================================================
   FULL-BLEED IMAGE DIVIDER (atmospheric breaks between sections)
   ========================================================================== */

.divider {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  height: clamp(280px, 38vw, 520px);
  background: var(--bg-ink);
}

.divider__bg {
  position: absolute;
  inset: -10% 0;
  overflow: hidden;
  will-change: transform;
}

.divider__bg img,
.divider > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 24, 56, 0.20) 0%, rgba(10, 24, 56, 0.05) 35%, rgba(10, 24, 56, 0.45) 65%, rgba(10, 24, 56, 0.92) 100%);
  pointer-events: none;
}

.divider__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
  color: rgba(248, 245, 238, 0.95);
  padding: var(--space-7) var(--gutter) var(--space-6);
  background: linear-gradient(180deg, transparent 0%, rgba(10, 24, 56, 0.92) 60%);
  text-shadow: 0 1px 12px rgba(10, 24, 56, 0.6);
}

.divider__caption .meta { color: var(--gold); }

.divider__caption-line {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  text-wrap: balance;
  max-width: 36ch;
  color: var(--text-on-ink);
}

@media (max-width: 640px) {
  .divider { height: clamp(220px, 60vw, 320px); }
  .divider__caption-line { display: none; }
}

/* ==========================================================================
   03 — PAIN → SOLUTION (combined problem + pivot)
   ========================================================================== */

.pain {
  padding: var(--space-10) var(--gutter);
  position: relative;
}

@media (min-width: 1024px) { .pain { padding: var(--space-11) var(--gutter); } }

.pain__inner {
  max-width: var(--max-content);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
}

@media (min-width: 1024px) {
  .pain__inner { grid-template-columns: 5fr 7fr; gap: var(--space-9); }
}

.pain__left .section-header { margin-bottom: var(--space-5); }

.pain__left h2 {
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-style: italic;
  color: var(--ink);
}

.pain__left h2 .accent { color: var(--brand); font-style: normal; font-weight: 700; }

.pain__right {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.pain__right p {
  font-size: var(--fs-body-lg);
  color: var(--text-muted);
  max-width: 52ch;
}

.pain__right p:first-of-type {
  color: var(--ink);
  font-size: clamp(1.25rem, 1.6vw, 1.625rem);
  font-weight: 500;
  line-height: 1.45;
}

.pain__cta { margin-top: var(--space-5); }

/* ==========================================================================
   03 — WHY IT MATTERS (the stakes)
   ========================================================================== */

.stakes {
  background: var(--bg-subtle);
  padding: var(--space-10) var(--gutter);
  border-block: 1px solid var(--rule);
}

@media (min-width: 1024px) { .stakes { padding: var(--space-11) var(--gutter); } }

.stakes__inner {
  max-width: var(--max-content);
  margin-inline: auto;
}

.stakes__head { max-width: 62ch; margin-bottom: var(--space-8); }
.stakes__head .section-header { margin-bottom: var(--space-5); }

.stakes__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.stakes__lead {
  margin-top: var(--space-4);
  font-size: var(--fs-body-lg);
  color: var(--text-muted);
  line-height: 1.5;
}

.stakes__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule);
}

@media (min-width: 768px) {
  .stakes__grid { grid-template-columns: 1fr 1fr; }
}

.stakes__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 768px) {
  .stakes__item:nth-child(odd) { border-right: 1px solid var(--rule); padding-right: var(--space-7); }
  .stakes__item:nth-child(even) { padding-left: var(--space-7); }
}

.stakes__marker {
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  letter-spacing: var(--tr-meta);
  color: var(--brand);
  padding-top: 0.45em;
  flex-shrink: 0;
}

.stakes__item p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.stakes__close {
  margin-top: var(--space-8);
  max-width: 64ch;
  font-size: var(--fs-body-lg);
  color: var(--text-muted);
  line-height: 1.5;
}

.stakes__close em { color: var(--ink); font-style: italic; }

/* ==========================================================================
   04 — WHAT YOU GET (programmes, outcome-framed)
   ========================================================================== */

.programmes {
  background: var(--bg-elevated);
  padding: var(--space-9) var(--gutter);
  border-block: 1px solid var(--rule);
}

@media (min-width: 768px) { .programmes { padding: var(--space-10) var(--gutter); } }
@media (min-width: 1024px) { .programmes { padding: var(--space-11) var(--gutter); } }

.programmes__inner {
  max-width: var(--max-content);
  margin-inline: auto;
}

.programmes__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
  align-items: end;
}

@media (min-width: 768px) {
  .programmes__head { grid-template-columns: 1fr auto; gap: var(--space-7); }
}

.programmes__head h2 {
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.programmes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 2px solid var(--ink);
}

@media (min-width: 768px) {
  .programmes__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
}

.programme {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  min-width: 0;
}

@media (min-width: 768px) {
  .programme {
    padding: var(--space-7) var(--space-5) var(--space-7) 0;
    border-bottom: 0;
  }
  .programme + .programme { border-left: 1px solid var(--rule); padding-left: var(--space-5); }
}

.programme__number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: var(--tr-meta);
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
}

.programme h3 {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.programme__outcome {
  font-style: italic;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-top: -0.25rem;
}

.programme p {
  color: var(--text-muted);
  font-size: var(--fs-body);
}

.programme .btn--text { margin-top: auto; align-self: flex-start; }

.programmes__cta {
  position: relative;
  margin-top: var(--space-6);
  padding: var(--space-5) var(--space-3) var(--space-5);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

@media (min-width: 768px) {
  .programmes__cta { margin-top: var(--space-7); padding: var(--space-6) var(--space-6) var(--space-6); }
}

/* Radial halo behind the CTA */
.programmes__cta::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(360px, 60%, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(197, 174, 121, 0.32), rgba(197, 174, 121, 0.10) 35%, transparent 65%);
  z-index: -1;
  pointer-events: none;
  animation: ctaHaloPulse 5s ease-in-out infinite;
  will-change: opacity, transform;
}

/* Decorative rotating dashed ring */
.programmes__cta::after {
  content: '';
  position: absolute;
  bottom: 16%;
  left: 50%;
  transform: translate(-50%, 50%);
  width: clamp(220px, 28vw, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(197, 174, 121, 0.45);
  z-index: -1;
  pointer-events: none;
  animation: ctaRingRotate 30s linear infinite;
}

/* Floating particles */
.programmes__cta-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.programmes__cta-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: ctaParticleFloat 6s ease-in-out infinite;
}

.programmes__cta-particles span:nth-child(1) { left: 18%; bottom: 0;  animation-delay: 0s;   width: 3px; height: 3px; }
.programmes__cta-particles span:nth-child(2) { left: 32%; bottom: 0;  animation-delay: 1.2s; }
.programmes__cta-particles span:nth-child(3) { left: 48%; bottom: 0;  animation-delay: 2.4s; width: 5px; height: 5px; }
.programmes__cta-particles span:nth-child(4) { left: 64%; bottom: 0;  animation-delay: 0.6s; }
.programmes__cta-particles span:nth-child(5) { left: 78%; bottom: 0;  animation-delay: 3.0s; width: 3px; height: 3px; }
.programmes__cta-particles span:nth-child(6) { left: 88%; bottom: 0;  animation-delay: 1.8s; }
.programmes__cta-particles span:nth-child(7) { left: 8%;  bottom: 0;  animation-delay: 4.0s; width: 5px; height: 5px; }
.programmes__cta-particles span:nth-child(8) { left: 56%; bottom: 0;  animation-delay: 4.8s; }

@keyframes ctaHaloPulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(0.96); }
  50%      { opacity: 1;   transform: translateX(-50%) scale(1.04); }
}

@keyframes ctaRingRotate {
  to { transform: translate(-50%, 50%) rotate(360deg); }
}

@keyframes ctaParticleFloat {
  0%   { opacity: 0; transform: translateY(0) scale(0.8); }
  20%  { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(-280px) scale(1); }
}


.programmes__cta-line {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  text-wrap: balance;
  max-width: 28ch;
}

.programmes__cta-line em { color: var(--brand); font-style: italic; }

.programmes__cta .btn--primary {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   05 — PROOF SECTION (Peter + signature quote + clients combined)
   ========================================================================== */

.proof {
  padding: var(--space-10) 0;
}

.proof__intro {
  padding: 0 var(--gutter);
  max-width: var(--max-content);
  margin: 0 auto var(--space-9);
}

.proof__intro h2 {
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-bottom: var(--space-5);
}

.proof__bio {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 1024px) {
  .proof__bio { grid-template-columns: 5fr 4fr 5fr; gap: var(--space-7); align-items: start; }
}

.proof__bio-portrait {
  width: 100%;
  max-width: 240px;
  justify-self: center;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-subtle);
  border-radius: var(--radius);
  order: -1;
}

.proof__bio-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 768px) {
  .proof__bio-portrait { order: 0; max-width: 260px; justify-self: start; }
}

.proof__bio-credential {
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  letter-spacing: var(--tr-meta);
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  white-space: nowrap;
}

.proof__bio-credential strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--brand);
  text-transform: none;
}

.proof__bio-text { font-size: var(--fs-body-lg); color: var(--ink); max-width: 60ch; line-height: 1.55; }
.proof__bio-text p + p { margin-top: var(--space-4); }

/* --- Signature moment (full-bleed dark, with backing photo) --- */
.signature {
  background: var(--brand-night);
  color: var(--text-on-ink);
  position: relative;
  padding: var(--space-10) var(--gutter);
  margin: var(--space-9) 0;
  isolation: isolate;
  overflow: hidden;
}

.signature__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.signature__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.4) saturate(0.85);
  transform: scale(1.02);
  transition: transform 1.5s linear;
}

.signature.in-view .signature__bg img { transform: scale(1.08); }

.signature::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 24, 56, 0.55), rgba(10, 24, 56, 0.78) 60%, rgba(10, 24, 56, 0.92)),
    radial-gradient(circle at 30% 30%, rgba(42, 79, 168, 0.3), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(197, 174, 121, 0.15), transparent 50%);
}

@media (min-width: 1024px) { .signature { padding: var(--space-11) var(--gutter); } }

.signature__mark {
  position: absolute;
  left: -3rem;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(220px, 24vw, 380px);
  height: auto;
  opacity: 0.07;
  pointer-events: none;
  z-index: -1;
  filter: brightness(2);
}

.signature__inner {
  max-width: var(--max-content);
  margin-inline: auto;
  position: relative;
}

.signature__quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-style: italic;
  max-width: 22ch;
  color: var(--text-on-ink);
  text-wrap: balance;
}

@media (max-width: 480px) {
  .signature__quote { max-width: 100%; line-height: 1.25; }
}

.signature__quote em { color: var(--gold); font-style: italic; }

.signature .word {
  display: inline-block;
  white-space: nowrap;
}

.signature .char {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.signature.is-animating .char {
  opacity: 0.22;
  transform: translateY(18px);
}

.signature.is-animating .char.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.signature__attribution {
  margin-top: var(--space-7);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  letter-spacing: var(--tr-meta);
  text-transform: uppercase;
  font-weight: 500;
}

.signature__attribution::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

/* --- Featured client testimonial --- */
.client-feature {
  padding: 0 var(--gutter);
  max-width: var(--max-content);
  margin: 0 auto var(--space-8);
}

.client-feature__inner {
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--brand);
  padding: var(--space-7);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .client-feature__inner { grid-template-columns: 220px 1fr; gap: var(--space-7); align-items: center; }
}

.client-feature__name {
  font-family: var(--font-display);
  font-size: 1.625rem;
  color: var(--brand);
  font-weight: 500;
}

.client-feature__name small {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  letter-spacing: var(--tr-meta);
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: var(--space-2);
  font-weight: 500;
}

.client-feature__text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.4;
  font-style: italic;
  color: var(--ink);
  text-wrap: balance;
}

/* --- Client marquee --- */
.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: var(--space-9);
  width: max-content;
  align-items: center;
  padding-block: var(--space-4);
  will-change: transform;
}

.marquee__item {
  height: 48px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .marquee__item { height: 56px; }
}

.marquee__item img {
  height: 100%;
  width: auto;
  filter: grayscale(1) opacity(0.45);
  transition: filter var(--dur-base) var(--ease-out);
}

.marquee__item:hover img { filter: grayscale(0) opacity(1); }

/* ==========================================================================
   06 — FINAL CTA  (form + direct contact)
   ========================================================================== */

.contact {
  background: var(--bg);
  padding: var(--space-9) var(--gutter) var(--space-8);
  border-top: 1px solid var(--rule);
}

@media (min-width: 768px) { .contact { padding: var(--space-10) var(--gutter) var(--space-9); } }
@media (min-width: 1024px) { .contact { padding: var(--space-11) var(--gutter) var(--space-10); } }

@media (max-width: 480px) {
  .contact__form { padding: var(--space-5); }
  .contact__form-cta-row { flex-direction: column; align-items: stretch; }
  .contact__form .btn--primary { width: 100%; justify-content: center; }
}

.contact__inner {
  max-width: var(--max-content);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 1024px) { .contact__inner { grid-template-columns: 5fr 7fr; gap: var(--space-9); } }

.contact__intro h2 {
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}

.contact__intro h2 em { color: var(--brand); font-style: italic; }

.contact__intro .lead { color: var(--text-muted); font-size: var(--fs-body-lg); max-width: 38ch; }

.contact__details { margin-top: var(--space-7); display: flex; flex-direction: column; gap: var(--space-5); }

.contact__detail-label {
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  letter-spacing: var(--tr-meta);
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--space-2);
}

.contact__detail-value { font-size: var(--fs-body-lg); color: var(--ink); }

.contact__detail-value a:hover { color: var(--brand); }

.contact__form {
  background: var(--bg-elevated);
  padding: var(--space-7);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: relative;
}

@media (min-width: 1024px) { .contact__form { padding: var(--space-8); } }

.contact__form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 640px) { .contact__form-row { grid-template-columns: 1fr 1fr; } }

.contact__form-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-3);
}

.contact__form-cta-row .meta { color: var(--text-dim); }

.form-success {
  display: none;
  padding: var(--space-7);
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-align: center;
}

.form-success.is-visible { display: block; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--brand-night);
  color: var(--text-on-ink);
  padding: var(--space-8) var(--gutter) var(--space-6);
}

@media (min-width: 768px) {
  .site-footer { padding: var(--space-9) var(--gutter) var(--space-6); }
}

.site-footer__inner { max-width: var(--max-content); margin-inline: auto; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
}

@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 2fr; gap: var(--space-7); } }

.site-footer h4 {
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  letter-spacing: var(--tr-meta);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}

.site-footer ul { display: flex; flex-direction: column; gap: var(--space-3); }

.site-footer a {
  color: rgba(248, 245, 238, 0.65);
  font-size: var(--fs-small);
}

.site-footer a:hover { color: var(--gold); }

.site-footer__brand p {
  color: rgba(248, 245, 238, 0.65);
  margin-top: var(--space-4);
  font-size: var(--fs-small);
  max-width: 32ch;
}

.site-footer__legal {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(248, 245, 238, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
}

.site-footer__legal .meta { color: rgba(248, 245, 238, 0.55); }

/* ==========================================================================
   CUSTOM CURSOR (desktop only) — persistent ring + dot, always visible
   ========================================================================== */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  background: rgba(197, 174, 121, 0.08);
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width 200ms var(--ease-out),
              height 200ms var(--ease-out),
              background 200ms var(--ease-out),
              border-color 200ms var(--ease-out);
  display: none;
  box-shadow: 0 0 0 1px rgba(20, 18, 16, 0.3),
              0 4px 16px rgba(20, 18, 16, 0.25);
  will-change: transform;
}

/* Inner dot — sits inside the ring */
.cursor::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 200ms var(--ease-out), height 200ms var(--ease-out);
}

/* Custom cursor + cursor:none disabled (2026-05-06) — was hiding default cursor without JS replacement.
   Original block kept here commented for easy revert if Beasty cursor ever wanted again:
   @media (min-width: 1024px) and (pointer: fine) {
     .cursor { display: block; }
     body { cursor: none; }
     a, button, input, textarea, label { cursor: none; }
   }
*/

.cursor.is-hover {
  width: 60px;
  height: 60px;
  background: rgba(197, 174, 121, 0.18);
  border-color: var(--gold);
  border-width: 2px;
}

.cursor.is-hover::after {
  width: 8px;
  height: 8px;
}

/* Hide cursor over the dark hero / signature where the gold ring meets gold accent — bump contrast */
.hero .cursor, .signature .cursor { /* selectors won't apply — cursor is fixed-position, but kept for ref */ }

/* ==========================================================================
   GARNET-FOX — Mobile Responsive Pass (2026-04-27)
   Breakpoints: 375 · 768 · 1024 · 1440
   ========================================================================== */

/* --- Mobile header: show CTA as compact button ≤ 767px --- */
@media (max-width: 767px) {
  .site-header__cta {
    display: inline-flex;
    font-size: 0.8125rem;
    padding: 0.625rem 1rem;
    min-height: 44px;
  }
}

/* --- 375px — iPhone SE / small mobile portrait --- */
@media (max-width: 399px) {
  /* Slightly tighter gutter at very small sizes */
  .hero { padding-left: 1.25rem; padding-right: 1.25rem; }
  .proof-bar { padding-left: 1.25rem; padding-right: 1.25rem; }
  .pain { padding-left: 1.25rem; padding-right: 1.25rem; }
  .programmes { padding-left: 1.25rem; padding-right: 1.25rem; }
  .proof__intro { padding-left: 1.25rem; padding-right: 1.25rem; }
  .client-feature { padding-left: 1.25rem; padding-right: 1.25rem; }
  .contact { padding-left: 1.25rem; padding-right: 1.25rem; }
  .site-footer { padding-left: 1.25rem; padding-right: 1.25rem; }
  .divider__caption { padding-left: 1.25rem; padding-right: 1.25rem; }
  .signature { padding-left: 1.25rem; padding-right: 1.25rem; }

  /* Hero: reduce top padding so headline is visible above fold */
  .hero { padding-top: 4.5rem; padding-bottom: 2.5rem; }

  /* Hero h1 already fluid via clamp — ensure sub and CTA don't overflow */
  .hero__sub { font-size: 1rem; }

  /* Proof bar: tighter gaps */
  .proof-bar__inner { gap: var(--space-2); }

  /* Programme cards: reduce vertical padding */
  .programme { padding-block: var(--space-4); }

  /* Signature quote: floor at readable size */
  .signature__quote { font-size: clamp(1.375rem, 8.5vw, 2rem); }

  /* Client feature: tighter padding */
  .client-feature__inner { padding: var(--space-5); }

  /* Contact form: tighter */
  .contact__form { padding: var(--space-5); }

  /* Programmes CTA already tightened in base — no further override needed for small mobile */

  /* Footer: tighter column gap */
  .site-footer__grid { gap: var(--space-5); }
}

/* --- 768px — iPad portrait --- */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Proof bio: show portrait + text 2-up, credentials below full-width */
  .proof__bio {
    grid-template-columns: 180px 1fr;
    gap: var(--space-6);
    align-items: start;
  }
  .proof__bio-portrait {
    order: -1;
    max-width: 180px;
    aspect-ratio: 3 / 4;
  }
  .proof__bio-text { order: 0; }
  .proof__bio-credential {
    order: 1;
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-5);
  }

  /* Programmes grid: 2-up at 768 instead of jumping straight to 3 */
  .programmes__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .programme + .programme { border-left: 1px solid var(--rule); padding-left: var(--space-5); }
  .programme:nth-child(3) { border-left: none; padding-left: 0; border-top: 1px solid var(--rule); padding-top: var(--space-5); }
}

/* --- 1024px — iPad landscape / small desktop --- */
@media (min-width: 1024px) and (max-width: 1279px) {
  /* Signature mark: scale down on smaller desktop */
  .signature__mark { width: clamp(180px, 20vw, 280px); }
}

/* --- 1440px — standard desktop: ensure max gutter is applied --- */
@media (min-width: 1440px) {
  .hero,
  .proof-bar,
  .pain,
  .programmes,
  .contact,
  .site-footer { padding-left: 6rem; padding-right: 6rem; }
}

/* --- Tap target safety net for all interactive elements on touch --- */
@media (pointer: coarse) {
  .programme .btn--text { min-height: 44px; display: inline-flex; align-items: center; }
  .btn--text { min-height: 44px; display: inline-flex; align-items: center; }
  .marquee__item { min-height: 44px; }
  .site-footer a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* --- Global image safety: force responsive on all breakpoints --- */
.divider__bg img,
.signature__bg img,
.proof__bio-portrait img { max-width: 100%; height: 100%; }

/* --- picture element passthrough for positioned/full-bleed containers --- */
.divider__bg picture,
.signature__bg picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.divider__bg picture img,
.signature__bg picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof__bio-portrait picture {
  display: block;
  width: 100%;
  height: 100%;
}

.marquee__item picture {
  display: flex;
  align-items: center;
  height: 100%;
}

.marquee__item picture img {
  height: 100%;
  width: auto;
}

.brand-mark picture,
.loader__inner picture {
  display: block;
  flex-shrink: 0;
}
