/* GoodUp — "Sanctuary" web system. Light-only, brand-coherent with the app. */

:root {
  /* Canvas & surfaces */
  --bg: #F6F1E7;
  --bg-sunken: #EFE7D7;
  --backdrop-top: #F8F4EC;
  --backdrop-deep: #ECE1CD;
  --surface: #FFFDF8;
  --surface-sunken: #F1E9DA;

  /* Text */
  --ink: #211C14;
  --ink-soft: #5E564A;
  --ink-faint: #6E665A;
  --on-accent: #FFFBF2;

  /* Gold — focal accent (text/icon only on raised surfaces) */
  --gold: #8A6A30;
  --gold-pressed: #6F5526;
  --gold-on-tint: #7A521A;
  --gold-soft: #E7D4AE;
  --gold-tint: #F0E2C7;
  --gold-glow: #F8EACE;

  /* Action ink + olive (steadiness/completion) */
  --action: #2A241B;
  --action-pressed: #1C1810;
  --olive: #566B52;
  --olive-soft: #D8E0D2;

  /* Lines & feedback */
  --border: #E6D9C5;
  --border-strong: #D8C19A;
  --danger: #9E4848;

  /* Warm shadow — never black */
  --shadow-rest: 0 6px 16px rgba(74, 59, 39, 0.06);
  --shadow-card: 0 14px 36px rgba(74, 59, 39, 0.08);
  --shadow-focal: 0 18px 44px rgba(74, 59, 39, 0.12);
  --shadow-device: 0 26px 60px rgba(74, 59, 39, 0.22);

  /* Radius */
  --r-chip: 16px;
  --r-card: 20px;
  --r-sheet: 28px;
  --r-pill: 999px;

  /* Type */
  --font-sans: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-hebrew: "Frank Ruhl Libre", "Noto Serif Hebrew", "SBL Hebrew", serif;

  --page-max: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-pad: clamp(64px, 8vw, 116px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  background:
    radial-gradient(120% 80% at 88% -4%, var(--backdrop-top) 0%, var(--bg) 46%, var(--backdrop-deep) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; }
p, h1, h2, h3, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 999;
  transform: translateY(-160%);
  padding: 10px 16px; border-radius: 10px;
  background: var(--action); color: var(--on-accent);
  font-size: 0.86rem; font-weight: 600;
  transition: transform 0.15s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(var(--page-max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}
.container--narrow { width: min(720px, calc(100% - (var(--gutter) * 2))); }

.section { padding-block: var(--section-pad); position: relative; }

/* ── Type rhythm ── */
.hero-title,
.section-head h2,
.story-copy h2,
.cta-copy h2,
.support-outro h2,
.page-hero h1,
.pillar-card__name {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.08;
}

.section-head h2, .cta-copy h2, .page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  max-width: 18ch;
}
.section-head--center { text-align: center; }
.section-head--center h2, .section-head--center .section-copy { margin-inline: auto; }

.section-copy, .hero-text, .page-hero__text {
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  max-width: 60ch;
}

.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 52px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-on-tint); /* AA on parchment: 6.1:1 */
}
.section-head--center .eyebrow { justify-content: center; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.6; }
.eyebrow--light { color: var(--gold-soft); }

/* ── Navigation ── */
.site-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 241, 231, 0.78);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; box-shadow: var(--shadow-rest); }
.brand-name { font-weight: 600; font-size: 1.02rem; letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 24px); flex: 1; justify-content: center; }
.nav-links a {
  font-size: 0.94rem; color: var(--ink-soft); white-space: nowrap;
  transition: color 0.18s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 2px; padding: 4px;
  border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border);
}
.lang-btn {
  border: 0; background: transparent; color: var(--ink-soft);
  padding: 6px 11px; border-radius: var(--r-pill);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.lang-btn.active { color: var(--on-accent); background: var(--action); }

/* ── App Store button ── */
.store-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: var(--r-pill);
  background: var(--action); color: var(--on-accent);
  font-weight: 600; white-space: nowrap;
  box-shadow: var(--shadow-rest);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.store-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-card); }
.store-btn:active { background: var(--action-pressed); transform: translateY(0); }
.store-btn--sm { min-height: 44px; padding: 0 16px; }
.store-btn--lg { min-height: 56px; padding: 0 24px; }
.store-btn--light { background: var(--surface); color: var(--ink); }
.store-btn--light:active { background: var(--gold-tint); }
.store-btn--solid { background: var(--action); }
.store-btn__apple { width: 20px; height: 20px; flex: 0 0 auto; }
.store-btn__label { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; line-height: 1; }
.store-btn__sub { font-size: 0.6rem; font-weight: 500; opacity: 0.78; }
.store-btn__main { font-size: 1.02rem; font-weight: 700; letter-spacing: 0; }

.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-on-tint); font-weight: 600; transition: color 0.18s var(--ease); }
.text-link::after { content: "→"; transition: transform 0.18s var(--ease); }
.text-link:hover::after { transform: translateX(3px); }
.text-link--strong { color: var(--ink); }
.text-link--light { color: var(--gold-soft); }

/* ── Mobile nav ── */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; background: transparent;
  border: 1px solid var(--border-strong); border-radius: 11px; color: var(--ink);
}
.nav-toggle .bar-top, .nav-toggle .bar-mid, .nav-toggle .bar-bottom { transition: opacity 0.2s, transform 0.2s; transform-origin: center; }
.nav--open .bar-top { transform: rotate(45deg) translate(4px, 4px); }
.nav--open .bar-mid { opacity: 0; }
.nav--open .bar-bottom { transform: rotate(-45deg) translate(4px, -4px); }
.nav-mobile {
  display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; z-index: 180;
  background: var(--bg); padding: 6px var(--gutter) 24px;
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow-card);
}
.nav--open .nav-mobile { display: flex; }
.nav-mobile a:not(.nav-mobile-store) {
  font-size: 1rem; font-weight: 500; color: var(--ink-soft);
  padding: 15px 0; border-bottom: 1px solid var(--border);
}
.nav-mobile a:not(.nav-mobile-store):hover { color: var(--ink); }
.nav-mobile-store { margin-top: 18px; align-self: flex-start; }

/* ── Hero ── */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(52px, 8vw, 104px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hero-copy { display: grid; gap: 20px; }
.hero-title { font-size: clamp(2.5rem, 5.4vw, 4.4rem); max-width: 13ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 4px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 4px; }
.chip {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px;
  border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border);
  color: var(--ink-soft); font-size: 0.9rem; box-shadow: var(--shadow-rest);
}

.hero-stage { position: relative; display: flex; justify-content: center; }
.hero-device { position: relative; width: min(320px, 86%); }
.hero-device__glow {
  position: absolute; inset: 8% 4% 12%; border-radius: 50%;
  background: var(--gold-glow); filter: blur(34px); opacity: 0.75; z-index: 0;
}
.hero-float {
  position: absolute; right: -6%; bottom: 12%; z-index: 4;
  display: grid; gap: 3px; padding: 13px 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-chip); box-shadow: var(--shadow-card);
}
.hero-float__label { color: var(--ink-faint); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-float strong { font-size: 0.92rem; font-weight: 600; }

/* ── Device frames ── */
.device-frame {
  position: relative; width: 100%; overflow: hidden; border-radius: 42px;
  background: linear-gradient(180deg, #23201A 0%, #181511 100%);
  padding: 13px; box-shadow: var(--shadow-device);
}
.device-frame::before {
  content: ""; position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 18px; border-radius: var(--r-pill); background: #0D0B09; z-index: 2;
}
.device-screen {
  width: 100%; height: auto; aspect-ratio: 720 / 1565; object-fit: contain;
  border-radius: 30px; background: var(--surface);
}
.device-frame--live { position: relative; z-index: 1; }
.live-screen {
  border-radius: 30px; background: var(--bg);
  padding: 16px 15px 15px;
  aspect-ratio: 390 / 844; overflow: hidden;
  display: flex; flex-direction: column;
}
.live-pill { color: var(--ink-faint); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.live-title { font-family: var(--font-serif); font-weight: 500; font-size: 1.04rem; line-height: 1.2; margin: 8px 0 6px; }
.live-ring { display: flex; justify-content: center; margin: auto 0; }
.live-ring svg { width: 64%; max-width: 150px; }
.live-ring__num { font-family: var(--font-serif); font-size: 34px; font-weight: 600; fill: var(--ink); }
.live-ring__cap { font-family: var(--font-sans); font-size: 9px; fill: var(--ink-faint); }
.live-stats { display: flex; gap: 7px; margin-top: auto; }
.live-stat { flex: 1; background: var(--surface-sunken); border-radius: 13px; padding: 8px 9px; }
.live-stat span { display: block; font-size: 0.56rem; color: var(--ink-faint); }
.live-stat strong { font-size: 0.82rem; font-weight: 600; }
.live-cta { margin-top: 9px; background: var(--action); color: var(--on-accent); border-radius: 14px; text-align: center; padding: 11px; font-size: 0.84rem; font-weight: 600; }

/* ── Cards (shared) ── */
.soft-card, .track-card, .pillar-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card); box-shadow: var(--shadow-card);
}
.soft-card { padding: 26px; display: grid; gap: 11px; }
.soft-card h2, .soft-card h3 { font-size: 1.14rem; font-weight: 600; letter-spacing: 0; }
.soft-card p, .track-card p, .pillar-card__body { color: var(--ink-soft); }
.trio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* ── Two pillars ── */
.section--pillars { padding-top: clamp(48px, 6vw, 88px); }
.pillars-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pillar-card { padding: clamp(26px, 3vw, 38px); display: grid; gap: 12px; position: relative; }
.pillar-card__icon {
  position: relative; width: 46px; height: 46px; border-radius: 13px;
  background: center / 24px no-repeat var(--gold-tint);
}
.pillar-card--deeds .pillar-card__icon {
  background-color: var(--gold-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A521A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.5C7 17 4 14 4 10.5A3.5 3.5 0 0 1 12 8a3.5 3.5 0 0 1 8 2.5c0 3.5-3 6.5-8 10z'/%3E%3C/svg%3E");
}
.pillar-card--reflections .pillar-card__icon {
  background-color: var(--olive-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F5A3A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5V6a2 2 0 0 1 2-2h13v15H6a2 2 0 0 0-2 2z'/%3E%3Cpath d='M9 8h6M9 12h6'/%3E%3C/svg%3E");
}
.pillar-card__tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.pillar-card--deeds .pillar-card__tag { color: var(--gold); }
.pillar-card--reflections .pillar-card__tag { color: var(--olive); }
.pillar-card__name { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.pillar-card__list { display: grid; gap: 9px; margin-top: 4px; }
.pillar-card__list li { position: relative; padding-inline-start: 22px; color: var(--ink-soft); }
.pillar-card__list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0.62em;
  width: 9px; height: 9px; border-radius: 50%;
}
.pillar-card--deeds .pillar-card__list li::before { background: var(--gold); }
.pillar-card--reflections .pillar-card__list li::before { background: var(--olive); }

/* ── Tracks ── */
.tracks-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.track-card { padding: 24px; display: grid; gap: 9px; }
.track-card__kicker { color: var(--gold); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.track-card h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: 0; }

/* ── Stories ── */
.story-stack { display: grid; gap: clamp(40px, 7vw, 80px); }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.story--reverse .story-copy { order: 2; }
.story--reverse .story-visual { order: 1; }
.story-copy { display: grid; gap: 16px; }
.story-copy h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); max-width: 16ch; }
.story-points { display: grid; gap: 10px; margin-top: 4px; }
.story-points li { position: relative; padding-inline-start: 22px; color: var(--ink-soft); }
.story-points li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.62em; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(180deg, var(--gold-soft), var(--olive)); }
.story-visual {
  display: flex; justify-content: center; padding: clamp(20px, 3vw, 38px);
  border-radius: var(--r-sheet);
  background: radial-gradient(120% 90% at 20% 10%, var(--gold-glow) 0%, transparent 40%), linear-gradient(180deg, var(--surface), var(--bg-sunken));
  border: 1px solid var(--border); box-shadow: var(--shadow-rest);
}
.device--story { width: min(248px, 74%); }

/* ── Trust / ink band ── */
.section--ink {
  color: var(--on-accent);
  background: radial-gradient(110% 90% at 16% 10%, rgba(231, 212, 174, 0.16), transparent 32%), linear-gradient(180deg, #2C261D 0%, #211C14 100%);
}
.trust-shell { display: grid; gap: 28px; }
.section-head--light h2, .section-head--light .section-copy { color: var(--on-accent); }
.section-head--light .section-copy { opacity: 0.82; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust-card { background: rgba(255, 253, 248, 0.05); border: 1px solid rgba(231, 212, 174, 0.16); border-radius: var(--r-card); padding: 24px; }
.trust-card h3 { font-size: 1.06rem; font-weight: 600; }
.trust-card p { color: rgba(255, 251, 242, 0.74); margin-top: 10px; }

/* ── Gallery ── */
.gallery-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.gallery-card { display: grid; gap: 13px; justify-items: center; }
.gallery-card figcaption { color: var(--ink-faint); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.device--gallery { width: 100%; }
.device--gallery .device-frame { border-radius: 30px; padding: 9px; }
.device--gallery .device-frame::before { width: 48px; height: 13px; top: 9px; }
.device--gallery .device-screen { border-radius: 22px; }

/* ── CTA ── */
.cta-section { padding-top: 0; }
.cta-shell {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: clamp(34px, 5vw, 52px); border-radius: var(--r-sheet);
  color: var(--on-accent);
  background: radial-gradient(100% 90% at 82% 12%, rgba(231, 212, 174, 0.16), transparent 30%), linear-gradient(180deg, #2C261D 0%, #211C14 100%);
  box-shadow: var(--shadow-focal);
}
.cta-copy { display: grid; gap: 13px; max-width: 640px; }
.cta-copy h2 { color: var(--on-accent); font-size: clamp(1.7rem, 3vw, 2.6rem); }
.cta-copy p { color: rgba(255, 251, 242, 0.82); }

/* ── Page hero (legal/support) ── */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(20px, 3vw, 30px); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 18ch; }
.page-hero__text { margin-top: 16px; }
.support-response {
  display: inline-flex; margin-top: 18px; padding: 9px 13px;
  border: 1px solid var(--border); border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink-soft); font-size: 0.92rem;
}
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* ── Legal ── */
.legal { display: grid; gap: 16px; }
.legal-meta { color: var(--ink-faint); font-size: 0.9rem; }
.legal h2 { margin-top: 16px; font-size: 1.2rem; font-weight: 600; letter-spacing: 0; }
.legal p { color: var(--ink-soft); }
.legal a { color: var(--gold-on-tint); text-decoration: underline; text-underline-offset: 3px; }

/* ── FAQ ── */
.faq-section .section-head { margin-bottom: 22px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; list-style: none; cursor: pointer; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--ink-faint); font-size: 1.2rem; transition: transform 0.18s var(--ease), color 0.18s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--gold); }
.faq-answer { padding: 0 0 20px; color: var(--ink-soft); }
.support-outro { display: grid; gap: 16px; }
.support-outro h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 16ch; }

/* ── Footer ── */
.site-footer { padding: clamp(40px, 5vw, 64px) 0 40px; border-top: 1px solid var(--border); margin-top: clamp(20px, 4vw, 40px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; align-items: start; }
.footer-brand { display: grid; gap: 12px; }
.footer-tagline { color: var(--ink-soft); font-size: 0.95rem; max-width: 28ch; }
.footer-links { display: grid; gap: 12px; }
.footer-links a, .footer-lang__row a { color: var(--ink-soft); font-size: 0.95rem; transition: color 0.18s var(--ease); }
.footer-links a:hover, .footer-lang__row a:hover { color: var(--ink); }
.footer-lang { display: grid; gap: 12px; }
.footer-lang__heading { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.footer-lang__row { display: grid; gap: 9px; }
.footer-lang__row a.active { color: var(--ink); font-weight: 600; }
.footer-base { margin-top: 28px; }
.footer-copy { color: var(--ink-faint); font-size: 0.88rem; }
.mobile-sticky-store { display: none; }

/* ── Focus / selection ── */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(138, 106, 48, 0.2); color: var(--ink); }

/* ── Breathing motion (calm, not attraction) ── */
@keyframes breath { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hero-float { animation: breath 6.5s ease-in-out infinite; }

/* ── RTL (Yiddish) ── */
[dir="rtl"] body { font-family: var(--font-hebrew); }
[dir="rtl"] .hero-title, [dir="rtl"] .section-head h2, [dir="rtl"] .story-copy h2,
[dir="rtl"] .cta-copy h2, [dir="rtl"] .support-outro h2, [dir="rtl"] .page-hero h1,
[dir="rtl"] .pillar-card__name, [dir="rtl"] .live-title { font-family: var(--font-hebrew); }
[dir="rtl"] .hero-float { right: auto; left: -6%; }
[dir="rtl"] .text-link::after { content: "←"; }
[dir="rtl"] .text-link:hover::after { transform: translateX(-3px); }
[dir="rtl"] .skip-link { left: auto; right: 12px; }
[dir="rtl"] .lang-btn, [dir="rtl"] .track-card__kicker { letter-spacing: 0; }
/* Keep the language switcher + wordmark visually LTR */
[dir="rtl"] .lang-toggle, [dir="rtl"] .nav-shell { direction: ltr; }
[dir="rtl"] .nav-links, [dir="rtl"] .nav-actions { direction: rtl; }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .hero-grid, .story, .story--reverse { grid-template-columns: 1fr; }
  .story--reverse .story-copy, .story--reverse .story-visual { order: initial; }
  .tracks-grid, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stage { margin-top: 8px; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .store-btn--sm { display: none; }
  .nav-shell { position: relative; }
  .pillars-grid, .trio-grid, .facts-grid { grid-template-columns: 1fr; }
  .cta-shell { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand-name { display: none; }
  .hero { padding-top: 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .store-btn { width: 100%; }
  .hero-actions .text-link { justify-content: center; }
  .hero-text, .section-copy { font-size: 1rem; }
  .hero-float { display: none; }
  .tracks-grid, .trust-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 14px; scrollbar-width: none;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-card { flex: 0 0 min(200px, 60vw); scroll-snap-align: start; }
  .cta-shell .store-btn--lg { width: 100%; }
  .mobile-sticky-store {
    position: fixed; left: var(--gutter); right: var(--gutter);
    bottom: max(14px, env(safe-area-inset-bottom)); z-index: 90;
    display: inline-flex; min-height: 52px;
    opacity: 0; transform: translateY(18px); pointer-events: none;
    box-shadow: var(--shadow-focal);
  }
  .mobile-cta-visible .mobile-sticky-store {
    opacity: 1; transform: translateY(0); pointer-events: auto;
  }
  .mobile-nav-open .mobile-sticky-store {
    opacity: 0; pointer-events: none;
  }
  .mobile-cta-visible { padding-bottom: 76px; }
}

@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; }
}
