/*! neat-annotations | https://github.com/syabro/neat-annotations | MIT (c) 2026 Maxim Syabro
   Vendored from upstream commit 12fabf0f5b2e13b9ce884f5b0d9442c1c75a594e on 09-19-2026.
   Body is byte-identical to upstream; only this banner was rewritten (ASCII). build.js
   re-attaches this banner to the compiled stylesheet, since --minify drops every comment.
   Do not edit - re-vendor. License: neat-annotations.LICENSE
   Labels look best with the Shantell Sans font (falls back to system cursive). */

.ann {
  --ann-color: light-dark(#898584, #b8b8bd);
  --ann-mark: light-dark(
    color-mix(in oklch, var(--ann-color) 10%, transparent),
    oklch(from var(--ann-color) l calc(c * 1.35) h / 24%)
  );
  --ann-font: 'Shantell Sans', cursive;
  --ann-target-gap: 5px;
  --ann-label-gap: 6px;
  --ann-lower-label-gap: -4px;
  --ann-label-max-width: 150px;
  --ann-arrow-x: 0px;
  --ann-text-x: 0px;
  --ann-arrow-y: 0px;
  --ann-text-y: 5px;
  --ann-rotate: -4deg;
  position: relative;
  display: inline-block;
  overflow: visible;
  line-height: 1.15;
  border-radius: 3px;
  background: var(--ann-mark);
  box-shadow:
    -0.3em 0 0 0 var(--ann-mark),
    0.3em 0 0 0 var(--ann-mark);
}

.ann::after {
  content: attr(data-note);
  position: absolute;
  z-index: 4;
  width: max-content;
  max-width: var(--ann-label-max-width);
  transform: rotate(var(--ann-rotate));
  font-family: var(--ann-font);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.05;
  color: var(--ann-color);
  opacity: .9;
  white-space: normal;
  overflow-wrap: anywhere;
  pointer-events: none;
}

.ann::before {
  content: "";
  position: absolute;
  z-index: 3;
  width: 46px;
  height: 38px;
  transform-origin: 50% 50%;
  -webkit-mask: var(--_ann-arrow-mask) center / contain no-repeat;
  mask: var(--_ann-arrow-mask) center / contain no-repeat;
  background: var(--ann-color);
  opacity: .9;
  pointer-events: none;
}

.ann:not([data-note])::before,
.ann:not([data-note])::after,
.ann[data-note=""]::before,
.ann[data-note=""]::after { display: none; }

/* Amber text needs darker contrast, but the highlight uses bright yellow (#ffb000)
   to avoid a muddy background. color-mix with transparent creates an even marker tint. */
.ann-amber {
  --ann-color: light-dark(#b8751a, #f0b45a);
  --ann-mark: light-dark(
    color-mix(in oklch, #ffb000 14%, transparent),
    color-mix(in oklch, #ffb000 22%, transparent)
  );
}
.ann-blue { --ann-color: light-dark(#3b72c4, #78a9ef); }
.ann-green { --ann-color: light-dark(#2f8f5b, #67c792); }
.ann-red { --ann-color: light-dark(#c45a38, #ee8a6e); }
.ann-purple { --ann-color: light-dark(#8657c8, #b998ef); }
.ann-rainbow {
  --ann-color: oklch(0.65 0.28 var(--ann-rainbow-hue, 350deg));
}
.ann-no-mark { --ann-mark: transparent; }

@property --ann-rainbow-hue {
  syntax: "<angle>";
  inherits: false;
  initial-value: 350deg;
}

@keyframes ann-rainbow-cycle { to { --ann-rainbow-hue: 710deg; } }
@media (prefers-reduced-motion: no-preference) {
  .ann-rainbow { animation: ann-rainbow-cycle 3s linear infinite; }
}

@media (forced-colors: active) {
  .ann::before {
    background: CanvasText;
    forced-color-adjust: none;
  }
}

.ann-n::before {
  left: calc(50% - 23px + var(--ann-arrow-x));
  top: calc(100% + var(--ann-target-gap) - 4px + var(--ann-arrow-y));
  --_ann-arrow-mask: url("data:image/svg+xml,%3Csvg width='46' height='38' viewBox='0 0 46 38' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23 35 C22 26 22 15 23 4' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M17 10 L23 3 L29 10' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ann-n::after { left: calc(50% + var(--ann-text-x)); top: calc(100% + var(--ann-target-gap) + 31px + var(--ann-lower-label-gap) + var(--ann-text-y)); transform: translateX(-50%) rotate(var(--ann-rotate)); }

.ann-ne::before {
  left: calc(50% - 40px + var(--ann-arrow-x));
  top: calc(100% + var(--ann-target-gap) - 6px + var(--ann-arrow-y));
  transform: translateX(-10%);
  --_ann-arrow-mask: url("data:image/svg+xml,%3Csvg width='46' height='38' viewBox='0 0 46 38' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 32 C16 30 28 18 40 6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M30 10 L40 6 L36 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ann-ne::after { left: calc(50% - 34px + var(--ann-text-x)); top: calc(100% + var(--ann-target-gap) + 26px + var(--ann-lower-label-gap) + var(--ann-text-y)); transform: translateX(-60%) rotate(var(--ann-rotate)); }

.ann-e::before {
  left: calc(-1 * var(--ann-target-gap) - 43px + var(--ann-arrow-x));
  top: calc(50% - 19px + var(--ann-arrow-y));
  --_ann-arrow-mask: url("data:image/svg+xml,%3Csvg width='46' height='38' viewBox='0 0 46 38' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 19 C15 18 31 18 43 19' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M36 13 L43 19 L36 25' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ann-e::after { right: calc(100% + var(--ann-target-gap) + 39px + var(--ann-label-gap) - var(--ann-text-x)); top: calc(50% - 5px + var(--ann-text-y)); transform: translateY(-50%) rotate(var(--ann-rotate)); }

.ann-se::before {
  left: calc(50% - 40px + var(--ann-arrow-x));
  top: calc(-1 * var(--ann-target-gap) - 32px + var(--ann-arrow-y));
  transform: translateX(-10%);
  --_ann-arrow-mask: url("data:image/svg+xml,%3Csvg width='46' height='38' viewBox='0 0 46 38' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 6 C16 8 28 20 40 32' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M36 22 L40 32 L30 28' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ann-se::after { left: calc(50% - 34px + var(--ann-text-x)); bottom: calc(100% + var(--ann-target-gap) + 26px + var(--ann-label-gap) - var(--ann-text-y)); transform: translateX(-60%) rotate(var(--ann-rotate)); }

.ann-s::before {
  left: calc(50% - 23px + var(--ann-arrow-x));
  top: calc(-1 * var(--ann-target-gap) - 35px + var(--ann-arrow-y));
  --_ann-arrow-mask: url("data:image/svg+xml,%3Csvg width='46' height='38' viewBox='0 0 46 38' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23 4 C22 13 22 24 23 35' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M17 29 L23 36 L29 29' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ann-s::after { left: calc(50% + var(--ann-text-x)); bottom: calc(100% + var(--ann-target-gap) + 31px + var(--ann-label-gap) - var(--ann-text-y)); transform: translateX(-50%) rotate(var(--ann-rotate)); }

.ann-sw::before {
  left: calc(50% - 6px + var(--ann-arrow-x));
  top: calc(-1 * var(--ann-target-gap) - 32px + var(--ann-arrow-y));
  transform: translateX(10%);
  --_ann-arrow-mask: url("data:image/svg+xml,%3Csvg width='46' height='38' viewBox='0 0 46 38' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 6 C30 8 18 20 6 32' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M10 22 L6 32 L16 28' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ann-sw::after { left: calc(50% + 34px + var(--ann-text-x)); bottom: calc(100% + var(--ann-target-gap) + 26px + var(--ann-label-gap) - var(--ann-text-y)); transform: translateX(-40%) rotate(var(--ann-rotate)); }

.ann-w::before {
  left: calc(100% + var(--ann-target-gap) - 3px + var(--ann-arrow-x));
  top: calc(50% - 19px + var(--ann-arrow-y));
  --_ann-arrow-mask: url("data:image/svg+xml,%3Csvg width='46' height='38' viewBox='0 0 46 38' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M43 19 C32 18 15 18 3 19' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M10 13 L3 19 L10 25' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ann-w::after { left: calc(100% + var(--ann-target-gap) + 40px + var(--ann-label-gap) + var(--ann-text-x)); top: calc(50% - 5px + var(--ann-text-y)); transform: translateY(-50%) rotate(var(--ann-rotate)); }

.ann-nw::before {
  left: calc(50% - 6px + var(--ann-arrow-x));
  top: calc(100% + var(--ann-target-gap) - 6px + var(--ann-arrow-y));
  transform: translateX(10%);
  --_ann-arrow-mask: url("data:image/svg+xml,%3Csvg width='46' height='38' viewBox='0 0 46 38' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 32 C30 30 18 18 6 6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M16 10 L6 6 L10 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ann-nw::after { left: calc(50% + 34px + var(--ann-text-x)); top: calc(100% + var(--ann-target-gap) + 26px + var(--ann-lower-label-gap) + var(--ann-text-y)); transform: translateX(-40%) rotate(var(--ann-rotate)); }

/* ==========================================================================
   Site styles (hand-written). Brand colors are brand tokens (B:key in double braces) filled per brand by build.js
   ========================================================================== */
:root {
    --primary: #FF4D00;
    --primary-rgb: 255, 77, 0;
    --primary-dark: #cc3d00;
    --accent: #D7263D;
    --accent-rgb: 215, 38, 61;
    --deep: #14142B;
    --deep-rgb: 20, 20, 43;
    --ink: #1a1a2e;
    --muted: #5b5670;
    --text2: #6b3a1f;
    --bg: #ffd2a8;
    --bg-soft: #fff6ec;
    --bg-mid: #ffe6cf;
    --header-rgb: 255, 248, 240;
    --footer-text: #ffe9d6;
    --footer-muted: #c9c3d9;
    --canvas-bg: #fff8f0;
    --card: #ffffff;
    --radius: 22px;
    --shadow: 0 18px 40px -18px rgba(var(--deep-rgb), 0.45);
    --glow: 0 18px 50px -12px rgba(var(--primary-rgb), 0.55);
    --font-display: 'Bricolage Grotesque', ui-rounded, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --header-h: 68px;
    --tab-h: 64px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
    min-height: 100%;
    /* On html (the canvas) so the gradient spans the whole document; no fixed
       attachment - iOS Safari ignores it and long pages showed a hard edge. */
    background:
        radial-gradient(1200px 600px at 10% 0%, rgba(var(--primary-rgb), 0.18), transparent 60%),
        radial-gradient(900px 500px at 100% 0%, rgba(var(--accent-rgb), 0.18), transparent 60%),
        linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-mid) 45%, var(--bg) 100%);
    background-color: var(--bg-soft);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: transparent;
    overflow-x: hidden;
}

/* height: auto guard for any img with width/height attributes (global rule) */
img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    line-height: 1.1;
    color: var(--deep);
    margin: 0 0 0.5em;
}

p {
    margin: 0 0 1em;
}

a {
    color: var(--primary);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.fancy-text {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Image guard: original art is protected from casual saving. The pointer passes
 * through the image to its parent, so right-click and long-press never offer
 * "Save image" and it cannot be dragged out. Deterrent, not DRM. Pairs with
 * initImageGuard() in src/js/site.js. */
.img-protect {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

/* Chrome's context-menu hit test still finds an image under pointer-events: none, so every
 * protected image sits in this wrapper and a transparent overlay takes the right-click. */
.img-protect-wrap {
    display: block;
    position: relative;
}

.img-protect-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    z-index: 100;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
}

.skip-link:focus {
    top: 0.75rem;
}

/* Page frame (fleet desktop width) */
.frame {
    max-width: 105rem;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 640px) {
    .frame {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .frame {
        padding: 0 2rem;
    }
}

/* Particles (homepage burst) */
#tsparticles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   Header + navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(var(--header-rgb), 0.72);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.12);
    transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 30px -18px rgba(var(--deep-rgb), 0.6);
}

.site-header__inner {
    max-width: 105rem;
    margin: 0 auto;
    height: var(--header-h);
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 640px) {
    .site-header__inner {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .site-header__inner {
        padding: 0 2rem;
    }
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex: 0 0 auto;
    text-decoration: none;
}

.site-logo img {
    display: block;
    width: 46px;
    height: 46px;
    object-fit: contain;
}

/* Wordmark as real text: crisp at every size (the raster wordmark looked cramped at 60px). */
.site-logo__text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
}

.site-logo__text .wm-a {
    color: var(--primary);
}

.site-logo__text .wm-b {
    color: var(--accent);
}

/* The domain ending (.fast / .com) is lighter, with normal tracking and a hair of space before the
 * dot: at 800 with the wordmark's tight tracking it read cramped next to the name. */
.site-logo__text .wm-c {
    color: var(--deep);
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-left: 0.05em;
}

/* Navigation (markup: scripts/gen-nav.js). Desktop (900px+): a row of dropdown groups.
 * Below 900px: the nav becomes a slide-in panel opened by the "Menu" tab in the bottom bar. */
.site-nav__top,
.site-nav__home {
    display: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-group {
    position: relative;
}

.nav-group__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font: inherit;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--deep);
    background: none;
    border: 0;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-group__btn:hover,
.nav-group.is-open > .nav-group__btn {
    background: rgba(var(--primary-rgb), 0.1);
}

.nav-group.is-active > .nav-group__btn {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: var(--glow);
}

.nav-group__chev {
    transition: transform 0.15s ease;
}

.nav-group.is-open .nav-group__chev {
    transform: rotate(180deg);
}

.nav-group__menu {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    min-width: 17rem;
    padding: 0.5rem;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 50px -16px rgba(var(--deep-rgb), 0.45), 0 0 0 1px rgba(var(--primary-rgb), 0.08);
    display: none;
    z-index: 70;
}

/* hover opens on mouse devices; click/tap and keyboard toggle .is-open (site.js) */
@media (hover: hover) and (min-width: 900px) {
    .nav-group:not(.is-suppressed):hover > .nav-group__menu {
        display: block;
    }

    .nav-group:hover::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 0.6rem;
    }
}

.nav-group.is-open > .nav-group__menu {
    display: block;
}

.nav-group__menu a {
    display: block;
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--ink);
}

.nav-group__menu a strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--deep);
}

.nav-group__menu a span {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
}

.nav-group__menu a:hover,
.nav-group__menu a:focus-visible {
    background: rgba(var(--primary-rgb), 0.08);
}

.nav-group__menu a[aria-current="page"] strong {
    color: var(--primary);
}

.nav-backdrop {
    display: none;
}

/* Bottom tab bar + slide-in menu (phones and small tablets) */
.tab-bar {
    display: none;
}

@media (max-width: 899px) {
    /* backdrop-filter makes the header the containing block for position:fixed children, which
       clipped the slide-in menu to the header's height; solid header on small screens instead */
    .site-header {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: rgb(var(--header-rgb));
    }

    .site-logo img {
        width: 40px;
        height: 40px;
    }

    .site-logo__text {
        font-size: 1.35rem;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 90;
        width: min(22rem, 88vw);
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 1rem 1rem calc(var(--tab-h) + 1rem + env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        background: #fff;
        box-shadow: -20px 0 50px -20px rgba(var(--deep-rgb), 0.5);
        display: none; /* closed: out of the layout entirely (an off-screen transform caused sideways scroll) */
    }

    html.nav-open .site-nav {
        display: flex;
        animation: nav-slide 0.2s ease;
    }

    @keyframes nav-slide {
        from { transform: translateX(40px); opacity: 0; }
        to { transform: none; opacity: 1; }
    }

    html.nav-open {
        overflow: hidden;
    }

    .site-nav__top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0.25rem;
    }

    .site-nav__title {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: 1.4rem;
        color: var(--deep);
    }

    .site-nav__close {
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: 50%;
        background: rgba(var(--primary-rgb), 0.1);
        color: var(--deep);
        font-size: 1.8rem;
        line-height: 1;
        cursor: pointer;
    }

    .site-nav__home {
        display: block;
        font-family: var(--font-display);
        font-weight: 600;
        font-size: 1.1rem;
        color: var(--deep);
        text-decoration: none;
        padding: 0.6rem 0.8rem;
        border-radius: 12px;
    }

    .site-nav__home[aria-current="page"] {
        color: var(--primary);
        background: rgba(var(--primary-rgb), 0.08);
    }

    /* in the panel every group is a labeled section, always expanded */
    .nav-group__btn {
        width: 100%;
        justify-content: flex-start;
        padding: 0.9rem 0.8rem 0.2rem;
        font-size: 0.8rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--primary);
        background: none !important;
        box-shadow: none !important;
        pointer-events: none;
    }

    .nav-group.is-active > .nav-group__btn {
        color: var(--accent);
    }

    .nav-group__chev {
        display: none;
    }

    .nav-group__menu {
        display: block;
        position: static;
        min-width: 0;
        padding: 0;
        box-shadow: none;
        background: none;
    }

    /* below the sticky header (z-index 50), whose stacking context holds the panel, and above
       the page; at z-index 80 it covered the panel and swallowed every tap on a link */
    .nav-backdrop:not([hidden]) {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 45;
        background: rgba(var(--deep-rgb), 0.45);
    }

    .tab-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 95;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        height: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
        padding: 0.35rem 0.5rem env(safe-area-inset-bottom, 0px);
        background: rgba(var(--header-rgb), 0.92);
        -webkit-backdrop-filter: saturate(160%) blur(16px);
        backdrop-filter: saturate(160%) blur(16px);
        border-top: 1px solid rgba(var(--primary-rgb), 0.15);
        box-shadow: 0 -10px 30px -20px rgba(var(--deep-rgb), 0.6);
    }

    .tab-bar a,
    .tab-bar button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        margin: 0 0.25rem;
        border: 0;
        border-radius: 16px;
        background: none;
        font: inherit;
        font-family: var(--font-display);
        font-weight: 600;
        font-size: 0.78rem;
        color: var(--muted);
        text-decoration: none;
        cursor: pointer;
    }

    .tab-bar a[aria-current="page"],
    .tab-bar button[aria-expanded="true"] {
        color: var(--primary);
        background: rgba(var(--primary-rgb), 0.1);
    }

    body {
        padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
    }
}

/* --------------------------------------------------------------------------
   Shared building blocks
   -------------------------------------------------------------------------- */
.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: #fff;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    margin: 0 0 1rem;
}

.hero__title {
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.02;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1;
    white-space: nowrap;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    border: 2px solid var(--primary);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-color: transparent;
    color: #fff;
    box-shadow: var(--glow);
}

.btn--ghost {
    background: #fff;
    color: var(--primary);
}

.btn--ghost:hover {
    background: var(--primary);
    color: #fff;
}

.section-head {
    text-align: center;
    max-width: 52rem;
    margin: 0 auto 1.75rem;
}

.section-head h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
}

.section-head p {
    color: var(--muted);
    font-size: 1.1rem;
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow);
}

.card h3 {
    font-size: 1.3rem;
    color: var(--primary);
}

.card p {
    margin: 0;
    color: var(--ink);
}

.card--accent {
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(90deg, var(--primary), var(--accent)) border-box;
    border: 3px solid transparent;
}

.cards {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cards--two {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* --------------------------------------------------------------------------
   Homepage
   -------------------------------------------------------------------------- */
.hero {
    display: grid;
    gap: 2rem;
    align-items: center;
    padding: 2rem 0 2.5rem;
}

@media (min-width: 900px) {
    .hero {
        grid-template-columns: 1fr 1.1fr;
        gap: 3rem;
        padding: 3.5rem 0 3.5rem;
    }
}

.hero__slogan {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.2rem, 2.4vw, 1.65rem);
    color: var(--deep);
    min-height: 2.6em;
    margin: 0.25rem 0 1.25rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.hero__count {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
}

.hero__art {
    margin: 0;
}

.hero__art img {
    display: block;
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 0 0 6px #fff, 0 40px 80px -30px rgba(var(--primary-rgb), 0.65);
    transform: rotate(1.2deg);
}

.scenes {
    padding: 2.5rem 0;
}

.scene-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

@media (max-width: 559px) {
    .scene-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }
}

.scene {
    position: relative;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scene:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow);
}

.scene img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.scene__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    /* right padding keeps the caption clear of the brand badge in the thumbnail corner */
    padding: 2rem 30% 0.7rem 0.9rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(var(--deep-rgb), 0.85));
}

@media (max-width: 559px) {
    .scene__caption {
        font-size: 0.82rem;
        padding: 1.4rem 30% 0.5rem 0.55rem;
    }
}

.teasers {
    display: grid;
    gap: 1rem;
    padding: 2rem 0;
}

@media (min-width: 800px) {
    .teasers {
        grid-template-columns: 1fr 1fr;
    }
}

.teaser {
    display: block;
    padding: 2rem;
    border-radius: 28px;
    text-decoration: none;
    color: #fff;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease;
}

.teaser:hover {
    transform: translateY(-3px);
}

.teaser h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
}

.teaser p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.1rem;
}

.teaser--why {
    background: linear-gradient(135deg, var(--primary) 0%, var(--deep) 100%);
}

.teaser--doodle {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
}

.teaser__cta {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 600;
    white-space: nowrap;
}

.faq {
    max-width: 80rem;
    margin: 0 auto;
    padding: 2rem 0 1rem;
}

.faq h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    text-align: center;
}

.faq details {
    background: #fff;
    border-radius: 18px;
    margin: 0 0 0.75rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq summary {
    cursor: pointer;
    padding: 1rem 1.3rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--deep);
    list-style-position: inside;
}

.faq details[open] summary {
    color: var(--primary);
}

.faq details p {
    padding: 0 1.3rem 1.1rem;
    margin: 0;
}

/* Lightbox */
.lightbox {
    border: 0;
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    background: transparent;
    overflow: hidden;
}

.lightbox::backdrop {
    background: rgba(var(--deep-rgb), 0.9);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    max-width: 100%;
    padding: 3.5rem 1rem 1.5rem;
}

.lightbox__figure img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(92vw, 1536px);
    max-height: 78vh;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 30px 80px -20px rgba(var(--primary-rgb), 0.7);
}

.lightbox__figure figcaption {
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    text-align: center;
}

.lightbox__count {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    margin-left: 0.4rem;
}

.lightbox__btn {
    position: fixed;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__btn:hover {
    background: var(--primary);
}

.lightbox__close {
    top: 1rem;
    right: 1rem;
}

.lightbox__prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 639px) {
    .lightbox__prev,
    .lightbox__next {
        top: auto;
        bottom: 1.25rem;
        transform: none;
    }
}

html.lightbox-open {
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   /why/
   -------------------------------------------------------------------------- */
.why-hero {
    display: grid;
    gap: 1.5rem 3rem;
    align-items: center;
    padding: 2.5rem 0 2rem;
}

@media (min-width: 900px) {
    .why-hero {
        grid-template-columns: 1.2fr 1fr;
        grid-template-areas: "eyebrow art" "title art" "lead art";
    }

    .why-hero .eyebrow {
        grid-area: eyebrow;
        justify-self: start;
        align-self: end;
        margin: 0;
    }

    .why-hero .hero__title {
        grid-area: title;
        margin: 0;
    }

    .why-hero .lead {
        grid-area: lead;
        align-self: start;
    }

    .why-hero__art {
        grid-area: art;
    }
}

.why-hero .eyebrow {
    justify-self: start;
}

.lead {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--deep);
    max-width: 46rem;
}

.why-hero__art {
    margin: 0;
}

.why-hero__art img {
    display: block;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 0 0 6px #fff, var(--glow);
    transform: rotate(-1.2deg);
}

.why-grid,
.why-who,
.why-kit {
    padding: 1.75rem 0;
}

.why-grid h2,
.why-who h2,
.why-kit h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 800;
}

.why-kit {
    max-width: 80rem;
}

.why-kit p {
    font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    position: relative;
    z-index: 2;
    margin-top: 2.5rem;
    background: var(--deep);
    color: var(--footer-text);
}

.site-footer__inner {
    max-width: 105rem;
    margin: 0 auto;
    padding: 2.5rem 1rem 1.5rem;
}

@media (min-width: 640px) {
    .site-footer__inner {
        padding: 2.5rem 1.5rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .site-footer__inner {
        padding: 2.75rem 2rem 1.5rem;
    }
}

.site-footer__cols {
    display: grid;
    gap: 1.75rem 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .site-footer__cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .site-footer__cols {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.site-footer__col h2 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--footer-muted);
    margin: 0 0 0.75rem;
}

.site-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__col li {
    margin: 0 0 0.55rem;
}

.site-footer__col a {
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    text-decoration: none;
}

.site-footer__col a:hover,
.site-footer__col a[aria-current="page"] {
    text-decoration: underline;
}

.site-footer__copy {
    margin: 2rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
    color: var(--footer-muted);
}

.site-footer__copy a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.noscript-warning {
    text-align: center;
    padding: 1rem;
    color: var(--deep);
}

/* 404 */
.frame--404 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn,
    .scene,
    .teaser {
        transition: none;
    }
}

/* ===================== /p/ drawing page ===================== */
.p-page .p-frame {
    max-width: 105rem;
    margin: 0 auto;
    padding: 0.5rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.p-page .p-header h1 {
    font-size: clamp(1.3rem, 3.5vw, 2.2rem);
    margin: 0.25rem 0 0;
}

.p-page .p-status {
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: normal;
    color: var(--text2);
    margin: 0.15rem 0 0;
    min-height: 1.3em;
}

.p-page .p-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.6rem;
    font-style: normal;
}

.p-page .p-swatches {
    display: flex;
    gap: 0.35rem;
}

.p-page .p-swatch {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    padding: 0;
}

.p-page .p-swatch[aria-pressed="true"] {
    box-shadow: 0 0 0 3px var(--primary);
    transform: scale(1.1);
}

.p-page .p-size {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
    color: var(--text2);
}

.p-page .p-size input {
    width: 6.5rem;
    accent-color: var(--primary);
}

.p-page .p-btn {
    font: inherit;
    font-style: normal;
    font-size: 0.95rem;
    white-space: nowrap;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 2px solid var(--primary);
    background: #fff;
    color: var(--primary);
    cursor: pointer;
}

.p-page .p-btn:hover,
.p-page .p-btn[aria-pressed="true"] {
    background: var(--primary);
    color: #fff;
}

.p-page .p-btn-towel {
    background: var(--primary);
    color: #fff;
}

.p-page .p-btn-towel:hover {
    background: var(--primary-dark);
}

.p-page .p-btn[hidden] {
    display: none;
}

.p-page .p-stage {
    position: relative;
    width: 100%;
    height: 72vh;
    min-height: 320px;
    background: var(--canvas-bg);
    border-radius: 18px;
    box-shadow: 0 0 14px 4px rgba(var(--accent-rgb), 0.45);
    overflow: hidden;
}

.p-page #pCanvas {
    display: block;
    touch-action: none;
    cursor: crosshair;
    user-select: none;
    -webkit-user-select: none;
}

.p-page .p-count {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin: 0.25rem 0 0;
}

.p-page .p-private {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(var(--primary-rgb), 0.35);
    color: var(--deep);
    font-size: clamp(0.8rem, 1.9vw, 0.95rem);
    font-style: normal;
    font-weight: normal;
    text-align: left;
    max-width: 100%;
}

.p-page .p-private strong {
    color: var(--primary);
}

.p-page .p-lock {
    flex: 0 0 auto;
    color: var(--primary);
}

.p-page .p-about {
    max-width: 80rem;
    width: 100%;
    text-align: left;
    font-style: normal;
    font-weight: normal;
    color: var(--deep);
    line-height: 1.55;
    margin-top: 0.75rem;
}

.p-page .p-about h2 {
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    color: var(--primary);
    margin: 1rem 0 0.35rem;
}

.p-page .p-about p {
    margin: 0.4rem 0;
    line-height: 1.55;
}

.p-page .p-about ul {
    padding-left: 1.3rem;
}

.p-page .p-about li {
    margin: 0.3rem 0;
}

.p-page .p-about a {
    color: var(--primary);
}

@media (min-width: 640px) {
    .p-page .p-frame {
        padding: 0.5rem 1.5rem 1rem;
    }
}

@media (min-width: 1024px) {
    .p-page .p-frame {
        padding: 0.5rem 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .p-page .p-stage {
        height: 62vh;
    }

    .p-page .p-swatch {
        width: 1.75rem;
        height: 1.75rem;
    }
}

/* ===================== annotations (neat-annotations) ===================== */
/* ---- A. font face ------------------------------------------------------------------------ */
@font-face {
    font-family: "Shantell Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/shantell-sans-latin-400-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- B. overrides (unlayered) ------------------------------------------------------------ */
/* ------------------------------------------- annotations (neat-annotations) */
/* UNLAYERED on purpose: the vendored neat-annotations.css is unlayered, and unlayered CSS beats
 * every @layer, so overrides of its .ann rules must sit outside @layer. Arrows and labels are
 * absolutely positioned outside their targets and reserve no space, so they only draw where
 * the layout has room: lg (64rem) and up. Below that the marker highlight alone remains, and
 * whatever the note says is also in visible copy (legend, caption, sentence). */
.ann {
    --ann-label-max-width: 170px;
}
/* The label is decoration: every note restates visible copy. The alt-text form of content
 * (value / "") keeps it out of the accessibility tree, so a wrapped button or link keeps its
 * own accessible name ("Learn", not "Learn new here? start here"). Browsers without the syntax
 * drop this line and fall back to the vendored content: attr(data-note).
 * .text-gradient-style headings set -webkit-text-fill-color: transparent, which INHERITS into
 * the pseudo-element and blanks the label; paint it with the annotation ink regardless. */
.ann::after {
    content: attr(data-note) / "";
    -webkit-text-fill-color: var(--ann-color);
}
.ann::before,
.ann::after {
    display: none;
}
@media (min-width: 64rem) {
    .ann[data-note]::before,
    .ann[data-note]::after {
        display: block;
    }
}
/* Block-level wrapper: a <pre>, a card, a callout, a form row. The vendored .ann is
 * inline-block, which would shrink-wrap and break the wrapped element's width. */
.ann-block {
    display: block;
}
/* Site tuning classes referenced by recipes.md. */
.ann-tight { --ann-label-max-width: 120px; }
.ann-wide { --ann-label-max-width: 220px; }
.ann-nudge-up { --ann-text-y: -10px; --ann-arrow-y: -6px; }
.ann-nudge-down { --ann-text-y: 12px; --ann-arrow-y: 6px; }
/* White ink for targets on a colored band with white text (a gradient hero, colored stat
 * tiles, a CTA strip) where the palette inks have no contrast. Put it after the color class.
 * Use it only where the LABEL also lands on the band. */
.ann.ann-ink-light {
    --ann-color: rgba(255, 255, 255, 0.95);
    --ann-mark: rgba(255, 255, 255, 0.18);
}
/* Drop the marker highlight where it paints as a flat box: gradient-text headings (the mark
 * sits under the gradient glyphs) and hero <h1>s (a text-5xl block). Adjust the selectors to
 * the project's class names. */
.hero__title .ann,
.fancy-text .ann {
    --ann-mark: transparent;
}
/* Print: arrows and labels off by default. A PDF template rendered from HTML that WANTS them
 * opts back in on its own container (see recipes.md, "Downloads and PDFs"). */
@media print {
    .ann::before,
    .ann::after {
        display: none;
    }
}

/* ---- C. sticky / fixed header AND in-page sticky bars (unlayered) ------------------------ */
/* Chrome annotations (logo, nav item, search, theme toggle) sit inside the header, and pages
 * often carry a sticky quick-nav bar of section chips (Tailwind .sticky). When those stick,
 * their labels would ride along and cover page content, so fade them out over the first 120px
 * of scroll with a scroll-driven animation. CSS only, no JavaScript. Browsers without
 * animation-timeline keep the labels visible - nothing breaks, it just does not fade. Replace
 * .site-header with the project's header selector and add any other sticky container. */
@supports (animation-timeline: scroll()) {
    .site-header .ann[data-note]::before,
    .site-header .ann[data-note]::after,
    .tab-bar .ann[data-note]::before,
    .tab-bar .ann[data-note]::after {
        animation: ann-scroll-fade linear both;
        animation-timeline: scroll(root);
        animation-range: 0 120px;
    }
}
@keyframes ann-scroll-fade {
    from { opacity: 0.9; }
    to { opacity: 0; visibility: hidden; }
}

/* The footer Doodle callout: the vendored .ann wrapper must not shift the link out of line. */
.site-footer__col .ann {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

/* ===================== contact form ===================== */
.cform-card {
    max-width: 44rem;
    margin: 2rem auto 1rem;
    padding: 1.75rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.cform-heading {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin: 0 0 1rem;
    color: var(--deep);
}
.cform-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform-label { display: block; margin-bottom: 0.3rem; font-size: 0.9rem; font-weight: 600; color: var(--deep); }
.cform-input {
    width: 100%;
    margin-bottom: 0.9rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(var(--deep-rgb), 0.25);
    border-radius: 12px;
    font: inherit;
    font-size: 1rem;
    background: var(--bg-soft);
    color: var(--ink);
}
.cform-input:focus { outline: 3px solid rgba(var(--primary-rgb), 0.35); border-color: var(--primary); }
.cform-textarea { margin-bottom: 0.25rem; resize: vertical; }
.cform-counter { margin-bottom: 0.9rem; text-align: right; font-size: 0.8rem; color: var(--muted); }
.cform-ts { min-height: 65px; margin-bottom: 0.9rem; }
.cform-error { display: none; margin: 0 0 0.9rem; color: #c81e1e; font-size: 0.95rem; }
.cform-send { width: 100%; }
.cform-done { display: none; padding: 1.25rem 0; text-align: center; }
.cform-done-title { margin: 0 0 0.25rem; font-weight: 700; font-size: 1.2rem; color: var(--deep); }
.cform-done-text { margin: 0; color: var(--muted); }
.cform-about { max-width: 44rem; margin: 0 auto 1rem; }
.cform-about h2 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 800; }

/* ===================== 404 page ===================== */
.notfound { text-align: center; padding: 1rem 0 0.5rem; }
.notfound__title { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800; margin: 0 0 1rem; }
.notfound__img {
    display: block;
    width: auto;
    max-width: min(92vw, 560px);
    max-height: 70vh;
    margin: 0 auto 1.25rem;
    border-radius: 24px;
    box-shadow: 0 20px 50px -15px rgba(var(--primary-rgb), 0.55);
    object-fit: contain;
}
/* ===================== content pages (scripts/gen-pages.js) ===================== */
.ph { display: grid; gap: 1.5rem 3rem; align-items: center; padding: 2.25rem 0 1.5rem; }
@media (min-width: 900px) { .ph { grid-template-columns: 1fr 1.1fr; } }
.ph .eyebrow { justify-self: start; }
.ph__art { margin: 0; }
.ph__art img { display: block; width: 100%; border-radius: 24px; box-shadow: 0 0 0 6px #fff, var(--glow); }
.pb { max-width: 80rem; }
.pb__section { padding: 1rem 0; }
.pb__section h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; }
.pb__section ul, .pb__section ol { padding-left: 1.3rem; }
.pb__section li { margin: 0.3rem 0; }
/* A scene gallery inside the page body spans the full frame like the homepage, without the
   prose list indent and item margins (they skewed the gaps). */
.pb:has(> .pb__section > .scene-grid) { max-width: none; }
.pb__section .scene-grid { padding-left: 0; }
.pb__section .scene-grid li { margin: 0; }
.table-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid rgba(var(--deep-rgb), 0.1); }
.compare thead th { background: var(--deep); color: #fff; font-family: var(--font-display); }
.compare tbody th { color: var(--primary); font-family: var(--font-display); }
.related { padding: 2rem 0 0.5rem; }
.related h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; }
.related__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.related__card { display: block; padding: 1.2rem 1.4rem; background: #fff; border-radius: 18px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.related__card strong { display: block; font-family: var(--font-display); color: var(--primary); font-size: 1.15rem; margin-bottom: 0.25rem; }
.related__card:hover { box-shadow: var(--glow); }
.scene-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.holiday-grid { list-style: none; padding: 0 !important; display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.holiday-card { display: block; padding: 1rem 1.2rem; background: #fff; border-radius: 16px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.holiday-card strong { display: block; font-family: var(--font-display); color: var(--primary); }
.holiday-card span { font-size: 0.9rem; color: var(--muted); }
/* Card thumbnails (holiday/occasion grids, Keep exploring): full-bleed 16:9 image on top. */
.holiday-card, .related__card { overflow: hidden; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.holiday-card:hover, .related__card:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.card-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; margin: -1rem -1.2rem 0.8rem; background: rgba(var(--primary-rgb), 0.08); }
.related__card .card-thumb { margin: -1.2rem -1.4rem 0.9rem; }
/* crop from the top so the bottom-right brand badge of a 3:2 scene thumb stays in frame */
.card-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; transition: transform 0.3s ease; transform-origin: 50% 100%; }
.holiday-card:hover .card-thumb img, .related__card:hover .card-thumb img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
    .holiday-card, .related__card, .card-thumb img { transition: none; }
    .holiday-card:hover .card-thumb img, .related__card:hover .card-thumb img { transform: none; }
}
.slogan { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: var(--primary); margin: 0.5rem 0 1rem; padding-left: 1rem; border-left: 5px solid var(--accent); }
.calc { display: grid; gap: 0.9rem; max-width: 34rem; }
.calc label { display: grid; gap: 0.3rem; font-weight: 600; color: var(--deep); }
.calc select { padding: 0.6rem; border-radius: 12px; border: 1px solid rgba(var(--deep-rgb), 0.25); font: inherit; background: var(--bg-soft); }
.calc button { justify-self: start; }
.calc__result { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--primary); min-height: 1.5em; }
.quiz__answers { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.quiz__img { display: block; max-width: 420px; width: 100%; height: auto; border-radius: 16px; margin: 0.75rem 0; }
.slogan-pick { background: #fff; padding: 1.25rem; border-radius: 18px; box-shadow: var(--shadow); margin-bottom: 1rem; }
.slogan-pick p { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--primary); }
.slogans li { margin: 0.4rem 0; }
.printable { background: #fff; border: 3px dashed var(--primary); border-radius: 18px; padding: 1.5rem; margin-bottom: 0.9rem; text-align: center; }
.printable__kicker { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; color: var(--accent); margin: 0; }
.printable__big { font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; color: var(--deep); margin: 0.2rem 0; }
.printable__small { margin: 0; }
.printable__brand { margin: 0.6rem 0 0; font-weight: 700; color: var(--primary); }
.printable--tags { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.8rem; }
.tag { border: 2px solid var(--primary); border-radius: 14px; padding: 1rem; }
.tag p { font-family: var(--font-display); font-weight: 600; margin: 0 0 0.4rem; }
.tag span { font-size: 0.85rem; color: var(--primary); }
.wallpapers { columns: 2; }
.p-page .p-prompt { margin: 0.1rem 0 0; font-weight: 600; color: var(--primary); font-style: normal; }
@media print {
    .print-one body * { visibility: hidden; }
    .print-one .is-printing, .print-one .is-printing * { visibility: visible; }
    .print-one .is-printing { position: absolute; left: 0; top: 0; width: 100%; }
}

/* --------------------------------------------------------------------------
   Doodle Hall of Fame (/hall-of-fame/, /hall-of-fame/vote/, the /p/ entry dialog).
   Gold everywhere: gradients, spotlights, medals, a podium and confetti.
   -------------------------------------------------------------------------- */
:root {
    --gold: #f5b700;
    --gold-hi: #ffe27a;
    --gold-deep: #9a6a00;
    --silver: #c9ced6;
    --silver-deep: #7d8591;
    --bronze: #d0884a;
    --bronze-deep: #8a4f1f;
    --gold-grad: linear-gradient(135deg, #fff1a8 0%, #f5b700 38%, #c98a00 62%, #ffe27a 100%);
}
.hof-gold-text {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 2px 0 rgba(154, 106, 0, 0.35));
}
.hof-eyebrow { color: var(--gold-deep); border-color: rgba(245, 183, 0, 0.55); background: #fffaf0; }
.hof-title { margin: 0 0 0.6rem; }
.hof-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.btn.hof-btn-gold,
.p-page .p-btn.p-btn-gold {
    background: var(--gold-grad);
    border-color: var(--gold-deep);
    color: #3b2800;
    box-shadow: 0 10px 26px -10px rgba(201, 138, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn.hof-btn-gold:hover,
.p-page .p-btn.p-btn-gold:hover { color: #3b2800; filter: brightness(1.06); }

.hof-hero { position: relative; }
.hof-hero__art img { box-shadow: 0 0 0 6px var(--gold), 0 0 0 9px #fff, 0 24px 60px -14px rgba(201, 138, 0, 0.7); }

.hof-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin: 0.5rem 0 1.5rem; }
.hof-stat {
    display: flex; flex-direction: column; align-items: center; gap: 0.1rem; text-align: center;
    padding: 1rem 0.5rem; border-radius: var(--radius);
    background: linear-gradient(180deg, #fffdf3, #fff4cf);
    border: 2px solid rgba(245, 183, 0, 0.55);
    box-shadow: 0 12px 28px -18px rgba(154, 106, 0, 0.6);
}
.hof-stat__icon { font-size: 1.6rem; line-height: 1; }
.hof-stat strong { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.4rem); color: var(--gold-deep); line-height: 1.1; }
.hof-stat span:last-child { color: var(--muted); font-size: 0.9rem; }

.hof-board {
    position: relative; overflow: hidden;
    padding: 2rem clamp(1rem, 3vw, 2.5rem) 2.5rem; margin: 0 0 2rem;
    border-radius: 28px;
    background:
        radial-gradient(ellipse 40% 60% at 20% 0%, rgba(255, 226, 122, 0.35), transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 0%, rgba(255, 226, 122, 0.35), transparent 70%),
        radial-gradient(ellipse 50% 70% at 50% -10%, rgba(255, 241, 168, 0.5), transparent 70%),
        linear-gradient(180deg, var(--deep) 0%, #0d0a14 100%);
    color: #fff;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.hof-board__head { text-align: center; max-width: 46rem; margin: 0 auto 1.5rem; }
.hof-board__head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin: 0 0 0.4rem; color: var(--gold-hi); }
.hof-board__head p { color: rgba(255, 255, 255, 0.75); margin: 0; }
.hof-loading, .hof-error { text-align: center; color: rgba(255, 255, 255, 0.8); font-family: var(--font-display); }
.hof-judge .hof-loading, .hof-judge .hof-error { color: var(--muted); }

.hof-podium {
    list-style: none; margin: 0 auto; padding: 0;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.5rem, 2vw, 1.5rem);
    align-items: end; max-width: 64rem;
}
.hof-podium__spot { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hof-podium__spot--1 { order: 2; }
.hof-podium__spot--2 { order: 1; }
.hof-podium__spot--3 { order: 3; }
.hof-podium__beam {
    position: absolute; top: -3rem; left: 50%; width: 140%; height: calc(100% + 3rem);
    transform: translateX(-50%);
    background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgba(255, 241, 168, 0.28) 172deg, rgba(255, 241, 168, 0.4) 180deg, rgba(255, 241, 168, 0.28) 188deg, transparent 200deg);
    pointer-events: none; z-index: 0;
}
.hof-podium__crown { position: relative; z-index: 1; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1; margin-bottom: 0.3rem; filter: drop-shadow(0 4px 10px rgba(245, 183, 0, 0.6)); }
.hof-podium__spot--1 .hof-podium__crown { animation: hof-bob 2.4s ease-in-out infinite; }
.hof-podium__frame {
    position: relative; z-index: 1; margin: 0; width: 100%; padding: clamp(5px, 1vw, 10px);
    border-radius: 14px; background: var(--gold-grad);
    box-shadow: 0 16px 40px -14px rgba(245, 183, 0, 0.7);
}
.hof-podium__spot--2 .hof-podium__frame { background: linear-gradient(135deg, #f4f6f9, var(--silver) 45%, var(--silver-deep) 70%, #eef0f3); box-shadow: 0 16px 40px -14px rgba(201, 206, 214, 0.5); }
.hof-podium__spot--3 .hof-podium__frame { background: linear-gradient(135deg, #f3c69c, var(--bronze) 45%, var(--bronze-deep) 70%, #eab68a); box-shadow: 0 16px 40px -14px rgba(208, 136, 74, 0.5); }
.hof-podium__img img { display: block; width: 100%; height: auto; border-radius: 8px; background: #fff; }
.hof-podium__plinth {
    position: relative; z-index: 1; width: 100%; margin-top: 0.75rem; padding: 0.75rem 0.5rem 1rem;
    border-radius: 12px 12px 4px 4px; color: #3b2800;
    background: var(--gold-grad);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.6);
}
.hof-podium__spot--1 .hof-podium__plinth { min-height: 9rem; }
.hof-podium__spot--2 .hof-podium__plinth { min-height: 6.5rem; background: linear-gradient(180deg, #f4f6f9, var(--silver)); color: #2d3138; }
.hof-podium__spot--3 .hof-podium__plinth { min-height: 5rem; background: linear-gradient(180deg, #f3c69c, var(--bronze)); color: #3a1f08; }
.hof-podium__place { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 3vw, 2rem); line-height: 1; }
.hof-podium__points { display: block; font-family: var(--font-display); font-size: 1.05rem; margin: 0.2rem 0; }
.hof-tally { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0.15rem 0.6rem; font-size: 0.85rem; }

.hof-list { list-style: none; margin: 1.75rem auto 0; padding: 0; max-width: 48rem; display: grid; gap: 0.6rem; }
.hof-row {
    display: grid; grid-template-columns: 3.5rem 7rem 1fr; align-items: center; gap: 0.9rem;
    padding: 0.6rem 0.9rem; border-radius: 16px;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 226, 122, 0.25);
}
.hof-row__rank { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--gold-hi); text-align: center; }
.hof-row__img img { display: block; width: 100%; height: auto; border-radius: 8px; background: #fff; }
.hof-row__score { display: flex; flex-direction: column; gap: 0.15rem; }
.hof-row__score strong { font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.hof-row .hof-tally { justify-content: flex-start; color: rgba(255, 255, 255, 0.8); }

.hof-empty, .hof-done { text-align: center; max-width: 36rem; margin: 0 auto; padding: 1rem 0; }
.hof-empty h3, .hof-done h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--gold-hi); margin: 0.5rem 0; }
.hof-done h2 { color: var(--deep); }
.hof-empty p { color: rgba(255, 255, 255, 0.8); }
.hof-empty .hof-ctas, .hof-done .hof-ctas, .hof-empty .btn { justify-content: center; }
.hof-empty__trophy { width: min(240px, 60vw); height: auto; filter: drop-shadow(0 18px 30px rgba(245, 183, 0, 0.45)); animation: hof-bob 3s ease-in-out infinite; }

.hof-how { margin: 0 0 2rem; }
.hof-how h2, .hof-rules h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; text-align: center; }
.hof-steps { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.hof-step { background: #fff; border-radius: var(--radius); padding: 1.4rem 1.25rem; box-shadow: var(--shadow); border-top: 5px solid var(--gold); }
.hof-step__medal {
    display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
    font-family: var(--font-display); font-weight: 800; color: #3b2800; background: var(--gold-grad);
    box-shadow: 0 6px 14px -6px rgba(154, 106, 0, 0.8);
}
.hof-step h3 { margin: 0.6rem 0 0.3rem; }
.hof-step p { margin: 0; color: var(--text2); }
.hof-faq { margin-bottom: 2rem; }

/* judging */
.hof-judge { max-width: 52rem; margin: 0 auto; padding: 1.5rem 0 2rem; text-align: center; }
.hof-judge__head .lead { margin-left: auto; margin-right: auto; }
.hof-progress { display: grid; gap: 0.4rem; justify-items: center; margin: 0.75rem auto 1.25rem; font-family: var(--font-display); color: var(--gold-deep); }
.hof-progress__bar { display: block; width: min(28rem, 100%); height: 10px; border-radius: 999px; background: rgba(245, 183, 0, 0.18); overflow: hidden; }
.hof-progress__bar span { display: block; height: 100%; width: 0; background: var(--gold-grad); transition: width 0.4s ease; }
.hof-card {
    position: relative; margin: 0 auto; max-width: 40rem; padding: clamp(8px, 1.4vw, 14px);
    border-radius: 22px; background: var(--gold-grad);
    box-shadow: 0 0 0 4px #fff, 0 30px 70px -24px rgba(201, 138, 0, 0.75);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hof-card__spot {
    position: absolute; left: 50%; top: -4rem; width: 100%; height: 6rem; transform: translateX(-50%);
    background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(255, 241, 168, 0.55), transparent 70%);
    pointer-events: none;
}
.hof-card__img img { display: block; width: 100%; height: auto; border-radius: 12px; background: #fff; transition: opacity 0.2s ease; }
.hof-card.is-loading .hof-card__img img { opacity: 0.35; }
.hof-card.is-awarded { transform: scale(1.02); }
.hof-card.is-silver { background: linear-gradient(135deg, #f4f6f9, var(--silver) 45%, var(--silver-deep) 70%, #eef0f3); }
.hof-card.is-bronze { background: linear-gradient(135deg, #f3c69c, var(--bronze) 45%, var(--bronze-deep) 70%, #eab68a); }
.hof-reveal {
    position: absolute; inset: clamp(8px, 1.4vw, 14px); border-radius: 12px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem;
    background: rgba(13, 10, 20, 0.72); color: #fff;
    animation: hof-pop 0.35s ease-out;
}
.hof-reveal[hidden] { display: none; }
.hof-mine-tag {
    position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%); z-index: 2;
    padding: 0.3rem 0.85rem; border-radius: 999px; white-space: nowrap;
    background: #1a1206; color: #FFD700; font-weight: 800; font-size: 0.9rem;
    box-shadow: 0 0 0 2px #FFD700, 0 6px 16px -6px rgba(0, 0, 0, 0.5);
}
.hof-mine-tag[hidden] { display: none; }
.hof-reveal__medal { font-size: clamp(4rem, 12vw, 6.5rem); line-height: 1; animation: hof-spin 0.6s ease-out; }
.hof-reveal__label { font-family: var(--font-display); font-size: clamp(1.6rem, 5vw, 2.6rem); color: var(--gold-hi); }
.hof-reveal__points { color: rgba(255, 255, 255, 0.85); }
.hof-medals { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0.75rem; }
.hof-medal {
    font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.85rem 1.5rem; border-radius: 999px; cursor: pointer; border: 2px solid;
    transition: transform 0.15s ease, filter 0.15s ease;
}
.hof-medal span { font-size: 1.5rem; line-height: 1; }
.hof-medal:hover:not(:disabled) { transform: translateY(-3px) scale(1.03); filter: brightness(1.05); }
.hof-medal:disabled { opacity: 0.55; cursor: default; }
.hof-medal--gold { background: var(--gold-grad); border-color: var(--gold-deep); color: #3b2800; box-shadow: 0 12px 26px -10px rgba(201, 138, 0, 0.85); }
.hof-medal--silver { background: linear-gradient(135deg, #fafbfc, var(--silver)); border-color: var(--silver-deep); color: #2d3138; }
.hof-medal--bronze { background: linear-gradient(135deg, #f6d2b0, var(--bronze)); border-color: var(--bronze-deep); color: #3a1f08; }
.hof-minor { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.95rem; }
.hof-skip, .hof-report { font: inherit; background: none; border: 0; cursor: pointer; color: var(--muted); text-decoration: underline; padding: 0.3rem; }
.hof-report { font-size: 0.85rem; }
.hof-stop { color: var(--primary); font-weight: 600; }
.hof-rules { max-width: 52rem; margin: 0 auto 2rem; background: #fff; border-radius: var(--radius); padding: 1.5rem clamp(1rem, 3vw, 2rem); box-shadow: var(--shadow); border-top: 5px solid var(--gold); }
.hof-rules ul { padding-left: 1.2rem; }
.hof-rules li { margin: 0.4rem 0; }

.hof-confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 60; }
.hof-confetti__bit { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: hof-fall linear forwards; }

/* /p/ entry dialog */
.hof-enter { border: 0; padding: 0; border-radius: 24px; max-width: min(36rem, calc(100vw - 2rem)); width: 100%; background: transparent; }
.hof-enter::backdrop { background: rgba(13, 10, 20, 0.7); }
.hof-enter__box { margin: 0; padding: 1.5rem; border-radius: 24px; background: #fffdf5; border: 3px solid var(--gold); text-align: center; }
.hof-enter__title { margin: 0 0 0.4rem; font-size: 1.6rem; color: var(--gold-deep); }
.hof-enter__lead { margin: 0 0 1rem; color: var(--text2); }
.hof-enter__frame { padding: 8px; border-radius: 14px; background: var(--gold-grad); }
.hof-enter__frame img { display: block; width: 100%; height: auto; border-radius: 8px; }
.hof-enter__verify { display: flex; justify-content: center; min-height: 65px; margin: 1rem 0 0.25rem; }
.hof-enter__msg { min-height: 1.4em; margin: 0.25rem 0; color: #b42318; font-weight: 600; }
.hof-enter__msg.is-ok { color: #1f7a3a; }
.hof-enter__actions { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }
.hof-enter__fine { margin: 0.75rem 0 0; font-size: 0.8rem; color: var(--muted); }

@keyframes hof-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes hof-pop { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes hof-spin { from { transform: rotateY(180deg) scale(0.4); } to { transform: rotateY(0) scale(1); } }
@keyframes hof-fall { to { transform: translateY(110vh) rotate(720deg); opacity: 0.2; } }

@media (max-width: 640px) {
    .hof-stats { grid-template-columns: 1fr; }
    .hof-stat { flex-direction: row; justify-content: center; gap: 0.5rem; padding: 0.7rem; }
    .hof-podium { gap: 0.4rem; }
    .hof-podium__spot--1 .hof-podium__plinth { min-height: 7rem; }
    .hof-tally { font-size: 0.72rem; gap: 0 0.3rem; }
    .hof-row { grid-template-columns: 2.5rem 5rem 1fr; gap: 0.6rem; }
    .hof-medals { gap: 0.4rem; flex-wrap: nowrap; }
    .hof-medal { padding: 0.65rem 0.75rem; font-size: 0.95rem; gap: 0.25rem; }
    .hof-medal span { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
    .hof-podium__spot--1 .hof-podium__crown, .hof-empty__trophy, .hof-reveal, .hof-reveal__medal { animation: none; }
}
