:root {
    --bg: #110b0d;
    --bg-soft: #191113;
    --panel: #211719;
    --panel-strong: #2a1b1d;
    --text: #fff8ef;
    --muted: #cdbfb0;
    --soft: #f1debf;
    --red: #ad1f32;
    --red-deep: #691322;
    --gold: #d8a34a;
    --line: rgba(255, 248, 239, 0.14);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    --radius: 8px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 16% 12%, rgba(173, 31, 50, 0.22), transparent 28rem),
        radial-gradient(circle at 82% 4%, rgba(216, 163, 74, 0.16), transparent 24rem),
        linear-gradient(180deg, #0b0708 0%, var(--bg) 42%, #130c0e 100%);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    letter-spacing: 0;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background-image:
        linear-gradient(30deg, rgba(255, 255, 255, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.05) 87.5%, rgba(255, 255, 255, 0.05)),
        linear-gradient(150deg, rgba(255, 255, 255, 0.04) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.04) 87.5%, rgba(255, 255, 255, 0.04));
    background-size: 76px 44px;
}

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

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

p {
    color: var(--muted);
    line-height: 1.75;
}

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(18px, 4vw, 56px);
    background: rgba(17, 11, 13, 0.48);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px);
    transition: background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
    background: rgba(17, 11, 13, 0.9);
    border-color: var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(216, 163, 74, 0.46);
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(173, 31, 50, 0.9), rgba(216, 163, 74, 0.22));
    color: var(--soft);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 24px;
    font-weight: 700;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--soft);
    font-size: 14px;
    font-weight: 700;
}

.site-nav a {
    opacity: 0.82;
    transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a:hover {
    color: var(--gold);
    opacity: 1;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 248, 239, 0.06);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: var(--text);
}

.hero {
    position: relative;
    display: grid;
    min-height: 100svh;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    align-items: center;
    gap: clamp(24px, 4vw, 58px);
    padding: 108px clamp(18px, 5vw, 72px) 52px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 5, 6, 0.94) 0%, rgba(14, 8, 10, 0.78) 43%, rgba(14, 8, 10, 0.3) 100%),
        radial-gradient(circle at 68% 34%, rgba(216, 163, 74, 0.28), transparent 18rem);
}

.hero-content,
.hero-portrait {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 720px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--text);
}

h1,
h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 700;
}

h1 {
    max-width: 760px;
    font-size: clamp(48px, 8vw, 96px);
    line-height: 0.92;
}

h2 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 0.98;
}

h3 {
    font-size: 22px;
    line-height: 1.25;
}

.hero-copy {
    max-width: 620px;
    margin: 22px 0 0;
    color: #eadfce;
    font-size: clamp(16px, 2vw, 19px);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.cta-row.center {
    justify-content: center;
}

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

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

.button.primary {
    background: linear-gradient(135deg, var(--red), #d54b42 48%, var(--gold));
    color: #fff8ef;
    box-shadow: 0 14px 44px rgba(173, 31, 50, 0.34);
}

.button.secondary {
    border: 1px solid rgba(241, 222, 191, 0.34);
    background: rgba(255, 248, 239, 0.06);
    color: var(--soft);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-stats span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 248, 239, 0.06);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.hero-portrait {
    justify-self: end;
    width: min(520px, 100%);
    margin: 0;
}

.hero-portrait img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 46% 36%;
    border: 1px solid rgba(216, 163, 74, 0.28);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.section {
    position: relative;
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(72px, 9vw, 120px) clamp(18px, 4vw, 36px);
}

.intro-band,
.split-section,
.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
}

.section-copy p {
    max-width: 720px;
    margin: 22px 0 0;
}

.feature-card,
.contact-panel,
.profile-card,
.highlight-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255, 248, 239, 0.09), rgba(255, 248, 239, 0.035));
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.22);
}

.feature-card {
    padding: 28px;
}

.card-suit {
    display: grid;
    width: 58px;
    height: 74px;
    place-items: center;
    margin-bottom: 24px;
    border: 1px solid rgba(216, 163, 74, 0.38);
    border-radius: 7px;
    background: rgba(255, 248, 239, 0.08);
    color: var(--gold);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 34px;
    font-weight: 700;
}

.journey-list {
    display: grid;
    gap: 12px;
}

.journey-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(17, 11, 13, 0.58);
}

.journey-item span {
    color: var(--gold);
    font-weight: 800;
}

.journey-item p {
    margin: 0;
    color: var(--soft);
    line-height: 1.5;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

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

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.profile-card {
    overflow: hidden;
}

.profile-card img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center 34%;
}

.profile-card div {
    padding: 24px;
}

.profile-card p {
    margin: 12px 0 0;
}

.profile-card a {
    display: inline-flex;
    margin-top: 20px;
    color: var(--gold);
    font-weight: 800;
}

.profile-label {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    gap: 14px;
}

.highlight-card {
    min-height: 230px;
    padding: 22px;
}

.highlight-card span,
.why-item span {
    display: block;
    width: 12px;
    height: 12px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 8px rgba(216, 163, 74, 0.12);
}

.highlight-card p {
    margin: 12px 0 0;
}

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

.gallery-item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center 34%;
    filter: saturate(0.94) contrast(1.04);
    transition: transform 300ms ease, filter 300ms ease;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.72));
}

.gallery-item:hover img {
    transform: scale(1.04);
    filter: saturate(1.05) contrast(1.06);
}

.gallery-item figcaption {
    position: absolute;
    z-index: 1;
    left: 18px;
    right: 18px;
    bottom: 18px;
    color: var(--text);
    font-weight: 800;
}

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

.why-item {
    min-height: 130px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 248, 239, 0.045);
}

.why-item p {
    margin: 0;
    color: var(--soft);
    font-weight: 700;
    line-height: 1.5;
}

.final-cta {
    position: relative;
    margin: 24px clamp(18px, 4vw, 56px) 0;
    padding: clamp(66px, 8vw, 108px) 22px;
    overflow: hidden;
    border: 1px solid rgba(216, 163, 74, 0.28);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(105, 19, 34, 0.88), rgba(17, 11, 13, 0.9)),
        url("../images/mulan-poker-learning.jpg") center 34% / cover;
    text-align: center;
}

.final-cta > div {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: clamp(40px, 6vw, 72px);
}

.final-cta p:not(.eyebrow) {
    margin: 18px auto 0;
    max-width: 660px;
    color: #f1e4d2;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 42px clamp(18px, 4vw, 36px);
    color: var(--muted);
}

.site-footer p {
    max-width: 460px;
    margin: 14px 0 0;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-end;
    gap: 16px;
    color: var(--soft);
    font-size: 14px;
    font-weight: 700;
}

.page-hero {
    max-width: 900px;
    margin: 0 auto;
    padding: 150px clamp(18px, 4vw, 36px) 54px;
}

.page-hero h1 {
    font-size: clamp(44px, 7vw, 82px);
}

.page-hero p:not(.eyebrow) {
    max-width: 700px;
    margin-top: 18px;
}

.legal-content,
.contact-section {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 36px) 90px;
}

.contact-section {
    grid-template-columns: 1fr;
    max-width: 760px;
}

.legal-content h2 {
    margin-top: 34px;
    font-family: Inter, Arial, sans-serif;
    font-size: 22px;
    line-height: 1.2;
}

.legal-content p {
    margin-top: 10px;
}

.contact-panel {
    padding: 28px;
}

.contact-panel.accent {
    background: linear-gradient(145deg, rgba(173, 31, 50, 0.18), rgba(216, 163, 74, 0.08));
}

.contact-panel .cta-row {
    margin-top: 22px;
}

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

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

@media (max-width: 980px) {
    .hero,
    .intro-band,
    .split-section,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 104px;
    }

    .hero-portrait {
        justify-self: start;
        width: min(420px, 100%);
    }

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

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

@media (max-width: 760px) {
    .site-header {
        padding: 12px 16px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        top: 68px;
        left: 14px;
        right: 14px;
        display: grid;
        gap: 0;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(17, 11, 13, 0.96);
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .site-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav a {
        min-height: 44px;
        padding: 12px;
    }

    .hero {
        padding: 94px 16px 42px;
    }

    .hero-bg {
        background:
            linear-gradient(180deg, rgba(8, 5, 6, 0.88) 0%, rgba(17, 11, 13, 0.68) 58%, rgba(17, 11, 13, 0.98) 100%),
            radial-gradient(circle at 72% 22%, rgba(216, 163, 74, 0.24), transparent 18rem);
    }

    h1 {
        font-size: clamp(44px, 15vw, 64px);
    }

    h2 {
        font-size: clamp(34px, 12vw, 48px);
    }

    .button {
        width: 100%;
        min-height: 54px;
    }

    .hero-stats span {
        width: 100%;
    }

    .hero-portrait {
        width: 100%;
    }

    .hero-portrait img {
        max-height: 520px;
        object-position: center top;
    }

    .section {
        padding: 66px 16px;
    }

    .profile-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .highlight-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 12px;
    }

    .highlight-card {
        flex: 0 0 82%;
        scroll-snap-align: start;
    }

    .gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 12px;
    }

    .gallery-item {
        flex: 0 0 78%;
        scroll-snap-align: start;
    }

    .profile-card img {
        height: 300px;
    }

    .final-cta {
        margin: 10px 16px 0;
    }

    .site-footer {
        display: grid;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
