/* =========================================================================
   $PLOY · Ploy the Hippo — design system + components
   Palette: slate grey · watermelon red · leaf green · cream · ink
   Spacing: strict 8px scale (4 = half step)
   ========================================================================= */

/* ---------- Fonts (self-hosted, subset) ---------- */
@font-face { font-family: "Bricolage Grotesque"; src: url("../assets/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../assets/fonts/jbmono.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Lilita One"; src: url("../assets/fonts/lilita.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* colour */
  --ink: #161B22;
  --slate-900: #1E242C;
  --slate-800: #262D37;
  --slate-700: #3A4350;
  --slate-600: #4B5562;
  --slate-500: #5F6B7A;
  --ploy: #6B7684;
  --slate-300: #C9D0D8;
  --slate-200: #E2E6EB;
  --slate-100: #F1F3F5;
  --white: #FFFFFF;
  --melon-700: #A51E2D;
  --melon-600: #C42536;
  --melon-500: #E23B4A;
  --melon-100: #FDECEA;
  --leaf-800: #17552A;
  --leaf-700: #1F6F31;
  --leaf-600: #2B8A3E;
  --leaf-100: #E3F2E1;
  --cream: #FFF8EC;
  --cream-2: #FBF0DC;
  --on-dark: #F4F6F8;
  --on-dark-muted: #AEB7C2;
  --line: rgba(22, 27, 34, .10);
  --line-strong: rgba(22, 27, 34, .16);
  --line-dark: rgba(255, 255, 255, .12);

  /* spacing — 8px scale */
  --s-0: 4px; --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 40px;
  --s-6: 48px; --s-8: 64px; --s-10: 80px; --s-12: 96px; --s-16: 128px;

  /* radius */
  --r-sm: 8px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;

  /* shadow */
  --sh-1: 0 1px 2px rgba(22,27,34,.06), 0 1px 1px rgba(22,27,34,.04);
  --sh-2: 0 2px 4px rgba(22,27,34,.05), 0 8px 24px -4px rgba(22,27,34,.10);
  --sh-3: 0 4px 8px rgba(22,27,34,.06), 0 24px 48px -12px rgba(22,27,34,.22);
  --ring: 0 0 0 3px var(--white), 0 0 0 5px var(--leaf-600);

  /* type */
  --f-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --t-xs: .75rem;      /* 12 */
  --t-sm: .875rem;     /* 14 */
  --t-base: 1rem;      /* 16 */
  --t-md: 1.0625rem;   /* 17 */
  --t-lg: clamp(1.0625rem, 1rem + .3vw, 1.25rem);      /* 17–20 */
  --t-xl: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);      /* 20–24 */
  --t-h3: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); /* 18–21 */
  --t-h2: clamp(2rem, 1.55rem + 2vw, 3.25rem);          /* 32–52 */
  --t-h1: clamp(2.5rem, 1.8rem + 3.4vw, 4.5rem);        /* 40–72 */

  --maxw: 1200px;
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + var(--s-2)); }
body {
  margin: 0; font-family: var(--f-body); font-size: var(--t-base); line-height: 1.6; color: var(--slate-700);
  background: var(--cream); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
img, svg, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--f-display); color: var(--ink); margin: 0; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }
h1 { font-size: var(--t-h1); line-height: 1.02; }
h2 { font-size: var(--t-h2); line-height: 1.06; }
h3 { font-size: var(--t-h3); line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
strong, b { font-weight: 650; color: var(--ink); }
code { font-family: var(--f-mono); }
.mono { font-family: var(--f-mono); font-weight: 600; letter-spacing: 0; }
::selection { background: var(--melon-500); color: var(--white); }

.i { width: 1.125em; height: 1.125em; flex: none; display: inline-block; vertical-align: -0.18em; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--leaf-600); outline-offset: 3px; border-radius: var(--r-sm); }
.section--dark :focus-visible, .join :focus-visible, .footer :focus-visible, .lb :focus-visible { outline-color: #8FD19E; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--s-3) * 2); margin: 0 auto; padding: 0 var(--s-3); }
@media (max-width: 480px) { .wrap { padding: 0 var(--s-2); } }

.skip { position: absolute; left: var(--s-2); top: -100px; z-index: 200; background: var(--ink); color: var(--white); padding: var(--s-1) var(--s-2); border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.skip:focus { top: var(--s-2); }

/* ---------- Buttons ---------- */
.btn {
  --bh: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-1);
  min-height: var(--bh); padding: 0 var(--s-3); border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-family: var(--f-body); font-weight: 600; font-size: var(--t-base); line-height: 1; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn .i { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { --bh: 40px; padding: 0 var(--s-2); font-size: var(--t-sm); }
.btn--lg { --bh: 56px; padding: 0 28px; font-size: var(--t-md); }
.btn--block { width: 100%; }
.btn--primary { background: var(--ink); color: var(--white); box-shadow: var(--sh-2); }
.btn--primary:hover { background: var(--slate-800); transform: translateY(-2px); box-shadow: var(--sh-3); }
.btn--melon { background: var(--melon-600); color: var(--white); box-shadow: 0 8px 20px -8px rgba(196,37,54,.55); }
.btn--melon:hover { background: var(--melon-700); transform: translateY(-2px); }
.btn--secondary { background: var(--white); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--sh-1); }
.btn--secondary:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--slate-100); transform: translateY(-1px); }
.btn--tertiary { --bh: 48px; padding: 0 var(--s-1); background: none; color: var(--slate-700); border-radius: var(--r-sm); }
.btn--tertiary .i:last-child { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.btn--tertiary:hover { color: var(--ink); }
.btn--tertiary:hover .i:last-child { transform: translate(2px, -2px); }
.btn--xchat .i { color: #8FD19E; }

.iconrow { display: flex; gap: var(--s-1); flex-wrap: wrap; }
.iconbtn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--r-pill);
  background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--sh-1);
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.iconbtn .i { width: 18px; height: 18px; }
.iconbtn:hover { transform: translateY(-2px); background: var(--ink); color: var(--white); border-color: var(--ink); }
.iconrow--dark .iconbtn { background: rgba(255,255,255,.06); color: var(--on-dark); border-color: var(--line-dark); box-shadow: none; }
.iconrow--dark .iconbtn:hover { background: var(--white); color: var(--ink); }

.textlink { display: inline-flex; align-items: center; gap: var(--s-0); color: var(--leaf-700); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.textlink .i { width: 14px; height: 14px; }
.textlink:hover { color: var(--ink); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 100; height: var(--nav-h); transition: background-color .25s, box-shadow .25s, border-color .25s; border-bottom: 1px solid transparent; }
/* blur lives on a pseudo-element so the fixed mobile menu is not trapped by backdrop-filter */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: transparent; transition: background-color .25s; pointer-events: none; }
.nav.is-scrolled::before { background: rgba(255, 248, 236, .82); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(22,27,34,.4); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: var(--s-3); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; border-radius: var(--r-sm); }
.brand__mark { width: 40px; height: 40px; }
.brand__word { font-family: var(--f-display); font-weight: 800; font-size: 1.375rem; letter-spacing: -0.03em; line-height: 1; }
.brand__s { color: var(--melon-600); }
.brand--light { color: var(--white); }
.brand--light .brand__s { color: var(--melon-500); }
.nav__links { display: flex; align-items: center; gap: var(--s-0); }
.nav__links > a {
  position: relative; padding: var(--s-1) 12px; border-radius: var(--r-pill); text-decoration: none;
  font-size: var(--t-sm); font-weight: 550; color: var(--slate-700); transition: color .2s, background-color .2s;
}
.nav__links > a:hover { color: var(--ink); background: rgba(22,27,34,.05); }
.nav__links > a.is-active { color: var(--ink); background: var(--white); box-shadow: var(--sh-1); }
.nav__links > a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--melon-600); }
.nav__mobile-extra { display: none; }
.nav__cta { flex: none; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: var(--white); border-radius: var(--r-pill); padding: 0; position: relative; }
.burger span { position: absolute; left: 13px; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__links > a { padding: var(--s-1) 10px; }
}
@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .nav { border-bottom-color: var(--line); }
  .nav::before { background: rgba(255, 248, 236, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  body.menu-open .nav::before { background: var(--cream); }
  .brand__mark { width: 36px; height: 36px; }
  .burger { display: block; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-2) var(--s-3) var(--s-4);
    background: var(--cream); border-top: 1px solid var(--line); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s;
  }
  .nav__links.open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--ease), transform .22s var(--ease); }
  .nav__links > a { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); padding: var(--s-2) 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__links > a:hover { background: none; }
  .nav__links > a.is-active { background: none; box-shadow: none; color: var(--melon-600); }
  .nav__links > a.is-active::after { display: none; }
  .nav__mobile-extra { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
  .nav__mobile-extra .iconrow { justify-content: center; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Generic section ---------- */
.section { padding: var(--s-16) 0; position: relative; }
@media (max-width: 768px) { .section { padding: var(--s-10) 0; } }
.section--cream { background: var(--cream); }
.section--cream2 { background: var(--cream-2); }
.section--paper { background: var(--white); }
.section--leaf { background: var(--leaf-100); }
.section--dark { background: var(--slate-900); color: var(--on-dark-muted); }
.section--dark h2, .section--dark h3, .section--dark b, .section--dark strong { color: var(--white); }

.shead { max-width: 720px; margin-bottom: var(--s-8); }
.shead--center { margin-left: auto; margin-right: auto; text-align: center; }
.shead h2 { margin-top: var(--s-2); }
.shead .sub { margin-top: var(--s-2); font-size: var(--t-lg); line-height: 1.55; color: var(--slate-500); }
.section--dark .shead .sub { color: var(--on-dark-muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-1); margin: 0;
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf-700);
}
.eyebrow::before { content: ""; width: 16px; height: 2px; border-radius: 2px; background: var(--melon-500); }
.section--dark .eyebrow, .join .eyebrow { color: #8FD19E; }
.asof { display: inline-flex; align-items: center; gap: var(--s-1); padding: 6px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-dark); font-size: var(--t-sm); font-weight: 500; color: var(--on-dark); }
.asof .i { width: 16px; height: 16px; color: #8FD19E; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; margin-top: calc(var(--nav-h) * -1); padding-top: calc(var(--nav-h) + var(--s-8));
  background:
    radial-gradient(900px 520px at 85% 20%, rgba(43,138,62,.10), transparent 60%),
    radial-gradient(700px 480px at 8% 0%, rgba(226,59,74,.07), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, #FFF4E0 100%);
}
.hero::before { /* grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.09 0 0 0 0 0.11 0 0 0 0 0.13 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--s-8); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 12px; border-radius: var(--r-pill);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-1);
  font-size: var(--t-sm); font-weight: 600; color: var(--slate-700);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf-600); box-shadow: 0 0 0 4px rgba(43,138,62,.18); }
.hero h1 { margin-top: var(--s-3); }
.hero h1 .hl { display: block; margin-top: var(--s-1); font-size: .56em; line-height: 1.12; letter-spacing: -0.02em; color: var(--slate-600); font-weight: 700; }
.hero h1 .hl::first-line { color: inherit; }
.hero__lead { margin-top: var(--s-3); max-width: 540px; font-size: var(--t-lg); line-height: 1.6; color: var(--slate-700); }

.ca {
  margin-top: var(--s-4); display: flex; align-items: center; gap: var(--s-1); max-width: 560px;
  padding: 6px 6px 6px var(--s-2); border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line-strong); box-shadow: var(--sh-1);
}
.ca__label { flex: none; font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em; color: var(--white); background: var(--ink); padding: 4px 8px; border-radius: 6px; }
.ca__addr { flex: 1; min-width: 0; font-size: var(--t-sm); font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -0.01em; }
.ca__btn {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 10px; border: 0;
  background: var(--slate-100); color: var(--ink); font-size: var(--t-sm); font-weight: 600; transition: background-color .2s, color .2s;
}
.ca__btn .i { width: 16px; height: 16px; }
.ca__btn:hover { background: var(--slate-200); }
.ca__btn.copied { background: var(--leaf-600); color: var(--white); }
.ca__btn--lg { height: 48px; padding: 0 var(--s-3); border-radius: var(--r-md); background: var(--white); font-size: var(--t-base); }
.ca__btn--lg:hover { background: var(--slate-100); }

.hero__ctas { margin-top: var(--s-3); display: flex; flex-wrap: wrap; align-items: center; gap: 12px var(--s-1); }
.hero__ctas .btn--tertiary { margin-left: var(--s-1); }
.hero__social { margin-top: var(--s-3); display: flex; align-items: center; gap: var(--s-2); }
.hero__social-lbl { font-size: var(--t-sm); font-weight: 500; color: var(--slate-500); }

.hero__art { position: relative; justify-self: center; width: 100%; max-width: 480px; }
.hero__halo { position: absolute; inset: 6% -6% -6% 6%; border-radius: var(--r-xl); background: linear-gradient(135deg, var(--leaf-600), var(--leaf-700)); transform: rotate(3deg); opacity: .95; }
.hero__halo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(rgba(255,255,255,.16) 1.2px, transparent 1.3px); background-size: 16px 16px; }
.hero__frame { position: relative; margin: 0; padding: 12px; border-radius: var(--r-xl); background: var(--white); box-shadow: var(--sh-3); transform: rotate(-1.5deg); }
.hero__frame img { width: 100%; aspect-ratio: 1; border-radius: calc(var(--r-xl) - 12px); background: var(--slate-100); }
.hero__frame figcaption { display: flex; align-items: center; gap: 10px; padding: 14px 8px 4px; font-size: var(--t-sm); font-weight: 500; color: var(--slate-700); }
.tag { flex: none; padding: 3px 10px; border-radius: var(--r-pill); background: var(--melon-600); color: var(--white); font-size: var(--t-xs); font-weight: 700; letter-spacing: .02em; }
.hero__sticker { position: absolute; top: -18px; right: -10px; width: 72px; height: 72px; display: grid; place-items: center; font-size: 40px; border-radius: 50%; background: var(--white); box-shadow: var(--sh-2); transform: rotate(12deg); }

.trust { list-style: none; margin: var(--s-10) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: var(--sh-1); }
.trust li + li { border-left: 1px solid var(--line); }
.trust a { height: 100%; display: flex; align-items: center; gap: 12px; padding: var(--s-2) var(--s-3); text-decoration: none; font-size: var(--t-sm); color: var(--slate-500); line-height: 1.35; border-radius: var(--r-lg); transition: background-color .2s; }
.trust a:hover { background: rgba(255,255,255,.9); }
.trust b { display: block; font-family: var(--f-display); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.trust__ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--slate-100); color: var(--ink); }
.trust__ico .i { width: 20px; height: 20px; }
.trust__asof { margin-top: var(--s-1); text-align: right; font-size: var(--t-xs); color: var(--slate-500); }

.marquee { position: relative; margin-top: var(--s-8); background: var(--ink); color: var(--white); overflow: hidden; padding: 14px 0; }
.marquee__track { display: flex; align-items: center; gap: var(--s-4); width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-weight: 700; font-size: var(--t-base); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.marquee__track span:nth-child(8n+1) { color: #FF8A94; }
.marquee__track i { width: 6px; height: 6px; border-radius: 50%; background: var(--leaf-600); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-8); }
  .hero__copy { max-width: 640px; }
  .hero__art { max-width: 440px; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .hero { padding-top: calc(var(--nav-h) + var(--s-4)); }
  .hero h1 .hl { font-size: .6em; }
  .hero__ctas .btn--lg { width: 100%; }
  .hero__ctas .btn--tertiary { width: 100%; }
  .hero__social { flex-wrap: wrap; gap: 12px; }
  .ca { padding-left: 12px; }
  .ca .ca__btn span { display: none; }
  .ca .ca__btn { width: 40px; padding: 0; justify-content: center; }
  .hero__art { max-width: min(320px, calc(100% - 32px)); }
  .hero__halo { inset: 5% -5% -5% 5%; }
  .hero__sticker { width: 56px; height: 56px; font-size: 30px; right: -4px; }
  .trust { grid-template-columns: minmax(0, 1fr); margin-top: var(--s-6); }
  .trust li + li { border-left: 0; border-top: 1px solid var(--line); }
  .trust a { padding: 12px var(--s-2); }
  .trust b { display: inline; font-size: 1.0625rem; margin-right: 4px; }
  .trust__asof { text-align: center; }
}

/* ---------- Who ---------- */
.who { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s-8); align-items: start; }
.who .shead { margin-bottom: var(--s-4); }
.prose { display: grid; gap: var(--s-2); font-size: var(--t-md); max-width: 600px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.fact {
  display: flex; gap: var(--s-2); align-items: flex-start; padding: var(--s-3); border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.fact:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-strong); }
.fact b { display: block; font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 2px; }
.fact span:not(.fact__ico) { display: block; font-weight: 600; color: var(--ink); line-height: 1.4; }
.fact__ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--slate-100); color: var(--slate-700); }
.fact__ico .i { width: 20px; height: 20px; }
.fact__ico--melon { background: var(--melon-100); color: var(--melon-600); }
@media (max-width: 960px) { .who { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .facts { grid-template-columns: minmax(0, 1fr); } .fact { padding: var(--s-2); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.stat {
  position: relative; display: flex; flex-direction: column; padding: var(--s-4); border-radius: var(--r-lg); text-decoration: none;
  background: var(--slate-800); border: 1px solid var(--line-dark); color: var(--on-dark-muted); overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s, background-color .25s;
}
a.stat:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.28); background: #2B333E; }
.stat__plat { display: inline-flex; align-items: center; gap: var(--s-1); font-size: var(--t-sm); font-weight: 500; color: var(--on-dark-muted); }
.stat__plat .i { width: 16px; height: 16px; color: var(--white); }
.stat__num { margin-top: var(--s-3); font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 2.4rem + 3vw, 4.5rem); line-height: 1; letter-spacing: -0.04em; color: var(--white); font-variant-numeric: tabular-nums; }
.stat__lbl { margin-top: var(--s-1); font-size: var(--t-lg); font-weight: 600; color: var(--on-dark); }
.stat__sub { margin-top: var(--s-0); font-size: var(--t-sm); color: var(--on-dark-muted); }
.stat__link { margin-top: auto; padding-top: var(--s-3); display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-sm); font-weight: 600; color: #8FD19E; }
.stat__link .i { width: 14px; height: 14px; transition: transform .2s var(--ease); }
a.stat:hover .stat__link .i { transform: translate(2px, -2px); }
.stat--total { background: linear-gradient(150deg, var(--melon-600), #8E1824); border-color: transparent; }
.stat--total .stat__plat, .stat--total .stat__sub { color: rgba(255,255,255,.85); }
.stat--total::after { content: ""; position: absolute; right: -48px; bottom: -48px; width: 180px; height: 180px; border-radius: 50%; border: 24px solid rgba(255,255,255,.08); }
@media (max-width: 860px) { .stats { grid-template-columns: minmax(0, 1fr); } .stat { padding: var(--s-3); } }
/* ---------- Viral everywhere (inside #stats) ---------- */
.viral { margin-top: var(--s-10); padding-top: var(--s-8); border-top: 1px solid var(--line-dark); }
.viral__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-4); align-items: end; margin-bottom: var(--s-4); }
.viral__head h3 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); line-height: 1.1; letter-spacing: -0.03em; color: var(--white); }
.viral__lede { margin: 0; color: var(--on-dark-muted); font-size: var(--t-md, 1rem); max-width: 520px; justify-self: end; }
.viral__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s-3); align-items: stretch; }
.viral__side { display: grid; grid-template-rows: repeat(3, auto); gap: var(--s-3); }
.stat--ig { background: radial-gradient(120% 90% at 100% 0%, rgba(214,41,118,.22), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(254,218,117,.12), transparent 60%), var(--slate-800); }
.stat--ig .stat__plat .i { color: #F58BB4; }
.stat--mini { padding: var(--s-3); display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "plat plat" "num lbl" "sub sub" "link link"; column-gap: var(--s-2); align-items: baseline; }
.stat--mini .stat__plat { grid-area: plat; }
.stat--mini .stat__num { grid-area: num; margin-top: var(--s-2); font-size: clamp(2rem, 1.7rem + 1.2vw, 2.6rem); }
.stat--mini .stat__lbl { grid-area: lbl; margin: 0; font-size: var(--t-md, 1rem); }
.stat--mini .stat__sub { grid-area: sub; margin-top: 4px; }
.stat--mini .stat__link { grid-area: link; padding-top: var(--s-2); }
.stat--mini .stat__plat .i { color: #FF5A5A; }
.stat--mini[href*="x.com"] .stat__plat .i { color: var(--white); }
.igembed { margin-top: var(--s-3); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); }
.igembed__hint { font-size: var(--t-xs, .8125rem); color: var(--on-dark-muted); }
.igembed iframe { display: block; width: 100%; max-width: 420px; height: 680px; border: 0; border-radius: var(--r-md, 14px); background: var(--white); }
.igembed.is-loaded { justify-content: center; }
.btn--ig { background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); color: var(--white); border-color: transparent; }
.btn--ig:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn--ig .i { width: 16px; height: 16px; }
.viral__note { margin: var(--s-3) 0 0; display: flex; gap: 10px; font-size: var(--t-sm); color: var(--on-dark-muted); }
.viral__note .i { width: 16px; height: 16px; margin-top: 3px; color: #8FD19E; flex: none; }
.press { margin-top: var(--s-6); }
.press__title { margin: 0 0 var(--s-2); display: inline-flex; align-items: center; gap: var(--s-1); font-size: var(--t-sm); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }
.press__title .i { width: 16px; height: 16px; color: #8FD19E; }
.press__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.press__list a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px; border-radius: var(--r-md, 14px); border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); text-decoration: none; color: var(--on-dark); transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.press__list a:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); transform: translateY(-2px); }
.press__list b { font-weight: 600; font-size: var(--t-sm); color: var(--white); }
.press__list span { font-size: var(--t-xs, .8125rem); color: var(--on-dark-muted); }
@media (max-width: 960px) { .viral__head { grid-template-columns: minmax(0, 1fr); gap: var(--s-2); } .viral__lede { justify-self: start; } .viral__grid { grid-template-columns: minmax(0, 1fr); } .press__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .viral { margin-top: var(--s-8); padding-top: var(--s-6); } }
@media (max-width: 480px) { .igembed iframe { height: 600px; } .igembed .btn { width: 100%; justify-content: center; } }


/* ---------- Timeline ---------- */
.tl { list-style: none; margin: 0 auto; padding: 0; max-width: 880px; position: relative; }
.tl::before { content: ""; position: absolute; left: 111px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--slate-200), var(--slate-200)) ; border-radius: 2px; }
.tl__item { position: relative; display: grid; grid-template-columns: 88px 1fr; gap: var(--s-6); padding-bottom: var(--s-3); }
.tl__item::before { content: ""; position: absolute; left: 105px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--ploy); z-index: 1; }
.tl__item--now::before { border-color: var(--melon-600); box-shadow: 0 0 0 6px rgba(196,37,54,.14); }
.tl__date { padding-top: 18px; text-align: right; font-family: var(--f-display); font-weight: 800; font-size: 1.125rem; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.tl__card { padding: var(--s-3); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.tl__card:hover { transform: translateX(4px); box-shadow: var(--sh-2); border-color: var(--line-strong); }
.tl__card p { margin-top: var(--s-1); color: var(--slate-700); }
.tl__item--now .tl__card { background: var(--cream); border-color: rgba(196,37,54,.25); }
.tl__badge { display: inline-block; margin-bottom: var(--s-1); padding: 3px 10px; border-radius: var(--r-pill); background: var(--leaf-100); color: var(--leaf-700); font-size: var(--t-xs); font-weight: 700; letter-spacing: .02em; }
.tl__badge--melon { background: var(--melon-600); color: var(--white); }
.tl__links { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); margin-top: 12px !important; }
.tl__links a { display: inline-flex; align-items: center; gap: 4px; font-size: var(--t-sm); font-weight: 600; color: var(--leaf-700); text-decoration: none; border-bottom: 1px solid rgba(31,111,49,.3); line-height: 1.5; }
.tl__links a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.tl__links .i { width: 14px; height: 14px; }
@media (max-width: 640px) {
  .tl::before { left: 7px; }
  .tl__item { grid-template-columns: minmax(0, 1fr); gap: var(--s-1); padding-left: var(--s-4); }
  .tl__item::before { left: 1px; top: 5px; }
  .tl__date { padding-top: 0; text-align: left; font-size: 1rem; }
  .tl__card { padding: var(--s-2) 20px; }
}

/* ---------- Live ---------- */
.live { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: var(--s-8); align-items: center; }
.live .shead { margin-bottom: var(--s-4); }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--melon-600); animation: pulse 1.6s ease-in-out infinite; }
.live .eyebrow::before { display: none; }
@keyframes pulse { 50% { opacity: .3; } }
.livebadge { display: inline-flex; align-items: center; vertical-align: middle; gap: 6px; margin-left: 6px; padding: 6px 12px 6px 10px; border-radius: var(--r-sm); background: var(--melon-600); color: var(--white); font-family: var(--f-body); font-size: .875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; position: relative; top: -.3em; }
.livebadge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--white); animation: pulse 1.6s ease-in-out infinite; }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; }
.note { margin-top: var(--s-3); display: flex; gap: 10px; font-size: var(--t-sm); color: var(--slate-600); max-width: 520px; }
.note .i { width: 16px; height: 16px; margin-top: 3px; color: var(--leaf-700); }
.note a { color: var(--leaf-700); font-weight: 600; }
.live__frame { position: relative; min-height: 620px; display: grid; place-items: center; padding: var(--s-1); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-3); border: 1px solid var(--line); overflow: hidden; }
.live__frame::before { content: "Loading the zoo’s Facebook timeline…"; position: absolute; left: 0; right: 0; top: 50%; text-align: center; font-size: var(--t-sm); color: var(--slate-500); }
.live__frame:has(.live__ph)::before { display: none; }
.live__frame iframe { position: relative; z-index: 1; border: 0; width: 100%; max-width: 500px; height: 600px; border-radius: var(--r-md); }
.live__ph { text-align: center; color: var(--slate-500); display: grid; justify-items: center; gap: 12px; }
.live__ph-ico { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--leaf-100); color: var(--leaf-700); }
.live__ph-ico .i { width: 28px; height: 28px; }
@media (max-width: 960px) { .live { grid-template-columns: minmax(0, 1fr); } .live__frame { min-height: 0; } }

/* ---------- Coming (cards) ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: var(--s-4) var(--s-3) var(--s-3);
  border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: transparent; }
.card p { color: var(--slate-600); font-size: var(--t-sm); line-height: 1.6; flex: 1; }
.card__ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--ink); color: var(--white); margin-bottom: var(--s-1); transition: transform .3s var(--ease); }
.card:hover .card__ico { transform: rotate(-6deg) scale(1.05); }
.card__ico .i { width: 22px; height: 22px; }
.card__ico--melon { background: var(--melon-600); }
.status { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--slate-100); color: var(--slate-700); font-size: var(--t-xs); font-weight: 650; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--slate-500); }
.status--leaf { background: var(--leaf-100); color: var(--leaf-700); }
.status--leaf::before { background: var(--leaf-600); }
.status--melon { background: var(--melon-100); color: var(--melon-700); }
.status--melon::before { background: var(--melon-600); }
@media (max-width: 1024px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Verify ---------- */
#verify { background: radial-gradient(800px 400px at 50% 0%, rgba(43,138,62,.16), transparent 70%), var(--slate-900); }
.vpanel { max-width: 920px; margin: 0 auto; padding: var(--s-4); border-radius: var(--r-xl); background: var(--slate-800); border: 1px solid var(--line-dark); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.vca { display: flex; align-items: center; gap: var(--s-2); padding: 12px 12px 12px var(--s-3); border-radius: var(--r-lg); background: var(--ink); border: 1px solid rgba(143,209,158,.35); }
.vca__label { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8FD19E; }
.vca__label .i { width: 16px; height: 16px; }
.vca__addr { flex: 1; min-width: 0; font-size: clamp(.8125rem, .6rem + .7vw, 1.125rem); font-weight: 600; color: var(--white); letter-spacing: 0; word-break: break-all; line-height: 1.5; }
.vca__hint { margin-top: 12px; text-align: center; font-size: var(--t-sm); color: var(--on-dark-muted); }
.vca__hint b { font-family: var(--f-mono); color: var(--white); }
.warn { margin-top: var(--s-3); display: flex; gap: var(--s-2); padding: var(--s-2) 20px; border-radius: var(--r-md); background: rgba(196,37,54,.14); border: 1px solid rgba(226,59,74,.45); }
.warn__ico { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--melon-600); color: var(--white); }
.warn__ico .i { width: 18px; height: 18px; }
.warn p { color: #F2D4D7; font-size: var(--t-sm); line-height: 1.55; }
.warn p b { display: block; color: var(--white); font-size: var(--t-base); margin-bottom: 2px; }
.vlinks { max-width: 920px; margin: var(--s-3) auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); }
.vlink { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 20px; border-radius: var(--r-md); background: var(--slate-800); border: 1px solid var(--line-dark); text-decoration: none; transition: transform .25s var(--ease), border-color .25s, background-color .25s; }
.vlink:hover { transform: translateY(-3px); border-color: rgba(143,209,158,.5); background: #2B333E; }
.vlink__ico { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 12px; background: rgba(255,255,255,.08); color: var(--white); }
.vlink__ico .i { width: 20px; height: 20px; }
.vlink b { font-size: var(--t-base); }
.vlink > span:not([class]) { font-size: var(--t-sm); color: var(--on-dark-muted); line-height: 1.45; }
.vlink__go { position: absolute; top: 20px; right: 20px; color: var(--on-dark-muted); transition: transform .2s var(--ease), color .2s; }
.vlink__go .i { width: 16px; height: 16px; }
.vlink:hover .vlink__go { color: #8FD19E; transform: translate(2px, -2px); }
.vgrid { max-width: 920px; margin: var(--s-6) auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--s-3); }
.facts2 { padding: var(--s-4); border-radius: var(--r-lg); background: var(--slate-800); border: 1px solid var(--line-dark); }
.facts2 dl { margin: var(--s-2) 0 0; }
.facts2 dl > div { display: flex; justify-content: space-between; gap: var(--s-2); padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: var(--t-sm); }
.facts2 dt { color: var(--on-dark-muted); }
.facts2 dd { margin: 0; font-weight: 600; color: var(--white); text-align: right; display: inline-flex; align-items: center; gap: 6px; }
.dd-ico .i { width: 14px; height: 14px; }
.facts2 dd a { color: #8FD19E; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.facts2 dd a:hover { text-decoration: underline; }
.facts2 dd a .i { width: 14px; height: 14px; }
.facts2__note { margin-top: var(--s-2); display: flex; gap: var(--s-1); font-size: var(--t-xs); line-height: 1.55; color: var(--on-dark-muted); }
.facts2__note .i { width: 14px; height: 14px; margin-top: 2px; }
.chart { min-height: 360px; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); border: 1px solid var(--line-dark); display: grid; }
.chart iframe { width: 100%; height: 100%; min-height: 420px; border: 0; background: var(--white); }
.chart__ph { display: grid; place-content: center; justify-items: center; gap: 12px; padding: var(--s-4); text-align: center;
  background: linear-gradient(transparent 0 calc(100% - 1px), rgba(255,255,255,.04) 0) 0 0 / 100% 40px, linear-gradient(90deg, transparent 0 calc(100% - 1px), rgba(255,255,255,.04) 0) 0 0 / 40px 100%; }
.chart__ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(43,138,62,.18); color: #8FD19E; }
.chart__ico .i { width: 26px; height: 26px; }
.chart__ph b { font-family: var(--f-display); font-size: var(--t-xl); letter-spacing: -0.02em; }
.chart__ph p { font-size: var(--t-sm); max-width: 320px; }
.chart__ph .btn { margin-top: var(--s-1); }
.chart__alt { display: inline-flex; align-items: center; gap: 4px; font-size: var(--t-sm); color: var(--on-dark-muted); }
.chart__alt:hover { color: var(--white); }
.chart__alt .i { width: 14px; height: 14px; }
.steps__title { max-width: 920px; margin: var(--s-10) auto var(--s-3); text-align: center; font-size: var(--t-xl); }
.steps { max-width: 920px; margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); counter-reset: s; }
.step { padding: var(--s-3); border-radius: var(--r-lg); background: var(--slate-800); border: 1px solid var(--line-dark); font-size: var(--t-sm); }
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-2); }
.step__n { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: var(--t-sm); }
.step__ico { color: var(--on-dark-muted); }
.step__ico .i { width: 22px; height: 22px; }
.step b { display: block; font-size: var(--t-base); margin-bottom: 6px; line-height: 1.35; }
.step p { line-height: 1.6; }
.step a { color: #8FD19E; }
.step .mono { color: var(--white); }
@media (max-width: 960px) { .vlinks, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vgrid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  .vca { flex-wrap: wrap; row-gap: 12px; }
  .vca__label { flex-basis: 100%; }
  .vca__addr { font-size: 1rem; }
}
@media (max-width: 640px) {
  .vpanel { padding: var(--s-2); border-radius: var(--r-lg); }
  .vca { flex-wrap: wrap; padding: var(--s-2); gap: 12px; }
  .vca__addr { flex-basis: 100%; order: 2; font-size: .9375rem; }
  .vca .ca__btn { order: 3; width: 100%; justify-content: center; }
  .warn { padding: var(--s-2); }
  .facts2 { padding: var(--s-3); }
}
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } .vlinks { gap: 12px; } .vlink { padding: var(--s-2); } .vlink__go { top: var(--s-2); right: var(--s-2); } }

/* ---------- Maker ---------- */
.maker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); align-items: start; padding: var(--s-4); border-radius: var(--r-xl); background: var(--cream); border: 1px solid var(--line); }
.maker__stage { position: sticky; top: calc(var(--nav-h) + var(--s-3)); padding: 12px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-3); }
.maker__stage canvas { width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--r-md); background: var(--slate-100); }
.maker__ctl { display: grid; gap: var(--s-3); }
.maker__ctl fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.maker__ctl legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px; font-family: var(--f-display); font-weight: 700; font-size: var(--t-h3); letter-spacing: -0.01em; color: var(--ink); }
.lg-n { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-size: var(--t-sm); font-weight: 800; }
.mk-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-1); }
.mk-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--white); aspect-ratio: 1; box-shadow: var(--sh-1); transition: transform .2s var(--ease), border-color .2s; }
.mk-thumbs button:hover { transform: translateY(-2px); }
.mk-thumbs button.is-on { border-color: var(--melon-600); box-shadow: 0 0 0 3px rgba(196,37,54,.18); }
.mk-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.mk-tip { margin-top: 12px; display: flex; gap: var(--s-1); font-size: var(--t-sm); color: var(--slate-600); }
.mk-tip .i { width: 16px; height: 16px; margin-top: 3px; color: var(--melon-600); }
.mk-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mk-fields label { display: grid; gap: 6px; font-size: var(--t-sm); font-weight: 600; color: var(--slate-700); }
.mk-fields input { height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--white); font-size: var(--t-base); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.mk-fields input:hover { border-color: var(--slate-300); }
.mk-fields input:focus { border-color: var(--leaf-600); box-shadow: 0 0 0 4px rgba(43,138,62,.16); outline: none; }
.mk-group { display: flex; align-items: center; gap: var(--s-2); }
.mk-group + .mk-group { margin-top: 12px; }
.mk-lbl { flex: none; width: 72px; font-size: var(--t-sm); font-weight: 600; color: var(--slate-600); }
.mk-row { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.mk-sw { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--white); background: var(--sw, var(--white)); box-shadow: 0 0 0 1px var(--line-strong); transition: transform .2s var(--ease), box-shadow .2s; display: grid; place-items: center; color: var(--slate-500); }
.mk-sw:hover { transform: scale(1.08); }
.mk-sw.is-on { box-shadow: 0 0 0 2px var(--ink); }
.mk-sw--none { background: var(--white); }
.mk-sw--none .i { width: 16px; height: 16px; }
.mk-st { min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--white); font-size: 22px; line-height: 1; transition: transform .2s var(--ease), border-color .2s, background-color .2s; }
.mk-st--txt { font-family: "Lilita One", var(--f-display); font-size: var(--t-base); color: var(--leaf-700); }
.mk-st:hover { transform: translateY(-2px); border-color: var(--slate-300); }
.mk-st[aria-pressed="true"] { border-color: var(--leaf-600); background: var(--leaf-100); box-shadow: 0 0 0 3px rgba(43,138,62,.16); }
.mk-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: var(--s-3); border-top: 1px solid var(--line); }
@media (max-width: 960px) { .maker { grid-template-columns: minmax(0, 1fr); padding: var(--s-3); } .maker__stage { position: relative; top: 0; max-width: 520px; width: 100%; margin: 0 auto; } }
@media (max-width: 560px) {
  .maker { padding: var(--s-2); border-radius: var(--r-lg); }
  .mk-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mk-fields { grid-template-columns: minmax(0, 1fr); }
  .mk-group { flex-direction: column; align-items: flex-start; gap: var(--s-1); }
  .mk-actions .btn { width: 100%; }
}

/* ---------- Memes ---------- */
.gtools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2); margin-bottom: var(--s-4); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 var(--s-2); border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--white); font-size: var(--t-sm); font-weight: 600; color: var(--slate-700); transition: background-color .2s, color .2s, border-color .2s; }
.chip .i { width: 16px; height: 16px; }
.chip small { font-size: var(--t-xs); font-weight: 600; color: var(--slate-500); background: var(--slate-100); padding: 1px 7px; border-radius: var(--r-pill); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip.is-on small { background: rgba(255,255,255,.16); color: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); }
.g { position: relative; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; background: var(--white); box-shadow: var(--sh-1); text-align: left; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.g img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s var(--ease); }
.g span { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s-4) 12px 12px; font-size: var(--t-sm); font-weight: 600; line-height: 1.35; color: var(--white); background: linear-gradient(transparent, rgba(22,27,34,.88)); opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease); }
.g:hover, .g:focus-visible { transform: translateY(-4px); box-shadow: var(--sh-3); }
.g:hover img { transform: scale(1.04); }
.g:hover span, .g:focus-visible span { opacity: 1; transform: none; }
.g.is-hidden { display: none; }
.g.pop { animation: pop .4s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }
@media (hover: none) { .g span { opacity: 1; transform: none; padding-top: var(--s-3); font-size: var(--t-xs); } }
.gmore { margin-top: var(--s-6); display: grid; justify-items: center; gap: var(--s-2); }
.gcount { font-size: var(--t-sm); color: var(--slate-500); font-variant-numeric: tabular-nums; }
@media (max-width: 1024px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .gtools .btn { width: 100%; } .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--s-2) * -1); padding: 2px var(--s-2) 6px; scrollbar-width: none; width: calc(100% + var(--s-4)); } .chips::-webkit-scrollbar { display: none; } .chip { flex: none; } }

/* ---------- Join ---------- */
.join { color: rgba(255,255,255,.86); background: radial-gradient(700px 400px at 90% 0%, rgba(255,255,255,.10), transparent 60%), linear-gradient(160deg, var(--leaf-700) 0%, var(--leaf-800) 60%, #103D1E 100%); overflow: hidden; }
.join::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.3px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); pointer-events: none; }
.join__inner { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s-8); align-items: center; }
.join h2 { color: var(--white); }
.join .shead { margin-bottom: var(--s-3); }
.join__p { font-size: var(--t-lg); line-height: 1.6; max-width: 480px; }
.sig { margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid rgba(255,255,255,.18); font-size: var(--t-base); font-style: italic; color: rgba(255,255,255,.86); max-width: 480px; }
.sig a { color: var(--white); font-weight: 700; font-style: normal; text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); text-underline-offset: 3px; }
.sig a:hover { text-decoration-color: var(--white); }
.join__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.jcard { position: relative; display: flex; flex-direction: column; gap: 4px; padding: var(--s-3); border-radius: var(--r-lg); text-decoration: none; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.8); transition: transform .25s var(--ease), background-color .25s, border-color .25s; }
.jcard:hover { transform: translateY(-4px); background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
.jcard b { margin-top: 12px; font-size: var(--t-md); color: var(--white); }
.jcard__txt { font-size: var(--t-sm); line-height: 1.5; }
.jcard__ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.12); color: var(--white); }
.jcard__ico .i { width: 20px; height: 20px; }
.jcard__arrow { position: absolute; top: var(--s-3); right: var(--s-3); transition: transform .2s var(--ease); }
.jcard__arrow .i { width: 18px; height: 18px; }
.jcard:hover .jcard__arrow { transform: translate(2px, -2px); }
.jcard--feature { grid-column: 1 / -1; padding: var(--s-4); background: var(--white); color: var(--slate-700); border-color: transparent; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.jcard--feature:hover { background: var(--white); border-color: transparent; transform: translateY(-4px); }
.jcard--feature b { font-family: var(--f-display); font-size: var(--t-xl); letter-spacing: -0.02em; color: var(--ink); margin-top: var(--s-2); }
.jcard--feature .jcard__txt { font-size: var(--t-base); line-height: 1.6; color: var(--slate-700); margin-top: 4px; }
.jcard__head { display: flex; align-items: center; justify-content: space-between; }
.jcard--feature .jcard__ico { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); }
.jcard--feature .jcard__ico .i { width: 24px; height: 24px; }
.jcard__badge { padding: 4px 12px; border-radius: var(--r-pill); background: var(--leaf-100); color: var(--leaf-700); font-size: var(--t-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.jcard__go { margin-top: var(--s-3); align-self: flex-start; display: inline-flex; align-items: center; gap: var(--s-1); min-height: 48px; padding: 0 var(--s-3); border-radius: var(--r-pill); background: var(--ink); color: var(--white); font-weight: 600; transition: background-color .2s; }
.jcard__go .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.jcard--feature:hover .jcard__go { background: var(--slate-800); }
.jcard--feature:hover .jcard__go .i { transform: translateX(3px); }
@media (max-width: 960px) { .join__inner { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); } }
@media (max-width: 480px) { .join__grid { grid-template-columns: minmax(0, 1fr); } .jcard--feature { padding: var(--s-3); } .jcard__go { width: 100%; justify-content: center; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-muted); padding: var(--s-12) 0 var(--s-4); font-size: var(--t-sm); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: var(--s-6); padding-bottom: var(--s-8); border-bottom: 1px solid var(--line-dark); }
.footer__brand p { margin: var(--s-2) 0 var(--s-3); max-width: 320px; line-height: 1.6; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__col h2 { font-family: var(--f-body); font-size: var(--t-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 4px; }
.footer__col a { color: var(--on-dark-muted); text-decoration: none; transition: color .2s; }
.footer__col a:hover { color: var(--white); }
.fca { display: inline-flex; align-items: center; gap: var(--s-1); padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); color: var(--white); font-size: var(--t-xs); font-weight: 600; transition: background-color .2s, border-color .2s; }
.fca code { font-size: var(--t-xs); color: #8FD19E; }
.fca .i { width: 14px; height: 14px; }
.fca:hover { background: rgba(255,255,255,.12); }
.fca.copied { border-color: #8FD19E; }
.footer__bottom { padding-top: var(--s-4); display: grid; gap: var(--s-2); }
.footer__disc { max-width: 820px; font-size: var(--t-xs); line-height: 1.6; color: var(--on-dark-muted); }
.footer__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2); }
.footer__fan { font-size: var(--t-xs); color: var(--on-dark-muted); }
.totop { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-xs); font-weight: 600; color: var(--white); text-decoration: none; }
.totop .i { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.totop:hover .i { transform: translateY(-2px); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer { padding-top: var(--s-10); } .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-3); } .footer__verify { grid-column: 1 / -1; } }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-2); padding: var(--s-3); background: rgba(14,17,22,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; justify-self: center; max-width: min(820px, 100%); display: grid; gap: var(--s-2); }
.lb__fig img { max-height: calc(100vh - 160px); width: auto; margin: 0 auto; border-radius: var(--r-md); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb__fig figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: var(--white); font-weight: 600; }
.lb__actions { display: flex; gap: var(--s-1); }
.lb__close, .lb__nav { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: var(--white); transition: background-color .2s; }
.lb__close:hover, .lb__nav:hover { background: rgba(255,255,255,.2); }
.lb__close .i, .lb__nav .i { width: 22px; height: 22px; }
.lb__close { position: absolute; top: var(--s-2); right: var(--s-2); }
@media (max-width: 640px) { .lb { grid-template-columns: minmax(0, 1fr); padding: var(--s-8) var(--s-2) var(--s-2); } .lb__nav { position: absolute; bottom: var(--s-2); } .lb__prev { left: var(--s-2); } .lb__next { right: var(--s-2); } .lb__fig img { max-height: calc(100vh - 220px); } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: var(--s-3); z-index: 400; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: var(--r-pill); background: var(--ink); color: var(--white); font-size: var(--t-sm); font-weight: 600; box-shadow: var(--sh-3); transition: opacity .25s, transform .25s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
@media print { .nav, .marquee, .lb, .toast { display: none; } .reveal { opacity: 1; transform: none; } }
.viral__side { align-content: start; }
a.stat__link { text-decoration: none; }
a.stat__link:hover .i { transform: translate(2px, -2px); }
