/* ==========================================================================
   Esther — Authorial Cinema Homepage Design System
   Palette extracted strictly from dusk city, lattice kitchen, and lamplight.
   ========================================================================== */

:root {
  --bg-void: #0e0907;
  --bg-hearth: #18100c;
  --bg-twilight: #141926;
  --bg-card: rgba(25, 16, 12, 0.78);

  --gold-bright: #f2c66d;
  --gold-burnished: #c9943e;
  --gold-soft: rgba(242, 198, 109, 0.24);

  --emerald-arch: #1f6e3f;
  --emerald-glow: #3ca363;

  --terracotta: #b95632;
  --ember: #e87a2e;

  --parchment: #f5ead9;
  --parchment-muted: #c6b69f;
  --ink-dark: #160e0a;

  --font-display: 'Cormorant Garamond', 'Palatino Linotype', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --ease-cinema: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background: var(--bg-void);
  color: var(--parchment);
  font-family: var(--font-sans);
  line-height: 1.62;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--gold-bright);
  color: var(--ink-dark);
  font-weight: 600;
  text-decoration: none;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 16px;
}

/* ==========================================================================
   Header & Controls
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: var(--header-h);
  padding: 0 clamp(16px, 4vw, 44px);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(14, 9, 7, 0.72) 0%, rgba(14, 9, 7, 0) 100%);
  transition: background-color 320ms var(--ease-cinema), border-color 320ms ease;
}

.site-header.is-scrolled {
  background: rgba(14, 9, 7, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(242, 198, 109, 0.14);
}

.header-inner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-compact {
  display: inline-flex;
  align-items: center;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 280ms var(--ease-cinema), transform 280ms var(--ease-cinema);
}

.site-header.is-scrolled .brand-compact {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.brand-compact img {
  height: 30px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
}

.nav-link {
  position: relative;
  color: rgba(245, 234, 217, 0.84);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 2px;
  transition: color 200ms ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 240ms var(--ease-cinema);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--gold-bright);
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: 999px;
  background: rgba(14, 9, 7, 0.58);
  border: 1px solid rgba(242, 198, 109, 0.24);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--parchment-muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.lang-btn:hover {
  color: var(--parchment);
}

.lang-btn.is-active {
  background: rgba(31, 110, 63, 0.88);
  color: var(--parchment);
  box-shadow: inset 0 0 0 1px rgba(242, 198, 109, 0.45);
}

.sound-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(242, 198, 109, 0.28);
  background: rgba(14, 9, 7, 0.58);
  color: var(--parchment);
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.sound-btn:hover {
  border-color: var(--gold-bright);
}

.sound-btn[aria-pressed='true'] {
  border-color: var(--emerald-glow);
  background: rgba(31, 110, 63, 0.35);
}

.sound-btn[aria-pressed='false'] .sound-wave {
  display: none;
}

.sound-btn[aria-pressed='true'] .sound-mute-line {
  display: none;
}

/* Desktop vertical chapter rail */
.chapter-rail {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.rail-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(245, 234, 217, 0.55);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 0;
  transition: color 200ms ease;
}

.rail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(242, 198, 109, 0.55);
  background: transparent;
  transition: transform 220ms var(--ease-cinema), background-color 220ms ease, border-color 220ms ease;
}

.rail-label {
  opacity: 0;
  transform: translateX(6px);
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(14, 9, 7, 0.62);
  backdrop-filter: blur(4px);
  transition: opacity 220ms ease, transform 220ms var(--ease-cinema);
}

.rail-item:hover .rail-label,
.rail-item:focus-visible .rail-label,
.rail-item.is-active .rail-label {
  opacity: 1;
  transform: translateX(0);
}

.rail-item.is-active {
  color: var(--gold-bright);
}

.rail-item.is-active .rail-dot {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: scale(1.35);
  box-shadow: 0 0 10px rgba(242, 198, 109, 0.55);
}

/* ==========================================================================
   Shared Editorial Typography & Signature Arch CTA
   ========================================================================== */
.eyebrow {
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.section-heading {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.1vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--parchment);
}

.section-lead {
  margin: 0;
  font-size: clamp(0.98rem, 1.35vw, 1.1rem);
  color: var(--parchment-muted);
  max-width: 50ch;
}

.arch-cta {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid rgba(242, 198, 109, 0.52);
  background: linear-gradient(180deg, rgba(31, 110, 63, 0.72) 0%, rgba(19, 64, 37, 0.88) 100%);
  color: var(--parchment);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(242, 198, 109, 0.3);
  transition: transform 240ms var(--ease-cinema), border-color 220ms ease, box-shadow 240ms ease;
}

.arch-cta:hover {
  transform: translateY(-2px);
  border-color: var(--gold-bright);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.52), 0 0 22px rgba(60, 163, 99, 0.28);
}

.arch-cta:active {
  transform: translateY(0);
}

.arch-cta--warm {
  background: linear-gradient(180deg, rgba(168, 88, 42, 0.78) 0%, rgba(102, 46, 22, 0.9) 100%);
}

.arch-cta--warm:hover {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.52), 0 0 22px rgba(232, 122, 46, 0.28);
}

.arch-cta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px rgba(242, 198, 109, 0.8);
}

.subtle-link {
  background: none;
  border: 0;
  padding: 6px 0;
  color: var(--gold-bright);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 198, 109, 0.35);
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease;
}

.subtle-link:hover {
  color: var(--parchment);
  border-bottom-color: var(--parchment);
}

/* ==========================================================================
   SCENE I — DUSK CITY HERO
   ========================================================================== */
.hero-stage {
  position: relative;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: calc(var(--header-h) + 18px) 20px clamp(26px, 5svh, 54px);
}

.stage-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 9, 7, 0.56) 0%, rgba(14, 9, 7, 0.08) 34%, rgba(14, 9, 7, 0.04) 68%, rgba(14, 9, 7, 0.72) 100%);
}

.hero-overlay {
  position: relative;
  z-index: 6;
  width: 100%;
  max-width: 1080px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.hero-title-lockup {
  margin-top: clamp(4px, 2.5svh, 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-logo {
  width: clamp(220px, 34vw, 410px);
  height: auto;
  filter: drop-shadow(0 8px 26px rgba(14, 9, 7, 0.65));
}

.hero-subtitle {
  margin: 0;
  padding: 6px 22px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(14, 9, 7, 0.66) 0%, rgba(14, 9, 7, 0.34) 55%, rgba(14, 9, 7, 0) 80%);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.08rem, 1.9vw, 1.44rem);
  letter-spacing: 0.06em;
  color: var(--parchment);
  text-shadow: 0 2px 16px rgba(10, 5, 2, 0.96), 0 0 8px rgba(10, 5, 2, 0.78);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.scroll-hint {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 234, 217, 0.78);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.92);
}

.bird-hitbox {
  position: absolute;
  z-index: 8;
  width: 78px;
  height: 78px;
  transform: translate(-50%, -62%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.bird-hitbox::after {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px solid rgba(242, 198, 109, 0.48);
  opacity: 0;
  transition: opacity 260ms ease, transform 260ms var(--ease-cinema);
}

@media (hover: hover) {
  .bird-hitbox:hover::after {
    opacity: 1;
    transform: scale(1.1);
  }
}

.bird-hitbox:focus-visible::after {
  opacity: 1;
  transform: scale(1.1);
}

/* ==========================================================================
   SCENE II — LATTICE WINDOW PASSAGE (SCROLL-SCRUBBED)
   ========================================================================== */
.passage-section {
  position: relative;
  height: 205vh;
  background: var(--bg-void);
}

.passage-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  width: 100%;
  overflow: hidden;
}

.passage-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 9, 7, 0.65) 0%, transparent 22%, transparent 70%, rgba(14, 9, 7, 0.85) 100%);
}

.passage-hud {
  position: absolute;
  left: clamp(18px, 5vw, 68px);
  right: clamp(18px, 5vw, 68px);
  bottom: clamp(24px, 5svh, 52px);
  z-index: 5;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  pointer-events: none;
}

.passage-copy {
  max-width: 480px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(14, 9, 7, 0.64);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(242, 198, 109, 0.16);
}

.passage-copy .section-heading {
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  margin-bottom: 8px;
}

.passage-copy .section-lead {
  font-size: 0.94rem;
}

.passage-skip {
  pointer-events: auto;
  white-space: nowrap;
  padding: 8px 14px;
  background: rgba(14, 9, 7, 0.68);
  border-radius: 999px;
  border: 1px solid rgba(242, 198, 109, 0.3);
}

/* ==========================================================================
   SCENE III — THE ENCOUNTER
   ========================================================================== */
.encounter-section {
  position: relative;
  padding: clamp(56px, 9svh, 110px) clamp(16px, 4.5vw, 56px);
  background:
    radial-gradient(ellipse 75% 55% at 50% 35%, rgba(185, 86, 50, 0.12), transparent 70%),
    linear-gradient(180deg, var(--bg-void) 0%, var(--bg-hearth) 50%, var(--bg-void) 100%);
}

.encounter-layout {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.encounter-stage-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1600 / 667;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(242, 198, 109, 0.2);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.68);
  background: #1a100c;
}

.encounter-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.encounter-hitbox {
  width: 112px;
  height: 124px;
  transform: translate(-50%, -50%);
}

.encounter-touch-cue {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(14, 9, 7, 0.72);
  border: 1px solid rgba(242, 198, 109, 0.3);
  font-size: 0.78rem;
  color: var(--parchment);
  pointer-events: none;
  transition: opacity 320ms ease;
}

.encounter-touch-cue.is-hidden {
  opacity: 0;
}

.cue-ring {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(242, 198, 109, 0.25);
  animation: pulseRing 2.2s ease-in-out infinite;
}

@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 2px rgba(242, 198, 109, 0.25); }
  50% { box-shadow: 0 0 0 7px rgba(242, 198, 109, 0.08); }
}

.encounter-editorial {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 680px;
}

.encounter-controls {
  margin-top: 22px;
}

/* ==========================================================================
   VISUAL SILENCE INTERLUDE
   ========================================================================== */
.silence-interlude {
  padding: clamp(58px, 11svh, 128px) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  background: var(--bg-void);
  text-align: center;
}

.silence-rule {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, transparent, rgba(242, 198, 109, 0.55), transparent);
}

.silence-line {
  margin: 0;
  max-width: 34ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.38;
  color: rgba(245, 234, 217, 0.88);
}

/* ==========================================================================
   SCENE IV — TWO LIGHTS (LAMPLIGHT) & ART EXPLORER
   ========================================================================== */
.world-section {
  padding: clamp(48px, 8svh, 96px) clamp(16px, 4.5vw, 56px) clamp(64px, 10svh, 120px);
  background:
    radial-gradient(ellipse 65% 50% at 25% 20%, rgba(232, 122, 46, 0.14), transparent 65%),
    radial-gradient(ellipse 60% 45% at 80% 18%, rgba(36, 56, 98, 0.28), transparent 65%),
    linear-gradient(180deg, var(--bg-void) 0%, #11141e 50%, var(--bg-void) 100%);
}

.world-container {
  max-width: 1320px;
  margin: 0 auto;
}

.lamplight-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.lamplight-stage-wrap {
  position: relative;
}

.lamplight-canvas {
  width: 100%;
  aspect-ratio: 1280 / 533;
  border-radius: 14px;
  display: block;
  border: 1px solid rgba(242, 198, 109, 0.18);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}

.stage-micro-hint {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: var(--parchment-muted);
}

/* Gallery */
.gallery-block {
  margin-top: clamp(64px, 10svh, 118px);
}

.gallery-header {
  max-width: 620px;
  margin-bottom: 28px;
}

.gallery-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 500;
}

.gallery-lead {
  margin: 0;
  color: var(--parchment-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gallery-card {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(242, 198, 109, 0.14);
  transition: transform 280ms var(--ease-cinema), border-color 240ms ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 198, 109, 0.44);
}

.gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.gallery-thumb-box {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #140d09;
}

.gallery-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease-cinema);
}

.gallery-card:hover .gallery-thumb-box img {
  transform: scale(1.04);
}

.gallery-meta {
  padding: 15px 17px 17px;
}

.gallery-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-burnished);
  margin-bottom: 4px;
}

.gallery-card-title {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  color: var(--parchment);
}

.gallery-card-note {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--parchment-muted);
}

/* ==========================================================================
   SCENE V — NEWSLETTER INVITATION
   ========================================================================== */
.newsletter-section {
  padding: clamp(56px, 9svh, 112px) clamp(16px, 4.5vw, 48px);
  background:
    radial-gradient(ellipse 55% 45% at 50% 25%, rgba(31, 110, 63, 0.14), transparent 70%),
    linear-gradient(180deg, var(--bg-void) 0%, #150e0a 100%);
}

.newsletter-card {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 52px);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(28, 18, 13, 0.92) 0%, rgba(18, 11, 8, 0.96) 100%);
  border: 1px solid rgba(242, 198, 109, 0.24);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
}

.arch-ornament {
  margin-bottom: 10px;
}

.newsletter-lead {
  margin-bottom: 22px;
}

.demo-notice {
  margin: 0 0 24px;
  padding: 13px 16px;
  border-radius: 10px;
  background: rgba(31, 110, 63, 0.18);
  border: 1px solid rgba(60, 163, 99, 0.42);
}

.demo-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 4px;
}

.demo-notice p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--parchment);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--parchment);
}

.field-group input,
.field-group select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid rgba(242, 198, 109, 0.26);
  background: rgba(14, 9, 7, 0.72);
  color: var(--parchment);
  font-size: 0.94rem;
}

.field-group input::placeholder {
  color: rgba(198, 182, 159, 0.52);
}

.consent-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--parchment-muted);
  cursor: pointer;
}

.checkbox-label input[type='checkbox'] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--emerald-glow);
}

.field-error {
  margin: 0;
  font-size: 0.82rem;
  color: #ffb199;
}

.arch-cta--submit {
  align-self: flex-start;
}

.newsletter-result {
  margin-top: 22px;
  padding: 20px;
  border-radius: 12px;
  background: rgba(31, 110, 63, 0.22);
  border: 1px solid rgba(242, 198, 109, 0.36);
}

.newsletter-result h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-bright);
}

.newsletter-result p {
  margin: 0 0 14px;
  font-size: 0.93rem;
  color: var(--parchment);
}

/* ==========================================================================
   FOOTER & LIGHTBOX
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(242, 198, 109, 0.14);
  background: #0b0705;
  padding: 26px clamp(16px, 4.5vw, 48px);
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--parchment-muted);
}

.lightbox {
  margin: auto;
  padding: 0;
  width: min(94vw, 1140px);
  max-height: 92svh;
  border: 1px solid rgba(242, 198, 109, 0.28);
  border-radius: 16px;
  background: #120b08;
  color: var(--parchment);
}

.lightbox::backdrop {
  background: rgba(6, 4, 3, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox-shell {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lightbox-counter {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
}

.lb-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(242, 198, 109, 0.35);
  background: rgba(14, 9, 7, 0.72);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lightbox-media-box {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #090605;
  max-height: 64svh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-media-box img {
  max-height: 64svh;
  width: auto;
  object-fit: contain;
}

.lb-embers-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.lightbox-caption h4 {
  margin: 2px 0 4px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
}

.lightbox-caption p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--parchment-muted);
}

.lightbox-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-burnished);
}

.lightbox-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.lb-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(242, 198, 109, 0.3);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-size: 0.86rem;
}

.lb-nav-btn:hover {
  border-color: var(--gold-bright);
}

/* ==========================================================================
   UNIFIED GOOGLE FLOW MASTER VIDEO STAGE
   ========================================================================== */
.master-video-section {
  position: relative;
  height: 380vh;
  background: var(--bg-void);
}

.mv-anchor {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}

.mv-anchor--city {
  top: 0;
  height: 28%;
}

.mv-anchor--passage {
  top: 28%;
  height: 40%;
}

.mv-anchor--encounter {
  top: 68%;
  height: 32%;
}

.mv-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: calc(var(--header-h) + 18px) 20px clamp(26px, 5svh, 54px);
}

.mv-stage-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-void);
}

.mv-stage-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    180deg,
    #0e0907 0%,
    rgba(14, 9, 7, 0.52) 5%,
    rgba(14, 9, 7, 0) 15%,
    rgba(14, 9, 7, 0) 76%,
    rgba(14, 9, 7, 0.72) 91%,
    #0e0907 100%
  );
}

.mv-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  background: transparent;
}

.mv-video--hero-loop {
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 280ms ease;
}

.mv-video--hero-loop.is-ready {
  opacity: var(--mv-hero-loop-opacity, 1);
  transition: none;
}

.mv-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 9, 7, 0.56) 0%, rgba(14, 9, 7, 0.08) 32%, rgba(14, 9, 7, 0.08) 65%, rgba(14, 9, 7, 0.78) 100%);
}

.mv-hero-overlay {
  transition: opacity 420ms var(--ease-cinema), transform 420ms var(--ease-cinema);
}

.mv-hero-overlay.is-faded {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
}

.mv-hero-overlay.is-faded .hero-actions {
  pointer-events: none;
}

.mv-encounter-hitbox {
  left: 69%;
  top: 52%;
  width: 170px;
  height: 190px;
  transform: translate(-50%, -50%);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE FRAMING (Tested at 390x844)
   ========================================================================== */
@media (max-width: 960px) {
  .chapter-rail {
    display: none;
  }

  .lamplight-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 60px;
  }

  .main-nav {
    display: none;
  }

  .sound-label {
    display: none;
  }

  .sound-btn {
    padding: 7px 9px;
  }

  .hero-stage {
    padding: calc(var(--header-h) + 12px) 16px 26px;
  }

  .hero-logo {
    width: min(74vw, 290px);
  }

  .passage-section {
    height: 175vh;
  }

  .passage-hud {
    flex-direction: column;
    align-items: flex-start;
    bottom: 20px;
  }

  .passage-copy {
    padding: 13px 15px;
  }

  /* Intimate mobile framing for The Encounter: preserves Esther's face & live bird + broom tip together */
  .encounter-stage-wrap {
    aspect-ratio: auto;
    height: clamp(360px, 53svh, 460px);
  }

  .encounter-touch-cue {
    left: 50%;
    right: auto;
    bottom: 12px;
    transform: translateX(-50%);
    white-space: nowrap;
    max-width: calc(100% - 24px);
  }

  /* Mobile framing for Lamplight: taller frame keeps foreground lamp, mother & child intact */
  .lamplight-canvas {
    aspect-ratio: 4 / 3;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Mobile master video: continuous full-width cinema stage matching desktop language */
  .mv-sticky {
    padding: calc(var(--header-h) + 12px) 16px 20px;
  }

  .mv-stage-frame {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--mv-frame-top, 0px);
    height: var(--mv-frame-height, 100%);
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .mv-stage-frame::after {
    opacity: var(--mv-feather-opacity, 0);
  }

  .mv-hero-overlay {
    position: absolute;
    inset: calc(var(--header-h) + 12px) 16px 26px;
    z-index: 6;
    opacity: var(--mv-hero-opacity, 1);
    transform: translateY(var(--mv-hero-shift, 0px));
    transition: none;
  }

  .mv-encounter-hitbox {
    left: 74%;
    top: 50%;
    width: 140px;
    height: 150px;
  }
}

/* ==========================================================================
   REDUCED MOTION SUPPORT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-lqip {
    filter: none;
    transform: none;
  }
}

/* ==========================================================================
   AJUSTES DE REVISÃO: título, emendas do vídeo, carregamento e menu compacto
   ========================================================================== */
.hero-h1 {
  margin: 0;
  font-size: inherit;
  line-height: 0;
}

/* Quadro congelado que se dissolve sobre o vídeo para esconder emendas e saltos */
.mv-seam-fade {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.mv-seam-fade.is-fading {
  transition: opacity var(--seam-ms, 360ms) ease-out;
}

/* Aviso discreto quando a rolagem pede um trecho do vídeo que ainda não chegou */
.mv-buffering {
  position: absolute;
  top: calc(var(--header-h) + 14px);
  left: 50%;
  z-index: 9;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(14, 9, 7, 0.72);
  border: 1px solid rgba(242, 198, 109, 0.28);
  color: var(--parchment);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translate(-50%, -4px);
  transition: opacity 240ms ease, transform 240ms ease;
  pointer-events: none;
}

.mv-buffering-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  animation: mv-buffer-pulse 1.1s ease-in-out infinite;
}

@keyframes mv-buffer-pulse {
  50% { opacity: 0.25; }
}

.master-video-section.is-buffering .mv-buffering {
  opacity: 1;
  transform: translate(-50%, 0);
}

.menu-toggle {
  display: none;
}

@media (max-width: 1180px) {
  .main-nav {
    display: none;
  }

  /* Alvos de toque confortáveis no cabeçalho */
  .lang-btn {
    min-width: 38px;
    min-height: 38px;
    padding: 0 8px;
  }

  .sound-btn {
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
  }

  .header-controls {
    gap: 8px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(242, 198, 109, 0.28);
    background: rgba(14, 9, 7, 0.58);
    color: var(--parchment);
    cursor: pointer;
  }

  .menu-toggle-bars,
  .menu-toggle-bars::before,
  .menu-toggle-bars::after,
  .menu-toggle-bars span {
    display: block;
    width: 16px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
  }

  .menu-toggle-bars {
    position: relative;
    background: transparent;
  }

  .menu-toggle-bars::before,
  .menu-toggle-bars::after {
    content: '';
    position: absolute;
    left: 0;
    transition: transform 220ms var(--ease-cinema), top 220ms var(--ease-cinema);
  }

  .menu-toggle-bars::before { top: -5px; }
  .menu-toggle-bars::after { top: 5px; }
  .menu-toggle-bars span { transition: opacity 160ms ease; }

  .site-header.menu-open .menu-toggle-bars::before { top: 0; transform: rotate(45deg); }
  .site-header.menu-open .menu-toggle-bars::after { top: 0; transform: rotate(-45deg); }
  .site-header.menu-open .menu-toggle-bars span { opacity: 0; }

  .site-header.menu-open {
    background: rgba(14, 9, 7, 0.96);
  }

  .site-header.menu-open .main-nav {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 20px 18px;
    background: rgba(14, 9, 7, 0.96);
    border-bottom: 1px solid rgba(242, 198, 109, 0.18);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
  }

  .site-header.menu-open .nav-link {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 0 2px;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(242, 198, 109, 0.1);
  }

  .site-header.menu-open .nav-link::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mv-buffering-dot { animation: none; }
}

/* Âncoras do menu não ficam escondidas sob o cabeçalho fixo */
.world-section,
.newsletter-section {
  scroll-margin-top: var(--header-h);
}

/* ==========================================================================
   TEXTOS SOBRE O VÍDEO: tipografia direta sobre a imagem, sem caixas
   ========================================================================== */
.mv-text-scrim {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 700ms var(--ease-cinema);
  background:
    linear-gradient(90deg, rgba(10, 6, 4, 0.8) 0%, rgba(10, 6, 4, 0.52) 27%, rgba(10, 6, 4, 0) 54%, rgba(10, 6, 4, 0) 74%, rgba(10, 6, 4, 0.42) 100%),
    linear-gradient(0deg, rgba(10, 6, 4, 0.72) 0%, rgba(10, 6, 4, 0) 46%);
}

.mv-sticky.has-caption .mv-text-scrim {
  opacity: 1;
}

.mv-caption {
  position: absolute;
  left: clamp(24px, 6vw, 96px);
  right: clamp(24px, 5vw, 80px);
  bottom: clamp(36px, 9svh, 96px);
  z-index: 7;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  pointer-events: none;
}

.mv-caption-main {
  max-width: 36rem;
}

.mv-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-shadow: 0 1px 10px rgba(8, 4, 2, 0.8);
}

.mv-kicker::before {
  content: '';
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(242, 198, 109, 0), var(--gold-bright));
}

.mv-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.012em;
  color: var(--parchment);
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(8, 4, 2, 0.6);
}

.mv-body {
  margin: 0;
  max-width: 36ch;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.6;
  color: rgba(245, 234, 217, 0.88);
  text-shadow: 0 1px 14px rgba(8, 4, 2, 0.75);
}

.mv-aside {
  position: relative;
  margin: 0;
  max-width: 15ch;
  padding-top: 14px;
  text-align: right;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.35;
  color: var(--gold-bright);
  text-shadow: 0 1px 14px rgba(8, 4, 2, 0.8);
}

.mv-aside::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 1px;
  background: var(--gold-bright);
  opacity: 0.7;
}

.mv-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  pointer-events: auto;
}

.mv-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(242, 198, 109, 0.55);
  background: none;
  color: var(--parchment);
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-shadow: 0 1px 10px rgba(8, 4, 2, 0.8);
  transition: color 200ms ease, border-color 200ms ease;
}

.mv-action:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
}

.mv-hint {
  font-size: 0.8rem;
  color: rgba(245, 234, 217, 0.64);
  text-shadow: 0 1px 10px rgba(8, 4, 2, 0.8);
}

/* Entrada em sequência: rótulo, título, texto, ação e nota */
.mv-caption .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 420ms var(--ease-cinema), transform 420ms var(--ease-cinema);
}

.mv-caption.is-past .reveal {
  transform: translateY(-12px);
}

.mv-caption.is-visible .reveal {
  opacity: 1;
  transform: none;
  transition-duration: 760ms;
  transition-delay: calc(var(--i, 0) * 80ms);
}

/* ==========================================================================
   FAIXA: calar ou falar
   ========================================================================== */
.interlude {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(360px, 64svh, 640px);
  padding: clamp(64px, 12svh, 140px) 24px;
  overflow: hidden;
  text-align: center;
}

/* Silêncio: só tipografia sobre o escuro, com um brilho dourado mínimo no centro */
.interlude-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 40% 50% at 50% 50%, rgba(242, 198, 109, 0.06), transparent 70%),
    #0b0705;
}

.interlude-line {
  max-width: 17ch;
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.2vw, 4.6rem);
  line-height: 1.05;
  color: var(--parchment);
  text-wrap: balance;
  text-shadow: 0 4px 30px rgba(8, 4, 2, 0.85);
}

.interlude-rule {
  display: block;
  width: 56px;
  height: 1px;
  margin: 24px auto 18px;
  background: var(--gold-bright);
}

.interlude-sub {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  color: var(--gold-bright);
  text-shadow: 0 2px 16px rgba(8, 4, 2, 0.9);
}

/* ==========================================================================
   O QUE MOVE ESTA HISTÓRIA
   ========================================================================== */
.principles {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(64px, 10svh, 118px);
}

.principles-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.1;
}

/* Índice numerado: algarismo romano, nome grande e a frase na mesma linha */
.principles-header .section-lead {
  max-width: 46ch;
}

.principles-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: principle;
  border-bottom: 1px solid rgba(242, 198, 109, 0.22);
}

.principle {
  counter-increment: principle;
  display: grid;
  grid-template-columns: 64px minmax(0, 15rem) minmax(0, 1fr);
  align-items: baseline;
  column-gap: 24px;
  padding: 26px 0;
  border-top: 1px solid rgba(242, 198, 109, 0.22);
}

.principle::before {
  content: counter(principle, upper-roman);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
}

.principle-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
  font-weight: 500;
  color: var(--parchment);
}

.principle-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--parchment-muted);
}

/* Em telas médias a frase desce para baixo do nome, para não espremer a coluna */
@media (max-width: 1180px) {
  .principle {
    grid-template-columns: 48px 1fr;
    row-gap: 8px;
  }

  .principle-text {
    grid-column: 2;
  }
}

/* ==========================================================================
   SEÇÕES: ASSISTIR, EQUIPE E LOJA
   ========================================================================== */
.watch-section,
.team-section,
.shop-section {
  padding: clamp(64px, 11svh, 128px) clamp(16px, 4.5vw, 56px);
  scroll-margin-top: var(--header-h);
}

.watch-section {
  background: linear-gradient(180deg, var(--bg-void) 0%, #120c13 55%, var(--bg-void) 100%);
}

.team-section {
  background: var(--bg-void);
  padding-top: clamp(24px, 4svh, 48px);
}

.shop-section {
  background:
    radial-gradient(ellipse 60% 55% at 72% 45%, rgba(201, 148, 62, 0.13), transparent 70%),
    linear-gradient(180deg, var(--bg-void) 0%, #17100b 100%);
}

.section-container {
  max-width: 1320px;
  margin: 0 auto;
}

.section-header {
  max-width: 640px;
  margin-bottom: 32px;
}

.section-link {
  display: inline-block;
  margin-top: 26px;
}

.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.soon-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-glow);
  box-shadow: 0 0 8px rgba(60, 163, 99, 0.8);
}

/* Assistir */
.watch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.watch-card {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(242, 198, 109, 0.22);
  background: #140d09;
}

.watch-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.82);
}

.watch-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: clamp(18px, 3vw, 30px);
  background:
    linear-gradient(90deg, rgba(10, 6, 4, 0.86) 0%, rgba(10, 6, 4, 0.4) 55%, rgba(10, 6, 4, 0.08) 100%),
    linear-gradient(0deg, rgba(10, 6, 4, 0.7) 0%, transparent 60%);
}

.watch-play {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(242, 198, 109, 0.6);
  color: var(--gold-bright);
  opacity: 0.7;
}

.watch-play svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.watch-title {
  margin: 6px 0 4px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.1;
  color: var(--parchment);
}

.watch-text {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(245, 234, 217, 0.78);
}

/* Equipe: créditos de cinema, centralizados, com o cargo acima do nome */
.team-section .section-header {
  margin: 0 auto 48px;
  text-align: center;
}

.team-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-card {
  padding: 8px 32px;
  text-align: center;
}

.team-card + .team-card {
  border-left: 1px solid rgba(242, 198, 109, 0.3);
}

/* O nome vem primeiro no HTML (título); na tela, o cargo aparece acima */
.team-card > div {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 12px;
}

.team-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--parchment);
}

.team-role {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

/* Loja */
.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.shop-intro .section-heading {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.shop-cta {
  margin-top: 26px;
  text-decoration: none;
}

.shop-notice {
  margin: 16px 0 0;
  font-size: 0.78rem;
  color: rgba(198, 182, 159, 0.78);
}

.shop-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.shop-card {
  padding: 18px 18px 22px;
  border-radius: 12px;
  border: 1px solid rgba(242, 198, 109, 0.18);
  background: linear-gradient(180deg, rgba(38, 25, 17, 0.72), rgba(18, 12, 9, 0.6));
}

.shop-art {
  position: relative;
  aspect-ratio: 4 / 5;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 8px;
  background: #140d09;
}

.shop-zoom-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.shop-zoom-btn:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: -2px;
  border-radius: 8px;
}

.shop-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease-cinema);
}

.shop-card:hover .shop-art img {
  transform: scale(1.03);
}

.shop-zoom-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(242, 198, 109, 0.36);
  background: rgba(14, 9, 7, 0.72);
  color: var(--gold-bright);
  backdrop-filter: blur(4px);
  opacity: 0.78;
  transition: opacity 220ms ease, transform 220ms var(--ease-cinema), border-color 220ms ease;
  pointer-events: none;
}

.shop-zoom-btn:hover .shop-zoom-badge,
.shop-zoom-btn:focus-visible .shop-zoom-badge {
  opacity: 1;
  transform: scale(1.08);
  border-color: var(--gold-bright);
}

/* Modal de ampliação dos produtos */
.shop-lightbox {
  width: min(94vw, 680px);
}

.shop-lb-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.shop-lb-zoom-btn[aria-pressed='true'] {
  border-color: var(--gold-bright);
  background: rgba(31, 110, 63, 0.36);
  color: var(--parchment);
}

.shop-lb-stage {
  max-height: 58svh;
  cursor: zoom-in;
  user-select: none;
}

.shop-lb-stage img {
  max-height: 58svh;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  transform: scale(1);
  transition: transform 280ms var(--ease-cinema);
}

.shop-lb-stage.is-zoomed {
  cursor: zoom-out;
}

.shop-lb-stage.is-zoomed img {
  transform: scale(2.1);
}

.shop-lb-notice {
  margin-top: 8px !important;
  font-size: 0.78rem !important;
  color: rgba(198, 182, 159, 0.72) !important;
}

.shop-title {
  margin: 8px 0 4px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--parchment);
}

.shop-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--parchment-muted);
}

/* Menu: botão da jornada */
.nav-cta {
  padding: 7px 16px;
  border: 1px solid rgba(242, 198, 109, 0.6);
  border-radius: 999px;
  color: var(--gold-bright);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover,
.nav-cta.is-active {
  background: rgba(242, 198, 109, 0.12);
  color: var(--parchment);
}

/* Rodapé: redes sociais */
.footer-social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--parchment-muted);
  transition: color 200ms ease, background-color 200ms ease;
}

.social-link:hover {
  color: var(--gold-bright);
  background: rgba(242, 198, 109, 0.08);
}

.consent-group--optional {
  margin-bottom: 6px;
}

@media (max-width: 1180px) {
  .site-header.menu-open .nav-cta {
    justify-content: center;
    margin-top: 14px;
    border: 1px solid rgba(242, 198, 109, 0.6);
  }
}

@media (max-width: 960px) {
  .principles,
  .shop-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .mv-caption {
    left: 20px;
    right: 20px;
    bottom: 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .mv-title {
    margin-bottom: 10px;
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .mv-kicker {
    margin-bottom: 10px;
  }

  .mv-body {
    max-width: none;
    font-size: 0.95rem;
  }

  .mv-aside {
    max-width: none;
    padding-top: 0;
    text-align: left;
    font-size: 1.05rem;
  }

  .mv-aside::before {
    display: none;
  }

  .mv-actions {
    margin-top: 14px;
  }

  .mv-text-scrim {
    background: linear-gradient(0deg, rgba(10, 6, 4, 0.94) 0%, rgba(10, 6, 4, 0.72) 34%, rgba(10, 6, 4, 0) 62%);
  }

  .watch-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .principle {
    grid-template-columns: 40px 1fr;
    row-gap: 8px;
    padding: 20px 0;
  }

  .principle-text {
    grid-column: 2;
  }

  .principle-name {
    font-size: 2rem;
  }

  .team-card {
    padding: 24px 0;
  }

  .team-card + .team-card {
    border-left: 0;
    border-top: 1px solid rgba(242, 198, 109, 0.3);
  }

  .shop-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .shop-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    column-gap: 16px;
    align-content: center;
    padding: 14px;
  }

  .shop-art {
    grid-row: 1 / span 3;
    margin-bottom: 0;
  }

  .shop-zoom-badge {
    width: 24px;
    height: 24px;
    right: 5px;
    bottom: 5px;
  }

  .shop-zoom-badge svg {
    width: 12px;
    height: 12px;
  }

  .shop-lb-stage,
  .shop-lb-stage img {
    max-height: 58svh;
  }

  .shop-title {
    margin-top: 4px;
  }

  .watch-overlay {
    gap: 14px;
  }

  .watch-play {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mv-caption .reveal,
  .mv-caption.is-past .reveal,
  .mv-caption.is-visible .reveal {
    transform: none;
    transition-delay: 0s;
  }
}

/* ==========================================================================
   ABERTURA "SÓ A MARCA": logotipo e subtítulo no centro, a cidade fala sozinha
   ========================================================================== */
.mv-hero-overlay {
  --hero-pt: calc(var(--header-h) + 18px);
  --hero-px: clamp(24px, 6vw, 96px);
  --hero-pb: clamp(28px, 6svh, 64px);
  position: absolute;
  inset: var(--hero-pt) var(--hero-px) var(--hero-pb);
  z-index: 6;
  width: auto;
  max-width: none;
  justify-content: space-between;
}

/* Vinheta: escurece levemente o centro atrás da marca, as bordas e a base do botão */
.mv-hero-overlay::before {
  content: '';
  position: absolute;
  inset: calc(-1 * var(--hero-pt)) calc(-1 * var(--hero-px)) calc(-1 * var(--hero-pb));
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 44% 30% at 50% 40%, rgba(10, 6, 4, 0.5), rgba(10, 6, 4, 0) 75%),
    radial-gradient(ellipse 85% 85% at 50% 45%, rgba(10, 6, 4, 0) 55%, rgba(10, 6, 4, 0.72) 100%),
    linear-gradient(0deg, rgba(10, 6, 4, 0.7) 0%, rgba(10, 6, 4, 0) 22%);
}

.mv-hero-overlay .hero-title-lockup {
  margin: auto 0;
  transform: translateY(-6%);
  gap: 16px;
}

.mv-hero-overlay .hero-h1 {
  position: relative;
  display: inline-block;
  margin: 0;
  line-height: 0;
}

.mv-hero-overlay .hero-logo {
  display: block;
  width: clamp(300px, 46vw, 680px);
}

.mv-hero-overlay .hero-h1.has-logo-gl .hero-logo {
  opacity: 0;
}

.hero-logo-gl {
  position: absolute;
  left: -6%;
  right: -6%;
  top: -18%;
  bottom: -18%;
  width: 112%;
  height: 136%;
  pointer-events: none;
  filter: drop-shadow(0 8px 26px rgba(14, 9, 7, 0.65));
}

.mv-hero-overlay .hero-subtitle {
  padding: 0;
  border-radius: 0;
  background: none;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: 0.1em;
}

/* Só a instrução de rolagem, com um fio dourado que desce devagar */
.mv-hero-overlay .hero-actions {
  pointer-events: none;
}

.mv-hero-overlay .scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: rgba(245, 234, 217, 0.86);
}

.scroll-cue {
  position: relative;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: rgba(242, 198, 109, 0.22);
}

.scroll-cue::after {
  content: '';
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px rgba(242, 198, 109, 0.8);
  animation: scroll-cue 2.4s var(--ease-cinema) infinite;
}

@keyframes scroll-cue {
  0% { top: -40%; }
  70%, 100% { top: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue::after {
    animation: none;
    top: 30%;
  }
}

@media (max-width: 720px) {
  .mv-hero-overlay {
    --hero-pt: calc(var(--header-h) + 12px);
    --hero-px: 20px;
    --hero-pb: 26px;
  }

  .mv-hero-overlay .hero-logo {
    width: min(86vw, 350px);
  }

  .mv-hero-overlay .hero-subtitle {
    font-size: 1.1rem;
  }
}
