@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --navy: #1f2e5a;
    --navy-deep: #141e3c;
    --ink: #1a1d16;
    --gold: #d4af37;
    --gold-deep: #a68422;
    --gold-ink: #7a6016;
    --paper: #f7f4ee;
    --paper-2: #efeae0;
    --white: #fffcf7;
    --line: #e3dacc;
    --muted: #5e5a52;
    --danger: #8c2f2f;
    --danger-bg: #f8ecec;
    --ok: #1e4d38;
    --ok-bg: #e7f3ec;
    --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --wrap: 1120px;
    --shadow: 0 18px 40px rgba(20, 30, 60, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.6;
}

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

a {
    color: var(--navy);
}

a:hover {
    color: var(--gold-ink);
}

h1, h2, h3 {
    font-family: var(--sans);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(2.2rem, 4.4vw, 4rem);
}

h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.7rem, 2.6vw, 2.35rem);
}

h3 {
    margin: 0 0 0.4rem;
    font-size: 1.35rem;
}

p {
    margin: 0 0 1rem;
}

.wrap {
    width: min(var(--wrap), calc(100% - 2rem));
    margin-inline: auto;
}

.narrow {
    width: min(740px, calc(100% - 2rem));
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--gold);
    color: var(--navy-deep);
    padding: 0.6rem 0.9rem;
    z-index: 100;
}

.skip:focus {
    top: 0.5rem;
}

.visually-hidden,
.hp {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.eyebrow {
    margin: 0 0 0.7rem;
    color: var(--gold-ink);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lede {
    font-size: 1.15rem;
    max-width: 42rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--navy);
    color: var(--white);
    border-bottom: 3px solid var(--gold);
}

.header-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo nav cta";
    gap: 1rem 1.25rem;
    align-items: center;
    min-height: 4.6rem;
    padding: 0.55rem 0;
}

.logo {
    grid-area: logo;
    display: flex;
    align-items: center;
}

.logo img {
    height: 42px;
    width: auto;
}

.site-nav {
    grid-area: nav;
    display: flex;
    align-items: center;
    gap: 0.35rem 1.1rem;
    justify-content: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 0.35rem 0.1rem;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    color: var(--gold);
}

.has-sub {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.sub-toggle {
    width: 1.8rem;
    height: 1.8rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--gold);
    background: transparent;
    border: 0;
    padding: 0;
}

.sub-toggle::after {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.has-sub.is-open .sub-toggle::after {
    transform: translateY(2px) rotate(225deg);
}

.has-sub::after {
    content: "";
    position: absolute;
    z-index: 49;
    top: 100%;
    left: 50%;
    width: min(760px, 80vw);
    height: 0.95rem;
    transform: translateX(-30%);
    pointer-events: none;
}

.has-sub:hover::after,
.has-sub:focus-within::after,
.has-sub.is-open::after {
    pointer-events: auto;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-30%);
    width: min(760px, 80vw);
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.95rem 1.15rem 1.2rem;
    background: transparent;
    color: var(--ink);
    box-shadow: none;
    border-top: 0;
    z-index: 50;
}

.sub-menu::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    top: 0.85rem;
    bottom: 0;
    background: var(--white);
    border-top: 3px solid var(--gold);
    box-shadow: var(--shadow);
}

.sub-menu a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
}

.sub-menu a:hover,
.sub-menu a:focus-visible {
    color: var(--gold-ink);
}

.sub-menu a:focus-visible {
    outline: 3px solid var(--gold-ink);
    outline-offset: 3px;
}

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

.sub-menu li + li {
    margin-top: 0.35rem;
}

.sub-label {
    margin: 0 0 0.4rem;
    color: var(--gold-ink);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu,
.has-sub.is-open .sub-menu {
    display: grid;
}

.js .has-sub:hover .sub-menu {
    display: none;
}

.js .has-sub.is-open .sub-menu,
.js .has-sub:focus-within .sub-menu {
    display: grid;
}

.header-cta {
    grid-area: cta;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.header-phone {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.01em;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.header-phone-kicker {
    color: var(--gold);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.header-phone:hover {
    color: var(--gold);
}

.nav-toggle {
    display: none;
    grid-area: toggle;
    align-items: center;
    gap: 0.45rem;
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.7);
    padding: 0.45rem 0.7rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    display: block;
    width: 1rem;
    height: 2px;
    background: var(--gold);
    position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.9rem;
    padding: 0.65rem 1.05rem;
    border: 2px solid transparent;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-deep);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: #e3c25d;
    color: var(--navy-deep);
}

.btn-line,
.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: var(--gold);
}

.btn-line:hover,
.btn-ghost:hover {
    background: var(--gold);
    color: var(--navy-deep);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-navy:hover {
    background: var(--navy-deep);
    color: var(--white);
}

.hero {
    background:
        radial-gradient(circle at 90% 10%, rgba(212, 175, 55, 0.16), transparent 28%),
        var(--navy-deep);
    color: var(--white);
    padding: 2.5rem 0 3rem;
}

.hero .eyebrow,
.section-navy .eyebrow,
.cta-band .eyebrow {
    color: var(--gold);
}

.hero-grid,
.page-hero-grid,
.split-copy {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.hero h1,
.page-hero h1 {
    color: var(--white);
}

.page-hero h1 {
    color: var(--ink);
}

.hero .lede {
    color: #f3efe4;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.2rem 0;
}

.hero-notes {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    color: #f6e7b2;
}

.hero-notes li + li {
    margin-top: 0.25rem;
}

.hero-media img,
.framed img,
.feature img,
.service-card img {
    width: 100%;
    aspect-ratio: 640 / 427;
    object-fit: cover;
}

.hero-media {
    margin: 0;
    background: var(--navy);
    box-shadow: 12px 12px 0 var(--gold);
}

.hero-media figcaption,
.framed figcaption {
    margin: 0;
    padding: 0.7rem 0.9rem;
    background: var(--navy);
    color: #f6e7b2;
    font-size: 0.92rem;
}

.framed {
    margin: 0;
    background: var(--navy);
}

.framed figcaption {
    background: var(--navy-deep);
}

.cred-bar {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

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

.cred-grid p {
    margin: 0;
    padding: 0.95rem 0.7rem;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--line);
}

.cred-grid p:first-child {
    border-left: 0;
}

.cred-grid strong {
    font-family: var(--sans);
    font-size: 1.02rem;
    letter-spacing: -0.02em;
}

.cred-grid span {
    font-size: 0.82rem;
    line-height: 1.35;
}

.cred-grid span,
.sector-grid span,
.door p,
.feature p,
.service-card p,
.related span {
    color: var(--muted);
}

.section {
    padding: 3.5rem 0;
}

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

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

.section-navy h2,
.section-navy h3,
.section-navy a {
    color: var(--white);
}

.section-tight {
    padding-top: 0;
}

.section-head {
    max-width: 40rem;
    margin-bottom: 1.6rem;
}

.door-grid,
.feature-grid,
.service-index {
    display: grid;
    gap: 1rem;
}

.door-grid {
    grid-template-columns: repeat(3, 1fr);
}

.door,
.feature,
.service-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border: 1px solid var(--line);
    min-height: 100%;
}

.door {
    padding: 1.2rem 1.2rem 1.1rem;
}

.door:hover,
.feature:hover,
.service-card:hover {
    border-color: var(--gold);
    color: inherit;
}

.door-index {
    font-family: var(--sans);
    color: var(--gold-ink);
    font-size: 1.3rem;
}

.door-go,
.service-card span {
    margin-top: auto;
    padding-top: 0.8rem;
    color: var(--navy);
    font-weight: 700;
}

.feature-grid {
    grid-template-columns: repeat(4, 1fr);
}

.feature div,
.service-card div {
    padding: 0.9rem 0.95rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.section-navy .feature {
    background: var(--navy-deep);
    border-color: rgba(212, 175, 55, 0.35);
    color: var(--white);
}

.section-navy .feature p,
.section-navy .door-go {
    color: #efe8d8;
}

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

.text-link {
    font-weight: 700;
}

.sector-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.sector-grid li {
    padding: 0.9rem 0.85rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 6.2rem;
}

.sector-note {
    margin: 1rem 0 0;
}

.brand-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.brand-list li {
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 0.45rem 0.7rem;
    font-weight: 650;
    font-weight: 600;
}

.area-band {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--paper-2);
    border-left: 6px solid var(--gold);
}

.area-address,
.side-card address,
.contact-aside address,
.footer-address {
    display: flex;
    flex-direction: column;
    font-style: normal;
    gap: 0.15rem;
}

.area-address {
    justify-content: center;
    font-weight: 650;
    font-weight: 600;
}

.page-hero {
    padding: 2.4rem 0 0.4rem;
}

.page-hero .lede {
    color: var(--ink);
}

.service-index {
    grid-template-columns: repeat(3, 1fr);
}

.prose-layout,
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.75fr;
    gap: 2rem;
    align-items: start;
}

.prose h2,
.service-body h2 {
    margin-top: 0.4rem;
}

.service-body {
    display: grid;
    gap: 1.5rem;
    max-width: 760px;
}

.check-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 1rem;
}

.check-list li {
    padding-left: 1rem;
    position: relative;
}

.check-list li::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    background: var(--gold);
    position: absolute;
    left: 0;
    top: 0.55rem;
}

.side-card,
.contact-aside {
    background: var(--navy);
    color: var(--white);
    padding: 1.3rem 1.2rem;
}

.side-card h2,
.contact-aside h2,
.side-card a,
.contact-aside a {
    color: var(--white);
}

.side-card .btn-gold,
.contact-aside .btn-gold {
    color: var(--navy-deep);
}

.side-card .check-list,
.contact-aside .check-list {
    grid-template-columns: 1fr;
}

.related ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.related li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
}

.related a {
    font-weight: 700;
    text-decoration: none;
}

.related a:hover,
.related a:focus-visible {
    color: var(--gold-ink);
}

.related a:focus-visible {
    outline: 3px solid var(--gold-ink);
    outline-offset: 3px;
}

.related span {
    display: block;
}

.ephraim-strip {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1.3rem;
    background: var(--paper-2);
    border-top: 3px solid var(--gold);
}

.contact-grid {
    grid-template-columns: 1.15fr 0.85fr;
}

.notice {
    padding: 1rem 1rem 0.2rem;
    margin-bottom: 1rem;
}

.notice h2 {
    font-size: 1.5rem;
}

.notice-success {
    background: var(--ok-bg);
    color: var(--ok);
    border-left: 4px solid var(--ok);
}

.notice-success a {
    color: var(--ok);
}

.notice-error {
    background: var(--danger-bg);
    color: var(--danger);
    border-left: 4px solid var(--danger);
}

.notice-error a {
    color: var(--danger);
}

.form-intro,
.form-fine {
    color: var(--muted);
}

.quote-form {
    display: grid;
    gap: 0.85rem;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.field-row.address-line {
    grid-template-columns: minmax(11rem, 1fr) 1.35fr;
    grid-template-rows: auto auto;
    row-gap: 0.35rem;
    align-items: start;
}

.field-row.address-line > .field {
    display: contents;
}

.field-row.address-line > .field:nth-child(1) > label {
    grid-column: 1;
    grid-row: 1;
}

.field-row.address-line > .field:nth-child(1) > input {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
}

.field-row.address-line > .field:nth-child(1) > .field-error {
    grid-column: 1;
    grid-row: 3;
}

.field-row.address-line > .field:nth-child(2) > label {
    grid-column: 2;
    grid-row: 1;
}

.field-row.address-line > .field:nth-child(2) > input {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
}

.field-row.address-line > .field:nth-child(2) > .field-error {
    grid-column: 2;
    grid-row: 3;
}

.field-row.address-line label {
    margin-bottom: 0;
}

.address-line + .field-hint {
    margin-top: 0;
}

.field-row.place-line {
    grid-template-columns: 1.5fr 1fr 0.75fr;
}

[data-address-fields] {
    display: grid;
    gap: 0.85rem;
}

.field-hint {
    color: var(--muted);
    margin: 0.35rem 0 0;
    font-size: 0.92rem;
}

.addr-suggest {
    position: absolute;
    z-index: 120;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.35rem;
    background: var(--white);
    border: 1px solid #cfc6b6;
    box-shadow: 0 8px 24px rgba(20, 30, 60, 0.12);
}

.addr-suggest[hidden] {
    display: none;
}

.addr-suggest button {
    text-align: left;
    border: 0;
    background: var(--white);
    color: var(--navy);
    padding: 0.55rem 0.65rem;
    font: inherit;
    cursor: pointer;
}

.addr-suggest button:hover,
.addr-suggest button:focus-visible {
    background: var(--paper);
    color: var(--navy-deep);
    outline: 3px solid var(--gold-ink);
    outline-offset: -3px;
}

.field label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.65rem 0.7rem;
    border: 1px solid #cfc6b6;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    border-radius: 0;
}

.field textarea {
    min-height: 9rem;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.btn:focus-visible,
.nav-link:focus-visible,
.nav-toggle:focus-visible,
.sub-toggle:focus-visible,
.text-link:focus-visible,
.logo:focus-visible,
.door:focus-visible,
.service-card:focus-visible,
.crumbs a:focus-visible {
    outline: 3px solid var(--gold-ink);
    outline-offset: 2px;
}

.site-header .nav-link:focus-visible,
.site-header .nav-toggle:focus-visible,
.site-header .sub-toggle:focus-visible,
.site-header .header-phone:focus-visible,
.site-header .btn:focus-visible,
.site-header .logo:focus-visible,
.hero .btn:focus-visible,
.cta-band a:focus-visible,
.section-navy a:focus-visible,
.side-card a:focus-visible,
.contact-aside a:focus-visible,
.site-footer a:focus-visible,
.site-footer .logo:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
    border-color: var(--danger);
}

.field-error {
    color: var(--danger);
    margin: 0.3rem 0 0;
    font-size: 0.95rem;
}

.file-drop {
    border: 1px dashed #cfc6b6;
    background: var(--white);
    padding: 0.9rem;
    display: grid;
    gap: 0.55rem;
    justify-items: start;
}

.file-drop p {
    margin: 0;
    color: var(--muted);
}

.quote-form.is-dragover .file-drop {
    border-color: var(--navy);
    background: var(--paper);
}

.file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.file-list {
    list-style: none;
    margin: 0.7rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.file-list:empty {
    display: none;
}

.file-list li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.15rem 0.8rem;
    align-items: center;
}

.file-name {
    color: var(--navy);
    font-weight: 600;
    word-break: break-word;
}

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

.file-list [data-state="uploaded"] .file-state {
    color: var(--navy);
}

.file-list [data-state="failed"] .file-state {
    color: var(--danger);
}

.file-list progress {
    grid-column: 1 / -1;
    width: 100%;
    height: 0.45rem;
    accent-color: var(--navy);
}

.file-remove {
    border: 0;
    background: transparent;
    color: var(--gold-ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    padding: 0.2rem;
}

.file-remove:focus-visible {
    outline: 3px solid var(--gold-ink);
    outline-offset: 2px;
}

.aside-phone {
    font-family: var(--sans);
    font-size: 1.8rem;
    margin: 0.2rem 0 0.4rem;
}

.aside-phone a {
    text-decoration: none;
}

.map-frame {
    margin: 0.8rem 0 1rem;
    background: var(--navy-deep);
    min-height: 180px;
}

.map-frame iframe {
    width: 100%;
    height: 210px;
    border: 0;
}

.crumbs {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0.55rem 0;
    font-size: 0.92rem;
}

.crumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 0.4rem;
    color: var(--muted);
}

.cta-band {
    background: var(--navy-deep);
    color: var(--white);
    padding: 1.6rem 0;
}

.cta-band h2 {
    color: var(--white);
    font-size: clamp(1.5rem, 2vw, 2rem);
}

.cta-band p {
    color: #efe8d8;
    margin: 0;
}

.cta-band-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

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

.site-footer {
    background: var(--navy);
    color: #f3efe4;
    padding: 2.4rem 0 1.2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.9fr;
    gap: 1.5rem;
}

.site-footer a {
    color: var(--white);
}

.site-footer h2 {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--sans);
}

.logo-footer img {
    height: 36px;
    margin-bottom: 0.8rem;
}

.footer-links,
.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links {
    columns: 2;
}

.footer-links li,
.footer-contact li {
    margin: 0 0 0.35rem;
    break-inside: avoid;
}

.footer-links a,
.footer-base a {
    text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-base a:hover {
    color: var(--gold);
}

.footer-links a:focus-visible,
.footer-contact a:focus-visible,
.footer-base a:focus-visible {
    color: var(--gold);
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.footer-contact a {
    font-weight: 700;
    text-decoration: none;
}

.footer-contact span,
.footer-legal-name {
    display: block;
}

.footer-address {
    margin-top: 0.8rem;
}

.footer-address-label {
    color: var(--gold);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-base {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(243, 239, 228, 0.2);
    font-size: 0.92rem;
}

.footer-base p {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
}

@media (max-width: 980px) {
    .header-bar {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo toggle"
            "cta cta"
            "nav nav";
    }

    .nav-toggle {
        display: inline-flex;
    }

    .js .site-nav {
        display: none;
    }

    .js .site-nav[data-open="true"] {
        display: flex;
    }

    .site-nav {
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 0.8rem;
    }

    .has-sub {
        flex-wrap: wrap;
    }

    .has-sub::after {
        content: none;
    }

    .sub-menu,
    .has-sub:hover .sub-menu,
    .has-sub:focus-within .sub-menu,
    .js .has-sub:hover .sub-menu,
    .js .has-sub:focus-within .sub-menu {
        position: static;
        transform: none;
        width: auto;
        display: none;
        background: transparent;
        color: var(--white);
        box-shadow: none;
        border-top: 0;
        padding: 0.4rem 0 0.6rem 0.2rem;
    }

    .sub-menu::before {
        content: none;
    }

    .has-sub.is-open .sub-menu,
    .js .has-sub.is-open .sub-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .sub-menu a {
        color: var(--white);
    }

    .sub-menu a:hover,
    .sub-menu a:focus-visible {
        color: var(--gold);
    }

    .sub-menu a:focus-visible {
        outline: 3px solid var(--gold);
        outline-offset: 3px;
    }

    .sub-label {
        color: var(--gold);
    }

    .header-cta {
        justify-content: space-between;
    }

    .hero-grid,
    .page-hero-grid,
    .split-copy,
    .prose-layout,
    .contact-grid,
    .area-band,
    .footer-grid,
    .door-grid,
    .feature-grid,
    .service-index,
    .cred-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-grid,
    .cred-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cred-grid p:nth-child(odd) {
        border-left: 0;
    }

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

    .cta-band-inner,
    .ephraim-strip,
    .footer-base {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-media {
        box-shadow: 8px 8px 0 var(--gold);
    }
}

@media (max-width: 680px) {
    .logo img {
        height: 34px;
    }

    .hero-grid,
    .page-hero-grid,
    .split-copy,
    .prose-layout,
    .contact-grid,
    .area-band,
    .footer-grid,
    .door-grid,
    .feature-grid,
    .service-index,
    .field-row,
    .field-row.address-line,
    .field-row.place-line,
    .check-list,
    .cred-grid,
    .has-sub.is-open .sub-menu,
    .js .has-sub.is-open .sub-menu {
        grid-template-columns: 1fr;
    }

    .field-row.address-line {
        grid-template-rows: none;
        row-gap: 0.85rem;
    }

    .field-row.address-line > .field {
        display: block;
    }

    .field-row.address-line label {
        margin-bottom: 0.3rem;
    }

    .header-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .header-phone {
        flex-direction: row;
        gap: 0.45rem;
        align-items: baseline;
    }

    .btn,
    .header-cta .btn {
        width: 100%;
    }

    .hero {
        padding: 1.6rem 0 2rem;
    }

    .section {
        padding: 2.4rem 0;
    }

    .footer-links {
        columns: 1;
    }

    .hero-actions .btn,
    .cta-band-actions .btn {
        width: 100%;
    }
}

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