/* Olive Farm marketing — production site (one CSS brain) */

:root {
  --ink: #142018;
  --ink-soft: #2a3830;
  --muted: #5c6b62;
  --surface: #f4f5f1;
  --surface-2: #e8ebe4;
  --stone: #d5dbd2;
  --limestone: #ece8df;
  --sage: #8a9a86;
  --accent: #2f5c38;
  --accent-hover: #244a2c;
  --accent-bright: #3d7348;
  --gold: #a6843a;
  --gold-soft: rgba(166, 132, 58, 0.18);
  --hero-fg: #f4f5f1;
  --hero-muted: rgba(244, 245, 241, 0.9);
  --frame-bg: #fafaf7;
  --frame-border: rgba(20, 32, 24, 0.12);
  --frame-shadow: 0 18px 50px rgba(20, 32, 24, 0.18);
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-text: "Source Sans 3", "Segoe UI", sans-serif;
  --font-arabic: "Noto Naskh Arabic", "Source Sans 3", serif;
  --header-h: 4.25rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 72rem;
  --measure: 38rem;
  --radius: 0.4rem;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1.25rem;
  --space-4: 2rem;
  --space-5: 3.5rem;
  --space-6: 5.5rem;
  --space: var(--space-3);
  --step-brand: clamp(2.5rem, 7vw, 4.25rem);
  --step-h1: clamp(1.85rem, 4.2vw, 2.85rem);
  --step-h2: clamp(1.4rem, 2.6vw, 1.85rem);
  --step-body: clamp(1.05rem, 1.4vw, 1.125rem);
  --step-small: 0.9rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(138, 154, 134, 0.12), transparent 55%),
    radial-gradient(90% 60% at 0% 100%, rgba(166, 132, 58, 0.08), transparent 50%),
    var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang="ar"] body,
html[lang="ar"] .hero__brand,
html[lang="ar"] .hero__headline,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .section-kicker,
html[lang="ar"] .brand-mark,
html[lang="ar"] .journey__path,
html[lang="ar"] .timeline__item h3 {
  font-family: var(--font-arabic);
}

html[lang="ar"] body {
  line-height: 1.75;
}

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

a {
  color: inherit;
}

.visually-hidden {
  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 {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3.5rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

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

/* ── Header ── */
.site-header {
  inset-inline: 0;
  top: 0;
  z-index: 40;
  min-height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0);
}

.site-header--hero {
  position: absolute;
}

.site-header--solid {
  position: sticky;
  background: rgba(244, 245, 241, 0.92);
  backdrop-filter: blur(12px);
  border-block-end: 1px solid rgba(20, 32, 24, 0.08);
}

.site-header__inner {
  max-width: var(--max);
  margin-inline: auto;
  min-height: var(--header-h);
  padding-inline: var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.site-header__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-2) var(--space-3);
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 2;
}

.site-header--hero .brand-mark {
  color: var(--hero-fg);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.site-header--solid .brand-mark {
  color: var(--ink);
}

.site-nav-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
}

.site-nav-primary a {
  text-decoration: none;
  font-weight: 500;
  font-size: var(--step-small);
  opacity: 0.92;
}

.site-nav-primary a[aria-current="page"] {
  opacity: 1;
  box-shadow: inset 0 -2px 0 currentColor;
}

.site-header--hero .site-nav-primary a,
.site-header--hero .link-quiet,
.site-header--hero .lang-switch__btn {
  color: var(--hero-fg);
}

.site-header--solid .site-nav-primary a,
.site-header--solid .link-quiet {
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  gap: 0.15rem;
  padding: 0.15rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 32, 24, 0.12);
}

.site-header--hero .lang-switch {
  border-color: rgba(244, 245, 241, 0.35);
}

.lang-switch__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
}

.lang-switch__btn.is-active {
  background: rgba(20, 32, 24, 0.1);
}

.site-header--hero .lang-switch__btn.is-active {
  background: rgba(244, 245, 241, 0.2);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid transparent;
  background: transparent;
  padding: 0.55rem;
  cursor: pointer;
  z-index: 2;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  margin: 0.35rem 0;
  background: currentColor;
  border-radius: 1px;
}

.site-header--hero .nav-toggle {
  color: var(--hero-fg);
}

.site-header--solid .nav-toggle {
  color: var(--ink);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

.nav-toggle__bar {
  transition: transform 0.2s var(--ease-out);
}

/* ── Buttons / links ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--step-small);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.btn--sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}

.btn--lg {
  padding: 0.85rem 1.35rem;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--ghost {
  background: transparent;
  color: var(--hero-fg);
  border-color: rgba(244, 245, 241, 0.45);
}

.btn--ghost:hover {
  background: rgba(244, 245, 241, 0.1);
}

.btn--ghost-ink {
  color: var(--ink);
  border-color: rgba(20, 32, 24, 0.22);
}

.btn--ghost-ink:hover {
  background: rgba(20, 32, 24, 0.05);
}

.link-quiet {
  font-size: var(--step-small);
  font-weight: 550;
  text-decoration: none;
  opacity: 0.92;
}

.link-quiet:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.link-quiet--ink {
  color: var(--ink-soft);
}

.text-link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 92, 56, 0.35);
}

.text-link:hover {
  border-bottom-color: var(--accent);
}

/* ── Sections ── */
.section {
  padding-block: var(--space-5);
}

.section__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--space);
}

.section-kicker {
  margin: 0 0 var(--space-2);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-kicker--on-dark {
  color: rgba(244, 245, 241, 0.75);
}

.section-lead {
  max-width: var(--measure);
  color: var(--ink-soft);
  margin: 0 0 var(--space-4);
}

.section-link {
  margin: var(--space-4) 0 0;
}

.section__caption {
  margin-top: var(--space-4);
  color: var(--muted);
  font-size: var(--step-small);
}

.prose {
  max-width: var(--measure);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: var(--step-h2);
  margin: var(--space-4) 0 var(--space-2);
}

.prose p {
  margin: 0 0 var(--space-3);
  color: var(--ink-soft);
}

.prose-section {
  padding-top: 0;
}

/* ── Hero (home) ── */
.hero {
  position: relative;
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--hero-fg);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12, 20, 14, 0.88) 0%, rgba(12, 20, 14, 0.55) 48%, rgba(12, 20, 14, 0.35) 100%),
    linear-gradient(to top, rgba(12, 20, 14, 0.75), transparent 45%);
}

.hero__layout {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: calc(var(--header-h) + var(--space-4)) var(--space) var(--space-5);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-4);
  align-items: end;
}

.hero__brand {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: var(--step-brand);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero__headline {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: var(--step-h1);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 18ch;
}

.hero__support {
  margin: 0 0 var(--space-4);
  max-width: 34rem;
  color: var(--hero-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
}

.hero__frame {
  justify-self: end;
  width: min(100%, 26rem);
}

/* ── UI frames ── */
.ui-frame {
  background: var(--frame-bg);
  color: var(--ink);
  border: 1px solid var(--frame-border);
  border-radius: calc(var(--radius) + 0.15rem);
  box-shadow: var(--frame-shadow);
  overflow: hidden;
}

.ui-frame--hero {
  transform: translateY(0);
}

.ui-frame__chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(180deg, #f0f2ec, #e7ebe3);
  border-block-end: 1px solid var(--frame-border);
}

.ui-frame__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--stone);
}

.ui-frame__dot:nth-child(1) { background: #c47a6a; }
.ui-frame__dot:nth-child(2) { background: #c4a86a; }
.ui-frame__dot:nth-child(3) { background: #7aa87a; }

.ui-frame__title {
  margin-inline-start: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.ui-frame__body {
  padding: 0.9rem;
}

.ui-frame__caption {
  margin: 0.75rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

.ui-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.ui-stat {
  padding: 0.55rem 0.6rem;
  background: var(--surface-2);
  border-radius: var(--radius);
}

.ui-stat__label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 650;
}

.ui-stat__value {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 1.15rem;
}

.ui-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.ui-table th,
.ui-table td {
  text-align: start;
  padding: 0.45rem 0.25rem;
  border-block-end: 1px solid rgba(20, 32, 24, 0.08);
}

.ui-table th {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 650;
}

.ui-pill {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.72rem;
  font-weight: 600;
}

.ui-pill--accent {
  background: var(--gold-soft);
  color: #6b5320;
}

.ui-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ui-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-block-end: 1px solid rgba(20, 32, 24, 0.08);
  font-size: 0.9rem;
}

.ui-list li span:last-child {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  color: var(--ink-soft);
}

/* ── Journey / explore ── */
.journey {
  background: linear-gradient(180deg, var(--limestone), var(--surface));
}

.journey h2,
.explore h2,
.editorial h2,
.faq-band h2 {
  font-family: var(--font-display);
  font-size: var(--step-h2);
  margin: 0 0 var(--space-3);
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.journey__path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.journey__path li {
  padding: 0.55rem 0.9rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(20, 32, 24, 0.1);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--step-small);
}

.explore__list {
  display: grid;
  gap: 0;
  border-block: 1px solid rgba(20, 32, 24, 0.1);
}

.explore__row {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) 1fr;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  text-decoration: none;
  border-block-end: 1px solid rgba(20, 32, 24, 0.08);
  transition: background 0.2s var(--ease-out);
}

.explore__row:last-child {
  border-block-end: 0;
}

.explore__row:hover {
  background: rgba(20, 32, 24, 0.03);
}

.explore__row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.explore__row p {
  margin: 0;
  color: var(--ink-soft);
}

/* ── Subpage heroes ── */
.page-hero {
  position: relative;
  padding: var(--space-5) 0 var(--space-4);
}

.page-hero--atmosphere {
  min-height: clamp(18rem, 42vw, 26rem);
  display: flex;
  align-items: flex-end;
  color: var(--hero-fg);
  overflow: hidden;
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(12, 20, 14, 0.82) 0%, rgba(12, 20, 14, 0.45) 70%),
    linear-gradient(to top, rgba(12, 20, 14, 0.7), transparent 50%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--space);
  width: 100%;
}

.page-hero--plain .page-hero__inner {
  padding-top: var(--space-4);
}

.page-hero h1 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: var(--step-h1);
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 18ch;
}

.page-hero__support {
  margin: 0;
  max-width: var(--measure);
  font-size: clamp(1.05rem, 1.5vw, 1.15rem);
}

.page-hero--atmosphere .page-hero__support {
  color: var(--hero-muted);
}

.page-hero--plain .page-hero__support {
  color: var(--ink-soft);
}

.page-hero--notfound {
  min-height: 50dvh;
  display: flex;
  align-items: center;
}

/* ── Timeline / modules / scenarios / plans ── */
.timeline__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.timeline__item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-block-end: 1px solid rgba(20, 32, 24, 0.08);
}

.timeline__index {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--gold);
  font-size: 1.25rem;
}

.timeline__item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.timeline__item p {
  margin: 0;
  max-width: var(--measure);
  color: var(--ink-soft);
}

.editorial {
  background: var(--limestone);
}

.editorial__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.editorial__grid h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.editorial__grid p {
  margin: 0;
  color: var(--ink-soft);
}

.module-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: center;
  padding-block: var(--space-4);
  border-block-end: 1px solid rgba(20, 32, 24, 0.08);
}

.module-block--flip .module-block__copy {
  order: 2;
}

.module-block--flip .module-block__frame {
  order: 1;
}

html[dir="rtl"] .module-block--flip .module-block__copy {
  order: 1;
}

html[dir="rtl"] .module-block--flip .module-block__frame {
  order: 2;
}

.module-block__copy h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: var(--step-h2);
}

.module-block__copy p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 34rem;
}

.scenario {
  padding: var(--space-4) 0;
  border-block-end: 1px solid rgba(20, 32, 24, 0.08);
  max-width: 42rem;
}

.scenario h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: var(--step-h2);
}

.scenario__need {
  margin: 0 0 0.75rem;
  font-weight: 600;
  color: var(--accent);
  font-size: var(--step-small);
}

.scenario p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.plan-tier {
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(20, 32, 24, 0.1);
  border-radius: calc(var(--radius) + 0.1rem);
}

.plan-tier--featured {
  border-color: rgba(47, 92, 56, 0.35);
  box-shadow: inset 0 0 0 1px rgba(47, 92, 56, 0.12);
}

.plan-tier h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.plan-tier__who {
  margin: 0 0 var(--space-2);
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--accent);
}

.plan-tier p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.plans-note {
  margin: var(--space-4) 0 0;
  color: var(--muted);
  font-size: var(--step-small);
  max-width: var(--measure);
}

.faq-band {
  background: var(--surface-2);
}

.faq-list {
  display: grid;
  gap: 0.5rem;
  max-width: 42rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(20, 32, 24, 0.1);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 650;
  list-style-position: outside;
}

.faq-item p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

/* ── Close + footer ── */
.close {
  padding-block: var(--space-5);
  background:
    linear-gradient(135deg, #1a2a1e 0%, #243528 55%, #1f3224 100%);
  color: var(--hero-fg);
}

.close__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--space);
}

.close h2 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: var(--step-h2);
}

.close p {
  margin: 0 0 var(--space-3);
  max-width: var(--measure);
  color: var(--hero-muted);
}

.close__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
}

.close .link-quiet--ink {
  color: var(--hero-muted);
}

.site-footer {
  background: #101810;
  color: rgba(244, 245, 241, 0.88);
  padding: var(--space-5) 0 var(--space-4);
}

.site-footer__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--space);
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 1fr;
  gap: var(--space-4);
}

.site-footer__name {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.site-footer__blurb {
  margin: 0;
  color: rgba(244, 245, 241, 0.7);
  font-size: var(--step-small);
  max-width: 22rem;
}

.site-footer__label {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 245, 241, 0.55);
}

.site-footer__col,
.site-footer__app {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-start;
}

.site-footer a {
  text-decoration: none;
  font-size: var(--step-small);
  color: rgba(244, 245, 241, 0.88);
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer__host {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  opacity: 0.7;
}

.site-footer__base {
  max-width: var(--max);
  margin: var(--space-4) auto 0;
  padding-inline: var(--space);
  border-block-start: 1px solid rgba(244, 245, 241, 0.12);
  padding-top: var(--space-3);
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(244, 245, 241, 0.55);
}

/* ── Motion ── */
.reveal {
  opacity: 0;
  transform: translateY(0.75rem);
  animation: rise 0.9s var(--ease-out) forwards;
}

.reveal--delay-1 { animation-delay: 0.08s; }
.reveal--delay-2 { animation-delay: 0.16s; }
.reveal--delay-3 { animation-delay: 0.24s; }

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero__layout {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding-bottom: var(--space-4);
  }

  .hero__frame {
    justify-self: stretch;
    width: 100%;
  }

  .module-block,
  .module-block--flip {
    grid-template-columns: 1fr;
  }

  .module-block--flip .module-block__copy,
  .module-block--flip .module-block__frame,
  html[dir="rtl"] .module-block--flip .module-block__copy,
  html[dir="rtl"] .module-block--flip .module-block__frame {
    order: initial;
  }

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

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-header__actions {
    position: fixed;
    inset: 0;
    top: 0;
    z-index: 30;
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--space-3);
    padding: calc(var(--header-h) + 1rem) var(--space) var(--space-4);
    background: rgba(16, 24, 16, 0.97);
    color: var(--hero-fg);
    overflow-y: auto;
  }

  .site-header__actions.is-open {
    display: flex;
  }

  .site-header--solid .site-header__actions {
    background: rgba(244, 245, 241, 0.98);
    color: var(--ink);
  }

  .site-nav-primary {
    flex-direction: column;
    gap: 0.85rem;
  }

  .site-nav-primary a {
    font-size: 1.15rem;
  }

  .site-header--hero .site-header__actions .site-nav-primary a,
  .site-header--hero .site-header__actions .link-quiet,
  .site-header--hero .site-header__actions .lang-switch__btn {
    color: var(--hero-fg);
  }

  .site-header--solid .site-header__actions .site-nav-primary a,
  .site-header--solid .site-header__actions .link-quiet {
    color: var(--ink);
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav .btn {
    width: 100%;
  }

  .lang-switch {
    align-self: flex-start;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 720px) {
  .explore__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

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

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

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__brand {
    font-size: clamp(2.1rem, 12vw, 3rem);
  }

  .timeline__item {
    grid-template-columns: 2.5rem 1fr;
  }
}

@media (max-width: 520px) {
  .hero__ctas,
  .close__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn--lg {
    width: 100%;
  }
}
