/* =============================================
   LISA FORRELL — Director & Dramatist
   Design: Theatrical dark stage aesthetic
   Palette: Ink black / Ivory / Wine / Gold
   ============================================= */

/* === TOKENS === */
:root {
  --ink:      #2A2118;
  --ink-soft: #3D2F22;
  --ivory:    #FAF8F5;
  --ivory-dim:#EDE6DA;
  --wine:     #7A1F35;
  --gold:     #8C6D3F;
  --gold-dim: #A68555;
  --mid-bg:   #F2EDE6;
  --light-bg: #FAF8F5;
  --text-on-dark: #EDE6DA;
  --text-on-light: #2A2118;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-w: 1100px;
  --narrow-w: 780px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--light-bg);
  color: var(--text-on-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), opacity 0.4s var(--ease);
}

.nav.scrolled {
  opacity: 1;
  pointer-events: auto;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(140, 109, 63, 0.15);
}

.nav-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ivory);
  transition: transform 0.3s, opacity 0.3s;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mid-bg);
  overflow: hidden;
}

/* Subtle spotlight gradient */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 45%,
    rgba(140, 109, 63, 0.08) 0%,
    rgba(242, 237, 230, 0) 70%);
  pointer-events: none;
}

/* Thin vertical lines — like stage flats */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(140,109,63,0.06) 1px, transparent 1px);
  background-size: 120px 100%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  animation: heroFadeUp 1.2s var(--ease) both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  animation: heroFadeUp 1.2s 0.15s var(--ease) both;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: 0.08em;
  color: var(--ink);
  opacity: 0.55;
  text-transform: uppercase;
  animation: heroFadeUp 1.2s 0.25s var(--ease) both;
}

.hero-rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 2rem auto;
  animation: heroFadeUp 1.2s 0.4s var(--ease) both;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
  animation: heroFadeUp 1.2s 0.5s var(--ease) both;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  opacity: 0.5;
  transition: opacity 0.2s;
  animation: heroFadeUp 1.2s 0.8s var(--ease) both, heroFloat 2.5s 2s ease-in-out infinite;
}

.hero-scroll:hover { opacity: 1; }

@keyframes heroFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* === SECTIONS === */
.section { padding: 6rem 2rem; }

.section--dark  { background: var(--light-bg); }
.section--mid   { background: var(--mid-bg); }
.section--light { background: #FFFFFF; }
.section--contact { background: var(--mid-bg); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.container--narrow {
  max-width: var(--narrow-w);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1.25rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.section-title--dark {
  color: var(--ink);
}

.section-title--dark::after {
  background: var(--wine);
}

.section-intro {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-top: -2rem;
  margin-bottom: 3rem;
}

.section-intro--light { color: var(--ivory-dim); }

/* === PROJECTS === */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.category-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}

.project-card {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(42, 33, 24, 0.08);
}

.project-card:last-child {
  border-bottom: none;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.35rem;
  font-style: italic;
}

.project-meta {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.project-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--ink);
  opacity: 0.7;
}

/* === REVIEWS === */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
}

.review-show {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  color: var(--wine);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(139, 26, 47, 0.2);
}

.review {
  margin-bottom: 1.25rem;
  padding-left: 1.25rem;
  border-left: 2px solid rgba(139, 26, 47, 0.25);
}

.review p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-on-light);
  line-height: 1.6;
  margin-bottom: 0.35rem;
}

.review cite {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wine);
}

/* === PAST CREDITS === */
.credits-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.credits-category {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.credits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.credits-list li {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(42, 33, 24, 0.07);
}

.credit-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
}

.credit-venue {
  font-size: 0.72rem;
  color: var(--ink);
  opacity: 0.45;
  letter-spacing: 0.05em;
  margin-top: 0.1rem;
}

/* === ABOUT === */
.about-body {
  margin-bottom: 3.5rem;
}

.about-lead {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.about-body p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--ink);
  opacity: 0.75;
  margin-bottom: 1rem;
}

.about-facts {
  display: flex;
  gap: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(140, 109, 63, 0.2);
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fact-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.fact-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
}

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.contact-role {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.contact-block p {
  font-size: 0.88rem;
  color: var(--ink);
  opacity: 0.7;
  line-height: 1.8;
}

.contact-company {
  font-style: italic;
  color: var(--ink) !important;
  opacity: 0.9 !important;
}

.contact-link {
  font-size: 0.85rem;
  color: var(--gold);
  transition: color 0.2s;
  display: inline-block;
  line-height: 1.8;
}

.contact-link:hover { color: var(--gold-dim); }

.social-links {
  padding-top: 2.5rem;
  border-top: 1px solid rgba(42, 33, 24, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.45;
  transition: opacity 0.2s, color 0.2s;
}

.social-link:hover { opacity: 1; color: var(--gold); }

.social-sep {
  color: var(--gold);
  opacity: 0.4;
}

/* === FOOTER === */
.footer {
  background: var(--mid-bg);
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(42, 33, 24, 0.08);
}

.footer p {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--ink);
  opacity: 0.35;
  text-transform: uppercase;
}

/* === HERO MASKS === */
.hero-masks {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  opacity: 0.18;
  width: 80px;
  filter: grayscale(100%) brightness(1.4);
  pointer-events: none;
  animation: heroFadeUp 1.2s 1s var(--ease) both;
}

.hero-masks img {
  width: 100%;
}

/* === ABOUT LAYOUT === */
.about-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.about-photo-wrap {
  position: relative;
}

.about-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -10px -10px 10px 10px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  pointer-events: none;
  z-index: 0;
}

.about-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  display: block;
  position: relative;
  z-index: 1;
  filter: grayscale(15%) contrast(1.05);
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-photo-wrap {
    max-width: 280px;
  }
  .hero-masks {
    width: 55px;
    bottom: 2rem;
    right: 1.5rem;
  }
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .projects-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .reviews-grid  { grid-template-columns: 1fr; }
  .credits-columns { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .about-facts   { gap: 2rem; flex-wrap: wrap; }
  .nav-links { gap: 1.5rem; }
}

@media (max-width: 680px) {
  .nav { padding: 1rem 1.25rem; }
  .section { padding: 4rem 1.25rem; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 75vw;
    max-width: 320px;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    border-left: 1px solid rgba(140, 109, 63, 0.15);
    z-index: 200;
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.9rem; color: var(--ink); }

  .nav-toggle { display: flex; z-index: 300; }
  .nav-toggle span { background: var(--ink); }

  .hero-name { font-size: clamp(4rem, 18vw, 7rem); }

  .about-facts { gap: 1.5rem; }
  .fact-number { font-size: 2.2rem; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* === LIGHTBOX === */
.archive-item {
  cursor: zoom-in;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 22, 16, 0.92);
  animation: fadeIn 0.25s var(--ease);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-img-wrap {
  position: relative;
  z-index: 1;
  width: 92vw;
  height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: zoomIn 0.3s var(--ease);
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 2;
  background: none;
  border: none;
  color: rgba(250, 248, 245, 0.7);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  padding: 0.25rem 0.5rem;
}

.lightbox-close:hover {
  color: #fff;
  transform: scale(1.15);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(250, 248, 245, 0.1);
  border: 1px solid rgba(250, 248, 245, 0.2);
  color: rgba(250, 248, 245, 0.8);
  font-size: 1.25rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(250, 248, 245, 0.2);
  color: #fff;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.archive-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #111;
}

.archive-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) brightness(0.85);
  transition: filter 0.4s var(--ease), transform 0.4s var(--ease);
}

.archive-item:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.04);
}

/* Placeholder styling for when archive images aren't yet added */
.archive-item img[src=""] ,
.archive-item img:not([src]) {
  background: #1a1a1a;
}

@media (max-width: 900px) {
  .archive-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 580px) {
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === LINKS === */
.links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ext-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(42, 33, 24, 0.08);
  transition: gap 0.2s var(--ease);
}

.ext-link:hover { gap: 1.25rem; }

.ext-link-label {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--ink);
  flex: 1;
}

.ext-link-url {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  opacity: 0.8;
}

.ext-link svg {
  color: var(--gold);
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.ext-link:hover svg {
  opacity: 1;
  transform: translate(2px, -2px);
}
