/* Palette from the sign and the building: sign red, lettering yellow, the teal paint job, the jalapeño mascot's green.
   Cream paper for the menu. Pattern: monarch butterflies drawn in code (Michoacán is where they winter).
   Type: Bebas Neue for headlines, Lilita One for the wordmark only (echoes the rounded sign lettering), Figtree for reading. */
:root {
  --night: #103f3e; --night-rgb: 16,63,62;
  --green: #c8201a;
  --leaf: #f2c230;
  --cream: #fff6e3;
  --paper: #fffaf0;
  --gold: #f2c230;
  --gold-hi: #ffd95a;
  --ink: #231812;
  --roux: #6b4a1e;
  --muted: #6b5a4e;
  --teal: #1d8f8c;
  --head: "Alfa Slab One", "Rockwell Extra Bold", serif;
  --word: "Lilita One", "Arial Rounded MT Bold", sans-serif;
  --sans: "Nunito", "Figtree", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--night); color: var(--cream); font: 500 1.125rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: .95; letter-spacing: .01em; text-wrap: balance; }
.kicker { font: 700 .85rem/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--cream); color: var(--ink); padding: 10px 14px; }
/* Each section paints its own colour and fades in from the one above (--from/--bg set in app.js), monarchs on top */
[data-flow] { position: relative; isolation: isolate; background: linear-gradient(var(--from, var(--bg)), transparent 110px), linear-gradient(165deg, var(--bg), color-mix(in srgb, var(--bg) 86%, #000)); }
[data-flow]::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(media/monarch.svg) 40px 80px / 600px 600px; opacity: .06; pointer-events: none; }

/* Header: social icon top right on every screen, Call pill on phones */
.top { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 8px var(--gutter); background: linear-gradient(rgba(16,63,62,.94), rgba(16,63,62,0)); transition: background .5s, color .5s; }
body[data-tone="light"] .top { color: var(--ink); background: linear-gradient(rgba(255,246,227,.96), rgba(255,246,227,0)); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 1.5rem/1 var(--head); letter-spacing: .03em; }
.brand img { width: 48px; height: 48px; border-radius: 10px; }
.top nav { display: flex; gap: 20px; align-items: center; }
.top nav .link { display: none; font-weight: 700; text-decoration: none; }
.social { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid currentColor; opacity: .9; }
.social[href=""], .social:not([href]) { display: none; }

.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; text-decoration: none; background: var(--gold); color: var(--night); border: 2px solid var(--gold); cursor: pointer; transition: transform .2s, background .2s; }
.pill:hover { transform: translateY(-2px); background: var(--gold-hi); border-color: var(--gold-hi); }
.pill.ghost { background: transparent; border-color: currentColor; color: inherit; }
.pill.ghost:hover { background: rgba(232,169,58,.16); }
.pill.dark { background: var(--green); border-color: var(--green); color: #fff; }
.pill.small { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btns.center { justify-content: center; }

/* Hero: a dealt hand of loteria cards on a hand-painted sun. The mascot is the centre card; two dishes peek from behind. */
.hero { position: relative; min-height: 100svh; padding: 92px var(--gutter) 64px; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; overflow: hidden; background: radial-gradient(ellipse 70% 50% at 50% 28%, #1b6a66 0%, transparent 70%), var(--night); }
.hero::before { content: ""; position: absolute; inset: auto; opacity: 1; left: 50%; top: 250px; width: 190vmax; aspect-ratio: 1; z-index: 0; pointer-events: none; background: repeating-conic-gradient(rgba(242,194,48,.16) 0 7.5deg, transparent 7.5deg 15deg); -webkit-mask-image: radial-gradient(circle, #000 0, transparent 30%); mask-image: radial-gradient(circle, #000 0, transparent 30%); transform: translate(-50%, -50%); animation: sun-turn 160s linear infinite; }
.hero-grid { max-width: 1240px; width: 100%; margin: 0 auto; display: grid; gap: 26px; min-width: 0; grid-template-columns: minmax(0, 1fr); grid-template-areas: "deck" "copy"; }
.hero-grid > * { min-width: 0; }
.hero-copy { grid-area: copy; display: grid; justify-items: start; gap: 16px; min-width: 0; }
.hero-copy > * { min-width: 0; max-width: 100%; }
.hero .lede { max-width: min(46ch, 100%); font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: #fff6e3; }
.status { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border-radius: 999px; border: 2px solid rgba(255,246,227,.6); font-weight: 700; color: var(--cream); }
.status:empty { display: none; }
.status::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: #ff8a6b; }
.status.open::before { background: #5fd38a; }

/* The hand */
.deck { grid-area: deck; position: relative; width: min(100%, 380px); height: 395px; margin: 0 auto; }
.lcard { position: absolute; margin: 0; background: var(--cream); color: var(--ink); border-radius: 14px; padding: 8px; box-shadow: 0 18px 38px rgba(0,0,0,.5); }
.lcard-food { width: 160px; top: 150px; animation: deal .9s cubic-bezier(.2,.8,.2,1) both; }
.lcard-food.a { left: 0; --r: -7deg; animation-delay: .25s; }
.lcard-food.b { right: 0; --r: 7deg; top: 175px; animation-delay: .4s; }
.lcard-food { transform: rotate(var(--r)); }
.lcard-food img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; }
.lcard-food figcaption { padding: 7px 2px 1px; font: 800 .85rem/1.2 var(--sans); color: var(--ink); }
.lcard-food figcaption span { display: block; color: var(--green); }
.lcard-main { left: 50%; top: 0; width: 190px; margin-left: -95px; z-index: 2; padding: 10px; border: 3px solid var(--green); animation: deal .9s cubic-bezier(.2,.8,.2,1) both, bob 6s ease-in-out 1.2s infinite; }
.lcard-main .art { position: relative; border-radius: 8px; background: radial-gradient(circle at 50% 45%, #ffd95a 0%, var(--gold) 55%, #e0a91c 100%); border: 2px solid var(--night); overflow: hidden; }
.lcard-main .art img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.lcard-main .num { position: absolute; top: 6px; left: 6px; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--cream); color: var(--ink); border: 2px solid var(--night); font: 400 1.05rem/1 var(--head); }
.wordmark { margin-top: 9px; padding: 7px 4px 6px; border-radius: 8px; background: var(--night); font: 400 clamp(1.1rem, 4.6vw, 1.3rem)/1 var(--word); color: var(--gold-hi); text-align: center; letter-spacing: .01em; }
.wordmark span { display: block; font-size: 1.3em; color: #fff; }
@keyframes deal { from { opacity: 0; transform: translateY(40px) rotate(0) scale(.9); } to { opacity: 1; transform: rotate(var(--r, 0deg)); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes sun-turn { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero::before, .lcard { animation: none; } }
.hero h1 .sub b { font-weight: 400; border-bottom: 4px solid var(--green); }
.hero h1 .sub { display: block; font-size: .55em; color: var(--gold-hi); margin-top: 8px; letter-spacing: .03em; }
.visit::before { display: none; }
/* Visit: the place itself behind the cards */
.visit { position: relative; }
.sec-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .28; filter: saturate(.8); }
.visit::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(var(--night-rgb)) 0%, rgba(var(--night-rgb), .35) 30%, rgba(var(--night-rgb), .55) 100%); pointer-events: none; }

/* Shared section heading */
.sec-head { max-width: 860px; margin: 0 auto clamp(28px, 5vw, 48px); padding: 0 var(--gutter); text-align: center; display: grid; justify-items: center; }
.sec-head h2 { font-size: clamp(3rem, 8vw, 5.2rem); margin-top: 8px; }
.sec-head p:not(.kicker) { max-width: 48ch; margin-top: 12px; font-size: 1.15rem; }
.sec-head .gloss { font-size: 1rem; color: var(--roux); margin-top: 6px; }
.menu h2 { color: var(--green); }

/* Favorites: strip with arrows on phones, 4-up grid on wide screens */
.favs { padding: clamp(84px, 10vw, 130px) 0; }
.strip { position: relative; max-width: 1240px; margin: 0 auto; }
.favs-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 6px var(--gutter) 28px; scrollbar-width: none; }
.favs-track::-webkit-scrollbar { display: none; }
.arrow { position: absolute; top: 34%; z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--gold); background: var(--night); color: var(--gold-hi); font-size: 1.5rem; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.arrow:disabled { opacity: .35; cursor: default; }
.arrow.prev { left: 6px; }
.arrow.next { right: 6px; }
.dish { flex: 0 0 auto; scroll-snap-align: start; width: min(78vw, 300px); color: var(--ink); background: var(--paper); border-radius: 18px; padding: 12px 12px 18px; box-shadow: 0 16px 34px rgba(0,0,0,.3); }
.dish .pic { aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.dish .pic img { width: 100%; height: 100%; object-fit: cover; }
.dish h3 { font-size: 1.7rem; margin: 14px 4px 2px; color: var(--green); }
.dish .price { margin: 0 4px 4px; font-weight: 700; color: var(--roux); }
.dish p { margin: 0 4px; font-size: 1rem; color: var(--muted); }

/* Menu: one feature band, then balanced columns */
.menu, .story { color: var(--ink); padding: clamp(84px, 10vw, 130px) var(--gutter); }
.menu::before, .story::before { opacity: .14; }
.menu .kicker, .story .kicker { color: var(--green); }
.menu h2 { color: var(--green); }
.feature { max-width: 1180px; margin: 0 auto 48px; display: grid; gap: 22px; align-items: center; background: var(--green); color: var(--cream); border-radius: 22px; padding: 18px; }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.feature .kicker { color: var(--gold-hi); }
.feature h3 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 6px 0 10px; }
.feature h3 span { color: var(--gold-hi); white-space: nowrap; }
.feature p:not(.kicker) { font-size: 1.15rem; max-width: 46ch; }
.menu-cols { max-width: 1180px; margin: 0 auto; columns: 3 300px; column-gap: 48px; }
.msec { break-inside: avoid; margin-bottom: 34px; }
.msec h3 { font-size: 2.1rem; color: var(--green); padding-bottom: 4px; border-bottom: 3px solid var(--leaf); }
.msec .note { font-size: 1rem; color: var(--muted); margin-top: 6px; }
.rows { list-style: none; padding: 12px 0 0; display: grid; gap: 10px; }
.rows li { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding-bottom: 10px; border-bottom: 2px dotted #cfd8c9; }
.rows li:last-child { border-bottom: 0; }
.rows li b { font-weight: 700; }
.rows li .price { font-weight: 700; color: var(--green); white-space: nowrap; }
.brunch .rows li .price { color: var(--gold-hi); }
.rows li p { grid-column: 1 / -1; font-size: 1rem; color: var(--muted); }
.fine { max-width: 760px; margin: 32px auto 22px; text-align: center; font-size: 1rem; color: var(--muted); }

/* Brunch */
.brunch { padding: clamp(84px, 10vw, 130px) max(var(--gutter), calc((100% - 1100px) / 2)); display: grid; gap: 36px; align-items: center; }
.brunch::before { opacity: .1; }
.brunch-pic { width: 100%; max-width: 440px; justify-self: center; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 5px solid var(--gold); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.brunch h2 { font-size: clamp(3.4rem, 9vw, 6rem); color: var(--gold-hi); margin-top: 6px; }
.brunch-lede { color: #dcebd9; margin: 6px 0 14px; }
.brunch .rows li { border-color: rgba(246,241,228,.25); }
.brunch .rows li p { color: #cfe0cb; }

/* Story */
.story-inner { max-width: 1180px; margin: 0 auto; display: grid; gap: 36px; }
.story h2 { font-size: clamp(3rem, 8vw, 5.2rem); color: var(--green); margin: 8px 0 22px; max-width: 14ch; }
.story p:not(.kicker) { max-width: 56ch; font-size: 1.15rem; color: var(--roux); margin-bottom: 14px; }
.tags { list-style: none; padding: 0; margin-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li a { display: inline-block; background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: 6px; font-weight: 600; font-size: .95rem; box-shadow: 3px 3px 0 var(--leaf); text-decoration: none; }
.story blockquote { align-self: center; font: 400 clamp(2rem, 4vw, 3rem)/1.1 var(--head); color: var(--green); padding-left: 22px; border-left: 6px solid var(--gold); }
.story blockquote:empty { display: none; }
.story cite { display: block; margin-top: 14px; font: 500 1rem/1.4 var(--sans); font-style: normal; color: var(--muted); }

/* The room: Facebook photos, natural portrait aspect */
.room { padding: clamp(84px, 10vw, 130px) var(--gutter); }
.room-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.shot { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 30px rgba(0,0,0,.4); }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.events { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.events li { display: grid; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid #d9dccb; }
.events li:last-child { border-bottom: 0; }
.events li span { color: var(--muted); font-size: 1rem; }
.events-h { margin-top: 22px; }
.second address { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.second .place-note { margin-bottom: 12px; }
.visit-card > .kicker:first-child { margin-bottom: 8px; }

/* Visit */
.visit { padding: clamp(84px, 10vw, 130px) var(--gutter); }
.visit .sec-head h2 { font-size: clamp(3.6rem, 12vw, 8rem); }
.visit-inner { max-width: 1100px; margin: 0 auto; display: grid; gap: 18px; }
.visit-card { background: var(--cream); color: var(--ink); border-radius: 18px; padding: 26px; box-shadow: 8px 8px 0 var(--leaf); }
.visit-card .kicker { color: var(--green); margin-bottom: 8px; }
address { font: 400 clamp(2rem, 4vw, 2.6rem)/1 var(--head); font-style: normal; margin-bottom: 10px; }
.place-note { color: var(--muted); margin-bottom: 18px; }
.visit-card .pill { min-height: 54px; font-size: 1.1rem; }
.visit-card .pill.ghost { color: var(--ink); }
.hours { width: 100%; border-collapse: collapse; font-size: 1.1rem; }
.hours td { padding: 9px 0; border-bottom: 1px solid #d9dccb; }
.hours td + td { text-align: right; }
.hours tr.today td { color: var(--green); font-weight: 700; }
.hours td.closed { color: var(--muted); }
.holiday { margin-top: 12px; font-size: 1rem; color: var(--muted); }
.map { grid-column: 1 / -1; width: 100%; height: clamp(340px, 50vh, 480px); border: 0; border-radius: 18px; box-shadow: 8px 8px 0 var(--leaf); }
.map-link { grid-column: 1 / -1; display: grid; place-items: center; gap: 10px; min-height: 220px; border-radius: 18px; background: var(--green); color: var(--cream); text-decoration: none; text-align: center; padding: 26px; box-shadow: 8px 8px 0 var(--leaf); }
.map-link b { font: 400 2rem/1 var(--head); letter-spacing: .03em; }

footer { padding: 60px var(--gutter) 120px; display: grid; justify-items: center; text-align: center; gap: 10px; }
.foot-logo { width: 150px; border-radius: 50%; border: 4px solid var(--gold); }
.tagline { font: 400 1.5rem/1.15 var(--head); letter-spacing: .04em; color: var(--gold-hi); max-width: 30ch; }
.foot-links a { margin: 0 8px; font-weight: 700; }
.credit { font-size: .92rem; color: #a9bba7; max-width: 60ch; }

.callbar { position: fixed; inset: auto 12px 12px; z-index: 20; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; transform: translateY(150%); transition: transform .35s ease; }
.callbar.show { transform: none; }
.callbar .pill.ghost { background: var(--night); color: var(--cream); border-color: var(--gold); }

/* Splash: green field, the logo rises in, the two rules from the logo draw out above and below it, then it lifts away. About 2 s; transform and opacity only. */
.splash { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 14px; background: var(--green); cursor: pointer; animation: lift .45s cubic-bezier(.7,0,.3,1) 1.55s forwards; }
.no-splash .splash, .splash.done { display: none; }
.splash img { width: min(200px, 50vw); border-radius: 50%; border: 5px solid var(--gold); opacity: 0; transform: translateY(26px) scale(.9); animation: rise .55s cubic-bezier(.2,1.2,.4,1) .15s forwards; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.splash .wordmark { opacity: 0; transform: translateY(12px); animation: rise .45s ease .5s forwards; }
.splash .rule { width: min(300px, 70vw); height: 6px; border-radius: 3px; background: var(--leaf); transform: scaleX(0); transform-origin: left; animation: draw .5s cubic-bezier(.6,0,.2,1) .55s forwards; }
.splash .rule.r2 { transform-origin: right; animation-delay: .7s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { transform: scaleX(1); } }
@keyframes lift { to { transform: translateY(-100%); visibility: hidden; } }

@media (min-width: 900px) {
  .top nav .link { display: inline; }
  .top .pill.small { display: none; }
  .callbar { display: none; }
  footer { padding-bottom: 60px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy deck"; column-gap: 48px; align-items: center; }
  .hero::before { left: 74%; top: 50%; }
  .deck { width: 500px; height: 480px; }
  .lcard-food { width: 190px; top: 190px; padding: 10px; }
  .lcard-food.b { top: 225px; }
  .lcard-food figcaption { font-size: 1rem; padding-top: 9px; }
  .lcard-main { width: 250px; margin-left: -125px; padding: 11px; }
  .lcard-main .num { width: 42px; height: 42px; font-size: 1.3rem; }
  .wordmark { font-size: 1.4rem; padding: 9px 4px 8px; }
  .favs-track { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; gap: 22px; }
  .dish { width: auto; }
  .arrow { display: none; }
  .feature { grid-template-columns: .9fr 1.1fr; gap: 40px; padding: 22px 40px 22px 22px; }
  .brunch { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .story-inner { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .visit-inner { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .visit-inner .visit-card:nth-of-type(2) { grid-column: 2; grid-row: 1 / 3; }
  .visit-inner .map, .visit-inner .map-link { grid-column: 1 / 2; grid-row: 2; height: 100%; min-height: 320px; }
  .room-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (max-width: 899px) {
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Type refresh (2026-10-23): Alfa Slab One for headlines (the slab of a painted taquería menu), Lilita One wordmark, Nunito for reading. */
body { font-weight: 600; }
h1, h2, h3 { font-weight: 400; line-height: 1.05; letter-spacing: 0; }
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
.hero h1 .sub { font-size: .5em; letter-spacing: 0; }
.sec-head h2, .story h2 { font-size: clamp(2rem, 6vw, 3.8rem); }
.menu h2 { font-size: clamp(2.6rem, 8vw, 4.8rem); }
.brunch h2 { font-size: clamp(2.4rem, 7vw, 4rem); }
.visit .sec-head h2 { font-size: clamp(2.4rem, 7.5vw, 4.6rem); }
.feature h3 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.msec h3 { font-size: 1.3rem; }
.dish h3 { font-size: 1.2rem; }
address { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.second address { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
.tagline { font: 400 1.15rem/1.25 var(--head); letter-spacing: 0; }
.story blockquote { font: 400 clamp(1.4rem, 2.8vw, 2rem)/1.25 var(--head); }
.brand { font: 400 1rem/1 var(--head); letter-spacing: 0; }
b, strong { font-weight: 800; }
@media (max-width: 899px) { .hero { min-height: auto; padding-bottom: 40px; } }

/* Simple reveal on scroll: sections and cards rise in once, children stagger. Off under reduced motion. */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js .stagger.in > * { opacity: 1; transform: none; }
.js .stagger.in > :nth-child(2) { transition-delay: .07s; } .js .stagger.in > :nth-child(3) { transition-delay: .14s; } .js .stagger.in > :nth-child(4) { transition-delay: .21s; }
.js .stagger.in > :nth-child(5) { transition-delay: .28s; } .js .stagger.in > :nth-child(6) { transition-delay: .35s; } .js .stagger.in > :nth-child(7) { transition-delay: .42s; } .js .stagger.in > :nth-child(n+8) { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal], .js .stagger > * { opacity: 1; transform: none; } }

/* Curved seams: each band starts with a soft rim of the colour above it, so sections flow instead of meeting on a line */
[data-flow] { overflow-x: clip; }
.seam { position: absolute; left: -6%; top: -1px; width: 112%; height: clamp(34px, 6vw, 72px); background: var(--from, var(--bg)); border-radius: 0 0 50% 50% / 0 0 100% 100%; z-index: 0; pointer-events: none; }
.seam::after { content: ""; position: absolute; inset: 0; background: inherit; filter: blur(14px); opacity: .5; }
[data-flow] > :not(.seam):not(.sec-bg) { position: relative; z-index: 1; }
