@font-face {
    font-family: "Inter";
    src: url("../fonts/inter.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces-italic.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --navy-950: #0b1724;
    --navy-900: #0e1d2c;
    --navy-800: #14283d;
    --navy-700: #1d3a57;
    --navy-600: #2a4d70;
    --navy-100: #e7edf3;
    --brass-600: #a87a2c;
    --brass-500: #c9953f;
    --brass-400: #d7a54a;
    --brass-100: #f7eddb;
    --paper: #faf8f4;
    --sand: #f2eee6;
    --surface: #ffffff;
    --ink: #16212c;
    --muted: #566573;
    --line: #e4dfd5;
    --success: #1f7a4d;
    --success-bg: #e7f5ed;
    --danger: #b3261e;
    --danger-bg: #fcebea;
    --radius: 14px;
    --radius-large: 22px;
    --shadow: 0 1px 2px rgb(14 29 44 / 6%), 0 10px 30px rgb(14 29 44 / 8%);
    --shadow-large: 0 2px 4px rgb(14 29 44 / 8%), 0 24px 60px rgb(14 29 44 / 18%);
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --gutter: clamp(16px, 4vw, 32px);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: var(--navy-700);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--brass-600);
}

:focus-visible {
    outline: 3px solid var(--brass-500);
    outline-offset: 3px;
    border-radius: 6px;
}

h1,
h2,
h3 {
    margin: 0 0 0.5em;
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: var(--navy-900);
    font-variation-settings: "opsz" 72;
}

h1 {
    font-size: clamp(2.3rem, 5.2vw, 3.9rem);
}

h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

h3 {
    font-size: 1.3rem;
    letter-spacing: -0.005em;
}

p {
    margin: 0 0 1em;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.narrow {
    max-width: 820px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--brass-500);
    color: var(--navy-950);
    font-weight: 600;
}

.skip:focus {
    top: 12px;
}

.icon {
    width: 1.15em;
    height: 1.15em;
    flex: none;
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(255 255 255 / 92%);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy-800);
    text-decoration: none;
    margin-right: auto;
}

.brand:hover {
    color: var(--navy-800);
}

.brand-mark {
    width: 42px;
    height: 42px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--navy-900);
}

.brand-text span {
    margin-top: 4px;
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brass-600);
}

.navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navigation ul {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navigation ul a {
    display: block;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
}

.navigation ul a:hover {
    background: var(--sand);
    color: var(--navy-900);
}

.navigation ul a[aria-current="page"] {
    background: var(--navy-100);
    color: var(--navy-800);
    font-weight: 600;
}

.navigation-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy-800);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
}

.phone .icon {
    color: var(--brass-600);
}

.menu {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: var(--navy-900);
    cursor: pointer;
}

.menu .icon {
    width: 22px;
    height: 22px;
}

.menu-close,
.menu[aria-expanded="true"] .menu-open {
    display: none;
}

.menu[aria-expanded="true"] .menu-close {
    display: block;
}

@media (max-width: 1060px) {
    .phone {
        display: none;
    }
}

@media (max-width: 900px) {
    .menu {
        display: inline-flex;
    }

    .navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px var(--gutter) 24px;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .navigation.is-open {
        display: flex;
    }

    .navigation ul {
        flex-direction: column;
    }

    .navigation ul a {
        padding: 12px 14px;
        border-radius: 10px;
        font-size: 1.05rem;
    }

    .navigation-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .navigation-actions .phone {
        display: inline-flex;
        justify-content: center;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 999px;
    }

    .navigation-actions .button {
        justify-content: center;
    }
}

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--brass-500);
    color: var(--navy-950);
    font: inherit;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
    background: var(--brass-400);
    color: var(--navy-950);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgb(201 149 63 / 30%);
}

.button-small {
    padding: 10px 18px;
    font-size: 0.93rem;
}

.button-dark {
    background: var(--navy-800);
    color: #fff;
}

.button-dark:hover {
    background: var(--navy-700);
    color: #fff;
    box-shadow: 0 8px 20px rgb(20 40 61 / 25%);
}

.button-ghost {
    background: transparent;
    border-color: rgb(255 255 255 / 35%);
    color: #fff;
}

.button-ghost:hover {
    background: rgb(255 255 255 / 10%);
    color: #fff;
    box-shadow: none;
}

.button-outline {
    background: transparent;
    border-color: var(--navy-800);
    color: var(--navy-800);
}

.button-outline:hover {
    background: var(--navy-800);
    color: #fff;
    box-shadow: none;
}

.button .icon {
    width: 1.1em;
    height: 1.1em;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 8vw, 104px) 0 clamp(96px, 11vw, 144px);
    background:
        radial-gradient(1000px 500px at 85% 10%, rgb(201 149 63 / 18%), transparent 60%),
        radial-gradient(800px 600px at 0% 100%, rgb(42 77 112 / 55%), transparent 60%),
        var(--navy-900);
    color: #d9e2ea;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
    -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.hero h1 {
    color: #fff;
    margin-bottom: 0.4em;
}

.hero h1 em {
    font-style: italic;
    font-weight: 500;
    color: var(--brass-400);
}

.hero-lead {
    max-width: 36em;
    font-size: 1.15rem;
    color: #c5d1dc;
}

.hero .actions {
    margin-top: 32px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0 0;
    font-size: 0.95rem;
    color: #aebdcb;
}

.hero-note .icon {
    color: var(--brass-400);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brass-600);
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
}

.hero .eyebrow,
.page-hero .eyebrow,
.band .eyebrow {
    color: var(--brass-400);
}

/* Report illustration */

.report {
    position: relative;
    padding: 22px;
    border-radius: var(--radius-large);
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-large);
    transform: rotate(1.5deg);
}

.report::after {
    content: "";
    position: absolute;
    inset: 14px -14px -14px 14px;
    z-index: -1;
    border-radius: var(--radius-large);
    background: rgb(255 255 255 / 8%);
    border: 1px solid rgb(255 255 255 / 12%);
}

.report-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.report-head div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.report-head strong {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--navy-900);
}

.report-head div span {
    font-size: 0.85rem;
    color: var(--muted);
}

.report-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--navy-100);
    color: var(--navy-700);
}

.report-badge {
    margin-left: auto;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--success-bg);
    color: var(--success);
    font-size: 0.78rem;
    font-weight: 700;
}

.report-scene {
    margin: 16px 0;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #dce8f2, #f3f0e8);
}

.report-scene svg {
    width: 100%;
    height: auto;
}

.report-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.report-steps li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.report-steps .icon {
    padding: 3px;
    border-radius: 50%;
    background: var(--success-bg);
    color: var(--success);
}

/* Stats */

.stats {
    position: relative;
    z-index: 2;
    margin-top: calc(-1 * clamp(56px, 7vw, 80px));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: var(--radius-large);
    background: var(--surface);
    box-shadow: var(--shadow-large);
}

.stat {
    padding: 28px 24px;
    text-align: center;
}

.stat + .stat {
    border-left: 1px solid var(--line);
}

.stat strong {
    display: block;
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--navy-800);
}

.stat span {
    display: block;
    margin-top: 6px;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Sections */

.section {
    padding: clamp(64px, 9vw, 112px) 0;
}

.section-sand {
    background: var(--sand);
}

.section-white {
    background: var(--surface);
}

.section-head {
    max-width: 720px;
    margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

.section-head.center .eyebrow::after {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
}

.lead {
    font-size: 1.15rem;
    color: var(--muted);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}

.quote {
    margin: 28px 0 0;
    padding: 4px 0 4px 22px;
    border-left: 3px solid var(--brass-500);
    font-family: var(--serif);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.45;
    color: var(--navy-800);
}

.checks {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.checks li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.checks .icon {
    margin-top: 3px;
    padding: 4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brass-100);
    color: var(--brass-600);
}

.checks strong {
    display: block;
    color: var(--navy-900);
}

.checks span {
    color: var(--muted);
    font-size: 0.97rem;
}

.panel {
    padding: clamp(28px, 4vw, 40px);
    border-radius: var(--radius-large);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.panel h3 {
    margin-bottom: 20px;
}

/* Cards */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 20px;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.card:hover {
    color: inherit;
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: var(--shadow-large);
}

.card h3 {
    margin-bottom: 8px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
}

.card-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--navy-100);
    color: var(--navy-700);
}

.card-icon .icon {
    width: 24px;
    height: 24px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 18px;
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--navy-700);
}

a.card:hover .card-link {
    color: var(--brass-600);
}

/* Fees */

.fee-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.fee-card {
    padding: 28px;
    border-radius: var(--radius-large);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.fee-card.featured {
    border-color: var(--navy-800);
    box-shadow: 0 0 0 1px var(--navy-800), var(--shadow);
}

.fee-card h2,
.fee-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.fee-from {
    margin: 0 0 18px;
    font-size: 0.9rem;
    color: var(--muted);
}

.fee-from strong {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--navy-800);
}

.fee-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.fee-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 0.97rem;
}

.fee-list li:last-child {
    border-bottom: 0;
}

.fee-list strong {
    font-variant-numeric: tabular-nums;
    color: var(--navy-900);
    white-space: nowrap;
}

.callout {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
    padding: 24px 28px;
    border-radius: var(--radius-large);
    background: var(--brass-100);
    border: 1px solid #ecd8b4;
    color: var(--navy-900);
}

.callout .card-icon {
    margin: 0;
    background: var(--brass-500);
    color: var(--navy-950);
}

.callout p {
    margin: 0;
}

.callout strong {
    font-family: var(--serif);
    font-size: 1.25rem;
}

.callout .actions {
    margin-left: auto;
}

.note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 22px;
    border-radius: var(--radius);
    background: var(--navy-100);
    color: var(--navy-800);
    font-size: 0.97rem;
}

.note .icon {
    margin-top: 3px;
    color: var(--navy-600);
}

.note p {
    margin: 0;
}

a[href^="tel:"] {
    white-space: nowrap;
}

.spaced {
    margin-top: 24px;
}

.spaced-bottom {
    margin-bottom: 28px;
}

/* Page hero */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 7vw, 88px) 0 clamp(44px, 6vw, 72px);
    background:
        radial-gradient(700px 360px at 90% 0%, rgb(201 149 63 / 16%), transparent 60%),
        var(--navy-900);
    color: #c5d1dc;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, transparent, #000 70%);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
}

.page-hero .lead {
    max-width: 40em;
    margin: 0;
    color: #c5d1dc;
}

.page-hero a,
.page-hero a:hover {
    color: var(--brass-400);
}

/* Coverage */

.counties {
    display: grid;
    gap: 16px;
}

.county {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 22px 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
}

.county .card-icon {
    margin: 0;
    background: var(--brass-100);
    color: var(--brass-600);
}

.county h2,
.county h3 {
    margin: 0 0 2px;
    font-size: 1.3rem;
}

.county p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.map {
    padding: 20px;
    border-radius: var(--radius-large);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.map svg {
    width: 100%;
    height: auto;
}

.map figcaption {
    margin-top: 8px;
    font-size: 0.82rem;
    color: var(--muted);
    text-align: center;
}

.map-label {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 600;
    fill: var(--navy-900);
}

.map-label-light {
    fill: #fff;
}

.map-small {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    fill: var(--muted);
}

.map-city {
    fill: #fff;
}

/* Purpose */

.purpose-list {
    display: grid;
    gap: 20px;
}

.purpose {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    padding: clamp(24px, 4vw, 36px);
    border-radius: var(--radius-large);
    background: var(--surface);
    border: 1px solid var(--line);
}

.purpose .card-icon {
    margin: 0;
    width: 56px;
    height: 56px;
}

.purpose h2 {
    font-size: 1.6rem;
}

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

.purpose p {
    color: #3b4a58;
}

.aside-nav {
    position: sticky;
    top: 104px;
}

.aside-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border-left: 2px solid var(--line);
}

.aside-nav a {
    display: block;
    margin-left: -2px;
    padding: 8px 16px;
    border-left: 2px solid transparent;
    color: var(--muted);
    font-weight: 500;
    text-decoration: none;
}

.aside-nav a:hover {
    border-left-color: var(--brass-500);
    color: var(--navy-900);
}

.aside-nav h2 {
    margin-bottom: 12px;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.with-aside {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.contact-cards {
    display: grid;
    gap: 16px;
}

.contact-card {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 22px 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

a.contact-card:hover {
    color: inherit;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.contact-card .card-icon {
    margin: 0;
}

.contact-card div span {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-card strong {
    font-size: 1.15rem;
    color: var(--navy-900);
    overflow-wrap: anywhere;
}

/* Forms */

.form {
    display: grid;
    gap: 28px;
}

.form-section {
    margin: 0;
    padding: clamp(22px, 4vw, 32px);
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
    background: var(--surface);
}

.form-section > legend {
    float: left;
    width: 100%;
    margin-bottom: 20px;
    padding: 0;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--navy-900);
}

.form-section > legend span {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--navy-800);
    color: #fff;
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 700;
    vertical-align: 3px;
}

.fields {
    clear: both;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px 20px;
}

.field {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

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

.field.third {
    grid-column: span 2;
}

.field label,
.field legend {
    padding: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--navy-900);
}

.required {
    color: var(--danger);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid #cfd6dd;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
    resize: vertical;
    min-height: 130px;
}

.field select {
    appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2314283d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: #9fb0c0;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--navy-600);
    box-shadow: 0 0 0 4px rgb(42 77 112 / 15%);
}

.has-error input,
.has-error select,
.has-error textarea {
    border-color: var(--danger);
}

.error {
    margin: 0;
    font-size: 0.87rem;
    font-weight: 500;
    color: var(--danger);
}

.choices {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.choice {
    position: relative;
    cursor: pointer;
}

.choice input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.choice span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 20px;
    border: 1px solid #cfd6dd;
    border-radius: 999px;
    background: #fff;
    font-weight: 500;
    transition: all 0.15s ease;
}

.choice span::before {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid #9fb0c0;
    border-radius: 50%;
    transition: all 0.15s ease;
}

.choice input:checked + span {
    border-color: var(--navy-800);
    background: var(--navy-100);
    color: var(--navy-900);
}

.choice input:checked + span::before {
    border-color: var(--navy-800);
    background: var(--navy-800);
    box-shadow: inset 0 0 0 3px #fff;
}

.choice input:focus-visible + span {
    outline: 3px solid var(--brass-500);
    outline-offset: 2px;
}

.trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.form-footer p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
}

.alert {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding: 20px 24px;
    border-radius: var(--radius);
    border: 1px solid;
}

.alert .icon {
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.alert p {
    margin: 0;
}

.alert strong {
    display: block;
    font-size: 1.05rem;
}

.alert-success {
    background: var(--success-bg);
    border-color: #b8e0c9;
    color: #155a38;
}

.alert-error {
    background: var(--danger-bg);
    border-color: #f2c2bf;
    color: #8c1d17;
}

/* Band */

.band {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 6vw, 72px);
    border-radius: 28px;
    background:
        radial-gradient(600px 300px at 100% 0%, rgb(201 149 63 / 25%), transparent 60%),
        var(--navy-800);
    color: #c5d1dc;
}

.band-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
}

.band h2 {
    color: #fff;
    margin-bottom: 0.3em;
}

.band p {
    margin: 0;
    max-width: 34em;
}

/* Print form */

.sheet {
    padding: clamp(24px, 5vw, 56px);
    border-radius: var(--radius-large);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.sheet-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--navy-800);
}

.sheet-head h2 {
    margin: 0;
    font-size: 1.8rem;
}

.sheet-head > p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
    text-align: right;
}

.sheet-section {
    margin: 24px 0 8px;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brass-600);
}

.sheet-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px 24px;
}

.line {
    grid-column: span 3;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    min-height: 44px;
    padding-bottom: 4px;
    border-bottom: 1px solid #9aa7b3;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--navy-900);
    white-space: nowrap;
}

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

.line.third {
    grid-column: span 2;
}

.line.blank {
    min-height: 36px;
}

.circle {
    display: inline-flex;
    gap: 18px;
    font-weight: 500;
}

.circle span {
    padding: 0 10px;
    border: 1px solid #9aa7b3;
    border-radius: 999px;
}

.line.plain {
    border-bottom: 0;
}

.sheet-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
    color: var(--muted);
}

/* Footer */

.footer {
    color: #aebdcb;
}

.skyline {
    width: 100%;
    height: 70px;
    color: var(--navy-900);
    margin-bottom: -1px;
}

.footer-body {
    padding: 56px 0 28px;
    background: var(--navy-900);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.2fr 0.9fr 1fr;
    gap: 40px;
}

.footer-name {
    margin-bottom: 12px;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.footer-tagline {
    font-family: var(--serif);
    font-style: italic;
    color: var(--brass-400);
}

.footer-heading {
    margin-bottom: 16px;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
}

.footer-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.97rem;
}

.footer-list a,
.footer-list span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #c5d1dc;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer-list a:hover {
    color: var(--brass-400);
}

.footer-list .icon {
    color: var(--brass-400);
}

.footer-bottom {
    margin-top: 48px;
    font-size: 0.88rem;
}

.footer-bottom p {
    margin: 0;
    padding-top: 24px;
    border-top: 1px solid rgb(255 255 255 / 10%);
}

/* Responsive */

@media (max-width: 1024px) {
    .fee-grid {
        grid-template-columns: 1fr;
        max-width: 640px;
        margin-inline: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .split,
    .contact-grid,
    .with-aside {
        grid-template-columns: 1fr;
    }

    .report {
        max-width: 480px;
        transform: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat:nth-child(3) {
        border-left: 0;
    }

    .stat:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .aside-nav {
        display: none;
    }

    .band-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 1rem;
    }

    .fields,
    .sheet-grid {
        grid-template-columns: 1fr;
    }

    .field,
    .field.third,
    .line,
    .line.third {
        grid-column: 1 / -1;
    }

    .purpose {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .callout {
        flex-direction: column;
        align-items: flex-start;
    }

    .callout .actions {
        margin-left: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero .actions .button {
        flex: 1 1 100%;
        justify-content: center;
    }

    .report-steps {
        grid-template-columns: 1fr;
    }

    .band {
        padding: 36px 24px;
        border-radius: 20px;
    }

    .sheet-head > p {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}

@media print {
    @page {
        size: letter;
        margin: 0.5in;
    }

    body {
        background: #fff;
        font-size: 11pt;
    }

    .header,
    .footer,
    .page-hero,
    .no-print,
    .skip {
        display: none !important;
    }

    .section {
        padding: 0;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    .sheet {
        padding: 0;
        border: 0;
        box-shadow: none;
    }

    .line {
        min-height: 34px;
        break-inside: avoid;
    }

    .line.blank {
        min-height: 28px;
    }

    .sheet-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .line.third {
        grid-column: span 2;
    }

    .line {
        grid-column: span 3;
    }

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