/* wakesurfers.ch – project site for an indoor wakesurf wave in Bern */
:root {
    --navy: #0b4552;
    --navy-2: #0f5a66;
    --aqua: #12a5a0;
    --aqua-light: #3fd8c9;
    --foam: #fff8ec;
    --coral: #ff7b54;
    --sun: #ffc65c;
    --sand: #f4dfb8;
    --ink: #2a2420;
    --ink-med: #6b5d52;
    --surface: #fffaf2;
    --surface-tint: #f7ead3;
    --line: #ead9bd;
    --radius: 18px;
    --font-head: 'Outfit', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); font-weight: 900; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--aqua); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--coral); color: #fff; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 32px); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint {
    background-color: var(--surface-tint);
    background-image: radial-gradient(rgba(176,134,78,.16) 1px, transparent 1.5px), radial-gradient(rgba(176,134,78,.1) 1px, transparent 1.5px);
    background-size: 22px 22px, 31px 31px; background-position: 0 0, 11px 15px;
}
.section-dark { background: var(--navy); color: var(--foam); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #f3e3cc; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.section-head p { font-size: 1.1rem; color: var(--ink-med); }
.section-dark .section-head p { color: #f3e3cc; }
.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--aqua);
    margin-bottom: 12px;
}
.muted { color: var(--ink-med); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--coral); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px; border-radius: 999px;
    font-family: var(--font-head); font-weight: 600; font-size: 1rem;
    border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, border-color .2s;
    text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 30px rgba(255,123,84,.35); }
.btn-primary:hover { background: #ff6438; box-shadow: 0 14px 36px rgba(255,123,84,.45); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sun { background: var(--sun); color: #07323c; box-shadow: 0 10px 30px rgba(255,198,92,.35); }
.btn-sun:hover { background: #ffb83a; box-shadow: 0 14px 36px rgba(255,198,92,.45); }
.btn-small { padding: 9px 18px; font-size: .9rem; }

/* Navbar */
.navbar {
    position: fixed; inset: 0 0 auto; z-index: 50;
    height: var(--nav-h);
    transition: background .25s, box-shadow .25s;
    color: #fff;
}
.navbar.scrolled, .navbar.menu-open { background: rgba(11,69,82,.95); backdrop-filter: blur(12px); box-shadow: 0 4px 24px rgba(0,0,0,.2); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: inherit; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand em { font-style: normal; color: var(--aqua-light); }
.brand-mark { width: 30px; height: 30px; color: var(--aqua-light); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: inherit; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--aqua-light); text-decoration: none; }
.nav-links .btn { color: #fff; }
.nav-tools { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 9px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-current {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff;
    padding: 7px 12px; border-radius: 999px; font: 600 .8rem var(--font-body); cursor: pointer;
}
.lang-menu {
    position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px;
    background: #fff; color: var(--ink); border-radius: 12px; box-shadow: 0 12px 36px rgba(0,0,0,.2);
    list-style: none; padding: 6px; display: none;
}
.lang-switcher.open .lang-menu { display: block; }
.lang-menu li { padding: 9px 12px; border-radius: 8px; cursor: pointer; font-size: .9rem; }
.lang-menu li:hover { background: var(--surface-tint); }
.lang-menu li.active { color: var(--aqua); font-weight: 600; }

/* Hero */
.hero {
    position: relative; overflow: hidden;
    min-height: 100svh;
    display: flex; align-items: center;
    padding: calc(var(--nav-h) + 48px) 0 0;
    background:
        radial-gradient(900px 520px at 82% 8%, rgba(255,198,92,.55) 0%, rgba(255,123,84,.35) 35%, rgba(255,123,84,0) 70%),
        linear-gradient(180deg, #e8805e 0%, #c9677a 22%, #3f6f86 55%, var(--navy) 80%, #07323c 100%);
    color: #fff;
}
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7,50,60,.82) 0%, rgba(7,50,60,.55) 42%, rgba(7,50,60,0) 68%); }
.hero-visual {
    position: relative; order: 2; align-self: end; width: 128%; margin-right: -28%; pointer-events: none;
}
.hero-visual .hero-scene { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%); mask-image: linear-gradient(90deg, transparent 0, #000 12%); }
.hero-scene { display: block; width: 100%; height: auto; }
.hero-text { position: relative; order: 1; padding-top: 24px; }
.hero-scene .sun { animation: pulse 8s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.hero-scene .swell { animation: swell 12s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
.hero-scene .wave-main { animation: surge 6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 70% 100%; }
.hero-scene .lip { stroke-dasharray: 3 16; animation: flow 2.4s linear infinite; }
.hero-scene .lip-2 { stroke-dasharray: 2 20; animation-duration: 1.8s; }
.hero-scene .foam circle { animation: foam 3s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.hero-scene .foam circle:nth-child(2n) { animation-delay: -1.2s; }
.hero-scene .foam circle:nth-child(3n) { animation-delay: -2s; }
.hero-scene .spray circle { animation: spray 2.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.hero-scene .spray .s2 { animation-delay: -.5s; } .hero-scene .spray .s3 { animation-delay: -1s; }
.hero-scene .spray .s4 { animation-delay: -1.5s; } .hero-scene .spray .s5 { animation-delay: -2s; } .hero-scene .spray .s6 { animation-delay: -.8s; }
.hero-scene .surfer-bob { animation: ride 3.2s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 90%; }
.hero-scene .wake circle { animation: foam 1.4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { from { transform: scale(.94); opacity: .8; } to { transform: scale(1.06); opacity: 1; } }
@keyframes swell { from { transform: translateX(-2%) scaleY(.96); } to { transform: translateX(2%) scaleY(1.04); } }
@keyframes surge { from { transform: scale(1, .985); } to { transform: scale(1.01, 1.02); } }
@keyframes flow { to { stroke-dashoffset: -76; } }
@keyframes foam { from { transform: scale(.85); opacity: .7; } to { transform: scale(1.15); opacity: 1; } }
@keyframes spray { 0% { transform: translate(0, 0) scale(1); opacity: 0; } 15% { opacity: .95; } 100% { transform: translate(-18px, -70px) scale(.3); opacity: 0; } }
@keyframes ride { from { transform: translateY(-5px) rotate(-2.5deg); } to { transform: translateY(5px) rotate(2deg); } }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: end; align-self: stretch; }
.hero-text { align-self: center; padding-bottom: 72px; }
.hero h1 { text-shadow: 0 2px 24px rgba(7,50,60,.6); }
.hero h1 span { color: var(--aqua-light); text-shadow: 0 0 40px rgba(63,216,201,.45); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #fbefdd; max-width: 560px; margin-bottom: 36px; text-shadow: 0 1px 12px rgba(7,50,60,.7); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-link { color: #fff; font-weight: 600; padding: 0 6px; }
.hero-link::after { content: ' \2193'; color: var(--aqua-light); }
.reveal { opacity: 0; animation: reveal .8s cubic-bezier(.2,.7,.2,1) forwards; }
.reveal-2 { animation-delay: .12s; } .reveal-3 { animation-delay: .26s; } .reveal-4 { animation-delay: .4s; }
@keyframes reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Ticker */
.ticker { background: var(--sun); color: var(--navy); overflow: hidden; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker-track span { padding: 12px 0; white-space: pre; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Survey banner on the project page */
.survey-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    margin: 0 0 32px; padding: 24px 30px; border-radius: var(--radius);
    background: linear-gradient(120deg, rgba(63,216,201,.18), rgba(255,123,84,.14)); border: 1px solid rgba(255,255,255,.18);
    color: #fff;
}
.survey-banner:hover { text-decoration: none; border-color: var(--aqua-light); }
.survey-banner strong { display: block; font-family: var(--font-head); font-size: 1.25rem; margin-bottom: 4px; }
.survey-banner span:not(.btn) { color: #f3e3cc; }
.survey-banner .btn { flex: 0 0 auto; }
.card-accent { border-color: var(--coral); background: #fff6f3; }
.card-accent .card-icon { background: #ffe6df; color: var(--coral); }

/* Survey wizard */
.survey-page { background: radial-gradient(900px 520px at 82% 0%, rgba(255,198,92,.5) 0%, rgba(255,123,84,.3) 35%, rgba(255,123,84,0) 70%), linear-gradient(180deg, #d9775f 0%, #a8607a 18%, #3f6f86 42%, var(--navy) 65%, #07323c 100%); background-attachment: fixed; color: #fff; min-height: 100svh; }
.wizard-wrap { position: relative; min-height: 100svh; padding: calc(var(--nav-h) + 40px) 0 80px; display: flex; align-items: center; overflow: hidden; }
.wizard-bg { position: absolute; inset: auto 0 0; height: 40%; pointer-events: none; }
.wizard-bg svg { width: 100%; height: 100%; }
.wizard-bg .w1 { animation: drift 14s ease-in-out infinite alternate; }
.wizard-bg .w2 { animation: drift 9s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translateX(-3%); } to { transform: translateX(3%); } }
.wizard { position: relative; max-width: 760px; }
.wizard-progress { height: 6px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; margin-bottom: 14px; }
.wizard-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--aqua-light), var(--coral)); transition: width .4s cubic-bezier(.2,.7,.2,1); }
.wizard-meta { display: flex; justify-content: space-between; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #e6caa0; font-weight: 600; margin-bottom: 36px; }
.wizard .step { display: none; border: 0; padding: 0; margin: 0; min-height: 340px; }
.wizard .step.is-active { display: block; animation: stepIn .45s cubic-bezier(.2,.7,.2,1); }
.wizard .step.from-left { animation-name: stepInLeft; }
@keyframes stepIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes stepInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.wizard .step.shake { animation: shake .4s; }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.step-title { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.15; letter-spacing: -.01em; margin-bottom: 18px; padding: 0; color: #fff; }
.step-title.big { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 900; }
.step-kicker { display: block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #ffe2a3; font-weight: 600; margin-bottom: 10px; }
.step-help { color: #f3e3cc; font-size: 1.05rem; margin-bottom: 22px; max-width: 600px; }
.choice-grid { display: grid; gap: 12px; }
.choice-compact { grid-template-columns: repeat(2, 1fr); }
.choice-big { grid-template-columns: repeat(3, 1fr); }

.wave-photos { margin: -6px 0 26px; }
.wave-photos-label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #e6caa0; font-weight: 600; margin: 0 0 10px; }
.wave-photos-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wave-photos figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.wave-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.wave-photos figcaption { padding: 8px 10px 10px; font-size: .78rem; line-height: 1.35; color: #f3e3cc; }
.wave-photos figcaption a { display: block; margin-top: 2px; font-size: .68rem; color: #b39a7a; text-decoration: none; }
.wave-photos figcaption a:hover { text-decoration: underline; }
.choice { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; border: 2px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.choice:hover { border-color: var(--aqua-light); transform: translateY(-2px); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice:has(input:checked) { border-color: var(--coral); background: rgba(255,123,84,.18); }
.choice:has(input:focus-visible) { outline: 3px solid var(--aqua-light); outline-offset: 2px; }
.choice-text { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.choice-text::before { content: ''; display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); margin-right: 12px; vertical-align: middle; transition: background .15s, border-color .15s; }
.choice:has(input[type=checkbox]) .choice-text::before { border-radius: 4px; }
.choice:has(input:checked) .choice-text::before { background: var(--coral); border-color: var(--coral); }
.choice-big .choice { flex-direction: column; text-align: center; padding: 34px 20px; gap: 18px; }
.choice-big .choice-text { font-size: 1.35rem; }
.choice-big .choice-text::before { display: none; }
.choice-mark { width: 64px; height: 64px; color: var(--aqua-light); }
.choice-big .choice:has(input:checked) .choice-mark { color: var(--coral); }
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; font-size: .95rem; color: #f3e3cc; }
.field input, .field textarea { font: 400 1rem var(--font-body); padding: 12px 14px; border: 2px solid rgba(255,255,255,.16); border-radius: 12px; color: #fff; background: rgba(255,255,255,.06); width: 100%; }
.field input::placeholder { color: rgba(255,255,255,.3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--aqua-light); }
.field-big input { font-size: 1.4rem; padding: 16px 18px; }
.field-big textarea { font-size: 1.1rem; }
.check { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; font-size: .95rem; color: #f3e3cc; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--coral); margin: 2px 0 0; flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wizard-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; }
.wizard-nav .btn:disabled { opacity: .35; cursor: default; transform: none; }
.form-status { margin: 0; flex: 1; text-align: center; min-height: 1.4em; color: #f3e3cc; font-size: .95rem; }
.form-status.is-error { color: #ffd27a; font-weight: 500; }
.wizard-hint { margin: 18px 0 0; font-size: .8rem; color: #b39a7a; text-align: center; }
.survey-done { position: relative; text-align: center; padding: 40px 20px; max-width: 560px; }
.survey-done svg { width: 80px; height: 80px; color: var(--aqua-light); margin: 0 auto 18px; }
.survey-done h2 { color: #fff; }
.survey-done p { color: #f3e3cc; margin-bottom: 24px; }
.badge {
    display: inline-block; margin-bottom: 20px;
    padding: 6px 14px; border-radius: 999px;
    background: rgba(255,198,92,.18); border: 1px solid rgba(255,198,92,.6); color: #ffe2a3;
    font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}

/* Facts strip */
.facts { background: linear-gradient(90deg, var(--sand) 0%, var(--sun) 45%, #ffa25e 75%, var(--coral) 100%); color: #3a2a1c; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 32px 20px; text-align: center; border-left: 1px solid rgba(58,42,28,.15); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 900; line-height: 1; margin-bottom: 8px; letter-spacing: -.02em; }
.fact span { font-size: .92rem; font-weight: 600; }

/* Cards */
.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 26px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11,69,82,.12); border-color: var(--aqua); }
.card h3 { position: relative; padding-bottom: 10px; margin-bottom: 10px; }
.card h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 2px; background: var(--aqua); }
.card-accent h3::after { background: var(--coral); }
.card p { color: var(--ink-med); margin: 0; font-size: .97rem; }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--surface-tint); color: var(--aqua); display: grid; place-items: center; margin-bottom: 18px; }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.section-dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section-dark .card:hover { border-color: var(--aqua-light); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.section-dark .card h3::after { background: var(--aqua-light); }
.section-dark .card p { color: #f3e3cc; }
.card-link { color: inherit; display: flex; flex-direction: column; }
.card-link:hover { text-decoration: none; }
.card-cta { margin-top: auto; padding-top: 18px; color: var(--aqua-light); font-weight: 600; font-size: .95rem; }
.card-cta::after { content: ' \2192'; }

.note { margin-top: 40px; padding: 26px 30px; border-radius: var(--radius); background: var(--surface-tint); border-left: 4px solid var(--aqua); }
.note strong { display: block; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 6px; }
.note p { margin: 0; color: var(--ink-med); }

/* Split layout */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split-reverse .split-text { order: 2; }
.split-text p { font-size: 1.05rem; }
.checklist { list-style: none; margin: 22px 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before {
    content: ''; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
    background: var(--aqua); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat, linear-gradient(#000 0 0);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
}
.wave-diagram { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.wave-anim .flow { fill: none; stroke: #fff8ec; stroke-width: 3; stroke-linecap: round; opacity: .75; }
.wave-anim .flow-fast { stroke-dasharray: 14 26; animation: waveFlow .5s linear infinite; }
.wave-anim .flow-slow { stroke-dasharray: 10 30; animation: waveFlow 1.4s linear infinite; opacity: .45; }
.wave-anim .flow-return { stroke: #3fd8c9; stroke-dasharray: 6 14; animation: waveFlow 1s linear infinite; opacity: .9; }
.wave-anim .pump-blades { transform-box: fill-box; transform-origin: center; animation: waveSpin 1.2s linear infinite; }
.wave-anim .foam circle { transform-box: fill-box; transform-origin: center; animation: waveFoam 1.1s ease-in-out infinite alternate; }
.wave-anim .foam circle:nth-child(2) { animation-delay: -.4s; }
.wave-anim .foam circle:nth-child(3) { animation-delay: -.8s; }
.wave-anim .surfer { animation: waveRide 3.2s ease-in-out infinite alternate; }
.wave-anim .badge circle { fill: #ff7b54; }
.wave-anim .badge text { fill: #fff; font: 700 14px Inter, sans-serif; text-anchor: middle; }
.wave-anim .badge, .wave-steps li { animation: stepOn 12s infinite; }
.wave-anim .b2, .wave-steps li:nth-child(2) { animation-delay: -9s; }
.wave-anim .b3, .wave-steps li:nth-child(3) { animation-delay: -6s; }
.wave-anim .b4, .wave-steps li:nth-child(4) { animation-delay: -3s; }
.wave-steps { list-style: none; counter-reset: step; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.wave-steps li { counter-increment: step; display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; line-height: 1.45; color: #f3e3cc; }
.wave-steps li::before { content: counter(step); flex: none; width: 26px; height: 26px; border-radius: 50%; background: #ff7b54; color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
@keyframes waveFlow { to { stroke-dashoffset: -40; } }
@keyframes waveSpin { to { transform: rotate(360deg); } }
@keyframes waveFoam { from { transform: scale(.7); opacity: .6; } to { transform: scale(1.2); opacity: 1; } }
@keyframes waveRide { from { transform: translate(-5px, 0) rotate(-3deg); } to { transform: translate(6px, 0) rotate(3deg); } }
@keyframes stepOn { 0%, 23% { opacity: 1; } 27%, 96% { opacity: .55; } }

.location-card { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(11,69,82,.1); }
.location-map { width: 100%; height: 320px; border: 0; display: block; }
.location-meta { padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; }
.location-meta strong { font-family: var(--font-head); font-size: 1.05rem; }
.location-meta span { color: var(--ink-med); font-size: .9rem; }
.location-meta a { font-size: .9rem; font-weight: 600; margin-top: 6px; }

/* Timeline */
.timeline { list-style: none; max-width: 760px; margin: 0 auto; position: relative; }
.timeline::before { content: ''; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline li { position: relative; display: flex; gap: 24px; padding: 0 0 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .step {
    flex: 0 0 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
    background: var(--surface); border: 2px solid var(--line); font-family: var(--font-head); font-weight: 800; color: var(--ink-med);
    position: relative; z-index: 1;
}
.timeline li.is-current .step { background: var(--aqua); border-color: var(--aqua); color: #fff; box-shadow: 0 0 0 6px rgba(18,165,160,.2); }
.timeline h3 { margin-bottom: 4px; }
.timeline p { color: var(--ink-med); margin: 0; }

/* FAQ */
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
    cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
    font-family: var(--font-head); font-weight: 600; font-size: 1.1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
    font-size: 1.6rem; font-weight: 300; color: var(--aqua); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { color: var(--ink-med); padding: 0 0 20px; margin: 0; }

/* Footer */
.footer { background: #07323c; color: #e6caa0; padding: 56px 0 28px; font-size: .95rem; }
.footer .brand { color: #fff; margin-bottom: 10px; }
.footer strong { display: block; color: #fff; font-family: var(--font-head); margin-bottom: 8px; }
.footer a { color: var(--aqua-light); }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 22px; font-size: .85rem; color: #b39a7a; }

/* Charm: handwriting, stickers, wavy edges */
:root { --font-hand: 'Caveat', 'Comic Sans MS', cursive; --ice: #8fd3f4; }
.eyebrow { font-family: var(--font-hand); font-size: 1.7rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--coral); transform: rotate(-2deg); margin-bottom: 4px; }
.section-dark .eyebrow { color: var(--sun); }
.badge { transform: rotate(-2deg); }

.section-dark, .section-tint, .footer { position: relative; }
.section-dark::before, .section-tint::before, .footer::before {
    content: ''; position: absolute; left: 0; right: 0; top: -27px; height: 28px; pointer-events: none;
    background: inherit;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 28'%3E%3Cpath d='M0 28V14Q30 0 60 14T120 14T180 14T240 14V28Z'/%3E%3C/svg%3E") repeat-x 0 0 / 240px 28px;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 28'%3E%3Cpath d='M0 28V14Q30 0 60 14T120 14T180 14T240 14V28Z'/%3E%3C/svg%3E") repeat-x 0 0 / 240px 28px;
}

.card-fun .card-icon { transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.card-fun:hover .card-icon { transform: rotate(-10deg) scale(1.12); }
.card-fun:nth-child(1) .card-icon { background: #d8f5f1; color: var(--aqua); }
.card-fun:nth-child(2) .card-icon { background: #ffe3d8; color: var(--coral); }
.card-fun:nth-child(3) .card-icon { background: #e1f3fc; color: #2f8fc4; }
.card-fun:nth-child(4) .card-icon { background: #fff1cc; color: #c98a10; }
.card-fun:nth-child(5) .card-icon { background: #f7ead3; color: #a8743a; }
.card-fun:nth-child(6) .card-icon { background: #ffe9c2; color: #d9822b; }
.card-fun:nth-child(7) .card-icon { background: #dfeef1; color: var(--navy); }
.card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 22px; align-items: start; }
.card-wide .card-icon { grid-row: span 2; margin-bottom: 0; }
.card-wide p { max-width: 760px; }
@media (max-width: 860px) { .card-wide { display: block; } .card-wide .card-icon { margin-bottom: 14px; } }

/* Partner kit card in the free space of the hero, left of the Aare sticker */
.hero-kit { position: absolute; z-index: 2; top: 3%; left: calc(52% + 16px); width: min(300px, calc(48% - 220px)); display: grid; justify-items: start; gap: 8px; padding: 14px 16px; border-radius: 20px; border: 2.5px solid #07323c; background: var(--foam); color: var(--navy); box-shadow: 5px 6px 0 #07323c; transform: rotate(-2deg); transition: transform .25s cubic-bezier(.3,1.6,.5,1), box-shadow .2s; animation: kitIn .7s .9s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes kitIn { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
.hero-kit:hover, .hero-kit:focus-visible { text-decoration: none; outline: none; transform: rotate(0deg) translateY(-3px); box-shadow: 7px 8px 0 #ff7b54; }
.hero-kit-plea { font-family: var(--font-hand); font-size: 1.3rem; font-weight: 700; line-height: 1.1; color: #d0532b; }
.hero-kit img { width: 180px; max-width: 100%; height: auto; }
.hero-kit-cta { font-size: .86rem; font-weight: 600; line-height: 1.35; }
.aare-sticker {
    position: absolute; right: 3%; top: 2%; z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 0;
    width: 150px; padding: 14px 12px 12px; border-radius: 22px;
    background: var(--sun); color: var(--navy); text-align: center;
    box-shadow: 0 14px 30px rgba(7,50,60,.35), inset 0 0 0 3px rgba(255,255,255,.55);
    transform: rotate(7deg); transition: transform .25s cubic-bezier(.3,1.6,.5,1);
    animation: stickerIn .7s .6s cubic-bezier(.3,1.6,.5,1) both;
}
.aare-sticker:hover { text-decoration: none; transform: rotate(0deg) scale(1.06); }
.aare-label { font-family: var(--font-hand); font-size: 1.35rem; font-weight: 700; line-height: 1; }
.aare-sticker strong { font-family: var(--font-head); font-size: 2.9rem; font-weight: 900; line-height: 1.05; letter-spacing: -.03em; }
.aare-text { font-family: var(--font-hand); font-size: 1.2rem; font-weight: 600; line-height: 1.1; min-height: 1.1em; }
.aare-source { font-size: .62rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .65; margin-top: 4px; }
@keyframes stickerIn { from { opacity: 0; transform: rotate(-20deg) scale(.4); } to { opacity: 1; transform: rotate(7deg) scale(1); } }

.hand-note { display: flex; align-items: flex-end; gap: 6px; margin: 6px 0 0 150px; color: var(--sun); font-family: var(--font-hand); font-size: 1.55rem; font-weight: 700; line-height: 1.1; transform: rotate(-3deg); }
.hand-note svg { width: 70px; height: 42px; flex: 0 0 auto; transform: scaleX(-1); }

.hero-love { font-family: var(--font-hand); font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 700; color: var(--sun); line-height: 1.15; margin: 0 0 14px; transform: rotate(-2deg); transform-origin: left; }

/* Scroll reveal */
.hidden { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.hidden.show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .hidden { opacity: 1; transform: none; transition: none; }
    .hero-scene *, .ticker-track, .wizard-bg path, .wizard .step, .wave-anim *, .wave-steps li { animation: none !important; }
    .reveal { opacity: 1; animation: none; }
    .aare-sticker, .hero-kit { animation: none; }
    html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1024px) {
    .cards-4 { grid-template-columns: repeat(2, 1fr); }
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
    .fact:nth-child(3) { border-left: 0; }
    .fact:nth-child(n+3) { border-top: 1px solid rgba(11,69,82,.15); }
}
@media (max-width: 860px) {
    .hero-kit { position: relative; top: auto; left: auto; order: 2; width: auto; max-width: 340px; margin: 4px 0 18px; transform: none; }
    .aare-sticker { position: relative; right: auto; top: auto; order: 2; justify-self: end; margin: 0 8px -70px 0; width: 128px; }
    .aare-sticker strong { font-size: 2.3rem; }
    .hand-note { margin-left: 0; }
    .hero-visual { order: 3; }
    .cards-3 { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; gap: 36px; }
    .split-reverse .split-text { order: 0; }
    .footer-inner { grid-template-columns: 1fr; }
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed; top: var(--nav-h); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: rgba(11,69,82,.97); padding: 12px 16px 24px;
        display: none;
    }
    .menu-open .nav-links { display: flex; }
    .nav-links a { padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
    .nav-links .btn { margin-top: 16px; border-bottom: 0; }
    .hero { min-height: auto; padding-bottom: 0; }
    .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .hero-text { padding-bottom: 16px; }
    .hero-visual { min-width: 0; margin: 0 -16px -6px; width: calc(100% + 32px); }
    .hero-glow { background: linear-gradient(180deg, rgba(7,50,60,.7) 0%, rgba(7,50,60,.45) 60%, rgba(7,50,60,0) 100%); }
    .survey-banner { flex-direction: column; align-items: flex-start; }
    .choice-compact, .choice-big { grid-template-columns: 1fr; }
    .wave-photos-strip { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 70%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
    .wave-photos figure { scroll-snap-align: start; }
    .choice-big .choice { flex-direction: row; text-align: left; padding: 18px 20px; }
    .choice-mark { width: 40px; height: 40px; }
    .wizard-nav { flex-wrap: wrap; }
    .form-status { order: 3; flex-basis: 100%; }
}
@media (max-width: 560px) {
    .cards-4 { grid-template-columns: 1fr; }
    .facts-grid { grid-template-columns: 1fr; }
    .fact { border-left: 0; border-top: 1px solid rgba(11,69,82,.15); }
    .fact:first-child { border-top: 0; }
    .hero-actions .btn { width: 100%; }
    .location-map { height: 240px; }
}

/* Language hint for English, French and Italian browsers */
.lang-hint { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--navy); color: #fff8ec; box-shadow: 0 16px 40px rgba(7,50,60,.35); font-size: .9rem; animation: stepIn .4s cubic-bezier(.2,.7,.2,1); }
.lang-hint p { margin: 0; }
.lang-hint-go { font: 600 .85rem var(--font-body); padding: 8px 14px; border: 0; border-radius: 999px; background: var(--coral); color: #fff; cursor: pointer; white-space: nowrap; }
.lang-hint-go:hover { background: #ff6438; }
.lang-hint-close { width: 30px; height: 30px; flex: none; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff8ec; font-size: 1.1rem; line-height: 1; cursor: pointer; }
@media (max-width: 560px) { .lang-hint { border-radius: 18px; flex-wrap: wrap; } }

/* Comic illustration of the hall */
.hall-art { margin: 0 auto 48px; max-width: 1040px; }
.hall-art svg { display: block; width: 100%; height: auto; border-radius: 26px; box-shadow: 8px 10px 0 #07323c, 0 30px 60px -20px rgba(7,50,60,.45); transform: rotate(-.6deg); }
.hall-art figcaption { margin-top: 18px; text-align: center; font-family: var(--font-hand); font-size: 1.35rem; font-weight: 700; color: var(--ink-med); }
.hall-art .hall-foam circle { transform-box: fill-box; transform-origin: center; animation: hallFoam 1.6s ease-in-out infinite alternate; }
.hall-art .hall-foam circle:nth-child(2n) { animation-delay: -.6s; }
.hall-art .hall-foam circle:nth-child(3n) { animation-delay: -1.1s; }
.hall-art .hall-surfer { animation: hallRide 2.8s ease-in-out infinite alternate; }
@keyframes hallFoam { from { transform: scale(.8); } to { transform: scale(1.15); } }
@keyframes hallRide { from { transform: translate(-14px, 2px) rotate(-3deg); } to { transform: translate(14px, -3px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .hall-art * { animation: none !important; } }
@media (max-width: 560px) { .hall-art svg { box-shadow: 5px 6px 0 #07323c; transform: none; } .hall-art figcaption { font-size: 1.15rem; } }

/* Cloudflare Turnstile on the last survey step */
.turnstile-box { margin-top: 18px; }
.turnstile-box:empty { margin: 0; }

/* Voices: survey comments marked on the results page */
.voices { background: var(--surface-tint); }
.voices .section-head { margin-bottom: 36px; }
.voices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; max-width: 1040px; margin: 0 auto; align-items: start; }
.voice { --r: -2deg; --y: 0px; --bob: 5.2s; position: relative; margin: 0; padding: 24px 24px 18px; border-radius: 22px; background: #fff; border: 3px solid #07323c; box-shadow: 6px 7px 0 #07323c; transform: translateY(var(--y)) rotate(var(--r)); animation: voiceBob var(--bob) ease-in-out infinite alternate; transition: box-shadow .25s; }
/* Seven tilts and offsets in a cycle of 7, so the 3-column grid never repeats the pattern row by row */
.voice:nth-child(7n+2) { --r: 2.6deg; --y: 10px; --bob: 4.6s; animation-delay: -1.1s; }
.voice:nth-child(7n+3) { --r: -3.4deg; --y: -4px; --bob: 5.8s; animation-delay: -2.3s; }
.voice:nth-child(7n+4) { --r: 1.4deg; --y: 6px; --bob: 4.9s; animation-delay: -.6s; }
.voice:nth-child(7n+5) { --r: -1deg; --y: 14px; --bob: 6.1s; animation-delay: -3.2s; }
.voice:nth-child(7n+6) { --r: 3.6deg; --y: -2px; --bob: 5.4s; animation-delay: -1.8s; }
.voice:nth-child(7n) { --r: -2.8deg; --y: 8px; --bob: 4.4s; animation-delay: -2.7s; }
.voice:nth-child(2n)::after { left: auto; right: 34px; transform: rotate(45deg) skew(-8deg, -8deg); }
.voice:hover { animation: voiceWiggle .55s ease-in-out; transform: translateY(calc(var(--y) - 6px)) rotate(0deg) scale(1.03); box-shadow: 9px 11px 0 #ff7b54; z-index: 2; }
@keyframes voiceBob { from { transform: translateY(var(--y)) rotate(var(--r)); } to { transform: translateY(calc(var(--y) - 5px)) rotate(calc(var(--r) * -.35)); } }
@keyframes voiceWiggle { 0% { transform: translateY(var(--y)) rotate(var(--r)); } 30% { transform: translateY(calc(var(--y) - 6px)) rotate(-4deg) scale(1.03); } 60% { transform: translateY(calc(var(--y) - 6px)) rotate(3deg) scale(1.03); } 100% { transform: translateY(calc(var(--y) - 6px)) rotate(0deg) scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .voice, .voice:hover { animation: none; } }
.voice::after { content: ''; position: absolute; left: 34px; bottom: -17px; width: 26px; height: 26px; background: #fff; border-right: 3px solid #07323c; border-bottom: 3px solid #07323c; transform: rotate(45deg) skew(8deg, 8deg); }
.voice blockquote { margin: 0 0 16px; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.voice blockquote::before { content: '«'; color: var(--coral); }
.voice blockquote::after { content: '»'; color: var(--coral); }
.voice figcaption { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: .82rem; color: var(--ink-med); }
.voice-need { padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: .75rem; }
.voice-yes { background: #e0f5f3; color: #00756f; }
.voice-maybe { background: #efebe6; color: #5f564c; }
.voice-no { background: #fde8e2; color: #b13d1a; }
.voices-cta { text-align: center; margin: 44px 0 0; }
@media (max-width: 560px) { .voice:nth-child(n) { --y: 0px; --r: -1.4deg; } .voice:nth-child(2n) { --r: 1.6deg; } }

/* Live survey counter in the hero */
.survey-count { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 9px 18px 9px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #fff8ec; font-size: .95rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.survey-count:hover { text-decoration: none; background: rgba(255,255,255,.2); transform: translateY(-1px); }
.survey-count strong { font-family: var(--font-head); font-size: 1.35rem; font-weight: 900; color: var(--sun); font-variant-numeric: tabular-nums; line-height: 1; }
.survey-count-dot { width: 9px; height: 9px; border-radius: 50%; background: #7cf0c8; box-shadow: 0 0 0 0 rgba(124,240,200,.7); animation: countPulse 2s infinite; }
@keyframes countPulse { 70% { box-shadow: 0 0 0 9px rgba(124,240,200,0); } 100% { box-shadow: 0 0 0 0 rgba(124,240,200,0); } }
@media (prefers-reduced-motion: reduce) { .survey-count-dot { animation: none; } }

/* Speech bubble of the hero surfer: marked survey comments ride along */
.hero-bubble { position: relative; box-sizing: border-box; height: calc(100% - 8px); margin-right: 14px; display: flex; flex-direction: column; justify-content: center; padding: 6px 11px; background: #fff; color: #07323c; border: 2.5px solid #07323c; border-radius: 16px; box-shadow: 4px 5px 0 #07323c; transform-origin: 100% 70%; }
.hero-bubble::after { content: ''; position: absolute; right: -10px; top: 54%; width: 15px; height: 15px; background: #fff; border-right: 2.5px solid #07323c; border-top: 2.5px solid #07323c; transform: rotate(45deg); }
.hero-bubble-text { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 15px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.hero-bubble-meta { margin-top: 3px; font-family: var(--font-hand); font-weight: 700; font-size: 12px; color: #d0532b; line-height: 1; }
.hero-bubble.pop { animation: heroBubblePop .55s cubic-bezier(.3,1.6,.5,1); }
@keyframes heroBubblePop { 0% { opacity: 0; transform: scale(.55) rotate(-8deg); } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-bubble.pop { animation: none; } }

/* Result of the first question on the project page (counts from /api/survey-count) */
.pulse { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; max-width: 1040px; margin: 0 auto 48px; padding: 28px 34px; background: #fff; border: 3px solid #07323c; border-radius: 24px; box-shadow: 6px 7px 0 #07323c; }
.pulse-ring { position: relative; width: 180px; height: 180px; }
.pulse-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pulse-ring circle { fill: none; stroke-width: 18; }
.pulse-ring .track { stroke: var(--surface-tint); }
.pulse-ring .arc-yes { stroke: #00a39b; }
.pulse-ring .arc-maybe { stroke: #b3a89a; }
.pulse-ring .arc-no { stroke: #e2572f; }
.pulse-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.pulse-center strong { font-family: var(--font-head); font-weight: 900; font-size: 3.3rem; line-height: .9; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pulse-center strong small { font-size: .42em; margin-left: 2px; }
.pulse-center > span { font-family: var(--font-hand); font-size: 1.3rem; font-weight: 700; color: var(--coral); line-height: 1; margin-top: 4px; }
.pulse-body h3 { font-size: 1.45rem; margin: 0 0 6px; }
.pulse-body p { margin: 0 0 16px; color: var(--ink-med); }
.pulse-split { display: flex; gap: 2px; height: 44px; border-radius: 10px; overflow: hidden; background: var(--surface-tint); }
.pulse-split > div { display: flex; align-items: center; padding: 0 10px; min-width: 0; overflow: hidden; white-space: nowrap; color: #fff; font-weight: 700; font-size: .9rem; }
.pulse-split .s-yes { background: #00a39b; }
.pulse-split .s-maybe { background: #b3a89a; color: var(--ink); }
.pulse-split .s-no { background: #e2572f; }
.pulse-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: .88rem; color: var(--ink-med); }
.pulse-legend span { display: inline-flex; align-items: center; gap: 7px; }
.pulse-legend i { width: 12px; height: 12px; border-radius: 3px; }
.pulse-legend .sw-yes { background: #00a39b; }
.pulse-legend .sw-maybe { background: #b3a89a; }
.pulse-legend .sw-no { background: #e2572f; }
.pulse-legend b { color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .pulse { grid-template-columns: 1fr; justify-items: center; gap: 20px; padding: 24px 20px; } .pulse-body { width: 100%; } }

/* Share band on the project page */
.share-band { background: var(--navy); color: var(--foam); padding: clamp(48px, 7vw, 80px) 0; }
.share-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.share-text h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 10px; }
.share-text p { color: #f3e3cc; margin: 0; max-width: 520px; }
.share-text .eyebrow { color: var(--sun); }
.share-native { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.share-native svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.share-links { display: flex; flex-wrap: wrap; gap: 10px; }
.share-link { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff8ec; font: 600 .92rem var(--font-body); cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.share-link:hover { text-decoration: none; background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); transform: translateY(-2px); }
.share-ico { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; }
.share-ico svg { width: 14px; height: 14px; fill: currentColor; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; }
.survey-done .share-ico svg { width: 14px; height: 14px; margin: 0; color: inherit; }
.share-status { min-height: 1.3em; margin: 12px 0 0; color: var(--sun); font-family: var(--font-hand); font-size: 1.3rem; font-weight: 700; }
@media (max-width: 860px) { .share-inner { grid-template-columns: 1fr; gap: 24px; } }

/* Second speech bubble of the hero surfer: opens the share dialog.
   Position in percent of the hero visual, which maps 1:1 to the svg viewBox 340 110 860 590. */
.hero-share { position: absolute; left: 47%; bottom: 86%; z-index: 3; width: min(250px, 30%); min-width: 170px; pointer-events: auto; text-align: left; cursor: pointer;
    padding: 10px 14px 9px; border-radius: 18px; border: 2.5px solid #07323c; background: #fff; color: #07323c; box-shadow: 4px 5px 0 #07323c;
    font-family: var(--font-head); animation: shareBob 3.2s ease-in-out infinite alternate; transition: transform .2s cubic-bezier(.3,1.6,.5,1), box-shadow .2s; }
.hero-share::after { content: ''; position: absolute; left: 14px; bottom: -11px; width: 16px; height: 16px; background: #fff; border-right: 2.5px solid #07323c; border-bottom: 2.5px solid #07323c; transform: rotate(45deg) skew(-6deg, -6deg); }
.hero-share:hover, .hero-share:focus-visible { animation-play-state: paused; transform: scale(1.05) rotate(-1deg); box-shadow: 6px 7px 0 #ff7b54; outline: none; }
.hero-share-text { display: block; font-weight: 800; font-size: clamp(.82rem, 1.25vw, 1rem); line-height: 1.22; }
.hero-share-hint { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; font-family: var(--font-hand); font-weight: 700; font-size: 1.05rem; line-height: 1; color: #d0532b; }
.hero-share-hint::after { content: '→'; font-family: var(--font-body); font-size: .85rem; }
@keyframes shareBob { from { transform: translateY(-3px) rotate(1.5deg); } to { transform: translateY(4px) rotate(-1deg); } }
@media (prefers-reduced-motion: reduce) { .hero-share { animation: none; } }
@media (max-width: 560px) { .hero-share { left: 35%; bottom: 91%; width: 32%; min-width: 0; padding: 7px 10px 7px; } .hero-share-text { font-size: .76rem; } .hero-share-hint { font-size: .92rem; margin-top: 3px; } }

.share-dialog { width: min(560px, calc(100% - 32px)); padding: 30px 28px 22px; border: 3px solid #07323c; border-radius: 24px; box-shadow: 8px 9px 0 #07323c; background: var(--navy); color: var(--foam); }
.share-dialog::backdrop { background: rgba(7,50,60,.55); backdrop-filter: blur(3px); }
.share-dialog .eyebrow { color: var(--sun); }
.share-dialog h2 { color: #fff; font-size: 1.7rem; margin: 0 0 8px; }
.share-dialog p { color: #f3e3cc; margin: 0 0 18px; }
.share-dialog .share-native { margin-bottom: 14px; }
.share-dialog-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff8ec; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.share-dialog-close:hover { background: rgba(255,255,255,.22); }

/* City documents on the Gaswerkareal (location section) */
.doc-links { margin-top: 22px; padding: 18px 20px; border-radius: var(--radius); background: rgba(255,255,255,.6); border: 1px solid var(--line); }
.doc-links strong { display: block; font-family: var(--font-head); font-size: 1rem; margin-bottom: 8px; }
.doc-links ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.doc-links a { display: inline-flex; gap: 6px; font-size: .9rem; font-weight: 600; }
.doc-links a::before { content: '↗'; color: var(--coral); }
@media (max-width: 560px) { .doc-links ul { grid-template-columns: 1fr; } }

/* Credit for the live Aare temperature (Aare.guru API terms: link to Aare.guru and BAFU) */
.footer-credit { font-size: .82rem; opacity: .8; margin-top: 6px; }
.footer-credit a { text-decoration: underline; }

/* Share prompt at the end of the survey */
.survey-done { max-width: 680px; }
/* Instagram follow card at the end of the survey */
.follow-box { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; padding: 18px 20px; border-radius: 24px; text-align: left; color: #fff; background: linear-gradient(120deg, #f9ce34 0%, #ee2a7b 45%, #6228d7 100%); box-shadow: 0 14px 34px rgba(238,42,123,.35); transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.follow-box:hover, .follow-box:focus-visible { text-decoration: none; transform: translateY(-3px) rotate(-.5deg); }
.follow-ico { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 auto; border-radius: 16px; background: rgba(255,255,255,.2); }
.survey-done .follow-ico svg { width: 30px; height: 30px; margin: 0; fill: #fff; color: #fff; }
.follow-text { display: grid; gap: 2px; flex: 1; }
.follow-text strong { font-family: var(--font-head); font-size: 1.2rem; }
.follow-text span { font-size: .92rem; opacity: .95; }
.follow-cta { flex: 0 0 auto; padding: 10px 16px; border-radius: 999px; background: #fff; color: #c13584; font-weight: 700; font-size: .9rem; }
@media (max-width: 560px) { .follow-box { flex-wrap: wrap; } .follow-cta { width: 100%; text-align: center; } }
.share-box { margin: 8px 0 30px; padding: 26px 24px 18px; border-radius: 24px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); }
.share-box h3 { font-family: var(--font-hand); font-size: clamp(1.7rem, 4vw, 2.2rem); font-weight: 700; color: var(--sun); margin: 0 0 12px; transform: rotate(-2deg); }
.share-box p { margin: 0 0 18px; }
.share-box .share-native { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.share-box .share-native svg { width: 18px; height: 18px; margin: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; color: inherit; }
.share-box .share-links { justify-content: center; }
.share-box .share-status { margin-bottom: 0; }

/* Milestone: progress towards 1000 survey answers (voices section) */
.goal { max-width: 1040px; margin: 0 auto 28px; padding: 24px 30px 22px; background: #fff; border: 3px solid #07323c; border-radius: 24px; box-shadow: 6px 7px 0 #07323c; }
.goal-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.goal-kicker { font-family: var(--font-hand); font-size: 1.6rem; font-weight: 700; color: var(--coral); line-height: 1; transform: rotate(-2deg); }
.goal-count { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink); font-variant-numeric: tabular-nums; }
.goal-bar { position: relative; height: 28px; border-radius: 999px; background: var(--surface-tint); border: 2px solid #07323c; overflow: visible; }
.goal-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, #3fd8c9, #00a39b); transition: width 1.4s cubic-bezier(.2,.7,.2,1); min-width: 28px; }
.goal-fill::after { content: ''; position: absolute; right: 4px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.35); animation: countPulse 2s infinite; }
.goal-tick { position: absolute; top: 4px; bottom: 4px; width: 2px; margin-left: -1px; background: rgba(7,50,60,.25); }
.goal-flag { position: absolute; right: -6px; top: -26px; width: 24px; height: 24px; fill: none; stroke: #07323c; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.goal-flag path:last-child { fill: var(--coral); }
.goal-scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: .75rem; color: var(--ink-med); font-variant-numeric: tabular-nums; }
.goal-text { margin: 12px 0 0; color: var(--ink-med); }
.goal.reached .goal-fill { background: linear-gradient(90deg, #ffc65c, #ff7b54); }
.goal.reached .goal-kicker { color: #00a39b; }
.survey-count-goal { font-size: .85rem; font-weight: 600; opacity: .7; margin-left: 2px; }
@media (prefers-reduced-motion: reduce) { .goal-fill { transition: none; } .goal-fill::after { animation: none; } }
@media (max-width: 560px) { .goal { padding: 20px 18px; } }

/* Survey on phones: steps start at the top, Zrügg/Wyter stay at the bottom edge, flatter photos */
@media (max-width: 860px) {
    .wizard-wrap { align-items: flex-start; padding-top: calc(var(--nav-h) + 20px); padding-bottom: 40px; overflow: clip; }
    .wizard-meta { margin-bottom: 22px; }
    .wizard .step { min-height: 0; }
    .wizard-nav { position: sticky; bottom: 0; z-index: 5; margin: 24px -16px 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); transition: background .2s, box-shadow .2s; }
    .wizard-nav.stuck { background: rgba(8,58,68,.97); box-shadow: 0 -12px 24px rgba(7,50,60,.45); }
    .wave-photos img { aspect-ratio: 16 / 10; }
    .wave-photos-strip { grid-auto-columns: 62%; }
    .wave-photos figcaption { font-size: .72rem; }
}
/* "Enter = wyter" means nothing without a keyboard */
@media (hover: none) and (pointer: coarse) { .wizard-hint { display: none; } }

/* Party between 100 and 110 survey answers: confetti canvas, balloons, sticker */
.party-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 190; pointer-events: none; }
.party-balloons { position: fixed; inset: 0; z-index: 180; pointer-events: none; overflow: hidden; }
.party-balloon { position: absolute; bottom: -160px; width: clamp(46px, 7vw, 76px); animation: balloonUp 7s cubic-bezier(.35,.1,.6,1) forwards; }
.party-balloon svg { display: block; width: 100%; height: auto; animation: balloonSway 1.8s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes balloonUp { to { transform: translateY(calc(-100vh - 220px)); } }
@keyframes balloonSway { from { transform: rotate(-6deg) translateX(-6px); } to { transform: rotate(6deg) translateX(6px); } }
.party-sticker { position: fixed; top: calc(var(--nav-h) + 14px); left: 50%; z-index: 200; width: min(420px, calc(100% - 32px)); padding: 18px 22px 16px; text-align: center; border-radius: 22px; background: var(--sun); color: var(--navy); border: 3px solid #07323c; box-shadow: 6px 7px 0 #07323c; transform: translateX(-50%) rotate(-2deg); animation: partyPop .6s cubic-bezier(.3,1.6,.5,1) both; transition: opacity 1s; }
.party-sticker.fade { opacity: 0; }
.party-sticker strong { display: block; font-family: var(--font-hand); font-size: clamp(1.9rem, 5vw, 2.4rem); font-weight: 700; line-height: 1.05; }
.party-sticker p { margin: 6px 0 12px; font-size: .95rem; font-weight: 600; }
.party-actions { display: flex; justify-content: center; }
.party-close { position: absolute; top: 8px; right: 10px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(7,50,60,.12); color: var(--navy); font-size: 1.1rem; line-height: 1; cursor: pointer; }
@keyframes partyPop { from { opacity: 0; transform: translateX(-50%) rotate(-14deg) scale(.4); } to { opacity: 1; transform: translateX(-50%) rotate(-2deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .party-sticker { animation: none; } }

/* Early partners (end of the project page) */
.partners .section-head { margin-bottom: 40px; }
.partner-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-auto-rows: minmax(180px, auto); gap: 22px; max-width: 1080px; margin: 0 auto; }
.partner-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 22px; border-radius: 24px; color: var(--ink); text-decoration: none; transition: transform .25s cubic-bezier(.3,1.6,.5,1), box-shadow .25s, border-color .25s, background .25s; }
.partner-card:hover, .partner-card:focus-visible { text-decoration: none; outline: none; }
.partner-main { grid-row: span 3; justify-content: flex-end; padding: 32px 30px 28px; background: radial-gradient(120% 90% at 100% 0%, rgba(63,216,201,.35), transparent 60%), radial-gradient(90% 80% at 0% 100%, rgba(255,123,84,.22), transparent 60%), #fff; border: 3px solid #07323c; box-shadow: 8px 9px 0 #07323c; transform: rotate(-1deg); }
.partner-main:hover, .partner-main:focus-visible { transform: rotate(0deg) translateY(-4px); box-shadow: 11px 13px 0 #ff7b54; }
.partner-merci { position: absolute; top: -22px; right: -14px; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--sun); color: var(--navy); border: 3px solid #07323c; font-family: var(--font-hand); font-size: 1.6rem; font-weight: 700; transform: rotate(12deg); box-shadow: 4px 5px 0 #07323c; animation: merciSpin 6s ease-in-out infinite alternate; }
@keyframes merciSpin { from { transform: rotate(8deg) scale(1); } to { transform: rotate(18deg) scale(1.06); } }
.partner-chip { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: #07323c; color: #fff8ec; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.partner-logo { font-family: var(--font-head); font-weight: 900; font-size: clamp(2.6rem, 5.5vw, 3.8rem); line-height: .95; letter-spacing: -.03em; color: #07323c; margin-top: 6px; }
.partner-logo em { font-style: normal; color: #00a39b; }
.partner-desc { color: var(--ink-med); font-size: 1rem; line-height: 1.5; max-width: 360px; }
.partner-link { margin-top: 8px; font-weight: 700; color: #d0532b; }
.partner-open { justify-content: center; align-items: flex-start; background: rgba(255,255,255,.45); border: 2.5px dashed rgba(7,50,60,.35); }
.partner-open:hover, .partner-open:focus-visible { background: #fff; border: 2.5px solid #00a39b; transform: translateY(-4px) rotate(.6deg); box-shadow: 6px 7px 0 rgba(7,50,60,.15); }
.partner-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #e0f5f3; color: #00756f; transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.partner-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.partner-open:hover .partner-icon { transform: rotate(-10deg) scale(1.1); }
.partner-role { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.partner-free { padding: 3px 10px; border-radius: 999px; background: var(--sun); color: var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.partner-cta { font-size: .88rem; color: var(--ink-med); }
.partner-open:hover .partner-cta { color: #00756f; }
@media (prefers-reduced-motion: reduce) { .partner-merci { animation: none; } }
@media (max-width: 900px) { .partner-grid { grid-template-columns: 1fr 1fr; } .partner-main { grid-column: 1 / -1; grid-row: auto; min-height: 260px; } }
@media (max-width: 560px) { .partner-grid { grid-template-columns: 1fr; } .partner-merci { width: 76px; height: 76px; font-size: 1.35rem; right: -6px; } }
.partner-filled { background: radial-gradient(110% 90% at 0% 0%, rgba(255,198,92,.35), transparent 60%), #fff; border: 3px solid #07323c; box-shadow: 6px 7px 0 #07323c; transform: rotate(1deg); }
.partner-filled:hover, .partner-filled:focus-visible { transform: rotate(0deg) translateY(-4px); box-shadow: 9px 11px 0 #00a39b; }
.partner-logo-sm { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 2px; }
.partner-logo-sm em { color: #ff7b54; }
.partner-tagline { font-family: var(--font-hand); font-size: 1.2rem; font-weight: 700; color: #00756f; line-height: 1; }
.partner-filled .partner-desc { font-size: .9rem; }
.partner-wide { grid-column: span 2; }
@media (max-width: 560px) { .partner-wide { grid-column: auto; } }

/* Third speech bubble of the hero surfer, below the board: one rider on the wave at a time */
.hero-solo { position: absolute; left: 9%; top: 64%; z-index: 3; width: min(230px, 30%); min-width: 160px; margin: 0; padding: 9px 13px 8px; border-radius: 18px; border: 2.5px solid #07323c; background: var(--sun); color: #07323c; box-shadow: 4px 5px 0 #07323c; font-family: var(--font-head); transform: rotate(-3deg); animation: soloBob 3.8s ease-in-out infinite alternate; pointer-events: none; }
.hero-solo::after { content: ''; position: absolute; right: 26px; top: -11px; width: 16px; height: 16px; background: var(--sun); border-left: 2.5px solid #07323c; border-top: 2.5px solid #07323c; transform: rotate(45deg) skew(-6deg, -6deg); }
.hero-solo-text { display: block; font-weight: 800; font-size: clamp(.8rem, 1.2vw, .98rem); line-height: 1.22; }
.hero-solo-hint { display: block; margin-top: 4px; font-family: var(--font-hand); font-weight: 700; font-size: 1.02rem; line-height: 1; color: #b5441f; }
@keyframes soloBob { from { transform: rotate(-3deg) translateY(0); } to { transform: rotate(-1deg) translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .hero-solo { animation: none; } }
@media (max-width: 560px) { .hero-solo { left: 6%; top: 62%; width: 42%; min-width: 0; padding: 7px 10px; } .hero-solo-text { font-size: .74rem; } .hero-solo-hint { font-size: .88rem; } }

/* Comments as a ticker: rows run across the full width, the second row the other way, hover pauses */
.voices { overflow-x: clip; }
.voices-grid.voices-ticker { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; max-width: none; width: 100vw; margin: 0 calc(50% - 50vw); }
.voices-row { overflow: hidden; padding: 22px 0 34px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.voices-track { display: flex; align-items: flex-start; gap: 26px; width: max-content; animation: voicesRun var(--dur, 60s) linear infinite; }
.voices-row.rev .voices-track { animation-direction: reverse; }
.voices-row:hover .voices-track, .voices-row:focus-within .voices-track { animation-play-state: paused; }
.voices-track .voice { flex: 0 0 auto; width: 300px; }
@keyframes voicesRun { to { transform: translateX(calc(-50% - 13px)); } }
@media (max-width: 560px) { .voices-track .voice { width: 250px; } .voices-track { gap: 18px; } @keyframes voicesRun { to { transform: translateX(calc(-50% - 9px)); } } }
@media (prefers-reduced-motion: reduce) { .voices-track { animation: none; } .voices-row { overflow-x: auto; } .voice-copy { display: none; } }
