/* ============================================================
   PARNAIOCA — The Last Private Paradise of Ilha Grande
   Editorial luxury design system — flat beige, forest-green type
   ============================================================ */

:root {
  --ink: #ece4d2;            /* page background (warm beige, flat) */
  --ink-2: #e4dbc5;          /* raised surface (band) */
  --ink-3: #dcd2b9;          /* hover surface */
  --deep: #0f1a16;           /* deep forest green (footer, dark bands) */
  --sea: #16586b;
  --turquoise: #3e6f5e;      /* sea-green accent on beige */
  --sand: #22382f;           /* heading / emphasis green */
  --paper: #e4dbc5;          /* card surface */
  --gold: #a17b36;           /* gold accent (legible on beige) */
  --gold-2: #96702e;         /* darker gold for text/links */
  --white: #1f322a;          /* primary text (deep green) */
  --muted: rgba(20, 35, 29, 0.68);
  --line: rgba(20, 35, 29, 0.16);
  --serif: "Cormorant Garamond", "Amiri", "Noto Serif SC", Georgia, serif;
  --sans: "Jost", "Cairo", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: #f4efe4; }

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

a { color: var(--gold-2); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--white); }

/* ---------- film grain (removed — flat, smooth surfaces) ---------- */
.grain { display: none; }

/* ---------- typography ---------- */
body { font-variant-numeric: lining-nums; }
h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}
.eyebrow::before {
  content: "";
  width: 46px; height: 1px;
  background: var(--gold);
  opacity: 0.8;
  flex: none;
}

.lead {
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 27px);
  font-style: italic;
  color: var(--sand);
  line-height: 1.5;
}

/* ---------- layout ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 6vw; }

section.chapter { position: relative; padding: 16vh 0; }
section.chapter.tight { padding: 10vh 0; }

.chapter-no {
  position: absolute;
  top: 10vh;
  right: 5vw;
  font-family: var(--serif);
  font-size: clamp(90px, 14vw, 200px);
  font-weight: 300;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px rgba(20, 35, 29, 0.16);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
[dir="rtl"] .chapter-no { right: auto; left: 5vw; }

.h-xl { font-size: clamp(40px, 6.4vw, 88px); }
.h-lg { font-size: clamp(32px, 4.6vw, 60px); }
.h-md { font-size: clamp(24px, 3vw, 36px); }

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

p + p { margin-top: 1.2em; }
.copy p { color: var(--muted); max-width: 58ch; }
.copy strong { color: var(--sand); font-weight: 400; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4vw;
  transition: background 0.5s, backdrop-filter 0.5s, padding 0.4s, border 0.5s;
  border-bottom: 1px solid transparent;
}
.topbar.solid {
  background: rgba(15, 26, 22, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 13px 4vw;
  border-bottom: 1px solid rgba(201, 163, 92, 0.16);
}
.brand {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.34em;
  color: #fdfbf6;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.5s;
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.4em;
  color: #e0c184;
  margin-top: 2px;
  transition: color 0.5s;
}
.nav { display: flex; gap: 34px; align-items: center; }
.nav a {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(253, 251, 246, 0.78);
  transition: color 0.4s;
}
.nav a:hover { color: #e0c184; }
.nav .cta {
  border: 1px solid rgba(224, 193, 132, 0.7);
  color: #e0c184;
  padding: 9px 22px;
  transition: background 0.3s, color 0.3s, border-color 0.4s;
}
.nav .cta:hover { background: #e0c184; color: #14231d; }

.lang {
  position: relative;
}
.lang-btn {
  background: none;
  border: 1px solid rgba(253, 251, 246, 0.4);
  color: rgba(253, 251, 246, 0.85);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 8px 14px;
  cursor: pointer;
  text-transform: uppercase;
  transition: color 0.4s, border-color 0.4s;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(16, 28, 23, 0.98);
  border: 1px solid var(--line);
  min-width: 150px;
  display: none;
  z-index: 1200;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
[dir="rtl"] .lang-menu { right: auto; left: 0; }
.lang.open .lang-menu { display: block; }
.lang-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(244, 239, 228, 0.72);
  border-bottom: 1px solid rgba(201, 163, 92, 0.12);
}
.lang-menu a:hover { background: rgba(201, 163, 92, 0.12); color: #f4efe4; }

.burger { display: none; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .burger {
    display: block;
    background: none; border: none; cursor: pointer;
    width: 30px; height: 20px; position: relative;
  }
  .burger span {
    position: absolute; left: 0; width: 100%; height: 1.5px;
    background: #fdfbf6; transition: 0.3s;
  }
  .burger span:nth-child(1) { top: 0; }
  .burger span:nth-child(2) { top: 9px; }
  .burger span:nth-child(3) { top: 18px; }
  .mobile-open .burger span { background: #fdfbf6; }
  .mobile-open .burger span:nth-child(1) { top: 9px; transform: rotate(45deg); }
  .mobile-open .burger span:nth-child(2) { opacity: 0; }
  .mobile-open .burger span:nth-child(3) { top: 9px; transform: rotate(-45deg); }
  .mobile-nav {
    position: fixed; inset: 0;
    background: rgba(15, 26, 22, 0.97);
    z-index: 990;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 30px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s;
  }
  .mobile-open .mobile-nav { opacity: 1; pointer-events: auto; }
  .mobile-nav a {
    font-family: var(--serif);
    font-size: 26px;
    color: #f0e9d8;
  }
}
@media (min-width: 981px) { .mobile-nav { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background: #0e2a38;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.12);
  animation: heroZoom 22s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1.0); } }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 20, 16, 0.5) 0%, rgba(8, 20, 16, 0.04) 32%, rgba(8, 20, 16, 0.1) 55%, rgba(15, 26, 22, 0.96) 100%),
    radial-gradient(120% 90% at 50% 110%, rgba(8, 20, 16, 0.8) 0%, transparent 55%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 6vw 11vh;
}
.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: #e0c184;
  margin-bottom: 22px;
  opacity: 0;
  animation: rise 1.2s 0.4s var(--ease) forwards;
}
.hero h1 {
  font-size: clamp(52px, 9.5vw, 138px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fdfbf6;
  text-transform: uppercase;
  line-height: 0.98;
  opacity: 0;
  animation: rise 1.4s 0.7s var(--ease) forwards;
}
.hero-sub {
  margin-top: 26px;
  max-width: 640px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 25px);
  color: #f0e9d8;
  opacity: 0;
  animation: rise 1.4s 1.05s var(--ease) forwards;
}
.hero-stats {
  display: flex;
  gap: clamp(28px, 5vw, 72px);
  margin-top: 6vh;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 1.4s 1.35s var(--ease) forwards;
}
.hero-stat b {
  display: block;
  font-family: var(--serif);
  font-variant-numeric: lining-nums;
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 500;
  color: #e0c184;
  line-height: 1.1;
}
.hero-stat b span { font-size: inherit; letter-spacing: inherit; text-transform: none; color: inherit; }
.hero-stat > span {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(253, 251, 246, 0.72);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(38px); }
  to { opacity: 1; transform: translateY(0); }
}
.scroll-hint {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 1px; height: 56px;
  background: linear-gradient(#e0c184, transparent);
  overflow: hidden;
}
.scroll-hint::after {
  content: "";
  position: absolute; top: -50%;
  width: 100%; height: 50%;
  background: #fdfbf6;
  animation: drop 2s infinite;
}
@keyframes drop { to { top: 110%; } }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }

/* ---------- archive photo frames ---------- */
.photo {
  position: relative;
  overflow: hidden;
  background: #0d1713;
  box-shadow: 0 24px 60px -34px rgba(20, 35, 29, 0.45);
}
.photo img,
.photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.08) saturate(1.05) contrast(1.03);
  transition: transform 1.6s var(--ease);
}
.photo:hover img { transform: scale(1.05); }
.photo::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(201, 163, 92, 0.22);
  pointer-events: none;
}
.photo .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 20px 14px;
  background: linear-gradient(transparent, rgba(8, 20, 16, 0.85));
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #f0e9d8;
}
.archive-note {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(20, 35, 29, 0.5);
}

/* ---------- full-bleed interlude ---------- */
.interlude {
  position: relative;
  height: 78vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.interlude img,
.interlude video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  will-change: transform;
}
.interlude::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(10, 24, 19, 0.45);
}
.interlude blockquote {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 4vw, 46px);
  color: #fdfbf6;
  text-align: center;
  max-width: 20em;
  padding: 0 6vw;
  line-height: 1.35;
  text-shadow: 0 2px 30px rgba(8, 20, 16, 0.4);
}
.interlude blockquote span {
  display: block;
  margin-top: 20px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #e0c184;
  text-shadow: none;
}

/* ---------- numbers band (deep green, continues the hero) ---------- */
.numbers {
  border-top: 1px solid rgba(201, 163, 92, 0.25);
  border-bottom: 1px solid rgba(201, 163, 92, 0.25);
  background: var(--deep);
}
.numbers .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 60px 0;
  text-align: center;
}
@media (max-width: 900px) { .numbers .grid { grid-template-columns: repeat(2, 1fr); } }
.numbers b {
  display: block;
  font-family: var(--serif);
  font-variant-numeric: lining-nums;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  color: #e0c184;
}
.numbers span {
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(244, 239, 228, 0.65);
}

/* ---------- timeline (história) ---------- */
.timeline { position: relative; margin-top: 60px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(201, 163, 92, 0.1));
}
[dir="rtl"] .timeline::before { left: auto; right: 8px; }
.t-item {
  position: relative;
  padding-left: 52px;
  margin-bottom: 44px;
}
[dir="rtl"] .t-item { padding-left: 0; padding-right: 52px; }
.t-item::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 9px; height: 9px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  background: var(--ink);
}
[dir="rtl"] .t-item::before { left: auto; right: 4px; }
.t-item .year {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold-2);
  font-style: italic;
}
.t-item h3 { font-size: 21px; margin: 4px 0 8px; color: var(--sand); }
.t-item p { color: var(--muted); font-size: 15.5px; max-width: 56ch; }

/* ---------- potencial cards ---------- */
.routes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 70px;
  background: rgba(161, 123, 54, 0.35);
  border: 1px solid rgba(161, 123, 54, 0.35);
}
@media (max-width: 900px) { .routes { grid-template-columns: 1fr; } }
.route {
  background: var(--deep);
  padding: clamp(34px, 4vw, 58px);
  position: relative;
  transition: background 0.5s;
}
.route:hover { background: #15251f; }
.route .r-no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: #c9a35c;
  letter-spacing: 0.24em;
}
.route h3 {
  font-size: clamp(23px, 2.5vw, 31px);
  margin: 14px 0 16px;
  color: #ece4d2;
}
.route p { color: rgba(236, 228, 210, 0.72); font-size: 15.5px; }
.route .tag {
  display: inline-block;
  margin-top: 22px;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #c9a35c;
  border: 1px solid rgba(201, 163, 92, 0.45);
  padding: 6px 14px;
}

/* ---------- conservação ---------- */
.eco {
  background: var(--ink-2);
  border-top: 1px solid rgba(201, 163, 92, 0.12);
  border-bottom: 1px solid rgba(201, 163, 92, 0.12);
}
.eco-list { margin-top: 40px; display: grid; gap: 0; }
.eco-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(201, 163, 92, 0.16);
  align-items: start;
}
.eco-item .ico {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  color: var(--gold);
  line-height: 1;
  padding-top: 4px;
}
.eco-item h3 { font-size: 20px; color: var(--sand); margin-bottom: 6px; }
.eco-item p { color: var(--muted); font-size: 15px; max-width: 62ch; }

/* ---------- dossiê / gate (deep green band) ---------- */
.gate {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(201, 163, 92, 0.25);
  border-bottom: 1px solid rgba(201, 163, 92, 0.25);
  background: var(--deep);
  text-align: center;
  padding: 15vh 0;
}
.gate h2, .gate .h-lg { color: #f0e9d8; }
.gate .eyebrow { color: #c9a35c; justify-content: center; }
.gate .eyebrow::before { background: #c9a35c; }
.gate .lead { max-width: 34em; margin: 26px auto 0; color: #d8c49a; }
.gate-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
  margin: 44px auto 0;
  max-width: 900px;
}
.gate-items span {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 239, 228, 0.65);
  display: flex;
  align-items: center;
  gap: 10px;
}
.gate-items span::before { content: "◆"; font-size: 7px; color: #c9a35c; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #f4efe4;
  background: #14231d;
  padding: 18px 46px;
  border: 1px solid #14231d;
  cursor: pointer;
  transition: background 0.35s, color 0.35s, letter-spacing 0.35s;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: #f4efe4; letter-spacing: 0.36em; }
.gate .btn { background: #c9a35c; border-color: #c9a35c; color: #14231d; }
.gate .btn:hover { background: #e0c184; border-color: #e0c184; }
.btn.ghost { background: transparent; color: var(--sand); border-color: rgba(20, 35, 29, 0.35); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold-2); background: transparent; }

/* ---------- contact ---------- */
.contact { padding-bottom: 8vh; }
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 30px;
  margin-top: 54px;
}
@media (max-width: 760px) { .form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 9px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(20, 35, 29, 0.3);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  padding: 10px 2px 12px;
  outline: none;
  transition: border-color 0.3s;
  border-radius: 0;
}
.field select { cursor: pointer; }
.field select option { background: var(--paper); color: var(--white); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); }
.form-note {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: rgba(20, 35, 29, 0.55);
  line-height: 1.6;
}
.form-actions { grid-column: 1 / -1; margin-top: 10px; }
.form-status {
  grid-column: 1 / -1;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--turquoise);
  display: none;
}
.form-status.show { display: block; }

.contact-side h3 {
  font-size: 22px;
  color: var(--sand);
  margin-bottom: 10px;
}
.contact-side .big-mail {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-style: italic;
  color: var(--gold-2);
}
.contact-side p { color: var(--muted); font-size: 15px; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 46px;
  background: var(--deep);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #f0e9d8;
}
.foot-brand small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.36em;
  color: #c9a35c;
  margin-top: 6px;
}
footer h4 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #c9a35c;
  margin-bottom: 18px;
  font-weight: 400;
}
footer a, footer p {
  font-size: 13.5px;
  color: rgba(244, 239, 228, 0.66);
  display: block;
  margin-bottom: 8px;
}
footer a:hover { color: #fdfbf6; }
.legal {
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid rgba(201, 163, 92, 0.16);
  font-size: 11.5px;
  color: rgba(244, 239, 228, 0.4);
  line-height: 1.7;
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 60px;
}
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery .photo { aspect-ratio: 4 / 3; }
.gallery .photo.wide { grid-column: span 2; aspect-ratio: auto; }

/* ---------- map section ---------- */
.map-figure { position: relative; }
.map-figure .photo { aspect-ratio: 4/3; }
.map-legend {
  display: flex;
  gap: 26px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.map-legend span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 9px;
}
.map-legend i {
  width: 20px; height: 2px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- language gate (root index) ---------- */
.gate-screen {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8vh 6vw;
  overflow: hidden;
}
.gate-screen .hero-media img { animation: heroZoom 34s var(--ease) forwards; }
.gate-screen .hero-media::after {
  background:
    radial-gradient(56% 46% at 50% 46%, rgba(8, 20, 16, 0.52) 0%, rgba(8, 20, 16, 0.24) 55%, rgba(8, 20, 16, 0) 100%),
    linear-gradient(180deg, rgba(8, 20, 16, 0.32) 0%, rgba(8, 20, 16, 0.08) 34%, rgba(8, 20, 16, 0.22) 62%, rgba(10, 22, 18, 0.72) 100%);
}
@keyframes gateUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.gate-screen .g-eyebrow {
  position: relative; z-index: 2;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: #ecd5a4;
  text-shadow: 0 1px 4px rgba(4, 12, 9, 0.95), 0 2px 16px rgba(4, 12, 9, 0.85);
  animation: gateUp 1.1s var(--ease) 0.15s both;
}
.gate-screen .g-brand {
  position: relative; z-index: 2;
  font-family: var(--serif);
  font-size: clamp(46px, 8.4vw, 118px);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-top: 16px;
  color: #fdfbf6;
  text-shadow: 0 2px 30px rgba(4, 12, 9, 0.8), 0 1px 6px rgba(4, 12, 9, 0.55);
  animation: gateUp 1.2s var(--ease) 0.35s both;
}
.gate-screen .g-rule {
  position: relative; z-index: 2;
  width: 72px; height: 1px;
  margin-top: 30px;
  background: linear-gradient(90deg, rgba(224, 193, 132, 0) 0%, #e0c184 50%, rgba(224, 193, 132, 0) 100%);
  animation: gateUp 1.2s var(--ease) 0.55s both;
}
.gate-screen .g-sub {
  position: relative; z-index: 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 2.2vw, 25px);
  color: #f2ead8;
  margin-top: 22px;
  text-shadow: 0 2px 18px rgba(4, 12, 9, 0.9), 0 1px 5px rgba(4, 12, 9, 0.7);
  animation: gateUp 1.2s var(--ease) 0.7s both;
}
.gate-langs {
  position: relative; z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 34px;
  margin-top: 9vh;
  max-width: 1200px;
  animation: gateUp 1.3s var(--ease) 1s both;
}
.gate-langs a {
  position: relative;
  color: rgba(253, 251, 246, 0.94);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  padding: 8px 2px;
  transition: color 0.4s;
  text-shadow: 0 1px 4px rgba(4, 12, 9, 0.9), 0 2px 14px rgba(4, 12, 9, 0.8);
}
@media (max-width: 900px) {
  .gate-langs { max-width: 420px; gap: 18px 34px; }
}
.gate-langs a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%; bottom: 0;
  height: 1px;
  background: #e0c184;
  transition: left 0.45s var(--ease), right 0.45s var(--ease);
}
.gate-langs a:hover { color: #fdfbf6; }
.gate-langs a:hover::after { left: 0; right: 0; }
.gate-langs a.suggested { color: #e0c184; }
.gate-langs a.suggested::after { left: 0; right: 0; opacity: 0.65; }

/* ---------- rtl refinements ---------- */
[dir="rtl"] body, [dir="rtl"] { text-align: right; }
[dir="rtl"] .eyebrow::before { order: 2; }
[dir="rtl"] .hero h1 { letter-spacing: 0.04em; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-kicker, .hero h1, .hero-sub, .hero-stats { opacity: 1; }
}
