/* ============================================================
   Portfolio site — shared styles
   Palette: ivory / deep navy / warm bronze
   Fonts: Cormorant Garamond (display) + Inter (body)
   ============================================================ */

:root {
  --ivory: #f4f0e7;
  --paper: #fbf9f4;
  --navy: #1f2a37;
  --ink: #2b2b2b;
  --bronze: #8c5a2b;
  --bronze-light: #a9723c;
  --muted: #6b6355;
  --line: #e0d8ca;
  --shadow: 0 12px 34px rgba(31, 42, 55, 0.14);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: 0.3px;
}

a { color: var(--bronze); text-decoration: none; }
a:hover { color: var(--bronze-light); }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 600;
  color: var(--bronze);
}

/* ---------- Top bar / hamburger ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  transition: background .3s ease, box-shadow .3s ease;
}
.topbar.solid {
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px; font-weight: 600; color: var(--navy);
  letter-spacing: 1px;
}
.topbar:not(.solid) .brand,
.topbar:not(.solid) .menu-btn span { color: #fff; }
.topbar:not(.solid) .menu-btn span { background: #fff; }

.menu-btn {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.menu-btn span {
  width: 26px; height: 2px; background: var(--navy); display: block;
  transition: transform .3s ease, opacity .2s ease, background .3s ease;
}
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: #fff; }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: #fff; }

/* ---------- Slide-out nav ---------- */
.nav-overlay {
  position: fixed; inset: 0; z-index: 45;
  background: rgba(31, 42, 55, 0.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
}
.nav-overlay.open { opacity: 1; visibility: visible; }
.nav-overlay nav { text-align: center; }
.nav-overlay a {
  display: block; color: #f4f0e7;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 5vw, 46px); font-weight: 500;
  padding: 8px 0; letter-spacing: 1px;
  opacity: 0; transform: translateY(14px);
}
.nav-overlay.open a { opacity: 1; transform: translateY(0); transition: opacity .4s ease, transform .4s ease; }
.nav-overlay.open a:nth-child(1){transition-delay:.05s}
.nav-overlay.open a:nth-child(2){transition-delay:.10s}
.nav-overlay.open a:nth-child(3){transition-delay:.15s}
.nav-overlay.open a:nth-child(4){transition-delay:.20s}
.nav-overlay.open a:nth-child(5){transition-delay:.25s}
.nav-overlay.open a:nth-child(6){transition-delay:.30s}
.nav-overlay.open a:nth-child(7){transition-delay:.35s}
.nav-overlay.open a:nth-child(8){transition-delay:.40s}
.nav-overlay a:hover { color: var(--bronze-light); }
.nav-overlay a.active { color: var(--bronze-light); }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; min-height: 560px;
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(31,42,55,.28) 0%, rgba(31,42,55,.05) 40%, rgba(31,42,55,.72) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-bottom: 9vh; }
.hero h1 { color: #fff; font-size: clamp(46px, 9vw, 104px); margin: 6px 0 8px; }
.hero .tagline { font-size: clamp(16px, 2.4vw, 22px); max-width: 640px; color: #f0ece3; font-weight: 300; }
.hero .eyebrow { color: #e7c9a3; }
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: #fff; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  opacity: .85; animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,7px)} }

/* ---------- Blocks grid ---------- */
.section { padding: 92px 0; }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(30px, 4.5vw, 46px); margin: 8px 0 10px; }
.section-head p { color: var(--muted); max-width: 620px; margin: 0 auto; }

.blocks {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.block {
  position: relative; overflow: hidden; border-radius: 4px;
  aspect-ratio: 10 / 8; box-shadow: var(--shadow);
  color: #fff; display: flex; align-items: flex-end;
}
.block img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .6s ease; filter: saturate(.92);
}
.block img[src="images/acting.jpg"] { object-position: center top; }
.block::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(31,42,55,.82) 0%, rgba(31,42,55,.15) 55%, rgba(31,42,55,.05) 100%);
  transition: background .3s ease;
}
.block .label { position: relative; z-index: 2; padding: 22px 24px; width: 100%; }
.block .label h3 { color: #fff; font-size: 27px; margin: 0 0 2px; }
.block .label span { font-size: 13px; letter-spacing: 1px; color: #e7c9a3; text-transform: uppercase; }
.block:hover img { transform: scale(1.06); }
.block:hover::after { background: linear-gradient(to top, rgba(140,90,43,.85) 0%, rgba(31,42,55,.2) 60%, rgba(31,42,55,.05) 100%); }

/* ---------- Sub-page header ---------- */
.page-head {
  padding: 150px 0 44px; text-align: center;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.page-head h1 { font-size: clamp(40px, 7vw, 72px); margin: 10px 0 8px; }
.page-head p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* ---------- Content ---------- */
.content { padding: 64px 0 40px; }
.content h2 { font-size: 30px; margin: 44px 0 14px; }
.content h3 { font-size: 22px; margin: 26px 0 6px; }
.content p { color: #3a372f; }
.lead { font-size: 21px; color: var(--muted); }
.note {
  background: var(--paper); border-left: 3px solid var(--bronze);
  padding: 14px 18px; margin: 22px 0; color: var(--muted); font-size: 15.5px; border-radius: 0 4px 4px 0;
}

/* credits / gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; align-items: start; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 4px; box-shadow: var(--shadow); aspect-ratio: 9/7; object-fit: cover; }
.gallery figure.portrait img { aspect-ratio: auto; object-fit: contain; width: auto; max-width: 100%; max-height: 480px; margin: 0 auto; }
.gallery figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

.credits { width: 100%; border-collapse: collapse; margin: 20px 0; }
.credits th, .credits td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 16px; }
.credits th { color: var(--navy); font-family: "Inter"; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

.sample {
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
  padding: 26px 30px; margin: 22px 0; box-shadow: var(--shadow);
}
.sample h3 { margin-top: 0; }
.sample .excerpt { font-family: "Cormorant Garamond", Georgia, serif; font-size: 21px; line-height: 1.55; color: #3a372f; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.two-col .col h4 { font-family: "Inter"; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bronze); margin: 0 0 8px; }
.two-col.split { gap: 0 44px; }
.two-col.split .col + .col { border-left: 1px solid var(--line); padding-left: 44px; }
.translation-en p { font-family: "Cormorant Garamond", Georgia, serif; font-size: 18px; line-height: 1.55; color: #3a372f; margin: 0 0 12px; }
.translation-en p.q { font-style: italic; font-size: 20px; color: var(--navy); }
.poem { font-family: "Cormorant Garamond", Georgia, serif; font-size: 19px; line-height: 1.5; color: #3a372f; margin: 12px 0 6px; max-width: 62ch; }
.poem p { margin: 0 0 18px; }

.btn {
  display: inline-block; background: var(--navy); color: #fff;
  padding: 12px 26px; border-radius: 3px; font-size: 14px; letter-spacing: .5px;
  margin: 8px 8px 8px 0; transition: background .25s ease;
}
.btn:hover { background: var(--bronze); color: #fff; }
.btn.ghost { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 44px; align-items: start; }
.about-grid img { border-radius: 6px; box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
footer {
  background: var(--navy); color: #cfd6de; margin-top: 40px;
  padding: 54px 0 40px; text-align: center;
}
footer .brand-f { font-family: "Cormorant Garamond", serif; font-size: 30px; color: #fff; }
footer .fnav { margin: 18px 0 14px; }
footer .fnav a { color: #cfd6de; margin: 0 12px; font-size: 15px; }
footer .fnav a:hover { color: #fff; }
footer small { color: #8592a1; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .blocks { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid img { max-width: 280px; }
  .two-col { grid-template-columns: 1fr; }
  .two-col.split .col + .col { border-left: 0; padding-left: 0; padding-top: 10px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  body { font-size: 17px; }
  .blocks { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

/* ============================================================
   Acting page — stats + expandable credit rows
   ============================================================ */

.section-sub { color: var(--muted); font-size: 15.5px; margin: -4px 0 14px; }

/* quick vital-stats strip */
.stats {
  list-style: none; padding: 0; margin: 18px 0 8px;
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.stats li { font-size: 16px; color: #3a372f; }
.stats li span {
  display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--bronze); font-weight: 600; margin-bottom: 1px;
}

/* credit list */
.credits-list { margin: 16px 0 8px; border-top: 1px solid var(--line); }

.credit {
  border-bottom: 1px solid var(--line);
}
/* shared row layout for both static rows and <summary> */
.credit.static,
.credit > summary {
  display: grid;
  grid-template-columns: 1.5fr 1.4fr 1.2fr auto;
  align-items: baseline; gap: 6px 20px;
  padding: 15px 4px;
}
.credit > summary { cursor: pointer; list-style: none; outline: none; }
.credit > summary::-webkit-details-marker { display: none; }
.credit.featured > summary:hover { background: var(--paper); }
.credit.featured > summary:focus-visible { box-shadow: inset 0 0 0 2px var(--bronze-light); }

.c-show { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-weight: 600; color: var(--navy); font-style: italic; }
.c-role { color: #2b2b2b; font-size: 16px; }
.c-dir  { color: var(--muted); font-size: 15px; }

/* "Photos" tag + toggle affordance on featured rows */
.c-tag {
  justify-self: end; align-self: center;
  font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600;
  color: var(--bronze); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
}
.c-tag::after {
  content: ""; width: 8px; height: 8px; border-right: 2px solid var(--bronze); border-bottom: 2px solid var(--bronze);
  transform: rotate(45deg); transition: transform .25s ease; margin-top: -3px;
}
.credit[open] > summary .c-tag::after { transform: rotate(-135deg); margin-top: 3px; }
.credit[open] > summary .c-tag { color: var(--bronze-light); }

/* expanded drawer */
.credit-body { padding: 6px 4px 24px; }
.gallery.two { grid-template-columns: repeat(2, 1fr); margin: 6px 0 16px; }
.credit-note { color: #3a372f; margin: 4px 0 0; }
.credit-note em { color: var(--muted); }

/* education records (Scholarship page) */
.edu { border-bottom: 1px solid var(--line); padding: 4px 0 20px; }
.edu-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.edu-head h3 { margin: 20px 0 2px; }
.edu-meta { color: var(--muted); font-size: 14px; letter-spacing: .3px; }
.edu-sub {
  font-family: "Cormorant Garamond", Georgia, serif; font-style: italic;
  font-size: 20px; color: var(--bronze); margin: 0 0 8px;
}
.edu ul { margin: 8px 0 0; padding-left: 20px; }
.edu li { margin: 4px 0; color: #3a372f; }

/* language proficiency */
.langs { list-style: none; padding: 0; margin: 14px 0 4px; max-width: 480px; }
.langs li {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.lang-name { font-size: 17px; color: #2b2b2b; }
.lang-name em { color: var(--muted); font-size: 14px; font-style: italic; }
.dots { display: inline-flex; gap: 6px; flex-shrink: 0; }
.dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--bronze); display: block; }
.dots i.on { background: var(--bronze); }

/* design projects — photos always visible (no dropdown) */
.design-item { border-bottom: 1px solid var(--line); padding: 18px 4px 28px; }
.design-head {
  display: grid; grid-template-columns: 1.5fr 1.4fr 1.2fr; gap: 6px 20px;
  align-items: baseline; margin: 4px 0 14px;
}
.design-item .gallery { margin: 6px 0 14px; }

@media (max-width: 680px) {
  .credit.static,
  .credit > summary {
    grid-template-columns: 1fr auto;
    gap: 2px 14px;
  }
  .c-role { grid-column: 1; }
  .c-dir  { grid-column: 1; }
  .c-tag  { grid-row: 1 / span 3; grid-column: 2; }
  .gallery.two { grid-template-columns: 1fr; }
  .design-head { grid-template-columns: 1fr; }
}

/* ============================================================
   Directing page — projects, photo dropdowns, video, callout
   ============================================================ */
.project { border-bottom: 1px solid var(--line); padding: 6px 0 34px; margin-bottom: 6px; }
.project > h3 { font-size: 28px; margin: 24px 0 2px; }
.project-meta {
  color: var(--muted); font-size: 15px; margin: 0 0 14px;
  font-family: "Inter", sans-serif;
}
.project-credits { color: var(--muted); font-size: 13.5px; letter-spacing: .2px; margin: 2px 0 16px; }
.project-note { color: #3a372f; margin: 0 0 16px; max-width: 72ch; }

/* "More photos" dropdown */
.photo-more { margin: 4px 0; }
.photo-more > summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600;
  color: var(--bronze); padding: 10px 0;
}
.photo-more > summary::-webkit-details-marker { display: none; }
.photo-more > summary::after {
  content: ""; width: 8px; height: 8px;
  border-right: 2px solid var(--bronze); border-bottom: 2px solid var(--bronze);
  transform: rotate(45deg); transition: transform .25s ease; margin-top: -3px;
}
.photo-more[open] > summary::after { transform: rotate(-135deg); margin-top: 3px; }
.photo-more > summary:hover { color: var(--bronze-light); }
.photo-more .gallery { margin-top: 8px; }

/* video holder + placeholder */
.video { margin: 18px 0 4px; }
.video iframe, .video video {
  width: 100%; aspect-ratio: 16 / 9; display: block; border: 0;
  border-radius: 6px; box-shadow: var(--shadow); background: #000;
}
.video-placeholder {
  aspect-ratio: 16 / 9; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: var(--paper); border: 2px dashed var(--line); border-radius: 6px;
  color: var(--muted); text-align: center; padding: 20px;
}
.video-placeholder strong {
  color: var(--navy); font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px; font-weight: 600;
}
.video-placeholder small { font-size: 13.5px; max-width: 44ch; }

/* "what's next" callout */
.callout {
  background: var(--navy); color: #eef1f4; border-radius: 8px;
  padding: 26px 30px; margin: 26px 0; box-shadow: var(--shadow);
}
.callout .eyebrow { color: #e7c9a3; }
.callout h3 { color: #fff; margin: 8px 0 10px; font-size: 26px; }
.callout p { color: #d4dae1; margin: 0 0 8px; }
.callout p:last-child { margin-bottom: 0; }
.callout a { color: #e7c9a3; }
.callout a:hover { color: #fff; }

/* ---------- Home intro (portrait + short bio) ---------- */
.home-intro { padding: 66px 0 6px; }
.home-intro .intro-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.home-intro .intro-portraits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.home-intro .intro-portrait { margin: 0; }
.home-intro .intro-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow); background: var(--ivory); display: block; }
.home-intro h2 { margin: 8px 0 12px; }
.home-intro p { color: var(--ink); max-width: 56ch; }
.home-intro .intro-link {
  display: inline-block; margin-top: 18px; color: var(--bronze);
  font-family: "Inter", sans-serif; font-size: 14px; letter-spacing: .3px;
  text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px;
}
.home-intro .intro-link:hover { color: var(--bronze-light); }
@media (max-width: 720px) {
  .home-intro { padding: 44px 0 4px; }
  .home-intro .intro-inner { grid-template-columns: 1fr; gap: 22px; }
}
