:root {
  --bg: #faf7f2;
  --surface: #fff;
  --text: #1d1b24;
  --muted: #6a6577;
  --accent: #b4415f;
  --line: #e6e0d6;
  --chip: #f1e8ea;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15131b;
    --surface: #1e1b27;
    --text: #f1eef6;
    --muted: #a49eb5;
    --accent: #f08aa5;
    --line: #2f2b3b;
    --chip: #2b2230;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: env(safe-area-inset-top, 0px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 Georgia, "Times New Roman", serif;
}

h1, h2, h3, .sans, button {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 22px;
}

.hero {
  padding: 44px 0 26px;
}

.eyebrow {
  font: 600 13px "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  font-size: clamp(38px, 7vw, 60px);
  line-height: 1.05;
  margin: 10px 0 14px;
  letter-spacing: -.02em;
}

.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 660px;
  margin: 0;
}

.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin: 22px 0 30px;
  overflow-x: auto;
}

.tabs button {
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}

.tabs button.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.panel[hidden] {
  display: none;
}

h2 {
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 16px;
}

.card h3 {
  margin: 0;
  font-size: 20px;
}

.meta {
  font: 14px "Helvetica Neue", Arial, sans-serif;
  color: var(--muted);
  margin: 4px 0 12px;
}

.card p {
  margin: 0 0 10px;
  font-size: 16px;
}

.card ul {
  margin: 0;
  padding-left: 20px;
}

.card li {
  margin-bottom: 7px;
  font-size: 16px;
}

.tag {
  display: inline-block;
  font: 600 12px "Helvetica Neue", Arial, sans-serif;
  background: var(--chip);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 999px;
  margin: 0 6px 10px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.grid .card {
  margin: 0;
}

.gal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.gal img,
.gal video {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  cursor: zoom-in;
  display: block;
}

.gal video {
  cursor: auto;
  background: #000;
}

.gal.tall img {
  aspect-ratio: 4 / 5;
  object-position: center 30%;
}

.about {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: 30px;
  align-items: start;
}

.portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 45%;
  border-radius: 16px;
}

.bio p {
  margin: 0 0 14px;
  font-size: 18px;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px dashed var(--line);
  padding: 10px 0;
  font-size: 16px;
}

.row span {
  color: var(--muted);
  font: 14px "Helvetica Neue", Arial, sans-serif;
}

.row b {
  font-weight: 600;
}

.row-company {
  color: var(--muted);
  font: 14px "Helvetica Neue", Arial, sans-serif;
  margin-top: 2px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.chips span {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font: 14px "Helvetica Neue", Arial, sans-serif;
}

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

.btn {
  font: 600 15px "Helvetica Neue", Arial, sans-serif;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}

.btn.p {
  background: var(--accent);
  color: var(--bg);
}

.contact {
  margin-top: 44px;
  padding: 34px 0 60px;
  border-top: 1px solid var(--line);
}

.contact .lead {
  font-size: 18px;
}

#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
  cursor: zoom-out;
}

#lightbox[hidden] {
  display: none;
}

#lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .about {
    grid-template-columns: 1fr;
  }

  .portrait {
    max-width: 300px;
  }
}

.video {
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.section-title {
  font-size: 22px;
  margin: 34px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.panel > h2 + .section-title {
  margin-top: 0;
}

.section-lead {
  color: var(--muted);
  font-size: 16px;
  margin: -4px 0 16px;
}

.posters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.poster {
  aspect-ratio: 2 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 16px 14px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .15s ease;
}

.poster:hover,
.poster:focus-visible {
  transform: translateY(-3px);
}

.poster.p0 { background: linear-gradient(160deg, #2b2438 0%, #b4415f 130%); }
.poster.p1 { background: linear-gradient(160deg, #1d2a33 0%, #3f7c8a 130%); }
.poster.p2 { background: linear-gradient(160deg, #33261d 0%, #c08a3e 130%); }
.poster.p3 { background: linear-gradient(160deg, #1f1d2b 0%, #6a5acd 130%); }

.poster-kind {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: auto;
}

.poster-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
}

.poster-role {
  font-size: 12px;
  opacity: .8;
}
