/* Memento Mortuary Tools — storefront design system */
:root {
  --white: #ffffff;
  --paper: #f5f5f7;
  --paper-2: #fbfbfd;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --black: #000000;
  --night: #0b0b0c;
  --night-2: #161617;
  --silver-1: #f1f2f4;
  --silver-2: #d7d9dc;
  --silver-3: #a7aaaf;
  --silver-4: #6f7277;
  --silver-grad: linear-gradient(135deg, #fdfdfd 0%, #d9dbde 35%, #f4f5f6 55%, #b5b8bc 100%);
  --silver-text: linear-gradient(180deg, #ffffff 0%, #c9ccd1 55%, #8d9196 100%);
  --arterial: #f4f1ec;
  --arterial-shade: #ddd7cf;
  --ok: #30d158;
  --warn: #ffb340;
  --alert: #ff453a;
  --link: #0066cc;
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1080px;
  --wide: 1280px;
  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --nav-h: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--max), 100% - 44px); margin-inline: auto; }
.wrap-wide { width: min(var(--wide), 100% - 32px); margin-inline: auto; }

/* ── Type ─────────────────────────────────────────────────────────── */
.eyebrow { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); margin: 0 0 8px; }
.eyebrow.silver { background: var(--silver-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow.soon { color: #bf4800; }
.display { font-size: clamp(48px, 9vw, 96px); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; margin: 0; }
.headline { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.06; font-weight: 700; letter-spacing: -0.03em; margin: 0; }
.title { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; margin: 0; }
.subhead { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; font-weight: 500; letter-spacing: -0.015em; color: var(--muted); margin: 12px 0 0; }
.lede { font-size: 21px; line-height: 1.38; color: var(--ink-2); }
.silver-text { background: var(--silver-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ── Buttons & links ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 980px; border: 1px solid transparent;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e8e8ed; }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.on-dark .btn-outline { color: #fff; }
.on-dark .btn-outline:hover { background: #fff; color: #000; border-color: #fff; }
.btn-silver { background: var(--silver-grad); color: #111; border-color: rgba(255,255,255,.6); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 1px 2px rgba(0,0,0,.15); }
.btn-silver:hover { filter: brightness(1.04); }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; font-size: 18px; padding: 0 30px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { color: var(--link); font-weight: 400; }
.link:hover { text-decoration: underline; }
.on-dark .link { color: #2997ff; }
.link-arrow::after { content: " ›"; }
.cta-row { display: flex; gap: 14px 22px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 22px; }

/* ── Announcement + nav ───────────────────────────────────────────── */
.announce { background: var(--paper); color: var(--ink-2); font-size: 14px; text-align: center; padding: 10px 16px; letter-spacing: -0.01em; }
.announce a { color: var(--link); }
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(251, 251, 253, .8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.nav.dark { background: rgba(22, 22, 23, .8); border-bottom-color: rgba(255,255,255,.08); color: #f5f5f7; }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: baseline; gap: 7px; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; white-space: nowrap; }
.brand-mark { display: inline-block; width: 18px; height: 18px; align-self: center; }
.brand small { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.nav-links { display: flex; gap: 26px; margin: 0 auto; padding: 0; list-style: none; font-size: 12.5px; letter-spacing: -0.005em; }
.nav-links a { opacity: .82; transition: opacity .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.icon-btn { background: none; border: 0; padding: 4px; display: inline-flex; position: relative; opacity: .85; }
.icon-btn:hover { opacity: 1; }
.icon-btn svg { width: 18px; height: 18px; }
.bag-count {
  position: absolute; right: -6px; bottom: -4px; min-width: 15px; height: 15px; padding: 0 4px;
  border-radius: 8px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 600; line-height: 15px; text-align: center;
}
.nav.dark .bag-count { background: #fff; color: #000; }
.bag-count[hidden] { display: none; }
.menu-btn { display: none; }
@media (max-width: 833px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0; margin: 0;
    background: rgba(251,251,253,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 8px 32px 28px; font-size: 24px; font-weight: 600;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav.dark .nav-links { background: rgba(22,22,23,.97); border-color: #333; }
  .nav-links a { display: block; padding: 10px 0; opacity: 1; }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .menu-btn { display: inline-flex; }
  .nav-inner { justify-content: space-between; }
  .brand small { display: none; }
}

/* Product sub-nav (Apple-style sticky local nav) */
.subnav {
  position: sticky; top: var(--nav-h); z-index: 40; height: 52px;
  background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.subnav .wrap { height: 100%; display: flex; align-items: center; gap: 22px; }
.subnav-title { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-right: auto; }
.subnav a:not(.btn) { font-size: 12px; color: var(--ink-2); }
.subnav .btn { min-height: 28px; padding: 0 12px; font-size: 12px; }
@media (max-width: 600px) { .subnav a:not(.btn) { display: none; } }

/* ── Sections ─────────────────────────────────────────────────────── */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-tight { padding: clamp(48px, 7vw, 80px) 0; }
.bg-paper { background: var(--paper); }
.bg-night { background: var(--black); color: #f5f5f7; }
.bg-night .muted, .bg-night .subhead { color: #a1a1a6; }
.bg-arterial { background: var(--arterial); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; text-align: center; padding: clamp(56px, 8vw, 96px) 0 0; }
.hero.bg-night::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 72%, rgba(255,255,255,.13), transparent 70%);
}
.hero .display { position: relative; }
.hero-visual { position: relative; display: grid; place-items: center; padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 7vw, 88px); }
.hero-visual .device { width: min(500px, 74vw); height: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } * { scroll-behavior: auto !important; } }

/* ── Tiles (Apple's two-up promo grid) ────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 12px; }
.tile {
  position: relative; overflow: hidden; min-height: 560px; border-radius: 0;
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 52px 24px 0;
}
.tile .title { font-size: clamp(28px, 3.4vw, 40px); }
.tile .subhead { font-size: 19px; }
.tile-art { margin-top: auto; width: calc(100% + 48px); margin-inline: -24px; height: 320px; overflow: hidden; }
.tile-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover .tile-art img { transform: scale(1.03); }
.tile-art svg { height: 100%; width: auto; margin: 0 auto; }
@media (max-width: 833px) { .tiles { grid-template-columns: 1fr; padding: 0; gap: 0; } .tile { min-height: 480px; } }

/* ── Category cards (photo tiles; horizontal scroll on narrow screens) ── */
.cat-scroller { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.cat-card { display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.cat-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #e8e8ed; box-shadow: 0 0 0 1px rgba(0,0,0,.04); transition: box-shadow .35s var(--ease); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cat-media.render { background: radial-gradient(85% 70% at 50% 42%, #ffffff 0%, #f4f1ec 55%, #e4ded5 100%); }
.cat-media.render img { object-fit: contain; padding: 16%; }
.cat-media.glyph { background: linear-gradient(180deg, #fafafa, #ececee); display: grid; place-items: center; }
.cat-media.glyph svg { width: 40%; height: auto; }
.cat-card:hover .cat-media { box-shadow: 0 18px 40px rgba(0,0,0,.10); }
.cat-card:hover .cat-media img { transform: scale(1.04); }
.cat-name { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.cat-desc { font-size: 14px; color: var(--muted); line-height: 1.35; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-count { font-size: 12px; color: var(--faint); margin-top: 6px; }
@media (max-width: 1000px) {
  .cat-scroller { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(200px, 42%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .cat-scroller::-webkit-scrollbar { display: none; }
  .cat-card { scroll-snap-align: start; }
}
@media (max-width: 560px) { .cat-scroller { grid-auto-columns: 66%; } }

/* ── Product cards ────────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.card {
  position: relative; background: #fff; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  box-shadow: 0 0 0 1px rgba(0,0,0,.04);
}
.bg-white .card, .card.on-white { background: var(--paper); box-shadow: none; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.card-media { aspect-ratio: 1 / 1; display: grid; place-items: center; background: linear-gradient(180deg, #fafafa, #f0f0f2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media svg { width: 58%; height: 58%; }
img.cnry-art, .card-media img.cnry-art, .gallery-main img.cnry-art, .bag-thumb img.cnry-art { object-fit: contain; padding: 12%; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-badge { font-size: 12px; font-weight: 600; color: #bf4800; letter-spacing: 0; }
.card-name { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.card-tag { font-size: 14px; color: var(--muted); line-height: 1.35; }
.card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-size: 17px; font-weight: 500; }
.price s { color: var(--faint); font-weight: 400; margin-left: 6px; font-size: 15px; }
.chip-btn { border: 0; background: var(--ink); color: #fff; border-radius: 980px; font-size: 13px; font-weight: 500; padding: 7px 14px; transition: background .2s; }
.chip-btn:hover { background: #000; }
.chip-btn[disabled] { background: var(--line); color: var(--muted); cursor: default; }
.stock-note { font-size: 12px; color: #bf4800; }

/* ── Feature / value grid ─────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.feature { background: #fff; border-radius: var(--radius-lg); padding: 34px 30px; }
.bg-night .feature { background: var(--night-2); }
.feature-icon { width: 44px; height: 44px; margin-bottom: 22px; }
.feature h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.17; letter-spacing: -0.02em; }
.feature p { margin: 0; color: var(--muted); font-size: 17px; }
.bg-night .feature p { color: #a1a1a6; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.values h3 { font-size: 28px; margin: 18px 0 8px; letter-spacing: -0.025em; }
.values p { margin: 0 auto; max-width: 30ch; color: var(--muted); }
.values svg { width: 40px; height: 40px; margin: 0 auto; }
@media (max-width: 833px) { .values { grid-template-columns: 1fr; } }

/* Brand strip */
.brand-strip { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.brand-pill { display: flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 980px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-soft); font-weight: 600; letter-spacing: -0.01em; transition: box-shadow .2s; }
.brand-pill:hover { box-shadow: inset 0 0 0 1px var(--silver-3); }
.brand-pill img { height: 22px; width: auto; }

/* ── Forms ────────────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; font-size: 17px; transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: #0071e3; box-shadow: 0 0 0 4px rgba(0,113,227,.15); }
.bg-night .input { background: #1d1d1f; border-color: #424245; color: #f5f5f7; }
.notify-form { display: flex; gap: 10px; max-width: 480px; margin: 26px auto 0; }
.notify-form .input { border-radius: 980px; padding-inline: 22px; }
.notify-msg { min-height: 22px; margin-top: 12px; font-size: 14px; }
.notify-msg.ok { color: #1d8a3a; }
.bg-night .notify-msg.ok { color: var(--ok); }
.notify-msg.err { color: #d70015; }
@media (max-width: 520px) { .notify-form { flex-direction: column; } }

/* ── Store page ───────────────────────────────────────────────────── */
.store-head { padding: 64px 0 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 32px; }
.pill {
  border: 0; background: var(--paper); border-radius: 980px; padding: 9px 18px; font-size: 14px; font-weight: 500;
  transition: background .2s, color .2s;
}
.pill:hover { background: #e8e8ed; }
.pill[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filters .spacer { flex: 1; }
.filters .select, .filters .input { min-height: 40px; width: auto; font-size: 14px; border-radius: 980px; padding: 8px 16px; }
.filters .input { min-width: 220px; }
@media (max-width: 640px) { .filters .input, .filters .select { width: 100%; } .filters .spacer { display: none; } }
.empty { text-align: center; color: var(--muted); padding: 80px 0; }

/* ── Product detail ───────────────────────────────────────────────── */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); padding: 48px 0 96px; align-items: start; }
.gallery-main { aspect-ratio: 1 / 1; border-radius: var(--radius-lg); background: linear-gradient(180deg, #fafafa, #ececee); display: grid; place-items: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main svg { width: 55%; height: 55%; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 72px; height: 72px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--paper); }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { position: sticky; top: calc(var(--nav-h) + 24px); }
.pdp-info h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.03em; margin: 4px 0 8px; }
.pdp-price { font-size: 24px; font-weight: 500; margin: 18px 0 6px; }
.pdp-price s { color: var(--faint); font-size: 19px; margin-left: 8px; font-weight: 400; }
.stock { font-size: 14px; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1d8a3a; }
.stock.low::before { background: #f56300; }
.stock.out::before { background: var(--faint); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 980px; height: 48px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; }
.qty input { width: 44px; border: 0; text-align: center; font-size: 17px; background: none; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: 12px; margin: 26px 0; }
.buy-row .btn { flex: 1; }
.desc { color: var(--ink-2); border-top: 1px solid var(--line-soft); padding-top: 22px; }
.desc p { margin: 0 0 14px; }
.meta-list { list-style: none; padding: 0; margin: 22px 0 0; font-size: 14px; color: var(--muted); display: grid; gap: 6px; }
@media (max-width: 833px) { .pdp { grid-template-columns: 1fr; padding-top: 24px; } .pdp-info { position: static; } }

/* ── Bag ──────────────────────────────────────────────────────────── */
.bag { display: grid; grid-template-columns: 1fr 360px; gap: 48px; padding: 56px 0 96px; align-items: start; }
.bag-line { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.bag-line:first-child { border-top: 1px solid var(--line-soft); }
.bag-thumb { width: 120px; height: 120px; border-radius: 14px; background: var(--paper); display: grid; place-items: center; overflow: hidden; }
.bag-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bag-thumb svg { width: 60%; height: 60%; }
.bag-line h3 { margin: 0 0 4px; font-size: 21px; letter-spacing: -0.02em; }
.bag-line .remove { background: none; border: 0; color: var(--link); padding: 0; font-size: 14px; margin-top: 12px; }
.bag-line .line-total { font-size: 19px; font-weight: 600; text-align: right; }
.summary { background: var(--paper); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: calc(var(--nav-h) + 24px); }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; color: var(--ink-2); }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; font-size: 21px; font-weight: 600; color: var(--ink); }
.summary .err { color: #d70015; font-size: 14px; min-height: 20px; margin: 10px 0 0; }
@media (max-width: 833px) {
  .bag { grid-template-columns: 1fr; }
  .bag-line { grid-template-columns: 84px 1fr; }
  .bag-thumb { width: 84px; height: 84px; }
  .bag-line .line-total { grid-column: 2; text-align: left; }
}

/* ── Footer ───────────────────────────────────────────────────────── */
.footer { background: var(--paper); color: var(--muted); font-size: 12px; padding: 40px 0 28px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer h4 { margin: 0 0 10px; color: var(--ink); font-size: 12px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { text-decoration: underline; color: var(--ink); }
.footer-note { padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 700px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }

/* ── Toast ────────────────────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; z-index: 100;
  background: rgba(29,29,31,.92); color: #fff; padding: 12px 20px; border-radius: 980px; font-size: 15px;
  backdrop-filter: blur(12px); transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none;
  display: flex; gap: 12px; align-items: center; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: #2997ff; }

/* ── Scroll reveal ────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.skeleton { background: linear-gradient(90deg, #f0f0f2 0%, #f7f7f9 50%, #f0f0f2 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }
