/* Page layout and section choreography */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--space-lg);
}

.hero-content { position: relative; z-index: 3; max-width: 900px; }
.hero-calibration { position: absolute; inset: 14% 8%; z-index: 2; pointer-events: none; opacity: 0.45; }
.calibration-mark { position: absolute; width: 16px; height: 16px; border-color: var(--color-accent); border-style: solid; }
.calibration-mark-a { top: 12%; left: 15%; border-width: 1px 0 0 1px; }
.calibration-mark-b { right: 12%; bottom: 14%; border-width: 0 1px 1px 0; }
.calibration-axis { position: absolute; top: 50%; left: 8%; width: 20%; height: 1px; background: rgba(120, 138, 163, 0.18); }

.hero-headline {
  display: block;
  margin-bottom: var(--space-md);
  color: var(--color-text);
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-supporting { max-width: 620px; margin-bottom: var(--space-lg); color: var(--color-text-dim); font-size: var(--fs-h3); font-weight: 400; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }
.hero-watermark {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(-9rem, -7vw, -4rem);
  width: clamp(420px, 54vw, 780px);
  height: auto;
  opacity: 0.045;
  transform: translateY(-48%);
  pointer-events: none;
}

.showreel {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: 100%;
  padding: 4rem 0;
}

.showreel-inner { display: flex; flex-direction: column; justify-content: center; width: 100%; }
.showreel-headline { margin-bottom: 0.5rem; font-size: var(--fs-h1); font-weight: 700; line-height: 1.1; }
.showreel-action { margin-top: var(--space-md); }

.pov { position: relative; padding: 4rem 0; }
.pov-statement { position: relative; min-height: clamp(270px, 34vw, 420px); max-width: 900px; margin-top: 1rem; display: flex; flex-direction: column; justify-content: center; }
.pov-headline, .pov-reveal { position: relative; z-index: 2; }
.pov-headline { margin-bottom: var(--space-sm); font-size: var(--fs-h1); font-weight: 800; line-height: 1.1; }
.pov-reveal { display: inline-block; align-self: flex-start; margin-bottom: var(--space-md); color: var(--color-text); font-size: var(--fs-h1); font-weight: 300; line-height: 1.1; }
.pov-supporting { max-width: 580px; color: var(--color-text-dim); font-size: var(--fs-copy); line-height: 1.65; }
.pov-noise-cloud { display: none; position: absolute; z-index: 1; inset: 8% 0; pointer-events: none; }
.has-motion .pov-noise-cloud { display: block; }
.pov-noise-cloud span { position: absolute; color: var(--color-text-dim); font: 700 clamp(1rem, 2.4vw, 2.1rem)/1 monospace; letter-spacing: 0.08em; white-space: nowrap; }
.pov-noise-cloud span:nth-child(1) { top: 4%; left: 2%; }
.pov-noise-cloud span:nth-child(2) { top: 12%; left: 42%; }
.pov-noise-cloud span:nth-child(3) { top: 31%; left: 16%; }
.pov-noise-cloud span:nth-child(4) { top: 41%; left: 55%; }
.pov-noise-cloud span:nth-child(5) { top: 60%; left: 3%; }
.pov-noise-cloud span:nth-child(6) { top: 68%; left: 37%; }
.pov-noise-cloud span:nth-child(7) { top: 80%; left: 17%; }
.pov-noise-cloud span:nth-child(8) { top: 23%; left: 68%; }

.process, .work, .why-creator, .method, .proof, .audience, .philosophy, .final-cta { position: relative; padding: 4rem 0; }
.process-headline { max-width: 600px; margin-bottom: 0; font-size: var(--fs-h2); font-weight: 700; line-height: 1.15; }
.work-headline, .why-headline, .method-headline, .proof-headline, .audience-headline { margin-bottom: var(--space-lg); font-size: var(--fs-h1); font-weight: 750; line-height: 1.1; }

.why-statement { max-width: 800px; margin-bottom: var(--space-md); }
.why-headline { margin-bottom: 0.3rem; }
.why-follow { margin-bottom: var(--space-md); color: var(--color-text); font-size: var(--fs-h2); font-weight: 300; }
.why-supporting { max-width: 620px; margin-bottom: var(--space-lg); color: var(--color-text-dim); font-size: var(--fs-copy); line-height: 1.65; }

.method-headline { margin-bottom: var(--space-xs); }
.method { padding-block: clamp(2.75rem, 5vw, 4rem); }
.method-supporting { max-width: 500px; margin-bottom: 0; color: var(--color-text-dim); font-size: var(--fs-copy); line-height: 1.6; }
.proof { min-height: 34vh; display: flex; align-items: center; }
.proof-headline { margin-bottom: var(--space-md); }
.proof-quote { margin: 0; color: var(--color-text); font-size: var(--fs-copy); font-style: italic; line-height: 1.6; }

.audience-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); margin-top: var(--space-lg); }
.audience-group { padding-top: var(--space-md); border-top: 1px solid var(--color-border); }
.audience-group-title { margin-bottom: var(--space-sm); }
.audience-group-lead { margin-bottom: var(--space-xs); color: var(--color-text); font-size: var(--fs-body); font-weight: 600; }
.audience-group-description { font-size: var(--fs-body); line-height: 1.65; }

.philosophy { text-align: center; }
.philosophy-statements { display: flex; flex-direction: column; gap: clamp(4rem, 9vw, 7rem); max-width: 750px; margin-inline: auto; }
.philosophy-statement { max-width: 750px; margin-inline: auto; }
.statement-headline { margin-bottom: var(--space-xs); font-size: var(--fs-display); font-weight: 800; line-height: 1.05; }
.statement-supporting { margin-inline: auto; color: var(--slate-grey); font-size: var(--fs-h3); font-weight: 300; }

.final-cta { text-align: center; }
.cta-intro { margin-bottom: var(--space-md); }
.cta-headline { margin-bottom: 0.2rem; font-size: var(--fs-display); font-weight: 800; line-height: 1.05; }
.cta-follow { color: var(--color-text); font-size: var(--fs-h1); font-weight: 300; line-height: 1.1; }
.cta-supporting { max-width: 550px; margin: 0 auto var(--space-lg); color: var(--color-text-dim); font-size: var(--fs-copy); line-height: 1.65; }

@media (max-width: 768px) {
  .hero-watermark { top: 61%; right: -45%; width: min(112vw, 520px); opacity: 0.04; }
  .hero-headline { font-size: clamp(2.5rem, 10vw, 4.2rem); }
  .statement-headline, .cta-headline { font-size: clamp(2.8rem, 11vw, 4.5rem); }
  .showreel { min-height: auto; justify-content: flex-start; }
  .pov-statement { min-height: 330px; overflow: hidden; }
  .pov-noise-cloud span { font-size: clamp(0.85rem, 4vw, 1.2rem); }
  .audience-groups { grid-template-columns: 1fr; }
  .philosophy-statements { gap: 4rem; }

  /* A mobile method is a reading path, not a compressed desktop diagram. */
  .method-headline { font-size: clamp(2.15rem, 8.6vw, 3.3rem); line-height: 1.12; overflow-wrap: break-word; }
  .method-headline br { display: none; }
  .method .section-registration { font-size: clamp(0.65rem, 2.8vw, 0.75rem); letter-spacing: 0.11em; }
  .method-steps-wrap { margin-top: 1.6rem; }
  .method-steps { margin-top: 0; }
  .method-track, .method-feedback { display: none; }
  .method-step { padding-block: 1.15rem 1.55rem; }
  .method-mobile-rail .method-track,
  .method-mobile-rail .method-feedback { display: block; position: absolute; inset: 0 auto 0 0; width: 48px; height: 100%; margin: 0; pointer-events: none; }
  .method-mobile-rail .method-track-svg,
  .method-mobile-rail .method-feedback-svg { width: 48px; height: 100%; overflow: visible; }
  .method-mobile-rail .method-step { padding-left: 3.4rem; padding-right: 0; border-left-color: transparent; }
  .method-mobile-rail .step-title { gap: 0.3rem; letter-spacing: 0.045em; }
  .method-mobile-rail .method-step[aria-current="step"] .step-title { color: var(--color-accent); }
  .method-mobile-rail .method-track-lock { opacity: 0.48; }
  .method-mobile-rail .method-feedback-guide { stroke-dasharray: none; }
}

@media (max-height: 719px) {
  .showreel { min-height: auto; justify-content: flex-start; }
}

@media (min-width: 769px) and (max-height: 759px) {
  .method { padding-block: 1.35rem; }
  .method .section-label { margin-bottom: 0.4rem; }
  .method-headline { max-width: none; margin-bottom: 0.35rem; font-size: clamp(2.65rem, 4.8vw, 3.65rem); line-height: 1; }
  .method-headline br { display: none; }
  .method-supporting { font-size: 0.95rem; line-height: 1.35; }
}

/* Shared Work index and case-study primitives */
.work-index-hero,
.case-study-hero {
  padding: clamp(8rem, 15vw, 12rem) 0 clamp(3rem, 8vw, 6rem);
  border-bottom: 1px solid var(--color-border);
}

.work-index-hero h1,
.case-study-hero h1 {
  max-width: 980px;
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.work-index-list { padding-block: clamp(3rem, 8vw, 7rem); }
.work-gallery-section { padding-block: clamp(3rem, 6vw, 6rem); border-top: 1px solid var(--color-border); }
.work-gallery-section h2 { margin-bottom: 2rem; font-size: var(--fs-h1); }
.work-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 1.5rem; align-items: start; }
.work-gallery-card { min-width: 0; }
.work-gallery-media { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border: 1px solid var(--color-border); background: var(--color-surface); }
.work-gallery-media video { width: 100%; height: 100%; object-fit: contain; }
.work-gallery-card--landscape { grid-column: span 2; }
.work-gallery-card--landscape .work-gallery-media { aspect-ratio: 16 / 9; }
.work-gallery-card h3 { margin-top: 0.85rem; font-size: 1rem; line-height: 1.4; }
/* Qart is a caption-free contact sheet; retain full, uncropped portrait frames. */
.work-gallery-grid--qart { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.75rem, 1.2vw, 1rem); }
.work-gallery-grid--qart .media-toggle.is-playing { width: 44px; height: 44px; }
#qart-work-title { scroll-margin-top: 96px; }
.work-all-link { display: flex; justify-content: center; margin-top: 3rem; }
@media (max-width: 900px) { .work-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) {
  .work-gallery-grid--qart { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 601px) and (max-width: 1199px) {
  .work-gallery-grid--qart { max-width: 840px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .work-gallery-grid { grid-template-columns: 1fr; }
  .work-gallery-card--landscape { grid-column: auto; }
}
.work-index-project {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 6rem);
  border-bottom: 1px solid var(--color-border);
}
.work-index-project:first-child { padding-top: 0; }
.work-index-project-copy h2 { margin-bottom: var(--space-xs); font-size: var(--fs-h1); }
.work-index-project-copy p { margin: 0 0 var(--space-md); }
.work-index-project-copy .btn { margin-top: var(--space-sm); }

.work-media-shell {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background: var(--color-surface);
}
.work-media-shell video { width: 100%; height: 100%; object-fit: cover; }

.case-study-body { padding-block: clamp(3rem, 8vw, 7rem); }
.case-study-layout { display: grid; grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.case-study-copy { position: sticky; top: 7rem; }
.case-study-copy h2 { margin-bottom: var(--space-sm); font-size: var(--fs-h2); }
.case-study-copy p { margin-bottom: var(--space-md); }
.case-study-next { padding-block: var(--space-xl); border-top: 1px solid var(--color-border); }
.case-study-next a { color: var(--mav-white); font-size: var(--fs-h2); }

@media (max-width: 768px) {
  .work-index-project,
  .case-study-layout { grid-template-columns: 1fr; }
  .work-index-project { align-items: start; }
  .work-media-shell { width: min(100%, 360px); margin-inline: auto; }
  .case-study-copy { position: static; }
}
