/* PapGooi theme. Palette extracted from the logo. */
/* Self-hosted fonts (latin subset, SIL Open Font License). */
@font-face {
    font-family: "Fraunces"; font-style: normal; font-weight: 600 800; font-display: swap;
    src: url("../fonts/fraunces-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Nunito"; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url("../fonts/nunito-latin.woff2") format("woff2");
}

:root {
    /* Raw palette */
    --ocean-900: #012d3e;
    --ocean-800: #022c3c;
    --teal-700: #075a68;
    --teal-600: #077568;
    --green-500: #539245;
    --orange-600: #da702a;
    --orange-500: #e56c22;
    --gold-500: #f4b31b;

    /* Semantic tokens */
    --color-primary: var(--ocean-900);
    --color-secondary: var(--teal-700);
    --color-accent: var(--orange-500);
    --color-accent-dark: var(--orange-600);
    --color-success: var(--green-500);
    --color-warning: var(--gold-500);
    --color-surface: #ffffff;
    --color-background: #f4f1ea;
    --color-text: #0f2630;
    --color-text-muted: #4a606b;
    --color-text-on-dark: #eaf4f4;
    --color-error: #b3261e;

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius: 14px;
    --shadow: 0 10px 30px rgba(1, 45, 62, 0.15);
    --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-background);
    -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--color-secondary); }
a:hover { color: var(--color-accent-dark); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .6em; color: var(--color-primary); }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 760px; }
.nowrap { white-space: nowrap; }
.sr-only, .hp {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--color-accent); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--color-warning); outline-offset: 3px; }

/* Buttons */
.btn {
    display: inline-block; border: 2px solid transparent; border-radius: 999px;
    padding: .8em 1.6em; font: 700 1rem var(--font-body); text-decoration: none; cursor: pointer;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 6px 18px rgba(229, 108, 34, .4); }
.btn--accent:hover { background: var(--color-accent-dark); color: #fff; }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-secondary); color: #fff; }
.btn--small { padding: .5em 1.1em; font-size: .95rem; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn--ghost-dark { border-color: var(--color-primary); color: var(--color-primary); }
.btn--ghost-dark:hover { background: var(--color-primary); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(1, 45, 62, .94); backdrop-filter: blur(8px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 46px; height: auto; }
.brand__text { font: 800 1.35rem var(--font-display); color: #fff; }
.brand__text span { color: var(--color-warning); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--color-text-on-dark); text-decoration: none; font-weight: 600; }
.site-nav a:not(.btn):hover { color: var(--color-warning); }
.site-nav .btn { color: #fff; }

/* Hero */
.hero {
    position: relative; overflow: hidden; color: var(--color-text-on-dark);
    background:
        radial-gradient(900px 500px at 85% 20%, rgba(7, 117, 104, .55), transparent 60%),
        linear-gradient(170deg, var(--ocean-900) 0%, var(--ocean-800) 45%, var(--teal-700) 100%);
    padding: 56px 0 140px;
}
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--color-warning); }
.hero__inner { position: relative; display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px;
    background: rgba(244, 179, 27, .16); color: var(--color-warning); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem;
}
.eyebrow--dark { background: rgba(7, 90, 104, .12); color: var(--color-secondary); }
.eyebrow--light { background: rgba(244, 179, 27, .16); color: var(--color-warning); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--color-warning); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(244, 179, 27, .7); } 100% { box-shadow: 0 0 0 12px rgba(244, 179, 27, 0); } }
.lead { font-size: 1.2rem; max-width: 34em; color: #d3e6e8; }

/* Forms */
.notify-form { margin-top: 28px; max-width: 540px; }
.notify-form__row { display: flex; gap: 10px; flex-wrap: wrap; }
input[type="email"], input[type="text"], input[type="tel"], input[type="url"], textarea {
    width: 100%; font: 400 1rem var(--font-body); color: var(--color-text);
    background: #fff; border: 2px solid #cdd9dc; border-radius: 12px; padding: .8em 1em;
}
.notify-form__row input { flex: 1 1 240px; width: auto; border-color: transparent; }
input:focus, textarea:focus { border-color: var(--color-accent); outline: none; box-shadow: 0 0 0 3px rgba(229, 108, 34, .3); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: .92rem; }
.check input { margin-top: .3em; width: 1.15em; height: 1.15em; accent-color: var(--color-accent); flex: none; }
.hero .check a { color: var(--color-warning); }
.form-status { margin: 12px 0 0; min-height: 1.5em; font-weight: 700; }
.form-status.is-ok { color: #9fe08f; }
.form-status.is-error { color: #ffb4a8; }

/* Hero art */
.hero__art { position: relative; display: none; justify-self: center; }
.hero__badge {
    width: min(360px, 80%); margin: 0 auto; padding: 28px; border-radius: 50%; aspect-ratio: 1;
    display: grid; place-items: center; background: rgba(255, 255, 255, .96); box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
    animation: bob 6s ease-in-out infinite;
}
.hero__badge img { width: 90%; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-1.5deg); } }
.tag { position: absolute; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .92rem; box-shadow: var(--shadow); }
.tag--one { top: 8%; left: -4%; background: var(--color-success); color: #fff; }
.tag--two { top: 46%; right: -6%; background: var(--color-accent); color: #fff; }
.tag--three { bottom: 6%; left: 4%; background: var(--color-warning); color: var(--ocean-900); }
.hero__bubbles i { position: absolute; bottom: -40px; width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .14); animation: rise 14s linear infinite; }
.hero__bubbles i:nth-child(1) { left: 8%; animation-delay: 0s; }
.hero__bubbles i:nth-child(2) { left: 26%; width: 22px; height: 22px; animation-delay: 3s; }
.hero__bubbles i:nth-child(3) { left: 52%; animation-delay: 6s; }
.hero__bubbles i:nth-child(4) { left: 71%; width: 10px; height: 10px; animation-delay: 9s; }
.hero__bubbles i:nth-child(5) { left: 90%; width: 18px; height: 18px; animation-delay: 2s; }
@keyframes rise { to { transform: translateY(-110vh); } }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 90px; fill: var(--color-background); }

/* Sections */
.section { padding: 72px 0; }
.story__inner { display: grid; gap: 28px; }
.story__sign { font: 800 1.5rem var(--font-display); color: var(--color-accent-dark); }
.coming { background: var(--color-primary); color: var(--color-text-on-dark); }
.coming h2 { color: #fff; }
.cards { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 26px; }
.card h3 { color: #fff; }
.card p { margin: 0; color: #cfe2e4; }
.card__icon { width: 52px; height: 52px; color: var(--color-warning); margin-bottom: 12px; }

/* Supplier */
.supplier__inner { display: grid; gap: 36px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 10px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--color-success); box-shadow: inset 0 0 0 4px var(--color-success), inset 0 0 0 9px #fff; }
.supplier-form { background: var(--color-surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.field-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 4px; font-size: .95rem; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio { display: inline-flex; gap: 8px; align-items: center; margin-right: 18px; font-weight: 600; }
.radio input { accent-color: var(--color-accent); }
.supplier-form .check a { color: var(--color-secondary); }
.supplier-form .form-status.is-ok { color: #2e6b22; }
.supplier-form .form-status.is-error { color: var(--color-error); }

/* Legal pages */
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
.legal__updated { color: var(--color-text-muted); }
.legal li { margin-bottom: .4em; }

/* Footer */
.site-footer { background: var(--ocean-800); color: var(--color-text-on-dark); padding: 40px 0; }
.site-footer a { color: var(--color-warning); }
.site-footer__inner { display: grid; gap: 20px; }
.site-footer__brand { font: 800 1.4rem var(--font-display); margin: 0 0 4px; color: #fff; }
.site-footer__brand span { color: var(--color-warning); }
.site-footer p { margin: 0 0 6px; }
.site-footer__copy { font-size: .85rem; opacity: .85; }
.site-footer__credit { display: block; margin-top: 4px; }
@media (min-width: 720px) { .site-footer__credit { display: inline; margin: 0 0 0 12px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .3); } }

/* Larger screens */
@media (min-width: 720px) {
    :root { --gutter: 28px; }
    .field-grid { grid-template-columns: 1fr 1fr; }
    .field--full { grid-column: 1 / -1; }
    .cards { grid-template-columns: repeat(3, 1fr); }
    .story__inner { grid-template-columns: 1fr 1.3fr; align-items: start; gap: 56px; }
    .site-footer__inner { grid-template-columns: 2fr 1fr; }
    .site-footer__copy { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
    .hero { padding: 88px 0 170px; }
    .hero__inner { grid-template-columns: 1.15fr .85fr; }
    .hero__art { display: block; }
    .supplier__inner { grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
}
@media (max-width: 560px) {
    .site-nav a:not(.btn) { display: none; }
    .brand__text { font-size: 1.15rem; }
    .btn--accent { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
