:root {
    --sand: #f6e7b7;
    --cream: #fff7df;
    --sun: #ffb347;
    --coral: #f46e57;
    --hibiscus: #e64575;
    --lagoon: #0b7285;
    --deep-lagoon: #084c61;
    --palm: #0e5a48;
    --ink: #16313a;
    --white: #fffdf6;
    --shadow: 0 24px 60px rgba(8, 76, 97, 0.16);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --content-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: Georgia, "Trebuchet MS", serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(255, 179, 71, 0.45), transparent 26%),
        radial-gradient(circle at top right, rgba(230, 69, 117, 0.28), transparent 22%),
        linear-gradient(180deg, #ffefc4 0%, #ffe2b5 24%, #f7cf95 52%, #f5bb7f 100%);
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    width: 340px;
    height: 340px;
    pointer-events: none;
    opacity: 0.18;
    z-index: 0;
    filter: blur(2px);
}

body::before {
    top: -90px;
    left: -70px;
    background:
        radial-gradient(circle at 20% 20%, var(--hibiscus) 0 12%, transparent 12%),
        radial-gradient(circle at 45% 35%, var(--coral) 0 14%, transparent 14%),
        radial-gradient(circle at 60% 18%, var(--sun) 0 10%, transparent 10%),
        radial-gradient(circle at 54% 58%, var(--palm) 0 18%, transparent 18%),
        radial-gradient(circle at 20% 72%, var(--lagoon) 0 15%, transparent 15%);
    border-radius: 42% 58% 61% 39% / 40% 31% 69% 60%;
}

body::after {
    right: -110px;
    bottom: 80px;
    background:
        linear-gradient(140deg, rgba(11, 114, 133, 0.7), rgba(8, 76, 97, 0.12)),
        radial-gradient(circle at 40% 50%, rgba(255, 179, 71, 0.7), transparent 35%);
    border-radius: 59% 41% 26% 74% / 40% 31% 69% 60%;
}

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

.page-shell {
    position: relative;
    z-index: 1;
}

.background-scene {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.scene-svg {
    width: 100%;
    height: 100%;
    opacity: 0.94;
}

.river-ribbon {
    fill: none;
    stroke: url(#riverFill);
    stroke-width: 248;
    stroke-linecap: round;
    filter: drop-shadow(0 30px 42px rgba(11, 114, 133, 0.14));
}

.river-shine {
    fill: none;
    stroke: url(#riverEdge);
    stroke-width: 72;
    stroke-linecap: round;
    opacity: 0.6;
    mix-blend-mode: screen;
}

#river-track {
    fill: none;
    stroke: transparent;
    stroke-width: 4;
}

.foam-cluster {
    fill: url(#foamGlow);
    filter: url(#softBlur);
    opacity: 0.5;
}

.foam-top {
    animation: drift 18s ease-in-out infinite alternate;
}

.foam-bottom {
    animation: drift 24s ease-in-out infinite alternate-reverse;
}

.tropical-shapes path {
    fill: rgba(14, 90, 72, 0.1);
    transform-origin: center;
}

.surfer {
    transform-box: fill-box;
    will-change: transform;
}

.surfer-shadow {
    fill: rgba(8, 76, 97, 0.18);
    filter: blur(2px);
}

.surfer-figure .board-shape {
    fill: #ffe7a8;
    stroke: rgba(244, 110, 87, 0.9);
    stroke-width: 3;
}

.surfer-figure .board-stripe {
    fill: none;
    stroke: rgba(244, 110, 87, 0.72);
    stroke-width: 3;
    stroke-linecap: round;
}

.surfer-figure .head {
    fill: #f4c3a2;
    stroke: rgba(22, 49, 58, 0.22);
    stroke-width: 1.5;
}

.surfer-figure .body,
.surfer-figure .arm,
.surfer-figure .leg,
.surfer-figure .paddle-shaft {
    fill: none;
    stroke: #16313a;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.surfer-figure .body {
    stroke-width: 4.5;
}

.surfer-figure .paddle-shaft {
    stroke-width: 5;
}

.surfer-figure .paddle-blade {
    fill: #ffd37f;
    stroke: #16313a;
    stroke-width: 3;
}

.section {
    width: min(calc(100% - 32px), var(--content-width));
    margin: 0 auto;
}

.hero {
    padding: 24px 0 36px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 22px;
    background: rgba(255, 253, 246, 0.7);
    border: 1px solid rgba(14, 90, 72, 0.1);
    border-radius: 999px;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(22, 49, 58, 0.08);
}

.brand {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.topbar-controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-links {
    display: flex;
    gap: 18px;
    font-size: 0.98rem;
}

.topbar-links a {
    opacity: 0.82;
}

.topbar-toggle {
    min-width: 255px;
    padding-inline: 18px;
    font-size: 0.88rem;
    white-space: nowrap;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.9fr);
    gap: 24px;
    margin-top: 28px;
}

.hero-copy,
.hero-panel,
.info-card,
.experience-board,
.side-card,
.lookbook-card,
.detail-tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: 42px 42px 46px;
    min-height: 470px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(160deg, rgba(255, 247, 223, 0.96), rgba(255, 235, 196, 0.88)),
        linear-gradient(45deg, transparent 0 82%, rgba(14, 90, 72, 0.08) 82% 100%);
}

.hero-copy > * {
    position: relative;
    z-index: 1;
}

.hero-copy::before {
    content: "";
    position: absolute;
    inset: auto -34px -112px auto;
    width: 198px;
    height: 198px;
    background:
        radial-gradient(circle at 60% 50%, rgba(230, 69, 117, 0.75) 0 16%, transparent 16%),
        radial-gradient(circle at 42% 38%, rgba(255, 179, 71, 0.9) 0 12%, transparent 12%),
        linear-gradient(145deg, rgba(11, 114, 133, 0.8), rgba(8, 76, 97, 0.08));
    border-radius: 62% 38% 49% 51% / 45% 44% 56% 55%;
    transform: rotate(-16deg);
    opacity: 0.72;
    z-index: 0;
}

.eyebrow {
    margin: 0 0 14px;
    font-size: 0.84rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lagoon);
}

h1,
h2,
h3,
.panel-title {
    margin: 0;
    font-family: "Palatino Linotype", Georgia, serif;
}

h1 {
    max-width: 12ch;
    font-size: clamp(2.2rem, 4.2vw, 4.2rem);
    line-height: 0.98;
}

h2 {
    font-size: clamp(2.1rem, 4vw, 3.6rem);
    line-height: 0.95;
}

h3 {
    font-size: 1.55rem;
    line-height: 1.05;
}

.hero-text,
.section-heading p,
.info-card p,
.experience-row p,
.lookbook-card p,
.detail-tile p,
.panel-text {
    font-size: 1.05rem;
    line-height: 1.65;
}

.hero-text {
    max-width: 32rem;
    margin: 20px 0 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 0.96rem;
    font-weight: 700;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--coral), var(--hibiscus));
}

.button.secondary,
.button.ghost {
    border: 1px solid rgba(8, 76, 97, 0.14);
    background: rgba(255, 253, 246, 0.78);
}

.hero-panel {
    padding: 34px 28px;
    color: var(--white);
    background:
        linear-gradient(180deg, rgba(11, 114, 133, 0.92), rgba(8, 76, 97, 0.96)),
        linear-gradient(140deg, rgba(255, 179, 71, 0.3), transparent);
}

.hero-panel > * {
    position: relative;
    z-index: 1;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: auto -42px -62px auto;
    width: 156px;
    height: 156px;
    background:
        radial-gradient(circle at 35% 40%, rgba(255, 179, 71, 0.85) 0 18%, transparent 18%),
        radial-gradient(circle at 62% 62%, rgba(246, 231, 183, 0.7) 0 8%, transparent 8%);
    border-radius: 42% 58% 61% 39% / 40% 31% 69% 60%;
    opacity: 0.8;
    z-index: 0;
}

.date-stack {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(255, 253, 246, 0.13);
    font-size: 1.2rem;
    font-weight: 700;
}

.date-stack.alt {
    background: rgba(255, 179, 71, 0.14);
}

.panel-title {
    margin-top: 20px;
    font-size: 1.5rem;
}

.panel-text {
    margin: 10px 0 0;
    color: rgba(255, 253, 246, 0.86);
}

.mini-divider {
    width: 100%;
    height: 1px;
    margin: 26px 0;
    background: linear-gradient(90deg, rgba(255, 253, 246, 0.05), rgba(255, 253, 246, 0.55), rgba(255, 253, 246, 0.05));
}

.info-section,
.party-section,
.details-section {
    padding: 42px 0 28px;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 26px;
}

.section-heading p {
    margin: 10px 0 0;
}

.card-grid,
.details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.info-card {
    min-height: 270px;
    padding: 28px;
    background: rgba(255, 251, 236, 0.86);
    border: 1px solid rgba(22, 49, 58, 0.08);
}

.info-card.accent {
    background: linear-gradient(180deg, rgba(244, 110, 87, 0.95), rgba(230, 69, 117, 0.94));
    color: var(--white);
}

.info-card.accent .card-kicker {
    color: rgba(255, 253, 246, 0.82);
}

.card-kicker {
    margin: 0 0 14px;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lagoon);
}

.party-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
    gap: 20px;
}

.party-side {
    display: grid;
    gap: 20px;
    grid-template-rows: auto 1fr;
}

.experience-board {
    padding: 30px;
    background:
        linear-gradient(180deg, rgba(255, 253, 246, 0.92), rgba(255, 242, 213, 0.92)),
        linear-gradient(90deg, rgba(14, 90, 72, 0.08), transparent);
}

.experience-row + .experience-row {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(8, 76, 97, 0.12);
}

.experience-label {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(11, 114, 133, 0.1);
    color: var(--deep-lagoon);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.side-card {
    padding: 30px;
    color: var(--white);
    background:
        linear-gradient(180deg, rgba(14, 90, 72, 0.96), rgba(8, 76, 97, 0.95)),
        radial-gradient(circle at top, rgba(255, 179, 71, 0.25), transparent 50%);
}

.side-card .experience-label {
    background: rgba(255, 253, 246, 0.14);
    color: rgba(255, 253, 246, 0.92);
}

.location-card {
    min-height: 0;
}

.lookbook-card {
    min-height: 0;
}

.side-card::before {
    content: "";
    position: absolute;
    inset: auto -28px -30px auto;
    width: 160px;
    height: 160px;
    background:
        radial-gradient(circle at 45% 45%, rgba(255, 179, 71, 0.86) 0 12%, transparent 12%),
        radial-gradient(circle at 58% 58%, rgba(246, 231, 183, 0.72) 0 7%, transparent 7%);
    border-radius: 49% 51% 35% 65% / 61% 48% 52% 39%;
    opacity: 0.82;
}

.compact-button {
    padding: 11px 18px;
    font-size: 0.88rem;
}

.details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cta-section {
    padding: 42px 0 72px;
}

.cta-panel {
    position: relative;
    overflow: hidden;
    padding: 36px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(14, 90, 72, 0.96), rgba(8, 76, 97, 0.94)),
        radial-gradient(circle at top right, rgba(255, 179, 71, 0.26), transparent 44%);
    box-shadow: var(--shadow);
}

.cta-panel::before {
    content: "";
    position: absolute;
    inset: auto -46px -54px auto;
    width: 220px;
    height: 220px;
    background:
        radial-gradient(circle at 35% 38%, rgba(255, 179, 71, 0.86) 0 12%, transparent 12%),
        radial-gradient(circle at 58% 54%, rgba(255, 253, 246, 0.68) 0 7%, transparent 7%);
    border-radius: 53% 47% 40% 60% / 46% 36% 64% 54%;
    opacity: 0.9;
}

.cta-panel .eyebrow,
.cta-panel p,
.cta-panel h2 {
    position: relative;
    z-index: 1;
}

.cta-panel .eyebrow {
    color: rgba(255, 253, 246, 0.78);
}

.cta-panel p {
    max-width: 44rem;
}

.cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.music-toggle {
    min-width: 156px;
}

.music-toggle[data-state="playing"] {
    color: var(--ink);
    border-color: rgba(8, 76, 97, 0.14);
    background: rgba(255, 253, 246, 0.92);
}

.music-toggle[data-state="paused"],
.music-toggle[data-state="blocked"] {
    color: var(--white);
    border-color: transparent;
    background: linear-gradient(135deg, var(--coral), var(--hibiscus));
}

.detail-tile {
    min-height: 210px;
    padding: 28px;
    background: rgba(255, 251, 236, 0.86);
    border: 1px solid rgba(22, 49, 58, 0.08);
}

.detail-tile.note {
    background:
        linear-gradient(180deg, rgba(255, 179, 71, 0.95), rgba(246, 110, 87, 0.9));
    color: var(--ink);
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .hero-grid,
    .party-layout,
    .card-grid,
    .details-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        min-height: auto;
    }
}

@media (max-width: 760px) {
    .hero {
        padding-top: 18px;
    }

    .section {
        width: min(calc(100% - 20px), var(--content-width));
    }

    .topbar {
        align-items: flex-start;
        flex-direction: column;
        border-radius: 28px;
    }

    .topbar-controls {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
    }

    .topbar-links {
        flex-wrap: wrap;
    }

    .topbar-toggle {
        width: 100%;
        min-width: 0;
    }

    .hero-copy,
    .hero-panel,
    .info-card,
    .experience-board,
    .side-card,
    .lookbook-card,
    .detail-tile,
    .cta-panel {
        padding: 24px;
        border-radius: 26px;
    }

    h1 {
        max-width: 11ch;
        font-size: clamp(2.6rem, 16vw, 4.2rem);
    }

    .scene-svg {
        transform: scale(1.1);
        transform-origin: center;
    }

    .river-ribbon {
        stroke-width: 208;
    }

    .river-shine {
        stroke-width: 56;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .foam-top,
    .foam-bottom {
        animation: none;
    }
}

@keyframes drift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(22px, -18px, 0) scale(1.06);
    }
}
