@import url("fonts.css");

:root {
    --brand-blue: #0090e2;
    --accessible-blue: #0077bd;
    --dark-blue: #006591;
    --brand-red: #ff0000;
    --accessible-red: #e70000;
    --dark-red: #910000;
    --dough-100: #fefaf6;
    --dough-200: #faf2e9;
    --dough-300: #f0decc;
    --dough-700: #c0a58b;
    --lava-800: #8f6c4b;
    --lava-1000: #603713;
    --lava-1100: #472b10;
    --success: #2f7d4e;
    --success-bg: #eef8f2;
    --warning-bg: #fff0df;
    --page-max: 1120px;
    --soft-shadow: 0 18px 48px rgba(71, 43, 16, 0.10);
    --tight-shadow: 0 8px 20px rgba(71, 43, 16, 0.10);
    --header-font: "Dominos Sans Header 1", "Arial Narrow", Impact, sans-serif;
    --header-2-font: "Dominos Sans Header 2", "Arial Narrow", Impact, sans-serif;
    --body-font: "Dominos Sans Body", Arial, Helvetica, sans-serif;
    --bold-font: "Dominos Sans Bold", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    background: var(--dough-100);
    color: var(--lava-1100);
    font-family: var(--body-font);
    line-height: 1.48;
    text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; }
a { color: var(--accessible-blue); }
img { max-width: 100%; }

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 8px;
    left: 8px;
    transform: translateY(-150%);
    background: var(--lava-1100);
    color: var(--dough-100);
    padding: 10px 14px;
    border-radius: 4px;
}
.skip-link:focus { transform: translateY(0); }

.brand-stripe {
    height: 9px;
    background: linear-gradient(90deg, var(--brand-blue) 0 67%, var(--brand-red) 67% 100%);
}
.site-header {
    position: relative;
    z-index: 5;
    background: var(--dough-100);
    border-bottom: 1px solid var(--dough-300);
}
.header-inner {
    width: min(var(--page-max), calc(100% - 40px));
    min-height: 118px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    color: inherit;
    text-decoration: none;
}
.brand-mark {
    width: 86px;
    height: 96px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 5px 4px rgba(71,43,16,.08));
}
.brand-wording { line-height: 1; }
.brand-wording strong {
    display: block;
    color: var(--dark-blue);
    font-family: var(--header-2-font);
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    line-height: .9;
    letter-spacing: -.02em;
    text-transform: uppercase;
}
.brand-wording span {
    display: block;
    margin-top: 8px;
    color: var(--lava-800);
    font-family: var(--bold-font);
    font-size: .78rem;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    background: var(--accessible-red);
    color: #fff;
    font-family: var(--bold-font);
    font-size: .92rem;
    letter-spacing: .03em;
    text-decoration: none;
    text-transform: uppercase;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px));
    transition: transform .15s ease, background .15s ease;
}
.header-cta:hover { background: var(--dark-red); transform: translateY(-1px); }
.header-cta:focus-visible { outline: 4px solid rgba(0,119,189,.3); outline-offset: 3px; }

main { overflow: hidden; }
.hero-wrap {
    position: relative;
    width: min(var(--page-max), calc(100% - 40px));
    margin: 34px auto 26px;
}
.hero {
    position: relative;
    min-height: 460px;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
    gap: 0;
}
.hero-main {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 420px;
    padding: clamp(36px, 7vw, 74px) clamp(30px, 7vw, 76px);
    padding-right: clamp(50px, 10vw, 130px);
    background: var(--brand-blue);
    color: #fff;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 32px 100%, 0 calc(100% - 32px));
    box-shadow: var(--soft-shadow);
}
.hero h1 {
    max-width: 760px;
    margin: 0;
    font-family: var(--header-font);
    font-size: clamp(3.4rem, 8.8vw, 7.2rem);
    font-weight: 900;
    line-height: .76;
    letter-spacing: -.035em;
    text-transform: uppercase;
}
.hero-intro {
    max-width: 680px;
    margin: 24px 0 0;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.45;
}
.hero-side {
    position: relative;
    z-index: 2;
    margin-left: -74px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-notice {
    position: relative;
    width: min(340px, 100%);
    min-height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 28px 34px 38px;
    background: var(--brand-red);
    color: #fff;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 28px 100%, 0 calc(100% - 28px));
    box-shadow: 0 20px 44px rgba(145,0,0,.23);
    transform: none;
}
.hero-notice::before {
    content: "PLAN AHEAD";
    position: absolute;
    top: 24px;
    left: 34px;
    padding: 7px 12px 6px;
    background: var(--dark-blue);
    color: #fff;
    font-family: var(--bold-font);
    font-size: .74rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 999px;
}
.notice-number-row { display: flex; align-items: flex-end; gap: 10px; margin-top: 46px; }
.notice-number {
    font-family: var(--header-font);
    font-size: clamp(5.2rem, 10vw, 8rem);
    line-height: .68;
    letter-spacing: -.04em;
}
.notice-days {
    padding-bottom: 7px;
    font-family: var(--header-2-font);
    font-size: 2rem;
    line-height: .8;
    text-transform: uppercase;
}
.hero-notice p { margin: 20px 0 0; font-family: var(--bold-font); font-size: 1rem; line-height: 1.35; }

.quick-facts {
    width: min(var(--page-max), calc(100% - 40px));
    margin: 0 auto 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--dough-300);
    background: var(--dough-200);
    box-shadow: var(--tight-shadow);
}
.fact {
    min-height: 104px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
    column-gap: 16px;
    padding: 22px 24px 20px;
    border-right: 1px solid var(--dough-300);
}
.fact:last-child { border-right: 0; }
.fact-icon {
    width: 46px;
    height: 46px;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    background: var(--dough-100);
    color: var(--accessible-blue);
    box-shadow: 0 3px 8px rgba(71, 43, 16, .06);
}
.fact-icon-details { color: var(--accessible-red); }
.fact-icon-review { color: var(--accessible-blue); }
.fact-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.45;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
    margin: 0;
    transform: none;
}

.fact > div { padding-top: 1px; }
.fact strong {
    display: block;
    font-family: var(--bold-font);
    color: var(--lava-1000);
    line-height: 1.15;
}
.fact span {
    display: block;
    margin-top: 5px;
    color: var(--lava-800);
    font-size: .89rem;
    line-height: 1.38;
}

.community-focus {
    width: min(var(--page-max), calc(100% - 40px));
    margin: 0 auto 36px;
    display: grid;
    grid-template-columns: 240px 1fr;
    border: 1px solid var(--dough-300);
    background: var(--dough-100);
    box-shadow: var(--tight-shadow);
}
.focus-title {
    display: flex;
    align-items: center;
    padding: 24px 28px;
    background: var(--dark-blue);
    color: #fff;
    font-family: var(--header-2-font);
    font-size: 1.7rem;
    line-height: .9;
    text-transform: uppercase;
    clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 50%, 100% 100%, 0 100%);
}
.focus-copy { padding: 25px 30px 25px 38px; color: var(--lava-1000); font-size: 1rem; }
.focus-copy p { margin: 0; }

.alert {
    width: min(var(--page-max), calc(100% - 40px));
    margin: 0 auto 24px;
    padding: 24px 28px;
    background: var(--dough-100);
    border: 2px solid var(--dough-300);
    box-shadow: var(--tight-shadow);
}
.alert.error { border-left: 8px solid var(--accessible-red); }
.alert.success { border-left: 8px solid var(--success); background: var(--success-bg); }
.alert h2 { margin: 0 0 8px; color: var(--dark-blue); font-family: var(--header-2-font); font-size: 1.8rem; line-height: .9; text-transform: uppercase; }
.alert p { margin: 7px 0; }
.alert ul { margin: 10px 0 0 20px; padding: 0; }
.request-id {
    display: inline-block;
    margin: 8px 0;
    padding: 8px 12px;
    background: var(--dark-blue);
    color: #fff;
    font-family: var(--bold-font);
    letter-spacing: .04em;
}

.form-shell {
    width: min(var(--page-max), calc(100% - 40px));
    margin: 0 auto 56px;
    border: 1px solid var(--dough-300);
    background: var(--dough-100);
    box-shadow: var(--soft-shadow);
}
.form-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: var(--dark-blue);
    border-bottom: 4px solid var(--brand-red);
}
.form-nav a {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    padding: 10px 8px;
    color: rgba(255,255,255,.78);
    font-family: var(--bold-font);
    font-size: .78rem;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .15s ease, color .15s ease;
}
.form-nav a:hover,
.form-nav a.is-active { color: #fff; background: rgba(255,255,255,.12); }
.form-nav-number {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: .74rem;
}
.form-nav a.is-active .form-nav-number { background: var(--brand-red); }

.form-section {
    scroll-margin-top: 78px;
    padding: clamp(34px, 6vw, 64px) clamp(24px, 6vw, 66px);
    border-bottom: 1px solid var(--dough-300);
}
.form-section:last-of-type { border-bottom: 0; }
.section-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    margin-bottom: 32px;
}
.section-number {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    background: var(--accessible-red);
    color: #fff;
    font-family: var(--header-font);
    font-size: 2.2rem;
    line-height: 1;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px));
}
.section-title-box {
    position: relative;
    width: fit-content;
    min-width: min(100%, 470px);
    padding: 14px 46px 15px 20px;
    background: var(--brand-blue);
    color: #fff;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
}
.section-title-box h2 {
    margin: 0;
    font-family: var(--header-2-font);
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    line-height: .88;
    letter-spacing: -.015em;
    text-transform: uppercase;
}
.section-intro {
    grid-column: 2;
    max-width: 760px;
    margin: -10px 0 0;
    color: var(--lava-800);
    font-size: .95rem;
}

.request-type-title {
    margin: 0 0 13px;
    color: var(--lava-1000);
    font-family: var(--bold-font);
    font-size: 1rem;
}
.required::after { content: " *"; color: var(--accessible-red); }
.type-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}
.type-card { position: relative; display: block; }
.type-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.type-card-ui {
    min-height: 126px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    border: 2px solid var(--dough-300);
    background: var(--dough-100);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.type-card-ui::before {
    content: "";
    width: 14px;
    height: 14px;
    margin-bottom: 12px;
    border: 3px solid var(--dough-700);
    border-radius: 50%;
    background: transparent;
}
.type-card:hover .type-card-ui { transform: translateY(-2px); border-color: var(--accessible-blue); box-shadow: var(--tight-shadow); }
.type-card input:focus-visible + .type-card-ui { outline: 4px solid rgba(0,119,189,.22); outline-offset: 2px; }
.type-card input:checked + .type-card-ui { border-color: var(--accessible-blue); background: #eef8fd; box-shadow: inset 0 -5px 0 var(--brand-blue); }
.type-card input:checked + .type-card-ui::before { border-color: var(--accessible-blue); box-shadow: inset 0 0 0 3px #eef8fd; background: var(--accessible-blue); }
.type-card strong { color: var(--dark-blue); font-family: var(--bold-font); line-height: 1.08; }
.type-card small { display: block; margin-top: 8px; color: var(--lava-800); font-size: .78rem; line-height: 1.32; }

.field-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.field { grid-column: span 6; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field.third { grid-column: span 4; }
.field.quarter { grid-column: span 3; }
.date-field input { max-width: calc(50% - 10px); }
.date-field .help, .date-field .date-warning { max-width: calc(50% - 10px); }
label.field-label {
    display: block;
    margin-bottom: 7px;
    color: var(--lava-1000);
    font-family: var(--bold-font);
    font-size: .94rem;
}
.help { margin: 6px 0 0; color: var(--lava-800); font-size: .80rem; line-height: 1.35; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="date"], select, textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 2px solid var(--dough-700);
    border-radius: 0;
    background: #fff;
    color: var(--lava-1100);
    font-family: var(--body-font);
    font-size: 1rem;
    box-shadow: inset 0 1px 0 rgba(71,43,16,.02);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
textarea { min-height: 132px; resize: vertical; }
select { cursor: pointer; }
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accessible-blue);
    box-shadow: 0 0 0 4px rgba(0,119,189,.14);
}
input::placeholder, textarea::placeholder { color: #9c8168; opacity: 1; }

.sub-panel {
    grid-column: 1 / -1;
    padding: 22px;
    background: var(--dough-200);
    border-left: 5px solid var(--accessible-blue);
}
.sub-panel-title {
    margin: 0 0 18px;
    color: var(--dark-blue);
    font-family: var(--bold-font);
    font-size: .92rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.conditional { display: none; }
.conditional.is-visible { display: block; }
.conditional.field-grid.is-visible { display: grid; }
.date-warning {
    display: none;
    margin-top: 9px;
    padding: 11px 13px;
    background: var(--warning-bg);
    border-left: 4px solid var(--accessible-red);
    color: var(--dark-red);
    font-family: var(--bold-font);
    font-size: .84rem;
    line-height: 1.35;
}
.date-warning.is-visible { display: block; }

.upload-zone {
    position: relative;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px;
    border: 2px dashed var(--dough-700);
    background: var(--dough-200);
    text-align: center;
    transition: border-color .15s ease, background .15s ease;
}
.upload-zone.is-dragging { border-color: var(--accessible-blue); background: #eef8fd; }
.upload-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
    background: var(--dark-blue);
    color: #fff;
    font-family: var(--header-2-font);
    font-size: 1.4rem;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px));
}
.upload-zone .field-label { margin-bottom: 4px; }
.upload-zone input[type="file"] { max-width: 100%; margin-top: 14px; color: var(--lava-800); }
.file-name { margin-top: 8px; color: var(--accessible-blue); font-family: var(--bold-font); font-size: .84rem; }

.privacy-box {
    margin-top: 26px;
    padding: 20px 22px;
    background: var(--dough-200);
    border-left: 5px solid var(--dark-blue);
    color: var(--lava-1000);
    font-size: .89rem;
}
.privacy-box strong { color: var(--dark-blue); font-family: var(--bold-font); }
.check-row { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0; }
.check-row input { width: 22px; height: 22px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--accessible-blue); }
.check-row label { color: var(--lava-1000); font-size: .92rem; }
.turnstile-wrap { margin: 22px 0; display: flex; justify-content: center; }
.setup-note {
    margin: 22px 0;
    padding: 13px 15px;
    background: var(--warning-bg);
    border-left: 4px solid var(--accessible-red);
    color: var(--dark-red);
    font-size: .85rem;
}
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; }
.submit-note { max-width: 460px; color: var(--lava-800); font-size: .82rem; }
.submit-button {
    min-width: min(360px, 100%);
    min-height: 58px;
    padding: 14px 28px;
    border: 0;
    background: var(--accessible-red);
    color: #fff;
    font-family: var(--bold-font);
    font-size: 1rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px));
    box-shadow: 0 9px 0 rgba(145,0,0,.17);
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.submit-button:hover { background: var(--dark-red); transform: translateY(-1px); box-shadow: 0 10px 0 rgba(145,0,0,.14); }
.submit-button:focus-visible { outline: 4px solid rgba(0,119,189,.3); outline-offset: 4px; }
.submit-button:active { transform: translateY(2px); box-shadow: 0 6px 0 rgba(145,0,0,.15); }

.site-footer {
    padding: 36px 20px 44px;
    background: var(--dark-blue);
    color: rgba(255,255,255,.86);
    text-align: center;
    font-size: .82rem;
}
.site-footer strong { color: #fff; font-family: var(--bold-font); }
.site-footer p { max-width: 760px; margin: 6px auto; }
.hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; }

@media (max-width: 930px) {
    .hero { grid-template-columns: 1fr; }
    .hero-main { min-height: 400px; padding-right: clamp(30px, 7vw, 76px); }
    .hero-side { margin: -36px 32px 0 auto; width: min(330px, calc(100% - 64px)); }
    .hero-notice { width: 100%; min-height: 210px; transform: none; }
    .quick-facts { grid-template-columns: 1fr; }
    .fact { border-right: 0; border-bottom: 1px solid var(--dough-300); }
    .fact:last-child { border-bottom: 0; }
    .community-focus { grid-template-columns: 1fr; }
    .focus-title { clip-path: none; padding: 18px 24px; }
    .focus-copy { padding: 22px 24px; }
    .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .header-inner { width: min(100% - 24px, var(--page-max)); min-height: 94px; }
    .brand-mark { width: 66px; height: 76px; }
    .brand-wording strong { font-size: 1.55rem; }
    .brand-wording span { font-size: .68rem; }
    .header-cta { display: none; }
    .hero-wrap, .quick-facts, .community-focus, .alert, .form-shell { width: min(100% - 20px, var(--page-max)); }
    .hero-wrap { margin-top: 20px; }
    .hero-main { min-height: 340px; padding: 36px 24px 58px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 22px 100%, 0 calc(100% - 22px)); }
    .hero h1 { font-size: clamp(3.15rem, 17vw, 5.4rem); }
    .hero-intro { margin-top: 20px; font-size: 1rem; }
    .hero-side { margin: -26px 18px 0 auto; width: min(286px, calc(100% - 36px)); }
    .hero-notice { min-height: 205px; padding: 24px 26px 28px; }
    .hero-notice::before { top: 20px; left: 26px; }
    .notice-number-row { margin-top: 44px; }
    .notice-number { font-size: 5.4rem; }
    .notice-days { font-size: 1.6rem; }
    .quick-facts { margin-bottom: 24px; }
    .fact { min-height: 88px; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 17px 18px 16px; }
    .fact-icon { width: 42px; height: 42px; }
    .fact-icon svg { width: 23px; height: 23px; }
    .form-nav { overflow-x: auto; display: flex; scrollbar-width: none; }
    .form-nav::-webkit-scrollbar { display: none; }
    .form-nav a { flex: 0 0 116px; min-height: 54px; }
    .form-section { scroll-margin-top: 72px; padding: 34px 20px 40px; }
    .section-head { grid-template-columns: 46px minmax(0,1fr); gap: 12px; margin-bottom: 26px; }
    .section-number { width: 46px; height: 46px; font-size: 1.9rem; }
    .section-title-box { min-width: 0; width: 100%; padding: 12px 36px 13px 16px; }
    .section-title-box h2 { font-size: 1.65rem; }
    .section-intro { grid-column: 1 / -1; margin: 0; }
    .type-grid { grid-template-columns: 1fr; gap: 10px; }
    .type-card-ui { min-height: 105px; }
    .field, .field.third, .field.quarter { grid-column: 1 / -1; }
    .date-field input, .date-field .help, .date-field .date-warning { max-width: none; }
    .field-grid { gap: 17px; }
    .sub-panel { padding: 18px; }
    .submit-row { flex-direction: column-reverse; align-items: stretch; }
    .submit-button { width: 100%; }
    .submit-note { max-width: none; text-align: center; }
}

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