@font-face {
    font-family: VeniceSerif;
    src: url("/assets/fonts/venice-serif-v1.woff2") format("woff2");
    font-display: optional;
    font-style: normal;
    font-weight: 300 700;
}

:root {
    color-scheme: light;
    --ivory: #f7eedc;
    --pearl: #fff8eb;
    --warm: #fff6e8;
    --gold: #b38a3b;
    --gold-dark: #74551e;
    --green: #0b3d3d;
    --green-dark: #073030;
    --graphite: #223031;
    --muted: #6f665e;
    --line: #e1d1b8;
    --mist: #d7e4e0;
    --shadow: 0 22px 60px rgba(34, 48, 49, 0.14);
    --serif: VeniceSerif, Georgia, "Times New Roman", serif;
    --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background: var(--ivory);
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--graphite);
    background:
        radial-gradient(circle at 4% 4%, rgba(179, 138, 59, 0.2), transparent 28rem),
        linear-gradient(135deg, var(--ivory), #f1dfbf 62%, var(--mist));
    font-family: var(--sans);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 100;
    padding: 0.7rem 1rem;
    border-radius: 0.65rem;
    color: var(--pearl);
    background-color: var(--green-dark);
    transform: translateY(-160%);
    transition: transform 150ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.shell {
    width: min(1160px, calc(100% - 3rem));
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid rgba(179, 138, 59, 0.2);
    background: rgba(255, 248, 235, 0.72);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    min-height: 82px;
    align-items: center;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 15px;
    color: var(--gold);
    background: var(--green);
    box-shadow: 0 10px 24px rgba(11, 61, 61, 0.18);
    font: 700 1.9rem/1 var(--serif);
}

.brand-copy {
    display: grid;
    line-height: 1.05;
}

.brand-copy strong,
.site-footer strong {
    color: var(--green-dark);
    font: 700 1.35rem/1 var(--serif);
}

.brand-copy small {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.7rem;
}

.header-nav {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 1.6rem;
}

.header-nav a {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 150ms ease;
}

.header-nav a:hover {
    color: var(--green);
}

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

.language-switch {
    display: inline-flex;
    padding: 0.25rem;
    border: 1px solid rgba(11, 61, 61, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.62);
    text-decoration: none;
}

.language-switch span {
    display: block;
    border-radius: 8px;
    padding: 0.35rem 0.55rem;
    color: var(--pearl);
    background: var(--green);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
}

.language-switch:hover span {
    background: var(--green-dark);
}

.header-cta,
.primary-button,
.secondary-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 0.8rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 150ms ease,
        box-shadow 150ms ease,
        background 150ms ease;
}

.header-cta,
.primary-button {
    color: var(--pearl);
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    box-shadow: 0 12px 30px rgba(11, 61, 61, 0.2);
}

.header-cta:hover,
.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
}

.hero {
    min-height: calc(100svh - 82px);
    display: grid;
    align-items: center;
    padding: clamp(2.5rem, 5vw, 5rem) 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    height: 100%;
    grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5.5rem);
}

.eyebrow {
    margin: 0 0 0.65rem;
    color: var(--gold-dark);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--green-dark);
    font-family: var(--serif);
}

h1 {
    max-width: 760px;
    margin-bottom: 1.15rem;
    font-size: clamp(3rem, 5vw, 4.375rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.9;
}

.hero-lead {
    max-width: 620px;
    margin-bottom: 1.5rem;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-actions span {
    max-width: 150px;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.35;
}

.primary-button {
    min-width: 200px;
}

.store-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.1rem;
}

.store-button {
    display: inline-flex;
    min-width: 174px;
    min-height: 52px;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    padding: 0.45rem 0.8rem;
    color: #fff;
    background: #101414;
    box-shadow: 0 8px 20px rgba(34, 48, 49, 0.16);
    text-decoration: none;
    transition:
        transform 150ms ease,
        background 150ms ease;
}

.store-button:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

.store-button svg {
    width: 27px;
    height: 27px;
    flex: 0 0 auto;
    fill: currentColor;
}

.store-button span {
    display: grid;
    line-height: 1;
}

.store-button small {
    margin-bottom: 0.28rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.58rem;
}

.store-button strong {
    font-size: 1rem;
}

.hero-art {
    position: relative;
    min-height: 455px;
    border: 1px solid rgba(179, 138, 59, 0.36);
    border-radius: 34px;
    background-color: var(--green-dark);
    background-image: url("/landing/assets/venice_hero_main.jpg");
    background-position: center;
    background-size: cover;
    box-shadow: var(--shadow);
    isolation: isolate;
}

.hero-art::before {
    position: absolute;
    inset: 1rem;
    z-index: 1;
    border: 1px solid rgba(255, 248, 235, 0.28);
    border-radius: 26px;
    content: "";
    pointer-events: none;
}

.hero-art::after {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(7, 48, 48, 1), rgba(7, 48, 48, 0.54) 80%);
    content: "";
}

.hero-card {
    position: absolute;
    left: clamp(1.8rem, 5vw, 4rem);
    bottom: clamp(1.8rem, 5vw, 4rem);
    z-index: 2;
    display: grid;
    color: var(--pearl);
}

.hero-card span,
.hero-card small {
    color: rgba(255, 248, 235, 0.76);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-card strong {
    margin: 0.1rem 0 0.2rem;
    color: var(--gold);
    font: 500 clamp(4rem, 8vw, 7rem) / 0.95 var(--serif);
}

.program {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    color: var(--pearl);
    background: var(--green-dark);
}

.program-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: end;
    gap: clamp(2rem, 7vw, 7rem);
}

.program h2,
.terms-card h2 {
    margin-bottom: 0;
    font-size: clamp(2.1rem, 4vw, 3.7rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1;
}

.program h2 {
    color: var(--pearl);
}

.program .eyebrow {
    color: var(--gold);
}

.program-grid > p {
    max-width: 680px;
    margin-bottom: 0.2rem;
    color: rgba(255, 248, 235, 0.74);
    font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.levels {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: rgba(255, 248, 235, 0.64);
}

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

.section-heading h2 {
    margin-bottom: 0;
    font-size: clamp(2.5rem, 5vw, 4.7rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 0.98;
}

.level-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.level-card {
    position: relative;
    min-height: 330px;
    padding: clamp(1.4rem, 3vw, 2.2rem);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(34, 48, 49, 0.08);
}

.level-card--one {
    border-color: var(--line);
    background: linear-gradient(145deg, rgba(255, 248, 235, 0.96), #f1e1c5);
}

.level-card--two {
    border-color: rgba(116, 85, 30, 0.42);
    background: linear-gradient(145deg, #e5c680, #ba8b3a);
    box-shadow: 0 18px 42px rgba(116, 85, 30, 0.15);
}

.level-card--three {
    border-color: rgba(179, 138, 59, 0.58);
    background: linear-gradient(155deg, var(--green), var(--green-dark));
    box-shadow: 0 20px 46px rgba(7, 48, 48, 0.2);
}

.level-number {
    position: absolute;
    top: 1.1rem;
    right: 1.25rem;
    color: var(--gold);
    font: 500 1.3rem/1 var(--serif);
}

.level-card p {
    margin: 0 0 2.8rem;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.level-card > strong {
    display: block;
    margin-bottom: 1.4rem;
    color: var(--green);
    font: 500 clamp(4.2rem, 7vw, 6.6rem) / 0.75 var(--serif);
}

.level-card h3 {
    margin-bottom: 0.35rem;
    font-size: 1.45rem;
    font-weight: 600;
}

.level-card small {
    color: var(--muted);
}

.level-card--two p,
.level-card--two small {
    color: #40331e;
}

.level-card--two .level-number {
    color: var(--green-dark);
}

.level-card--three p,
.level-card--three small {
    color: rgba(255, 248, 235, 0.68);
}

.level-card--three > strong {
    color: #d8b76d;
}

.level-card--three h3 {
    color: var(--pearl);
}

.terms {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.terms-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    border: 1px solid rgba(179, 138, 59, 0.34);
    border-radius: 28px;
    padding: clamp(1.5rem, 4vw, 3rem);
    background: rgba(255, 248, 235, 0.78);
    box-shadow: var(--shadow);
}

.terms-icon {
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    border-radius: 24px;
    color: var(--gold);
    background: var(--green);
    font: 700 3rem/1 var(--serif);
}

.terms-card h2 {
    color: var(--green-dark);
}

.terms-card p:last-child {
    max-width: 720px;
    margin: 1rem 0 0;
    color: var(--muted);
}

.secondary-button {
    border-color: var(--green);
    color: var(--green);
    background: transparent;
    white-space: nowrap;
}

.secondary-button:hover {
    color: var(--pearl);
    background: var(--green);
}

.site-footer {
    border-top: 1px solid rgba(179, 138, 59, 0.24);
    background: rgba(255, 248, 235, 0.7);
}

.footer-inner {
    display: flex;
    min-height: 100px;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-inner div {
    display: grid;
    gap: 0.3rem;
}

.footer-inner span,
.footer-inner a {
    color: var(--muted);
    font-size: 0.72rem;
}

.footer-inner a {
    text-underline-offset: 0.22rem;
}

@media (max-width: 960px) {
    .hero {
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero-art {
        min-height: 340px;
    }

    .program-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .terms-card {
        grid-template-columns: auto 1fr;
    }

    .terms-card .secondary-button {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 720px) {
    .shell {
        width: min(100% - 2rem, 1160px);
    }

    .header-inner {
        min-height: 68px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        border-radius: 13px;
        font-size: 1.65rem;
    }

    .brand-copy strong {
        font-size: 1.15rem;
    }

    .brand-copy small,
    .header-nav,
    .header-cta {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .hero {
        min-height: calc(100svh - 68px);
        align-items: start;
        padding: 2rem 0 2.5rem;
    }

    .hero-grid {
        gap: 1.4rem;
    }

    h1 {
        font-size: clamp(2.35rem, 10.8vw, 3.25rem);
        line-height: 0.95;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .hero-actions span {
        max-width: none;
        padding-inline: 0.15rem;
    }

    .primary-button {
        width: 100%;
    }

    .store-group {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        margin-top: 1rem;
    }

    .store-button {
        width: max-content;
        min-width: 0;
        max-width: 100%;
        flex: 0 0 auto;
        padding-inline: 0.65rem;
    }

    .store-button strong {
        font-size: 0.86rem;
    }

    .hero-art {
        min-height: clamp(170px, 46vw, 220px);
        border-radius: 24px;
    }

    .hero-art::before {
        inset: 0.7rem;
        border-radius: 18px;
    }

    .hero-card {
        left: 1.35rem;
        bottom: 1.25rem;
    }

    .hero-card strong {
        font-size: 4rem;
    }

    .level-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .level-card {
        display: grid;
        min-height: 0;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-rows: repeat(3, auto);
        align-items: center;
        gap: 0.16rem 0.85rem;
        border-radius: 18px;
        padding: 1rem 1.1rem;
    }

    .level-card .level-number {
        position: static;
        grid-column: 3;
        grid-row: 1;
        align-self: start;
        justify-self: end;
        font-size: 1rem;
    }

    .level-card p {
        grid-column: 2 / 4;
        grid-row: 2;
        margin: 0;
        font-size: 0.68rem;
        letter-spacing: 0.055em;
    }

    .level-card > strong {
        grid-column: 1;
        grid-row: 1 / 4;
        margin: 0;
        font-size: clamp(3rem, 15vw, 4rem);
        line-height: 0.82;
    }

    .level-card h3 {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        font-size: 1.08rem;
        line-height: 1.15;
    }

    .level-card small {
        grid-column: 2 / 4;
        grid-row: 3;
        font-size: 0.72rem;
        line-height: 1.3;
    }

    .terms-card {
        grid-template-columns: 1fr;
    }

    .terms-icon {
        width: 62px;
        height: 62px;
        border-radius: 19px;
        font-size: 2.4rem;
    }

    .terms-card .secondary-button {
        grid-column: auto;
        width: 100%;
    }
}

@media (max-width: 430px) {
    .hero-lead {
        margin-bottom: 1.1rem;
        font-size: 0.94rem;
    }

    .store-button svg {
        width: 23px;
        height: 23px;
    }

    .store-button small {
        font-size: 0.52rem;
    }

    .store-button strong {
        font-size: 0.78rem;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
