/* Annabelle Hasse — 2026
   One page, three sections. The hero blue is sampled from the headshot's
   backdrop so the photo sits in the band without a visible seam. */

:root {
  --blue:       #0294bd;
  --blue-deep:  #026f92;
  --blue-lite:  #12b4dd;
  --coral:      #ef6a4e;
  --coral-deep: #d9502f;
  --ink:        #142029;
  --muted:      #5d6f7b;
  --paper:      #fbf8f4;
  --paper-alt:  #f2ede6;
  --line:       #e2dad0;

  --wrap: 1120px;
  --r: 14px;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--coral-deep); }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 0 0 var(--r) 0; z-index: 100;
}
.skip:focus { left: 0; top: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.display {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}

/* ── Header ─────────────────────────────────────────────── */

.bar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 244, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.bar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 60px;
}

.bar__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(15px, 4vw, 19px);
  letter-spacing: -0.01em;
  white-space: nowrap;   /* two lines here would double the header height */
  color: var(--ink);
  text-decoration: none;
}

.bar__nav { display: flex; gap: clamp(14px, 3vw, 30px); }

.bar__nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s;
}
.bar__nav a:hover { color: var(--ink); border-bottom-color: var(--coral); }

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  background:
    radial-gradient(120% 90% at 22% 34%, var(--blue-lite) 0%, var(--blue) 46%, var(--blue-deep) 100%);
  color: #fff;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding-block: clamp(40px, 7vw, 76px);
}

.hero__photo img {
  width: 100%;
  border-radius: 260px 260px var(--r) var(--r);
  box-shadow: 0 26px 60px rgba(2, 55, 75, .32);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}

.hero h1 { font-size: clamp(50px, 9.5vw, 104px); }

.hero__lede {
  margin: 22px 0 30px;
  max-width: 34ch;
  font-size: clamp(17px, 1.7vw, 19px);
  color: rgba(255, 255, 255, .93);
}

.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid var(--coral);
  transition: background .18s, border-color .18s, transform .18s;
}
.btn:hover { background: var(--coral-deep); border-color: var(--coral-deep); transform: translateY(-2px); }

.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; transform: translateY(-2px); }

/* ── Sections ───────────────────────────────────────────── */

.section { padding-block: clamp(52px, 8vw, 92px); }
.section--alt { background: var(--paper-alt); }

.display--sm {
  font-size: clamp(30px, 4.6vw, 44px);
  margin-bottom: clamp(26px, 4vw, 40px);
}
.display--sm::after {
  content: "";
  display: block;
  width: 56px; height: 4px;
  margin-top: 16px;
  border-radius: 2px;
  background: var(--coral);
}

/* ── Video ──────────────────────────────────────────────── */

/* auto-fill, not auto-fit: a section holding one or two videos keeps them at
   a normal tile size instead of stretching them across the whole row. */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(22px, 3.2vw, 34px);
}

.vid { margin: 0; }

/* On Stage leads with one featured video across the full width, with the
   other two side by side beneath it. Declared after .grid so it wins on
   source order — both are single-class selectors. */
.grid--feature {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--feature .vid--hero { grid-column: 1 / -1; }

.grid--feature .vid--hero h3 { font-size: clamp(22px, 2.6vw, 30px); }
.grid--feature .vid--hero figcaption { padding-top: 18px; }
.grid--feature .vid--hero figcaption p { font-size: 16px; }

/* Bigger frame deserves a bigger target. */
.grid--feature .vid--hero .vid__icon svg {
  width: 84px; height: 84px;
  padding: 23px 20px 23px 27px;
}

@media (max-width: 640px) {
  .grid--feature { grid-template-columns: minmax(0, 1fr); }
}

.vid__play {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: #0d1a21;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.vid__play img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s, opacity .25s;
}
.vid__play:hover img { transform: scale(1.035); opacity: .88; }

/* Poster missing (e.g. Vimeo still transcoding) — the tile stays usable. */
.vid__play img[data-missing] { opacity: 0; }

.vid__icon {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.vid__icon svg {
  width: 62px; height: 62px;
  padding: 17px 15px 17px 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .93);
  color: var(--coral-deep);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  transition: transform .2s, background .2s;
}
.vid__play:hover .vid__icon svg { transform: scale(1.09); background: #fff; }

.vid figcaption { padding-top: 16px; }

.vid h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.vid figcaption p { margin: 0; color: var(--muted); font-size: 15px; }

/* ── On Stage ───────────────────────────────────────────── */

/* CSS columns, not a row grid: the photos are a mix of portrait and landscape,
   and this lets each keep its own shape rather than cropping them all alike. */
.shots {
  column-count: 3;
  column-gap: clamp(16px, 2.4vw, 26px);
}

.shot {
  margin: 0 0 clamp(16px, 2.4vw, 26px);
  break-inside: avoid;
}

.shot__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: #0d1a21;
  cursor: zoom-in;
}

.shot__open img {
  width: 100%;
  height: auto;
  transition: transform .4s, opacity .25s;
}
.shot__open:hover img { transform: scale(1.03); opacity: .9; }

.shot figcaption {
  padding-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
.shot figcaption strong { color: var(--ink); font-weight: 600; }
.shot figcaption span::before { content: "· "; }

@media (max-width: 860px) { .shots { column-count: 2; } }
@media (max-width: 520px) { .shots { column-count: 1; } }

/* ── Résumé ─────────────────────────────────────────────── */

.resume { display: grid; gap: clamp(30px, 4vw, 44px); max-width: 860px; }

/* Vitals row — one flowing line, "Label: value" pairs, wrapping only when
   the screen is too narrow. Outside .credits so it doesn't inherit the
   three-column credit grid. */
.stats {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px clamp(16px, 2.4vw, 30px);
  margin: 0;
  padding-bottom: clamp(22px, 3vw, 30px);
  border-bottom: 1px solid var(--line);
}

.stats > div {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.stats dt {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.stats dt::after { content: ":"; }

.stats dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.credits__head {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.credits dl { margin: 0; }

.credits dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 6px 20px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.credits dl > div:last-child { border-bottom: 1px solid var(--line); }

.credits dt { font-weight: 600; }
.credits dd { margin: 0; color: var(--muted); }
.credits .role { color: var(--ink); }

.credits__note {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--muted);
  font-style: italic;
}

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(26px, 4vw, 44px);
}

.tags {
  display: flex; flex-wrap: wrap; gap: 9px;
  list-style: none; margin: 0; padding: 0;
}
.tags li {
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 15px;
  font-weight: 500;
}

.bullets { margin: 0; padding-left: 20px; color: var(--muted); }
.bullets li { margin-bottom: 7px; }

/* ── Contact ────────────────────────────────────────────── */

.contact__lede { margin: 0 0 22px; color: var(--muted); max-width: 46ch; }

.contact__who {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.01em;
}

.contact__lines { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 0; }

.contact__lines a {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--coral);
  padding-bottom: 2px;
  transition: color .18s;
}
.contact__lines a:hover { color: var(--coral-deep); }

@media (max-width: 460px) {
  .contact__lines { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ── Footer ─────────────────────────────────────────────── */

.foot {
  border-top: 1px solid var(--line);
  padding-block: 26px;
  font-size: 14px;
  color: var(--muted);
}
.foot__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ── Lightbox ───────────────────────────────────────────── */

.lb {
  width: min(1100px, 94vw);
  padding: 0;
  border: 0;
  border-radius: var(--r);
  background: transparent;
  overflow: visible;
}
.lb::backdrop { background: rgba(8, 18, 24, .88); }

.lb__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  background: #000;
}
.lb__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.lb--photo { width: auto; }
.lb--photo .lb__frame {
  aspect-ratio: auto;
  background: transparent;
  display: grid;
  place-items: center;
}
.lb--photo .lb__frame img {
  display: block;
  max-width: 94vw;
  max-height: 84vh;
  width: auto;
  height: auto;          /* never blown up past its own pixels */
  border-radius: var(--r);
}

.lb__close {
  position: absolute;
  top: -46px; right: 0;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 26px; line-height: 1;
  cursor: pointer;
}
.lb__close:hover { background: rgba(255, 255, 255, .3); }

/* ── Small screens ──────────────────────────────────────── */

@media (max-width: 780px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__photo { max-width: 340px; margin-inline: auto; }
  .hero__lede { margin-inline: auto; }
  .btns { justify-content: center; }
  .display--sm::after { margin-inline: 0; }

  .credits dl > div { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }
  .credits .house { font-size: 15px; }
}

/* Five nav items don't fit alongside the name on a phone. Drop the name here
   — the hero states it immediately below — and let the links wrap onto a
   second row rather than clip off both edges on a narrow handset. */
@media (max-width: 600px) {
  .bar__name { display: none; }
  .bar__inner { justify-content: center; }
  .bar__nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px clamp(12px, 3.6vw, 20px);
  }
}

@media (max-width: 460px) {
  .wrap { padding-inline: 16px; }
  .bar__nav a { font-size: 14px; }
  .stats { gap: 5px 16px; }
}

@media (max-width: 380px) {
  .bar__nav { gap: 3px 11px; }
  .bar__nav a { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover, .vid__play:hover img, .vid__play:hover .vid__icon svg { transform: none; }
}
