/* ==========================================================================
   Orlando Arriaga — actor site
   Colors and type live in :root. To try the stark (white / black) look,
   swap in the values from the comment block below.
   ========================================================================== */

:root {
  --bg: #F6F3EE;
  --ink: #1A1917;
  --muted: #5E5A54;
  --line: #D9D4CB;
  --fill: #E4DFD6;
  --photo: #3A3733; /* shows behind photos until they load */

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --pad: clamp(20px, 5vw, 64px);
  --max: 1312px;
}

/* Stark alternative — replace the values above with these:
   --bg: #FFFFFF;  --ink: #0B0B0B;  --muted: #4F4F4F;
   --line: #D4D4D4; --fill: #EDEDED; --photo: #262626;
*/

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { opacity: .65; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

h1, h2, h3, p, figure, dl, dd { margin: 0; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  padding: 12px 16px; background: var(--ink); color: var(--bg);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Header / nav ---------- */

.site-header {
  position: relative; z-index: 5;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 32px; padding: 20px var(--pad);
}
.site-header--overlay { position: absolute; top: 0; left: 0; right: 0; color: #fff; }

.wordmark {
  font-family: var(--serif); font-size: 24px; letter-spacing: .04em; text-decoration: none;
}

.nav { display: flex; flex-wrap: wrap; gap: 0 32px; }
.nav a {
  padding: 14px 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid transparent;
}
.nav a[aria-current="page"] { border-bottom-color: currentColor; }

.nav-toggle { display: none; }

@media (max-width: 640px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
    background: transparent; border: 1px solid currentColor; color: inherit;
    font: 500 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
  }
  .js .nav { display: none; width: 100%; flex-direction: column; }
  .js .nav.is-open { display: flex; }
}

/* ---------- Hero (photo at the very top, text over it) ---------- */

.hero {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 800px; background: var(--photo); color: #fff; overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 43% 30%; /* keeps the actor in frame on narrow screens */
}
/* soft fades so white text stays readable on any photo */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 45%, rgba(0,0,0,.62) 100%);
}
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(40px, 6vw, 72px); }
.hero h1 {
  font-family: var(--serif); font-weight: 500; text-transform: uppercase;
  font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: .02em;
}
/* To go back to the big stacked name: font-size clamp(60px, 12vw, 176px),
   line-height .92, letter-spacing -.01em, and .hero h1 span { display: block; } */
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 16px 48px; margin-top: 20px;
}
.hero__tagline { max-width: 440px; font-size: 20px; }
.hero__credits { font-size: 14px; letter-spacing: .04em; color: rgba(255,255,255,.88); }

/* ---------- Page heads (inner pages) ---------- */

.page-head { padding: clamp(24px, 5vw, 64px) 0 clamp(32px, 4vw, 56px); }
.page-head h1 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 8vw, 104px);
  line-height: 1; letter-spacing: -.01em;
}
.page-head p { margin-top: 16px; max-width: 520px; color: var(--muted); }

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

.section { padding-top: clamp(64px, 9vw, 112px); }
.section:last-of-type { padding-bottom: clamp(72px, 9vw, 120px); }

.section-label {
  display: flex; align-items: center; gap: 24px; margin-bottom: 32px;
  font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.section-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.display-h {
  font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.1;
}
.lede { margin: 16px 0 32px; max-width: 420px; color: var(--muted); }

/* ---------- Now & Next ---------- */

.now-next { display: flex; flex-wrap: wrap; gap: 48px 96px; }
.now-next__item { flex: 1 1 340px; min-width: 0; }
.now-next__kicker {
  margin-bottom: 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.now-next__title { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.1; }
.now-next__detail { margin-top: 12px; font-size: 17px; }
.now-next__dates { margin-top: 4px; font-size: 17px; color: var(--muted); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 0 6px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid currentColor;
}

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

.reel { aspect-ratio: 16 / 9; background: var(--ink); }
.reel iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Gallery teaser tiles ---------- */

.tiles { display: flex; flex-wrap: wrap; gap: 32px; }
.tile { flex: 1 1 280px; display: block; text-decoration: none; }
.tile__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--fill); }
.tile__title {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; font-family: var(--serif); font-size: 26px;
}

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

.contact { display: flex; flex-wrap: wrap; gap: 64px 96px; }
.contact > div { flex: 1 1 340px; min-width: 0; }
.contact > div:last-child { flex-basis: 420px; }

.rep { display: flex; flex-direction: column; gap: 4px; font-size: 17px; }
.rep strong { font-weight: 500; }
.rep a { padding: 8px 0; }

.form { display: flex; flex-direction: column; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  background: transparent; color: var(--ink); font: inherit; font-size: 16px;
}
.field textarea { resize: vertical; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-size: 15px; }

.btn {
  display: inline-flex; align-items: center; align-self: flex-start;
  min-height: 48px; padding: 14px 36px; border: 0; border-radius: 0;
  background: var(--ink); color: var(--bg);
  font: 500 12px var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
}

/* ---------- Resume ---------- */

.resume-meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; padding-bottom: 8px;
}
.resume-stats { font-size: 14px; letter-spacing: .04em; color: var(--muted); }

.table-wrap { overflow-x: auto; }
.credits { width: 100%; min-width: 640px; border-collapse: collapse; }
.credits th, .credits td {
  padding: 14px 24px 14px 0; text-align: left; vertical-align: top; border-top: 1px solid var(--line);
}
.credits thead th {
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.credits tbody th { font-weight: 500; }
.resume-block + .resume-block { margin-top: clamp(48px, 6vw, 80px); }
.resume-block h2 {
  margin-bottom: 20px; font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.1;
}
.resume-block p { max-width: 640px; }
.resume-note { font-family: var(--sans); font-size: 14px; font-style: italic; color: var(--muted); }

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

.about { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start; }
.about__photo { flex: 1 1 320px; max-width: 520px; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--fill); }
.about__text { flex: 1 1 380px; min-width: 0; max-width: 640px; font-size: 18px; line-height: 1.65; }
.about__text p + p { margin-top: 1.2em; }

/* ---------- Gallery page ---------- */

.gallery-block + .gallery-block { margin-top: clamp(64px, 8vw, 104px); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 24px; }
.gallery-grid--wide { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.thumb {
  display: block; width: 100%; padding: 0; border: 0; background: var(--fill); cursor: zoom-in;
}
.thumb img { width: 100%; object-fit: cover; }
.thumb--portrait img { aspect-ratio: 4 / 5; }
.thumb--landscape img { aspect-ratio: 3 / 2; }
.thumb--cinema img { aspect-ratio: 19 / 10; }
.gallery-grid figcaption { margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--muted); }

.lightbox:not([open]) { display: none; }
.lightbox[open] {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 24px;
  border: 0; background: transparent; color: #fff;
}
.lightbox::backdrop { background: rgba(10, 10, 10, .92); }
.lightbox__figure { max-width: min(1100px, 80vw); text-align: center; }
.lightbox__figure img { width: auto; max-width: 100%; max-height: 78vh; margin-inline: auto; }
.lightbox__figure figcaption { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.85); }
.lightbox button {
  flex: none; width: 48px; height: 48px; padding: 0;
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45);
  font-size: 26px; line-height: 1; cursor: pointer;
}
.lightbox__close { position: absolute; top: 20px; right: 20px; }

@media (max-width: 640px) {
  .lightbox[open] { gap: 8px; padding: 12px; }
  .lightbox__figure { max-width: 70vw; }
}

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

.site-footer { margin-top: 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.site-footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 32px; padding: 28px var(--pad);
}
.site-footer a { padding: 12px 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 28px; }
