:root {
    --navy-950: #061a3a;
    --navy-900: #082654;
    --navy-800: #123e77;
    --navy-700: #1e4f92;
    --gold: #d9a300;
    --gold-soft: #ffd85f;
    --ink: #082654;
    --muted: #66758c;
    --line: #dce4ef;
    --surface: #ffffff;
    --page: #edf3fa;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 2% 6%, rgba(217, 163, 0, .11), transparent 28rem),
        radial-gradient(circle at 98% 3%, rgba(30, 79, 146, .14), transparent 36rem),
        linear-gradient(135deg, #f9fcff, var(--page));
}

button,
input {
    font: inherit;
}

.welcome-body {
    display: grid;
    place-items: center;
    padding: 26px;
}

.welcome-shell {
    width: min(1620px, 100%);
    min-height: 760px;
    display: grid;
    grid-template-columns: minmax(510px, 1.16fr) minmax(350px, .78fr) minmax(380px, .92fr);
    gap: 24px;
    align-items: stretch;
}

.welcome-story,
.welcome-access,
.welcome-projects {
    min-width: 0;
    min-height: 760px;
}

.welcome-story {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 38px 44px 34px;
    color: #fff;
    border-radius: 28px;
    background-color: var(--navy-950);
    background-image:
        linear-gradient(180deg, rgba(4, 24, 57, .98) 0%, rgba(5, 35, 79, .93) 39%, rgba(7, 41, 88, .64) 62%, rgba(5, 31, 69, .82) 100%),
        url("https://upload.wikimedia.org/wikipedia/commons/1/1a/Litom%C4%9B%C5%99ice_n%C3%A1m%C4%9Bst%C3%AD_s_radnic%C3%AD_a_kostelem_2.jpg");
    background-position: center, center bottom;
    background-size: cover, cover;
    box-shadow: 0 28px 72px rgba(8, 38, 84, .24);
}

.welcome-story::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    right: -165px;
    top: -205px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 50%;
    box-shadow: 0 0 0 56px rgba(255, 255, 255, .026), 0 0 0 112px rgba(255, 255, 255, .018);
    pointer-events: none;
}

.welcome-story::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(180deg, transparent, rgba(4, 22, 52, .76));
    pointer-events: none;
}

.welcome-story-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 25, 59, .28), transparent 62%),
        radial-gradient(circle at 13% 82%, rgba(217, 163, 0, .17), transparent 19rem);
    pointer-events: none;
}

.welcome-brand,
.welcome-copy,
.welcome-benefits,
.welcome-signature,
.welcome-photo-credit {
    position: relative;
    z-index: 2;
}

.welcome-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.welcome-logo {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    position: relative;
    border: 2px solid var(--gold-soft);
    border-radius: 50%;
    color: var(--gold-soft);
    background: rgba(4, 25, 59, .18);
    line-height: 1;
    backdrop-filter: blur(4px);
}

.welcome-logo strong {
    font-family: Georgia, serif;
    font-size: 19px;
    font-weight: 500;
    letter-spacing: .04em;
}

.welcome-logo small {
    position: absolute;
    bottom: 8px;
    font-size: 7px;
    letter-spacing: .24em;
    text-align: center;
}

.welcome-brand > div {
    display: grid;
    gap: 5px;
}

.welcome-brand > div strong {
    font-size: 25px;
    letter-spacing: .06em;
}

.welcome-brand > div em {
    color: var(--gold-soft);
    font-style: normal;
}

.welcome-brand > div span {
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .18em;
    opacity: .88;
}

.welcome-copy {
    max-width: 610px;
    margin-top: 64px;
}

.welcome-kicker {
    margin: 0 0 13px;
    color: var(--gold-soft);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.welcome-copy h1 {
    max-width: 610px;
    margin: 0;
    font-size: clamp(45px, 4.15vw, 67px);
    line-height: .99;
    letter-spacing: -.045em;
}

.welcome-copy h1 em {
    display: block;
    color: var(--gold-soft);
    font-style: normal;
}

.welcome-copy > p:last-child {
    max-width: 570px;
    margin: 21px 0 0;
    color: rgba(255, 255, 255, .89);
    font-size: 16px;
    line-height: 1.62;
}

.welcome-benefits {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding-top: 32px;
}

.welcome-benefits > div {
    width: min(500px, 100%);
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    background: rgba(6, 34, 73, .66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
    backdrop-filter: blur(11px);
}

.benefit-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: var(--gold-soft);
    border: 1px solid rgba(255, 216, 95, .7);
    border-radius: 50%;
    background: rgba(255, 216, 95, .08);
    font-size: 18px;
    font-weight: 800;
}

.welcome-benefits p {
    min-width: 0;
    display: grid;
    gap: 2px;
    margin: 0;
}

.welcome-benefits strong {
    font-size: 14px;
}

.welcome-benefits small {
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    line-height: 1.42;
}

.welcome-signature {
    align-self: flex-end;
    margin-top: 17px;
    color: rgba(255, 255, 255, .66);
    font-size: 12px;
    letter-spacing: .08em;
}

.welcome-signature strong {
    color: var(--gold-soft);
    font-size: 17px;
}

.welcome-photo-credit {
    position: absolute;
    left: 18px;
    bottom: 13px;
    color: rgba(255, 255, 255, .55);
    font-size: 8px;
    text-decoration: none;
}

.welcome-photo-credit:hover,
.welcome-photo-credit:focus-visible {
    color: #fff;
    outline: none;
}

.welcome-access {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.access-card {
    width: 100%;
    height: 100%;
    min-height: 760px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 39px 36px;
    border: 1px solid rgba(255, 255, 255, .84);
    border-radius: 26px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 26px 68px rgba(8, 38, 84, .16);
}

.access-pill {
    width: fit-content;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    color: var(--navy-700);
    border-radius: 999px;
    background: #eaf2ff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.access-card h2 {
    margin: 20px 0 8px;
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -.03em;
}

.access-lead {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.55;
}

.access-form {
    display: grid;
    gap: 9px;
}

.access-form label {
    margin-top: 5px;
    font-size: 13px;
    font-weight: 820;
}

.access-input-shell {
    height: 52px;
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    padding-left: 11px;
    color: #5e7390;
    border: 1px solid #cbd8e9;
    border-radius: 11px;
    background: #f4f8fd;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.access-input-shell:focus-within {
    border-color: var(--navy-700);
    box-shadow: 0 0 0 4px rgba(30, 79, 146, .12);
    background: #fff;
}

.access-input-shell > span {
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 850;
}

.access-form input {
    width: 100%;
    height: 50px;
    min-width: 0;
    padding: 0 13px 0 2px;
    color: var(--ink);
    border: 0;
    outline: none;
    background: transparent;
}

.access-button {
    width: 100%;
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 11px 18px;
    border-radius: 11px;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.access-button:hover,
.access-button:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.access-button-primary {
    color: #fff;
    border: 1px solid var(--navy-700);
    background: linear-gradient(180deg, #2167c4, #1551a0);
    box-shadow: 0 11px 23px rgba(21, 81, 160, .19);
}

.access-button-register {
    color: var(--navy-900);
    border: 1px solid #b9cae2;
    background: #fff;
}

.access-button-guest {
    color: #654900;
    border: 1px solid #e1b62d;
    background: #fff8df;
}

.access-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 2px;
    color: #8a97aa;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.access-divider::before,
.access-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--line);
}

.guest-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 22px;
    padding: 18px 15px 0 0;
    border-top: 1px solid var(--line);
}

.guest-note p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.guest-note strong {
    color: var(--ink);
}

.guest-dot {
    width: 11px;
    height: 11px;
    flex: 0 0 auto;
    margin-top: 4px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(217, 163, 0, .13);
}

@media (max-width: 1320px) {
    .welcome-body {
        align-items: start;
    }

    .welcome-shell {
        width: min(1120px, 100%);
        grid-template-columns: minmax(0, 1.2fr) minmax(350px, .8fr);
    }

    .welcome-projects {
        grid-column: 1 / -1;
        min-height: 0;
    }
}

@media (max-width: 980px) {
    .welcome-body {
        padding: 18px;
    }

    .welcome-shell {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .welcome-story,
    .welcome-access,
    .welcome-projects,
    .access-card {
        min-height: 0;
        height: auto;
    }

    .welcome-story {
        padding: 34px;
    }

    .welcome-copy {
        margin-top: 54px;
    }

    .access-card {
        width: 100%;
        padding: 34px;
    }
}

@media (max-width: 560px) {
    .welcome-body {
        padding: 0;
        background: #fff;
    }

    .welcome-shell {
        gap: 0;
    }

    .welcome-story,
    .access-card {
        border-radius: 0;
        box-shadow: none;
    }

    .welcome-story {
        padding: 28px 22px 38px;
    }

    .welcome-brand > div strong {
        font-size: 20px;
    }

    .welcome-logo {
        width: 61px;
        height: 61px;
    }

    .welcome-copy {
        margin-top: 44px;
    }

    .welcome-copy h1 {
        font-size: 41px;
    }

    .welcome-copy > p:last-child {
        font-size: 15px;
    }

    .welcome-benefits small {
        font-size: 10px;
    }

    .welcome-signature {
        margin-right: 0;
    }

    .access-card {
        padding: 30px 22px 38px;
    }
}
