/* =========================================================
   STEVE ALLHOFF — SHARED STYLES
   Palette pulled from the hero photo.
   Type system: DM Serif Display / Inter / JetBrains Mono.
   ========================================================= */

:root {
  --moss: #2A3B2E;
  --moss-deep: #1E2C22;
  --paper: #ECE7D9;
  --coral: #DE7E6A;
  --rule: rgba(236,231,217,0.18);
  --mute: rgba(236,231,217,0.65);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--paper);
  background: var(--moss);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(30,44,34,0.85), rgba(30,44,34,0.4) 70%, transparent);
  color: var(--paper);
  transition: background 0.35s ease;
}
.nav.scrolled,
body.page-inner .nav {
  background: rgba(30,44,34,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-mark {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: inherit;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: inherit;
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.85;
}
.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--coral);
  opacity: 1;
}

/* =========================================================
   HOME — PINNED PHOTO + HERO
   ========================================================= */
.photo-frame {
  position: fixed;
  top: 0; right: 0;
  width: 50vw;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
  will-change: width, height, top, right;
  --p: 0;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.photo-frame .fade-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--moss) 0%, rgba(42,59,46,0.55) 15%, transparent 32%);
  pointer-events: none;
}
.photo-frame .fade-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--moss) 0%, var(--moss) 8%, rgba(42,59,46,0.55) 22%, transparent 45%);
  opacity: var(--p);
  pointer-events: none;
}
.photo-frame .tint {
  position: absolute;
  inset: 0;
  background: var(--moss);
  opacity: calc(var(--p) * 0.35);
  pointer-events: none;
}

.hero {
  height: 100vh;
  min-height: 640px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 5rem;
  z-index: 2;
}
.hero-content { max-width: 45%; }
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.75rem;
  opacity: 0.95;
}
.eyebrow .dot {
  color: var(--coral);
  margin: 0 0.6em;
}
.wordmark {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.hero-caption {
  position: absolute;
  left: 5rem;
  bottom: 3rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--mute);
}

/* =========================================================
   INNER PAGE LAYOUT
   ========================================================= */
.page {
  padding: 9rem 2rem 5rem;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 4rem;
}
.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--mute);
  margin-bottom: 2rem;
  margin-top: 4rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.section-eyebrow:first-child { margin-top: 0; }
.section-eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.prose {
  max-width: 640px;
}
.prose p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: rgba(236,231,217,0.88);
}
.prose em { font-style: italic; color: var(--paper); }
.prose a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.prose a:hover { text-decoration-thickness: 2px; }

/* =========================================================
   HOME — BIO SECTION (kept here so home uses shared styles)
   ========================================================= */
.bio {
  padding: 4rem 2rem 7rem;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.bio-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--mute);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.bio-eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.bio-lede {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 2.75rem;
  max-width: 640px;
  letter-spacing: -0.01em;
}
.bio p.body {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: rgba(236,231,217,0.88);
}
.bio em { font-style: italic; color: var(--paper); }

/* =========================================================
   CREDITS — program-insert grid
   ========================================================= */
.credits-list {
  display: flex;
  flex-direction: column;
}
.credit {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1.5fr;
  gap: 2rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.credit:last-child { border-bottom: none; }
.credit .c-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.credit .c-role {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: rgba(236,231,217,0.9);
}
.credit .c-theater {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--mute);
}

/* =========================================================
   VOICEOVER
   ========================================================= */
.vo-embeds {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.vo-embed {
  background: rgba(236,231,217,0.04);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.5rem;
}
.vo-embed .vo-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mute);
  margin-bottom: 1rem;
}
.vo-embed iframe { width: 100%; border: none; }
.vo-embed audio { width: 100%; }

.vo-channels {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.vo-channel {
  display: block;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.vo-channel:hover {
  border-color: var(--coral);
  background: rgba(222,126,106,0.05);
}
.vo-channel .vc-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mute);
  margin-bottom: 0.75rem;
}
.vo-channel .vc-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.vo-channel .vc-desc {
  font-size: 0.9rem;
  color: var(--mute);
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-tile {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 5;
  background: var(--moss-deep);
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-tile.crop-bars img { transform: scale(1.6); }
.gallery-tile.crop-bars:hover img { transform: scale(1.66); }
.gallery-tile .g-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1rem 1rem;
  background: linear-gradient(to top, rgba(30,44,34,0.95), transparent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-tile:hover .g-caption,
.gallery-tile:focus-within .g-caption { opacity: 1; }
.gallery-tile .g-role {
  color: var(--mute);
  margin-top: 0.35rem;
  text-transform: none;
  letter-spacing: 0;
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 0.75rem;
}

/* =========================================================
   SPLASH — Professional / Performer chooser (homepage only)
   ========================================================= */
html.splash-seen .splash { display: none !important; }
.splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--moss);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.splash.closing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash-inner {
  text-align: center;
  max-width: 780px;
  width: 100%;
}
.splash-mark {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
  color: var(--paper);
}
.splash-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.splash-choice {
  display: block;
  padding: 2.5rem 2rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: transparent;
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  width: 100%;
}
.splash-choice:hover,
.splash-choice:focus-visible {
  border-color: var(--coral);
  background: rgba(222, 126, 106, 0.06);
  transform: translateY(-2px);
  outline: none;
}
.splash-choice .sc-label {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.splash-choice .sc-desc {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mute);
}

@media (max-width: 640px) {
  .splash-choices { grid-template-columns: 1fr; }
  .splash-choice { padding: 2rem 1.5rem; }
  .splash-mark { margin-bottom: 2.5rem; }
}

/* =========================================================
   LIGHTBOX (gallery)
   ========================================================= */
.gallery-tile { cursor: pointer; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 20, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lb-stage {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
.lb-image {
  max-width: 100%;
  max-height: calc(90vh - 8rem);
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border-radius: 2px;
  display: block;
}
.lb-caption {
  text-align: center;
  color: var(--paper);
  max-width: 640px;
}
.lb-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.lb-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mute);
}

.lb-btn {
  position: absolute;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--paper);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.lb-btn:hover {
  border-color: var(--coral);
  background: rgba(222, 126, 106, 0.1);
  color: var(--coral);
}
.lb-btn:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}
.lb-close { top: 1.5rem; right: 1.5rem; }
.lb-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

.lb-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--mute);
}

@media (max-width: 720px) {
  .lightbox { padding: 3rem 0.75rem; }
  .lb-close { top: 0.75rem; right: 0.75rem; }
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
  .lb-btn { width: 2.5rem; height: 2.5rem; font-size: 1.25rem; }
  .lb-image { max-height: calc(90vh - 7rem); }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-block {
  max-width: 560px;
}
.contact-block .contact-lede {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.3;
  margin-bottom: 2.5rem;
}
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-list li {
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}
.contact-list .cl-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mute);
  min-width: 5rem;
}
.contact-list .cl-value {
  font-size: 1.05rem;
}
.contact-list a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-underline-offset: 4px;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  padding: 5rem 2rem 3rem;
  text-align: center;
  background: var(--moss-deep);
  color: var(--paper);
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--rule);
}
footer .mark {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}
footer .contact {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.7;
}
footer .contact .dot {
  color: var(--coral);
  margin: 0 0.6em;
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 720px) {
  .nav { padding: 1rem 1.25rem; }
  .nav-links { gap: 0.9rem; }
  .nav-links a { font-size: 0.62rem; letter-spacing: 0.1em; }
  .nav-mark { display: none; }

  .hero { padding: 0 1.5rem; }
  .hero-content { max-width: 100%; padding-top: 5rem; }
  .hero-caption { left: 1.5rem; bottom: 1.5rem; }

  .bio { padding: 3rem 1.5rem 4rem; }
  .bio-lede { font-size: 1.5rem; }

  .page { padding: 6rem 1.5rem 4rem; }
  .page-title { font-size: 2.75rem; margin-bottom: 3rem; }

  .credit {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1.25rem 0;
  }
  .credit .c-title { font-size: 1.2rem; }

  .contact-list li {
    flex-direction: column;
    gap: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
