/* ============================================================
   SANDSTORM GROUP — main.css
   Precision in Every Grain
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand palette */
  --gold: #C9A84C;
  --gold-light: #E8D48B;
  --gold-deep: #A8873A;
  --orange: #D4813A;
  --obsidian: #0D0D0D;
  --carbon: #1A1A1A;
  --sandstone: #F5F0E8;
  --dune: #8B7355;

  /* Derived */
  --paper: #FAF6EE;          /* page background, a touch lighter than sandstone */
  --card: #FFFDF8;
  --ink: #221C13;            /* warm near-black text on light */
  --ink-soft: #57503F;
  --muted: #7A6F5C;
  --line: rgba(139, 115, 85, 0.18);
  --line-strong: rgba(139, 115, 85, 0.32);
  --on-dark: #F5F0E8;
  --on-dark-soft: rgba(245, 240, 232, 0.72);
  --on-dark-faint: rgba(245, 240, 232, 0.45);

  --grad-gold: linear-gradient(105deg, #B08F3E 0%, #E8D48B 45%, #C9A84C 100%);
  --grad-ember: linear-gradient(105deg, #D4813A 0%, #E8A96B 50%, #C9A84C 100%);

  /* Type */
  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-accent: "Cormorant Garamond", "Georgia", serif;

  /* Shape */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-hero: clamp(20px, 3vw, 38px);
  --r-pill: 999px;

  --shadow-card: 0 24px 48px -28px rgba(34, 28, 19, 0.28);
  --shadow-card-hover: 0 34px 64px -30px rgba(34, 28, 19, 0.38);
  --shadow-header: 0 16px 40px -20px rgba(13, 13, 13, 0.35);

  /* Rhythm */
  --space-section: clamp(4.5rem, 11vw, 8.5rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --frame: clamp(0.5rem, 1.6vw, 1.25rem); /* inset around hero card */
  --container: 74rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.55s;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.6em;
  text-wrap: balance;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 7.2vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.55rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

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

::selection { background: rgba(201, 168, 76, 0.35); }

.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.7rem 1.2rem;
  background: var(--obsidian);
  color: var(--on-dark);
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* ---------- Utilities ---------- */
.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.container--narrow { max-width: 50rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.on-dark .eyebrow { color: var(--gold-light); }

.accent-italic {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.text-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 42em;
}
.on-dark .lead { color: var(--on-dark-soft); }

.section { padding-block: var(--space-section); }
.section--tight { padding-block: calc(var(--space-section) * 0.62); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.on-dark { color: var(--on-dark); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.9rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
              color 0.35s var(--ease-out);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn .btn-arrow { transition: transform 0.35s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn--gold {
  background: var(--grad-gold);
  color: var(--obsidian);
  box-shadow: 0 14px 30px -14px rgba(201, 168, 76, 0.55);
}
.btn--gold:hover { box-shadow: 0 20px 40px -16px rgba(201, 168, 76, 0.7); }

/* shimmer sweep */
.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease-out);
  pointer-events: none;
}
.btn--gold:hover::after { transform: translateX(120%); }

.btn--ghost-dark {
  border-color: rgba(245, 240, 232, 0.4);
  color: var(--on-dark);
  background: rgba(245, 240, 232, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost-dark:hover { border-color: rgba(245, 240, 232, 0.85); background: rgba(245, 240, 232, 0.12); }

.btn--ghost-light {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn--ghost-light:hover { border-color: var(--ink); }

.btn--dark {
  background: var(--obsidian);
  color: var(--on-dark);
}
.btn--dark:hover { background: var(--carbon); }

.btn--whatsapp {
  background: #103928;
  color: #D8F5E4;
  border-color: rgba(216, 245, 228, 0.15);
}
.btn--whatsapp:hover { background: #14472F; }

.btn--sm { padding: 0.65rem 1.3rem; font-size: 0.8rem; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  color: var(--gold-deep);
  border-bottom: 1px solid transparent;
  transition: gap 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.link-more:hover { gap: 0.85rem; color: var(--ink); }
.on-dark .link-more { color: var(--gold-light); }
.on-dark .link-more:hover { color: var(--on-dark); }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: clamp(1rem, 2.6vw, 1.9rem) clamp(1.1rem, 3.4vw, 2.6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--on-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.brand img { height: clamp(44px, 6vw, 62px); width: auto; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 1.9rem);
}
.nav-desktop a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--on-dark-soft);
  padding: 0.35rem 0.1rem;
  position: relative;
  transition: color 0.3s var(--ease-out);
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.35s var(--ease-out);
}
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--on-dark); }
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 0.8rem; }
.header-actions .btn--sm { display: none; }

/* fixed state — appears after scrolling past hero */
.site-header.is-fixed {
  position: fixed;
  top: 0.6rem;
  left: 50%;
  right: auto;
  transform: translate(-50%, -130%);
  width: min(var(--container), 100% - 1.2rem);
  padding: 0.55rem 0.9rem 0.55rem 1.1rem;
  border-radius: var(--r-pill);
  background: rgba(13, 13, 13, 0.92);
  border: 1px solid rgba(245, 240, 232, 0.1);
  box-shadow: var(--shadow-header);
  transition: transform 0.5s var(--ease-out);
}
.site-header.is-fixed.is-shown { transform: translate(-50%, 0); }
.site-header.is-fixed .brand img { height: 40px; }
.site-header.is-fixed .header-actions .btn--sm { box-shadow: none; }

.menu-toggle {
  appearance: none;
  border: 1px solid rgba(245, 240, 232, 0.35);
  background: rgba(13, 13, 13, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--on-dark);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}
.menu-toggle:hover { border-color: var(--gold); }
.menu-toggle .bars {
  position: relative;
  width: 18px;
  height: 12px;
}
.menu-toggle .bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out), opacity 0.3s;
}
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 5.2px; }
.menu-toggle .bars span:nth-child(3) { top: 10.4px; }

body.menu-open .menu-toggle .bars span:nth-child(1) { top: 5.2px; transform: rotate(45deg); }
body.menu-open .menu-toggle .bars span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle .bars span:nth-child(3) { top: 5.2px; transform: rotate(-45deg); }

@media (min-width: 62rem) {
  .nav-desktop { display: flex; }
  .header-actions .btn--sm { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* ---------- Mobile menu overlay ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background:
    linear-gradient(rgba(13, 13, 13, 0.92), rgba(13, 13, 13, 0.96)),
    url("../img/sand-720.webp") center / cover no-repeat;
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(5.5rem, 14vh, 8rem) var(--gutter) 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0s linear 0.45s;
}
body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s var(--ease-out);
}

.mobile-menu nav { display: grid; gap: 0.15rem; }
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6.5vw, 2.4rem);
  padding: 0.32em 0;
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(245, 240, 232, 0.09);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}
.mobile-menu nav a .idx {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.mobile-menu nav a:hover, .mobile-menu nav a[aria-current="page"] { color: var(--gold-light); }

body.menu-open .mobile-menu nav a { opacity: 1; transform: translateY(0); }
body.menu-open .mobile-menu nav a:nth-child(1) { transition-delay: 0.08s; }
body.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: 0.13s; }
body.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: 0.18s; }
body.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: 0.23s; }
body.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: 0.28s; }
body.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: 0.33s; }
body.menu-open .mobile-menu nav a:nth-child(7) { transition-delay: 0.38s; }
body.menu-open .mobile-menu nav a:nth-child(8) { transition-delay: 0.43s; }

.mobile-menu .menu-foot {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out) 0.5s, transform 0.5s var(--ease-out) 0.5s;
}
body.menu-open .mobile-menu .menu-foot { opacity: 1; transform: translateY(0); }

/* ---------- Hero ---------- */
.hero-frame { padding: var(--frame); }

.hero {
  position: relative;
  min-height: min(46rem, calc(100svh - var(--frame) * 2));
  border-radius: var(--r-hero);
  overflow: hidden;
  background: var(--obsidian);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.hero-media, .hero-media video, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-media video { opacity: 0; transition: opacity 1.2s ease 0.15s; }
.hero-media video.is-ready { opacity: 1; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.55) 0%, rgba(13, 13, 13, 0.15) 34%, rgba(13, 13, 13, 0.72) 100%),
    radial-gradient(120% 90% at 50% 110%, rgba(212, 129, 58, 0.16), transparent 55%);
}

.hero-inner {
  position: relative;
  width: 100%;
  padding: clamp(6.5rem, 16vh, 9rem) clamp(1.4rem, 4.5vw, 4rem) clamp(2.6rem, 6vh, 4rem);
  color: var(--on-dark);
  display: grid;
  gap: 1.4rem;
  text-align: center;
  justify-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: "◆";
  font-size: 0.45rem;
  color: var(--gold);
}

.hero h1 { margin-bottom: 0; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; }

.hero-sub {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  color: var(--on-dark-soft);
  max-width: 34em;
  margin: 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 0.4rem;
}

/* floating glass chips */
.hero-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  border-radius: 18px;
  background: rgba(20, 18, 14, 0.42);
  border: 1px solid rgba(245, 240, 232, 0.14);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  color: var(--on-dark);
  box-shadow: 0 18px 38px -20px rgba(0, 0, 0, 0.6);
}
.hero-chip .chip-label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  display: block;
}
.hero-chip .chip-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}
.hero-chip .chip-ico {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-gold);
  color: var(--obsidian);
}
.hero-chip--left { left: clamp(1.2rem, 5vw, 4.5rem); top: 56%; display: none; }
.hero-chip--right { right: clamp(1.2rem, 5vw, 4.5rem); top: 38%; display: none; }

@media (min-width: 62rem) {
  .hero { align-items: center; }
  .hero-chip--left, .hero-chip--right { display: flex; }
  .hero-inner { padding-bottom: clamp(6rem, 14vh, 8.5rem); }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--on-dark-faint);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue-drop 2.2s var(--ease-out) infinite;
}
@keyframes cue-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (min-width: 62rem) { .scroll-cue { display: flex; } }

/* ---------- Light header (pages without dark hero) ---------- */
body.header-light .site-header:not(.is-fixed) { color: var(--ink); }
body.header-light .site-header:not(.is-fixed) .nav-desktop a { color: var(--ink-soft); }
body.header-light .site-header:not(.is-fixed) .nav-desktop a:hover,
body.header-light .site-header:not(.is-fixed) .nav-desktop a[aria-current="page"] { color: var(--ink); }
body.header-light .site-header:not(.is-fixed) .menu-toggle {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

/* ---------- Editorial title block (inner pages) ---------- */
.title-block {
  padding: clamp(8rem, 20vh, 11.5rem) 0 clamp(1.8rem, 4vw, 3rem);
}
.title-block h1 {
  font-size: clamp(2.9rem, 12vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 0.35em;
  max-width: 12ch;
}
.title-block .title-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 36em;
  margin: 0;
}
.title-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
}
.title-meta::before {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}
.title-meta span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* section label (editorial rhythm) */
.sec-label {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
}
.sec-label .n { color: var(--muted); }
.sec-label::after { content: ""; flex: 1; height: 1px; background: var(--line); align-self: center; }
.on-dark .sec-label { color: var(--gold-light); }
.on-dark .sec-label::after { background: rgba(245, 240, 232, 0.14); }

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3.4vw, 2.4rem);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(201, 168, 76, 0.45);
  }
}

.card-ico {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(201, 168, 76, 0.16), rgba(212, 129, 58, 0.12));
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--gold-deep);
  margin-bottom: 1.3rem;
}
.card-ico svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: 0.45em; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

.grid-3 {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.6rem);
  grid-template-columns: 1fr;
}
.grid-2 {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.6rem);
  grid-template-columns: 1fr;
}
@media (min-width: 46rem) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Category strip (horizontal snap carousel) ---------- */
.cat-strip {
  display: flex;
  gap: clamp(0.9rem, 2vw, 1.3rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem calc((100vw - min(var(--container), 100vw - var(--gutter) * 2)) / 2) 1.6rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip .cat-card {
  flex: 0 0 auto;
  width: min(78vw, 21rem);
  scroll-snap-align: center;
  min-height: clamp(16rem, 55vw, 20rem);
}
@media (min-width: 62rem) {
  .cat-strip .cat-card { width: 20.5rem; scroll-snap-align: start; }
}
.strip-hint {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.2rem;
}
.strip-hint svg { animation: hint-slide 2.4s var(--ease-out) infinite; }
@keyframes hint-slide {
  0%, 100% { transform: translateX(0); opacity: 0.5; }
  50% { transform: translateX(8px); opacity: 1; }
}

/* Category cards */
.cat-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: clamp(15rem, 32vw, 19rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  color: var(--on-dark);
  border: 1px solid rgba(139, 115, 85, 0.3);
  isolation: isolate;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
  box-shadow: var(--shadow-card);
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(170deg, rgba(13,13,13,0.25), rgba(13,13,13,0.85)),
    url("../img/sand-720.webp") center / cover no-repeat;
  transition: transform 1.1s var(--ease-out);
}
.cat-card--a::before { background-position: 20% 30%; }
.cat-card--b::before { background-position: 80% 60%; filter: hue-rotate(-8deg) brightness(1.06); }
.cat-card--c::before { background-position: 50% 85%; filter: brightness(0.92); }
.cat-card--d::before { background-position: 70% 15%; filter: sepia(0.25) brightness(1.1); }

@media (hover: hover) {
  .cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
  .cat-card:hover::before { transform: scale(1.06); }
}

.cat-card video, .story-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.cat-card video { z-index: -3; }
.cat-card video.is-playing, .story-media video.is-playing { opacity: 1; }
.cat-card.has-video { background: url("../img/sand-720.webp") center / cover no-repeat; }
.cat-card.has-video::before {
  background: linear-gradient(170deg, rgba(13, 13, 13, 0.18), rgba(13, 13, 13, 0.82));
}
@media (prefers-reduced-motion: reduce) {
  .cat-card video, .story-media video { display: none; }
}

.cat-card .cat-tag {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}
.cat-card h3 { font-size: 1.35rem; margin-bottom: 0.2em; }
.cat-card p { font-size: 0.85rem; color: var(--on-dark-soft); margin-bottom: 0.9rem; }
.cat-card .cat-go {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 1.15rem;
  background: var(--sandstone);
  --marquee-dur: 30s;
}
.marquee-track {
  display: flex;
  gap: 3.2rem;
  width: max-content;
  animation: marquee var(--marquee-dur) linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 3.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: var(--dune);
  white-space: nowrap;
}
.marquee-track span i {
  font-style: normal;
  color: var(--gold);
  font-size: 0.65em;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Split (buyers / partners) ---------- */
.split-card {
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.split-card .eyebrow { margin-bottom: 0.6rem; }
.split-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.6rem;
  display: grid;
  gap: 0.7rem;
}
.split-card li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.94rem;
  line-height: 1.55;
}
.split-card li svg { flex: none; width: 18px; height: 18px; margin-top: 0.2em; color: var(--gold); }
.split-card .btn { align-self: flex-start; margin-top: auto; }

.split-card--light {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.split-card--light li { color: var(--ink-soft); }

.split-card--dark {
  background:
    radial-gradient(130% 110% at 85% -10%, rgba(201, 168, 76, 0.16), transparent 50%),
    var(--carbon);
  color: var(--on-dark);
  border: 1px solid rgba(201, 168, 76, 0.22);
  box-shadow: var(--shadow-card);
}
.split-card--dark li { color: var(--on-dark-soft); }
.split-card--dark p { color: var(--on-dark-soft); }

/* ---------- Stats wall (hairline grid, huge numerals) ---------- */
.stats-wall {
  background: var(--obsidian);
  border-radius: var(--r-hero);
  color: var(--on-dark);
  border: 1px solid rgba(245, 240, 232, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
}
.stats-wall .stat {
  padding: clamp(1.6rem, 4.5vw, 3.2rem);
  min-height: clamp(10rem, 26vw, 15rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  border-right: 1px solid rgba(245, 240, 232, 0.12);
  border-bottom: 1px solid rgba(245, 240, 232, 0.12);
}
.stats-wall .stat:nth-child(2n) { border-right: 0; }
.stats-wall .stat:nth-last-child(-n+2) { border-bottom: 0; }
.stat .stat-label {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}
.stat .stat-label svg { flex: none; color: var(--gold); opacity: 0.8; }
.stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1;
  align-self: flex-end;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Pinned manifesto ---------- */
.manifesto {
  position: relative;
  background: var(--obsidian);
  color: var(--on-dark);
  overflow: hidden;
}
.manifesto .mani-stage {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(4rem, 10vh, 6rem) var(--gutter);
  position: relative;
}
.manifesto .mani-phrase {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 7.2vw, 5rem);
  line-height: 1.1;
  text-align: center;
  max-width: 16ch;
  margin: 0;
}
.manifesto .mani-phrase em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* static fallback layout (no JS / reduced motion): phrases stack */
.manifesto .mani-stage { grid-auto-rows: min-content; align-content: center; gap: clamp(2rem, 6vh, 3.5rem); }
/* pinned mode: JS adds .is-pinned, phrases overlap */
.manifesto.is-pinned .mani-stage { grid-auto-rows: unset; gap: 0; }
.manifesto.is-pinned .mani-phrase { grid-area: 1 / 1; opacity: 0; }
.manifesto .mani-progress {
  position: absolute;
  bottom: clamp(1.4rem, 4vh, 2.6rem);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 0.55rem;
}
.manifesto.is-pinned .mani-progress { display: flex; }
.manifesto .mani-progress i {
  width: 2.2rem;
  height: 2px;
  background: rgba(245, 240, 232, 0.18);
  overflow: hidden;
  position: relative;
}
.manifesto .mani-progress i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.manifesto .mani-progress i.on::after { transform: scaleX(1); }

/* ---------- Sticky story split ---------- */
.story-split {
  display: grid;
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: start;
}
.story-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  height: clamp(15rem, 55vw, 22rem);
  box-shadow: var(--shadow-card);
}
.story-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-media .story-media-cap {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  z-index: 2;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--on-dark);
  background: rgba(13, 13, 13, 0.55);
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.story-chapters { display: grid; }
.story-chapter { padding: clamp(2.2rem, 6vh, 4.5rem) 0; }
.story-chapter + .story-chapter { border-top: 1px solid var(--line); }
.story-chapter h3 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 0.5em; }
.story-chapter p { color: var(--ink-soft); max-width: 38em; }
.story-chapter ul { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; gap: 0.65rem; }
.story-chapter li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink-soft); font-size: 0.94rem; }
.story-chapter li svg { flex: none; width: 17px; height: 17px; margin-top: 0.22em; color: var(--gold-deep); }
@media (min-width: 62rem) {
  .story-split { grid-template-columns: 1fr 1.15fr; }
  .story-media { position: sticky; top: 6.5rem; height: min(70vh, 34rem); }
  .story-chapter { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
}

/* ---------- Sand parallax band ---------- */
.sand-band {
  position: relative;
  overflow: hidden;
  height: clamp(11rem, 30vw, 19rem);
  isolation: isolate;
}
.sand-band img {
  position: absolute;
  left: 0;
  right: 0;
  top: -18%;
  width: 100%;
  height: 136%;
  object-fit: cover;
}
.sand-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(13, 13, 13, 0.28), rgba(13, 13, 13, 0.28));
}
.sand-band .band-word {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.4rem, 4.4vw, 2.6rem);
  color: var(--on-dark);
  text-align: center;
  padding: 0 var(--gutter);
}

/* ---------- Scrubbed word reveal ---------- */
[data-words] .w { opacity: 0.14; display: inline-block; transition: none; }
html.no-js [data-words] .w, .rm [data-words] .w { opacity: 1; }
.statement {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.6vw, 3rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
  max-width: 26ch;
  margin: 0;
}

/* ---------- Grain overlay ---------- */
.grain { position: relative; }
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}
.grain > * { position: relative; z-index: 2; }

/* ---------- Scroll progress hairline ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* ---------- Load curtain ---------- */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--obsidian);
  display: grid;
  place-items: center;
}
.curtain img { width: clamp(120px, 20vw, 170px); opacity: 0; }
html.curtain-skip .curtain { display: none; }
body.is-loaded .curtain {
  animation: curtain-up 0.7s var(--ease-out) 0.55s forwards;
}
body.is-loaded .curtain img {
  animation: curtain-logo 0.9s var(--ease-out) forwards;
}
@keyframes curtain-logo {
  0% { opacity: 0; transform: translateY(14px) scale(0.96); }
  45% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes curtain-up {
  to { transform: translateY(-101%); }
}

/* ---------- Page transition ---------- */
body { transition: opacity 0.22s ease; }
body.page-exit { opacity: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--r-hero);
  overflow: hidden;
  color: var(--on-dark);
  padding: clamp(3.2rem, 9vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.78), rgba(13, 13, 13, 0.88)),
    url("../img/sand-1200.webp") center / cover no-repeat;
  isolation: isolate;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 90% at 50% 115%, rgba(201, 168, 76, 0.22), transparent 60%);
}
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lead { margin-inline: auto; margin-bottom: 2rem; color: var(--on-dark-soft); }
.cta-band .eyebrow { color: var(--gold-light); }
.cta-band .hero-ctas { margin: 0; }

/* ---------- Hairline rows (editorial lists) ---------- */
.line-rows { border-top: 1px solid var(--line-strong); }
.line-row {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "idx title" "idx text";
  column-gap: clamp(1.2rem, 4vw, 3rem);
  row-gap: 0.35rem;
  align-items: baseline;
  padding: clamp(1.4rem, 3.5vw, 2.2rem) 0.2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background-color 0.4s var(--ease-out), padding-left 0.4s var(--ease-out);
}
a.line-row { cursor: pointer; }
.line-row .row-idx {
  grid-area: idx;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  align-self: start;
  padding-top: 0.5em;
  min-width: 2.4em;
}
.line-row .row-title {
  grid-area: title;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  transition: color 0.3s var(--ease-out);
}
.line-row .row-text {
  grid-area: text;
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 46em;
  margin: 0;
}
.line-row .row-arrow {
  position: absolute;
  right: 0.3rem;
  top: 50%;
  translate: 0 -50%;
  color: var(--gold-deep);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out), translate 0.35s var(--ease-out);
}
@media (hover: hover) {
  a.line-row:hover, .line-row:hover { background: rgba(201, 168, 76, 0.06); padding-left: 0.9rem; }
  a.line-row:hover .row-title { color: var(--gold-deep); }
  a.line-row:hover .row-arrow { opacity: 1; translate: 0.3rem -50%; }
}
.on-dark .line-rows { border-color: rgba(245, 240, 232, 0.22); }
.on-dark .line-row { border-color: rgba(245, 240, 232, 0.1); }
.on-dark .line-row .row-text { color: var(--on-dark-soft); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.6rem, 4vw, 2.8rem);
}

.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.22);
}
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 46rem) { .field-row { grid-template-columns: 1fr 1fr; } }

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
}
.form-note a { color: var(--gold-deep); font-weight: 600; }
.form-note a:hover { text-decoration: underline; }

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  background: rgba(201, 168, 76, 0.14);
  border: 1px solid rgba(201, 168, 76, 0.4);
  font-size: 0.88rem;
  color: var(--ink);
}
.form-success.is-visible { display: block; }

/* ---------- Tags ---------- */
.tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--obsidian);
  background: var(--grad-gold);
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
}
.tag--ghost {
  background: transparent;
  color: var(--gold-deep);
  border: 1px solid rgba(201, 168, 76, 0.5);
}

/* ---------- Featured story (news) ---------- */
.feature-story {
  display: grid;
  border-radius: var(--r-hero);
  overflow: hidden;
  background: var(--carbon);
  color: var(--on-dark);
  border: 1px solid rgba(201, 168, 76, 0.2);
  box-shadow: var(--shadow-card);
}
.feature-story .fs-media {
  overflow: hidden;
  min-height: clamp(13rem, 40vw, 20rem);
  position: relative;
}
.feature-story .fs-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-story .fs-body {
  padding: clamp(1.8rem, 4.5vw, 3.2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  justify-content: center;
}
.feature-story h2 { font-size: clamp(1.7rem, 4.4vw, 2.7rem); margin: 0; }
.feature-story p { color: var(--on-dark-soft); margin: 0; max-width: 34em; }
@media (min-width: 62rem) {
  .feature-story { grid-template-columns: 1.1fr 1fr; }
}

/* ---------- Outline type CTA ---------- */
.outline-cta {
  display: block;
  text-align: center;
  padding: clamp(3.5rem, 9vw, 6.5rem) var(--gutter);
  border-block: 1px solid var(--line-strong);
}
.outline-cta .big {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 11vw, 6.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--dune);
  transition: color 0.6s var(--ease-out), -webkit-text-stroke-color 0.6s var(--ease-out);
}
.outline-cta .small {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
@media (hover: hover) {
  .outline-cta:hover .big { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
}

/* ---------- Prose block ---------- */
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); }
.prose strong { color: var(--ink); }

.pull-quote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  line-height: 1.4;
  color: var(--ink);
  border-left: 3px solid var(--gold);
  padding-left: 1.4rem;
  margin: 2.2rem 0;
}

/* ---------- Footer (ref: full-bleed image) ---------- */
.site-footer {
  position: relative;
  margin-top: var(--space-section);
  color: var(--on-dark);
  background:
    linear-gradient(180deg, var(--paper) 0%, rgba(250, 246, 238, 0) 14%),
    linear-gradient(rgba(13, 13, 13, 0.82), rgba(13, 13, 13, 0.9)),
    url("../img/sand-1920.webp") center / cover no-repeat;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0 0;
  isolation: isolate;
}

.footer-brand {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.1rem;
  margin-bottom: clamp(2.6rem, 6vw, 4rem);
}
.footer-brand img { width: clamp(150px, 22vw, 210px); height: auto; }
.footer-brand .footer-tag {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--on-dark-soft);
  max-width: 34em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.8rem;
  margin-bottom: 2.4rem;
  padding: 0 var(--gutter);
}
.footer-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--on-dark-soft);
  padding: 0.3rem 0;
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--gold-light); }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 2.2rem;
  margin-bottom: 2.2rem;
  padding: 0 var(--gutter);
  font-size: 0.84rem;
  color: var(--on-dark-soft);
  text-align: center;
}
.footer-contact a { color: var(--on-dark); font-weight: 600; }
.footer-contact a:hover { color: var(--gold-light); }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: clamp(2.4rem, 5vw, 3.4rem);
}
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 232, 0.25);
  display: grid;
  place-items: center;
  color: var(--on-dark-soft);
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-3px);
}
.footer-social svg { width: 17px; height: 17px; }

.footer-partnerline {
  text-align: center;
  font-size: 0.78rem;
  color: var(--on-dark-faint);
  max-width: 34rem;
  margin: 0 auto 2.4rem;
  padding: 0 var(--gutter);
}
.footer-partnerline .accent-italic { color: var(--gold-light); font-size: 1.05em; }

.footer-bottom {
  border-top: 1px solid rgba(245, 240, 232, 0.12);
  padding: 1.2rem var(--gutter) calc(1.2rem + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.74rem;
  color: var(--on-dark-faint);
}
.footer-bottom a { color: var(--on-dark-soft); font-weight: 600; }
.footer-bottom a:hover { color: var(--gold-light); }
@media (min-width: 62rem) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: calc(1.1rem + env(safe-area-inset-bottom));
  z-index: 50;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1FAF5E;
  color: #fff;
  box-shadow: 0 16px 32px -12px rgba(31, 175, 94, 0.6);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 22px 40px -12px rgba(31, 175, 94, 0.7); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Reveal animations (JS adds .is-inview) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-inview { opacity: 1; transform: none; }

[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(0.94); }

html.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  [data-words] .w { opacity: 1; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .hero-media video { display: none; }
  .curtain { display: none; }
  .scroll-progress { display: none; }
  body.page-exit { opacity: 1; }
}
