/* Scouting & Facilitation sub-page. Self-contained: no other stylesheet is needed. */

/* ---------- colours and basics ---------- */
:root {
    --bg: #fbfaf7;
    --ink: #0f172a;
    --muted: #5b6475;
    --card: #ffffff;
    --line: rgba(15, 23, 42, 0.09);
    --ac: #0891b2;          /* main accent colour */
    --ac2: #67e8f9;         /* lighter accent */
    --soft: #fde68a;        /* warm highlight */
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }

body {
    font-family: Poppins, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, 92%); margin: auto; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--ac); outline-offset: 3px; }


/* ---------- cursor glow (moved by script.js) ---------- */
.glow {
    position: fixed; left: 0; top: 0; z-index: 0;
    width: 420px; height: 420px; margin: -210px 0 0 -210px;
    border-radius: 50%; pointer-events: none; will-change: transform;
    background: radial-gradient(circle, rgba(103, 232, 249, 0.35), transparent 65%);
}


/* ---------- menu ---------- */
.nav {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 0.8rem 4%;
    background: rgba(251, 250, 247, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.brand span { color: var(--ac); }
.nav nav { display: flex; flex-wrap: wrap; gap: 0.2rem 1.2rem; }
.nav nav a { text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--muted); }
.nav nav a:hover, .nav nav a.on { color: var(--ac); }


/* ---------- buttons ---------- */
.btn {
    display: inline-block; padding: 0.7rem 1.4rem;
    background: var(--ink); color: #fff;
    border: 2px solid var(--ink); border-radius: 99px;
    font-size: 0.92rem; font-weight: 600; text-decoration: none;
    transition: box-shadow 0.25s; will-change: transform;
}
.btn:hover { box-shadow: 0 8px 22px rgba(15, 23, 42, 0.25); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.small { padding: 0.4rem 1.1rem; }


/* ---------- hero ---------- */
.hero { position: relative; padding: 4rem 0 3.5rem; overflow: hidden; }

.blob { position: absolute; z-index: 0; border-radius: 50%; filter: blur(60px); opacity: 0.55; will-change: transform; }
.b1 { width: 340px; height: 340px; background: var(--ac2); right: 5%; top: -60px; }
.b2 { width: 260px; height: 260px; background: var(--soft); left: -60px; bottom: -40px; }

.hero-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.3fr 0.8fr; gap: 3rem; align-items: center;
}

.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.2rem; list-style: none; font-size: 0.85rem; color: var(--muted); }
.crumbs li + li::before { content: "\203A"; margin-right: 0.4rem; }
.crumbs a { color: var(--ac); text-decoration: none; }

.eyebrow { margin-bottom: 0.5rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ac); }

h1 { margin-bottom: 1rem; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; }
h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--ac), #8b5cf6);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 { margin-bottom: 1rem; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }

.lead { max-width: 600px; font-size: 1.05rem; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }




/* ---------- quick links ---------- */
.jump { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 1.6rem 0 0; }
.jump a {
    padding: 0.35rem 1.1rem; border: 1px solid var(--line); border-radius: 99px;
    background: var(--card); font-size: 0.85rem; text-decoration: none; transition: all 0.2s;
}
.jump a:hover { border-color: var(--ac); color: var(--ac); }


/* ---------- sections ---------- */
main { position: relative; z-index: 1; }
.block { padding: 3.5rem 0 1rem; scroll-margin-top: 5rem; }
.intro { max-width: 680px; margin-bottom: 1.4rem; color: var(--muted); }

/* about */
.about { max-width: 760px; }
.about p { margin-bottom: 1rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin-top: 1.5rem; list-style: none; }
.facts li { padding: 1rem 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.facts small { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ac); }
.facts b { font-weight: 600; line-height: 1.4; display: block; }

/* strength cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.card { padding: 1.6rem; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); transition: box-shadow 0.3s; }
.card:hover { box-shadow: 0 18px 40px rgba(8, 145, 178, 0.18); }
.card i {
    display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 0.9rem;
    border-radius: 15px; font-size: 1.3rem; color: #fff;
    background: linear-gradient(135deg, var(--ac), var(--ac2));
}
.card h3 { margin-bottom: 0.3rem; font-size: 1.05rem; }
.card p { font-size: 0.9rem; color: var(--muted); }

/* trainings list */
.steps { display: grid; gap: 1rem; list-style: none; }
.steps li {
    display: flex; align-items: center; gap: 1.1rem; padding: 1.2rem 1.4rem;
    background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--ac);
    border-radius: 18px; box-shadow: var(--shadow);
}
.steps i { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(8, 145, 178, 0.1); color: var(--ac); font-size: 1.2rem; }
.steps h3 { font-size: 1.05rem; line-height: 1.4; }
.steps p { font-size: 0.9rem; color: var(--muted); }


/* ---------- activities ---------- */
.entry {
    margin-top: 2rem; padding: 2rem;
    background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
}
.tag { display: inline-block; padding: 0.1rem 0.9rem; border: 1px solid var(--ac); border-radius: 99px; font-size: 0.75rem; font-weight: 600; color: var(--ac); }
.entry h3 { margin: 0.5rem 0 0.3rem; font-size: 1.6rem; line-height: 1.25; }
.where { margin-bottom: 1rem; font-size: 0.9rem; color: var(--muted); }
.where i { color: var(--ac); margin-right: 0.3rem; }
.entry > p { max-width: 780px; color: var(--muted); }
.points { margin: 1rem 0 1.6rem 1.2rem; color: var(--muted); }
.points li { margin-bottom: 0.2rem; }

/* photo gallery: photos of any shape flow into columns */
.gallery { columns: 3 230px; column-gap: 1rem; }
.gallery figure { margin: 0 0 1rem; break-inside: avoid; }
.gallery img { display: block; width: 100%; height: auto; border-radius: 14px; cursor: zoom-in; transition: transform 0.3s, box-shadow 0.3s; }
.gallery img:hover { transform: scale(1.02); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2); }
.gallery figcaption { padding-top: 0.35rem; font-size: 0.82rem; line-height: 1.4; color: var(--muted); }

/* photo viewer */
dialog.viewer { margin: auto; padding: 1rem; width: min(96vw, 1000px); border: 0; border-radius: 20px; background: #fff; }
dialog.viewer::backdrop { background: rgba(15, 23, 42, 0.85); }
.viewer img { display: block; max-width: 100%; max-height: 72vh; margin: auto; border-radius: 12px; }
.viewer p { margin: 0.7rem 0; text-align: center; font-size: 0.92rem; }
.viewer .bar { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.viewer button { padding: 0.4rem 1.2rem; border: 0; border-radius: 99px; background: var(--ink); color: #fff; cursor: pointer; }
.viewer button:disabled { opacity: 0.35; cursor: default; }


/* ---------- footer ---------- */
footer { position: relative; z-index: 1; margin-top: 4rem; padding: 2.5rem 0; text-align: center; border-top: 1px solid var(--line); color: var(--muted); }
.soc { display: flex; justify-content: center; gap: 1.2rem; margin-top: 0.8rem; font-size: 1.4rem; }
.soc a { transition: color 0.2s, transform 0.2s; }
.soc a:hover { color: var(--ac); transform: translateY(-3px); }

#top {
    position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60; display: none;
    width: 46px; height: 46px; border: 0; border-radius: 50%;
    background: var(--ink); color: #fff; font-size: 1.1rem; cursor: pointer;
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s; }
.reveal.in { opacity: 1; transform: none; }


/* ---------- phones and tablets ---------- */
@media (max-width: 820px) {
    .nav { flex-wrap: wrap; padding: 0.6rem 4%; }
    .nav nav { order: 3; width: 100%; flex-wrap: nowrap; gap: 1.1rem; padding-bottom: 0.3rem; overflow-x: auto; white-space: nowrap; }
    .entry { padding: 1.3rem; }
    .glow { display: none; }
    .gallery { columns: 2 150px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .track { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
}


/* ---------- sub-page extras ---------- */
.hero { padding: 3rem 0 2rem; }
.hero .wrap { position: relative; z-index: 1; }
.hero .lead { margin-top: 0.2rem; }
.jump a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.block h2 + .intro { margin-top: -0.4rem; }

/* ---------- activities page ---------- */
.entry.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 2rem; align-items: start; }
.cover { columns: 1; }
.cover figure { margin: 0; }
.entry .more { display: inline-block; margin-top: 0.4rem; color: var(--ac); font-weight: 600; text-decoration: none; }
.entry .more:hover { text-decoration: none; }
.note { margin-top: 2rem; padding: 1.4rem 1.6rem; border: 1px dashed var(--ac); border-radius: 18px; background: rgba(8, 145, 178, 0.06); }
.note h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.note p { color: var(--muted); }
@media (max-width: 820px) { .entry.split { grid-template-columns: 1fr; } }


/* =====================================================================
   Research & Analysis / Achievements & Goals extras.
   Same colours, shapes and fonts as the Scouting pages, plus a 3D layer.
   ===================================================================== */

/* ---------- small helpers ---------- */
.tag + .tag { margin-left: 0.4rem; }
.tag.fill { background: var(--ac); color: #fff; }
.tag.warn { border-color: #b45309; background: #fef3c7; color: #92400e; }

.banner { margin-top: 1.6rem; padding: 1.2rem 1.5rem; border: 1px dashed #d4a017; border-radius: 18px; background: rgba(253, 230, 138, 0.35); }
.banner h3 { margin-bottom: 0.2rem; font-size: 1.05rem; }
.banner p { color: var(--muted); }

.placeholder { border: 2px dashed var(--ac); background: rgba(8, 145, 178, 0.05); }
.gallery img[data-ph] { cursor: default; }
.gallery img[data-ph]:hover { transform: none; box-shadow: none; }

code { padding: 0.05rem 0.4rem; border-radius: 6px; background: rgba(8, 145, 178, 0.1); font-size: 0.88em; }
.entry .more { margin-right: 1.2rem; }

dl.fields { display: grid; grid-template-columns: 1fr; gap: 0.15rem; margin: 1rem 0; }
dl.fields dt { margin-top: 0.7rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ac); }
dl.fields dd { color: var(--muted); }

.steps li > div { min-width: 0; }
.steps li .tag { margin-top: 0.3rem; font-size: 0.72rem; }
.steps a { color: var(--ac); font-weight: 600; text-decoration: none; word-break: break-word; }
.steps a:hover { text-decoration: none; }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }


/* ---------- tilt cards (JS adds the mouse tilt) ---------- */
a.card { display: block; text-decoration: none; color: inherit; }
a.card .go { display: inline-block; margin-top: 0.6rem; font-size: 0.88rem; font-weight: 600; color: var(--ac); }
.tilt { will-change: transform; transition: transform 0.25s ease-out, box-shadow 0.3s; }
.tilt.reveal.in { transition: opacity 0.6s, transform 0.2s ease-out, box-shadow 0.3s; }
a.card.tilt:hover, .card.tilt:hover { box-shadow: 0 22px 46px rgba(8, 145, 178, 0.22); }


/* ---------- 3D hero ---------- */
.hero3d { padding: 3rem 0 3.5rem; }
.hero3d .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 2rem; }
.hero3d .lead { max-width: 520px; }

.stage { position: relative; height: 410px; perspective: 1100px; perspective-origin: 50% 38%; }
.stage.small { height: 360px; }
.world {
    position: absolute; left: 50%; top: 0; width: 0; height: 100%;
    transform-style: preserve-3d; transform-origin: 0 82%;
    transform: rotateX(-22deg) rotateY(-30deg);
    --base: 98px;
}

/* the grid floor */
.floor {
    position: absolute; left: -190px; width: 380px; height: 380px;
    bottom: calc(var(--base) - 190px);
    transform: rotateX(90deg);
    border-radius: 18px;
    background-color: rgba(103, 232, 249, 0.2);
    background-image:
        linear-gradient(rgba(8, 145, 178, 0.28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 145, 178, 0.28) 1px, transparent 1px);
    background-size: 38px 38px;
    box-shadow: 0 0 0 2px rgba(8, 145, 178, 0.25);
}

/* a 3D block: five faces, set with --x --z --w --d --h --c (colour) */
.bar3d {
    position: absolute; bottom: var(--base);
    left: calc(var(--x) - var(--w) / 2);
    width: var(--w); height: var(--h);
    transform: translateZ(var(--z, 0px));
    transform-style: preserve-3d;
    --c: #0891b2;
}
.bar3d > i {
    position: absolute; display: block; font-style: normal;
    backface-visibility: hidden;
    background: linear-gradient(rgba(15, 23, 42, var(--sh, 0)), rgba(15, 23, 42, var(--sh, 0))), var(--c);
}
.bar3d > .f { left: 0; top: 0; width: 100%; height: 100%; transform: translateZ(calc(var(--d) / 2)); --sh: 0; }
.bar3d > .b { left: 0; top: 0; width: 100%; height: 100%; transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); --sh: 0.3; }
.bar3d > .r { width: var(--d); height: 100%; top: 0; left: calc((var(--w) - var(--d)) / 2); transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); --sh: 0.18; }
.bar3d > .l { width: var(--d); height: 100%; top: 0; left: calc((var(--w) - var(--d)) / 2); transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); --sh: 0.26; }
.bar3d > .t { width: 100%; height: var(--d); left: 0; top: calc((var(--h) - var(--d)) / 2); transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); --sh: -0.0; filter: brightness(1.12); }
.bar3d > .f b { display: block; padding-top: 0.5rem; text-align: center; font-size: 1.5rem; line-height: 1.2; color: rgba(255, 255, 255, 0.95); text-shadow: 0 1px 2px rgba(15, 23, 42, 0.35); }
.bar3d.c2 { --c: #67e8f9; }
.bar3d.c3 { --c: #8b5cf6; }
.bar3d.c4 { --c: #fbbf24; }
.bar3d.c5 { --c: #0f172a; }

/* floating labels */
.chip3d {
    position: absolute; left: var(--x); top: var(--y);
    transform: translateZ(var(--z, 60px));
    padding: 0.3rem 0.9rem; border: 1px solid var(--line); border-radius: 99px;
    background: #fff; box-shadow: var(--shadow);
    font-size: 0.8rem; font-weight: 600; white-space: nowrap;
    animation: floaty 4.5s ease-in-out infinite;
    animation-delay: var(--dl, 0s);
}
.chip3d i { margin-right: 0.35rem; color: var(--ac); }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }


/* ---------- 3D medal (gold, spins around its upright axis) ---------- */
.medal {
    position: absolute; left: -44px; width: 88px; height: 88px;
    bottom: calc(var(--base) + var(--bh, 140px) + 26px);
    transform-style: preserve-3d;
    animation: floaty 3.6s ease-in-out infinite;
}
.medal .spin { position: absolute; inset: 0; transform-style: preserve-3d; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotateY(360deg); } }
.medal .ml { position: absolute; inset: 0; border-radius: 50%; background: #c8920f; transform: translateZ(var(--k)); }
.medal .mf, .medal .mb {
    position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center;
    backface-visibility: hidden;
    background: radial-gradient(circle at 32% 28%, #fffbe0, #fbbf24 55%, #d49a10);
    box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.35), inset 0 0 0 7px rgba(146, 90, 0, 0.45);
}
.medal .mf { transform: translateZ(7px); }
.medal .mb { transform: rotateY(180deg) translateZ(7px); }
.medal i { color: #92400e; font-size: 2.1rem; }

/* a medal inside a normal card (trophy shelf) */
.mw { display: grid; place-items: center; height: 130px; perspective: 700px; }
.slot .medal { position: relative; left: auto; bottom: auto; animation-duration: 4s; }
.medal.ghost .ml, .medal.ghost .mf, .medal.ghost .mb { filter: grayscale(1) opacity(0.45); }
.medal.ghost .spin { animation: none; transform: rotateY(-20deg); }
.slot { text-align: center; }
.slot h3 { margin-bottom: 0.2rem; }


/* ---------- workflow / path cards ---------- */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.1rem; list-style: none; counter-reset: n; }
.flow .card { position: relative; padding-top: 1.5rem; }
.flow .num {
    position: absolute; top: 0.9rem; right: 1.1rem;
    font-size: 1.5rem; font-weight: 700; line-height: 1; color: rgba(8, 145, 178, 0.28);
}


/* ---------- sample-data explorer ---------- */
.explorer { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center; padding: 1.5rem 2rem; background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.explorer .bar3d { --c: #a6e8f3; cursor: pointer; }
.explorer .bar3d.sel { --c: #0891b2; }
.explorer .bar3d.sel > .f b { color: #fff; }
.picker .buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.8rem 0; }
.picker button {
    padding: 0.4rem 1.1rem; border: 1px solid var(--line); border-radius: 99px;
    background: var(--bg); font: inherit; font-size: 0.88rem; font-weight: 500; cursor: pointer; transition: all 0.2s;
}
.picker button:hover { border-color: var(--ac); color: var(--ac); }
.picker button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.readout { min-height: 3.4em; margin-bottom: 0.6rem; color: var(--muted); }
.readout b { color: var(--ink); }
.picker .more { display: inline-block; color: var(--ac); font-weight: 600; text-decoration: none; }
.picker .more:hover { text-decoration: none; }


/* ---------- goal rings ---------- */
.ringbox { display: grid; place-items: center; padding: 1.6rem; border-radius: 20px; background: linear-gradient(135deg, rgba(103, 232, 249, 0.28), rgba(253, 230, 138, 0.32)); }
.ring { position: relative; width: 150px; height: 150px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .bg { stroke: rgba(8, 145, 178, 0.16); }
.ring .val { stroke: var(--ac); stroke-linecap: round; stroke-dasharray: calc(var(--p, 0) * 3.393px) 400; transition: stroke-dasharray 1.1s ease-out; }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-size: 0.95rem; font-weight: 600; line-height: 1.3; padding: 0 1rem; }


/* ---------- filter chips ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 0.4rem; }
.filters button { padding: 0.35rem 1.1rem; border: 1px solid var(--line); border-radius: 99px; background: var(--card); font: inherit; font-size: 0.85rem; cursor: pointer; transition: all 0.2s; }
.filters button:hover { border-color: var(--ac); color: var(--ac); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.count { font-size: 0.85rem; color: var(--muted); }


/* ---------- glossary ---------- */
details.term { margin-bottom: 0.8rem; padding: 0.9rem 1.3rem; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
details.term summary { cursor: pointer; font-weight: 600; }
details.term[open] summary { color: var(--ac); }
details.term p { margin-top: 0.5rem; color: var(--muted); }


/* ---------- certificate card ---------- */
.cert {
    position: relative; padding: 1.8rem 2rem; background: #fff;
    border: 2px solid var(--ac); border-radius: 20px; box-shadow: var(--shadow);
    outline: 6px double rgba(8, 145, 178, 0.2); outline-offset: -12px;
    display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center;
}
.cert .seal { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; color: #92400e; font-size: 1.8rem; background: radial-gradient(circle at 32% 28%, #fffbe0, #fbbf24 60%, #d49a10); box-shadow: 0 6px 16px rgba(212, 154, 16, 0.35); }
.cert h3 { font-size: 1.25rem; line-height: 1.3; }
.cert p { color: var(--muted); }
.certs { display: grid; gap: 1.2rem; }


/* ---------- phones ---------- */
@media (max-width: 820px) {
    .hero3d .hero-grid { grid-template-columns: 1fr; gap: 0; }
    .stage { height: 340px; margin-top: 0.5rem; }
    .stage.small { height: 320px; }
    .world { scale: 0.64; }
    .explorer { grid-template-columns: 1fr; padding: 1.2rem; gap: 0.5rem; }
    .cert { grid-template-columns: 1fr; padding: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    .chip3d, .medal, .medal .spin { animation: none; }
    .tilt { transition: none; }
}
