/* ==========================================================================
   AN Ventures Labs — shared styles
   Palette and type are taken from the AN Ventures / AN Ventures Labs logos:
   cream paper, warm brown script lettering, and bright splash colors.
   ========================================================================== */

:root {
  /* Logo colors */
  --pink: #e0457f;
  --orange: #f2842b;
  --purple: #8e44ad;
  --indigo: #4a3d89;
  --blue: #3b82d6;
  --teal: #2bb0c2;
  --green: #5fb548;
  --brown: #8c5840;      /* "AN Ventures" script */
  --brown-deep: #4a2f22;

  /* Theme (light / paper is the default, like the logos) */
  --bg: #fdfbf2;
  --bg-elev: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.78);
  --border: rgba(140, 88, 64, 0.14);
  --border-hover: rgba(142, 68, 173, 0.40);
  --text-main: #3b2519;
  --text-muted: #6f5a4c;
  --text-faint: #9a8576;
  --heading: var(--brown-deep);
  --accent: var(--purple);
  --accent-link: #8a3aa8;
  --accent-glow: rgba(142, 68, 173, 0.08);
  --gradient: linear-gradient(95deg, #3b6fd8 0%, #8e44ad 38%, #e0457f 68%, #f2842b 100%);
  --nav-bg: rgba(253, 251, 242, 0.85);
  --shadow: 0 1px 2px rgba(74, 47, 34, 0.05), 0 8px 28px -10px rgba(74, 47, 34, 0.18);
  --shadow-hover: 0 2px 4px rgba(74, 47, 34, 0.06), 0 18px 40px -14px rgba(142, 68, 173, 0.35);
  --paper: #fdfbf2;
  --splash-opacity: 1;
  --radius: 18px;

  --font-sans: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Poppins', 'Nunito', -apple-system, sans-serif;
  --font-script: 'Dancing Script', 'Brush Script MT', cursive;
  color-scheme: light;
}

/* Dark mode: a deep plum night, still warm, so the splash colors glow */
:root[data-theme="dark"] {
  --bg: #1a1220;
  --bg-elev: #241a2c;
  --bg-card: rgba(41, 30, 50, 0.78);
  --border: rgba(253, 230, 210, 0.10);
  --border-hover: rgba(224, 69, 127, 0.45);
  --text-main: #f7ede2;
  --text-muted: #cdbcae;
  --text-faint: #9c8a7e;
  --heading: #fff6ec;
  --accent-link: #f08fb8;
  --accent-glow: rgba(224, 69, 127, 0.12);
  --gradient: linear-gradient(95deg, #6fa3ff 0%, #b56ad6 38%, #ff6b9e 68%, #ffa24d 100%);
  --nav-bg: rgba(26, 18, 32, 0.82);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.3), 0 18px 40px -14px rgba(224, 69, 127, 0.35);
  --splash-opacity: 0.55;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.25s, color 0.25s;
}

a { color: var(--accent-link); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--heading); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--purple);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  z-index: 100;
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* Paint-splash wash behind the top of each page (echoes the logo splashes) */
.glow-bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: 760px;
  pointer-events: none;
  z-index: 0;
  opacity: var(--splash-opacity);
  background:
    radial-gradient(260px 220px at 8% 18%, rgba(224, 69, 127, 0.16), transparent 70%),
    radial-gradient(240px 200px at 22% 4%, rgba(242, 132, 43, 0.14), transparent 70%),
    radial-gradient(320px 260px at 92% 12%, rgba(142, 68, 173, 0.16), transparent 70%),
    radial-gradient(260px 220px at 78% 40%, rgba(59, 130, 214, 0.12), transparent 70%),
    radial-gradient(240px 200px at 60% 2%, rgba(95, 181, 72, 0.12), transparent 70%);
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
@media (max-width: 480px) { .container { padding: 0 16px; } }

/* ---------- Wordmark (mirrors the logo lockup) ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-logo { width: 46px; height: 46px; object-fit: contain; flex-shrink: 0; }
.brand-name { display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.brand-name .script {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 26px;
  color: var(--brown);
}
:root[data-theme="dark"] .brand-name .script { color: #e9b796; }
.brand-name .caps {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.04em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  gap: 16px;
}
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--heading); background: var(--accent-glow); }
.nav-links a[aria-current="page"] { color: var(--purple); background: var(--accent-glow); }
:root[data-theme="dark"] .nav-links a[aria-current="page"] { color: #f08fb8; }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.icon-btn:hover { color: var(--pink); border-color: var(--border-hover); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.menu-toggle { display: none; }

@media (max-width: 820px) {
  .menu-toggle { display: inline-grid; }
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 20px;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 16px; }
}
@media (max-width: 400px) {
  .brand-name .script { font-size: 22px; }
  .brand-name .caps { font-size: 15px; }
  .brand-logo { width: 40px; height: 40px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s, background-position 0.4s;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(95deg, #8e44ad 0%, #e0457f 55%, #f2842b 100%);
  background-size: 160% 100%;
  box-shadow: 0 8px 22px -8px rgba(224, 69, 127, 0.6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow: 0 12px 28px -8px rgba(224, 69, 127, 0.7);
}
.btn-ghost {
  background: var(--bg-elev);
  color: var(--heading);
  border-color: rgba(140, 88, 64, 0.35);
}
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); }
.btn svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
}
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art::before {
  content: '';
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(224, 69, 127, 0.22), transparent 60%),
    radial-gradient(circle at 70% 65%, rgba(242, 132, 43, 0.20), transparent 60%),
    radial-gradient(circle at 60% 30%, rgba(142, 68, 173, 0.20), transparent 60%);
  filter: blur(26px);
}
.hero-art img {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: auto;
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}
@media (max-width: 820px) {
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .hero-art { order: -1; justify-items: start; }
  .hero-art img { max-width: 210px; }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 999px;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(95, 181, 72, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(95, 181, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 181, 72, 0); }
}
h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 20px;
  max-width: 820px;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.script-accent {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 0;
  font-size: 1.12em;
}
:root[data-theme="dark"] .script-accent { color: #e9b796; }
.lead {
  font-size: clamp(17px, 2.2vw, 19px);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Page header for sub-pages */
.page-hero { padding: 64px 0 28px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); }
.meta { font-size: 14px; color: var(--text-faint); margin-top: 6px; font-weight: 600; }

/* ---------- Sections ---------- */
section { padding: 36px 0; }
.eyebrow {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.1;
  color: var(--brown);
  margin-bottom: 2px;
}
:root[data-theme="dark"] .eyebrow { color: #e9b796; }
.section-title {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.section-sub { color: var(--text-muted); max-width: 620px; margin-bottom: 28px; font-size: 17px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 22px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px 10px;
}
.card p { color: var(--text-muted); font-size: 15.5px; line-height: 1.65; }

/* Colored icon tiles: each card takes one logo color */
.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 18px;
  background: var(--purple);
  box-shadow: 0 8px 18px -8px currentColor;
}
.card-icon svg { width: 24px; height: 24px; }
.tone-pink   { background: linear-gradient(135deg, #f06a9b, var(--pink)); }
.tone-orange { background: linear-gradient(135deg, #f7a24d, var(--orange)); }
.tone-purple { background: linear-gradient(135deg, #a95fcb, var(--purple)); }
.tone-blue   { background: linear-gradient(135deg, #5fa0ea, var(--blue)); }
.tone-green  { background: linear-gradient(135deg, #7ccb63, var(--green)); }
.tone-teal   { background: linear-gradient(135deg, #4cc7d6, var(--teal)); }

.badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(140, 88, 64, 0.10);
  color: var(--brown);
  white-space: nowrap;
}
:root[data-theme="dark"] .badge { background: rgba(233, 183, 150, 0.14); color: #e9b796; }
.badge-live { background: rgba(95, 181, 72, 0.16); color: #3f8a2e; }
.badge-dev { background: rgba(242, 132, 43, 0.16); color: #c0601a; }
:root[data-theme="dark"] .badge-live { color: #8fdc77; }
:root[data-theme="dark"] .badge-dev { color: #ffb070; }

/* Brand family cards (logos sit on their original paper color) */
.brand-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.brand-plate {
  background: var(--paper);
  display: grid;
  place-items: center;
  padding: 28px;
  border-bottom: 1px solid var(--border);
}
.brand-plate img { width: auto; max-width: 100%; height: 250px; object-fit: contain; }
.brand-body { padding: 22px 28px 28px; }
.brand-body .eyebrow { font-size: 22px; }

/* Roadmap / status list */
.status-list { display: grid; gap: 14px; margin-top: 18px; }
.status-item { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--text-muted); }
.status-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; background: rgba(140, 88, 64, 0.25); }
.status-dot.now { background: var(--orange); box-shadow: 0 0 0 4px rgba(242, 132, 43, 0.20); }
.status-dot.done { background: var(--green); }
.status-item strong { color: var(--heading); font-weight: 700; }

/* Principles */
.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 960px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .principles { grid-template-columns: 1fr; } }
.principle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--purple);
}
.principle:nth-child(1) { border-top-color: var(--pink); }
.principle:nth-child(2) { border-top-color: var(--orange); }
.principle:nth-child(3) { border-top-color: var(--green); }
.principle:nth-child(4) { border-top-color: var(--blue); }
.principle .num { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--text-faint); }
.principle h4 { font-size: 17px; margin: 6px 0; }
.principle p { font-size: 15px; color: var(--text-muted); }

/* CTA band */
.cta {
  margin-top: 16px;
  border-radius: 28px;
  padding: clamp(28px, 5vw, 52px);
  color: #fff;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(110deg, #4a3d89 0%, #8e44ad 35%, #e0457f 70%, #f2842b 100%);
  box-shadow: 0 24px 50px -24px rgba(142, 68, 173, 0.7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.5px; margin-bottom: 6px; }
.cta p { color: rgba(255, 255, 255, 0.88); max-width: 520px; }
.cta .btn-primary { background: #fff; color: var(--purple); box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.35); }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.cta .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.12); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--heading); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--text-main);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 11px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(224, 69, 127, 0.14);
}
.field .hint { font-size: 12.5px; color: var(--text-faint); }
.form-note { font-size: 13.5px; color: var(--text-faint); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0 22px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s;
}
.faq details[open] { border-color: var(--border-hover); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--heading);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 20px;
  line-height: 1;
  color: var(--pink);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-muted); font-size: 15.5px; padding-bottom: 18px; }

/* ---------- Legal / prose ---------- */
.layout-legal {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 40px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 100px;
  font-size: 14px;
  border-left: 3px solid transparent;
  border-image: var(--gradient) 1;
  padding-left: 16px;
}
.toc p { font-family: var(--font-script); font-weight: 700; font-size: 22px; color: var(--brown); margin-bottom: 8px; }
:root[data-theme="dark"] .toc p { color: #e9b796; }
.toc ol { list-style: none; display: grid; gap: 6px; }
.toc a { color: var(--text-muted); text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--pink); }
@media (max-width: 860px) {
  .layout-legal { grid-template-columns: 1fr; }
  .toc { position: static; }
}

.prose {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 44px);
  color: var(--text-muted);
  font-size: 16px;
}
.prose h2 { font-size: 20px; letter-spacing: -0.2px; margin: 34px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 12px; }
.prose ul { margin: 0 0 14px 20px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--pink); }
.prose strong { color: var(--heading); }
.callout {
  border: 1px solid rgba(242, 132, 43, 0.35);
  background: linear-gradient(135deg, rgba(242, 132, 43, 0.08), rgba(224, 69, 127, 0.07));
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 28px;
  font-size: 15px;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
  padding: 48px 0 36px;
  font-size: 15px;
  color: var(--text-muted);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(2, 1fr);
  gap: 32px;
}
.footer-grid h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--heading);
  margin-bottom: 12px;
  font-weight: 700;
}
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: var(--text-muted); text-decoration: none; }
.footer-grid a:hover { color: var(--pink); }
.parent-co { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; }
.parent-co img { width: 38px; height: 38px; object-fit: contain; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-faint);
}
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: var(--brown-deep);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 200;
  max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
