/* ==========================================================================
   Piner Imagery — design system
   Dark, cinematic surface with the brand red (#cc0000) as the single accent.
   ========================================================================== */

:root {
    /* Brand */
    --brand: #e01423;
    --brand-deep: #cc0000;
    --brand-dark: #8f0006;
    --brand-glow: rgba(224, 20, 35, 0.35);

    /* Surfaces */
    --bg: #0a0b0d;
    --bg-alt: #101216;
    --surface: #14171c;
    --surface-2: #1a1e25;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.16);

    /* Text */
    --text: #f2f4f7;
    --text-muted: #a3abb8;
    --text-dim: #767f8d;

    /* Type */
    --font-display: "Ubuntu", "Segoe UI", system-ui, sans-serif;
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Capped so the headline keeps its intended two-line break inside the 60rem hero
       column. Measured, not guessed: the longest line needs 937px at 4rem, which
       overflows; 3.875rem leaves headroom for font-fallback metric differences. */
    --step-hero: clamp(2.5rem, 1.4rem + 4.6vw, 3.875rem);
    --step-h1: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem);
    --step-h2: clamp(1.65rem, 1.25rem + 1.7vw, 2.5rem);
    --step-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
    --step-lead: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);

    /* Space */
    --gutter: clamp(1.15rem, 0.6rem + 2vw, 2.5rem);
    --section-y: clamp(4rem, 2.5rem + 5vw, 7.5rem);
    --radius: 14px;
    --radius-lg: 22px;

    --shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
    --shadow-lift: 0 26px 60px -26px rgba(0, 0, 0, 0.95);

    --header-h: 74px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 0.6em;
    text-wrap: balance;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s var(--ease);
}

img, svg, video, iframe { max-width: 100%; }
img, video { height: auto; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

address { font-style: normal; }

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9em;
    background: var(--surface-2);
    padding: 0.15em 0.45em;
    border-radius: 6px;
}

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 4px;
}

/* FocusOnNavigate parks focus on the page heading so screen readers announce the new
   page. Such targets carry tabindex="-1" and are unreachable by keyboard, so painting
   a focus ring on them only confuses sighted users. */
[tabindex="-1"]:focus,
[tabindex="-1"]:focus-visible {
    outline: none;
}

::selection {
    background: var(--brand);
    color: #fff;
}

.skip-link {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -120%);
    z-index: 200;
    background: var(--brand);
    color: #fff;
    padding: 0.7rem 1.4rem;
    border-radius: 0 0 10px 10px;
    font-weight: 600;
    transition: transform 0.2s var(--ease);
}

.skip-link:focus { transform: translate(-50%, 0); }

.container {
    width: min(1180px, 100% - (var(--gutter) * 2));
    margin-inline: auto;
}

.container.narrow { width: min(760px, 100% - (var(--gutter) * 2)); }

.text-accent { color: var(--brand); }

/* --------------------------------------------------------------------------
   Header + navigation
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 11, 13, 0.72);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-stuck {
    border-bottom-color: var(--line);
    background: rgba(10, 11, 13, 0.92);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0;
}

.brand img {
    height: 44px;
    width: auto;
    transition: transform 0.3s var(--ease);
}

.brand:hover img { transform: scale(1.04); }

.primary-nav {
    display: flex;
    align-items: center;
    gap: clamp(0.4rem, 1.4vw, 1.6rem);
}

.primary-nav > ul {
    display: flex;
    align-items: center;
    gap: clamp(0.2rem, 1vw, 0.65rem);
}

.nav-link {
    display: block;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.nav-link.active { color: var(--text); }

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.15rem;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
}

.nav-cta { white-space: nowrap; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    padding: 0;
    place-items: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle-bars { position: relative; margin: 0 auto; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
    .nav-toggle { display: grid; }

    .primary-nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 1rem var(--gutter) 1.75rem;
        background: rgba(10, 11, 13, 0.98);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--line);
        transform: translateY(-140%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.32s var(--ease), opacity 0.25s var(--ease), visibility 0.32s;
    }

    .primary-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }

    .nav-link {
        padding: 0.85rem 0.5rem;
        border-radius: 10px;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--line);
    }

    .nav-link.active::after { left: 0.5rem; transform: none; bottom: 0.55rem; }

    .nav-cta { margin-top: 1rem; justify-content: center; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.18s var(--ease), background 0.18s var(--ease),
                border-color 0.18s var(--ease), box-shadow 0.25s var(--ease), color 0.18s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn .icon { flex: none; transition: transform 0.2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    box-shadow: 0 10px 30px -12px var(--brand-glow);
}

.btn-primary:hover { box-shadow: 0 16px 38px -12px var(--brand-glow); }

.btn-ghost {
    border-color: var(--line-strong);
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover { border-color: var(--text-dim); background: rgba(255, 255, 255, 0.07); }

.btn-light { background: #fff; color: #14171c; }
.btn-light:hover { background: #f0f0f0; }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

.btn-sm { padding: 0.6rem 1.05rem; font-size: 0.9rem; }

.btn-block { display: flex; width: 100%; }
.btn-block + .btn-block { margin-top: 0.6rem; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--brand);
    font-weight: 500;
}

.link-arrow:hover { color: #ff5a63; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    padding: clamp(2.75rem, 5.5vw, 4.5rem) 0 clamp(3rem, 5.5vw, 4.75rem);
    overflow: hidden;
    isolation: isolate;
}

/* Solid brand red with white type — the logo lockup's own colour scheme. */
.hero-brand {
    background:
        radial-gradient(90% 120% at 88% 8%, rgba(255, 255, 255, 0.16) 0%, transparent 55%),
        linear-gradient(145deg, var(--brand-deep) 0%, #b80007 55%, var(--brand-dark) 100%);
    color: #fff;
}

/* Faint diagonal ruling so the panel reads as a surface rather than a flat slab. */
.hero-brand::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        115deg,
        rgba(255, 255, 255, 0.05) 0 1px,
        transparent 1px 13px
    );
    pointer-events: none;
}

/* Sized in rem, not ch: a ch is measured against this element's own 16px font, which
   would crush the 80px headline into a ~535px column and wrap it to four lines. The
   lead keeps its own readability cap. */
.hero-inner {
    position: relative;
    z-index: 1;
    max-width: min(60rem, 100%);
}

.hero-logo {
    width: clamp(180px, 22vw, 260px);
    height: auto;
    margin-bottom: clamp(1.25rem, 2.5vw, 1.85rem);
}

.hero-brand .eyebrow { color: rgba(255, 255, 255, 0.82); }

.hero h1 {
    font-size: var(--step-hero);
    margin-bottom: 0.5em;
}

.hero-h1-soft { color: rgba(255, 255, 255, 0.72); }

.hero-brand .lead { color: rgba(255, 255, 255, 0.9); }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2.25rem;
}

/* On red, the focus ring needs to be white to stay visible. */
.hero-brand :focus-visible { outline-color: #fff; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
}

.lead {
    font-size: var(--step-lead);
    color: var(--text-muted);
    max-width: 62ch;
}

/* --------------------------------------------------------------------------
   Interior page hero
   -------------------------------------------------------------------------- */

.page-hero {
    position: relative;
    padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
    background:
        radial-gradient(90% 140% at 100% 0%, rgba(204, 0, 0, 0.22) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--line);
}

.page-hero h1 { font-size: var(--step-h1); max-width: 20ch; }

.breadcrumbs { margin-bottom: 1.5rem; }

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.breadcrumbs li + li::before {
    content: "/";
    margin-right: 0.5rem;
    color: var(--text-dim);
}

.breadcrumbs a:hover { color: var(--brand); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: var(--section-y) 0; }

.section-alt {
    background: var(--bg-alt);
    border-block: 1px solid var(--line);
}

.section-title { font-size: var(--step-h2); max-width: 22ch; }

.section-lead {
    font-size: var(--step-lead);
    color: var(--text-muted);
    max-width: 60ch;
    margin-bottom: 3rem;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
    position: relative;
    padding: clamp(1.5rem, 2.5vw, 2rem);
    background: linear-gradient(180deg, var(--surface) 0%, rgba(20, 23, 28, 0.55) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-lift);
}

.card:hover::before { opacity: 1; }

.card h3 { font-size: var(--step-h3); margin-bottom: 0.55em; }

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

.card-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.25rem;
    border-radius: 15px;
    color: var(--brand);
    background: rgba(224, 20, 35, 0.12);
    border: 1px solid rgba(224, 20, 35, 0.25);
}

.card-link { display: block; }

.card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.93rem;
    color: var(--brand);
}

.card-cta .icon { transition: transform 0.2s var(--ease); }
.card-link:hover .card-cta .icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Served jurisdictions
   -------------------------------------------------------------------------- */

.area-group + .area-group { margin-top: 2.5rem; }

.area-state {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1.1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.65rem;
}

.area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.area:hover { border-color: rgba(224, 20, 35, 0.4); transform: translateY(-2px); }

.area .icon { flex: none; color: var(--brand); }

.area strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.25;
}

.area-kind {
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   Split / stats
   -------------------------------------------------------------------------- */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; }
}

.split-copy .section-lead { margin-bottom: 2rem; }

.check-list {
    display: grid;
    gap: 1.15rem;
    margin-bottom: 2.25rem;
}

.check-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: start;
    color: var(--text-muted);
}

.check-list .icon { color: var(--brand); margin-top: 0.2rem; }
.check-list strong { color: var(--text); display: block; }

.stat-stack { display: grid; gap: 1rem; }

.stat {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.1rem;
    align-items: center;
    padding: 1.4rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.stat:hover { transform: translateX(5px); border-color: var(--line-strong); }

.stat-value { color: var(--brand); display: grid; place-items: center; }

.stat-label {
    font-family: var(--font-display);
    font-size: 0.98rem;
    color: var(--text);
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Prose + sidebar
   -------------------------------------------------------------------------- */

.prose-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

@media (max-width: 900px) {
    .prose-grid { grid-template-columns: 1fr; }
}

.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-h2); margin-top: 2.5em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-muted); }

.prose ul {
    display: grid;
    gap: 0.85rem;
    margin: 0 0 1.5rem;
}

.prose ul li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--text-muted);
}

.prose ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
}

.prose strong { color: var(--text); }

.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #ff5a63; }

.callout {
    padding: 1.25rem 1.4rem;
    border-left: 3px solid var(--brand);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--surface);
    color: var(--text-muted);
}

.sidebar-card {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    padding: 1.75rem;
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

@media (max-width: 900px) {
    .sidebar-card { position: static; }
}

.sidebar-card h2 { font-size: 1.2rem; }
.sidebar-card > p { color: var(--text-muted); font-size: 0.95rem; }
.sidebar-logo { margin-bottom: 1rem; border-radius: 12px; }

.spec-list { margin: 0 0 1.5rem; }

.spec-list > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
}

.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--text-dim); font-size: 0.88rem; }

.spec-list dd {
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.92rem;
    text-align: right;
}

/* --------------------------------------------------------------------------
   Video + map frames
   -------------------------------------------------------------------------- */

.video-frame,
.map-frame {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow);
}

.video-frame video { width: 100%; display: block; }

.map-frame { aspect-ratio: 16 / 9; }

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(0.35) contrast(1.05);
}

.map-block { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { display: grid; gap: 0.75rem; }

.faq details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    transition: border-color 0.25s var(--ease);
}

.faq details[open] { border-color: var(--line-strong); }

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    font-family: var(--font-display);
    font-weight: 500;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: "";
    flex: none;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--brand);
    border-bottom: 2px solid var(--brand);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

.faq summary:hover { color: var(--brand); }

.faq details p {
    padding: 0 1.35rem 1.3rem;
    margin: 0;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.contact-card {
    padding: clamp(1.6rem, 2.5vw, 2.1rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.contact-card-primary {
    background: linear-gradient(150deg, rgba(224, 20, 35, 0.16) 0%, var(--surface) 60%);
    border-color: rgba(224, 20, 35, 0.3);
}

.contact-card h2 { font-size: var(--step-h3); }
.contact-card > p { color: var(--text-muted); font-size: 0.96rem; }

.contact-value {
    display: block;
    margin-top: 1rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.45;
}

a.contact-value:hover { color: var(--brand); }

.plain-list { display: grid; gap: 0.6rem; margin-top: 1rem; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
    position: relative;
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: linear-gradient(120deg, var(--brand-dark) 0%, var(--brand-deep) 55%, #6d0004 100%);
    overflow: hidden;
}

.cta-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 120% at 85% 15%, rgba(255, 255, 255, 0.18) 0%, transparent 60%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-inner h2 { font-size: var(--step-h2); max-width: 18ch; margin-bottom: 0.4em; }
.cta-inner p { color: rgba(255, 255, 255, 0.86); max-width: 46ch; margin: 0; }

.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* --------------------------------------------------------------------------
   Status pages
   -------------------------------------------------------------------------- */

.status-page { padding-top: clamp(4rem, 9vw, 8rem); }
.status-page h1 { font-size: var(--step-h1); }
.status-page .lead { margin-bottom: 2.5rem; }

.status-links { display: grid; gap: 0.5rem; margin-bottom: 2.5rem; }

.status-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-weight: 500;
    transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.status-links a:hover { border-color: var(--brand); transform: translateX(4px); }
.status-links .icon { color: var(--brand); }

.request-id { color: var(--text-dim); font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
    padding: clamp(3rem, 6vw, 5rem) 0 2rem;
    background: #060708;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 1fr));
    gap: clamp(1.75rem, 4vw, 3rem);
    padding-bottom: 2.75rem;
    border-bottom: 1px solid var(--line);
}

@media (max-width: 820px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}

.footer-brand img { height: 56px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.95rem; max-width: 32ch; }

.footer-col h2 {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1.1rem;
}

.footer-col ul { display: grid; gap: 0.6rem; }

.footer-col a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-col a:hover { color: var(--brand); }

.footer-col address a { display: block; margin-bottom: 0.75rem; line-height: 1.6; }

.footer-phone {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--text) !important;
}

.footer-phone:hover { color: var(--brand) !important; }

.footer-legal {
    padding-top: 1.75rem;
    color: var(--text-dim);
    font-size: 0.83rem;
}

.footer-legal p { margin-bottom: 0.5rem; }
.footer-legal a { text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--brand); }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

/* Content is visible by default. The hidden state only exists once JS has confirmed it
   can observe and un-hide it again, so a script failure can never swallow the page. */
[data-reveal-ready] [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-reveal-ready] [data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Blazor error UI
   -------------------------------------------------------------------------- */

#blazor-error-ui {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
    padding: 0.9rem 1.25rem;
    background: #2b1416;
    color: #fff;
    border-top: 2px solid var(--brand);
    font-size: 0.92rem;
}

#blazor-error-ui .reload { text-decoration: underline; margin-left: 0.75rem; }

#blazor-error-ui .dismiss {
    position: absolute;
    right: 0.9rem;
    top: 0.6rem;
    background: none;
    border: 0;
    color: inherit;
    font-size: 1.3rem;
    cursor: pointer;
    line-height: 1;
}

/* --------------------------------------------------------------------------
   Motion + print preferences
   -------------------------------------------------------------------------- */

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal-ready] [data-reveal] { opacity: 1; transform: none; }
}

@media print {
    .site-header, .site-footer, .cta-band, .nav-toggle { display: none !important; }
    body { background: #fff; color: #000; }
}
