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

:root {
  --bg:          #6B1222;
  --bg-deep:     #4E0C18;
  --bg-light:    #7E1A2E;
  --bg-card:     #551018;
  --cream:       #F2E8DA;
  --cream-dim:   rgba(242, 232, 218, 0.6);
  --cream-faint: rgba(242, 232, 218, 0.18);
  --cream-ghost: rgba(242, 232, 218, 0.08);
  --gold:        #C9A96E;
  --gold-dim:    rgba(201, 169, 110, 0.4);
  --rule:        rgba(242, 232, 218, 0.12);
  --rule-light:  rgba(242, 232, 218, 0.06);

  --display: "Cormorant Garamond", "Georgia", serif;
  --sans:    "Libre Franklin", "Helvetica Neue", sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: var(--bg-deep);
}

/* ── CUSTOM SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: var(--cream-faint);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--cream-dim); }

/* ── GRAIN ── */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10000;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* ── VIGNETTE ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(30, 4, 10, 0.3) 100%);
}

/* ═══════════════════════════════════════
   MASTHEAD
   ═══════════════════════════════════════ */
.masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(107, 18, 34, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.5s ease, backdrop-filter 0.5s ease, border-color 0.5s ease;
}

.masthead.scrolled {
  background: rgba(107, 18, 34, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--rule);
}

.masthead-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.masthead-brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--cream);
  text-decoration: none;
  transition: opacity 0.3s;
}

.masthead-brand:hover { opacity: 0.8; }

.masthead-nav {
  display: flex;
  gap: 32px;
  list-style: none;
}

.masthead-nav a {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.35s ease;
}

.masthead-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out-expo);
}

.masthead-nav a:hover { color: var(--cream); }
.masthead-nav a:hover::after { width: 100%; }

.masthead-nav a.active {
  color: var(--cream);
}

.masthead-nav a.active::after {
  width: 100%;
  background: var(--gold);
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 102;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.35s var(--ease-out-expo), opacity 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) { opacity: 0; }

.hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── MOBILE NAV OVERLAY ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(78, 12, 24, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out-expo);
}

.mobile-nav.open { opacity: 1; pointer-events: auto; }

.mobile-nav a {
  font-family: var(--display);
  font-weight: 400;
  font-size: 36px;
  color: var(--cream);
  text-decoration: none;
  padding: 16px 0;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out-expo), color 0.3s;
}

.mobile-nav.open a {
  opacity: 1;
  transform: translateY(0);
}

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

.mobile-nav.open a:nth-child(1) { transition-delay: 0.06s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.12s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.18s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.24s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.30s; }
.mobile-nav.open a:nth-child(6) { transition-delay: 0.36s; }
.mobile-nav.open a:nth-child(7) { transition-delay: 0.42s; }
.mobile-nav.open a:nth-child(8) { transition-delay: 0.48s; }

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 48px 80px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

/* Hero background with parallax-ready layer */
.hero-bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center top;
  z-index: 0;
  will-change: transform;
  transition: transform 0.1s linear;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(107, 18, 34, 0.55) 0%, rgba(107, 18, 34, 0.8) 50%, rgba(78, 12, 24, 0.95) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 25%);
  z-index: 1;
}

.hero > *:not(.hero-bg):not(.hero-bg-overlay) {
  position: relative;
  z-index: 2;
}

/* ── Hero entrance animations ── */
.hero-date,
.hero-ornament,
.hero-name,
.hero-rule,
.hero-subtitle {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1s var(--ease-out-expo) forwards;
}

.hero-date        { animation-delay: 0.2s; }
.hero-ornament    { animation-delay: 0.35s; }
.hero-name        { animation-delay: 0.5s; transform: translateY(30px); }
.hero-rule        { animation-delay: 0.75s; }
.hero-subtitle    { animation-delay: 0.9s; }

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-date {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 48px;
}

.hero-ornament {
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 36px;
  position: relative;
}

.hero-ornament::before {
  content: "";
  position: absolute;
  top: -3px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 7px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: transparent;
}

.hero-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(72px, 14vw, 180px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 0;
}

.hero-name span {
  display: block;
}

.hero-rule {
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cream-faint), transparent);
  margin: 40px auto;
}

.hero-subtitle {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(17px, 2.2vw, 23px);
  color: var(--cream-dim);
  letter-spacing: 0.03em;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 80px;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  opacity: 0;
  animation: heroFadeIn 1s var(--ease-out-expo) 1.3s forwards;
}

.hero-scroll span {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--cream-dim), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.15; transform: scaleY(0.8); }
  50% { opacity: 0.7; transform: scaleY(1); }
}

/* ═══════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════ */
.about-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.about-inner {
  padding: 120px 0 56px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: start;
}

.about-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
  display: inline-block;
  position: relative;
}

.about-label::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 20px;
  height: 1px;
  background: var(--gold-dim);
}

.about-heading {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin-bottom: 32px;
}

.about-text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.85;
  color: var(--cream-dim);
}

.about-text + .about-text { margin-top: 20px; }

.about-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: 80px;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--bg-deep);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
  overflow: hidden;
  position: relative;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.about-photo:hover img {
  transform: scale(1.03);
}

/* ── TRAILER ── */
.about-trailer {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px 100px;
}

.about-trailer-inner {
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: var(--bg-deep);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
  overflow: hidden;
}

.about-trailer-inner iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.trailer-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.trailer-play-circle {
  width: 56px; height: 56px;
  border: 1px solid var(--cream-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trailer-play-icon {
  width: 0; height: 0;
  border-left: 14px solid var(--cream-dim);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */
.section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-header {
  padding: 120px 0 48px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.section-number {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════
   CARD GRIDS
   ═══════════════════════════════════════ */
.grid {
  display: grid;
  gap: 4px;
}

.grid[data-layout="hero-side"] {
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 1fr 1fr;
  min-height: 580px;
}

.grid[data-layout="hero-side"] .card:first-child {
  grid-row: 1 / -1;
}

.grid[data-layout="thirds"] {
  grid-template-columns: repeat(3, 1fr);
  min-height: 380px;
}

.grid[data-layout="two-one"] {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  min-height: 480px;
}

.grid[data-layout="two-one"] .card:last-child {
  grid-column: 1 / -1;
}

.grid[data-layout="halves"] {
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}

/* ═══════════════════════════════════════
   CARDS
   ═══════════════════════════════════════ */
.card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: var(--cream);
  background: var(--bg-card);
  min-height: 180px;
  isolation: isolate;
}

.card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.9s var(--ease-out-expo);
  will-change: transform;
}

.card:hover .card-bg {
  transform: scale(1.06);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(55, 8, 16, 0.9) 0%,
    rgba(55, 8, 16, 0.35) 45%,
    rgba(55, 8, 16, 0.1) 100%
  );
  transition: background 0.6s ease;
  z-index: 1;
}

.card:hover .card-overlay {
  background: linear-gradient(
    0deg,
    rgba(55, 8, 16, 0.94) 0%,
    rgba(55, 8, 16, 0.5) 45%,
    rgba(55, 8, 16, 0.2) 100%
  );
}

.card-bg:not([style*="background-image"]) {
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-deep) 100%);
}

.card-content {
  position: relative;
  z-index: 2;
}

.card-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  transition: color 0.3s;
}

.card-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  transition: transform 0.5s var(--ease-out-expo);
}

.card:hover .card-title {
  transform: translateY(-2px);
}

.card-desc {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(242, 232, 218, 0.7);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s var(--ease-out-expo),
              opacity 0.5s ease 0.05s,
              margin-top 0.5s var(--ease-out-expo);
  margin-top: 0;
}

.card:hover .card-desc {
  max-height: 160px;
  opacity: 1;
  margin-top: 12px;
}

.card-arrow {
  position: absolute;
  top: 24px; right: 24px;
  width: 34px; height: 34px;
  border: 1px solid rgba(242, 232, 218, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: all 0.5s var(--ease-out-expo);
}

.card:hover .card-arrow {
  opacity: 1;
  transform: translate(0, 0);
  border-color: rgba(242, 232, 218, 0.3);
}

.card-arrow svg {
  width: 12px; height: 12px;
  stroke: var(--cream);
  stroke-width: 1.5;
  fill: none;
}

/* ═══════════════════════════════════════
   DIVIDER / PULLQUOTE
   ═══════════════════════════════════════ */
.pullquote {
  max-width: 1400px;
  margin: 0 auto;
  padding: 88px 48px;
  border-top: 1px solid var(--rule);
  text-align: center;
}

.pullquote-text {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.55;
  color: var(--cream);
  max-width: 680px;
  margin: 0 auto;
}

.pullquote-attr {
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ═══════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--cream-faint);
  background: rgba(107, 18, 34, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--cream-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out-expo),
              border-color 0.3s, color 0.3s;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--cream-dim);
  color: var(--cream);
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
  max-width: 1400px;
  margin: 0 auto;
  padding: 72px 48px 80px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 12px;
  font-weight: 400;
  color: var(--cream-dim);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.35s ease;
  position: relative;
  padding-bottom: 3px;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out-expo);
}

.footer-links a:hover {
  color: var(--cream);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-copy {
  font-size: 10px;
  color: var(--cream-dim);
  letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════
   MODAL
   ═══════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 4, 10, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out-expo);
}

.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-container {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-height: 88vh;
  background: var(--bg);
  z-index: 201;
  border-radius: 16px 16px 0 0;
  border-top: 1px solid var(--rule);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(100%);
  transition: transform 0.6s var(--ease-out-expo);
}

.modal-container.active { transform: translateY(0); }

/* Custom scrollbar for modal */
.modal-container::-webkit-scrollbar { width: 4px; }
.modal-container::-webkit-scrollbar-track { background: transparent; }
.modal-container::-webkit-scrollbar-thumb {
  background: var(--cream-faint);
  border-radius: 2px;
}

.modal-close {
  position: sticky;
  top: 0; z-index: 10;
  display: flex;
  justify-content: flex-end;
  padding: 20px 28px 0;
  background: linear-gradient(var(--bg) 60%, transparent);
}

.modal-close button {
  width: 38px; height: 38px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--bg);
  color: var(--cream-dim);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}

.modal-close button:hover {
  border-color: var(--cream-dim);
  color: var(--cream);
  transform: rotate(90deg);
}

.modal-body {
  padding: 16px 56px 80px;
  max-width: 780px;
  margin: 0 auto;
}

.modal-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.modal-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}

.modal-meta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--cream-dim);
  letter-spacing: 0.05em;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}

.modal-content {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.85;
  color: var(--cream-dim);
}

.modal-content p + p { margin-top: 20px; }

.modal-content img {
  display: block;
  width: 100%;
  height: auto;
  margin: 36px 0;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--rule);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  loading: lazy;
}

.modal-content img:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}

.modal-content figure {
  margin: 36px 0;
}

.modal-content figure img { margin: 0; }

.modal-content figcaption {
  margin-top: 12px;
  font-size: 12px;
  font-style: italic;
  color: var(--cream-dim);
  text-align: center;
  letter-spacing: 0.03em;
}

.modal-content h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 19px;
  color: var(--cream);
  margin: 36px 0 16px;
  letter-spacing: 0.01em;
}

.modal-content ul { list-style: none; padding: 0; margin: 16px 0; }

.modal-content li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  font-weight: 300;
  transition: padding-left 0.3s ease;
}

.modal-content li:hover {
  padding-left: 4px;
}

.modal-content li:last-child { border-bottom: none; }

.modal-content .yr {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-right: 12px;
  font-weight: 500;
}

.modal-content a:not(.modal-link) {
  color: var(--cream);
  text-decoration: underline;
  text-decoration-color: var(--gold-dim);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.3s;
}

.modal-content a:not(.modal-link):hover {
  text-decoration-color: var(--gold);
}

.modal-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 12px 28px;
  border: 1px solid var(--cream-dim);
  color: var(--cream);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.modal-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
  z-index: -1;
}

.modal-link:hover {
  color: var(--bg);
  border-color: var(--cream);
}

.modal-link:hover::before {
  transform: scaleX(1);
}

.modal-embed {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-deep);
  border: 1px solid var(--rule);
  margin: 24px 0;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.modal-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ═══════════════════════════════════════
   SCORE CARDS
   ═══════════════════════════════════════ */

.score-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 28px;
}

.score-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

.score-item:last-child { border-bottom: none; }

.score-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.score-info em {
  font-family: var(--display);
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
}

.score-info small {
  font-size: 11px;
  font-weight: 300;
  color: var(--cream-dim);
  letter-spacing: 0.04em;
}

.score-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1px solid var(--rule-light);
  color: var(--cream-dim);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  white-space: nowrap;
}

.score-btn::before {
  content: "↗";
  font-size: 11px;
  transition: transform 0.3s ease;
}

.score-btn:hover {
  color: var(--bg-deep);
  background: var(--gold);
  border-color: var(--gold);
}

.score-btn:hover::before {
  transform: translate(2px, -2px);
}

/* ═══════════════════════════════════════
   SCROLL ANIMATIONS (one-shot only)
   ═══════════════════════════════════════ */

/* Before JS runs, everything is visible (no flash of invisible content) */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* JS adds this class to <html> once ready — only then do unrevealed items hide */
.reveal-ready .reveal:not(.vis) {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo);
}

.reveal-ready .reveal.vis {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo);
}

.reveal-ready .stagger > .reveal.vis:nth-child(1) { transition-delay: 0s; }
.reveal-ready .stagger > .reveal.vis:nth-child(2) { transition-delay: 0.08s; }
.reveal-ready .stagger > .reveal.vis:nth-child(3) { transition-delay: 0.16s; }
.reveal-ready .stagger > .reveal.vis:nth-child(4) { transition-delay: 0.24s; }

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal:not(.vis) {
    transform: none;
    transition: opacity 0.4s ease;
  }
}

/* ═══════════════════════════════════════
   FOCUS STATES (accessibility)
   ═══════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.card:focus-visible {
  outline-offset: -2px;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-right { max-width: 360px; position: static; }
  .grid[data-layout="hero-side"] {
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
  }
  .grid[data-layout="hero-side"] .card:first-child { grid-row: auto; }
}

@media (max-width: 768px) {
  .masthead-inner { padding: 0 24px; }
  .masthead-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .section, .about-section, .about-trailer, .pullquote, .footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero { padding: 100px 24px 60px; }
  .section-header { padding: 80px 0 36px; }

  .about-inner { gap: 36px; padding-top: 80px; }
  .about-trailer-inner { max-width: 100%; }

  .grid[data-layout="hero-side"],
  .grid[data-layout="thirds"],
  .grid[data-layout="two-one"] {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }

  .grid[data-layout="halves"] {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }

  .grid[data-layout="hero-side"] .card:first-child,
  .grid[data-layout="two-one"] .card:last-child {
    grid-row: auto;
    grid-column: auto;
  }

  .grid .card { min-height: 260px; }

  /* Much heavier overlay on mobile so text is always legible */
  .card .card-overlay {
    background: linear-gradient(
      0deg,
      rgba(40, 6, 12, 0.98) 0%,
      rgba(40, 6, 12, 0.92) 35%,
      rgba(40, 6, 12, 0.6) 70%,
      rgba(40, 6, 12, 0.3) 100%
    );
  }

  /* Always show descriptions on touch — no hover */
  .card .card-desc {
    max-height: 160px;
    opacity: 1;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.55;
  }

  .card .card-arrow {
    opacity: 1;
    transform: translate(0, 0);
  }

  .back-to-top { bottom: 20px; right: 20px; width: 38px; height: 38px; }

  .footer { flex-direction: column; gap: 28px; align-items: flex-start; }
  .modal-body { padding: 16px 24px 56px; }
}

@media (max-width: 480px) {
  .card-title { font-size: 20px; }
  .card .card-desc { font-size: 11.5px; }
  .card { padding: 24px; }
  .about-inner { grid-template-columns: 1fr; }
  .hero-name { letter-spacing: -0.03em; }
}
