.crushed { font-family: 'Anton', sans-serif; text-transform: uppercase; line-height: .8; letter-spacing: -.01em; }
  .icon { font-family: 'Material Symbols Outlined'; font-variation-settings: 'FILL' 1, 'wght' 600; line-height: 1; }
  .hard { box-shadow: 5px 5px 0 #000; }
  .hard-sm { box-shadow: 3px 3px 0 #000; }
  .die-cut { box-shadow: 0 0 0 10px #fff, 0 0 0 12px #000, 10px 14px 0 12px rgba(0,0,0,.12); }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  .marquee { display: flex; width: max-content; animation: marquee 26s linear infinite; }
  @media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }

/* ---- Scroll entrances (set up by site.js; content stays visible without it) ----
   Each element gets its own starting offset, turn and scale, so sections enter differently:
   columns converge, card rows spread out or gather in, stickers slap on, banners zoom. */
.js [data-r] {
  opacity: 0;
  translate: var(--tx, 0px) var(--ty, 30px);
  rotate: var(--rot, 0deg);
  scale: var(--sc, 1);
}
.js [data-r].in {
  opacity: 1; translate: 0 0; rotate: 0deg; scale: 1;
  transition:
    opacity calc(var(--dur, .8s) * .7) ease-out,
    translate var(--dur, .8s) var(--ease, cubic-bezier(.22,1,.36,1)),
    rotate var(--dur, .8s) var(--ease, cubic-bezier(.22,1,.36,1)),
    scale var(--dur, .8s) var(--ease, cubic-bezier(.22,1,.36,1));
  transition-delay: var(--d, 0ms);
}

/* ---- Topographic background: sharp at the top, blurred towards the bottom ---- */
.topo { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.topo-move { position: absolute; inset: -70px; will-change: transform, translate; }
.topo-move > div { position: absolute; inset: 0; background: url("topo.svg") center / cover no-repeat; opacity: .32; }
/* The terrain drifts slowly on its own; the pointer adds a parallax on top (site.js). */
@keyframes topoDriftA { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1.02); } 50% { transform: translate3d(-26px, 16px, 0) rotate(.8deg) scale(1.05); } }
@media (prefers-reduced-motion: no-preference) {
  .topo-move { animation: topoDriftA 28s ease-in-out infinite; }
}
.topo-sharp { -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 78%); mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 78%); }
.topo-blur { filter: blur(5px); -webkit-mask-image: linear-gradient(to bottom, transparent 25%, #000 70%, #000 88%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 25%, #000 70%, #000 88%, transparent 100%); }

/* ---- 3D tilt on the portrait ---- */
[data-tilt-zone] { perspective: 900px; }
.tilt { position: relative; display: block; transform-style: preserve-3d; will-change: transform; }
.tilt-glare { position: absolute; inset: 0; pointer-events: none; opacity: var(--glare, 0);
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.5), rgba(255,255,255,0) 60%); mix-blend-mode: soft-light; }
.tilting .wobble, .tilting [data-depth] { animation: none !important; }

/* ---- Cancellation simulator ---- */
.js .sim-answer { display: none; }
.sim-option[aria-pressed="true"] { background: #1A535C; color: #fff; box-shadow: 4px 4px 0 #000; }
html .sim-option { transition: background-color .4s ease, color .4s ease, box-shadow .5s var(--ease-soft), translate .5s var(--ease-soft); }
.sim-option:focus-visible { outline: 3px solid #4ECDC4; outline-offset: 3px; }
@keyframes simPop { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.sim-pop { animation: simPop .45s cubic-bezier(.22,1,.36,1); }

/* ---- Marquee: room for the letter tops ---- */
.marquee.crushed { line-height: 1.05; }

/* ---- Hero stickers float gently ---- */
@keyframes float { 50% { translate: 0 -7px; } }
@media (prefers-reduced-motion: no-preference) {
  section:first-of-type .wobble { animation: float 5s ease-in-out infinite; }
  section:first-of-type .wobble:nth-of-type(2n) { animation-duration: 6.5s; animation-delay: -2s; }
}

/* Phones and tablets: the answer opens under the chosen statement instead of in the side panel */
@media (max-width: 1023px) {
  .js .sim-option[aria-pressed="true"] .sim-answer { display: block; color: rgba(255,255,255,.88); margin-top: .5rem; font-size: 1.125rem; }
}

/* Entrance offsets must never widen the page */
section, footer { overflow-x: clip; }

/* ---- Hover: one soft motion language for everything ----
   Long, decelerating ease without overshoot; small distances; the hard shadow grows as a
   sticker lifts and shrinks when it is pressed, so the movement reads as physical. */
:root { --ease-soft: cubic-bezier(.22,1,.36,1); --hover-dur: .5s; }

html .press { transition: translate var(--hover-dur) var(--ease-soft), box-shadow var(--hover-dur) var(--ease-soft), background-color .35s ease, color .35s ease; }
html .lift { transition: translate .6s var(--ease-soft), box-shadow .6s var(--ease-soft), rotate .6s var(--ease-soft); }
html .wobble { transition: transform .7s var(--ease-soft); }
.nudge { display: inline-block; transition: translate var(--hover-dur) var(--ease-soft); }
.playbtn { transition: scale .6s var(--ease-soft), background-color .35s ease; }
.group img.die-cut { transition: scale .8s var(--ease-soft); }
.navlink { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 3px; transition: background-size var(--hover-dur) var(--ease-soft); }
.navlink[aria-current="page"] { background-size: 100% 2px; }
footer a, .hover\:text-turquoise { transition: color .35s ease; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html .press:hover { translate: 0 -3px; }
  html .press.hard:hover { box-shadow: 7px 7px 0 #000; }
  html .press.hard-sm:hover { box-shadow: 5px 5px 0 #000; }
  html .press:active { translate: 0 1px; box-shadow: 1px 1px 0 #000; transition-duration: .15s; }

  html .lift:hover { translate: 0 -5px; rotate: .4deg; }
  html .lift.hard:hover { box-shadow: 8px 9px 0 #000; }
  html .lift.hard-sm:hover { box-shadow: 5px 6px 0 #000; }

  html .wobble:hover { transform: rotate(calc(var(--r, 0deg) + 8deg)) scale(1.06); }
  .group:hover .nudge { translate: 4px 0; }
  .group:hover .playbtn { scale: 1.08; }
  .group:hover img.die-cut { scale: 1.02; }
  .navlink:hover { background-size: 100% 2px; }

  html .sim-option:not([aria-pressed="true"]):hover { translate: 0 -2px; box-shadow: 3px 3px 0 #000; }
}

/* ---- Section index (built by site.js) ---- */
section[id] { scroll-margin-top: 96px; }
.toc { position: fixed; z-index: 45; right: 20px; top: 50%; translate: 0 -50%; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.toc-toggle { width: 44px; height: 44px; border-radius: 9999px; background: #fff; border: 2px solid #000; box-shadow: 3px 3px 0 #000; display: flex; align-items: center; justify-content: center;
  transition: translate .5s var(--ease-soft, ease), box-shadow .5s var(--ease-soft, ease), background-color .3s ease; }
.toc-toggle .icon { font-size: 22px; }
.toc.is-open .toc-toggle { background: #1A535C; color: #fff; }
.toc-list { list-style: none; margin: 0; padding: 14px 8px; display: flex; flex-direction: column; gap: 2px; border-radius: 24px;
  background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(0,0,0,.7);
  box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.toc-link { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 5px 8px; border-radius: 12px; color: rgba(0,0,0,.55);
  font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; transition: color .35s ease, font-size .45s var(--ease-soft, ease), background-color .35s ease; }
.toc-link:hover { color: #000; background: rgba(78,205,196,.18); }
.toc-link.is-active { color: #000; font-size: 18px; }
.toc-dot { order: 2; flex: none; width: 8px; height: 8px; border-radius: 9999px; background: rgba(0,0,0,.25); transition: all .45s var(--ease-soft, ease); }
.toc-link.is-active .toc-dot { width: 12px; height: 12px; background: #4ECDC4; box-shadow: 0 0 0 2px #000; }
.toc-link:focus-visible, .toc-toggle:focus-visible { outline: 3px solid #4ECDC4; outline-offset: 2px; }

/* closed: only the dots stay, as a slim progress rail */
.toc:not(.is-open) .toc-label { display: none; }
.toc:not(.is-open) .toc-list { padding: 12px 4px; background: rgba(255,255,255,.55); }
.toc:not(.is-open) .toc-link { padding: 5px 9px; }

/* desktop: hovering the closed rail previews the titles without opening it */
@media (min-width: 1024px) and (hover: hover) {
  .toc:not(.is-open) .toc-list:hover { padding: 14px 8px; background: rgba(255,255,255,.72); }
  .toc:not(.is-open) .toc-list:hover .toc-label { display: inline; }
}

/* phones and tablets: a centred button that opens a panel above it, lifted clear of
   browser toolbars that sit at the bottom of the screen (Safari on iPhone) */
@media (max-width: 1023px) {
  .toc { top: auto; right: auto; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 64px); translate: -50% 0; flex-direction: column-reverse; align-items: center; }
  .toc:not(.is-open) .toc-list { display: none; }
  .toc-toggle { width: 52px; height: 52px; }
  .toc-list { max-height: 70vh; overflow-y: auto; padding: 14px 10px; }
  .toc-link { font-size: 15px; padding: 7px 10px; }
  .toc-link.is-active { font-size: 19px; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .toc-toggle:hover { translate: 0 -2px; box-shadow: 5px 5px 0 #000; }
}
@media (prefers-reduced-motion: reduce) { .toc-link, .toc-dot, .toc-toggle { transition: none; } }

/* ---- Mobile menu (built by site.js) ---- */
.menu-toggle { width: 44px; height: 44px; flex: none; border-radius: 9999px; background: #fff; border: 1px solid #000; display: flex; align-items: center; justify-content: center; }
.menu-toggle .icon { font-size: 24px; }
.menu-open .menu-toggle { background: #1A535C; color: #fff; }
.menu-toggle:focus-visible, .menu-link:focus-visible, .menu-cta:focus-visible { outline: 3px solid #4ECDC4; outline-offset: 2px; }
.menu-panel { position: absolute; top: calc(100% + 10px); left: 0; right: 0; padding: 10px; border-radius: 28px; background: #fff; border: 2px solid #000; box-shadow: 5px 5px 0 #000;
  display: flex; flex-direction: column; gap: 4px; opacity: 0; visibility: hidden; translate: 0 -8px; scale: .98; transform-origin: top right;
  transition: opacity .3s var(--ease-soft, ease), translate .45s var(--ease-soft, ease), scale .45s var(--ease-soft, ease), visibility 0s linear .45s; }
.menu-open .menu-panel { opacity: 1; visibility: visible; translate: 0 0; scale: 1; transition-delay: 0s; }
.menu-link { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 18px; font-family: Anton, sans-serif; text-transform: uppercase; font-size: 30px; line-height: 1; }
.menu-link .icon { font-size: 24px; color: rgba(0,0,0,.35); }
.menu-link:hover, .menu-link:active { background: #DCF4F1; }
.menu-link[aria-current="page"] { background: #DCF4F1; }
.menu-link[aria-current="page"] .icon { color: #1A535C; }
.menu-cta { margin-top: 6px; display: flex; justify-content: center; padding: 14px; border-radius: 9999px; background: #1A535C; color: #fff; border: 2px solid #000; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
@media (min-width: 1024px) { .menu-toggle, .menu-panel { display: none; } }
@media (max-width: 639px) { .nav-cta { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .menu-panel { transition: none; } }
