:root {
  --bg: #0e1610;
  --bg-elev: #162018;
  --soil: #2c2418;
  --gold: #d9a84a;
  --gold-soft: #f0d49a;
  --mist: #8eb8c4;
  --leaf: #4a7a52;
  --text: #f3ebe0;
  --muted: #a89880;
  --line: rgba(217, 168, 74, 0.28);
  --danger: #c45c4a;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --max: 1120px;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: var(--gold-soft);
  text-decoration: none;
}

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

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Nav —— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(14, 22, 16, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(14, 22, 16, 0.92);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang {
  position: relative;
}

.lang-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 160px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.35rem;
  z-index: 60;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.lang.open .lang-menu {
  display: grid;
}

.lang-menu button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-align: left;
  padding: 0.55rem 0.7rem;
  border-radius: 7px;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.lang-menu button:hover,
.lang-menu button.active {
  background: rgba(217, 168, 74, 0.12);
  color: var(--gold-soft);
}

.menu-toggle {
  display: inline-flex;
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

.nav-drawer {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: rgba(14, 22, 16, 0.97);
  z-index: 45;
  padding: 1.5rem;
}

.nav-drawer.open {
  display: block;
}

.nav-drawer a {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 1.1rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 22, 16, 0.35) 0%, rgba(14, 22, 16, 0.2) 35%, rgba(14, 22, 16, 0.92) 100%),
    linear-gradient(90deg, rgba(14, 22, 16, 0.55) 0%, transparent 55%);
}

.hero-content {
  padding: 7.5rem 0 3.5rem;
  max-width: 38rem;
}

.hero-kicker {
  display: inline-block;
  color: var(--mist);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  opacity: 0;
  animation: rise 0.8s ease forwards 0.15s;
}

.hero-brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--text);
  opacity: 0;
  animation: rise 0.9s ease forwards 0.28s;
}

.hero-sub {
  margin: 0 0 1.6rem;
  color: var(--gold-soft);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 400;
  max-width: 28rem;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.42s;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.55s;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: #1a1408;
}

.btn-primary:hover {
  background: var(--gold-soft);
  color: #1a1408;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

/* —— Sections —— */
section {
  padding: 5rem 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  color: var(--mist);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.story {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(78, 122, 82, 0.18), transparent 50%),
    var(--bg);
}

.story-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .story-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 3rem;
  }
}

.story-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--line);
}

.story-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.moods {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.mood {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.mood strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
  color: var(--gold-soft);
}

.mood p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.features {
  background: linear-gradient(180deg, var(--bg) 0%, #121c14 100%);
}

.feature-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature {
  display: grid;
  gap: 0.35rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 700px) {
  .feature {
    grid-template-columns: 220px 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }
}

.feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-soft);
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.day {
  background:
    radial-gradient(ellipse at 90% 20%, rgba(142, 184, 196, 0.1), transparent 45%),
    var(--bg-elev);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: daystep;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
  }
}

.steps li {
  counter-increment: daystep;
  position: relative;
  padding-top: 2.4rem;
}

.steps li::before {
  content: counter(daystep, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 600;
}

.steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 600;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.gallery-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 800px) {
  .gallery-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 220px 220px;
  }
  .gallery-grid .wide {
    grid-row: span 2;
  }
}

.gallery-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  min-height: 160px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.05);
}

.gallery-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0.9rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  font-size: 0.82rem;
  font-weight: 500;
}

.download {
  text-align: center;
  padding: 5.5rem 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217, 168, 74, 0.16), transparent 55%),
    var(--bg);
}

.download h2 {
  max-width: 18ch;
  margin-inline: auto;
}

.download .lede {
  max-width: 36ch;
  margin: 0.75rem auto 1.75rem;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* —— Legal / support pages —— */
.page-hero {
  padding: 7.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(78, 122, 82, 0.2), transparent 50%),
    var(--bg);
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.prose {
  padding: 3rem 0 5rem;
  max-width: 46rem;
}

.prose h2 {
  font-size: 1.35rem;
  margin: 2.25rem 0 0.7rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.2rem;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* —— Footer —— */
.footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 0;
  background: #0a100c;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.footer p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
}

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

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

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

[dir="rtl"] .hero-content,
[dir="rtl"] .section-head,
[dir="rtl"] .prose {
  text-align: right;
}

[dir="rtl"] .steps li::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}
