/* ==========================================================================
   Claudia S. C. Schwartz
   Every colour is sampled from the hero photograph: the blush studio backdrop,
   the cobalt and rust of her shirt, the warm dark of her hair. Cobalt is the
   signal — it marks whatever is live: audio playing, the section you are in,
   keyboard focus.
   ========================================================================== */

@font-face {
  font-family: "Kabel";
  src: url("/assets/fonts/kabeldtcondensed-regular.ttf") format("truetype");
  font-weight: 400;   /* a single master — declaring only 400 lets the browser
                         synthesise the heavier display weights, which is how
                         the previous site rendered this wordmark */
  font-style: normal;
  font-display: swap;
}

:root {
  --blush:    #FAF0E7;   /* studio backdrop, lifted    */
  --blush-2:  #FDF7F1;   /* lifted panel               */
  --blush-3:  #EFDCCC;   /* pressed / hairline warmth  */
  --ink:      #1A1310;   /* warm near-black            */
  --night:    #111C34;   /* shirt shadow, page dark    */
  --night-2:  #1B2947;
  --cobalt:   #2C55A8;   /* shirt blue — accent on light */
  --cobalt-2: #7BA5E8;   /* lifted, for dark grounds     */
  --rust:     #B4581F;   /* shirt pattern, her hair      */

  --display: "Kabel", "Haettenschweiler", "Arial Narrow", sans-serif;
  --read: "Newsreader", Georgia, "Times New Roman", serif;
  --tech: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --shell: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --hero-inset: clamp(20px, 12.85vw, 250px);
  --ease: cubic-bezier(.2, .7, .3, 1);
  --slow: cubic-bezier(.16, 1, .3, 1);

  --signal: var(--cobalt);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--read);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--cobalt); color: var(--blush-2); }

:focus-visible {
  outline: 2px solid var(--accent, var(--cobalt));
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--cobalt); color: var(--blush-2);
  padding: 14px 22px; font-family: var(--tech); font-size: 13px;
  text-decoration: none;
}
.skip:focus { left: 12px; top: 12px; }

.vh {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Bands — the page alternates between the stage (slate) and the page (chalk)
   ========================================================================== */
.band {
  --bg: var(--blush);
  --fg: var(--ink);
  --dim: #7A6153;
  --rule: rgba(26, 19, 16, .2);
  --panel: rgba(26, 19, 16, .04);
  --accent: var(--cobalt);
  --signal: var(--cobalt);
  --lede: var(--rust);
  --wave-idle: rgba(26, 19, 16, .34);
  --wave-live: var(--cobalt);
  position: relative;
  background: var(--bg);
  color: var(--fg);
  padding-block: clamp(72px, 11vw, 150px);
}
.band[data-band="dark"] {
  --bg: var(--night);
  --fg: var(--blush);
  --dim: #8C93A8;
  --rule: rgba(250, 240, 231, .18);
  --panel: rgba(250, 240, 231, .05);
  --accent: var(--cobalt-2);
  --signal: var(--cobalt-2);
  --lede: #E0A97E;
  --wave-idle: rgba(250, 240, 231, .3);
  --wave-live: var(--cobalt-2);
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ==========================================================================
   Type
   ========================================================================== */
.label {
  font-family: var(--tech);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0;
}

.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.04;
  letter-spacing: .022em;
  margin: 0;
  color: var(--fg);
}

.h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.04;
  letter-spacing: .02em;
  margin: 0;
}

.lede {
  font-family: var(--read);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  margin: 14px 0 0;
  color: var(--lede, var(--fg));
  color: var(--fg);
}

.prose { max-width: 62ch; }
.prose p { margin: 0 0 1.15em; }
.prose p:last-child { margin-bottom: 0; }
.prose em { font-style: italic; }

.prose a, .tlink {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 1px;
  transition: background-size .4s var(--ease), color .3s var(--ease);
}
.prose a:hover, .tlink:hover { background-size: 100% 100%; color: var(--blush-2); }

/* section header: label above, rule beside */
.head { margin-bottom: clamp(36px, 5vw, 64px); }
.head__rule {
  height: 2px;
  margin: 0 0 22px;
  background: linear-gradient(to right, var(--accent) 0%, var(--rust) 22%, var(--rule) 22%, var(--rule) 100%);
  transform: scaleX(0); transform-origin: 0 50%;
}
.rise.is-in .head__rule { transform: none; transition: transform 1.1s var(--slow) .1s; }

/* ==========================================================================
   Header — a single control, top right. Everything else lives in the overlay.
   ========================================================================== */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  display: flex; justify-content: flex-end;
  padding: clamp(14px, 2vw, 22px) var(--pad);
  pointer-events: none;
}

.burger {
  pointer-events: auto;
  position: relative;
  width: 54px; height: 54px;
  display: grid; place-content: center; gap: 8px;
  padding: 0; cursor: pointer;
  background: none; border: 0;
  color: var(--ink);
  transition: color .4s var(--ease);
}
.burger span {
  display: block;
  width: 30px; height: 2px;
  background: currentColor;
  transition: transform .45s var(--slow), opacity .3s var(--ease), width .45s var(--slow);
}
.burger:hover span:first-child { width: 22px; }
.burger:hover span:last-child  { width: 30px; }

/* over a dark band the control flips to blush */
.top[data-over="dark"] .burger { color: var(--blush); }

/* open state: two strokes cross */
body.menu-open .burger { color: var(--blush); }
body.menu-open .burger span:first-child { transform: translateY(5px) rotate(45deg); width: 30px; }
body.menu-open .burger span:last-child  { transform: translateY(-5px) rotate(-45deg); width: 30px; }

/* ==========================================================================
   Full-screen menu
   ========================================================================== */
.menu {
  --signal: var(--cobalt-2);
  position: fixed; inset: 0; z-index: 80;
  background: var(--night);
  display: grid;
  align-content: stretch;
  padding: clamp(70px, 9vh, 116px) var(--pad) clamp(26px, 4.5vh, 56px);
  visibility: hidden;
  opacity: 0;
  transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
body.menu-open .menu {
  visibility: visible;
  opacity: 1;
  transition: opacity .5s var(--ease), visibility 0s;
}

.menu__inner {
  width: 100%; max-width: var(--shell); margin-inline: auto;
  display: flex; flex-direction: column; justify-content: center;
  height: 100%;
}

.menu__list {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; justify-content: center;
  flex: 1 1 auto;
  gap: clamp(0px, .5vh, 8px);
}
.menu__list li { overflow: hidden; }
.menu__list a {
  display: block;
  padding: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: min(7.4vw, 96px, 8.4vh);
  line-height: 1.06;
  letter-spacing: .025em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blush);
  transform: translateY(105%);
  transition: transform .7s var(--slow), color .3s var(--ease);
}
body.menu-open .menu__list a { transform: none; }
.menu__list li:nth-child(1) a { transition-delay: .06s; }
.menu__list li:nth-child(2) a { transition-delay: .11s; }
.menu__list li:nth-child(3) a { transition-delay: .16s; }
.menu__list li:nth-child(4) a { transition-delay: .21s; }
.menu__list li:nth-child(5) a { transition-delay: .26s; }
.menu__list li:nth-child(6) a { transition-delay: .31s; }
.menu__list a:hover,
.menu__list a[aria-current="true"] { color: var(--cobalt-2); }

.menu__foot {
  display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: baseline;
  flex: none;
  margin-top: clamp(18px, 3vh, 40px);
  padding-top: clamp(16px, 2.4vh, 28px);
  border-top: 1px solid rgba(250, 240, 231, .16);
  opacity: 0;
  transition: opacity .5s var(--ease) .34s;
}
body.menu-open .menu__foot { opacity: 1; }
.menu__foot,
.menu__foot a { font-family: var(--tech); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8C93A8; }
.menu__foot a { text-decoration: none; transition: color .3s var(--ease); }
.menu__foot a:hover { color: var(--blush); }

.lang { display: flex; align-items: center; gap: 8px; }
.lang a { opacity: .6; transition: opacity .3s var(--ease), color .3s var(--ease); }
.lang a:hover { opacity: 1; }
.lang [aria-current] { opacity: 1; color: var(--cobalt-2); }
.lang i { opacity: .4; font-style: normal; }

.menu__mail { margin-left: auto; }

/* ==========================================================================
   Hero — the photograph fills the screen, she stays centred in it, the name
   sits on the plain stretch of backdrop to her left.
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--blush);
  overflow: hidden;
}

.hero__figure {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
  will-change: transform;
}
/* keeps the name readable wherever the crop lands */
.hero__figure::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(250,240,231,.82) 0%, rgba(250,240,231,.55) 20%, rgba(250,240,231,0) 44%),
    linear-gradient(to bottom, rgba(250,240,231,0) 54%, rgba(250,240,231,.45) 80%, rgba(250,240,231,.9) 100%);
}

.hero__body {
  position: relative; z-index: 2;
  grid-row: 1;
  align-self: center;
  width: 100%;
  padding: clamp(90px, 12vh, 140px) var(--hero-inset) 0;
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 2vw, 22px);
}

.hero__eyebrow {
  margin: 0;
  font-family: var(--tech); font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--cobalt);
}

.hero__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 88px);
  line-height: .96;
  letter-spacing: .03em;
  margin: 0;
  text-transform: uppercase;
  color: var(--ink);
}
.hero__name span { display: block; }
.hero__name .is-last { margin-left: .06em; }

.hero__roles {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: clamp(19px, 1.72vw, 26px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: .03em;
  color: #2E211A;
  max-width: 25ch;
}

/* --- the four marks, full colour, along the foot -------------------------- */
.hero__marks {
  position: relative; z-index: 2;
  grid-row: 2;
  width: 100%;
  padding: 0 var(--hero-inset) clamp(28px, 5vh, 54px);
}
.hero__marks ul {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center;
  gap: clamp(26px, 3.8vw, 64px);
  margin: 0; padding: 0; list-style: none;
}
.hero__marks li {
  opacity: 0;
  transform: translateY(18px);
}
.is-ready .hero__marks li {
  opacity: 1; transform: none;
  transition: opacity .7s var(--slow), transform .7s var(--slow);
  transition-delay: calc(.5s + var(--i) * .08s);
}
.hero__marks a {
  display: block;
  transition: transform .45s var(--slow), filter .45s var(--ease);
}
.hero__marks a:hover, .hero__marks a:focus-visible {
  transform: translateY(-4px) scale(1.04);
  filter: drop-shadow(0 8px 18px rgba(26, 19, 16, .2));
}
.hero__marks img { width: auto; height: var(--h, 32px); }

/* ==========================================================================
   Waveform player — peaks are decoded from the real recordings at build time
   ========================================================================== */
.wave {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

.wave__play {
  position: relative;
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  padding: 0;
  background: none;
  border: 1px solid var(--rule, rgba(26, 19, 16, .26));
  border-radius: 50%;
  color: var(--fg, var(--ink));
  cursor: pointer;
  transition: border-color .35s var(--ease), background .35s var(--ease),
              color .35s var(--ease), transform .35s var(--ease);
}
.wave__play svg { width: 13px; height: 14px; fill: currentColor; }
.wave__play .icon-pause { display: none; }
.wave__play:hover { border-color: var(--accent); transform: scale(1.05); }
.wave.is-playing .wave__play {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--blush-2);
}
.wave.is-playing .wave__play .icon-play { display: none; }
.wave.is-playing .wave__play .icon-pause { display: block; }

/* the ring pulses only while sound is actually coming out */
.wave.is-playing .wave__play::after {
  content: ""; position: absolute; inset: -5px;
  border: 1px solid var(--accent); border-radius: 50%;
  animation: tally 1.9s var(--ease) infinite;
}
@keyframes tally {
  0%   { transform: scale(.9);  opacity: .75; }
  70%  { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

.wave__track {
  position: relative;
  height: 46px;
  cursor: pointer;
  touch-action: none;
}
.wave__track canvas { width: 100%; height: 100%; }

.wave__time {
  font-family: var(--tech); font-size: 12px; font-weight: 500;
  letter-spacing: .06em; font-variant-numeric: tabular-nums;
  color: var(--dim, #8A7466);
  min-width: 4.2em; text-align: right;
}

/* ==========================================================================
   Showreel
   ========================================================================== */
.reel-frame {
  position: relative;
  background: #0A0F1C;
}
.reel-frame::before {
  content: ""; display: block; padding-bottom: 56.25%;
}
.reel-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

.profiles {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin: 34px 0 0; padding: 0; list-style: none;
}
.profiles a {
  display: block; opacity: .5;
  filter: grayscale(1) brightness(1.7);
  transition: opacity .4s var(--ease), filter .4s var(--ease);
}
.profiles a:hover { opacity: 1; filter: none; }
.profiles img { height: 26px; width: auto; }

/* ==========================================================================
   Bio (chalk)
   ========================================================================== */
.bio {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.bio__figure { position: relative; }
.bio__figure img { width: 100%; }
.bio__credit {
  font-family: var(--tech); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--dim);
  margin: 10px 0 0;
}

/* pull-quote used once per chalk band */
.pull {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: .015em;
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--rule);
  max-width: 22ch;
}
.pull em { color: var(--rust); font-style: normal; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gal__bar {
  display: flex; align-items: baseline; gap: 22px;
  margin-bottom: 26px;
}
.gal__tab {
  background: none; border: 0; padding: 0 0 4px; cursor: pointer;
  font-family: var(--tech); font-size: 12px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--dim);
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.gal__tab:hover { color: var(--rust); }
.gal__tab[aria-selected="true"] { color: var(--signal); border-bottom-color: var(--signal); }
.gal__count { margin-left: auto; }

.gal__grid { display: flex; flex-wrap: wrap; gap: 6px; }
.gal__grid[hidden] { display: none; }

.gal__item {
  position: relative; display: block; flex: none;
  overflow: hidden; background: var(--night-2);
  cursor: zoom-in;
}
.gal__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--slow), opacity .5s var(--ease);
}
/* lighting cue: the hovered frame keeps the light, the rest step back */
.gal__grid:hover .gal__item img { opacity: .38; }
.gal__grid .gal__item:hover img,
.gal__grid .gal__item:focus-visible img { opacity: 1; transform: scale(1.045); }

/* ==========================================================================
   Voice
   ========================================================================== */
.voice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.creds { margin: 0; padding: 0; list-style: none; }
.creds li {
  display: grid; grid-template-columns: 5.4em 1fr; gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--rule);
  font-size: 16px;
}
.creds li:last-child { border-bottom: 1px solid var(--rule); }
.creds b {
  font-family: var(--tech); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  padding-top: .42em;
}

.samples { margin: 0; padding: 0; list-style: none; }
.samples li { padding: 14px 0; border-top: 1px solid var(--rule); }
.samples li:last-child { border-bottom: 1px solid var(--rule); }
.samples__name {
  font-family: var(--tech); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim); margin: 0 0 8px;
  transform-origin: 0 50%;
  transition: color .3s var(--ease);
}
.samples li.is-live .samples__name { color: var(--signal); }

.films { margin-top: clamp(40px, 6vw, 72px); }
.film + .film { margin-top: 34px; }
.film__name { margin: 0 0 12px; }
.film__row {
  display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.film__item {
  position: relative; display: block; padding: 0; border: 0;
  aspect-ratio: 16 / 9; overflow: hidden; cursor: pointer;
  background: var(--night-2);
}
.film__item img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .62;
  transition: opacity .5s var(--ease), transform 1s var(--slow);
}
.film__item:hover img, .film__item:focus-visible img { opacity: 1; transform: scale(1.04); }
.film__play {
  position: absolute; inset: 50% auto auto 50%; translate: -50% -50%;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(250,240,231,.55);
  background: rgba(17,28,52,.35);
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.film__play svg { width: 13px; height: 14px; fill: var(--blush); }
.film__item:hover .film__play {
  background: var(--signal); border-color: var(--signal); transform: scale(1.08);
}
.film__item:hover .film__play svg { fill: var(--night); }

/* ==========================================================================
   Author
   ========================================================================== */
.book {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, .48fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}
.book__cover img {
  width: 100%;
  filter: drop-shadow(0 24px 40px rgba(26, 19, 16, .2));
}
.book__meta { margin: 26px 0 0; padding: 0; list-style: none; }
.book__meta li {
  font-family: var(--tech); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--dim);
  border-left: 2px solid transparent;
  padding: 9px 0; border-top: 1px solid var(--rule);
  line-height: 1.55;
}

/* ==========================================================================
   Coach — a real chronology, so it gets a year gutter
   ========================================================================== */
.coach {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.years { margin: 0; padding: 0; list-style: none; }
.years li {
  display: grid; grid-template-columns: 4.5em 1fr; gap: 20px;
  padding: 16px 0; border-top: 1px solid var(--rule);
}
.years li:last-child { border-bottom: 1px solid var(--rule); }
.years b {
  font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: .02em;
  line-height: 1.1; color: var(--rust);
}
.years span { font-size: 16px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.field { margin-bottom: 26px; }
.field label {
  display: block; margin-bottom: 8px;
  font-family: var(--tech); font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--dim);
}
.field input, .field textarea {
  width: 100%; padding: 10px 0;
  font-family: var(--read); font-size: 18px; font-weight: 300;
  color: var(--fg); background: none;
  border: 0; border-bottom: 1px solid var(--rule);
  border-radius: 0;
  transition: border-color .35s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--signal);
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field__err {
  display: block; margin-top: 7px;
  font-family: var(--tech); font-size: 11px; letter-spacing: .08em;
  color: var(--signal);
}

.send {
  position: relative;
  display: inline-block;
  margin-top: 6px; padding: 6px 0; cursor: pointer;
  background: none; border: 0; border-radius: 0;
  color: var(--accent);
  font-family: var(--tech); font-size: 13px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  transition: color .35s var(--ease);
}
/* the rule under it wipes across on hover instead of a box filling in */
.send::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform-origin: 0 50%;
  transition: transform .45s var(--slow), background .35s var(--ease);
}
.send:hover { color: var(--rust); }

.send[disabled] { opacity: .45; cursor: default; }
.send:hover::after { transform: scaleX(1.06); }
.form__status {
  margin: 16px 0 0; font-family: var(--tech); font-size: 12px;
  letter-spacing: .04em; color: var(--signal); min-height: 1.2em;
}
.hp { position: absolute; left: -9999px; }

.card { font-size: 16px; }
.card__logo { width: 150px; margin-bottom: 24px; opacity: .9; }
.card p { margin: 0; }
.card a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.card a:hover { border-bottom-color: var(--signal); }

/* ==========================================================================
   Footer
   ========================================================================== */
.foot {
  --signal: var(--cobalt-2);
  background: var(--night); color: #8C93A8;
  padding: 34px var(--pad) 44px;
  border-top: 1px solid rgba(250, 240, 231, .1);
  font-family: var(--tech); font-size: 11px; letter-spacing: .08em;
  line-height: 1.9;
}
.foot__inner {
  max-width: var(--shell); margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: baseline;
}
.foot a { text-decoration: none; opacity: .8; }
.foot a:hover { opacity: 1; color: var(--signal); }
.foot__end { margin-left: auto; text-align: right; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lb {
  --signal: var(--cobalt-2);
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center;
  background: rgba(15, 18, 25, .97);
  opacity: 0; transition: opacity .35s var(--ease);
}
.lb.is-open { display: flex; }
.lb.is-vis { opacity: 1; }
.lb__stage { max-width: 92vw; max-height: 86vh; display: grid; place-items: center; }
.lb__stage img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; }
.lb__stage iframe { width: min(92vw, 1200px); aspect-ratio: 16/9; border: 0; }
.lb__btn {
  position: absolute; z-index: 2; cursor: pointer;
  background: none; border: 1px solid rgba(250,240,231,.22); border-radius: 50%;
  width: 46px; height: 46px; display: grid; place-items: center;
  color: var(--blush); opacity: .7;
  transition: opacity .3s var(--ease), border-color .3s var(--ease);
}
.lb__btn:hover { opacity: 1; border-color: var(--signal); }
.lb__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lb__close { top: 20px; right: 20px; }
.lb__prev { left: 20px; top: 50%; translate: 0 -50%; }
.lb__next { right: 20px; top: 50%; translate: 0 -50%; }
.lb__count {
  position: absolute; bottom: 22px; left: 50%; translate: -50% 0;
  font-family: var(--tech); font-size: 11px; letter-spacing: .16em;
  color: #8C93A8;
}

/* ==========================================================================
   Motion — one orchestrated entrance, then quiet scroll reveals
   ========================================================================== */
.rise > * {
  opacity: 0;
  transform: translateY(26px);
}
.rise.is-in > * {
  opacity: 1;
  transform: none;
  transition: opacity .9s var(--slow), transform .9s var(--slow);
}
.rise.is-in > *:nth-child(2) { transition-delay: .07s; }
.rise.is-in > *:nth-child(3) { transition-delay: .14s; }
.rise.is-in > *:nth-child(4) { transition-delay: .21s; }
.rise.is-in > *:nth-child(5) { transition-delay: .28s; }

.fade { opacity: 0; transform: translateY(18px); }
.fade.is-in { opacity: 1; transform: none; transition: opacity .9s var(--slow), transform .9s var(--slow); }

/* hero load sequence */
.hero__name span {
  opacity: 0;
  transform: translateY(.16em);
}
.is-ready .hero__name span {
  opacity: 1; transform: none;
  transition: opacity 1s var(--slow), transform 1.1s var(--slow);
}
.is-ready .hero__name span:nth-child(2) { transition-delay: .1s; }

.hero__eyebrow, .hero__roles, .hero__marks { opacity: 0; }
.is-ready .hero__eyebrow { opacity: 1; transition: opacity .8s var(--ease) .05s; }
.is-ready .hero__roles   { opacity: 1; transition: opacity .8s var(--ease) .34s; }
.is-ready .hero__marks   { opacity: 1; transition: opacity .9s var(--ease) .5s; }

.hero__figure img { transform: scale(1.06); }
.is-ready .hero__figure img { transform: none; transition: transform 1.8s var(--slow); }

@media (prefers-reduced-motion: reduce) {
  .rise > *, .fade, .hero__name span,
  .hero__eyebrow, .hero__roles, .hero__marks { opacity: 1 !important; transform: none !important; }
  .menu, .menu__list a, .menu__foot { transition-duration: .001s !important; }
  .hero__figure img { transform: none !important; }
  .wave.is-playing .wave__play::after { animation: none; }
  .gal__grid:hover .gal__item img { opacity: 1; }
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-top {
  padding: clamp(130px, 16vw, 190px) 0 clamp(40px, 6vw, 70px);
  background: var(--night);
}
.legal-top h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 3.5vw, 46px); line-height: 1.04;
  letter-spacing: .022em; text-transform: uppercase; margin: 12px 0 0;
}
.legal .prose { max-width: 74ch; }
.legal h2 {
  font-family: var(--display); font-weight: 700; letter-spacing: .02em;
  font-size: clamp(24px, 3vw, 34px); line-height: 1.05;
  margin: 2em 0 .5em;
}
.legal h3 {
  font-family: var(--tech); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  margin: 1.8em 0 .5em; color: var(--dim);
}
.legal p, .legal li { font-size: 16px; }
.legal ul { padding-left: 1.1em; }
.legal li { margin-bottom: .5em; }
.legal a { word-break: break-word; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* below ~1240 the cover-crop tightens around her, so the hero inset grows more
   slowly — otherwise the wordmark runs into her hair */
@media (max-width: 1240px) {
  :root { --hero-inset: clamp(20px, 10vw, 150px); }
}

/* between tablet and wide desktop the four marks no longer fit one row at
   full size, so they scale down rather than wrapping onto the photograph */
@media (min-width: 861px) and (max-width: 1240px) {
  .hero__marks img { height: calc(var(--h, 32px) * .72); }
  .hero__marks ul { gap: clamp(20px, 3vw, 42px); }
}

@media (max-width: 1000px) {
  .bio, .voice, .book, .coach, .contact { grid-template-columns: 1fr; }
  .bio__figure { order: -1; max-width: 420px; }
  .voice > :last-child { margin-top: 8px; }
  .book__cover { max-width: 260px; }
}

@media (max-width: 860px) {
  .hero {
    grid-template-rows: 1fr auto;
    min-height: 100svh;
  }
  /* she sits centred in the frame, and the picture stays largely uncovered */
  .hero__figure img { object-position: 50% 42%; }
  .hero__figure::after {
    /* strong enough under the words, clear of her face above 50% */
    background: linear-gradient(to top,
      var(--blush) 0%,
      rgba(250,240,231,.96) 26%,
      rgba(250,240,231,.8) 36%,
      rgba(250,240,231,.34) 44%,
      rgba(250,240,231,0) 52%);
  }

  .hero__body {
    align-self: end;
    align-items: center;
    text-align: center;
    padding: 0 var(--pad);
    gap: 10px;
  }
  /* one line, centred, set to fill the column: "CLAUDIA SCHWARTZ" measures
     6.23x its own font-size in Kabel, so 6.4 fills the width with a margin */
  .hero__name {
    display: flex; justify-content: center; gap: .26em;
    white-space: nowrap;
    font-size: min(calc((100vw - 2 * var(--pad)) / 6.4), 88px);
    letter-spacing: .02em;
  }
  .hero__name span { display: inline; }
  .hero__name .is-last { margin-left: 0; }

  .hero__eyebrow { color: var(--cobalt); }
  .hero__roles { color: #2E211A; max-width: 30ch; }

  .hero__marks { padding: 24px var(--pad) clamp(28px, 5vh, 54px); }
  .hero__marks ul {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center; justify-items: center; align-items: center;
    gap: 16px 26px;
    max-width: 300px; margin-inline: auto;
  }
  .hero__marks img { height: calc(var(--h, 32px) * .42); }

  /* menu fills the screen, centred */
  .menu {
    padding: 84px var(--pad) 34px;
    align-content: stretch;
  }
  .menu__inner {
    display: flex; flex-direction: column; justify-content: center;
    height: 100%;
    text-align: center;
  }
  .menu__list {
    display: flex; flex-direction: column; justify-content: center;
    flex: 1 1 auto;
    gap: clamp(0px, .6vh, 8px);
  }
  .menu__list a {
    font-size: min(14.6vw, 78px);
    line-height: 1.06;
    padding: 0;
  }
  .menu__foot {
    flex: none;
    justify-content: center; gap: 10px 22px;
    margin-top: clamp(20px, 3vh, 34px);
  }
  .menu__mail { margin-left: 0; width: 100%; }

  .wave { gap: 11px; }
  .wave__play { width: 42px; height: 42px; }
  .wave__time { min-width: 3.6em; font-size: 11px; }

  .foot__inner { flex-direction: column; }
  .foot__end { margin-left: 0; text-align: left; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .creds li, .years li { grid-template-columns: 1fr; gap: 4px; }
  .creds b { padding-top: 0; }
  .years b { font-size: 22px; }
  .film__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb__prev, .lb__next { top: auto; bottom: 18px; translate: none; }
  .lb__prev { left: 18px; } .lb__next { right: 18px; }
  .lb__count { bottom: 30px; }
}
