/* Majesty Group – public site styles.
   No inline styles are used anywhere (strict Content-Security-Policy), so everything lives here. */

:root {
    --brand: #c4161c;
    --brand-dark: #9f1015;
    --hero-red: #d40000;
    --ink: #17191e;
    --ink-2: #3a3f4a;
    --muted: #5f6573;
    --line: #e4e6eb;
    --bg: #ffffff;
    --bg-soft: #f5f6f8;
    --bg-dark: #121419;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgb(16 18 24 / 6%), 0 8px 24px rgb(16 18 24 / 6%);
    --shadow-lg: 0 2px 4px rgb(16 18 24 / 6%), 0 18px 40px rgb(16 18 24 / 12%);
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 72px;
    --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.5rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3, .h3 { font-size: 1.25rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(780px + 2 * var(--gutter)); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.multiline { white-space: pre-line; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Buttons & links ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
    font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-sm { padding: .6em 1.15em; font-size: .95rem; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: #fff2f2; color: var(--brand-dark); }
.btn-outline-light { border-color: rgb(255 255 255 / 70%); color: #fff; }
.btn-outline-light:hover { background: rgb(255 255 255 / 12%); color: #fff; border-color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 650; text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgb(255 255 255 / 94%);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 16px rgb(16 18 24 / 5%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 36px; width: auto; }
.site-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.site-nav a:not(.btn) {
    display: block; padding: .5em .8em; border-radius: 8px;
    color: var(--ink-2); font-weight: 560; font-size: .98rem; text-decoration: none;
}
.site-nav a:not(.btn):hover { color: var(--ink); background: var(--bg-soft); }
.site-nav a.is-active { color: var(--brand); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; }

@media (max-width: 959px) {
    .nav-toggle {
        display: inline-flex; align-items: center; justify-content: center;
        width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
    }
    .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
        display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background-color .2s;
    }
    .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
    .nav-toggle-bar::before { top: -6px; }
    .nav-toggle-bar::after { top: 6px; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

    .site-nav {
        position: fixed; inset: var(--header-h) 0 auto 0;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
        padding: 12px var(--gutter) 24px;
        display: none; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .site-nav a:not(.btn) { padding: .85em .75em; font-size: 1.05rem; }
    .nav-cta { margin: 12px 0 0; }
    .nav-cta .btn { width: 100%; padding: .9em; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--hero-red); color: #fff;
    min-height: clamp(520px, 72vh, 720px);
    display: flex; align-items: center;
}
.hero-inner { position: relative; z-index: 1; padding-block: 72px; }
.hero-text { max-width: min(560px, 44vw); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: .35em; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgb(255 255 255 / 90%); margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art {
    position: absolute; z-index: 0; right: 0; top: 50%; transform: translateY(-50%);
    width: 55%; max-width: 1200px; height: auto; pointer-events: none;
}
@media (max-width: 959px) {
    .hero { flex-direction: column; align-items: stretch; min-height: 0; }
    .hero-inner { padding-block: 48px 8px; }
    .hero-text { max-width: 600px; }
    .hero-art { position: relative; right: auto; top: auto; transform: none; width: 118%; margin: -8% 0 -6% -8%; max-width: none; }
}

.eyebrow {
    display: inline-block; margin-bottom: .9em;
    font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
}
.eyebrow-light { color: rgb(255 255 255 / 85%); }

/* ---------- Stats ---------- */
.stats { border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 20px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 750; color: var(--ink); letter-spacing: -0.02em; }
.stat-label { color: var(--muted); font-size: .95rem; }
@media (max-width: 719px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat { padding: 20px 14px; border-left: 0; border-top: 1px solid var(--line); }
    .stat:nth-child(-n+2) { border-top: 0; }
    .stat:nth-child(odd) { padding-left: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-soft { background: var(--bg-soft); }
.section-title { max-width: 22ch; }
.section-title-sm { font-size: 1.5rem; max-width: none; margin-top: 2.2em; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head .section-title { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 859px) { .split { grid-template-columns: 1fr; } }
.lead, .lead-sm { color: var(--ink-2); }
.lead { font-size: 1.2rem; }
.lead-sm { font-size: 1.08rem; }
.meta { color: var(--muted); font-size: .92rem; margin-bottom: .5em; }
.note { color: var(--muted); font-size: .88rem; margin-top: 28px; }
.empty { color: var(--muted); font-size: 1.1rem; }

/* Page header (inner pages) */
.page-header { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding-block: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 56px); }
.page-header h1 { max-width: 20ch; }
.page-header .lead { max-width: 62ch; margin: 0; }
.page-header .lead p:last-child { margin-bottom: 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #b5b9c2; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }

/* Prose (Markdown content) */
.prose { color: var(--ink-2); }
.prose-lg { font-size: 1.12rem; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--ink); }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 24px; list-style: none; }
.card {
    position: relative; height: 100%;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.card h3 a, .card h2 a { color: var(--ink); text-decoration: none; }
.card:hover h3 a, .card:hover h2 a { color: var(--brand); }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.service-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.service-card { padding: 28px; }
.service-card p { color: var(--muted); font-size: .98rem; margin: 0; }
.service-icon {
    display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
    border-radius: 14px; background: #fdecec; color: var(--brand);
}
.service-icon .icon { width: 26px; height: 26px; }
.service-icon-lg { width: 64px; height: 64px; border-radius: 18px; }
.service-icon-lg .icon { width: 32px; height: 32px; }

.project-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.project-card { overflow: hidden; display: flex; flex-direction: column; }
.project-media { aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover .project-media img { transform: scale(1.04); }
.project-body { padding: 22px 24px 26px; }
.project-body h3, .project-body h2 { margin-bottom: .3em; }
.project-body p:last-child { margin-bottom: 0; color: var(--muted); }

.work-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.work-card { overflow: hidden; }
.work-media {
    display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 3px; aspect-ratio: 4 / 3; background: var(--bg-soft); overflow: hidden;
}
.work-media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: top; }
.work-media img:first-child { grid-row: 1 / span 2; }
.work-media img:only-child { grid-column: 1 / span 2; }
.work-media img:nth-child(2):last-child { grid-row: 1 / span 2; }

/* ---------- Logos ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; list-style: none; }
.logo-grid li { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 14px 18px; }
.logo-grid a { display: grid; place-items: center; width: 100%; height: 100%; }
.logo-grid img { max-height: 64px; height: auto; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .25s, opacity .25s; }
.logo-grid li:hover img { filter: none; opacity: 1; }
.logo-grid-lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
@media (max-width: 859px) { .logo-grid-lg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 859px) { .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .logo-grid li { padding: 10px 12px; } }

/* ---------- Lists ---------- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--font-display); font-weight: 750; font-size: 1.1rem; color: var(--brand); margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 859px) { .steps { grid-template-columns: 1fr; } }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.pill-list a { display: inline-block; padding: .55em 1.1em; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; background: #fff; font-weight: 550; }
.pill-list a:hover { border-color: var(--brand); color: var(--brand); }

.service-list { list-style: none; display: grid; gap: 0; }
.service-row { display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding-block: 40px; border-top: 1px solid var(--line); }
.service-row:first-child { border-top: 0; padding-top: 0; }
.service-row h2 { font-size: 1.6rem; margin-bottom: .3em; }
@media (max-width: 599px) { .service-row { grid-template-columns: 1fr; gap: 12px; } }

.job-list { list-style: none; display: grid; gap: 14px; }
.job-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 26px; }
.job-card h3 { margin-bottom: .15em; }
.job-card p:last-child { margin-bottom: 0; color: var(--muted); }
.job-arrow { color: var(--brand); }
.open-application { margin-top: 28px; color: var(--muted); }

.about-art { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.project-cover { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); display: grid; place-items: center; }
/* Old cover images are small (about 550 px wide): show them at their real size instead of stretching. */
.project-cover img { width: auto; max-width: 100%; max-height: 560px; }
.project-details { max-width: 780px; }

/* ---------- Gallery & lightbox ---------- */
.gallery { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .2s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery-masonry { display: block; columns: 3 260px; column-gap: 14px; }
.gallery-masonry li { break-inside: avoid; margin-bottom: 14px; }
.gallery-masonry a { aspect-ratio: auto; }
.gallery-masonry img { height: auto; }
.more-links { margin-top: 24px; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox::backdrop { background: rgb(10 11 14 / 92%); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; gap: 10px; justify-items: center; max-width: min(92vw, 1600px); }
.lightbox img { max-width: 100%; max-height: 84vh; width: auto; height: auto; border-radius: 6px; }
.lightbox figcaption { color: #e9eaee; font-size: .95rem; text-align: center; min-height: 1.2em; }
.lightbox-close, .lightbox-nav {
    position: fixed; border: 0; cursor: pointer; color: #fff; background: rgb(255 255 255 / 12%);
    width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; display: grid; place-items: center;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgb(255 255 255 / 24%); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox[data-single] .lightbox-nav { display: none; }
@media (max-width: 599px) { .lightbox-nav { top: auto; bottom: 18px; transform: none; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bg-dark); color: #fff; padding-block: clamp(48px, 7vw, 80px); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgb(196 22 28 / 45%), transparent 70%); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { color: rgb(255 255 255 / 75%); margin: 0; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 599px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-weight: 600; font-size: .96rem; }
.req { color: var(--brand); }
.optional, .hint { color: var(--muted); font-weight: 400; font-size: .9rem; }
.hint { margin: 0; }
.field input:not([type="checkbox"]), .field select, .field textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
    padding: .8em .95em; border: 1px solid #cfd3da; border-radius: 10px; background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input[type="file"] { padding: .65em; background: var(--bg-soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(196 22 28 / 14%); }
.field-check { grid-template-columns: auto 1fr; align-items: start; gap: 10px 12px; }
.field-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand); }
.field-check label { font-weight: 400; color: var(--ink-2); }
.field-check .field-error { grid-column: 1 / -1; }
.field-error { color: #b3141a; font-size: .9rem; }
.field-error:empty { display: none; }
.input-validation-error { border-color: #b3141a !important; }
.form-errors ul { list-style: none; color: #b3141a; }
.validation-summary-valid { display: none; }
.form .btn { justify-self: start; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice { border-radius: var(--radius); padding: 28px 30px; }
.notice h2 { font-size: 1.35rem; }
.notice p:last-child { margin-bottom: 0; }
.notice-success { background: #eef8f1; border: 1px solid #c6e8d1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 859px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--bg-soft); border-radius: var(--radius); padding: 30px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-list { list-style: none; display: grid; gap: 18px; margin-bottom: 24px; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; color: var(--ink-2); }
.contact-list .icon { color: var(--brand); margin-top: 2px; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 550; }
.contact-list a:hover { color: var(--brand); }
.map iframe { display: block; width: 100%; height: clamp(320px, 45vw, 460px); border: 0; filter: grayscale(.2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: rgb(255 255 255 / 72%); font-size: .97rem; padding-top: 64px; border-top: 4px solid var(--brand); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 759px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand img { height: 36px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 40ch; }
.footer-title { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: rgb(255 255 255 / 82%); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact { font-style: normal; display: grid; gap: 8px; }
.social { list-style: none; display: flex; gap: 10px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 22%); }
.social a:hover { background: var(--brand); border-color: var(--brand); text-decoration: none; }
.social .icon { width: 20px; height: 20px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgb(255 255 255 / 12%); padding-block: 22px; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---------- Error page ---------- */
.error-page { min-height: 55vh; display: flex; align-items: center; }
.error-page h1 { margin-bottom: .3em; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
    .site-header, .site-footer, .cta-band, .map, .nav-toggle { display: none !important; }
}
