/* Acting = cinematic dark, Modeling = editorial light. The toggle flips data-mode on <html>. */
:root[data-mode="acting"] {
  --bg: #0E0E0E; --hero: #161514; --fg: #F2EDE6; --muted: #A39C92; --accent: #C8A16A;
  --line: #2A2826; --ph: #1C1B19; --off: #6E6862;
  --display: 'Oswald', sans-serif; --dw: 600; --dcase: uppercase; --dtrack: .005em;
}
:root[data-mode="modeling"] {
  --bg: #FAF8F5; --hero: #E6E1DA; --fg: #141414; --muted: #6B6660; --accent: #141414;
  --line: #E2DDD5; --ph: #ECE8E2; --off: #8E877E;
  --display: 'DM Serif Display', serif; --dw: 400; --dcase: none; --dtrack: -.01em;
}
[data-mode="acting"] [data-only="modeling"],
[data-mode="modeling"] [data-only="acting"] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 16px/1.6 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color .7s ease, color .7s ease;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { opacity: .7; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 48px); }
.muted { color: var(--muted); }
.display { font-family: var(--display); font-weight: var(--dw); text-transform: var(--dcase); letter-spacing: var(--dtrack); }
.label { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.label.serif { font: italic 400 30px/1.2 'DM Serif Display', serif; letter-spacing: 0; text-transform: none; color: var(--fg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; min-height: max(560px, 100svh);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px clamp(20px, 5vw, 72px) clamp(32px, 6vh, 56px);
  background: var(--hero); transition: background-color .7s ease;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; animation: settle 1.6s cubic-bezier(.2,.7,.2,1) both; }
[data-mode="acting"] .hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(14,14,14,.92), rgba(14,14,14,.35) 45%, rgba(14,14,14,.15));
}
/* Modeling hero: portrait photo as a panel on the right, name on the light ground */
.hero-side { left: auto; width: min(46%, 760px); object-position: center 25%; }
.hero-text { position: relative; z-index: 1; }
/* Floating menu: transparent over the hero, solid bar once scrolled (main.js toggles .solid) */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap;
  padding: 20px clamp(20px, 5vw, 72px);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg);
  transition: background-color .3s ease, border-color .3s ease, padding .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.solid,
[data-mode="modeling"] .nav {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav.solid { padding-block: 12px; }
.brand { font-size: 13px; font-weight: 600; letter-spacing: .24em; text-decoration: none; margin-right: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; }
.pill { display: flex; border: 1px solid var(--fg); border-radius: 999px; padding: 4px; }
.pill button {
  min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent;
  letter-spacing: inherit; text-transform: inherit;
  transition: background-color .4s ease, color .4s ease;
}
.pill button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.eyebrow { margin: 0 0 18px; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.hero h1 { margin: 0; font-size: clamp(64px, 12vw, 176px); line-height: .9; animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
/* DM Serif runs wide: sized so the name overlaps the photo edge a little, not the face */
[data-mode="modeling"] .hero h1 { font-size: clamp(58px, 10.3vw, 164px); }
/* Where the name crosses the dark photo, the letters invert to light; over the beige they stay near-black.
   Needs .hero-text to not form its own stacking context (only Acting needs it above the scrim). */
[data-mode="modeling"] .hero-text { z-index: auto; }
[data-mode="modeling"] .hero h1 { color: #fff; mix-blend-mode: difference; }
/* Modeling hero: measurements + comp card under the name, left of the photo */
.hero-stats { max-width: min(560px, 46vw); margin-top: 36px; animation: rise 1s .2s cubic-bezier(.2,.7,.2,1) both; container-type: inline-size; }
.hero-stats .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 12px; margin: 12px 0 28px; border-top: 1px solid var(--line); }
.hero-stats .stats > div { padding: 14px 0 4px; }
/* Scales with the block's width so "Blonde" never runs into the next column */
.hero-stats .stats dd { font-size: clamp(16px, 4.8cqi, 27px); }

/* ---------- Work ---------- */
#work { padding-top: 120px; padding-bottom: 40px; }

.panel { display: flex; flex-direction: column; gap: 104px; animation: fade .7s ease both; }
.sec-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 32px; font-size: 13px;
  transition: border-color .7s ease;
}
.btn {
  text-decoration: none; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--accent); color: var(--accent); padding: 14px 22px;
  transition: background-color .25s, color .25s;
}
.btn:hover { opacity: 1; background: var(--accent); color: var(--bg); }

.grid { display: grid; gap: 24px; }
.shots { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.clips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.book { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
figcaption { display: flex; gap: 14px; font-size: 13px; }
.num { color: var(--accent); }
.frame { overflow: hidden; background: var(--ph); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.shots .frame { aspect-ratio: 5 / 4; }
button.frame { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; }
.frame.digital { aspect-ratio: 4 / 5; }
.frame.book-img { aspect-ratio: 2 / 3; }
.frame.book-img img { object-position: center 30%; }
/* Landscape photo: landscape frame on phones; on wider screens spans two columns and fills the row's height */
.wide .frame.book-img { aspect-ratio: 3 / 2; }
@media (min-width: 641px) {
  .wide { grid-column: span 2; }
  .wide .frame.book-img { aspect-ratio: auto; height: 100%; min-height: 320px; }
}
.shot img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.shot:hover img { transform: scale(1.04); }
video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ph); }
.clips figcaption { justify-content: space-between; }
.clip-title { font: 500 18px/1.3 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .04em; }

.ph { aspect-ratio: 4 / 5; background: var(--ph); display: flex; align-items: center; justify-content: center; transition: background-color .7s ease; }
.ph.tall { aspect-ratio: 3 / 4; }
.ph.runway { aspect-ratio: 2 / 3; }
.ph span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.facts, .stats { margin: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 16px 48px; margin-bottom: 56px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.stats > div { padding: 20px 0; }
dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
dd { margin: 6px 0 0; }
.facts dd { font: 500 24px/1.2 'Oswald', sans-serif; text-transform: uppercase; }
.stats dd { font: 400 32px/1.1 'DM Serif Display', serif; }

.subhead { margin: 0 0 8px; font: 500 24px/1.3 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.credits { list-style: none; margin: 0; padding: 0; }
.credits li { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.credits .c-title { flex: 1 1 240px; font-style: italic; color: var(--fg); }
.credits li > span:nth-child(2) { flex: 0 0 140px; }
.credits li > span:nth-child(3) { flex: 0 1 220px; }
.credits.big .c-title { font: 400 22px/1.3 'DM Serif Display', serif; flex-basis: 280px; }
.credits.big li { align-items: center; font-size: 14px; }
.credits.big li > span:nth-child(2) { flex: 0 1 200px; }

.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px; margin-top: 64px; }
.two .label { margin-bottom: 16px; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; }

/* ---------- About & contact ---------- */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 72px; align-items: center; padding-block: 120px; }
.portrait { aspect-ratio: 4 / 5; }
.portrait img { object-position: 50% 30%; }
.about .label { margin-bottom: 28px; }
.about p { margin: 0 0 20px; font-size: 17px; line-height: 1.7; }
.about .lede { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.5; }
.about .muted { font-size: 15px; }

.contact { border-top: 1px solid var(--line); padding: 120px 0 64px; }
.contact h2 { margin: 0 0 72px; font-size: clamp(52px, 8vw, 120px); line-height: .95; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; font-size: 17px; }
.contact-grid p { margin: 0; }
.contact-grid .k { margin-bottom: 8px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.profiles { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 48px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 32px 48px; font-size: 12px; color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  background: rgba(10, 10, 10, .95); color: #F2EDE6;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: fade .3s ease both; }
.lightbox::backdrop { background: transparent; }
html:has(.lightbox[open]) { overflow: hidden; }
.lightbox img { max-width: calc(100% - 160px); max-height: calc(100% - 96px); object-fit: contain; }
.lb-btn { position: absolute; width: 56px; height: 56px; display: grid; place-items: center; background: none; border: 0; color: inherit; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; margin: 0; text-align: center; font-size: 12px; letter-spacing: .2em; color: #A39C92; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes settle { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
/* Fade-in on scroll: CSS scroll-driven where supported (Chrome, Safari 26+); other browsers just show content. */
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  /* Phones: name and toggle on one slim line */
  .nav { flex-wrap: nowrap; gap: 12px; padding-block: 14px; }
  .nav.solid { padding-block: 10px; }
  .brand { font-size: 12px; letter-spacing: .18em; white-space: nowrap; }
  .pill button { min-height: 34px; padding: 0 11px; font-size: 11px; letter-spacing: .12em; }
  /* Modeling hero on phones: the photo in the flow below the menu, then name + stats */
  .hero-side {
    position: relative; inset: auto; width: calc(100% + 2 * clamp(20px, 5vw, 72px)); max-width: none; height: auto; aspect-ratio: 4 / 5;
    margin: 48px calc(-1 * clamp(20px, 5vw, 72px)) 32px;
  }
  .hero-stats { max-width: none; }
  .hero-stats .stats dd { font-size: clamp(16px, 6.4cqi, 27px); }
  #work { padding-top: 80px; }
  .panel { gap: 72px; }
  .about, .contact { padding-block: 80px; }
  .credits li > span:nth-child(n+2) { flex: 0 0 auto; }
  .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .clip-title { font-size: 15px; }
  .lightbox img { max-width: 100%; max-height: calc(100% - 160px); }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
