/* =============================================================
   $LINO — style.css
   Cel-shaded "Procreate" look: flat colors, thick ink outlines,
   hard offset shadows, no soft gradients (except the sky).
   ============================================================= */

@font-face {
  font-family: "Barge Black";
  src: url("../fonts/Barge-Black.woff2") format("woff2"),
       url("../fonts/Barge-Black.woff") format("woff"),
       url("../fonts/Barge-Black.otf") format("opentype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #1d1f24;
  --sky: #8fd3f7;
  --sky-2: #57b5e8;
  --sky-3: #c9ecfc;
  --snow: #ffffff;
  --ice: #eaf6fd;
  --ice-2: #bfe3f7;
  --ice-3: #93cdef;
  --water: #2f74a6;
  --water-2: #25608a;
  --water-3: #1a4a6d;
  --night: #16305a;
  --night-2: #0c1b38;
  --night-3: #22507f;
  --red: #d9464b;
  --red-2: #a8353a;
  --red-3: #ec6a6e;
  --yellow: #e8e23f;
  --yellow-2: #bdb72b;
  --cream: #f8f1e4;
  --fur: #4a4e55;
  --aurora-1: #5ef0b8;
  --aurora-2: #6fd3ff;
  --aurora-3: #b18cff;

  --font-display: "Barge Black", "Arial Black", Impact, sans-serif;
  --font-body: "Fredoka", "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --line: 3px;
  --radius: 20px;
  --header-h: 76px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --ground-h: clamp(190px, 30vh, 320px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--sky-3);
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 4px solid var(--yellow); outline-offset: 3px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Scroll reveal (declared early so component transitions win) ---------- */
.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2, 1, .3, 1); transition-delay: var(--rd, 0s); }
html.js .reveal:not(.is-in) { opacity: 0; transform: translateY(28px); }
html.js .reveal--pop:not(.is-in) { transform: translateY(20px) scale(.85) rotate(-6deg); }

/* ---------- Display type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1;
}
.ice-text {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1;
  color: #fff;
  -webkit-text-stroke: .05em var(--ink);
  paint-order: stroke fill;
  text-shadow: .09em .09em 0 var(--ink);
}
.ice-text--deep { text-shadow: .045em .045em 0 var(--ice-2), .09em .09em 0 var(--ink); }
.ink-text {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1;
  color: var(--ink);
}
.ink-text .hl {
  background: linear-gradient(transparent 55%, var(--yellow) 55%, var(--yellow) 92%, transparent 92%);
  padding-inline: .06em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  padding: .95em 1.5em;
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  background: var(--snow);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background .2s ease, opacity .6s ease;
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.btn svg { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.btn--display { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-weight: 900; padding-top: 1.05em; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-3); }
.btn--yellow { background: var(--yellow); }
.btn--icon { padding: .95em; }
.btn--icon svg { width: 1.35em; height: 1.35em; }
.btn--lg { font-size: 1.25rem; }
.btn--sm { font-size: .95rem; padding: .75em 1.15em; box-shadow: 4px 4px 0 var(--ink); }
.btn--sm:hover { box-shadow: 6px 6px 0 var(--ink); }
.btn--sm:active { box-shadow: 1px 1px 0 var(--ink); }
.btn--sm.btn--icon { padding: .75em; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn[disabled]:hover { transform: none; box-shadow: 4px 4px 0 var(--ink); }
.btn--tg { background: #2aa3e6; color: #fff; }
.btn--tg:hover { background: #47b4f0; }
.btn--x { background: var(--ink); color: #fff; }
.btn--x:hover { background: #33363d; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--snow);
  border-bottom: var(--line) solid var(--ink);
  box-shadow: 0 6px 0 rgba(29, 31, 36, .12);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 50px; height: 50px; border-radius: 50%; transition: transform .3s cubic-bezier(.2, 1.4, .4, 1); }
.brand:hover img { transform: rotate(-10deg) scale(1.08); }
.brand__name { font-family: var(--font-display); font-size: 2rem; letter-spacing: .05em; line-height: 1; transform: translateY(3px); }
.site-header__actions { display: flex; align-items: center; gap: .65rem; }

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--sky-2) 0%, var(--sky) 60%, var(--sky-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  transition: transform .95s cubic-bezier(.75, 0, .25, 1), visibility 0s linear .95s;
}
.loader.is-done { transform: translateY(-110%); visibility: hidden; }
.loader__sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.loader__cloud { position: absolute; left: -280px; width: var(--w, 220px); animation: drift var(--dur, 40s) linear infinite; animation-delay: var(--delay, 0s); }
.loader__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; text-align: center; padding: 1rem; transition: opacity .3s ease; }
.loader.is-done .loader__content { opacity: 0; }
.loader__logo { width: clamp(120px, 24vw, 180px); animation: bob 2.2s ease-in-out infinite; filter: drop-shadow(6px 8px 0 rgba(29, 31, 36, .22)); }
.loader__word { font-size: clamp(3.6rem, 13vw, 6.5rem); display: flex; gap: .04em; margin: 0; }
.loader__word span { display: inline-block; opacity: 0; transform: translateY(46px) scale(.5) rotate(-8deg); animation: stamp .55s cubic-bezier(.2, 1.5, .4, 1) forwards; }
.loader__word span:nth-child(1) { animation-delay: .25s; }
.loader__word span:nth-child(2) { animation-delay: .42s; }
.loader__word span:nth-child(3) { animation-delay: .59s; }
.loader__word span:nth-child(4) { animation-delay: .76s; }
.loader__track { position: relative; width: min(340px, 72vw); height: 24px; background: #fff; border: var(--line) solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink); margin-top: .4rem; }
.loader__fill { height: 100%; width: 0%; background: var(--yellow); border-radius: 999px; transition: width .3s ease; }
.loader__paw { position: absolute; top: 50%; left: 0%; width: 38px; height: 38px; transform: translate(-50%, -60%) rotate(90deg); transition: left .3s ease; }
.loader__status { font-weight: 600; font-size: 1.02rem; letter-spacing: .02em; display: flex; gap: .4em; }
.loader__pct { font-family: var(--font-display); font-size: 1.2rem; min-width: 4ch; text-align: left; transform: translateY(2px); }
.loader__edge { position: absolute; left: 0; right: 0; top: 100%; width: 100%; height: 70px; margin-top: -1px; color: var(--sky-3); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-2) 0%, var(--sky) 55%, var(--sky-3) 100%);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(2rem, 5vh, 4rem) calc(var(--ground-h) * .82);
}
.hero__sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cloud {
  position: absolute;
  left: -320px;
  width: var(--w, 220px);
  opacity: var(--o, 1);
  animation: drift var(--dur, 70s) linear infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}
.cloud--far { opacity: .85; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 360px)); } }
.sun { position: absolute; top: 6%; right: 7%; width: clamp(80px, 10vw, 140px); animation: spin-slow 60s linear infinite; }
.plane { position: absolute; top: 9%; left: 0; width: clamp(240px, 30vw, 440px); animation: fly 28s linear infinite; animation-delay: 1.5s; will-change: transform; }
.plane__inner { animation: bob 3s ease-in-out infinite; }
@keyframes fly { 0% { transform: translateX(-130%); } 62% { transform: translateX(calc(100vw + 30%)); } 100% { transform: translateX(calc(100vw + 30%)); } }
.plane .prop { transform-box: fill-box; transform-origin: center; animation: spin .22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }

.hero__content { position: relative; z-index: 3; text-align: center; display: flex; flex-direction: column; align-items: center; gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.hero__brand { display: flex; align-items: center; justify-content: center; gap: clamp(.8rem, 3vw, 2.4rem); }
.hero__logo { width: clamp(180px, 22vw, 300px); flex: none; filter: drop-shadow(8px 10px 0 rgba(29, 31, 36, .22)); animation: bob 4s ease-in-out infinite; will-change: transform; }
.hero__logo img { width: 100%; }
.hero__word { font-size: clamp(5.2rem, 13.5vw, 12rem); margin: 0; transform: translateY(.06em); }
.hero__tagline {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  max-width: 36ch;
  margin: 0;
  background: var(--snow);
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  padding: .7em 1.5em;
  box-shadow: 5px 5px 0 var(--ink);
  text-wrap: balance;
}
.hero__tagline a { color: var(--red); font-weight: 700; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 3px; }
.hero__tagline a:hover { color: var(--red-2); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.hero__ground { position: absolute; left: 0; right: 0; bottom: -2px; height: var(--ground-h); pointer-events: none; z-index: 2; }
.hero__ground svg { width: 100%; height: 100%; }
.waves { animation: waves 8s linear infinite; }
.waves--2 { animation-duration: 11s; animation-direction: reverse; }
@keyframes waves { to { transform: translateX(-240px); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1.5deg); } }
@keyframes stamp { to { opacity: 1; transform: translateY(0) scale(1) rotate(0); } }

/* Hero entrance (only while JS is driving the loader) */
body.is-loading .hero__logo, body.is-loading .hero__word, body.is-loading .hero__tagline, body.is-loading .hero__actions { opacity: 0; }
body.is-loaded .hero__logo { animation: bob 4s ease-in-out infinite, pop-in .7s cubic-bezier(.2, 1.4, .4, 1) both; }
body.is-loaded .hero__word { animation: rise-in .7s cubic-bezier(.2, 1.3, .4, 1) .15s both; }
body.is-loaded .hero__tagline { animation: rise-in .6s cubic-bezier(.2, 1.3, .4, 1) .35s both; }
body.is-loaded .hero__actions { animation: rise-in .6s cubic-bezier(.2, 1.3, .4, 1) .5s both; }
@keyframes pop-in { from { opacity: 0; transform: scale(.4) rotate(-14deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Ticker ---------- */
.ticker { position: relative; z-index: 4; background: var(--yellow); border-block: var(--line) solid var(--ink); overflow: hidden; padding: .55rem 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker__group { display: flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.45rem); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.ticker__group svg { width: 1.3em; height: 1.3em; fill: var(--ink); transform: rotate(20deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(4.5rem, 10vw, 7.5rem); }
.section-head { max-width: 780px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.eyebrow {
  display: inline-block;
  background: var(--yellow);
  border: var(--line) solid var(--ink);
  border-radius: 10px;
  padding: .38em .9em .3em;
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-2deg);
  color: var(--ink);
}
.section-title { font-size: clamp(2.5rem, 7vw, 5rem); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 500; max-width: 62ch; }
.edge { position: absolute; left: 0; right: 0; width: 100%; height: clamp(40px, 6vw, 80px); pointer-events: none; }
.edge--bottom { bottom: -1px; z-index: 5; }
.edge--top { top: -1px; z-index: 5; }

/* ---------- Lore (night) ---------- */
.lore { background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 65%, var(--night-3) 100%); color: #fff; overflow: hidden; padding-bottom: clamp(7rem, 14vw, 11rem); }
.lore .lead { color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
.aurora { position: absolute; left: 0; right: 0; top: 0; height: min(48vh, 460px); pointer-events: none; overflow: hidden; }
.aurora svg { width: 130%; max-width: none; height: 100%; margin-left: -15%; }
.aurora path { transform-box: fill-box; transform-origin: center; animation: aurora 10s ease-in-out infinite alternate; mix-blend-mode: screen; }
.aurora path:nth-child(2) { animation-duration: 13s; animation-delay: -4s; }
.aurora path:nth-child(3) { animation-duration: 16s; animation-delay: -7s; }
@keyframes aurora { from { transform: translateX(-40px) scaleY(1); opacity: .2; } to { transform: translateX(40px) scaleY(1.18); opacity: .38; } }
.stars { position: absolute; inset: 0; pointer-events: none; }
.star { position: absolute; width: var(--s, 3px); height: var(--s, 3px); border-radius: 50%; background: #fff; animation: twinkle var(--d, 3s) ease-in-out infinite; animation-delay: var(--delay, 0s); }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.25); } }
.lore .container { position: relative; z-index: 2; }
.lore__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.lore__text { display: flex; flex-direction: column; gap: 1.2rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.lore__text p { max-width: 60ch; }
.lore__text strong { color: var(--yellow); font-weight: 700; }
.lore__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: .6rem; }
.stat { background: rgba(255, 255, 255, .07); border: var(--line) solid #fff; border-radius: 16px; padding: 1rem .5rem .8rem; text-align: center; box-shadow: 5px 5px 0 rgba(0, 0, 0, .4); }
.stat__num { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); color: var(--yellow); line-height: 1; }
.stat__label { display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-top: .45rem; line-height: 1.2; }

.polaroid { position: relative; background: #fff; border: var(--line) solid var(--ink); padding: 12px 12px 14px; box-shadow: 9px 9px 0 var(--ink); transform: rotate(3deg); max-width: 380px; margin: 1.5rem auto 0; color: var(--ink); transition: transform .6s cubic-bezier(.2, 1.4, .4, 1), opacity .7s ease; }
.polaroid:hover { transform: rotate(0) scale(1.03); }
.polaroid img { border: 2px solid var(--ink); width: 100%; aspect-ratio: 587 / 419; object-fit: cover; }
.polaroid figcaption { font-weight: 600; text-align: center; padding-top: .9rem; font-size: 1.05rem; line-height: 1.3; }
.polaroid figcaption small { display: block; font-weight: 500; font-size: .85rem; opacity: .75; margin-top: .15rem; }
.polaroid::before { content: ""; position: absolute; top: -16px; left: 50%; width: 120px; height: 30px; background: rgba(232, 226, 63, .9); border: 2px solid var(--ink); transform: translateX(-50%) rotate(-4deg); }

/* Compare slider */
.compare-wrap { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.compare-wrap__caption { text-align: center; color: #dbeafe; font-weight: 500; }
.compare { position: relative; aspect-ratio: 1443 / 1145; max-height: 78vh; margin: 0 auto; width: 100%; max-width: 980px; border: var(--line) solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 12px 12px 0 var(--ink); background: var(--night-2); user-select: none; -webkit-user-select: none; cursor: ew-resize; touch-action: pan-y; --pos: 50%; }
.compare.is-dragging { cursor: grabbing; }
.compare.is-dragging .compare__img--before { transition: none; }
.compare__img { position: absolute; inset: 0; }
.compare__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.compare__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__label { position: absolute; top: 14px; font-family: var(--font-display); font-size: clamp(1rem, 2vw, 1.4rem); letter-spacing: .08em; background: #fff; color: var(--ink); border: var(--line) solid var(--ink); border-radius: 10px; padding: .35em .7em .25em; box-shadow: 3px 3px 0 var(--ink); }
.compare__label--l { left: 14px; }
.compare__label--r { right: 14px; background: var(--yellow); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.compare__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -3px; width: 6px; background: #fff; box-shadow: 0 0 0 2px var(--ink); }
.compare__grip { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--yellow); border: var(--line) solid var(--ink); box-shadow: 4px 4px 0 var(--ink); display: flex; align-items: center; justify-content: center; }
.compare__grip svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none; }
.compare:focus-within { outline: 4px solid var(--yellow); outline-offset: 4px; }

/* Timeline */
.timeline { list-style: none; margin: clamp(3.5rem, 7vw, 6rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 24px; right: 24px; top: 24px; border-top: 4px dashed rgba(255, 255, 255, .45); }
.timeline li { position: relative; padding-top: 68px; }
.timeline__dot { position: absolute; top: 0; left: 0; width: 50px; height: 50px; border-radius: 50%; background: var(--yellow); border: var(--line) solid var(--ink); box-shadow: 4px 4px 0 var(--ink); display: flex; align-items: center; justify-content: center; }
.timeline__dot svg { width: 28px; height: 28px; fill: var(--ink); transform: rotate(15deg); }
.timeline li:last-child .timeline__dot { background: var(--red); }
.timeline li:last-child .timeline__dot svg { fill: #fff; }
.timeline__date { display: inline-block; font-family: var(--font-display); letter-spacing: .08em; font-size: .95rem; color: var(--yellow); margin-bottom: .35rem; }
.timeline h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: .35rem; }
.timeline p { color: #dbeafe; font-size: 1rem; }

/* ---------- Facts (mission) ---------- */
.facts { background: var(--ice); color: var(--ink); overflow: hidden; }
.facts__bg { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: radial-gradient(circle at 20px 20px, #fff 6px, transparent 7px), radial-gradient(circle at 90px 70px, #fff 4px, transparent 5px); background-size: 140px 120px; }
.facts .container { position: relative; }
.facts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.fact { perspective: 1200px; background: none; border: 0; padding: 0; text-align: inherit; cursor: pointer; border-radius: var(--radius); -webkit-tap-highlight-color: transparent; }
.fact__inner { position: relative; display: block; aspect-ratio: 4 / 3; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .9, .3, 1.1); }
@media (hover: hover) { .fact:hover .fact__inner { transform: rotateY(180deg); } }
.fact[aria-pressed="true"] .fact__inner { transform: rotateY(180deg); }
.fact__front, .fact__back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: var(--line) solid var(--ink); border-radius: var(--radius); box-shadow: 7px 7px 0 var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; padding: 1.3rem; text-align: center; }
.fact__front { background: #fff; background-image: linear-gradient(180deg, transparent 78%, var(--ice-2) 78%); }
.fact__back { background: var(--yellow); transform: rotateY(180deg); font-weight: 500; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.45; }
.fact__big { font-family: var(--font-display); font-size: clamp(2.1rem, 3.6vw, 3rem); line-height: 1; letter-spacing: .02em; color: var(--ink); }
.fact__hint { font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--water-2); }
.fact__flip { position: absolute; right: 12px; bottom: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .55; }
.fact__paw { position: absolute; left: 14px; top: 12px; width: 26px; height: 26px; fill: var(--ice-3); transform: rotate(-20deg); }

/* ---------- Banner strip ---------- */
.strip { position: relative; border-block: var(--line) solid var(--ink); overflow: hidden; background: var(--water); }
.strip img { width: 100%; height: clamp(200px, 34vw, 480px); object-fit: cover; object-position: center; transform: scale(1.1); will-change: transform; }
.strip__badge { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%) rotate(-2deg); background: #fff; border: var(--line) solid var(--ink); border-radius: 12px; padding: .5em 1em .4em; font-family: var(--font-display); letter-spacing: .08em; text-transform: uppercase; box-shadow: 4px 4px 0 var(--ink); font-size: clamp(.85rem, 1.4vw, 1.1rem); white-space: nowrap; }

/* ---------- Tokenomics ---------- */
.tokenomics { background: var(--sky); overflow: hidden; padding-bottom: clamp(7rem, 14vw, 11rem); }
.tokenomics .cloud--static { position: absolute; animation: none; opacity: .9; }
.tokenomics .container { position: relative; z-index: 2; }
.tok__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(1rem, 2vw, 1.6rem); margin-bottom: clamp(2rem, 4vw, 3rem); }
.slab { position: relative; background: #fff; border: var(--line) solid var(--ink); border-radius: var(--radius); padding: 1.4rem 1rem 1.5rem; text-align: center; box-shadow: 0 10px 0 var(--ice-2), 0 13px 0 var(--ink); display: flex; flex-direction: column; align-items: center; gap: .35rem; transition: transform .35s cubic-bezier(.2, 1.4, .4, 1), opacity .7s ease; }
.slab:hover { transform: translateY(-6px) rotate(-1deg); }
.slab__label { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--water-2); }
.slab__value { font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.slab__value--red { color: var(--red); }
.slab__sub { font-weight: 600; font-size: .95rem; color: var(--fur); }
.slab__icon { width: 44px; height: 44px; margin-bottom: .2rem; }
.tok__badge { display: inline-flex; align-items: center; gap: .6em; background: var(--ink); color: #fff; border-radius: 999px; padding: .55em 1.2em .45em; font-family: var(--font-display); letter-spacing: .08em; text-transform: uppercase; font-size: clamp(.9rem, 1.5vw, 1.15rem); box-shadow: 4px 4px 0 var(--red); margin: 0 auto 2rem; }
.tok__badge svg { width: 1.2em; height: 1.2em; fill: var(--yellow); }
.tok__center { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.ca { width: 100%; max-width: 820px; background: #fff; border: var(--line) solid var(--ink); border-radius: var(--radius); padding: 1.1rem 1.2rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; box-shadow: 8px 8px 0 var(--ink); }
.ca__label { font-family: var(--font-display); letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; white-space: nowrap; background: var(--yellow); border: 2px solid var(--ink); border-radius: 8px; padding: .4em .7em .3em; }
.ca__value { font-family: var(--font-mono); font-size: clamp(.9rem, 1.5vw, 1.1rem); font-weight: 600; overflow-wrap: anywhere; word-break: break-all; color: var(--ink); }
.ca__value.is-empty { color: var(--fur); font-family: var(--font-body); font-weight: 600; }
.ca__copy svg { width: 1.2em; height: 1.2em; }
.ca__copy.is-copied { background: var(--yellow); }
.tok__note { font-size: .95rem; color: var(--water-3); font-weight: 500; text-align: center; max-width: 60ch; }
.tok__note a { font-weight: 700; }

/* ---------- How to buy ---------- */
.howto { background: var(--snow); overflow: hidden; padding-bottom: clamp(7rem, 14vw, 11rem); }
.howto__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.trail { position: relative; border: var(--line) solid var(--ink); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 10px 10px 0 var(--ink); display: flex; flex-direction: column; gap: 1.4rem; }
.trail--fomo { background: var(--yellow); }
.trail--wallet { background: var(--ice); }
.trail__head { display: flex; flex-direction: column; gap: .6rem; }
.trail__badge { align-self: flex-start; background: var(--ink); color: #fff; font-family: var(--font-display); letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; padding: .4em .8em .3em; border-radius: 8px; }
.trail--fomo .trail__badge { background: var(--red); }
.trail h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: .03em; text-transform: uppercase; }
.trail__intro { font-weight: 500; color: var(--fur); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: start; }
.steps__num { width: 52px; height: 52px; border-radius: 50%; background: #fff; border: var(--line) solid var(--ink); box-shadow: 4px 4px 0 var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.5rem; padding-top: .15em; }
.steps h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: .25rem; }
.steps p { font-size: 1rem; }
.steps a { font-weight: 700; color: var(--water-2); }
.trail--fomo .steps a { color: var(--red-2); }
.trail__actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.netinfo { background: #fff; border: 2px dashed var(--ink); border-radius: 14px; padding: .9rem 1rem; font-size: .92rem; display: grid; gap: .3rem; }
.netinfo__row { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline; }
.netinfo__row b { font-family: var(--font-display); letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; min-width: 80px; }
.netinfo code { font-family: var(--font-mono); font-size: .88rem; overflow-wrap: anywhere; }
.howto__warn { margin-top: clamp(2rem, 4vw, 3rem); text-align: center; font-weight: 600; color: var(--red-2); max-width: 70ch; margin-inline: auto; }

/* ---------- Channels ---------- */
.channels { background: var(--sky-3); overflow: hidden; padding-bottom: clamp(6rem, 10vw, 8rem); }
.channels__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); max-width: 900px; margin: 0 auto; }
.channel { position: relative; display: flex; flex-direction: column; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); background: #fff; border: var(--line) solid var(--ink); border-radius: var(--radius); padding: 2.2rem 1.5rem 1.8rem; box-shadow: 10px 10px 0 var(--ink); text-align: center; transition: transform .35s cubic-bezier(.2, 1.4, .4, 1), box-shadow .25s ease, opacity .7s ease; }
.channel:hover { transform: translate(-4px, -4px) rotate(-1deg); box-shadow: 14px 14px 0 var(--ink); }
.channel__icon { width: 84px; height: 84px; border-radius: 50%; border: var(--line) solid var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 5px 5px 0 var(--ink); margin-bottom: .6rem; }
.channel__icon svg { width: 44px; height: 44px; }
.channel--x .channel__icon { background: var(--ink); }
.channel--x .channel__icon svg { fill: #fff; }
.channel--tg .channel__icon { background: #2aa3e6; }
.channel--tg .channel__icon svg { fill: #fff; }
.channel__name { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: .04em; text-transform: uppercase; }
.channel__handle { font-family: var(--font-mono); font-weight: 600; color: var(--water-2); }
.channel .btn { margin-top: .8rem; }
.channels__note { margin: clamp(2rem, 4vw, 3rem) auto 0; text-align: center; max-width: 60ch; font-weight: 600; background: #fff; border: var(--line) solid var(--ink); border-radius: 14px; padding: .9rem 1.2rem; box-shadow: 5px 5px 0 var(--ink); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--water); color: #fff; padding: clamp(4rem, 8vw, 6rem) 0 calc(2.5rem + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.site-footer__waves { position: absolute; left: 0; right: 0; top: -2px; height: clamp(40px, 6vw, 80px); width: 100%; }
.site-footer__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1.6rem; text-align: center; }
.site-footer .brand { color: #fff; }
.site-footer .brand img { width: 72px; height: 72px; border: var(--line) solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.site-footer .brand__name { font-size: 2.6rem; }
.site-footer__tag { font-weight: 500; color: #dff1fc; max-width: 46ch; }
.site-footer__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; font-weight: 600; }
.site-footer__links a { color: #fff; text-decoration: none; border-bottom: 2px solid transparent; }
.site-footer__links a:hover { border-color: var(--yellow); }
.site-footer__disclaimer { font-size: .85rem; color: #cfe7f7; max-width: 76ch; line-height: 1.5; }
.site-footer__copy { font-size: .85rem; color: #cfe7f7; font-weight: 600; }
.site-footer__bergs { position: absolute; bottom: 0; left: 0; right: 0; height: 90px; opacity: .25; pointer-events: none; }

/* ---------- Toast, snow, paws ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 30px); z-index: 900; background: var(--ink); color: #fff; font-weight: 600; padding: .8em 1.3em; border-radius: 999px; border: var(--line) solid #fff; box-shadow: 5px 5px 0 rgba(0, 0, 0, .3); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .35s cubic-bezier(.2, 1.4, .4, 1); display: flex; align-items: center; gap: .5em; white-space: nowrap; max-width: calc(100vw - 32px); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 1.2em; height: 1.2em; fill: var(--yellow); }
.snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 55; }
.paw-stamp { position: fixed; width: 44px; height: 44px; margin: -22px 0 0 -22px; pointer-events: none; z-index: 800; fill: var(--ink); opacity: 0; animation: paw-pop 1.1s ease-out forwards; }
@keyframes paw-pop { 0% { opacity: 0; transform: scale(.3) rotate(var(--r, 0deg)); } 15% { opacity: .85; transform: scale(1.1) rotate(var(--r, 0deg)); } 100% { opacity: 0; transform: scale(1) rotate(var(--r, 0deg)) translateY(-6px); } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
  .cloud, .plane, .loader__cloud { animation: none !important; }
  .plane { display: none; }
  .cloud { left: var(--rx, 10%); transform: none; }
  html.js .reveal:not(.is-in) { opacity: 1; transform: none; }
  .loader__word span { opacity: 1; transform: none; }
  body.is-loading .hero__logo, body.is-loading .hero__word, body.is-loading .hero__tagline, body.is-loading .hero__actions { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .tok__grid { grid-template-columns: repeat(2, 1fr); }
  .slab--wide { grid-column: span 2; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .lore__grid { grid-template-columns: 1fr; }
  .polaroid { margin-top: 2rem; }
}
@media (max-width: 860px) {
  .howto__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --header-h: 66px; --ground-h: clamp(150px, 24vh, 220px); }
  .hide-mobile { display: none !important; }
  .brand img { width: 42px; height: 42px; }
  .brand__name { font-size: 1.7rem; }
  .hero { justify-content: flex-start; padding-top: 2rem; }
  .hero__brand { flex-direction: column; gap: .4rem; }
  .hero__logo { width: clamp(210px, 60vw, 280px); }
  .hero__word { font-size: clamp(5.6rem, 29vw, 8rem); transform: none; }
  .hero__content { gap: 1.1rem; }
  .hero__tagline { font-size: .95rem; padding: .6em 1.05em; max-width: 32ch; box-shadow: 4px 4px 0 var(--ink); }
  .btn--lg { font-size: 1.1rem; }
  .hero__actions { gap: .7rem; }
  .hero__actions .btn--lg { font-size: .98rem; padding: .85em 1.25em; box-shadow: 5px 5px 0 var(--ink); }
  .plane { top: 4%; }
  .sun { width: 64px; top: 2.5%; right: 4%; }
  .cloud { width: calc(var(--w, 220px) * .62); }
  .tokenomics .cloud--static { display: none; }
  .aurora { height: 300px; }
  .lore__stats { grid-template-columns: repeat(2, 1fr); }
  .compare { box-shadow: 7px 7px 0 var(--ink); }
  .compare__grip { width: 48px; height: 48px; }
  .facts__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .fact__inner { aspect-ratio: 16 / 10; }
  .tok__grid { grid-template-columns: 1fr 1fr; gap: .9rem; }
  .slab { padding: 1.1rem .8rem 1.2rem; }
  .ca { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .timeline { grid-template-columns: 1fr; gap: 1.2rem; }
  .timeline li { padding-top: 0; padding-left: 66px; min-height: 50px; }
  .channels__grid { grid-template-columns: 1fr; }
  .trail { box-shadow: 7px 7px 0 var(--ink); }
  .steps li { grid-template-columns: 44px 1fr; gap: .8rem; }
  .steps__num { width: 44px; height: 44px; font-size: 1.25rem; }
  .site-footer__actions .btn { font-size: 1rem; }
}
@media (max-width: 400px) {
  .tok__grid { grid-template-columns: 1fr; }
  .slab--wide { grid-column: auto; }
  .lore__stats { gap: .6rem; }
}
