/* ==========================================================================
   cinematic.css — dark, filmic, headshot-led.

   The premise: a casting director's first impression should feel like a title
   card, not a CV. One full-bleed frame, an enormous letterspaced name, and
   everything else deferred below the fold behind a very quiet utility bar.
   ========================================================================== */

:root {
  --bg:      #0d0b0a;
  --bg-2:    #15110e;
  --ink:     #ece3d5;
  --ink-2:   #9a9086;
  --line:    rgba(236, 227, 213, 0.13);
  --accent:  #c8945f;
  --focus:   var(--accent);
  --sans:    'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif:   'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(0.98rem, 0.94rem + 0.2vw, 1.06rem);
  line-height: 1.7;
}

.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 46rem); margin-inline: auto; }

/* --- Utility bar --------------------------------------------------------- */

.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
}
.bar.is-stuck {
  background: rgba(13, 11, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.bar nav { display: flex; gap: clamp(1rem, 3vw, 2rem); }
.bar nav a {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s ease;
}
.bar nav a:hover { color: var(--ink); }
@media (max-width: 640px) {
  .bar nav { gap: 1rem; }
  .bar nav a:nth-child(n + 4) { display: none; }
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  /* Fallback for browsers without small-viewport units. Declared first so
     anything that understands svh overrides it. */
  min-height: 100vh;
  /* svh is the SMALL viewport height — the value measured with the mobile URL
     bar VISIBLE. It is a fixed number: unlike vh and dvh it does NOT
     recalculate when the bar hides on scroll. That matters here because the
     hero image is object-fit: cover, so any change to the box height re-crops
     and visibly re-zooms the frame mid-scroll. */
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

/* Two scrims: a vertical one to seat the type, and a soft vignette so the
   frame reads as photographed rather than pasted on. */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(13,11,10,0.96) 0%, rgba(13,11,10,0.72) 28%, rgba(13,11,10,0.12) 58%, rgba(13,11,10,0.45) 100%),
    radial-gradient(120% 80% at 50% 40%, transparent 40%, rgba(13,11,10,0.5) 100%);
}

.hero__body {
  position: relative;
  z-index: 1;
  padding: 0 0 clamp(3rem, 9vw, 6rem);
}
.hero__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: clamp(1rem, 2.5vw, 1.75rem);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.7rem, 1.1rem + 7.4vw, 8rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}
.hero h1 span { display: block; }
.hero__sub {
  margin-top: clamp(1rem, 2.5vw, 1.6rem);
  max-width: 34ch;
  color: var(--ink-2);
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.1rem);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: clamp(1.5rem, 4vw, 2.5rem); }

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--solid { background: var(--accent); border-color: var(--accent); color: #1a1209; }
.btn--solid:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn svg { width: 1rem; height: 1rem; }

/* --- Sections ------------------------------------------------------------ */

.sec { padding: clamp(4rem, 11vw, 8.5rem) 0; }
.sec--alt { background: var(--bg-2); }

.sec__head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.sec__num {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
}
.sec h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 1.3rem + 3.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
  text-wrap: balance;
}

/* --- Reel ---------------------------------------------------------------- */

.reel { border: 1px solid var(--line); border-radius: 4px; }
.reel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* --- Credits ------------------------------------------------------------- */

.credits + .credits { margin-top: clamp(2.5rem, 6vw, 4rem); }

.credits h3 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.credit { border-bottom: 1px solid var(--line); }
.credit__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; letter-spacing: 0.01em; }
.credit__role { color: var(--ink); }
.credit__detail { color: var(--ink-2); font-size: 0.92rem; }
.credit__note { color: var(--accent); font-size: 0.76rem; letter-spacing: 0.06em; }

@media (max-width: 699px) {
  .credit__role::after { content: ' · '; color: var(--ink-2); }
  .credit__role, .credit__detail { display: inline; font-size: 0.92rem; }
}

/* --- Stats --------------------------------------------------------------- */

.stats {
  padding: clamp(1.75rem, 4vw, 2.5rem) 0;
  border-block: 1px solid var(--line);
}
.stat dd { font-family: var(--serif); font-size: 1.3rem; }

/* --- About --------------------------------------------------------------- */

.about { display: grid; gap: clamp(2rem, 6vw, 4rem); }
@media (min-width: 900px) { .about { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.about__portrait { aspect-ratio: 2 / 3; overflow: hidden; }
.about__portrait img { width: 100%; height: 100%; object-fit: cover; }
.about__body p + p { margin-top: 1.1rem; }
.about__body em { font-style: italic; color: var(--ink); }

/* --- Training ------------------------------------------------------------ */

.train { display: grid; gap: 0; }
.train__row {
  display: grid;
  gap: 0.1rem 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) { .train__row { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.train__subject { font-weight: 600; }
.train__where, .train__with { color: var(--ink-2); font-size: 0.92rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--ink-2);
}

/* --- Contact ------------------------------------------------------------- */

.contact { text-align: center; }
.contact__mail {
  display: inline-block;
  margin: 1.5rem 0 2rem;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 0.9rem + 2.2vw, 2.6rem);
  letter-spacing: 0.01em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.contact__mail:hover { border-color: var(--accent); }

.elsewhere { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* --- Footer -------------------------------------------------------------- */

.foot {
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.82rem;
}
/* The flex row goes on an inner element so it still inherits .wrap's width —
   putting it on .foot itself would push the text to the viewport edge. */
.foot__in {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  padding: 2.5rem 0 3rem;
}
