/* BillyTeoh.com — ACES Worldwide black & gold */
:root {
  --black: #000000;
  --charcoal: #141311;
  --ink: #1f1d19;
  --gold: #c9a227;
  --gold-pale: #e6cf7a;
  --gold-deep: #8a6d12;
  --ivory: #f2ecdc;
  --stone: #a39b8c;
  --line: rgba(201, 162, 39, 0.28);
  --wa: #25d366;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --measure: 62ch;
  /* Type scale: 17px base, major-third steps, display steps fluid */
  --t-xs: 0.8125rem;   /* 13px  captions, legal */
  --t-sm: 0.9375rem;   /* 15px  nav, buttons, meta */
  --t-base: 1.0625rem; /* 17px  body */
  --t-md: 1.25rem;     /* 20px  h4, video captions in serif contexts */
  --t-lg: 1.5rem;      /* 24px  h3 (compact), timeline eras, list heads */
  --t-xl: 1.875rem;    /* 30px  h3 (prose), serif lead */
  --t-2xl: clamp(2.25rem, 3.4vw, 3rem);      /* 36-48px  h2 */
  --t-3xl: clamp(2.75rem, 5.2vw, 4.25rem);   /* 44-68px  h1 */
  --t-display: clamp(3.75rem, 10.5vw, 9rem); /* 60-144px hero name */
  --t-quote: clamp(1.75rem, 3vw, 2.5rem);    /* 28-40px  pull quotes */
  --t-stat: clamp(1.875rem, 2.6vw, 2.25rem); /* 30-36px  hero figures */
  --lh-display: 0.92; --lh-h1: 1.02; --lh-h2: 1.1; --lh-h3: 1.2; --lh-h4: 1.3;
  --lh-lead: 1.4; --lh-body: 1.65; --lh-small: 1.5;
  --ls-display: -0.015em; --ls-h1: -0.01em; --ls-h2: -0.005em; --ls-ui: 0.01em; --ls-small: 0.015em;
  --gutter: clamp(16px, 5vw, 64px);
  --wrap: 1180px;
  /* Motion: one speed, one curve, no overshoot */
  --dur: 220ms; --dur-slow: 300ms; --ease: cubic-bezier(.25, .1, .25, 1);
  /* Spacing scale (8px base) */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px; --s-9: 192px;
  --section: clamp(var(--s-7), 11vw, var(--s-9));      /* between major sections */
  --section-inner: clamp(var(--s-5), 5vw, var(--s-7));  /* head to body inside a section */
  --block: clamp(var(--s-4), 3vw, var(--s-5));          /* between prose blocks (h3 groups) */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--t-base);
  line-height: var(--lh-body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-pale); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: #fff; }
p a, li a, .video-caption a { text-decoration: underline; text-decoration-color: rgba(201,162,39,.4); text-underline-offset: .18em; transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease); }
p a:hover, li a:hover, .video-caption a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--gold-pale); outline-offset: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: #fff; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--t-3xl); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); }
h2 { font-size: var(--t-2xl); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); }
h3 { font-size: var(--t-xl); line-height: var(--lh-h3); letter-spacing: 0; }
h4 { font-size: var(--t-md); line-height: var(--lh-h4); letter-spacing: 0; }
h2 + p, h3 + p { margin-top: 0; }
p { margin: 0 0 1.25em; max-width: var(--measure); }
p + h3, ul + h3, ol + h3 { margin-top: var(--block); }
p + h2 { margin-top: var(--section-inner); }
p.lead { font-family: var(--serif); font-size: var(--t-xl); line-height: var(--lh-lead); color: #fff; font-weight: 400; max-width: 52ch; }
small, .video-caption, .hero-facts div, .crumbs, .site-footer, .cta small { letter-spacing: var(--ls-small); }
strong { font-weight: 500; color: #fff; }
ul, ol { padding-left: 1.2em; max-width: var(--measure); margin: 0 0 1.25em; }
li { margin-bottom: .45em; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: var(--section) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 46ch; margin-bottom: var(--section-inner); }
.section-head p { color: var(--stone); font-size: var(--t-base); line-height: var(--lh-body); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: var(--s-2); }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--serif); font-size: var(--t-lg); line-height: 1; font-weight: 500; letter-spacing: 0; }
.brand img { width: 44px; height: 35px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a { color: var(--ivory); font-size: var(--t-sm); font-weight: 400; letter-spacing: var(--ls-ui); line-height: 1.4; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-pale); border-bottom-color: var(--gold); }
.nav .btn { padding: 10px 18px; border-bottom: 0; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ivory); width: 46px; height: 46px; border-radius: 4px; cursor: pointer; align-items: center; justify-content: center; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.menu-btn:hover { border-color: var(--gold); color: var(--gold-pale); }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .bars { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }

.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--gold); color: #000; font-weight: 500; font-size: var(--t-sm); line-height: 1.3; letter-spacing: var(--ls-ui); padding: 14px 24px; border-radius: 3px; border: 1px solid var(--gold); transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); cursor: pointer; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(201,162,39,.18); }
.btn:active { transform: translateY(0); transition-duration: 100ms; }
.btn:hover { background: var(--gold-pale); color: #000; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-ghost { background: transparent; color: var(--gold-pale); }
.btn-ghost:hover { background: rgba(201,162,39,.12); color: #fff; border-color: var(--gold-pale); }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #05240f; }
.btn-wa:hover { background: #4be07f; border-color: #4be07f; color: #05240f; box-shadow: 0 8px 24px rgba(37,211,102,.22); }

/* Hero */
.hero { position: relative; padding: clamp(var(--s-6), 8vw, var(--s-8)) 0 clamp(var(--s-6), 7vw, var(--s-7)); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: clamp(var(--s-4), 6vw, var(--s-7)); align-items: center; }
.hero-name { font-size: var(--t-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); font-weight: 400; margin: 0 0 .3em; }
.hero-name span { display: block; }
.hero-name .light { color: var(--gold-pale); font-style: italic; font-weight: 300; }
.hero-role { font-family: var(--serif); font-size: var(--t-xl); line-height: var(--lh-lead); color: var(--ivory); font-weight: 400; max-width: 30ch; margin-bottom: var(--s-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.portrait { position: relative; justify-self: end; width: min(100%, 520px); aspect-ratio: 1; }
.portrait::before { content: ""; position: absolute; inset: -12%; background: radial-gradient(circle at 50% 40%, rgba(201,162,39,.35), transparent 62%); filter: blur(10px); z-index: 0; }
.portrait img { position: relative; z-index: 1; border-radius: 50%; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.portrait::after { content: ""; position: absolute; inset: -6%; border: 1px solid rgba(201,162,39,.35); border-radius: 50%; z-index: 0; }
.hero-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-4) var(--s-5); margin-top: clamp(var(--s-6), 8vw, var(--s-8)); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.hero-facts div { font-size: var(--t-sm); font-weight: 400; color: var(--stone); line-height: var(--lh-small); }
.hero-facts b { display: block; font-family: var(--serif); font-size: var(--t-stat); font-weight: 500; color: var(--gold-pale); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); margin-bottom: 6px; }

/* Reveal on load (hero only) */
@media (prefers-reduced-motion: no-preference) {
  .hero-name span, .hero-role, .hero-actions, .portrait, .hero-facts { animation: rise .6s var(--ease) both; }
  .hero-name span:nth-child(2) { animation-delay: 80ms; }
  .portrait { animation-delay: 120ms; }
  .hero-role { animation-delay: 200ms; }
  .hero-actions { animation-delay: 280ms; }
  .hero-facts { animation-delay: 360ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Quote */
.quote { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--t-quote); line-height: 1.25; letter-spacing: var(--ls-h2); color: #fff; max-width: 26ch; margin: 0; text-wrap: balance; }
.quote + cite { display: block; margin-top: var(--s-3); font-style: normal; color: var(--gold); font-size: var(--t-sm); font-weight: 400; letter-spacing: var(--ls-ui); line-height: var(--lh-small); }
.quote-band { padding: clamp(var(--s-7), 12vw, var(--s-9)) 0; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--black), var(--charcoal) 50%, var(--black)); }
.quote-band .wrap { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; }
.quote-band .quote { text-align: center; }

/* Two-column prose */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-5) clamp(var(--s-5), 6vw, var(--s-8)); align-items: start; }
.cols .sticky { position: sticky; top: 104px; }

/* Timeline (a true sequence) */
.timeline { list-style: none; padding: 0; margin: 0; max-width: none; border-left: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: var(--s-3); padding: var(--s-5) 0 var(--s-5) var(--s-5); position: relative; margin: 0; }
.timeline li + li { border-top: 1px solid rgba(201,162,39,.12); }
.timeline li::before { content: ""; position: absolute; left: -5px; top: calc(var(--s-5) + 12px); width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px #000, 0 0 0 7px rgba(201,162,39,0); transition: box-shadow var(--dur-slow) var(--ease), background var(--dur) var(--ease); }
.timeline li:hover::before { background: var(--gold-pale); box-shadow: 0 0 0 6px #000, 0 0 0 7px rgba(201,162,39,.6); }
.timeline time, .timeline .era { transition: color var(--dur) var(--ease); }
.timeline li:hover time, .timeline li:hover .era { color: #fff; }
.timeline time, .timeline .era { font-family: var(--serif); color: var(--gold-pale); font-size: var(--t-lg); font-weight: 500; line-height: var(--lh-h3); padding-top: .1em; }
.timeline h3 { font-size: var(--t-lg); margin-bottom: .5em; }
.timeline p { color: var(--ivory); margin-bottom: 0; max-width: 60ch; font-size: var(--t-base); line-height: var(--lh-body); }
.timeline p + p { margin-top: 1em; }

/* Numbered beliefs (a true sequence) */
.beliefs { list-style: none; padding: 0; margin: 0; max-width: none; counter-reset: b; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.beliefs li { counter-increment: b; background: var(--black); padding: var(--s-5) var(--s-4) var(--s-6); margin: 0; transition: background var(--dur-slow) var(--ease); }
.beliefs li:hover { background: #0b0904; }
.beliefs li::before { transition: color var(--dur) var(--ease); }
.beliefs li:hover::before { color: var(--gold-pale); }
.beliefs li::before { content: counter(b); font-family: var(--serif); font-size: var(--t-3xl); color: var(--gold); line-height: 1; display: block; margin-bottom: var(--s-3); font-weight: 300; letter-spacing: var(--ls-h1); }
.beliefs li:nth-child(7) { grid-column: 1 / -1; background: linear-gradient(90deg, #000, #0f0c05); }
.beliefs li:nth-child(7) p { max-width: 70ch; }
.beliefs h3 { font-size: var(--t-lg); margin-bottom: .5em; }
.beliefs p { font-size: var(--t-base); line-height: var(--lh-body); color: var(--ivory); margin: 0; }

/* Wellness list (8 dimensions) */
.wellness { list-style: none; padding: 0; margin: 0; max-width: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s-1) var(--s-6); }
.wellness li { padding: var(--s-3) 0; border-bottom: 1px solid rgba(201,162,39,.15); transition: border-color var(--dur-slow) var(--ease); font-family: var(--serif); font-size: var(--t-lg); line-height: var(--lh-h3); color: #fff; margin: 0; }
.wellness li:hover { border-bottom-color: var(--gold); }
.wellness li small { display: block; font-family: var(--sans); font-size: var(--t-sm); font-weight: 400; line-height: var(--lh-small); color: var(--stone); margin-top: var(--s-1); }

/* Crest meaning */
.crest { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1.3fr); gap: var(--s-5) clamp(var(--s-5), 6vw, var(--s-8)); align-items: center; }
.crest img { width: 100%; max-width: 560px; }
.latin { list-style: none; padding: 0; margin: 0; max-width: none; }
.latin li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid rgba(201,162,39,.15); margin: 0; align-items: baseline; transition: border-color var(--dur-slow) var(--ease); }
.latin li:hover { border-bottom-color: var(--gold); }
.latin b { font-family: var(--serif); font-size: var(--t-lg); line-height: var(--lh-h3); font-weight: 500; color: var(--gold-pale); }
.latin span { color: var(--ivory); font-size: var(--t-base); line-height: var(--lh-body); }

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; background: #0a0a0a; border: 1px solid var(--line); overflow: hidden; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .play { position: absolute; inset: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55)); border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff; }
.video .play span { width: 84px; height: 84px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur-slow) var(--ease); box-shadow: 0 0 0 0 rgba(201,162,39,0); }
.video .play:hover span { transform: scale(1.05); background: var(--gold-pale); box-shadow: 0 0 0 12px rgba(201,162,39,.15); }
.video img { transition: opacity var(--dur-slow) var(--ease); }
.video .play:hover ~ img, .video:hover img { opacity: .95; }
.video .play svg { width: 34px; height: 34px; margin-left: 4px; fill: #000; }
.video-caption { margin-top: var(--s-3); color: var(--stone); font-size: var(--t-sm); font-weight: 400; line-height: var(--lh-small); }
.video.placeholder { display: grid; place-items: center; text-align: center; padding: var(--s-5); background: repeating-linear-gradient(135deg, #0a0a0a 0 14px, #0e0d0b 14px 28px); }
.video.placeholder p { max-width: 36ch; color: var(--stone); margin: 0; font-size: var(--t-sm); font-weight: 400; line-height: var(--lh-small); }
.video.placeholder h3 { font-size: var(--t-lg); margin-bottom: .5em; }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--s-6) clamp(var(--s-4), 4vw, var(--s-5)); }

/* FAQ */
.faq { max-width: 78ch; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: var(--s-4) var(--s-6) var(--s-4) 0; font-family: var(--serif); font-size: var(--t-lg); line-height: var(--lh-h3); color: #fff; position: relative; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary { transition: color var(--dur) var(--ease); }
.faq summary:hover { color: var(--gold-pale); }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform var(--dur-slow) var(--ease), border-color var(--dur) var(--ease); }
.faq summary:hover::after { border-color: var(--gold-pale); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details div { padding: 0 0 var(--s-5); }
.faq details[open] div { animation: faq-in var(--dur-slow) var(--ease) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.faq details p:last-child { margin-bottom: 0; }

/* CTA */
.cta { padding: clamp(var(--s-7), 14vw, 224px) 0; text-align: center; background: radial-gradient(ellipse at 50% 100%, rgba(201,162,39,.18), transparent 60%); border-top: 1px solid var(--line); }
.cta h2 { max-width: 20ch; margin-inline: auto; }
.cta p { margin-inline: auto; color: var(--ivory); }
.cta .btn { margin-top: var(--s-3); font-size: var(--t-base); padding: 18px 30px; }
.cta small { display: block; margin-top: var(--s-4); color: var(--stone); font-size: var(--t-sm); font-weight: 400; line-height: var(--lh-small); }

/* Breadcrumb */
.crumbs { padding: var(--s-3) 0 0; font-size: var(--t-xs); font-weight: 400; line-height: var(--lh-small); color: var(--stone); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; max-width: none; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--gold-deep); }
.crumbs a { color: var(--stone); transition: color var(--dur) var(--ease); }
.crumbs a:hover { color: var(--gold-pale); }

/* Page hero for inner pages */
.page-hero { padding: clamp(var(--s-6), 8vw, var(--s-8)) 0 clamp(var(--s-6), 7vw, var(--s-7)); }
.page-hero .lead { margin-bottom: var(--s-5); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { max-width: 52ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: var(--s-7) 0 var(--s-6); color: var(--stone); font-size: var(--t-sm); font-weight: 400; line-height: var(--lh-small); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-5) var(--s-6); }
.site-footer h4 { font-family: var(--sans); font-size: var(--t-sm); line-height: var(--lh-small); letter-spacing: var(--ls-ui); font-weight: 500; color: #fff; margin-bottom: var(--s-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 12px; }
.site-footer a { color: var(--ivory); transition: color var(--dur) var(--ease); }
.site-footer a:hover { color: var(--gold-pale); }
.site-footer .brand { margin-bottom: var(--s-3); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(201,162,39,.12); padding-top: var(--s-4); margin-top: var(--s-3); font-size: var(--t-xs); }
.site-footer .legal p { max-width: none; margin-bottom: .6em; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.5); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.55), 0 0 0 6px rgba(37,211,102,.18); }
.wa-float svg { width: 30px; height: 30px; fill: #05240f; }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .portrait { justify-self: start; width: min(78vw, 380px); order: -1; }
  .cols { grid-template-columns: 1fr; }
  .cols .sticky { position: static; }
  .crest { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset: 80px 0 auto 0; background: #000; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; display: none; }
  .nav.open { display: flex; animation: nav-in var(--dur) var(--ease) both; }
@keyframes nav-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .nav a { padding: 14px 0; font-size: var(--t-base); border-bottom: 1px solid rgba(201,162,39,.12); }
  .nav .btn { margin-top: var(--s-3); justify-content: center; }
  .menu-btn { display: inline-flex; }
  .timeline li { grid-template-columns: 1fr; gap: var(--s-1); padding-left: var(--s-3); }
  .latin li { grid-template-columns: 1fr; gap: var(--s-1); }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .hero-facts { grid-template-columns: 1fr; }
}
/* Scroll reveal: applied by main.js, single fade-and-rise, 300ms, no overshoot */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; will-change: auto; }

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