:root {
    --bg: #f8eadf;
    --paper: #fff6ef;
    --ink: #1f2232;
    --muted: #635d72;
    --warm: #ff9447;
    --warm-deep: #d65c2e;
    --forest: #0f5f5a;
    --olive: #9db26f;
    --berry: #cf2f74;
    --gold: #ffcf62;
    --sunset: #ff6f4d;
    --mist: rgba(255, 248, 239, 0.78);
    --line: rgba(47, 32, 61, 0.12);
    --shadow: 0 30px 80px rgba(95, 38, 67, 0.16);
    --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    --body: Aptos, "Segoe UI", "Trebuchet MS", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--body);
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(255, 124, 64, 0.32), transparent 30%),
        radial-gradient(circle at 78% 10%, rgba(207, 47, 116, 0.18), transparent 22%),
        radial-gradient(circle at 88% 34%, rgba(255, 207, 98, 0.24), transparent 20%),
        radial-gradient(circle at 20% 72%, rgba(15, 95, 90, 0.12), transparent 22%),
        linear-gradient(180deg, #fff0e2 0%, #f7e1d7 40%, #fff1e4 100%);
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration-color: rgba(203, 120, 64, 0.4);
}

p {
    margin: 0 0 1rem;
}

h1,
h2,
h3 {
    margin: 0 0 1rem;
    font-family: var(--display);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(3rem, 6vw, 6.25rem);
}

h2 {
    font-size: clamp(2.3rem, 4vw, 4.3rem);
}

h3 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.82rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--berry);
}

.site-header,
.site-footer,
.section,
.hero,
.age-shell {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 18;
    padding: 1.25rem 0 0;
}

.brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.9rem 1.05rem;
    border: 1px solid rgba(207, 47, 116, 0.12);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 244, 232, 0.72)),
        rgba(251, 246, 239, 0.72);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 34px rgba(95, 38, 67, 0.12);
}

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

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

.brand strong {
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    font-size: 0.98rem;
}

.main-nav a {
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--muted);
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
    transform: translateY(-1px);
}

.main-nav a[aria-current="page"] {
    color: #fffaf3;
    text-decoration: none;
    background: linear-gradient(135deg, var(--berry), var(--sunset));
    box-shadow: 0 10px 24px rgba(207, 47, 116, 0.22);
}

.hero,
.age-shell {
    position: relative;
    padding: 4rem 0 2rem;
}

.hero-grid,
.age-grid,
.story-grid,
.contact-grid,
.col-grid,
.support-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.hero-copy,
.age-copy,
.story-copy,
.contact-copy,
.col-copy {
    grid-column: span 6;
}

.hero-media,
.age-media,
.story-media,
.contact-media,
.col-media {
    grid-column: span 6;
}

.hero-copy p,
.age-copy p,
.lede {
    font-size: 1.14rem;
    color: var(--muted);
    max-width: 46rem;
}

.button-row,
.inline-actions,
.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}

.button {
    appearance: none;
    border: 1px solid transparent;
    cursor: pointer;
    font: inherit;
    padding: 0.95rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.button.primary {
    background: linear-gradient(135deg, var(--berry), var(--sunset) 55%, var(--gold));
    color: #fffaf4;
    box-shadow: 0 16px 34px rgba(207, 47, 116, 0.26);
}

.button.secondary {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(255, 148, 71, 0.24);
    box-shadow: 0 12px 26px rgba(255, 148, 71, 0.1);
}

.button.subtle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: inherit;
}

.hero-stats,
.micro-list,
.signal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0;
    margin: 1.5rem 0 0;
    list-style: none;
}

.hero-stats li,
.micro-list li,
.signal-list li,
.status-chip {
    padding: 0.58rem 1rem;
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 242, 231, 0.76));
    border: 1px solid rgba(255, 148, 71, 0.14);
    box-shadow: 0 10px 24px rgba(255, 148, 71, 0.08);
}

.media-frame {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    border-radius: 38% 62% 52% 48% / 34% 32% 68% 66%;
    box-shadow: 0 34px 84px rgba(95, 38, 67, 0.18);
    background: linear-gradient(160deg, rgba(15, 95, 90, 0.16), rgba(255, 111, 77, 0.26));
}

.media-frame::before {
    content: "";
    position: absolute;
    inset: -18% -8% auto auto;
    width: 55%;
    height: 50%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 207, 98, 0.55), transparent 70%);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.06) contrast(1.03);
}

.media-note {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    width: min(16rem, calc(100% - 2.4rem));
    padding: 0.85rem 0.95rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(255, 250, 244, 0.92), rgba(255, 240, 233, 0.86));
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 34px rgba(46, 51, 43, 0.12);
    transform: translateX(-50%);
    border: 1px solid rgba(255, 148, 71, 0.16);
    z-index: 2;
}

.media-note strong {
    display: block;
    margin-bottom: 0.25rem;
}

.media-note p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.45;
}

.section {
    padding: 4.5rem 0;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(207, 47, 116, 0.22), rgba(255, 207, 98, 0.32), transparent);
}

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

.span-4 {
    grid-column: span 4;
}

.span-5 {
    grid-column: span 5;
}

.span-6 {
    grid-column: span 6;
}

.span-7 {
    grid-column: span 7;
}

.span-8 {
    grid-column: span 8;
}

.span-12 {
    grid-column: 1 / -1;
}

.tall-copy p,
.legal-copy p,
.legal-copy li {
    color: var(--muted);
}

.wind-note {
    padding-left: 1.5rem;
    border-left: 2px solid rgba(207, 47, 116, 0.34);
    color: var(--muted);
}

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

.art-banner {
    position: relative;
    overflow: hidden;
    margin: 0 0 1.6rem;
    min-height: 24rem;
    border-radius: 2.4rem;
    border: 1px solid rgba(255, 148, 71, 0.18);
    box-shadow: 0 24px 54px rgba(96, 35, 66, 0.16);
}

.art-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.08) contrast(1.04);
}

.art-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(33, 20, 38, 0.42), rgba(33, 20, 38, 0.08) 52%, rgba(33, 20, 38, 0.12));
    pointer-events: none;
}

.art-banner-caption {
    position: absolute;
    left: 1.4rem;
    bottom: 1.4rem;
    z-index: 2;
    width: min(26rem, calc(100% - 2.8rem));
    padding: 1rem 1.1rem;
    border-radius: 1.4rem;
    background: linear-gradient(145deg, rgba(255, 250, 245, 0.92), rgba(255, 236, 224, 0.84));
    box-shadow: 0 16px 36px rgba(33, 20, 38, 0.16);
}

.art-banner-caption strong {
    display: block;
    margin-bottom: 0.25rem;
}

.art-banner-caption p {
    margin: 0;
}

.embed-shell {
    position: relative;
    min-height: 26rem;
    padding: 1.1rem;
    border: 1px solid rgba(255, 148, 71, 0.18);
    border-radius: 2rem;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 239, 229, 0.48)),
        rgba(255, 255, 255, 0.46);
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(96, 35, 66, 0.1);
}

.embed-shell::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--berry), var(--sunset), var(--gold));
}

.embed-shell h3 {
    margin-bottom: 0.4rem;
}

.embed-placeholder,
.functional-blocked {
    display: grid;
    place-items: center;
    min-height: 18rem;
    padding: 1rem;
    text-align: center;
    border-radius: 1.4rem;
    background:
        radial-gradient(circle at top, rgba(255, 207, 98, 0.34), transparent 50%),
        linear-gradient(140deg, rgba(255, 111, 77, 0.22), rgba(15, 95, 90, 0.2)),
        rgba(255, 255, 255, 0.5);
}

.functional-frame {
    width: 100%;
    min-height: 18rem;
    border: 0;
    border-radius: 1.4rem;
    box-shadow: inset 0 0 0 1px rgba(255, 148, 71, 0.14);
}

.trust-list,
.support-list,
.legal-list {
    padding-left: 1.2rem;
}

.support-highlight {
    padding: 1.5rem;
    border-radius: 2.2rem;
    background:
        radial-gradient(circle at top right, rgba(255, 207, 98, 0.22), transparent 28%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 239, 227, 0.72));
    border: 1px solid rgba(255, 148, 71, 0.18);
    box-shadow: 0 24px 54px rgba(96, 35, 66, 0.12);
}

.support-highlight-copy {
    margin-bottom: 1.4rem;
}

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

.support-card {
    padding: 1.15rem 1.1rem;
    border-radius: 1.5rem;
    background: linear-gradient(145deg, rgba(255, 251, 246, 0.9), rgba(255, 243, 235, 0.74));
    border: 1px solid rgba(207, 47, 116, 0.1);
    box-shadow: 0 14px 30px rgba(96, 35, 66, 0.08);
}

.support-card h3 {
    margin-bottom: 0.55rem;
}

.support-card p:last-child {
    margin-bottom: 0;
}

.quote-mark {
    font-family: var(--display);
    font-size: 2.1rem;
    color: var(--warm-deep);
}

.contact-grid {
    align-items: start;
}

.contact-card {
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--line);
}

.contact-form {
    padding: 1.4rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 244, 235, 0.72));
    border-radius: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 148, 71, 0.14);
}

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

.field,
.field-full {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.field-full {
    grid-column: 1 / -1;
}

label {
    font-size: 0.95rem;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 148, 71, 0.16);
    border-radius: 1rem;
    background: rgba(255, 250, 244, 0.88);
    font: inherit;
    color: var(--ink);
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid rgba(207, 47, 116, 0.16);
    border-color: rgba(207, 47, 116, 0.28);
}

textarea {
    min-height: 10rem;
    resize: vertical;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.status-chip.success {
    color: #0f5132;
    background: linear-gradient(135deg, rgba(255, 248, 238, 0.88), rgba(221, 255, 237, 0.74));
}

.status-chip.warning {
    color: #7d4c16;
    background: linear-gradient(135deg, rgba(255, 248, 238, 0.88), rgba(255, 233, 211, 0.82));
}

.quiz-shell {
    display: grid;
    gap: 1.25rem;
}

.quiz-option {
    display: grid;
    gap: 0;
}

.quiz-option label {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: start;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
}

.quiz-option span {
    display: block;
}

.quiz-option input {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0.28rem 0 0;
    accent-color: var(--forest);
}

.quiz-result {
    min-height: 6rem;
    padding: 1rem 1.15rem;
    border-left: 3px solid rgba(207, 47, 116, 0.45);
    border-radius: 0 1.2rem 1.2rem 0;
    background: linear-gradient(135deg, rgba(255, 252, 248, 0.84), rgba(255, 240, 233, 0.72));
}

.site-footer {
    padding: 3rem 0 4rem;
}

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

.footer-title {
    margin: 0 0 0.55rem;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--warm-deep);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.8rem;
    padding-top: 1.4rem;
    margin-top: 1.6rem;
    border-top: 1px solid rgba(207, 47, 116, 0.12);
    color: var(--muted);
}

.cookie-banner {
    position: fixed;
    inset: auto 1rem 1rem 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem 1.4rem;
    align-items: center;
    padding: 1rem 1.1rem;
    max-width: min(1080px, calc(100% - 2rem));
    margin-inline: auto;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(53, 22, 46, 0.96), rgba(19, 72, 68, 0.94));
    color: #fffaf3;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    z-index: 20;
}

.cookie-banner p {
    margin-bottom: 0;
}

.cookie-modal[hidden],
.cookie-banner[hidden],
.consent-confirmation:empty {
    display: none;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(20, 28, 28, 0.48);
    z-index: 30;
}

.cookie-panel {
    position: relative;
    width: min(42rem, 100%);
    padding: 2rem;
    border-radius: 2rem;
    background: linear-gradient(145deg, #fff8f1, #fff1e7);
    box-shadow: var(--shadow);
}

.cookie-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: 0;
    background: transparent;
    font-size: 1.8rem;
    cursor: pointer;
}

.cookie-option {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

.toggle {
    position: relative;
    display: inline-flex;
    width: 3.5rem;
    height: 2rem;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle span {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(28, 45, 45, 0.18);
}

.toggle span::after {
    content: "";
    position: absolute;
    top: 0.2rem;
    left: 0.2rem;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.25s ease;
}

.toggle input:checked + span {
    background: var(--forest);
}

.toggle input:checked + span::after {
    transform: translateX(1.45rem);
}

.consent-confirmation {
    position: fixed;
    right: 1rem;
    bottom: 6.5rem;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: rgba(251, 246, 239, 0.96);
    box-shadow: var(--shadow);
    z-index: 25;
}

.age-shell {
    min-height: calc(100vh - 6rem);
    display: grid;
    align-items: center;
}

.age-minimal {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background:
        radial-gradient(circle at top, rgba(255, 207, 98, 0.26), transparent 28%),
        linear-gradient(180deg, #fff2e7 0%, #f9dfd5 100%);
}

.age-banner {
    width: min(34rem, 100%);
    padding: 2rem 1.8rem;
    text-align: center;
    border-radius: 2rem;
    background: linear-gradient(145deg, rgba(255, 250, 245, 0.96), rgba(255, 238, 230, 0.92));
    border: 1px solid rgba(255, 148, 71, 0.16);
    box-shadow: 0 26px 60px rgba(95, 38, 67, 0.16);
}

.age-banner .eyebrow {
    margin-bottom: 0.85rem;
}

.age-banner h1 {
    margin-bottom: 0.9rem;
    font-size: clamp(2rem, 5vw, 3.4rem);
}

.age-banner-copy {
    margin: 0 auto 1.4rem;
    max-width: 27rem;
    color: var(--muted);
    font-size: 1.02rem;
}

.age-legal-links {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.age-banner-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.age-button {
    justify-content: center;
    text-align: center;
    font-size: 1.06rem;
    padding: 1rem 1.2rem;
}

.age-copy .age-note {
    margin-top: 1.2rem;
    max-width: 38rem;
    font-size: 0.97rem;
    color: var(--muted);
}

.denied-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 0;
}

.denied-panel {
    width: min(760px, calc(100% - 2rem));
    padding: 2.5rem;
    border-radius: 2rem;
    background: rgba(255, 250, 244, 0.88);
    box-shadow: var(--shadow);
}

.office-panel {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    border-radius: 2.6rem 7rem 2rem 5rem;
    box-shadow: var(--shadow);
}

.office-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.office-panel .overlay {
    position: absolute;
    inset: auto 1rem 1rem 1rem;
    padding: 1rem;
    border-radius: 1.4rem;
    background: linear-gradient(145deg, rgba(255, 248, 239, 0.9), rgba(255, 234, 225, 0.82));
}

.map-shell {
    min-height: 20rem;
}

.map-shell .functional-frame {
    min-height: 24rem;
}

.small-muted {
    font-size: 0.92rem;
    color: var(--muted);
}

@media (max-width: 960px) {
    .hero-copy,
    .age-copy,
    .story-copy,
    .contact-copy,
    .col-copy,
    .hero-media,
    .age-media,
    .story-media,
    .contact-media,
    .col-media,
    .span-4,
    .span-5,
    .span-6,
    .span-7,
    .span-8 {
        grid-column: 1 / -1;
    }

    .games-grid,
    .footer-grid,
    .form-grid,
    .support-card-grid {
        grid-template-columns: 1fr;
    }

    .brand-row,
    .cookie-option {
        align-items: flex-start;
        flex-direction: column;
    }

    .cookie-banner {
        grid-template-columns: 1fr;
    }

    .art-banner {
        min-height: 18rem;
    }

    .main-nav {
        gap: 0.75rem;
    }
}

@media (max-width: 640px) {
    .hero,
    .age-shell,
    .section,
    .site-header,
    .site-footer {
        width: min(100% - 1.2rem, 1180px);
    }

    .cookie-banner {
        inset: auto 0.6rem 0.6rem 0.6rem;
        max-width: calc(100% - 1.2rem);
    }

    .main-nav {
        width: 100%;
        justify-content: space-between;
        gap: 0.45rem;
        font-size: 0.92rem;
    }

    .main-nav a {
        padding-inline: 0.7rem;
    }

    h1 {
        font-size: clamp(2.3rem, 11vw, 3.8rem);
    }

    h2 {
        font-size: clamp(1.9rem, 8vw, 2.8rem);
    }

    .brand-row {
        border-radius: 1.6rem;
    }

    .media-note {
        width: calc(100% - 2rem);
    }

    .age-banner {
        padding: 1.6rem 1.1rem;
        border-radius: 1.5rem;
    }

    .age-banner-actions {
        grid-template-columns: 1fr;
    }
}
