/* ============================================================
   LEM — Actor. Royal blue & white. Playbill editorial system.
   Fraunces (display) + Inter Tight (body). No gradients.
   Mobile-first. Tested breakpoints: 375 / 768 / 1024 / 1440.
   ============================================================ */

:root {
  --royal:      #1B3B9C;   /* primary royal blue */
  --royal-deep: #122A73;   /* hover / footer      */
  --royal-tint: #EEF2FC;   /* whisper backgrounds */
  --white:      #FFFFFF;
  --ink:        #14181F;   /* body text on white  */
  --gray:       #58607A;   /* secondary text      */
  --rule:       rgba(20, 24, 31, 0.14);
  --rule-light: rgba(255, 255, 255, 0.35);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1160px;
  --gutter: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: 1.0625rem;            /* 17px */
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--royal); text-decoration: none; }
a:hover { color: var(--royal-deep); }

:focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-blue :focus-visible { outline-color: var(--white); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Type scale ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; }

h1 { font-size: clamp(3rem, 10vw, 6.5rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.35rem; line-height: 1.25; margin-bottom: 0.5rem; }

p  { max-width: 62ch; }
p + p { margin-top: 1rem; }

/* Billing eyebrow — the playbill voice. */
.eyebrow {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--royal);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: var(--royal); }
.on-blue .eyebrow { color: var(--white); }
.on-blue .eyebrow::before { background: var(--white); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px;
}
.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand:hover { color: var(--royal); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;                /* ≥44px tap target */
  background: none; border: 1px solid var(--rule); border-radius: 4px;
  cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

.nav-links {
  list-style: none;
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 0.5rem 0 0.75rem;
}
.nav-links.open { display: block; }
.nav-links a {
  display: block;
  padding: 0.85rem var(--gutter);            /* generous tap target */
  font-weight: 500;
  color: var(--ink);
}
.nav-links a:hover { color: var(--royal); background: var(--royal-tint); }
.nav-links a[aria-current="page"] {
  color: var(--royal);
  font-weight: 600;
  box-shadow: inset 4px 0 0 var(--royal);
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-links {
    display: flex; position: static; border: 0; padding: 0; gap: 0.25rem;
    background: transparent;
  }
  .nav-links a { padding: 0.6rem 0.9rem; font-size: 0.95rem; }
  .nav-links a:hover { background: transparent; }
  .nav-links a[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--royal);
  }
}

/* ---------- Playbill frame (signature) ---------- */
.playbill {
  border: 1px solid var(--rule-light);
  outline: 1px solid var(--rule-light);
  outline-offset: 5px;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.on-white .playbill {
  border-color: var(--royal);
  outline-color: var(--royal);
}

/* ---------- Hero (home) ---------- */
.hero {
  background: var(--royal);
  color: var(--white);
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.hero .wrap {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.hero h1 { color: var(--white); }
.hero .credit-line {
  margin-top: 1.4rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 34ch;
}
.hero-photo { position: relative; justify-self: center; width: min(100%, 420px); }
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; }
  .hero-photo { justify-self: end; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.6rem;
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; border-radius: 3px;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn-solid { background: var(--white); color: var(--royal); }
.btn-solid:hover { background: var(--royal-tint); color: var(--royal-deep); }
.btn-ghost { border-color: var(--rule-light); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }

.on-white .btn-solid { background: var(--royal); color: var(--white); }
.on-white .btn-solid:hover { background: var(--royal-deep); color: var(--white); }
.on-white .btn-ghost { border-color: var(--royal); color: var(--royal); }
.on-white .btn-ghost:hover { background: var(--royal-tint); }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section.tint { background: var(--royal-tint); }
.section.blue { background: var(--royal); color: var(--white); }
.section.blue h2, .section.blue h3 { color: var(--white); }
.section.blue p { color: rgba(255, 255, 255, 0.88); }

/* Two-column editorial split */
.split { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; gap: 4.5rem; align-items: start; }
  .split.reverse { grid-template-columns: 7fr 5fr; }
}

/* ---------- Doorway tiles (home) ---------- */
.doorways { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.doorway {
  border: 1px solid var(--rule);
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  color: var(--ink);
  transition: border-color 160ms ease, transform 160ms ease;
}
.doorway .where { font-family: var(--display); font-size: 1.6rem; font-weight: 600; }
.doorway .what  { color: var(--gray); font-size: 0.98rem; }
.doorway .go    { margin-top: 0.6rem; font-weight: 600; color: var(--royal); font-size: 0.95rem; }
.doorway:hover  { border-color: var(--royal); transform: translateY(-3px); }
@media (min-width: 768px) { .doorways { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Fact list (about) ---------- */
.facts { list-style: none; border-top: 1px solid var(--rule); margin-top: 0.5rem; }
.facts li {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.98rem;
}
.facts .k { font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.78rem; color: var(--royal); padding-top: 0.15rem; }
@media (max-width: 480px) { .facts li { grid-template-columns: 1fr; gap: 0.15rem; } }

/* ---------- Reels ---------- */
.reel-list { display: grid; gap: 2.75rem; margin-top: 2rem; }
.reel figure { margin: 0; }
.reel .frame {
  aspect-ratio: 16 / 9;
  background: var(--royal-deep);
  border: 1px solid var(--rule);
}
.reel iframe { width: 100%; height: 100%; border: 0; display: block; }
.reel figcaption { padding-top: 0.9rem; }
.reel figcaption .meta { color: var(--gray); font-size: 0.95rem; }
@media (min-width: 900px) { .reel-list { grid-template-columns: 1fr 1fr; } .reel.featured { grid-column: 1 / -1; } }

/* ---------- Pictures ---------- */
.gallery { display: grid; gap: 1.25rem; margin-top: 2rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--rule); }
.gallery figcaption { padding-top: 0.55rem; font-size: 0.9rem; color: var(--gray); }
@media (min-width: 600px)  { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .gallery { grid-template-columns: 1fr 1fr 1fr; } }

/* ---------- Résumé ---------- */
.resume-block { margin-top: 2.75rem; }
.resume-table { width: 100%; border-collapse: collapse; margin-top: 0.9rem; }
.resume-table th {
  text-align: left; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--royal); font-weight: 600;
  border-bottom: 2px solid var(--royal);
  padding: 0.5rem 0.75rem 0.5rem 0;
}
.resume-table td {
  padding: 0.8rem 0.75rem 0.8rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  font-size: 0.98rem;
}
.resume-table td:first-child { font-weight: 600; }
@media (max-width: 640px) {
  .resume-table thead { display: none; }
  .resume-table tr { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
  .resume-table td { display: block; border: 0; padding: 0.1rem 0; }
}

/* ---------- Updates ---------- */
.update { border-top: 1px solid var(--rule); padding: 2rem 0; display: grid; gap: 0.4rem; }
.update time { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--royal); font-weight: 600; }
.update:first-of-type { margin-top: 1.5rem; }

/* ---------- Contact ---------- */
.contact-card { border: 1px solid var(--rule); padding: 1.75rem 1.5rem; }
.contact-card + .contact-card { margin-top: 1.25rem; }
.contact-card .label { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--royal); font-weight: 600; margin-bottom: 0.5rem; }
.contact-card a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--royal-deep);
  color: var(--white);
  padding: 3rem 0 2.5rem;
}
.site-footer .wrap { display: grid; gap: 1.5rem; }
.site-footer .brand { color: var(--white); font-size: 1.3rem; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.footer-links a { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; padding: 0.4rem 0; display: inline-block; }
.footer-links a:hover { color: var(--white); }
.site-footer .fine { color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; }
@media (min-width: 768px) {
  .site-footer .wrap { grid-template-columns: 1fr auto; align-items: center; }
  .site-footer .fine { grid-column: 1 / -1; }
}

/* ---------- Motion: one hero reveal, nothing scattered ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero .reveal { opacity: 0; transform: translateY(14px); animation: rise 700ms cubic-bezier(.2,.7,.2,1) forwards; }
  .hero .reveal:nth-child(2) { animation-delay: 120ms; }
  .hero-photo.reveal { animation-delay: 220ms; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- Print (résumé page) ---------- */
@media print {
  .site-header, .site-footer, .no-print { display: none; }
  body { font-size: 11pt; }
  .section { padding: 0; }
}
