:root {
    --evca-forest: #073f32;
    --evca-forest-deep: #03271f;
    --evca-emerald: #0f7257;
    --evca-gold: #f2c84b;
    --evca-red: #d84545;
    --evca-ink: #10201b;
    --evca-muted: #64736d;
    --evca-ivory: #f7f5ee;
    --evca-white: #ffffff;
    --evca-line: #dce4df;
}

* { box-sizing: border-box; }

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

body.evc-private-access-page {
    background: var(--evca-ivory);
    color: var(--evca-ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.evc-private-access-page #wpadminbar { display: none !important; }
body.evc-private-access-page { padding-top: 0 !important; }

.evc-access-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
    min-height: 100vh;
}

.evc-access-story {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
    padding: clamp(28px, 4.5vw, 72px);
    background:
        radial-gradient(circle at 80% 18%, rgba(242, 200, 75, .19), transparent 29%),
        radial-gradient(circle at 4% 95%, rgba(30, 143, 111, .34), transparent 32%),
        linear-gradient(145deg, var(--evca-forest) 0%, var(--evca-forest-deep) 72%);
    color: var(--evca-white);
}

.evc-access-story::before,
.evc-access-story::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%;
    pointer-events: none;
}

.evc-access-story::before { width: 52vw; height: 52vw; right: -32vw; bottom: -16vw; }
.evc-access-story::after { width: 34vw; height: 34vw; right: -21vw; bottom: -7vw; }

.evc-access-flag {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    width: 180px;
    height: 7px;
}

.evc-access-flag i { flex: 1; background: var(--evca-emerald); }
.evc-access-flag i:nth-child(2) { background: var(--evca-gold); }
.evc-access-flag i:nth-child(3) { background: var(--evca-red); }

.evc-access-brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    color: inherit;
    text-decoration: none;
}

.evc-access-seal {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 17px;
    letter-spacing: .06em;
}

.evc-access-brand strong,
.evc-access-brand small { display: block; }
.evc-access-brand strong { font-size: 16px; letter-spacing: .12em; }
.evc-access-brand small { margin-top: 5px; color: rgba(255,255,255,.69); font-size: 11px; letter-spacing: .08em; }

.evc-access-story-copy {
    position: relative;
    z-index: 1;
    max-width: 690px;
    margin: auto 0;
    padding: 80px 0;
}

.evc-access-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--evca-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
}

.evc-access-kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }

.evc-access-story h1 {
    max-width: 680px;
    margin: 24px 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5.2vw, 78px);
    font-weight: 400;
    line-height: .99;
    letter-spacing: -.045em;
}

.evc-access-story-copy p {
    max-width: 560px;
    margin: 0;
    color: rgba(255,255,255,.74);
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.65;
}

.evc-access-trust {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.75);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
}

.evc-access-trust span { display: inline-flex; align-items: center; gap: 8px; }
.evc-access-trust b { color: var(--evca-gold); font-weight: 400; }

.evc-access-panel {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: clamp(24px, 4.5vw, 70px);
    background:
        linear-gradient(rgba(7,63,50,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7,63,50,.035) 1px, transparent 1px),
        var(--evca-ivory);
    background-size: 32px 32px;
}

.evc-access-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--evca-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
}

.evc-access-panel-top a {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--evca-line);
    border-radius: 50%;
    color: var(--evca-forest);
    text-decoration: none;
}

.evc-access-card { width: min(100%, 490px); margin: auto; padding: 54px 0; }

.evc-access-card-mark {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 26px;
    border-radius: 14px;
    background: var(--evca-forest);
    box-shadow: 0 12px 28px rgba(7,63,50,.2);
    color: var(--evca-gold);
}

.evc-access-card h2 {
    margin: 0 0 10px;
    color: var(--evca-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 3vw, 46px);
    font-weight: 400;
    letter-spacing: -.035em;
}

.evc-access-card > p { margin: 0 0 34px; color: var(--evca-muted); font-size: 15px; line-height: 1.65; }

.evc-access-message {
    margin: -10px 0 22px;
    padding: 13px 15px;
    border: 1px solid #f0c6c6;
    border-radius: 10px;
    background: #fff5f5;
    color: #8d2929;
    font-size: 13px;
    line-height: 1.5;
}

.evc-access-message.is-success { border-color: #bcdccd; background: #eff9f4; color: #176244; }

.evc-access-form { display: grid; gap: 20px; }
.evc-access-form label { display: grid; gap: 8px; }
.evc-access-form label span { color: #344740; font-size: 12px; font-weight: 800; letter-spacing: .025em; }

.evc-access-form input {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    border: 1px solid #cbd6d0;
    border-radius: 10px;
    outline: 0;
    background: rgba(255,255,255,.78);
    color: var(--evca-ink);
    font: inherit;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.evc-access-form input:focus { border-color: var(--evca-emerald); background: var(--evca-white); box-shadow: 0 0 0 4px rgba(15,114,87,.1); }

.evc-access-form > button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    margin-top: 4px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    background: var(--evca-forest);
    box-shadow: 0 14px 30px rgba(7,63,50,.18);
    color: var(--evca-white);
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    transition: transform .2s, background .2s;
}

.evc-access-form > button:hover { background: #09513f; transform: translateY(-1px); }
.evc-access-form > button:focus-visible { outline: 3px solid rgba(242,200,75,.65); outline-offset: 3px; }
.evc-access-form > button span { color: var(--evca-gold); font-size: 19px; }

.evc-access-help {
    display: grid;
    gap: 6px;
    margin-top: 28px;
    padding: 18px;
    border-left: 3px solid var(--evca-gold);
    background: rgba(255,255,255,.54);
}

.evc-access-help strong { color: var(--evca-forest); font-size: 12px; }
.evc-access-help span { color: var(--evca-muted); font-size: 12px; line-height: 1.55; }

.evc-access-panel > footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #78857f;
    font-size: 10px;
    letter-spacing: .035em;
}

@media (max-width: 920px) {
    .evc-access-shell { display: block; }
    .evc-access-story { min-height: auto; padding: 30px 26px 42px; }
    .evc-access-story-copy { padding: 70px 0 54px; }
    .evc-access-story h1 { max-width: 650px; font-size: clamp(40px, 9vw, 64px); }
    .evc-access-trust { display: none; }
    .evc-access-panel { min-height: auto; padding: 26px; }
    .evc-access-card { padding: 64px 0; }
}

@media (max-width: 520px) {
    .evc-access-story { padding: 24px 20px 32px; }
    .evc-access-seal { width: 44px; height: 44px; }
    .evc-access-brand strong { font-size: 13px; }
    .evc-access-story-copy { padding: 56px 0 20px; }
    .evc-access-story h1 { margin-top: 18px; font-size: 38px; }
    .evc-access-story-copy p { font-size: 14px; }
    .evc-access-panel { padding: 22px 20px 24px; }
    .evc-access-card { padding: 54px 0; }
    .evc-access-card h2 { font-size: 36px; }
    .evc-access-panel > footer { display: grid; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
