* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --splash-scale: 0.5;
    --font-serif: "Cormorant Garamond", Georgia, serif;
    --font-sans: "Lato", "Segoe UI", sans-serif;
    --radius: 18px;
    --section-padding-x: 20px;
    --section-padding: 72px var(--section-padding-x) 56px;
    --section-inner-max-width: 1160px;
    --z-tip: 150;
    --z-nav: 200;
    --z-whatsapp: 400;
    --z-toast: 500;
    --z-cursor: 10000;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    overflow-x: clip;
    overscroll-behavior-x: none;
}

html,
body {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    background-color: var(--page-bg);
    color: var(--text-primary);
    font-family: var(--font-sans);
    color-scheme: light dark;
}

body {
    overflow-x: clip;
}

:focus-visible {
    outline: none;
    border-radius: var(--radius, 18px);
    box-shadow: inset 0 0 0 3px var(--focus-ring-strong);
}

@media (hover: none) {
    a:focus,
    button:focus,
    summary:focus,
    select:focus,
    [tabindex]:not([tabindex="-1"]):not(.format-cards__stack):focus {
        outline: none;
        border-radius: var(--radius, 18px);
        box-shadow: inset 0 0 0 3px var(--focus-ring-strong);
    }
}

.site-nav :focus-visible,
.site-nav a:focus,
.site-nav button:focus {
    outline: none;
    box-shadow: inset 0 0 0 3px var(--text-on-brand);
}

.format-cards__stack:focus,
.format-cards__stack:focus-visible {
    outline: none;
    box-shadow: none;
}

@supports not (overflow-x: clip) {
    html,
    body,
    .site-page {
        overflow-x: hidden;
    }
}

@media (max-width: 1140px) {
    html {
        scroll-padding-top: calc(80px + env(safe-area-inset-top, 0px));
    }

    html.is-tabletop {
        scroll-padding-top: 12px;
        scroll-padding-bottom: var(--tabletop-height, 50vh);
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding-x: 20px;
        --section-padding: 56px var(--section-padding-x) 40px;
    }

    .site-divider-block,
    .closing-block {
        margin-bottom: 36px;
        padding-bottom: 28px;
    }
}

.site-page {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.site-module {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.site-module:not([data-module="hero"]) > .site-module__inner {
    width: 100%;
    max-width: var(--section-inner-max-width);
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
}

.site-module:not([data-module="hero"]) {
    border-top: 1px solid var(--section-line);
}

.site-divider-block,
.closing-block {
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--section-line);
}

.site-module__inner > .site-divider-block:last-child,
.site-module__inner > .closing-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--page-bg);
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.hero-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-mesh canvas {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: fadeIn 1.4s ease 0.15s forwards;
}

.hero-splashes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    --full-w: calc(max(100%, calc(100dvh * 1214 / 1295)) * var(--splash-scale));
    --full-h: calc(max(100dvh, calc(100% * 1295 / 1214)) * var(--splash-scale));
}

.hero-splashes::before,
.hero-splashes::after {
    content: "";
    position: absolute;
    width: calc(var(--full-w) * 0.52);
    height: calc(var(--full-h) * 0.46);
    background-image: url("../img/splashes-corners.png");
    background-repeat: no-repeat;
    background-size: var(--full-w) var(--full-h);
    opacity: var(--hero-splash-opacity);
}

.hero-splashes::before {
    top: 0;
    left: 0;
    background-position: top left;
}

.hero-splashes::after {
    right: 0;
    bottom: 0;
    background-position: bottom right;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 4vh 4vw;
}

.hero-logo {
    display: block;
    flex-shrink: 0;
    width: min(58.5vw, 910px, calc(53.3dvh * 1672 / 941));
    height: auto;
    aspect-ratio: 1672 / 941;
    object-fit: contain;
    object-position: center;
    animation: fadeIn 0.9s ease-in-out;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

@media (max-width: 767px) {
    .hero-logo {
        width: min(59.8vw, calc(57.2dvh * 941 / 1672));
        aspect-ratio: 941 / 1672;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo,
    .hero-mesh canvas {
        animation: none;
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.site-cursor {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    z-index: var(--z-cursor);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.18s ease;
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    html.custom-cursor-on,
    html.custom-cursor-on * {
        cursor: none !important;
    }

    html.custom-cursor-on .site-cursor {
        display: block;
    }
}

.site-cursor.is-hidden {
    opacity: 0;
}

.site-cursor::before,
.site-cursor::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    transition: background-color 0.22s ease, opacity 0.22s ease;
}

.site-cursor::before {
    width: 120px;
    height: 120px;
    left: -52px;
    top: -52px;
    background: var(--logo-purple);
    opacity: 0.2;
    filter: blur(36px);
}

.site-cursor::after {
    width: 200px;
    height: 220px;
    left: -92px;
    top: -108px;
    background: var(--cursor-glow);
    opacity: 0.12;
    filter: blur(56px);
}

.site-cursor.is-on-brand::before {
    background: var(--cursor-on-brand);
    opacity: 0.28;
}

.site-cursor.is-on-brand::after {
    background: var(--surface-solid);
    opacity: 0.16;
}

.site-cursor__icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    opacity: 0;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    filter:
        drop-shadow(1px 0 0 var(--cursor-on-brand))
        drop-shadow(-1px 0 0 var(--cursor-on-brand))
        drop-shadow(0 1px 0 var(--cursor-on-brand))
        drop-shadow(0 -1px 0 var(--cursor-on-brand))
        drop-shadow(0 0 1px var(--shadow-plum));
}

.site-cursor__icon--point {
    margin-left: -1px;
    margin-top: -1px;
}

.site-cursor__icon--click {
    margin-left: -10px;
    margin-top: -1px;
}

.site-cursor__icon--type {
    margin-left: -12px;
    margin-top: -12px;
}

.site-cursor[data-state="point"] .site-cursor__icon--point,
.site-cursor[data-state="click"] .site-cursor__icon--click,
.site-cursor[data-state="type"] .site-cursor__icon--type {
    opacity: 1;
}

.site-footer {
    padding: 40px var(--section-padding-x) 48px;
    border-top: 1px solid var(--section-line);
    background-color: var(--page-bg);
    background-image: var(--surface-panel);
}

.site-footer__inner {
    width: 100%;
    max-width: var(--section-inner-max-width);
    margin: 0 auto;
    text-align: center;
}

.site-footer__credit {
    margin: 0 0 8px;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.5;
    color: var(--logo-purple);
}

.site-footer__copyright {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.5;
    color: var(--text-muted);
}

@media (max-width: 767px) {
    .site-footer {
        padding: 32px var(--section-padding-x) 40px;
    }

    .site-footer__credit {
        font-size: 1rem;
    }

    .site-footer__copyright {
        font-size: 0.82rem;
    }
}
