* {
    box-sizing: border-box;
}

@font-face {
    font-family: 'EB Garamond Custom';
    src: url('/assets/fonts/eb-garamond-regular.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'EB Garamond Custom';
    src: url('/assets/fonts/eb-garamond-bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'EB Garamond SC Custom';
    src: url('/assets/fonts/eb-garamond-sc.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Inter Display Custom';
    src: url('/assets/fonts/inter-display-medium-italic.otf') format('opentype');
    font-display: swap;
}

:root {
    --bg: #070707;
    --panel: rgba(15, 12, 11, .88);
    --panel-2: rgba(24, 18, 15, .92);
    --line: rgba(255, 220, 164, .14);
    --line-strong: rgba(255, 181, 87, .34);
    --text: #f7efe6;
    --muted: #bbada2;
    --gold: #e7b468;
    --gold-light: #ffdca5;
    --red: #981917;
    --red-bright: #db2e27;
    --shadow: 0 28px 90px rgba(0, 0, 0, .58);
}

html {
    background: var(--bg);
    color-scheme: dark;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 50% 0%, rgba(127, 16, 8, .17), transparent 40rem),
        linear-gradient(180deg, #0b0908 0%, #070707 50%, #050505 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .16;
    background-image:
        linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.010) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.page-home {
    background:
        linear-gradient(180deg, rgba(3,3,3,.30), rgba(3,3,3,.76)),
        linear-gradient(180deg, rgba(95, 18, 12, .18) 0%, rgba(4,4,4,.12) 34%, rgba(4,4,4,.92) 100%),
        url('/assets/art/home-world.jpg') center top / cover no-repeat fixed,
        linear-gradient(180deg, #0b0908 0%, #070707 50%, #050505 100%);
}

.page-apply,
.page-success {
    background:
        radial-gradient(circle at 50% -10%, rgba(111, 28, 12, .20), transparent 32rem),
        linear-gradient(180deg, #0b0908 0%, #070707 52%, #050505 100%);
}

.page-apply::before,
.page-success::before {
    opacity: .10;
}

.page-apply .ambient,
.page-success .ambient,
.page-apply .smoke-ribbon,
.page-success .smoke-ribbon {
    display: none;
}

a {
    color: inherit;
}

.ambient {
    position: fixed;
    width: 42rem;
    height: 42rem;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    opacity: .17;
}

.ambient-one {
    background: #c21818;
    top: -22rem;
    left: -12rem;
}

.ambient-two {
    background: #6f2609;
    right: -18rem;
    bottom: -24rem;
}

.smoke-ribbon {
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: 0;
    opacity: .45;
    filter: blur(10px);
    background: radial-gradient(circle at 30% 50%, rgba(255, 104, 66, .28), transparent 40%),
                radial-gradient(circle at 70% 45%, rgba(255, 189, 132, .16), transparent 35%),
                linear-gradient(90deg, rgba(255, 74, 43, .15), rgba(255, 120, 70, .04));
    border-radius: 999px;
}

.smoke-one {
    width: 46vw;
    height: 180px;
    top: 140px;
    left: -10vw;
    transform: rotate(-8deg);
}

.smoke-two {
    width: 38vw;
    height: 160px;
    top: 390px;
    right: -6vw;
    transform: rotate(8deg);
}

.smoke-three {
    width: 34vw;
    height: 150px;
    bottom: 160px;
    left: 18vw;
    transform: rotate(-4deg);
}

.landing-topbar,
.topbar,
.site-footer {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.landing-topbar {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand-stack,
.footer-branding {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.brand-stack strong,
.footer-branding strong {
    font-family: 'EB Garamond SC Custom', Georgia, serif;
    font-size: clamp(1rem, 2vw, 1.35rem);
    letter-spacing: .06em;
    color: #f5d8aa;
}

.brand-stack strong span {
    color: rgba(255, 217, 155, .54);
}

.brand-sites,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.brand-sites span,
.footer-links span,
.footer-branding span {
    color: #a9998f;
    font-size: .77rem;
}

.brand-sites span,
.footer-links span {
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: rgba(0,0,0,.22);
}

.landing {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 54px 0 36px;
    position: relative;
    z-index: 1;
}

.hero {
    max-width: 900px;
    text-align: center;
    margin: 0 auto 52px;
}

.hero-home {
    position: relative;
    padding: 52px 40px 44px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,.03), transparent 25%),
        linear-gradient(180deg, rgba(7,6,6,.56), rgba(7,6,6,.86));
    box-shadow: var(--shadow);
}

.hero-home::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/assets/art/header-band.jpg') center top / cover no-repeat;
    opacity: .22;
    mix-blend-mode: screen;
}

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

.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.hero h1,
.apply-intro h1,
.success-shell h1,
.creator-note h2,
.form-heading h2,
.region-meta h2 {
    margin: 14px 0 14px;
    font-family: 'EB Garamond Custom', Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: .96;
    letter-spacing: -.03em;
    text-shadow: 0 10px 50px rgba(0,0,0,.7);
}

.hero h1 {
    font-size: clamp(3.1rem, 7vw, 5.6rem);
}

.hero p {
    margin: 0 auto;
    max-width: 760px;
    color: #d8c9bf;
    font-size: 1.08rem;
    line-height: 1.8;
}

.hero p strong {
    color: #fff0d6;
    font-weight: 700;
}

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

.region-grid.single-region {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}

.region-card {
    min-height: 610px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 26px;
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.04), transparent 26%),
        linear-gradient(160deg, rgba(32,16,12,.56), rgba(6,6,6,.94) 56%, rgba(6,6,6,.98));
    box-shadow: var(--shadow);
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
    isolation: isolate;
}

.region-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: .30;
    transform: scale(1.04);
    transition: transform .4s ease, opacity .3s ease;
}

.region-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,8,8,.16), rgba(10,8,8,.72) 52%, rgba(10,8,8,.96) 100%),
        radial-gradient(circle at 50% 24%, rgba(255, 127, 74, .16), transparent 28%);
    z-index: -1;
}

.region-card.asia::before {
    background-image: url('/assets/art/card-asia.jpg');
    background-position: center 28%;
}

.region-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
    box-shadow: 0 36px 100px rgba(0,0,0,.66);
}

.region-card:hover::before {
    opacity: .38;
    transform: scale(1.09);
}

.card-glow {
    position: absolute;
    z-index: -1;
    width: 24rem;
    height: 24rem;
    left: 50%;
    top: 3rem;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(210, 28, 18, .16);
    filter: blur(58px);
}

.logo-frame {
    height: 320px;
    display: grid;
    place-items: center;
    padding: 4px;
}

.logo-frame img {
    width: 100%;
    max-width: 540px;
    max-height: 290px;
    object-fit: contain;
    filter: drop-shadow(0 24px 32px rgba(0,0,0,.72));
}

.region-meta {
    padding: 6px 4px 4px;
}

.region-name {
    color: var(--gold);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .20em;
}

.region-meta h2 {
    margin: 8px 0 14px;
    font-size: 2.2rem;
}

.region-copy {
    margin: 0 0 20px;
    color: #d5c7bc;
    line-height: 1.72;
}

.opening-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.opening-date span {
    color: var(--muted);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .13em;
}

.opening-date strong {
    color: var(--gold-light);
    font-size: .88rem;
}

.region-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
}

.region-domain {
    color: #f0dec0;
    font-size: .83rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.card-button,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 21px;
    border: 1px solid rgba(255, 189, 91, .35);
    border-radius: 10px;
    background: linear-gradient(180deg, #bc2a22, #71110f);
    color: white;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-decoration: none;
    box-shadow: inset 0 1px rgba(255,255,255,.13), 0 12px 28px rgba(130, 17, 12, .28);
}

.creator-note {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
    margin-top: 30px;
    padding: 34px 40px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.02), transparent 26%),
        linear-gradient(180deg, rgba(12,11,10,.76), rgba(12,11,10,.90));
}

.creator-note-home {
    position: relative;
    overflow: hidden;
}

.creator-note-home::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/assets/art/footer-band.jpg') center / cover no-repeat;
    opacity: .16;
}

.creator-note > * {
    position: relative;
    z-index: 1;
}

.creator-note h2 {
    margin: 8px 0 0;
    font-size: 2rem;
}

.creator-note p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.site-footer {
    padding: 30px 0 42px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
    position: relative;
    z-index: 1;
}

.site-footer-home {
    padding-top: 16px;
}

.site-footer-subpage,
.success-footer {
    margin-top: 22px;
}

/* Application */
.topbar {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
}

.topbar-brand-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-mini {
    color: var(--gold-light);
    font-family: 'EB Garamond SC Custom', Georgia, serif;
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: .10em;
    text-decoration: none;
}

.brand-mini-domain {
    color: #a89488;
    font-size: .75rem;
    letter-spacing: .08em;
}

.back-link {
    color: var(--muted);
    text-decoration: none;
    font-size: .88rem;
}

.back-link:hover {
    color: white;
}

.apply-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 10px auto 20px;
    display: grid;
    grid-template-columns: .84fr 1.16fr;
    gap: 34px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.apply-intro {
    position: sticky;
    top: 24px;
    min-height: 760px;
    padding: 30px 28px 38px;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: linear-gradient(180deg, rgba(9,8,8,.12), rgba(9,8,8,.84) 48%, rgba(9,8,8,.96) 100%);
}

.apply-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/assets/art/apply-asia.jpg') center 18% / cover no-repeat;
    opacity: .40;
    transform: scale(1.05);
}

.apply-intro::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,8,8,.18), rgba(10,8,8,.74) 52%, rgba(10,8,8,.96) 100%),
        radial-gradient(circle at 50% 16%, rgba(255, 142, 86, .12), transparent 30%);
}

.apply-intro > * {
    position: relative;
    z-index: 1;
}

.apply-logo {
    width: 100%;
    max-width: 430px;
    max-height: 240px;
    object-fit: contain;
    object-position: left center;
    margin: 0 0 12px;
    filter: drop-shadow(0 22px 34px rgba(0,0,0,.65));
}

.apply-intro h1 {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
}

.apply-intro p {
    color: #e2d4ca;
    max-width: 520px;
    line-height: 1.84;
    font-size: 1.02rem;
}

.opening-pill,
.intro-site-pill {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    padding: 13px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: rgba(116, 18, 13, .18);
}

.opening-pill {
    display: none;
}

.intro-site-pill {
    margin-top: 14px;
    display: inline-flex;
    color: #f2deba;
    font-weight: 800;
    letter-spacing: .08em;
}

.opening-pill span {
    color: var(--muted);
    font-size: .67rem;
    letter-spacing: .16em;
    font-weight: 800;
}

.opening-pill strong {
    color: var(--gold-light);
    font-size: .92rem;
}

.form-panel {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.02), transparent 18%),
        var(--panel);
    box-shadow: var(--shadow);
}

.form-heading {
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 26px;
}

.form-heading h2 {
    margin: 8px 0 8px;
    font-size: clamp(2rem, 3.8vw, 2.7rem);
}

.form-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
}

.form-grid {
    display: grid;
    gap: 16px;
}

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

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 17px;
}

.field > span,
.review-panel label > span {
    color: #d8cbc2;
    font-size: .8rem;
    font-weight: 760;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 8px;
    background: rgba(0,0,0,.31);
    color: var(--text);
    font: inherit;
    outline: none;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

input,
select {
    height: 49px;
    padding: 0 13px;
}

textarea {
    min-height: 150px;
    resize: vertical;
    padding: 13px;
    line-height: 1.6;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(230,177,94,.62);
    background: rgba(0,0,0,.4);
    box-shadow: 0 0 0 3px rgba(230,177,94,.07);
}

.field small {
    align-self: flex-end;
    color: #796d66;
}

.consent {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 11px;
    align-items: start;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.55;
}

.consent input {
    width: 16px;
    height: 16px;
    margin-top: 3px;
}

.turnstile-wrap {
    margin-top: 22px;
    min-height: 65px;
}

.submit-button {
    width: 100%;
    border: 1px solid rgba(255,189,91,.35);
    cursor: pointer;
    min-height: 56px;
}

.submit-button:hover,
.primary-button:hover {
    filter: brightness(1.08);
}

.notice {
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: .88rem;
    line-height: 1.55;
}

.notice ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.notice.error {
    border: 1px solid rgba(255,88,76,.28);
    background: rgba(158,31,24,.16);
    color: #ffd1cc;
}

.notice.success {
    border: 1px solid rgba(100,205,128,.25);
    background: rgba(38,120,61,.16);
    color: #cef7d7;
}

.notice.warning {
    margin-top: 18px;
    border: 1px solid rgba(237,176,64,.28);
    background: rgba(171,108,19,.12);
    color: #ffe0a7;
}

.hp-field {
    position: absolute;
    left: -999em;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.success-shell {
    width: min(780px, calc(100% - 40px));
    margin: 56px auto 10px;
    padding: 50px 34px 42px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.02), transparent 18%),
        var(--panel);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.success-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/assets/art/footer-band.jpg') center top / cover no-repeat;
    opacity: .12;
}

.success-shell > * {
    position: relative;
    z-index: 1;
}

.success-logo {
    max-width: 380px;
    width: 100%;
    max-height: 190px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: drop-shadow(0 18px 28px rgba(0,0,0,.56));
}

.success-shell h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.success-shell p {
    color: #d6c8be;
    line-height: 1.82;
    font-size: 1.02rem;
}

.success-shell .muted {
    color: var(--muted);
}

@media (max-width: 1020px) {
    .region-grid,
    .creator-note,
    .apply-shell {
        grid-template-columns: 1fr;
    }

    .apply-intro {
        position: relative;
        top: auto;
        min-height: 620px;
    }

    .site-footer,
    .landing-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

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

@media (max-width: 720px) {
    .landing,
    .site-footer,
    .landing-topbar,
    .topbar,
    .apply-shell {
        width: calc(100% - 24px);
    }

    .hero-home,
    .region-card,
    .creator-note,
    .form-panel,
    .apply-intro,
    .success-shell {
        border-radius: 18px;
    }

    .hero-home {
        padding: 42px 22px 36px;
    }

    .region-card {
        min-height: 560px;
        padding: 22px;
    }

    .logo-frame {
        height: 255px;
    }

    .form-grid.two {
        grid-template-columns: 1fr;
    }

    .apply-intro {
        min-height: auto;
        padding: 22px 20px 28px;
    }

    .topbar {
        height: auto;
        padding-top: 24px;
        gap: 14px;
        align-items: flex-start;
        flex-direction: column;
    }

    .region-bottom,
    .opening-date {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .landing {
        padding-top: 34px;
    }

    .smoke-ribbon {
        display: none;
    }

    .region-meta h2 {
        font-size: 1.85rem;
    }

    .creator-note {
        padding: 26px 20px;
    }

    .site-footer {
        padding-bottom: 34px;
    }
}
