/* JSM Spices — main stylesheet. No build step; edit directly, then run tools/build.py to bump the cache hash. */

:root {
  --maroon-950: #2a060d;
  --maroon-900: #3d0914;
  --maroon-800: #5a0c1b;
  --maroon-700: #7a1024;
  --crimson: #b3123c;
  --crimson-600: #9a0f33;
  --gold: #c9a24a;
  --gold-300: #e6c983;
  --gold-100: #f6ead0;
  --saffron: #e2862b;
  --cream: #fbf6ee;
  --sand: #f3e8d6;
  --sand-200: #ead9bf;
  --ink: #2a1712;
  --muted: #6f5a50;
  --line: rgba(42, 23, 18, .12);
  --white: #fff;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -18px rgba(61, 9, 20, .35);
  --shadow-lg: 0 40px 80px -30px rgba(42, 6, 13, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-variation-settings: "opsz" 144; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-variation-settings: "opsz" 120; }
h3 { font-size: 1.35rem; font-variation-settings: "opsz" 36; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--crimson); }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .container { width: min(1200px, 100% - 64px); } }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--maroon-950); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 1rem;
}
.eyebrow--gold { color: var(--gold-300); }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { margin: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- buttons & links ---------- */
.btn {
  --bg: var(--crimson); --fg: var(--white); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: .8em 1.6em;
  font: 700 .95rem/1 var(--font-body); letter-spacing: .02em;
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0,0,0,.45); }
.btn--primary { --bg: var(--crimson); }
.btn--primary:hover { --bg: var(--crimson-600); }
.btn--gold { --bg: linear-gradient(135deg, var(--gold-300), var(--gold)); --fg: var(--maroon-950); background: var(--bg); }
.btn--outline { --bg: transparent; --fg: var(--crimson); --bd: currentColor; }
.btn--outline:hover { --bg: var(--crimson); --fg: var(--white); --bd: var(--crimson); }
.btn--ghost-light { --bg: transparent; --fg: var(--cream); --bd: rgba(251, 246, 238, .45); }
.btn--ghost-light:hover { --bg: rgba(251, 246, 238, .1); --bd: var(--cream); }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: var(--crimson); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--cream);
  transition: background .35s, box-shadow .35s, color .35s, height .35s;
}
.site-header.is-solid {
  --header-h: 66px;
  background: rgba(251, 246, 238, .94);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { height: calc(var(--header-h) - 18px); width: auto; transition: height .35s; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav a:not(.btn) { position: relative; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .4em 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { min-height: 42px; padding: .65em 1.2em; font-size: .88rem; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 5px; width: 46px; height: 46px; padding: 0;
    background: transparent; border: 1.5px solid currentColor; border-radius: 50%; color: inherit; cursor: pointer; z-index: 2;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.4rem; padding: 5rem 1rem 2rem; overflow-y: auto;
    background: var(--maroon-900); color: var(--cream);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav a:not(.btn) { font-family: var(--font-display); font-size: 2rem; font-weight: 500; }
  .nav.is-open { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { color: var(--cream); background: transparent; box-shadow: none; backdrop-filter: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 920px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  color: var(--cream);
  background:
    radial-gradient(120% 90% at 85% 40%, var(--maroon-700) 0%, var(--maroon-800) 35%, var(--maroon-900) 70%, var(--maroon-950) 100%);
}
.hero::before { /* fine spice-dust grain */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255, 220, 160, .55) 1px, transparent 1.2px), radial-gradient(rgba(255, 140, 80, .4) 1px, transparent 1.2px);
  background-size: 23px 23px, 37px 37px; background-position: 0 0, 11px 17px;
}
.hero__glow { position: absolute; z-index: -1; width: 70vmax; aspect-ratio: 1; right: -18vmax; top: 50%; translate: 0 -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 134, 43, .45) 0%, rgba(179, 18, 60, .25) 35%, transparent 65%); filter: blur(10px); }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2rem; }
.hero h1 { color: var(--cream); max-width: 12ch; }
.hero h1 em { color: var(--gold-300); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34rem; color: rgba(251, 246, 238, .82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.hero__packs { position: relative; aspect-ratio: 1 / .95; }
.pack {
  position: absolute; width: 38%; height: auto; bottom: 8%;
  filter: drop-shadow(0 30px 30px rgba(20, 0, 5, .55));
  animation: float 7s ease-in-out infinite;
}
.pack--1 { left: 0%;  bottom: 14%; rotate: -14deg; width: 32%; animation-delay: -1s; z-index: 1; }
.pack--2 { left: 18%; bottom: 20%; rotate: -6deg;  width: 37%; animation-delay: -3s; z-index: 2; }
.pack--3 { left: 33%; bottom: 10%; rotate: 0deg;   width: 42%; animation-delay: -2s; z-index: 4; }
.pack--4 { left: 52%; bottom: 22%; rotate: 7deg;   width: 36%; animation-delay: -4s; z-index: 3; }
.pack--5 { left: 68%; bottom: 13%; rotate: 15deg;  width: 31%; animation-delay: -5s; z-index: 1; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-bottom: 2.5rem; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__packs { width: min(520px, 100%); margin-inline: auto; aspect-ratio: 1 / .78; margin-top: 1rem; }
}

/* ---------- ribbon ---------- */
.ribbon { overflow: hidden; background: var(--crimson); color: var(--gold-100); border-block: 1px solid rgba(230, 201, 131, .35); }
.ribbon__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.ribbon span { font-family: var(--font-display); font-style: italic; font-size: clamp(1.05rem, 2vw, 1.4rem); padding: .85rem 0; white-space: nowrap; }
.ribbon span::after { content: "✦"; font-style: normal; color: var(--gold-300); font-size: .7em; margin-inline: 1.6rem; vertical-align: .15em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- trust ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; gap: 1rem; align-items: center; padding: 2rem 1.25rem; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__item svg { flex: none; width: 44px; height: 44px; fill: none; stroke: var(--crimson); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.trust__item strong { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.trust__item span { font-size: .88rem; color: var(--muted); }
@media (max-width: 900px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item, .trust__item + .trust__item { border-left: 0; padding: 1.25rem .25rem; }
  .trust__item + .trust__item { border-top: 1px solid var(--line); }
}

/* ---------- story ---------- */
.story__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.story__copy p { color: var(--muted); max-width: 36rem; }
.story__copy p strong { color: var(--ink); }
/* Row gap leaves room for the label that sits 1.6em below each circle (it used to collide with the next row on phones). */
.palette { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(.75rem, 2vw, 1.25rem); row-gap: 2.6rem; }
.palette__swatch {
  aspect-ratio: 1; border-radius: 50%; position: relative; display: grid; place-items: end center;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 70%, #fff) 0%, var(--c) 45%, color-mix(in srgb, var(--c) 70%, #000) 100%);
  box-shadow: inset 0 -10px 20px rgba(0,0,0,.25), var(--shadow);
  transition: transform .4s var(--ease);
}
.palette__swatch::before { /* powder texture */
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .35; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255,255,255,.7) .8px, transparent 1px); background-size: 7px 7px;
}
.palette__swatch span { position: relative; translate: 0 1.6em; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.palette__swatch:hover { transform: translateY(-6px) rotate(-4deg); }
.palette { padding-bottom: 1.6em; width: 100%; max-width: 420px; justify-self: center; }
@media (max-width: 820px) { .story__grid { grid-template-columns: 1fr; } .palette { max-width: 420px; } }

/* ---------- product cards ---------- */
.product-card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card__media {
  display: grid; place-items: center; padding: 1.75rem 1.5rem 1rem; border: 0; cursor: zoom-in;
  background: radial-gradient(90% 70% at 50% 40%, var(--white) 0%, var(--sand) 100%);
}
.product-card__media img { height: 230px; width: auto; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.05) rotate(-2deg); }
.product-card__body { padding: 1.1rem 1.35rem 1.5rem; }
.product-card__body .eyebrow { font-size: .68rem; margin-bottom: .35rem; }
.product-card__body h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.product-card__body p:last-child { font-size: .93rem; color: var(--muted); margin: 0; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 290px); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem max(16px, (100% - 1200px) / 2) 2rem; scrollbar-width: thin; scrollbar-color: var(--sand-200) transparent; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 720px) { .rail { padding-inline: max(32px, (100% - 1200px) / 2); scroll-padding-inline: max(32px, (100% - 1200px) / 2); } }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.product-card.is-hidden { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.chip { font: 600 .92rem var(--font-body); padding: .65em 1.15em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip span { margin-left: .35em; opacity: .6; font-weight: 700; }
.chip:hover { border-color: var(--crimson); }
.chip.is-active { background: var(--crimson); border-color: var(--crimson); color: var(--white); }

/* ---------- dialog ---------- */
.product-dialog { width: min(880px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 24px; background: var(--cream); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto; }
.product-dialog::backdrop { background: rgba(42, 6, 13, .7); backdrop-filter: blur(4px); }
.product-dialog[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.product-dialog__grid { display: grid; grid-template-columns: 1fr 1.1fr; }
.product-dialog__media { display: grid; place-items: center; padding: 2rem; background: radial-gradient(80% 70% at 50% 40%, var(--white), var(--sand)); }
.product-dialog__media img { max-height: 420px; width: auto; filter: drop-shadow(0 24px 24px rgba(42, 6, 13, .25)); }
.product-dialog__body { padding: clamp(1.5rem, 4vw, 2.75rem); align-self: center; }
.product-dialog__body h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.product-dialog__note { font-size: .9rem; color: var(--muted); padding-top: 1rem; border-top: 1px solid var(--line); }
.product-dialog__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.product-dialog__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); z-index: 1; }
@media (max-width: 700px) {
  .product-dialog__grid { grid-template-columns: 1fr; }
  .product-dialog__media img { max-height: 280px; }
}

/* ---------- process ---------- */
.process { background: var(--sand); }
.process__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.process__steps li { position: relative; padding: 2rem 1.5rem; background: var(--cream); border-radius: var(--radius); border: 1px solid var(--sand-200); }
.process__steps li::after { content: ""; position: absolute; top: 3.05rem; right: -1.25rem; width: 1.25rem; height: 2px; background: var(--gold); }
.process__steps li:last-child::after { display: none; }
.process__num { display: inline-block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 500; font-style: italic; line-height: 1; color: var(--gold); margin-bottom: 1rem; }
.process__steps p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .process__steps { grid-template-columns: 1fr 1fr; } .process__steps li::after { display: none; } }
@media (max-width: 520px) { .process__steps { grid-template-columns: 1fr; } }

/* ---------- global ---------- */
.global { background: var(--maroon-900); color: var(--cream); position: relative; overflow: hidden; }
.global h2 { color: var(--cream); }
.global h2 em { color: var(--gold-300); }
.global__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 4rem); align-items: center; }
.global__copy > p { color: rgba(251, 246, 238, .78); }
.global__list { list-style: none; padding: 0; margin: 1.75rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.global__list li { padding: .85rem 1rem; border: 1px solid rgba(230, 201, 131, .25); border-radius: var(--radius-sm); font-size: .88rem; color: rgba(251, 246, 238, .7); }
.global__list strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--cream); }
.routes__svg { width: 100%; height: auto; overflow: visible; }
.routes__grid { fill: rgba(230, 201, 131, .28); }
.routes__lines path { fill: none; stroke: var(--gold-300); stroke-width: 2; stroke-dasharray: 6 8; stroke-linecap: round; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.routes__pins circle { fill: var(--gold-300); }
.routes__pins .origin { fill: var(--crimson); stroke: var(--gold-300); stroke-width: 3; }
.routes__pins .pulse { fill: none; stroke: var(--gold-300); stroke-width: 1.5; transform-origin: 232px 200px; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.routes__labels text { fill: rgba(251, 246, 238, .9); font: 600 15px var(--font-body); letter-spacing: .04em; paint-order: stroke; stroke: var(--maroon-900); stroke-width: 5px; stroke-linejoin: round; }
.routes__labels .strong { fill: var(--gold-300); font-size: 16px; }
@media (max-width: 860px) { .global__grid { grid-template-columns: 1fr; } }

/* ---------- why / cards ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.why__card { padding: 2rem 1.6rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.why__card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--crimson), var(--saffron), var(--gold)); transform: scaleX(.25); transform-origin: left; transition: transform .5s var(--ease); }
.why__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why__card:hover::before { transform: scaleX(1); }
.why__card p { color: var(--muted); font-size: .95rem; margin: 0; }
.process--alt .why__card { background: var(--cream); border-color: var(--sand-200); }
@media (max-width: 960px) { .why__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why__grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(3.5rem, 7vw, 5.5rem); color: var(--cream); background: linear-gradient(120deg, var(--crimson-600), var(--maroon-800) 60%, var(--maroon-900)); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 520px; aspect-ratio: 1; right: -140px; top: -200px; border-radius: 50%; border: 1px solid rgba(230, 201, 131, .3); box-shadow: 0 0 0 60px rgba(230, 201, 131, .04), 0 0 0 120px rgba(230, 201, 131, .03); }
.cta-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; }
.cta-band h2 { color: var(--cream); font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 18ch; }
.cta-band p { color: rgba(251, 246, 238, .8); max-width: 40rem; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 820px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* ---------- inner pages ---------- */
.page-hero {
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(3rem, 7vw, 5rem);
  color: var(--cream); position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 120% at 90% 0%, var(--maroon-700), var(--maroon-900) 60%, var(--maroon-950));
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; mix-blend-mode: overlay; background-image: radial-gradient(rgba(255, 220, 160, .6) 1px, transparent 1.2px); background-size: 23px 23px; }
.page-hero h1 { color: var(--cream); max-width: 16ch; }
.page-hero h1 em { color: var(--gold-300); }
.page-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(251, 246, 238, .8); max-width: 40rem; }
.page-hero--full { min-height: 80vh; display: flex; align-items: center; }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--reverse .split__copy { order: 0; }
.split__copy > p { color: var(--muted); }
.split__media { margin: 0; display: grid; place-items: center; padding: 2.5rem; border-radius: 28px; background: radial-gradient(80% 70% at 50% 40%, var(--white), var(--sand)); }
.split__media img { max-height: 440px; width: auto; filter: drop-shadow(0 24px 24px rgba(42, 6, 13, .25)); rotate: -4deg; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cert { padding: 1.75rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); }
.cert__label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.cert__value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--crimson); margin-bottom: .5rem; }
.cert p:last-child { margin: 0; color: var(--muted); font-size: .93rem; }
.cert--pending { border-top-color: var(--sand-200); }
@media (max-width: 860px) { .cert-grid { grid-template-columns: 1fr; } }

.markets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.market { padding: 1.75rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.market__tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .35em .8em; border-radius: 999px; background: var(--gold-100); color: var(--maroon-800); margin-bottom: 1rem; }
.market h3 { font-size: 1.7rem; }
.market p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .markets { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .markets { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; margin: 0 0 2rem; }
.checklist li { position: relative; padding: .7rem 0 .7rem 2.2rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: .7rem; width: 1.5rem; height: 1.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--crimson); color: var(--white); font-size: .8rem; font-weight: 700; }
.checklist a { color: var(--crimson); font-weight: 600; }

.stack { position: relative; height: 420px; }
.stack img { position: absolute; height: 330px; width: auto; bottom: 30px; filter: drop-shadow(0 24px 24px rgba(42, 6, 13, .3)); }
.stack img:nth-child(1) { left: 4%; rotate: -10deg; }
.stack img:nth-child(2) { left: 50%; translate: -50% 0; bottom: 50px; z-index: 2; height: 360px; }
.stack img:nth-child(3) { right: 4%; rotate: 10deg; }
@media (max-width: 520px) { .stack { height: 300px; } .stack img { height: 220px; } .stack img:nth-child(2) { height: 250px; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: grid; gap: .2rem; padding: 1.4rem 1.6rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
.contact-card:hover { border-color: var(--crimson); transform: translateX(4px); }
.contact-card__label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--crimson); }
.contact-card strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-card span:not(.contact-card__label) { color: var(--muted); font-size: .93rem; }
.contact-card .contact-card__more { color: var(--crimson); font-weight: 600; margin-top: .3rem; }
/* Card holding several links (e.g. two phone numbers): links highlight individually, the card stays put. */
.contact-card--multi:hover { border-color: var(--line); transform: none; }
.contact-card--multi a { text-decoration: none; width: fit-content; transition: color .2s; }
.contact-card--multi a:hover { color: var(--crimson); }

.enquiry { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 20px); }
.enquiry h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.enquiry__hint { color: var(--muted); font-size: .93rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field span { font-size: .85rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--sand-200); background: var(--cream);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--crimson); background: var(--white); }
.field textarea { resize: vertical; }
.enquiry__error { color: var(--crimson); font-weight: 600; font-size: .92rem; }
.enquiry__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.section-head__lead { color: var(--muted); max-width: 34rem; margin: 0; }
.section-head--center .section-head__lead { margin-top: .9rem; }

/* ---------- credentials strip ---------- */
.creds { background: var(--white); border-block: 1px solid var(--line); padding-block: 1.6rem; }
.creds__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.creds__title { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.creds__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; flex: 1; }
.creds__list li { padding: .45em 1em; border-radius: 999px; background: var(--gold-100); color: var(--maroon-800); font-size: .85rem; font-weight: 700; white-space: nowrap; }
.creds__list li::before { content: "✓"; margin-right: .45em; color: var(--crimson); }

/* ---------- presence across India ---------- */
.presence { background: radial-gradient(90% 80% at 85% 20%, var(--white), var(--cream) 70%); }
.presence__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.presence__copy > p { color: var(--muted); max-width: 34rem; }
.cities { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.cities li { padding: .5em 1.05em; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 600; font-size: .92rem; }
.cities li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .55em; border-radius: 50%; background: var(--crimson); vertical-align: .1em; }
.cities .cities__more { border-style: dashed; background: transparent; color: var(--muted); }
.cities .cities__more::before { display: none; }
.presence__side { display: grid; gap: 1.25rem; }
.stat { display: flex; align-items: center; gap: 1.25rem; padding: 1.6rem 1.8rem; border-radius: var(--radius); color: var(--cream); background: linear-gradient(120deg, var(--crimson-600), var(--maroon-800) 70%); box-shadow: var(--shadow); }
.stat strong { font-family: var(--font-display); font-size: clamp(3.2rem, 6vw, 4.4rem); font-weight: 600; line-height: 1; color: var(--gold-300); font-variant-numeric: tabular-nums; }
.stat > span { font-size: 1.05rem; max-width: 14rem; color: rgba(251, 246, 238, .88); }
.bases { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.base { padding: 1.5rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); }
.base__tag { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--crimson); margin-bottom: .5rem; }
.base h3 { font-size: 1.6rem; margin-bottom: .35em; }
.base address { color: var(--muted); font-size: .9rem; line-height: 1.55; }
@media (max-width: 900px) { .presence__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .bases { grid-template-columns: 1fr; } .stat { flex-direction: column; align-items: flex-start; gap: .5rem; } }

/* ---------- testimonials ---------- */
.voices { background: var(--sand); position: relative; overflow: hidden; }
.voices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.voice { margin: 0; display: flex; flex-direction: column; padding: 2.1rem 1.8rem 1.7rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.voice:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.voice::before { content: "\201C"; position: absolute; top: .1rem; right: 1.3rem; font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--gold-100); }
.voice__place { align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .35em .8em; border-radius: 999px; background: var(--maroon-800); color: var(--gold-300); margin-bottom: 1.2rem; position: relative; }
.voice blockquote { margin: 0 0 1.5rem; flex: 1; position: relative; }
.voice blockquote p { margin: 0; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.55; font-variation-settings: "opsz" 24; }
.voice figcaption { display: flex; align-items: center; gap: .85rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.voice figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
.voice__avatar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--crimson), var(--saffron)); color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
@media (max-width: 900px) { .voices__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- certificate cards (about) ---------- */
.cert-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.cert-card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cert-card__doc { display: grid; place-items: center; aspect-ratio: 4 / 3.4; padding: 1.1rem; background: linear-gradient(160deg, var(--sand), var(--sand-200)); }
.cert-card__doc { overflow: hidden; }
.cert-card__doc img { height: 100%; width: auto; max-width: 100%; min-height: 0; object-fit: contain; box-shadow: 0 10px 24px -10px rgba(42, 6, 13, .45); transition: transform .35s var(--ease); }
.cert-card:hover .cert-card__doc img { transform: scale(1.04); }
.cert-card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.cert-card__body h3 { font-size: 1.2rem; margin-bottom: .3em; }
.cert-card__body p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.cert-card__body .cert-card__no { margin-top: auto; padding-top: .9rem; color: var(--crimson); font-weight: 700; font-size: .9rem; overflow-wrap: anywhere; }
.cert-card__no span { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.certs__note { margin: 1.5rem 0 0; color: var(--muted); font-size: .92rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--maroon-950); color: rgba(251, 246, 238, .72); padding-top: clamp(3.5rem, 7vw, 5rem); font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__brand img { width: 110px; margin-bottom: 1.25rem; }
.site-footer__brand p { max-width: 24rem; }
.site-footer .fssai { font-size: .85rem; color: var(--gold-300); }
.site-footer .fssai span { color: rgba(251, 246, 238, .55); }
.site-footer__title { font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 1.1rem; }
.site-footer__jsm { color: var(--gold-300); font-family: var(--font-display); font-style: italic; font-weight: 500; }
.site-footer address { font-size: .9rem; line-height: 1.55; }
.site-footer address + address { margin-top: 1rem; }
.site-footer__base-tag { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(251, 246, 238, .5); margin-bottom: .15rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--cream); }
.site-footer__base { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .75rem 2rem; padding-block: 1.5rem 1.75rem; border-top: 1px solid rgba(230, 201, 131, .15); font-size: .85rem; }
.site-footer__base p { margin: 0; }
.site-footer__motto { font-family: var(--font-display); font-style: italic; color: var(--gold-300); }

/* Maker's mark. A one-line signature in the legal row, the way studios sign client work: quiet at rest
   (muted, same size as the copyright text), a gold-foil sweep when the footer comes into view and on hover. */
.maker { display: inline-flex; white-space: nowrap; align-items: center; gap: .6rem; padding-block: .35rem; text-decoration: none; color: rgba(251, 246, 238, .45); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1; transition: color .3s var(--ease); }
.maker__mark {
  width: 84px; height: 9.3px;  /* the mark's own 830.8 : 92 ratio, cap-height of the label */
  background: linear-gradient(100deg, var(--gold-300) 0 38%, #fff3d4 48%, #fffaf0 50%, #fff3d4 52%, var(--gold-300) 62% 100%);
  background-size: 320% 100%; background-position: 100% 0;
  -webkit-mask: url("/assets/img/maiavi-mark-line.svg") center / contain no-repeat;
          mask: url("/assets/img/maiavi-mark-line.svg") center / contain no-repeat;
  opacity: .72; transition: opacity .3s var(--ease);
}
.maker__labs { padding-left: .6rem; border-left: 1px solid rgba(230, 201, 131, .3); color: var(--gold-300); font-size: .6rem; letter-spacing: .34em; opacity: .62; transition: opacity .3s var(--ease); }
.maker:hover, .maker:focus-visible { color: rgba(251, 246, 238, .8); }
.maker:hover .maker__mark, .maker:focus-visible .maker__mark, .maker:hover .maker__labs, .maker:focus-visible .maker__labs { opacity: 1; }
.maker.is-seen .maker__mark { animation: maker-shine 1.6s .3s var(--ease) both; }
.maker:hover .maker__mark, .maker:focus-visible .maker__mark { animation: maker-shine-again 1.1s var(--ease) both; }
.maker-wrap { position: relative; justify-self: end; }
.maker[aria-expanded="true"] { color: rgba(251, 246, 238, .8); }
.maker[aria-expanded="true"] .maker__mark, .maker[aria-expanded="true"] .maker__labs { opacity: 1; }

/* Hover: "Site by" rolls up to "Get yours". */
.maker__by { display: inline-block; height: 1.2em; line-height: 1.2em; overflow: hidden; }
.maker__roll { display: flex; flex-direction: column; text-align: right; transition: transform .45s var(--ease); }
.maker__roll > span { display: block; height: 1.2em; line-height: 1.2em; }
.maker:hover .maker__roll, .maker:focus-visible .maker__roll, .maker[aria-expanded="true"] .maker__roll { transform: translateY(-1.2em); }
.maker__roll > span:last-child { color: var(--gold-300); }

/* Calling card: opens from the signature, nudges visitors to email the studio. */
.maker-card {
  position: absolute; right: 0; bottom: calc(100% + .9rem); z-index: 20;
  width: min(352px, calc(100vw - 32px)); padding: 1.5rem 1.5rem 1.4rem;
  border-radius: 18px; border: 1px solid rgba(230, 201, 131, .3);
  background: radial-gradient(120% 90% at 100% 0%, rgba(230, 201, 131, .14), transparent 60%), var(--maroon-900);
  color: rgba(251, 246, 238, .72); text-align: left; white-space: normal; letter-spacing: normal; text-transform: none;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  opacity: 0; transform: translateY(10px) scale(.97); transform-origin: bottom right;
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
/* "Ha! You found us.": the card pops open, then the words spring up one after the other. */
.maker-card:focus { outline: none; }
.maker-card.is-open { opacity: 1; transform: none; animation: maker-found .5s .05s both; }
@keyframes maker-found { 0% { scale: .94; } 45% { scale: 1.03; } 70% { scale: .995; } 100% { scale: 1; } }
.maker-card::after { content: ""; position: absolute; right: 2.2rem; bottom: -7px; width: 12px; height: 12px; background: var(--maroon-900); border-right: 1px solid rgba(230, 201, 131, .3); border-bottom: 1px solid rgba(230, 201, 131, .3); transform: rotate(45deg); }
.maker-card__close { position: absolute; top: .7rem; right: .7rem; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: rgba(251, 246, 238, .5); font-size: 1.35rem; line-height: 1; cursor: pointer; transition: color .2s, background .2s; }
.maker-card__close:hover { color: var(--cream); background: rgba(251, 246, 238, .08); }
.maker-card .maker-card__found { display: flex; gap: .3em; margin: 0 0 .55rem; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; line-height: 1.2; color: var(--gold-300); }
.maker-card__found span { display: inline-block; transform-origin: 50% 80%; }
.maker-card.is-open .maker-card__found span:first-child { animation: maker-found-word .35s .15s both; }
.maker-card.is-open .maker-card__found span:last-child { animation: maker-found-word .4s .32s both; }
@keyframes maker-found-word { 0% { opacity: 0; transform: translateY(6px) scale(.9); } 55% { opacity: 1; transform: translateY(-2px) scale(1.12) rotate(-3deg); } 100% { opacity: 1; transform: none; } }
.maker-card .maker-card__title { margin: 0 0 .7rem; padding-right: 1.75rem; font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; color: var(--cream); }
.maker-card__title em { font-weight: 500; color: var(--gold-300); }
.maker-card .maker-card__text { margin: 0 0 1.2rem; font-size: .9rem; line-height: 1.55; }
.maker-card__text strong { color: var(--cream); font-weight: 700; }
.maker-card__email { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem .6rem .6rem .9rem; border: 1px solid rgba(230, 201, 131, .3); border-radius: 12px; background: rgba(0, 0, 0, .22); color: var(--cream); font: 600 .9rem var(--font-body); cursor: copy; transition: border-color .2s, background .2s; }
.maker-card__email:hover { border-color: var(--gold-300); background: rgba(0, 0, 0, .3); }
.maker-card__address { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .01em; }
.maker-card__hint { flex: none; padding: .4em .8em; border-radius: 999px; background: rgba(230, 201, 131, .14); color: var(--gold-300); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: background .2s, color .2s; }
.maker-card__email:hover .maker-card__hint { background: rgba(230, 201, 131, .24); }
.maker-card__email.is-copied { border-color: var(--gold-300); }
.maker-card__email.is-copied .maker-card__hint { background: var(--gold-300); color: var(--maroon-950); }
.maker-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; margin-top: 1.1rem; }
.maker-card__btn { display: inline-flex; align-items: center; gap: .4rem; padding: .65rem 1.15rem; border-radius: 999px; background: var(--gold-300); color: var(--maroon-950) !important; font-size: .85rem; font-weight: 700; text-decoration: none; transition: background .2s, transform .2s var(--ease); }
.maker-card__btn:hover { background: var(--gold-100); transform: translateY(-1px); }
.maker-card__link { font-size: .82rem; color: rgba(251, 246, 238, .6); text-decoration: underline !important; text-decoration-color: rgba(251, 246, 238, .3) !important; text-underline-offset: 4px; }
.maker-card__link:hover { color: var(--cream); }

/* Hide and seek: a pair of eyes peeks over the footer's bottom divider, above the signature (now and then:
   look left, right, blink, duck). Hover the signature: they pop up and watch the cursor. Card open: they hide. */
.site-footer__base { position: relative; }
.peeker { position: absolute; left: var(--peek-x, calc(100% - 6rem)); bottom: calc(100% + 1px); width: 28px; height: 13px; margin-left: -14px; overflow: hidden; pointer-events: none; }
.peeker__eyes { display: flex; justify-content: center; gap: 3px; padding-top: 2px; transform: translateY(115%); animation: peek 8s 2s infinite; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.peeker__eye { display: grid; place-items: center; width: 9px; height: 10px; border-radius: 50%; background: var(--cream); animation: peek-blink 8s 2s infinite; }
.peeker__eye i { width: 4.5px; height: 4.5px; border-radius: 50%; background: var(--maroon-950); translate: var(--px, 0px) var(--py, 0px); animation: peek-look 8s 2s infinite; transition: translate .12s linear; }
@keyframes peek { 0%, 56% { transform: translateY(115%); } 60%, 90% { transform: translateY(0); } 94%, 100% { transform: translateY(115%); } }
@keyframes peek-look { 0%, 63% { transform: none; } 67%, 72% { transform: translateX(-2px); } 76%, 81% { transform: translateX(2px); } 84%, 100% { transform: none; } }
@keyframes peek-blink { 0%, 85% { transform: none; } 86.5% { transform: scaleY(.1); } 88%, 100% { transform: none; } }
.site-footer__base:has(.maker:hover) .peeker__eyes, .site-footer__base:has(.maker:focus-visible) .peeker__eyes { animation: none; transform: translateY(0); }
.site-footer__base:has(.maker:hover) :is(.peeker__eye, .peeker__eye i), .site-footer__base:has(.maker:focus-visible) :is(.peeker__eye, .peeker__eye i) { animation: none; }
.site-footer__base:has(.maker[aria-expanded="true"]) .peeker__eyes { animation: none; transform: translateY(115%); }

/* Phones: no hover, and the stacked row puts the main divider far from the signature. So the signature gets
   its own short hairline for the eyes to peek over, and once it's in view a loop plays: eyes pop up and look
   down at it while the label flips to "Get yours", then both reset. */
@media (max-width: 760px) {
  .maker-wrap { margin-top: 1.1rem; padding-top: 1rem; }
  .maker-wrap::before { content: ""; position: absolute; top: 0; left: 50%; width: 132px; margin-left: -66px; height: 1px; background: linear-gradient(90deg, transparent, rgba(230, 201, 131, .45), transparent); }
  .peeker { bottom: auto; top: var(--peek-top, 0px); }
  .peeker__eyes, .peeker__eye, .peeker__eye i { animation: none; }
  .site-footer__base:has(.maker.is-seen) .peeker__eyes { animation: peek-m 6s .5s infinite; }
  .site-footer__base:has(.maker.is-seen) .peeker__eye { animation: peek-m-blink 6s .5s infinite; }
  .site-footer__base:has(.maker.is-seen) .peeker__eye i { animation: peek-m-look 6s .5s infinite; }
  .maker.is-seen .maker__roll { animation: maker-roll-m 6s .5s infinite; }
  .site-footer__base:has(.maker[aria-expanded="true"]) .peeker__eyes { animation: none; transform: translateY(115%); }
  .maker[aria-expanded="true"] .maker__roll { animation: none; }
}
@keyframes peek-m { 0%, 6% { transform: translateY(115%); } 12%, 62% { transform: translateY(0); } 68%, 100% { transform: translateY(115%); } }
@keyframes peek-m-look { 0%, 14% { transform: none; } 18%, 38% { transform: translateY(2px); } 42%, 47% { transform: translate(-2px, 1px); } 51%, 56% { transform: translate(2px, 1px); } 60%, 100% { transform: none; } }
@keyframes peek-m-blink { 0%, 33% { transform: none; } 34.5% { transform: scaleY(.1); } 36%, 100% { transform: none; } }
@keyframes maker-roll-m { 0%, 16% { transform: none; } 21%, 62% { transform: translateY(-1.2em); } 67%, 100% { transform: none; } }

@keyframes maker-shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes maker-shine-again { from { background-position: 100% 0; } to { background-position: 0 0; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .site-footer__base { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: .6rem; }
  .site-footer__motto { order: -1; }
  .maker-wrap { justify-self: center; }
  .maker-card { right: 50%; transform: translate(50%, 10px) scale(.97); transform-origin: bottom center; }
  .maker-card.is-open { transform: translate(50%, 0) scale(1); }
  .maker-card::after { right: calc(50% - 6px); }
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.base h3 span { display: block; font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); margin-top: .2rem; }
