:root {
    --ink: #0b1f1a;
    --ink-soft: #243c34;
    --mist: #e7f0ea;
    --sand: #f3ebe0;
    --sun: #f6c15a;
    --leaf: #1f7a5c;
    --leaf-deep: #145a43;
    --paper: #f7f4ef;
    --white: #ffffff;
    --line: rgba(11, 31, 26, 0.12);
    --font-display: "Bricolage Grotesque", Georgia, serif;
    --font-body: "Manrope", "Segoe UI", sans-serif;
    --radius: 14px;
    --max: 1120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.55;
    background:
        radial-gradient(1200px 600px at 10% -10%, #d9ebe3 0%, transparent 55%),
        radial-gradient(900px 500px at 100% 0%, #f6e7c8 0%, transparent 50%),
        var(--paper);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: absolute;
    z-index: 20;
    inset: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max);
    width: calc(100% - 2.5rem);
    margin: 1.25rem auto 0;
    gap: 1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.lang-switch {
    position: relative;
}

.lang-switch summary {
    list-style: none;
    cursor: pointer;
    min-height: 2.4rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.88rem;
    font-weight: 600;
}

.lang-switch summary::-webkit-details-marker {
    display: none;
}

.lang-switch ul {
    position: absolute;
    right: 0;
    top: calc(100% + 0.4rem);
    margin: 0;
    padding: 0.4rem;
    list-style: none;
    min-width: 11rem;
    max-height: min(60vh, 22rem);
    overflow: auto;
    border-radius: 12px;
    background: rgba(11, 31, 26, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.lang-switch a {
    display: block;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.lang-switch a:hover,
.lang-switch a[aria-current="true"] {
    background: rgba(246, 193, 90, 0.18);
    color: var(--sun);
}

.brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    color: var(--white);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

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

.nav a {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-cta {
    padding: 0.55rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: end;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.05);
}

.motion-on .hero-media img {
    animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 31, 26, 0.35) 0%, rgba(11, 31, 26, 0.15) 35%, rgba(11, 31, 26, 0.72) 100%),
        linear-gradient(90deg, rgba(11, 31, 26, 0.45) 0%, transparent 55%);
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: min(var(--max), calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 0 0 clamp(3rem, 8vh, 5.5rem);
    color: var(--white);
}

.brand-mark {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: clamp(3.4rem, 10vw, 6.5rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.92;
}

.hero-copy h1 {
    margin: 0;
    max-width: 14ch;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4.2vw, 2.65rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.lede {
    margin: 1rem 0 0;
    max-width: 34ch;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.98rem;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
    background: var(--sun);
    color: var(--ink);
}

.btn-primary:hover {
    background: #ffd06e;
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.85);
}

.section {
    width: min(var(--max), calc(100% - 2.5rem));
    margin: 0 auto;
    padding: clamp(4rem, 10vw, 7rem) 0;
}

.section h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--ink);
}

.section p {
    margin: 1rem 0 0;
    max-width: 38ch;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.section-split {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.section-visual {
    margin: 0;
    overflow: hidden;
    border-radius: calc(var(--radius) + 4px);
}

.section-visual img {
    width: 100%;
    height: min(58vh, 520px);
    object-fit: cover;
}

.section-media .centered {
    text-align: center;
    margin-inline: auto;
}

.section-media .centered p {
    margin-inline: auto;
}

.media-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
}

.media-strip img {
    width: 100%;
    height: clamp(140px, 22vw, 260px);
    object-fit: cover;
    border-radius: var(--radius);
}

.section-waitlist {
    padding-bottom: clamp(5rem, 12vw, 8rem);
}

.waitlist-panel {
    padding: clamp(2rem, 5vw, 3.25rem);
    border-radius: 22px;
    background:
        linear-gradient(145deg, #12352c 0%, #0b1f1a 55%, #163f33 100%);
    color: var(--white);
}

.waitlist-panel h2 {
    color: var(--white);
}

.waitlist-panel > p {
    color: rgba(255, 255, 255, 0.84);
}

.waitlist-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.waitlist-form input {
    flex: 1 1 220px;
    min-height: 3rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    outline: none;
}

.waitlist-form input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.waitlist-form input:focus {
    border-color: var(--sun);
}

.waitlist-success {
    margin-top: 1.25rem !important;
    color: var(--sun) !important;
    font-weight: 600;
}

.waitlist-error {
    margin: 0.75rem 0 0;
    color: #ffb4a2;
}

.site-footer {
    width: min(var(--max), calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 0 0 2.5rem;
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
}

.footer-brand {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.footer-meta {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.motion-on .hero-copy,
.motion-on .section {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.motion-on .hero-copy.is-visible,
.motion-on .section.is-visible {
    opacity: 1;
    transform: none;
}

.motion-on .hero-copy {
    transition-delay: 0.08s;
}

@keyframes hero-drift {
    from { transform: scale(1.05) translate3d(0, 0, 0); }
    to { transform: scale(1.12) translate3d(0, -1.5%, 0); }
}

@media (min-width: 880px) {
    .section-split {
        grid-template-columns: 1fr 1.15fr;
        gap: 3.5rem;
    }
}

@media (max-width: 700px) {
    .nav a:not(.nav-cta) {
        display: none;
    }

    .lang-switch summary {
        font-size: 0.8rem;
        padding: 0.4rem 0.65rem;
    }

    .media-strip {
        grid-template-columns: 1fr;
    }

    .media-strip img:nth-child(n + 2) {
        display: none;
    }

    .brand-mark {
        font-size: clamp(3rem, 14vw, 4.2rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn:hover { transform: none; }
}
