/* MehKorban coming-soon page. Emerald and gold, mobile first. */

:root {
  --emerald-950: #031C15;
  --emerald-900: #062A20;
  --emerald-800: #0B3B2D;
  --emerald-700: #11513D;
  --gold: #C9A45C;
  --gold-light: #E6CD8F;
  --gold-deep: #A8833D;
  --gold-text: #86672A; /* gold dark enough for text on cream */
  --cream: #F7F1E3;
  --paper: #FCF9F1;
  --line-cream: #DDD1B4;
  --ink: #0B2A21;
  --ink-muted: #4A5E55;
  --on-dark: #F7F1E3;
  --on-dark-muted: rgba(247, 241, 227, 0.74);
  --error: #B42318;

  --muted: var(--on-dark-muted);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-arabic: "Amiri", "Traditional Arabic", "Noto Naskh Arabic", serif;

  --gutter: 16px;
  --radius: 14px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

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

[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--emerald-900);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(201, 164, 92, 0.16), transparent 60%),
    radial-gradient(ellipse 70% 60% at 100% 100%, rgba(17, 81, 61, 0.9), transparent 70%),
    linear-gradient(180deg, var(--emerald-900), var(--emerald-950));
  background-attachment: fixed;
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Eight-point star lattice, drawn once and tiled. Cream bands paint over it. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23C9A45C' stroke-width='1'%3E%3Crect x='34' y='34' width='28' height='28'/%3E%3Crect x='34' y='34' width='28' height='28' transform='rotate(45 48 48)'/%3E%3Cpath d='M0 0L34 34M96 0L62 34M0 96L34 62M96 96L62 62M48 0V28.2M48 96V67.8M0 48H28.2M96 48H67.8'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 96px 96px;
}

a { color: inherit; }

.inner,
.page {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark { width: 32px; height: 32px; }

.wordmark {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--on-dark);
}

.wordmark-meh {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

.site-nav { display: none; }

/* MEH endorsement: gold emblem, a hairline, then "Program Korban Rahmah oleh / Majlis Ekonomi Halal (MEH)".
   Same line as the MehKorban logo at every width. Phones use a compact version:
   "Korban Rahmah oleh / Majlis Ekonomi Halal" (the emblem already says MEH). */
.endorse {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.endorse-mark {
  flex: none;
  width: auto;
  height: 38px;
}

.endorse-text {
  margin: 0;
  padding-left: 8px;
  border-left: 1px solid rgba(201, 164, 92, 0.45);
  font-size: 0.71875rem;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--on-dark-muted);
}

.endorse-text > span,
.endorse-text > strong { display: block; }

.endorse-text strong { font-weight: 600; color: var(--gold-light); }

@media (max-width: 399px) {
  .endorse-long { display: none; }
}

@media (max-width: 639px) {
  .site-header .brand-mark { width: 28px; height: 28px; }
  .site-header .brand { gap: 8px; }
  .site-header .wordmark { font-size: 1.1875rem; }
}

/* Very narrow phones (under 350px): let the endorsement drop below the logo. */
@media (max-width: 349px) {
  .site-header { flex-wrap: wrap; row-gap: 12px; }
}

@media (min-width: 640px) {
  .endorse { gap: 12px; }
  .endorse-mark { height: 48px; }
  .endorse-text { padding-left: 12px; font-size: 0.8125rem; line-height: 1.35; }
}

@media (min-width: 1200px) {
  .site-nav {
    display: flex;
    gap: 28px;
    font-size: 0.875rem;
    font-weight: 500;
  }
  .site-nav a {
    color: var(--on-dark-muted);
    text-decoration: none;
    transition: color 0.15s;
  }
  .site-nav a:hover { color: var(--gold-light); }
}

.programme-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(201, 164, 92, 0.45);
  border-radius: 999px;
  padding: 6px 12px;
  white-space: nowrap;
}

a.programme-tag { text-decoration: none; }

/* Bands (full-width sections) */

.band {
  position: relative;
  padding: 72px 0;
}

.band-cream {
  --muted: var(--ink-muted);
  background: var(--cream);
  color: var(--ink);
}

.band-deep {
  background: rgba(3, 28, 21, 0.72);
  border-top: 1px solid rgba(201, 164, 92, 0.22);
  border-bottom: 1px solid rgba(201, 164, 92, 0.22);
}

@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .band { padding: 112px 0; }
}

.eyebrow {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow-dark { color: var(--gold-text); }

.section-head {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.section-head .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 6.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}

.section-text {
  margin: 18px 0 0;
  font-size: 1.0625rem;
  color: var(--muted);
  text-wrap: pretty;
}

.text-link {
  display: inline-block;
  margin-top: 22px;
  font-weight: 700;
  color: var(--emerald-700);
  text-decoration: none;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
}

.text-link:hover { color: var(--emerald-800); border-color: var(--emerald-700); }

/* 1. Hero */

.hero-band { padding: 8px 0 64px; }

.layout {
  display: grid;
  gap: 40px;
  padding-top: 16px;
}

@media (min-width: 900px) {
  .hero-band { padding: 24px 0 96px; }
  .layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 72px;
    padding-top: 32px;
  }
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 11vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144;
}

h1 em,
.closing h2 em {
  display: block;
  font-style: italic;
  color: var(--gold);
}

.lede {
  margin: 20px 0 0;
  max-width: 34rem;
  font-size: 1.0625rem;
  color: var(--on-dark-muted);
}

.points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
}

.points svg {
  flex: none;
  width: 32px;
  height: 32px;
  padding: 6px;
  border: 1px solid rgba(201, 164, 92, 0.5);
  border-radius: 50%;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.launch {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(201, 164, 92, 0.25);
}

.launch-label {
  margin: 0 0 14px;
  font-size: 0.9375rem;
  color: var(--on-dark-muted);
}

.launch-label strong { color: var(--on-dark); font-weight: 600; }

.launch-label { max-width: 34rem; text-wrap: balance; }

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 420px;
}

.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 4px 10px;
  border: 1px solid rgba(201, 164, 92, 0.35);
  border-radius: 12px;
  background: rgba(3, 28, 21, 0.45);
}

.num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 7vw, 2.25rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--gold-light);
}

.lbl {
  margin-top: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.countdown.is-live { display: none; }

/* Form card with an arched top */

.card {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  border-radius: 50% 50% var(--radius) var(--radius) / 170px 170px var(--radius) var(--radius);
  padding: 96px 22px 26px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(201, 164, 92, 0.4);
  scroll-margin-top: 24px;
}

.card-arch {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(168, 131, 61, 0.55);
  border-radius: 50% 50% 10px 10px / 162px 162px 10px 10px;
  pointer-events: none;
}

@media (min-width: 480px) {
  .card { padding: 104px 36px 32px; }
}

.card h2 {
  position: relative;
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.875rem;
  letter-spacing: -0.01em;
}

.card-intro {
  position: relative;
  margin: 6px auto 24px;
  max-width: 22rem;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

.form { position: relative; display: grid; gap: 14px; }

.field { display: grid; gap: 6px; }

.field label { font-size: 0.875rem; font-weight: 600; }

.field input {
  width: 100%;
  font: inherit;
  font-size: 1rem; /* 16px stops iOS zooming on focus */
  color: var(--ink);
  background: #fff;
  border: 1px solid #CFC3A6;
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input::placeholder { color: #9AA39E; }

.field input:focus {
  outline: none;
  border-color: var(--emerald-700);
  box-shadow: 0 0 0 3px rgba(17, 81, 61, 0.18);
}

.error {
  display: none;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--error);
}

.field.invalid input { border-color: var(--error); }
.field.invalid .error,
.error.show { display: block; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--emerald-700);
}

.consent a { color: var(--emerald-700); font-weight: 600; }

/* Interest choice: two selectable tiles (real checkboxes underneath, D364). */
.minat {
  min-width: 0;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
}

.minat legend {
  margin-bottom: 8px;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.minat-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.chip {
  position: relative;
  display: block;
  cursor: pointer;
}

.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.chip-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 88px;
  padding: 12px 14px;
  border: 1.5px solid #CFC3A6;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.chip:hover .chip-body { border-color: var(--emerald-700); }

.chip-icon {
  width: 28px;
  height: 28px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(17, 81, 61, 0.08);
  fill: none;
  stroke: var(--emerald-700);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--emerald-700);
  transition: background-color 0.2s, stroke 0.2s;
}

.chip-label {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
}

.chip-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border: 1.5px solid #CFC3A6;
  border-radius: 50%;
  background: #fff;
  transition: background-color 0.2s, border-color 0.2s;
}

.chip-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2.5px;
  width: 6px;
  height: 11px;
  border: solid var(--emerald-950);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}

.chip input:checked + .chip-body {
  background: var(--emerald-800);
  border-color: var(--emerald-800);
  color: var(--gold-light);
  box-shadow: 0 10px 22px -14px rgba(6, 42, 32, 0.8), inset 0 0 0 1px rgba(201, 164, 92, 0.45);
}

.chip input:checked + .chip-body .chip-icon {
  background: rgba(201, 164, 92, 0.16);
  stroke: var(--gold);
  color: var(--gold);
}

.chip input:checked + .chip-body .chip-check {
  background: var(--gold);
  border-color: var(--gold);
}

.chip input:checked + .chip-body .chip-check::after { transform: rotate(45deg) scale(1); }

.chip input:focus-visible + .chip-body {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.minat.invalid .chip-body { border-color: var(--error); }
.minat.invalid .error { display: block; }

.form-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.875rem;
  text-align: center;
  color: var(--error);
}

.success {
  position: relative;
  text-align: center;
  padding: 8px 0 4px;
}

.success:focus { outline: none; }

.success h3 {
  margin: 12px 0 4px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

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

.divider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #D9CDB0;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s, transform 0.1s, border-color 0.15s;
}

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

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

.btn-emerald {
  margin-top: 6px;
  border: 0;
  background: var(--emerald-800);
  color: var(--gold-light);
  box-shadow: inset 0 0 0 1px rgba(201, 164, 92, 0.5);
}

.btn-emerald:hover { background: var(--emerald-700); }
.btn-emerald[disabled] { opacity: 0.7; cursor: progress; }

.btn-outline {
  position: relative;
  border: 1.5px solid var(--emerald-700);
  background: transparent;
  color: var(--emerald-800);
}

.btn-outline:hover { background: rgba(17, 81, 61, 0.08); }

.btn-gold {
  border: 0;
  background: var(--gold);
  color: var(--emerald-950);
}

.btn-gold:hover { background: var(--gold-light); }

.btn-ghost {
  border: 1.5px solid rgba(201, 164, 92, 0.7);
  background: transparent;
  color: var(--gold-light);
}

.btn-ghost:hover { background: rgba(201, 164, 92, 0.12); }

.btn-sm {
  width: auto;
  min-height: 44px;
  padding: 8px 18px;
  font-size: 0.9375rem;
}

.wa-icon { width: 20px; height: 20px; flex: none; }

/* 2. Who MEH is */

.meh-grid {
  display: grid;
  gap: 40px;
}

.meh-grid .section-title { font-size: clamp(1.875rem, 5.5vw, 2.75rem); }

.meh-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.logo-meh { width: auto; height: 132px; }

.logo-divider {
  align-self: stretch;
  width: 1px;
  margin: 10px 0;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
}

.logo-sedar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.logo-sedar img { width: 88px; height: auto; }

.logo-sedar figcaption {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--ink-muted);
  max-width: 130px;
}

@media (min-width: 480px) {
  .logo-meh { height: 150px; }
  .logo-sedar img { width: 96px; }
  .meh-logos { gap: 28px; }
}

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

.pillars li {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--line-cream);
}

.pillars li:last-child { border-bottom: 1px solid var(--line-cream); }

.pillar-num {
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--gold-text);
}

.pillars h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
}

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

@media (min-width: 900px) {
  .meh-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 80px;
    align-items: center;
  }
}

/* 3. Ecosystem. Phones and tablets: a vertical chain. Desktop: a ring. */

.eco {
  position: relative;
  max-width: 520px;
  margin: 48px auto 0;
}

.eco-ring { display: none; }

.eco-core {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  margin-bottom: 28px;
}

.eco-core img { width: 32px; height: 32px; }

.eco-core-sub {
  flex-basis: 100%;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.eco-nodes {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* The chain line and a dot travelling down it. */
.eco-nodes::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(180deg, rgba(201, 164, 92, 0.6), rgba(201, 164, 92, 0.15));
}

.eco-nodes::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 28px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 12px 2px rgba(230, 205, 143, 0.7);
  animation: chain 15s linear infinite;
}

@keyframes chain {
  from { top: 28px; opacity: 1; }
  92% { opacity: 1; }
  to { top: calc(100% - 40px); opacity: 0; }
}

.eco-node {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 16px;
  align-items: start;
}

.eco-icon {
  grid-row: span 2;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--emerald-900);
  border: 1px solid rgba(201, 164, 92, 0.55);
  color: var(--gold);
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s, transform 0.4s;
}

.eco-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eco-node.is-active .eco-icon {
  background: var(--gold);
  color: var(--emerald-950);
  box-shadow: 0 0 0 8px rgba(201, 164, 92, 0.16), 0 0 28px rgba(201, 164, 92, 0.45);
  transform: scale(1.06);
}

.eco-node h3 {
  margin: 4px 0 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1.25;
}

.eco-node p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--on-dark-muted);
}

.eco-via {
  justify-self: start;
  margin: 12px 0 22px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  border: 1px dashed rgba(201, 164, 92, 0.55);
  border-radius: 999px;
  background: rgba(3, 28, 21, 0.6);
}

/* Arrows follow the direction of flow: down the chain on phones, clockwise on the ring. */
.eco-via::after { content: " \2193"; }
.eco-node:last-child .eco-via::after { content: " \21BA"; }

.eco-node:last-child .eco-via { margin-bottom: 0; }

@media (min-width: 1024px) {
  .eco {
    max-width: none;
    height: 620px;
    margin-top: 56px;
  }

  .eco-ring {
    display: block;
    position: absolute;
    left: 50%;
    top: 310px;
    width: 480px;
    height: 480px;
    transform: translate(-50%, -50%);
    overflow: visible;
  }

  .ring-base {
    fill: none;
    stroke: rgba(201, 164, 92, 0.18);
    stroke-width: 1;
  }

  .ring-flow {
    fill: none;
    stroke: rgba(201, 164, 92, 0.55);
    stroke-width: 1.5;
    stroke-dasharray: 2 12;
    animation: ring-flow 3s linear infinite;
  }

  .dot { fill: var(--gold-light); }
  .dot-lead { filter: drop-shadow(0 0 8px rgba(230, 205, 143, 0.9)); }

  .eco-core {
    position: absolute;
    left: 50%;
    top: 310px;
    transform: translate(-50%, -50%);
    flex-direction: column;
    gap: 6px;
    margin: 0;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 164, 92, 0.12), rgba(3, 28, 21, 0.2) 70%);
    border: 1px solid rgba(201, 164, 92, 0.25);
  }

  .eco-core { flex-wrap: nowrap; }
  .eco-core-sub { flex-basis: auto; }
  .eco-core img { width: 48px; height: 48px; }
  .eco-core .wordmark { font-size: 1.5rem; }

  .eco-nodes { position: static; }
  .eco-nodes::before,
  .eco-nodes::after { display: none; }

  /* Each node's icon centre sits on the ring at (--x, --y) from the centre. */
  .eco-node {
    --ax: 28px;
    position: absolute;
    left: calc(50% + var(--x) * 1px);
    top: calc(310px + var(--y) * 1px);
    display: flex;
    gap: 14px;
    width: 250px;
    transform: translate(-28px, -28px);
  }

  .eco-node > div { min-width: 0; }

  .eco-node--top {
    --ax: 50%;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 200px;
    text-align: center;
    transform: translate(-50%, -28px);
  }

  .eco-node--left {
    --ax: calc(100% - 28px);
    flex-direction: row-reverse;
    text-align: right;
    transform: translate(calc(-100% + 28px), -28px);
  }

  .eco-icon { flex: none; }

  .eco-node p { font-size: 0.875rem; }

  .eco-node:nth-child(1) .eco-via::after,
  .eco-node:nth-child(5) .eco-via::after { content: " \2192"; }
  .eco-node:nth-child(2) .eco-via::after { content: " \2193"; }
  .eco-node:nth-child(3) .eco-via::after { content: " \2190"; }
  .eco-node:nth-child(4) .eco-via::after { content: " \2191"; }

  .eco-via {
    position: absolute;
    left: calc(var(--ax) + var(--vx) * 1px);
    top: calc(28px + var(--vy) * 1px);
    transform: translate(-50%, -50%);
    margin: 0;
    white-space: nowrap;
  }
}

@keyframes ring-flow {
  to { stroke-dashoffset: -28; }
}

.eco-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 640px;
  margin: 48px auto 0;
  padding: 16px 22px;
  border: 1px solid rgba(201, 164, 92, 0.45);
  border-radius: 18px;
  background: rgba(3, 28, 21, 0.5);
  font-size: 1rem;
  color: var(--on-dark-muted);
}

.eco-tagline strong { color: var(--gold-light); font-weight: 600; }

.eco-tagline svg {
  flex: none;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Farm strip: photos and tap-to-play videos. Swipeable row on phones, 2 columns on tablets, 4 on desktop. */

.ladang { margin-top: 56px; }

.ladang-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.ladang-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 164, 92, 0.5), transparent);
}

.ladang-grid {
  list-style: none;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 6px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 68%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.ladang-grid::-webkit-scrollbar { display: none; }

@media (min-width: 640px) {
  .ladang-grid {
    margin: 0;
    padding: 0;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    overflow: visible;
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .ladang-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

.ladang-item {
  position: relative;
  aspect-ratio: 4 / 5;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  background: var(--emerald-800);
  box-shadow: 0 0 0 1px rgba(201, 164, 92, 0.35), 0 24px 48px -28px rgba(0, 0, 0, 0.7);
}

.ladang-item figure { margin: 0; height: 100%; }

.ladang-item img,
.ladang-item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ladang-item img { filter: saturate(0.9) contrast(1.03); transition: transform 0.6s ease; }

.ladang-item:hover img { transform: scale(1.03); }

/* Emerald wash at the bottom so captions stay readable and the photos sit in the palette. */
.ladang-item figure::after,
.ladang-play::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 28, 21, 0.88) 0%, rgba(3, 28, 21, 0.2) 38%, transparent 60%);
  pointer-events: none;
}

.ladang-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px 16px;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--on-dark);
}

.ladang-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.ladang-play {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.ladang-play:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.play-icon {
  position: absolute;
  left: 50%;
  top: 44%;
  z-index: 1;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(201, 164, 92, 0.92);
  box-shadow: 0 0 0 8px rgba(201, 164, 92, 0.22), 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.play-icon::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 18px;
  border-style: solid;
  border-width: 11px 0 11px 17px;
  border-color: transparent transparent transparent var(--emerald-950);
}

.ladang-play:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 0 0 12px rgba(201, 164, 92, 0.18), 0 10px 24px rgba(0, 0, 0, 0.35);
}

.ladang-item video { background: #000; }

/* 4. Offer */

.offer-grid {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}

@media (min-width: 900px) {
  .offer-grid { grid-template-columns: 1.7fr 1fr; gap: 24px; }
}

.offer {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-cream);
  border-radius: 22px;
  padding: 28px 22px 26px;
  box-shadow: 0 18px 40px -28px rgba(11, 42, 33, 0.4);
}

@media (min-width: 480px) {
  .offer { padding: 36px 32px 30px; }
}

.tiers {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line-cream);
  color: var(--emerald-800);
}

.tier {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  max-width: 240px;
}

.tier svg {
  width: calc(100% * var(--s));
  height: auto;
  aspect-ratio: 3 / 2;
}

.offer-kambing .tier { max-width: 200px; }
.offer-kambing .tier svg { aspect-ratio: 5 / 4; }

.tier figcaption {
  margin-top: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: var(--gold-text);
}

.offer-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 20px;
  flex: 1;
}

.offer h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.75rem;
}

.offer-sub { margin: 0 0 18px; color: var(--ink-muted); }

.soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 7px 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gold-text);
  border: 1px solid rgba(168, 131, 61, 0.5);
  border-radius: 999px;
  background: rgba(201, 164, 92, 0.1);
}

.soon::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-deep);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  50% { opacity: 0.3; }
}

/* 4a. Infaq Korban: two money streams side by side, each with its own travelling dot (D364).
   Korban lane in gold, infaq lane in cream, a dashed "Tidak bercampur" line between. */

.soon-dark {
  margin-top: 22px;
  color: var(--gold-light);
  border-color: rgba(201, 164, 92, 0.55);
  background: rgba(201, 164, 92, 0.1);
}

.soon-dark::before { background: var(--gold); }

.streams { margin-top: 48px; }

.stream {
  --lane: var(--gold);
  --lane-soft: rgba(201, 164, 92, 0.35);
  padding: 24px 20px;
  border: 1px solid var(--lane-soft);
  border-radius: 22px;
  background: rgba(3, 28, 21, 0.5);
}

.stream-infaq {
  --lane: var(--cream);
  --lane-soft: rgba(247, 241, 227, 0.26);
  background: rgba(247, 241, 227, 0.04);
}

.stream-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.stream-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--lane);
  border-radius: 50%;
  color: var(--lane);
}

.stream-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stream-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--lane);
}

.stream-head p {
  margin: 2px 0 0;
  font-size: 0.875rem;
  color: var(--on-dark-muted);
}

.stream-steps {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stream-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-content: start;
  column-gap: 14px;
}

.stream-steps strong {
  grid-column: 2;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--on-dark);
}

.stream-steps li > span:not(.step-num) {
  grid-column: 2;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--on-dark-muted);
}

.step-num {
  grid-row: span 2;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--lane);
  border-radius: 50%;
  background: var(--emerald-900);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--lane);
}

/* Track and travelling dot: vertical on phones and tablets. */
.stream-steps::before {
  content: "";
  position: absolute;
  left: 17.5px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, var(--lane-soft), transparent);
}

.stream-steps::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 14px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lane);
  box-shadow: 0 0 12px 2px var(--lane);
  animation: lane-v 8s linear infinite;
}

@keyframes lane-v {
  0% { top: 14px; opacity: 1; }
  85% { top: calc(100% - 40px); opacity: 1; }
  100% { top: calc(100% - 40px); opacity: 0; }
}

/* Each step lights up as the dot reaches it. */
.step-num { animation: step-glow 8s ease-out infinite; }
.stream-steps li:nth-child(2) .step-num { animation-delay: 2.27s; }
.stream-steps li:nth-child(3) .step-num { animation-delay: 4.53s; }
.stream-steps li:nth-child(4) .step-num { animation-delay: 6.8s; }

@keyframes step-glow {
  0% { background: var(--lane); color: var(--emerald-950); box-shadow: 0 0 0 6px var(--lane-soft); }
  18%, 100% { background: var(--emerald-900); color: var(--lane); box-shadow: none; }
}

.streams-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.streams-divider::before,
.streams-divider::after {
  content: "";
  flex: 1;
  border-top: 1px dashed rgba(201, 164, 92, 0.6);
}

.streams-divider span {
  padding: 5px 12px;
  border: 1px dashed rgba(201, 164, 92, 0.6);
  border-radius: 999px;
}

/* Desktop: each stream is a horizontal lane of four steps. */
@media (min-width: 1024px) {
  .stream { padding: 28px 32px 30px; }

  .stream-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .stream-steps li {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }

  .stream-steps strong,
  .stream-steps li > span:not(.step-num) { grid-column: 1; }

  .step-num { grid-row: auto; margin-bottom: 8px; }

  .stream-steps::before {
    left: 18px;
    right: calc(25% - 33px);
    top: 17.5px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--lane-soft), var(--lane-soft));
  }

  .stream-steps::after {
    top: 14px;
    left: 14px;
    animation-name: lane-h;
  }

  @keyframes lane-h {
    0% { left: 14px; opacity: 1; }
    85% { left: calc(75% + 29px); opacity: 1; }
    100% { left: calc(75% + 29px); opacity: 0; }
  }
}

.infaq-notes {
  display: grid;
  gap: 10px;
  max-width: 960px;
  margin: 36px auto 0;
  padding: 0;
  list-style: none;
}

.infaq-notes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--on-dark-muted);
}

.infaq-notes li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--gold);
}

@media (min-width: 900px) {
  .infaq-notes { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.infaq-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.infaq-cta .btn { width: auto; min-width: 240px; }

.infaq-warning {
  max-width: 560px;
  margin: 14px auto 0;
  font-size: 0.8125rem;
  text-align: center;
  color: var(--on-dark-muted);
}

@media (prefers-reduced-motion: reduce) {
  .stream-steps::after { display: none; }
  .step-num { animation: none; }
}

/* 5. Verses */

.verse {
  margin: 0;
  text-align: center;
}

.verse blockquote { margin: 0; }

.arabic {
  margin: 0;
  font-family: var(--font-arabic);
  font-size: 1.625rem;
  line-height: 1.9;
  color: var(--gold-light);
}

.translation {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--on-dark);
  text-wrap: pretty;
}

.verse figcaption {
  margin-top: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.verse-main {
  max-width: 860px;
  margin: 8px auto 0;
}

.verse-main .arabic { font-size: clamp(1.875rem, 6vw, 3rem); line-height: 1.8; }
.verse-main .translation { font-size: clamp(1.1875rem, 3.2vw, 1.625rem); }

/* Picture of the animals in an arch, beside the main verse (tablet and desktop only). */
.seruan-art { display: none; }

@media (min-width: 768px) {
  .seruan-top {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: center;
  }

  .seruan-art {
    display: block;
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 50% 50% 18px 18px / 34% 34% 18px 18px;
    background: var(--emerald-800);
    box-shadow: 0 0 0 1px rgba(201, 164, 92, 0.45), 0 40px 80px -30px rgba(0, 0, 0, 0.7);
    overflow: hidden;
  }

  /* Farm photo fills the arch; a soft emerald wash at top and bottom ties it to the section. */
  .seruan-art picture,
  .seruan-art img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  .seruan-art img {
    object-fit: cover;
    object-position: 40% 60%;
    filter: saturate(0.9) contrast(1.03);
  }

  .seruan-art::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(3, 28, 21, 0.35), transparent 28%),
      linear-gradient(0deg, rgba(3, 28, 21, 0.55), transparent 35%);
  }

  .seruan-arch {
    position: absolute;
    inset: 10px;
    z-index: 2;
    border: 1px solid rgba(230, 205, 143, 0.65);
    border-radius: 50% 50% 12px 12px / 33% 33% 12px 12px;
    pointer-events: none;
  }

  .seruan-main .verse-main .arabic { font-size: clamp(1.75rem, 3.4vw, 2.625rem); }
  .seruan-main .verse-main .translation { font-size: clamp(1.125rem, 2vw, 1.5rem); }
}

@media (min-width: 1024px) {
  .seruan-top { gap: 80px; }
}

.verse-pair {
  display: grid;
  gap: 20px;
  margin-top: 56px;
}

.verse-pair .verse {
  padding: 30px 24px;
  border: 1px solid rgba(201, 164, 92, 0.28);
  border-radius: 20px;
  background: rgba(6, 42, 32, 0.6);
}

@media (min-width: 900px) {
  .verse-pair { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 72px; }
  .verse-pair .verse { padding: 36px 32px; }
}

/* 6. Partners */

.partners {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .partners { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.partner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--line-cream);
  border-radius: 22px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.partner:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -26px rgba(11, 42, 33, 0.45);
}

.partner-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--emerald-800);
  color: var(--gold);
}

.partner-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.partner h3 {
  margin: 18px 0 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.375rem;
}

.partner p {
  margin: 0 0 22px;
  color: var(--ink-muted);
  flex: 1;
}

/* 7. Closing */

.closing { overflow: hidden; }

.closing::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 760px;
  height: 760px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201, 164, 92, 0.16), transparent 62%);
  pointer-events: none;
}

.closing-inner {
  max-width: 760px;
  text-align: center;
}

.closing-mark { width: 52px; height: 52px; }

.closing h2 {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 9vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144;
}

.closing-date {
  margin: 24px 0 0;
  font-weight: 600;
  color: var(--gold-light);
}

.days-left {
  display: block;
  margin-top: 4px;
  font-weight: 500;
  color: var(--on-dark-muted);
}

.days-left:empty { display: none; }

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.closing-actions .btn { width: auto; min-width: 200px; }

/* Footer */

.site-footer {
  padding-top: 36px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(201, 164, 92, 0.2);
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.footer-brand .wordmark { font-size: 1.125rem; }

.socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 92, 0.4);
  color: var(--gold);
  transition: background-color 0.15s;
}

.socials a:hover { background: rgba(201, 164, 92, 0.12); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

.legal {
  margin: 4px 0;
  font-size: 0.8125rem;
  color: var(--on-dark-muted);
}

.legal a { color: var(--gold-light); }

/* Sticky call to action (phones) */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  gap: 10px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(3, 28, 21, 0.92);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-top: 1px solid rgba(201, 164, 92, 0.3);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}

.sticky-cta.is-shown { transform: none; }

.sticky-cta .btn { min-height: 48px; }

.btn-icon {
  flex: none;
  width: 48px;
  padding: 0;
  border: 1.5px solid rgba(201, 164, 92, 0.7);
  color: var(--gold-light);
  background: transparent;
}

@media (max-width: 899px) {
  body { padding-bottom: 76px; }
}

@media (min-width: 900px) {
  .sticky-cta { display: none; }
}

/* Entrance and scroll reveal (only when JS is running) */

@media (prefers-reduced-motion: no-preference) {
  .hero > *,
  .card {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero > :nth-child(2) { animation-delay: 0.06s; }
  .hero > :nth-child(3) { animation-delay: 0.12s; }
  .hero > :nth-child(4) { animation-delay: 0.18s; }
  .hero > :nth-child(5) { animation-delay: 0.24s; }
  .card { animation-delay: 0.2s; }

  .js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }

  .js .eco-node {
    opacity: 0;
    transition: opacity 0.6s ease;
  }
  .js .eco.is-visible .eco-node { opacity: 1; }
  .js .eco.is-visible .eco-node:nth-child(2) { transition-delay: 0.15s; }
  .js .eco.is-visible .eco-node:nth-child(3) { transition-delay: 0.3s; }
  .js .eco.is-visible .eco-node:nth-child(4) { transition-delay: 0.45s; }
  .js .eco.is-visible .eco-node:nth-child(5) { transition-delay: 0.6s; }
}

@media (prefers-reduced-motion: reduce) {
  .ring-flow,
  .eco-nodes::after,
  .soon::before { animation: none; }
  .eco-nodes::after { display: none; }
}

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

/* Privacy notice page */

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 0 56px;
}

.doc h1 {
  font-size: clamp(2rem, 7vw, 2.75rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.doc h2 {
  margin: 28px 0 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--gold-light);
}

.doc p { margin: 0 0 12px; color: var(--on-dark-muted); }

.doc hr {
  margin: 48px 0;
  border: 0;
  border-top: 1px solid rgba(201, 164, 92, 0.3);
}

.doc .back { color: var(--gold-light); font-weight: 600; }
