:root {
    --navy: #27484f;
    --navy-dark: #07191c;
    --yellow: #fdb71a;
    --sand: #e3ddd2;
    --text: #202020;
    --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: "Roboto", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.5;
}
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(1500px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 86px 0; }
h1, h2 { color: var(--navy); text-transform: uppercase; line-height: 1.15; }
h1 { margin: 0 0 24px; font-size: clamp(30px, 2.6vw, 45px); }
h2 { margin: 0 0 60px; text-align: center; font-size: clamp(30px, 2.6vw, 45px); }
p { margin: 0 0 24px; }
.center { margin-top: 54px; text-align: center; }
.button {
    display: inline-flex;
    min-width: 290px;
    min-height: 70px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: var(--navy);
    font-weight: 700;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
    transition: transform .2s, background-color .2s;
}
.button:hover { background: #173c43; transform: translateY(-2px); }
.hero { background: var(--navy); }
.nav { position: relative; z-index: 2; padding-top: 48px; }
.nav-links { display: flex; gap: 50px; }
.nav a { color: var(--white); font-weight: 700; text-decoration: none; text-transform: uppercase; }
.nav a:hover { color: var(--yellow); }
.nav-toggle { display: none; }
.hero-art { height: min(760px, 50vw); display: grid; place-items: center; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; }
.event-fact { display: flex; gap: 18px; align-items: center; margin: 19px 0; color: var(--navy); }
.event-fact .material-symbols-rounded {
    width: 30px;
    flex: 0 0 30px;
    font-size: 30px;
    font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 32;
}
.registration { background: var(--sand); }
.form-wrap { max-width: 1500px; }
.registration-form { display: grid; gap: 20px; }
.attendance-details { display: grid; gap: 20px; }
.attendance-details[hidden],
[data-hotel-info][hidden] { display: none; }
.registration-form > input:not([type="checkbox"]):not([type="radio"]),
.attendance-details > input:not([type="checkbox"]):not([type="radio"]),
.registration-form textarea,
fieldset {
    width: 100%;
    margin: 0;
    padding: 18px 28px;
    border: 2px solid var(--navy);
    border-radius: 999px;
    color: var(--text);
    background: transparent;
}
.registration-form textarea { min-height: 68px; resize: vertical; border-radius: 34px; }
.registration-form input::placeholder, .registration-form textarea::placeholder { color: var(--text); opacity: 1; }
.registration-form.was-validated input:not([type="radio"]):not([type="checkbox"]):invalid,
.registration-form.was-validated textarea:invalid,
.registration-form.was-validated fieldset:has(input:invalid) {
    border-color: #c62828;
}
.registration-form.was-validated input:not([type="radio"]):not([type="checkbox"]):invalid,
.registration-form.was-validated textarea:invalid {
    box-shadow: 0 0 0 1px #c62828;
}
.registration-form.was-validated .consent:has(input:invalid) {
    color: #b71c1c;
}
.registration-form.was-validated .consent input:invalid {
    border-color: #c62828;
    box-shadow: none;
}
.registration-form.was-validated input:not([type="radio"]):not([type="checkbox"]):invalid:focus,
.registration-form.was-validated textarea:invalid:focus {
    outline: 3px solid rgba(198, 40, 40, .18);
    outline-offset: 2px;
}
fieldset { padding-bottom: 22px; }
legend {
    width: auto;
    max-width: calc(100% - 32px);
    margin-left: 8px;
    padding: 0 8px;
}
.choices { display: flex; flex-wrap: wrap; gap: 18px 44px; padding-top: 12px; }
.choices label, .consent { display: flex; align-items: center; gap: 16px; cursor: pointer; }
input[type="radio"], input[type="checkbox"] {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    margin: 0;
    accent-color: var(--navy);
}
.consent input[type="checkbox"] {
    appearance: none;
    border: 2px solid var(--navy);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}
.consent input[type="checkbox"]:checked {
    background: radial-gradient(circle, var(--navy) 0 43%, transparent 47%);
}
.consent input[type="checkbox"]:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}
.consent { align-items: flex-start; margin: 14px 4px; }
.admin-info { margin: 0 4px; font-weight: 700; }
.text-button { padding: 0; border: 0; color: inherit; background: none; font-weight: inherit; text-decoration: underline; cursor: pointer; }
.submit { justify-self: start; margin-top: 16px; text-transform: uppercase; }
.honeypot { position: absolute !important; left: -99999px !important; }
.notice { margin: -30px 0 32px; padding: 18px 24px; border-radius: 10px; font-weight: 600; }
.notice.success { color: #164c31; background: #dff2e7; }
.notice.error { color: #7b2222; background: #f5dddd; }
.agenda-card {
    width: min(1100px, 90%);
    margin: auto;
    padding: 54px clamp(30px, 9vw, 170px);
    border-radius: 150px;
    background: var(--yellow);
}
.agenda-card h3 { margin: 0 0 30px; color: white; text-align: center; font-size: 28px; text-transform: uppercase; }
.agenda-card dl { width: fit-content; margin: auto; font-weight: 700; text-transform: uppercase; }
.agenda-card dl div { display: grid; grid-template-columns: 150px 1fr; }
.agenda-card dt, .agenda-card dd { margin: 0; }
.location-head { background: var(--sand); }
.location-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; }
.location-grid h2 { grid-column: 2; margin: 0; }
.location-grid address { grid-column: 1; grid-row: 1; font-size: 26px; font-style: normal; }
.map { display: block; height: 600px; overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; pointer-events: none; }
.directions h2 { margin-bottom: 48px; }
.direction-label { display: inline-block; padding: 12px 34px; border-radius: 999px; background: var(--yellow); }
.directions ul { padding-left: 28px; list-style: none; }
.directions li::before { content: "●"; margin-right: 18px; color: var(--navy); }
.history { background: var(--navy-dark); }
.history { width: 100%; overflow: hidden; }
.history img {
    width: 100vw;
    max-width: none;
    height: auto;
}
.modal { width: min(720px, calc(100% - 32px)); padding: 46px; border: 0; border-radius: 20px; box-shadow: 0 25px 80px #0007; }
.modal::backdrop { background: #07191ccc; }
.modal h2 { margin-bottom: 28px; font-size: 28px; text-align: left; }
.modal-close { position: absolute; top: 14px; right: 20px; border: 0; background: none; font-size: 38px; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 800px) {
    body { font-size: 16px; }
    .container { width: min(100% - 32px, 650px); }
    .section { padding: 58px 0; }
    h2 { margin-bottom: 38px; }
    .nav { padding-top: 18px; }
    .nav-toggle { display: grid; width: 48px; height: 48px; margin-left: auto; padding: 12px; border: 1px solid #ffffff88; border-radius: 50%; background: transparent; place-content: center; gap: 5px; }
    .nav-toggle span:not(.sr-only) { width: 22px; height: 2px; background: white; }
    .nav-links { display: none; position: absolute; top: 74px; right: 16px; padding: 20px 24px; border-radius: 14px; background: #173c43; flex-direction: column; gap: 18px; }
    .nav-links.open { display: flex; }
    .hero-art { height: 56vw; min-height: 260px; }
    .hero-art img { object-fit: contain; }
    .intro-grid { grid-template-columns: 1fr; gap: 20px; }
    .button { min-width: 230px; min-height: 58px; }
    .registration-form > input:not([type="checkbox"]):not([type="radio"]),
    .attendance-details > input:not([type="checkbox"]):not([type="radio"]),
    .registration-form textarea,
    fieldset { padding: 15px 20px; }
    fieldset {
        padding: 12px 20px 18px;
        border-radius: 30px;
    }
    legend {
        max-width: calc(100% - 24px);
        margin-left: 10px;
        padding: 0 7px;
        line-height: 1.25;
    }
    .choices {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 18px;
        padding-top: 8px;
    }
    .choices label { min-width: 0; gap: 12px; }
    .choices label span { line-height: 1.25; }
    input[type="radio"], input[type="checkbox"] { width: 28px; height: 28px; }
    .agenda-card { width: 100%; padding: 42px 25px; border-radius: 70px; }
    .agenda-card h3 { font-size: 21px; }
    .agenda-card dl div { grid-template-columns: 115px 1fr; }
    .location-grid { grid-template-columns: 1fr; gap: 28px; }
    .location-grid h2, .location-grid address { grid-column: 1; grid-row: auto; text-align: center; }
    .location-grid h2 { order: -1; }
    .location-grid address { font-size: 21px; }
    .map { height: 420px; }
    .history img { width: 100vw; height: auto; }
}
