/* ═══════════════════════════════════════════════════════════════════════
   Lorenzo Padrin — Conductor
   Direction 1B "Poster" of the Modernist design system.
   Non-negotiables: zero border-radius, 2px rules, everything flush left,
   red used sparingly, Archivo 400/600/800 only.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Archivo, self-hosted variable font (one file covers 400–800) ── */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── Tokens ── */
:root {
  /* Direction 1B ground: cool ink, chosen against the slate-blue backdrop
     of the photographs (the system's warm #201e1d clashed with them). */
  --ink:        #17191c;
  --ink-hover:  #22262b;
  --type:       #eceef1;

  --rule:       rgba(236, 238, 241, .28);  /* 2px section rules */
  --rule-thin:  rgba(236, 238, 241, .22);  /* 1px list rules */
  --mute-50:    rgba(236, 238, 241, .50);
  --mute-55:    rgba(236, 238, 241, .55);
  --mute-65:    rgba(236, 238, 241, .65);
  --mute-70:    rgba(236, 238, 241, .70);
  --mute-78:    rgba(236, 238, 241, .78);

  --accent:     #ec3013;
  --accent-400: #ff9783;
  --accent-600: #dd2b0f;
  --accent-700: #ae1800;

  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pad:  56px;   /* page / section padding */
  /* The design was drawn on a 1280px canvas. Without a cap, section rules run
     the full viewport while the text sits in a narrow column — on a wide
     monitor that reads as two unrelated layouts. The rules still go
     edge-to-edge; only the content inside is centred on this column. */
  --maxw: 1280px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--type);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3 { font-weight: 800; line-height: 1.12; letter-spacing: -.015em; margin: 0; }
p { margin: 0; }
a { color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent-400); outline-offset: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: 12px 18px;
  font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.skip:focus { left: 0; }

/* ═══════════════ HERO ═══════════════ */
.hero { position: relative; height: 820px; overflow: hidden; }
.hero-img, .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* 12% keeps the head in frame down to the widest aspect the hero reaches. */
.hero-img img { object-fit: cover; object-position: center 12%; }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(23,25,28,.85) 0%, rgba(23,25,28,.25) 30%, rgba(23,25,28,.9) 100%);
}

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: baseline; justify-content: space-between; gap: 32px;
  padding: 22px var(--pad);
  padding-inline: max(var(--pad), calc((100% - var(--maxw)) / 2));
  border-bottom: 2px solid rgba(236, 238, 241, .35);
  background: transparent;
  transition: background .2s, border-color .2s;
}
/* Past the hero the bar needs its own ground to stay legible. */
.topbar.is-stuck {
  background: var(--ink);
  border-bottom-color: var(--rule);
}
.topbar-brand {
  font-weight: 800; font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; transition: color .15s;
}
.topbar-brand:hover { color: var(--accent-400); }
.topbar-nav {
  display: flex; gap: 26px; min-width: 0;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.topbar-nav::-webkit-scrollbar { display: none; }
.topbar-nav a {
  font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; transition: color .15s;
}
.topbar-nav a:hover,
.topbar-nav a.is-active { color: var(--accent-400); }

.hero-block {
  position: absolute; left: 0; right: 0; bottom: 44px; z-index: 2;
  padding-inline: max(var(--pad), calc((100% - var(--maxw)) / 2));
  pointer-events: none;
}
.hero-name {
  font-size: clamp(52px, 11.5vw, 156px);
  line-height: .86; letter-spacing: -.04em; text-transform: uppercase;
  margin: 0 0 20px;
}
.hero-meta {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px;
  border-top: 2px solid var(--accent); padding-top: 16px;
}
.hero-role {
  font-weight: 800; font-size: 14px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent-400);
}
.hero-sub { font-size: 14px; color: var(--mute-70); }

/* ═══════════════ SHELL ═══════════════ */
.shell { display: block; }
.content { min-width: 0; }

/* ═══════════════ SECTIONS ═══════════════ */
.sec {
  padding: var(--pad);
  padding-inline: max(var(--pad), calc((100% - var(--maxw)) / 2));
  border-bottom: 2px solid var(--rule);
}
.sec-head {
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-400); margin: 0 0 28px;
}
.sec-bar {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 28px;
}
.sec-bar .sec-head { margin: 0; }
.sec-link {
  font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 3px;
  transition: color .15s;
}
.sec-link:hover { color: var(--accent-400); }
.sec-note { font-size: 12px; color: var(--mute-55); }

/* ── 01 Biography ── */
.bio-lede {
  font-weight: 800; font-size: 36px; line-height: 1.16; letter-spacing: -.02em;
  max-width: 840px; margin: 0 0 32px;
}
.bio-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; max-width: 1120px;
  font-size: 15px; line-height: 1.7; color: var(--mute-78);
}
.pullquote {
  margin: 40px 0 0; padding-top: 20px; max-width: 840px;
  border-top: 2px solid var(--accent);
}
.pullquote p {
  font-weight: 800; font-size: 21px; line-height: 1.35; letter-spacing: -.015em;
  margin: 0 0 12px;
}
.pullquote cite {
  font-style: normal; font-size: 12px; letter-spacing: .06em; color: var(--mute-55);
}

/* ── 02 Video ── */
/* Capped: full-bleed 16:9 filled the whole screen once the rail came out.
   Centred in the content column rather than flush left — a deliberate
   departure from the system's left alignment, at the client's request. */
.video { max-width: 900px; margin-inline: auto; }
.video + .video { margin-top: 40px; }
.video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #000; overflow: hidden;
}
.video-frame picture img,
.video-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  object-fit: cover;
}
.video-play {
  position: absolute; inset: 0; margin: auto;
  width: 84px; height: 84px; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  background: var(--accent); color: #fff;
  border: 0; border-radius: 0;
  transition: background .15s;
}
.video-play:hover { background: var(--accent-600); }
.video-play img { width: 31px; height: auto; margin-left: 4px; }
.video-cap {
  display: flex; justify-content: space-between; gap: 32px;
  border-top: 2px solid var(--rule); padding-top: 14px; margin-top: 16px;
}
.video-cap h3 { font-size: 23px; max-width: 560px; }
.video-cap p {
  font-size: 13px; line-height: 1.6; color: var(--mute-65); text-align: right;
}

/* ── 03 Repertoire ── */
.rep { display: grid; grid-template-columns: 150px 1fr; gap: 0 32px; margin: 0; font-size: 15px; }
.rep dt {
  font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mute-55); padding: 14px 0; border-top: 1px solid var(--rule-thin);
}
.rep dd {
  margin: 0; padding: 14px 0; line-height: 1.9; border-top: 1px solid var(--rule-thin);
}

/* ── 04 Gallery ── */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gal { min-width: 0; overflow: hidden; height: 300px; }
.gal img { width: 100%; height: 100%; object-fit: cover; }

/* ── 05 Press kit ── */
/* The 2px background gap between tiles *is* the rule. */
.kit {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--rule);
}
.kit-tile {
  display: flex; flex-direction: column; background: var(--ink); padding: 26px;
}
.kit-meta {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-400); margin-bottom: 10px;
}
.kit-title { font-weight: 800; font-size: 22px; margin-bottom: 6px; }
.kit-note { font-size: 13px; color: var(--mute-65); }
/* Read opens the document in a new tab; only "Download" saves a file. */
.kit-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.kit-btn {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px;
  font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--type); text-decoration: none;
  border: 2px solid var(--rule); border-radius: 0;
  transition: border-color .15s, color .15s;
}
.kit-btn:hover { border-color: var(--accent); color: var(--accent-400); }
.kit-btn--dl { color: var(--accent-400); }

/* Press-kit reading views. Built from the existing vocabulary: 2px rules,
   the .rep definition grid, kicker-style subheads. */
.kit-btn[aria-expanded="true"] { border-color: var(--accent); color: var(--accent-400); }
.kit-reader {
  margin-top: 32px; padding-top: 28px; max-width: 880px;
  border-top: 2px solid var(--accent);
  scroll-margin-top: 96px;
}
.kit-reader:focus { outline: none; }
.kit-reader[hidden] { display: none; }
.kit-reader-title { font-weight: 800; font-size: 22px; margin: 0 0 20px; }
.kit-reader-body p,
.kit-reader-intro {
  font-size: 15px; line-height: 1.7; color: var(--mute-78);
  max-width: 720px; margin: 0 0 14px;
}
.kit-reader-sub {
  font-weight: 800; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-400); margin: 32px 0 10px;
}
.kit-reader .rep dd ul { margin: 6px 0 0; padding-left: 18px; color: var(--mute-78); line-height: 1.6; }
.kit-reader .rep dd li { margin-bottom: 4px; }
.kit-reader-foot {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--rule-thin);
}

/* ── 05 Contact — white field (client's choice; replaces the red field) ── */
.sec--light { background: #ffffff; color: var(--ink); border-bottom: 0; }
.sec--light .sec-head { color: var(--accent-700); }   /* accent-700: AA on white */
.sec--light :focus-visible { outline-color: var(--ink); }

.contact { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; }
.cform { display: grid; gap: 16px; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cfield label { display: block; font-size: 12px; margin-bottom: 5px; }
.cfield input, .cfield textarea {
  width: 100%; min-height: 38px; padding: 6px 10px;
  font: inherit; font-size: 14px; color: var(--ink);
  background: #ffffff; border: 2px solid var(--ink); border-radius: 0;
}
.cfield textarea { min-height: 110px; resize: vertical; }
.cfield input::placeholder, .cfield textarea::placeholder { color: rgba(23, 25, 28, .62); }
.cfield input[aria-invalid="true"], .cfield textarea[aria-invalid="true"] {
  border-color: var(--accent-700); background: #fff5f3;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cform-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cbtn {
  font-family: var(--font); font-weight: 800; font-size: 14px;
  letter-spacing: .06em; text-transform: uppercase;
  background: var(--ink); color: #ffffff;
  border: 0; border-radius: 0; padding: 12px 22px; cursor: pointer;
  transition: color .15s;
}
.cbtn:hover { background: #000; }
.cbtn:disabled { opacity: .55; cursor: not-allowed; }
.cform-msg { font-size: 14px; font-weight: 600; margin: 0; transition: opacity .15s; }
.cform-msg.is-ok    { color: #15803d; }   /* green, 5.0:1 on white — AA */
.cform-msg.is-fading { opacity: 0; }
.cform-msg.is-error { color: var(--accent-700); }

.cinfo-head {
  font-weight: 800; font-size: 34px; line-height: 1.1; letter-spacing: -.02em;
  margin: 0 0 24px;
}
.cinfo-list {
  border-top: 2px solid var(--ink); padding-top: 14px; font-size: 15px; line-height: 1.8;
}
.cinfo-list a { font-weight: 600; text-decoration: none; }
.cinfo-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ═══════════════ FOOTER ═══════════════ */
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; transition: color .15s; }
.foot-links a:hover { color: var(--accent-400); }
.foot {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 20px var(--pad);
  padding-inline: max(var(--pad), calc((100% - var(--maxw)) / 2));
  font-size: 12px; color: var(--mute-65);
  border-top: 2px solid var(--rule);
}

/* ═══════════════ RESPONSIVE ═══════════════
   Only the 1280px desktop layout was designed; these are the
   adaptations recommended in the handoff. */

/* ── ≤1024px ── */
@media (max-width: 1024px) {
  :root { --pad: 32px; }
  .hero { height: 70vh; min-height: 520px; }
  .topbar-nav { gap: 20px; }
  .bio-cols { grid-template-columns: 1fr; gap: 20px; }
  .bio-lede { font-size: 30px; }
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .cinfo-head { font-size: 28px; }
}

/* ── ≤720px: single column throughout ── */
@media (max-width: 720px) {
  :root { --pad: 22px; }
  body { font-size: 15px; }

  .hero { height: 72vh; min-height: 460px; }
  .hero-name { font-size: 64px; margin-bottom: 16px; }
  .topbar {
    flex-direction: column; align-items: stretch; gap: 10px;
    padding: 12px var(--pad) 10px;
    background: var(--ink);            /* too little room to sit over the photo */
    border-bottom-color: var(--rule);
  }
  .topbar-brand { font-size: 11px; letter-spacing: .16em; }
  .topbar-nav { gap: 18px; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); }
  .topbar-nav a { font-size: 11px; letter-spacing: .08em; }
  .hero-block { bottom: 28px; }
  .hero-meta { gap: 6px 14px; }

  .bio-lede { font-size: 25px; }
  .pullquote p { font-size: 18px; }

  .video-cap { flex-direction: column; gap: 10px; }
  .video-cap h3 { font-size: 19px; }
  .video-cap p { text-align: left; }
  .video-play { width: 64px; height: 64px; }
  .video-play img { width: 24px; margin-left: 3px; }

  .rep { grid-template-columns: 1fr; gap: 0; }
  .rep dt { padding-bottom: 4px; }
  .rep dd { border-top: 0; padding-top: 0; padding-bottom: 16px; }

  .gallery { grid-template-columns: 1fr 1fr; }
  .gal { height: 240px; }

  .kit { grid-template-columns: 1fr; }
  .kit-title { font-size: 19px; }
  .kit-btn { min-height: 44px; flex: 1 1 auto; justify-content: center; }

  .cform-row { grid-template-columns: 1fr; }
  .cinfo-head { font-size: 25px; }
  /* 44px minimum tap targets on touch */
  .cfield input, .cfield textarea { min-height: 44px; }
  .cbtn { min-height: 44px; width: 100%; text-align: center; }

  .foot { flex-direction: column; gap: 6px; }
}

/* ── Motion ── */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
/* Anchored headings must clear the fixed bar */
.sec { scroll-margin-top: 72px; }
@media (max-width: 720px) { .sec { scroll-margin-top: 108px; } }

/* ── Print ── */
@media print {
  .topbar, .video-play, .skip { display: none; }
  body, .sec--light { background: #fff; color: #000; }
  .hero { height: auto; }
}
