:root {
    --bg: #fdfcfa;
    --bg-2: #f5f0eb;
    --ink: #5c4b3a;
    --ink-2: #8b7355;
    --gold-1: #e8c4a0;
    --gold-2: #d4a574;
    --gold-3: #c49563;
    --wheat: #f5deb3;
    --white: #fff;
}

/* Reset & Base */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Andika', sans-serif;
    line-height: 1.6;
}

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

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

/* Utilities */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
    text-align: center;
}

.btn-primary {
    background: var(--gold-2);
    color: #fff;
}

.btn-primary:hover {
    background: var(--gold-3);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.btn-outline {
    background: transparent;
    color: var(--gold-2);
    border-color: var(--gold-2);
}

.btn-outline:hover {
    background: var(--gold-2);
    color: #fff;
    transform: translateY(-1px);
}

.tag {
    display: inline-block;
    background: color-mix(in oklab, var(--gold-1) 30%, transparent);
    color: var(--ink);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: none;
}

/* NAV */
.nav {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 1000;
    transition: backdrop-filter 0.3s ease, background-color 0.3s ease,
        box-shadow 0.3s ease, transform 0.6s ease;
    background: transparent;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(140%) blur(8px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-family: 'Coiny', system-ui;
    font-weight: 400;
    font-size: 1.6rem;
    color: var(--ink);
    letter-spacing: 0;
}

.font-serif {
    font-family: 'Coiny', system-ui;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.menu a,
.menu button {
    background: none;
    border: 0;
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0.25rem;
    transition: color 0.2s ease;
}

.menu a:hover,
.menu button:hover {
    color: var(--gold-2);
}

.social {
    display: flex;
    gap: 0.75rem;
}

.icon {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.icon svg {
    width: 100%;
    height: 100%;
}

.burger {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
}

.burger .icon {
    width: 24px;
    height: 24px;
}

@media (max-width: 900px) {
    .menu {
        display: none;
    }

    .menu-icon {
        display: inline-block;
        width: 48px;
        height: 48px;
        cursor: pointer;
        position: relative;
        z-index: 1002;
        /* Above drawer */
        display: grid;
        place-items: center;
        padding: 8px;
    }

    .menu-icon__line {
        height: 4px;
        border-radius: 2px;
        background-color: var(--ink);
        width: 100%;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform-origin: center;
    }

    .menu-icon__line:nth-of-type(2) {
        margin-top: 6px;
        margin-bottom: 6px;
    }

    .menu-icon__input {
        display: none;
    }

    /* Animation Logic */
    .menu-icon__input~.menu-icon__line:first-of-type {
        animation: firstLineRev 700ms ease-in-out;
    }

    .menu-icon__input~.menu-icon__line:last-of-type {
        animation: lastLineRev 700ms ease-in-out;
    }

    .menu-icon__input:checked~.menu-icon__line:first-of-type {
        animation: firstLine 700ms ease-in-out;
        animation-fill-mode: forwards;
    }

    .menu-icon__input:checked~.menu-icon__line:last-of-type {
        animation: lastLine 700ms ease-in-out;
        animation-fill-mode: forwards;
    }

    .menu-icon__input:checked~.menu-icon__line:nth-of-type(2) {
        transform: scale(0);
        opacity: 0;
        transition: 700ms ease-out;
    }
}

@media (min-width: 901px) {
    .menu-icon {
        display: none;
    }
}

/* Animations */
@keyframes firstLineRev {
    0% {
        transform: translateY(10px) rotate(45deg);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes firstLine {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(10px) rotate(45deg);
    }
}

@keyframes lastLine {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(-10px) rotate(135deg);
    }
}

@keyframes lastLineRev {
    0% {
        transform: translateY(-10px) rotate(135deg);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}


/* Mobile Drawer (Off-canvas) */
.drawer {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 65vw;
    /* Half screen or slightly more for mobile */
    max-width: 400px;
    background: #fff;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.drawer.open {
    transform: translateX(0);
}

.drawer-inner {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: right;
}

.drawer a {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Coiny', system-ui;
    color: var(--ink);
    letter-spacing: 0;
}

.drawer .social {
    justify-content: flex-end;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gold-1);
}

/* Backdrop */
.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.menu-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Sections */
section {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    section {
        padding: 7rem 0;
    }
}

.h1,
h1 {
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 1.05;
    margin: 0 0 0.75rem;
    font-family: 'Coiny', system-ui;
    letter-spacing: 0;
}

.text-gold-2 {
    color: var(--gold-2);
}

.text-gold-1 {
    color: var(--gold-1);
}

.text-gold-3 {
    color: var(--gold-3);
}

.text-white {
    color: #fff;
}

.text-white-90 {
    color: rgba(255, 255, 255, 0.9);
}

.mw-42 {
    max-width: 42ch;
}

.mw-52 {
    max-width: 52ch;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

h2 {
    font-size: clamp(1.8rem, 3.8vw, 3rem);
    line-height: 1.1;
    margin: 0.25rem 0 1rem;
    font-family: 'Coiny', system-ui;
    letter-spacing: 0;
}

h3 {
    font-size: 1.5rem;
    margin: 0.25rem 0 0.5rem;
}

/* HERO */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero .container {
    width: 100%;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.decor {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(24px);
    opacity: 0.2;
    border-radius: 999px;
}

.blob.a {
    width: 16rem;
    height: 16rem;
    background: var(--gold-1);
    top: 6rem;
    left: 2rem;
    animation: floatA 8s ease-in-out infinite;
}

.blob.b {
    width: 22rem;
    height: 22rem;
    background: var(--gold-2);
    right: 2rem;
    bottom: 6rem;
    animation: floatB 10s ease-in-out infinite;
}

.blob.c {
    width: 32rem;
    height: 32rem;
    background: var(--wheat);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.12;
    animation: pulse 12s ease-in-out infinite;
}

@keyframes floatA {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

@keyframes floatB {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(30px) rotate(-5deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15) rotate(10deg);
    }
}

/* Floating icons */
.float-icon {
    position: absolute;
    opacity: 0.45;
    animation: floatY 6s ease-in-out infinite;
}

.float-icon:nth-child(1) {
    left: 15%;
    top: 22%;
}

.float-icon:nth-child(2) {
    left: 30%;
    top: 47%;
    animation-duration: 7s;
}

.float-icon:nth-child(3) {
    left: 45%;
    top: 72%;
    animation-duration: 8s;
}

.float-icon:nth-child(4) {
    left: 60%;
    top: 30%;
    animation-duration: 6.5s;
}

.float-icon:nth-child(5) {
    left: 75%;
    top: 55%;
    animation-duration: 7.5s;
}

.float-icon:nth-child(6) {
    left: 20%;
    top: 70%;
    animation-duration: 8.5s;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

/* Hero grid */
.hero-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 900px) {
    .hero-grid {
        /* grid-template-columns: 1.1fr 0.9fr; */
        grid-template-columns: 1fr;
    }
}

.stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stats .item {
    min-width: 120px;
}

.stats .num {
    font-size: 2rem;
    color: var(--gold-2);
    font-weight: 800;
}

.divider {
    width: 1px;
    background: var(--gold-1);
    margin: 0 1rem;
}

/* Orbit visual */
.orbit {
    position: relative;
    aspect-ratio: 1/1;
    max-width: 520px;
    margin-inline: auto;
}

.orbit .ring {
    position: absolute;
    inset: 0;
    border: 4px dashed var(--gold-1);
    border-radius: 50%;
    animation: spin 30s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.orbit .center {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    padding: 3rem;
    border-radius: 999px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.glass .heart {
    width: 80px;
    height: 80px;
    margin: 0 auto 0.75rem;
    color: var(--gold-2);
}

.glass p {
    margin: 0;
    font-weight: 700;
    color: var(--ink);
    font-family: 'Coiny', system-ui;
    letter-spacing: 0.5px;
}

.sat {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: spin 8s linear infinite;
    /* each child gets offset via custom properties */
}

.sat>.badge {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.sat>.badge:nth-child(1) {
    --r: 200px;
    --angle: 0deg;
    background: var(--gold-1);
}

.sat>.badge:nth-child(2) {
    --r: 200px;
    --angle: 90deg;
    background: var(--gold-2);
    animation-delay: 0.2s;
}

.sat>.badge:nth-child(3) {
    --r: 200px;
    --angle: 180deg;
    background: var(--gold-3);
    animation-delay: 0.4s;
}

.sat>.badge:nth-child(4) {
    --r: 200px;
    --angle: 270deg;
    background: var(--wheat);
    color: var(--ink);
}

.sat>.badge {
    transform: translate(calc(cos(var(--angle)) * var(--r)),
            calc(sin(var(--angle)) * var(--r)));
}

/* Cards */
.grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 700px) {
    .grid.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .grid.cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: #fff;
    border: 2px solid var(--gold-1);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: border-color 0.25s ease, box-shadow 0.25s ease,
        transform 0.25s ease;
    cursor: pointer;
}

.card:hover {
    border-color: var(--gold-2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.card .badge {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    color: #fff;
    transition: transform 0.25s ease;
}

.card h3 {
    font-family: 'Coiny', system-ui;
    letter-spacing: 0.5px;
}

.card:hover .badge {
    transform: scale(1.08);
}

/* Feature icons row */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.feature {
    max-width: 280px;
    text-align: center;
}

.feature .circle {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: var(--gold-1);
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
}

.muted {
    color: var(--ink-2);
}

/* Callout block */
.callout {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 20px;
    padding: 3rem;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    color: #fff;
}

.callout .bubble {
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.callout .b1 {
    width: 260px;
    height: 260px;
    right: -80px;
    top: -80px;
}

.callout .b2 {
    width: 200px;
    height: 200px;
    left: -60px;
    bottom: -60px;
}

.callout-content {
    display: grid;
    place-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.callout-icon {
    width: 64px;
    height: 64px;
}

.btn-white-outline {
    background: #fff;
    color: var(--gold-2);
    border-color: #fff;
}

/* Social big cards */
.social-cards {
    display: grid;
    gap: 1rem;
}

@media (min-width: 860px) {
    .social-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.social-icon-large {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.5rem;
}

.social-icon-footer {
    color: #fff;
}

.social-card {
    padding: 2rem;
    border: none;
    border-radius: 18px;
    color: #fff;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    text-align: center;
}

.social-card:hover {
    transform: translateY(-3px) rotate(0.5deg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}

.ig {
    background: linear-gradient(135deg, #e1306c, #c13584);
}

.et {
    background: linear-gradient(135deg, #f1641e, #f56400);
}

/* Scroll indicator */
.scroll-ind {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: 28px;
    height: 48px;
    border: 2px solid var(--gold-2);
    border-radius: 20px;
    display: grid;
    place-items: start;
    overflow: hidden;
}

.scroll-ind::after {
    content: "";
    width: 4px;
    height: 10px;
    background: var(--gold-2);
    border-radius: 999px;
    margin-left: 11px;
    margin-top: 6px;
    animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    60% {
        transform: translateY(18px);
        opacity: 0.2;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Footer */
footer {
    background: var(--ink);
    color: #fff;
    padding: 3rem 0;
}

footer .brand {
    color: #fff;
}

footer .muted {
    color: rgba(255, 255, 255, 0.75);
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Helpers */
.center {
    text-align: center;
}

.lead {
    font-size: 1.125rem;
}

.spacer {
    height: 0.75rem;
}

/* Image Slider */
.slider-section {
    padding: 3rem 0;
    /* display: flex; center handled by container margin auto */
}

.image-slider {
    /* Local vars mapped to global theme */
    --active-color: var(--gold-2);
    --icon-default: var(--bg-2);
    /* was ink-2, but on dark bg maybe lighter? actually slider bg is #0006 dark, so light icon */
    --icon-accent: var(--gold-1);
    --navigation-color: rgba(92, 75, 58, 0.4);
    /* ink with opacity */

    display: flex;
    flex-flow: column;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 300px;
    overflow: hidden;
    border-radius: 16px;
    /* slightly more rounded to match cards */
    container-type: inline-size;
    contain: content;
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
}

.slider__content {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    position: relative;
    /* for absolute image */
}

.slider-control--button {
    border: 0;
    background: 0;
    outline: 0;
    cursor: pointer;
    place-content: center;
    padding-inline: 2rem;
    z-index: 2;
    display: grid;
    transition: background 0.3s ease;
}

.icon {
    height: 2rem;
    width: 2rem;
    fill: var(--bg-2);
    /* default white-ish */
    border-radius: 50%;
    transition: fill 0.3s ease;
}

.slider-control--button:hover {
    background-image: linear-gradient(to var(--position),
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.2) 100%);
}

.slider-control--button:hover .icon {
    fill: var(--white);
}

.prev-button {
    --position: left;
}

.next-button {
    --position: right;
}

.image-display {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.image-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: fadeImg 0.5s ease;
}

@keyframes fadeImg {
    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slider-navigation {
    z-index: 10;
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.75rem;
    padding: 1rem;
    place-content: center;
    background-color: var(--navigation-color);
    backdrop-filter: blur(10px);
}

.nav-button {
    display: grid;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    aspect-ratio: 16 / 9;
    transition: 0.25s ease;
    cursor: pointer;
    padding: 0;
    background: none;
}

.thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-button[aria-selected="true"] {
    transform: scale(1.05);
    border-color: var(--gold-2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-button[aria-selected="false"] {
    opacity: 0.6;
    filter: grayscale(0.4);
}

.nav-button[aria-selected="false"]:hover {
    opacity: 1;
    filter: grayscale(0);
}

@container (max-width: 660px) {
    .slider-navigation {
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .nav-button {
        aspect-ratio: 1;
        border-radius: 50%;
    }

    .nav-button .thumbnail {
        display: none;
    }

    .nav-button {
        background: rgba(255, 255, 255, 0.3);
    }

    .nav-button[aria-selected="true"] {
        background: var(--gold-2);
        transform: scale(1.2);
    }
}