/* POLDERS landing page (shared by /polders/ and /polders/nl/). Full-screen key art, then a short scrolling intro. */
:root {
    --ink: #ffffff;
    --bg: #3a2b26;
    --cream: #f1e8da;
    --muted: #c4b2a1;
    --text-dim: #e3d7c6;
    --line: rgba(241, 232, 218, 0.16);
    --panel: rgba(22, 13, 9, 0.5);
    --highlight: rgb(220, 188, 187);
    --highlight-dim: rgba(220, 215, 187, 0.45);
    --font-display: 'cool';
    --font-body: 'Montserrat', sans-serif;
    /* Two-step shadow: a tight contact shadow plus a wide soft one, so type reads on the bright key art. */
    --shadow: drop-shadow(0 2px 1.5px rgba(20, 14, 8, 0.55)) drop-shadow(0 4px 18px rgba(20, 14, 8, 0.55));
    --shadow-text: 0 2px 2px rgba(20, 12, 8, 0.55), 0 4px 22px rgba(20, 12, 8, 0.6);
    --shadow-box: 0 2px 4px rgba(10, 6, 4, 0.35), 0 18px 48px rgba(10, 6, 4, 0.45);
    --pad: 64px;
}

::selection {
    background: orangered;
    color: #fff;
}

.glow {
    display: inline-block;
    transition: transform 0.1s ease-out;
}

.glow:hover {
    transform: scale(1.05) rotate(0.01turn);
}

.shadowed {
    filter: var(--shadow);
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg) url("/polders/presskit/img/texture.jpg") center / cover fixed;
    color: var(--ink);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    overflow: hidden;
}

/* Key art rebuilt from the layered PSD. All layers share one box so they stay registered. */
.scene {
    position: absolute;
    inset: 0;
}

.scene .layer {
    position: absolute;
    left: calc(var(--pad) * -1);
    top: calc(var(--pad) * -1);
    width: calc(100% + var(--pad) * 2);
    height: calc(100% + var(--pad) * 2);
    will-change: transform;
}

.scene .layer img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 62%;
    user-select: none;
    -webkit-user-drag: none;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 1.1s ease-out, transform 1.6s cubic-bezier(.2, .7, .2, 1);
    transition-delay: calc(var(--i) * 90ms);
}

.scene .layer:first-child img {
    transform: scale(1.04);
}

.ready .scene .layer img {
    opacity: 1;
    transform: none;
}

.scene .boat img {
    animation: bob 5.5s ease-in-out infinite;
}

@keyframes bob {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -0.35%; }
}

/* Light vignette: keeps the painting bright, darkens the edges, and fades into the page below. */
.hero .overlay-dark {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 75% 70% at 50% 42%, rgba(20, 14, 8, 0) 45%, rgba(20, 14, 8, 0.38) 100%),
        linear-gradient(rgba(20, 14, 8, 0.12), rgba(20, 14, 8, 0) 30%, rgba(20, 14, 8, 0) 70%, rgba(58, 43, 38, 0.7) 92%, var(--bg));
}

/* Bottom fade sits above the clouds, so the key art blends into the page below. */
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 22%;
    pointer-events: none;
    background: linear-gradient(rgba(58, 43, 38, 0), rgba(58, 43, 38, 0.75) 60%, var(--bg));
}

.hero .content,
.hero .scroll-cue {
    z-index: 2;
}

/* Above .content, which covers the whole hero and would otherwise swallow clicks. */
.hero .lang {
    z-index: 3;
}

.hero canvas.clouds {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.7;
}

.hero .content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 16px 4vh;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1s ease-out 0.5s, transform 1.4s cubic-bezier(.2, .7, .2, 1) 0.5s;
}

.ready .hero .content {
    opacity: 1;
    transform: none;
}

.hero .logo {
    height: 22vh;
    max-height: 220px;
    margin-bottom: 1.2vh;
}

.hero .title {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 7vh;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: normal;
    font-size: min(14vh, 15vw);
    line-height: 0.9;
    margin: 0;
    letter-spacing: 0.01em;
    color: var(--ink);
}

/* Same lockup as the logo file: display face, tracked out to roughly the wordmark's width. */
.hero .subtitle {
    font-family: var(--font-display);
    font-weight: normal;
    font-size: min(3.55vh, 3.8vw);
    line-height: 1;
    letter-spacing: 0.135em;
    margin: 0.5em 0 0 0.135em;
    white-space: nowrap;
    text-transform: uppercase;
    color: var(--ink);
}

/* Longer translations of the tagline shrink to keep the wordmark's width. */
.hero .subtitle.long {
    font-size: min(2.55vh, 2.75vw);
}

.hero .links {
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
    align-items: center;
}

.hero .links a {
    font-family: var(--font-display);
    font-size: min(2.8vh, 4.6vw);
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
}

.hero .links a:hover {
    color: var(--highlight);
}

.fab {
    margin: 0 0.4em;
}

/* Primary call to action (wishlist): a framed button instead of a bare text link. */
a.button {
    margin-bottom: 2vh;
    padding: 0.55em 1.3em 0.45em;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: rgba(20, 14, 8, 0.35);
    backdrop-filter: blur(3px);
    transition: transform 0.1s ease-out, color 0.15s ease-out, border-color 0.15s ease-out, background 0.15s ease-out;
}

.hero .links a.button {
    font-size: min(4.2vh, 6.5vw);
}

a.button:hover {
    border-color: var(--highlight);
    background: rgba(20, 14, 8, 0.5);
}

/* Language switch, top right of the key art. */
.lang {
    position: absolute;
    top: 16px;
    right: 26px;
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 0.08em;
}

.lang a {
    display: inline-block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 0.35em 0.3em;
}

.lang a:hover,
.lang a:focus-visible {
    color: var(--highlight);
}

.lang a[aria-current] {
    color: var(--ink);
}

.lang .sep,
.footer .sep {
    color: rgba(255, 255, 255, 0.6);
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 3.5vh;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    border: 1px solid rgba(241, 232, 218, 0.6);
    border-radius: 14px;
    opacity: 0;
    transition: opacity 1s ease-out 1.2s;
}

.ready .scroll-cue {
    opacity: 1;
}

.scroll-cue i {
    position: absolute;
    left: 50%;
    top: 9px;
    width: 3px;
    height: 8px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: var(--cream);
    animation: cue 2s ease-in-out infinite;
}

@keyframes cue {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(12px); opacity: 0; }
    100% { opacity: 0; }
}

/* ------------------------------------------------------------------ about */
.about {
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 32px 24px;
    color: var(--cream);
    font-size: 16.5px;
    line-height: 1.72;
}

.about h2,
.about h3 {
    font-family: var(--font-display);
    font-weight: normal;
    letter-spacing: 0.03em;
    line-height: 1.1;
    margin: 0;
    text-shadow: var(--shadow-text);
}

.about h2 {
    font-size: clamp(30px, 4vw, 44px);
    margin-bottom: 22px;
}

.about p {
    margin: 0 0 1em;
}

.intro {
    max-width: 46em;
    margin: 0 auto 64px;
    text-align: center;
}

.intro .lede {
    font-size: clamp(18px, 1.9vw, 21px);
    line-height: 1.6;
}

.intro p:not(.lede) {
    color: var(--text-dim);
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 72px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.features li {
    display: flex;
    flex-direction: column;
    background: var(--panel);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: var(--shadow-box), inset 0 0 0 1px var(--line);
}

.features img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-bottom: 3px solid var(--cream);
}

.features .txt {
    padding: 22px 26px 10px;
}

.features h3 {
    font-size: 23px;
}

/* Short rose rule under each title, as in the press kit. */
.features h3::after {
    content: '';
    display: block;
    width: 44px;
    height: 2px;
    margin: 14px 0 12px;
    background: var(--highlight);
    opacity: 0.8;
}

.features p {
    color: var(--text-dim);
    font-size: 15.5px;
}

.cta {
    text-align: center;
    margin-bottom: 40px;
}

.cta a {
    font-family: var(--font-display);
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
}

.cta a.button {
    font-size: clamp(20px, 2.6vw, 28px);
}

.cta a:hover {
    color: var(--highlight);
}

.cta .more {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin-top: 18px;
    font-size: 18px;
}

/* ------------------------------------------------------------------ footer */
.footer {
    text-align: center;
    padding: 24px 16px 36px;
    font-size: 0.85em;
}

.footer .copyright {
    margin: 0 0 0.5em 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.8em;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.9);
}

.footer .smallprint {
    font-family: var(--font-display);
    font-size: 0.7em;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer .smallprint a {
    color: var(--ink);
    text-decoration: none;
    padding: 0 0.6em;
    transition: color 0.15s ease-out;
}

.footer .smallprint a:hover {
    color: var(--highlight);
}

@media (max-width: 680px) {
    .about {
        padding: 24px 16px 16px;
        font-size: 15.5px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .lang {
        top: 10px;
        right: 16px;
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scene .layer img,
    .hero .content,
    .scroll-cue {
        transition: none;
    }

    .scene .boat img,
    .scroll-cue i {
        animation: none;
    }
}
