/* ==========================================================================
   Barbarian Excavating Inc. — site stylesheet
   Hand-written. No Bootstrap, no MDB, no jQuery, no external fonts.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
    /* Brand */
    --navy:        #1c2331;
    --navy-deep:   #141a25;
    --navy-soft:   #2a3446;
    --amber:       #d98a29;
    --amber-dark:  #bd7520;
    --amber-light: #f0a53f;

    /* Neutrals */
    --ink:      #1a1f28;
    --body:     #4a5462;
    --muted:    #6b7686;
    --line:     #e2e6ec;
    --surface:  #f6f7f9;
    --white:    #ffffff;

    /* Type — system stack: zero font downloads, native on every device */
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", sans-serif;

    /* Spacing rhythm */
    --gap:      1.5rem;
    --section:  clamp(3.5rem, 7vw, 6rem);
    --radius:   10px;
    --radius-sm: 6px;

    /* Depth */
    --shadow-sm: 0 1px 3px rgba(20, 26, 37, .08), 0 1px 2px rgba(20, 26, 37, .06);
    --shadow:    0 4px 16px rgba(20, 26, 37, .10), 0 1px 3px rgba(20, 26, 37, .06);
    --shadow-lg: 0 12px 36px rgba(20, 26, 37, .14);

    --header-h: 76px;
    --maxw: 1200px;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
    margin: 0 0 .6em;
    color: var(--ink);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -.015em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); }
h4 { font-size: 1.05rem; }

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

a { color: var(--amber-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--amber); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

strong { color: var(--ink); font-weight: 650; }

/* Visible focus for keyboard users on every interactive element */
:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 3px;
    border-radius: 2px;
}

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--amber); color: #fff; padding: .8rem 1.25rem;
    font-weight: 700; text-decoration: none; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.wrap--narrow { max-width: 820px; }

.section { padding-block: var(--section); }
.section--tint { background: var(--surface); }

.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }

.eyebrow {
    display: block; font-size: .8rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--amber-dark); margin-bottom: .7rem;
}

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .85rem 1.6rem;
    font: inherit; font-weight: 700; line-height: 1.2;
    border: 2px solid transparent; border-radius: var(--radius-sm);
    text-decoration: none; cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease,
                color .18s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--primary { background: var(--amber); border-color: var(--amber); color: #fff; }
.btn--primary:hover { background: var(--amber-dark); border-color: var(--amber-dark); color: #fff; }

.btn--dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: #fff; }

.btn--ghost { background: transparent; border-color: rgba(255,255,255,.8); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }

.btn--outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--navy); color: var(--ink); }

.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    height: var(--header-h);
    background: rgba(20, 26, 37, .55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background-color .28s ease, box-shadow .28s ease;
}
.site-header.is-solid { background: var(--navy); box-shadow: 0 2px 18px rgba(0,0,0,.22); }
body.has-sub .site-header { background: var(--navy); }

.site-header .wrap {
    height: 100%; display: flex; align-items: center; gap: 1rem;
}

.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
.brand img { height: 50px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { color: #fff; font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.brand-tag { color: rgba(255,255,255,.62); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
    color: rgba(255,255,255,.88); text-decoration: none;
    padding: .55rem .85rem; border-radius: var(--radius-sm);
    font-size: .95rem; font-weight: 600;
    transition: background-color .16s ease, color .16s ease;
}
.nav a:hover { background: rgba(255,255,255,.12); color: #fff; }

.header-phone {
    display: inline-flex; align-items: center; gap: .5rem;
    color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem;
    padding: .5rem .9rem; border-radius: var(--radius-sm);
    border: 2px solid rgba(255,255,255,.28);
    transition: border-color .16s ease, background-color .16s ease;
    white-space: nowrap;
}
.header-phone:hover { color: #fff; border-color: var(--amber); background: rgba(217,138,41,.18); }
.header-phone svg { width: 1rem; height: 1rem; flex: none; }

.nav-toggle {
    display: none; align-items: center; justify-content: center;
    width: 46px; height: 46px; padding: 0;
    background: transparent; border: 2px solid rgba(255,255,255,.28);
    border-radius: var(--radius-sm); cursor: pointer; color: #fff;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 960px) {
    :root { --header-h: 66px; }
    .brand img { height: 42px; }
    .brand-tag { display: none; }
    .nav-toggle { display: inline-flex; }
    .header-phone { padding: .45rem .7rem; font-size: 1rem; border-width: 1px; }

    .nav {
        position: fixed; inset: var(--header-h) 0 auto 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--navy); padding: .5rem clamp(1rem, 4vw, 2rem) 1.25rem;
        box-shadow: 0 14px 26px rgba(0,0,0,.3);
        transform: translateY(-130%);
        transition: transform .28s ease;
        max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    }
    .nav.is-open { transform: translateY(0); }
    .nav a { padding: .9rem .5rem; border-bottom: 1px solid rgba(255,255,255,.09); font-size: 1.05rem; border-radius: 0; }
    .nav a:last-child { border-bottom: 0; }
}
@media (max-width: 420px) {
    .brand-name { font-size: .95rem; }
    .header-phone span { display: none; }
}

/* --------------------------------------------------------------------------
   6. Hero carousel
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--navy-deep); }

.hero-track { position: relative; height: clamp(430px, 78vh, 720px); }

.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden;
    transition: opacity .7s ease, visibility .7s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: none; }
}

.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.hero-slide::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top,
        rgba(12,16,23,.92) 0%, rgba(12,16,23,.72) 26%,
        rgba(12,16,23,.38) 55%, rgba(12,16,23,.22) 100%);
}

.hero-body {
    position: absolute; inset: auto 0 0 0; z-index: 2;
    padding-bottom: clamp(3.5rem, 7vh, 5.5rem);
}
/* Copy on the left, the badge on the right. Because the logo lives in
   .hero-body (which sits above .hero-track), it stays put on every slide. */
.hero-inner {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: clamp(1.5rem, 4vw, 3.5rem);
}
.hero-logo {
    width: clamp(180px, 25vw, 365px); height: auto; flex: none;
    /* guarantees the white badge reads against the bright gravel slide too */
    filter: drop-shadow(0 3px 10px rgba(0,0,0,.55)) drop-shadow(0 0 34px rgba(0,0,0,.45));
}

.hero-copy { max-width: 780px; color: #fff; }

/* Rotating service label — changes with the slide, while the <h1> stays put */
.hero-chip {
    display: inline-block; margin-bottom: .9rem;
    padding: .38rem .95rem;
    background: rgba(217,138,41,.92); color: #fff;
    font-size: .78rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    border-radius: 99px;
    transition: opacity .22s ease;
}
.hero-copy h1, .hero-copy .hero-h {
    color: #fff; margin: 0 0 .55rem;
    font-size: clamp(1.85rem, 4.4vw, 3.15rem); font-weight: 700; line-height: 1.12;
    letter-spacing: -.02em;
    text-shadow: 0 2px 20px rgba(0,0,0,.45);
}
.hero-copy .lead {
    font-size: clamp(1.02rem, 1.7vw, 1.3rem);
    color: rgba(255,255,255,.9); margin-bottom: 1.6rem;
    text-shadow: 0 1px 14px rgba(0,0,0,.5);
    max-width: 620px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* slide-specific copy swapped by JS */
.hero-copy .hero-h, .hero-copy .lead { transition: opacity .4s ease; }
.hero-copy.is-swapping .hero-h, .hero-copy.is-swapping .lead { opacity: 0; }

@media (max-width: 900px) {
    .hero-inner { flex-direction: column-reverse; align-items: flex-start; gap: 1rem; }
    .hero-logo { width: clamp(124px, 34vw, 180px); }
}

.hero-dots {
    position: absolute; left: 0; right: 0; bottom: 1.15rem; z-index: 3;
    display: flex; justify-content: center; gap: .55rem;
}
.hero-dots button {
    width: 34px; height: 5px; padding: 0;
    background: rgba(255,255,255,.38); border: 0; border-radius: 99px;
    cursor: pointer; transition: background-color .2s ease;
}
.hero-dots button::after {         /* enlarge the tap target without the visual */
    content: ""; position: absolute; width: 44px; height: 34px;
    transform: translate(-5px, -14px);
}
.hero-dots button[aria-selected="true"] { background: var(--amber); }
.hero-dots button:hover { background: rgba(255,255,255,.68); }

.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 48px; height: 48px; display: none;
    align-items: center; justify-content: center;
    background: rgba(12,16,23,.42); color: #fff;
    border: 1px solid rgba(255,255,255,.28); border-radius: 50%;
    cursor: pointer; transition: background-color .18s ease;
}
.hero-arrow:hover { background: rgba(12,16,23,.75); }
.hero-arrow svg { width: 20px; height: 20px; }
.hero-arrow--prev { left: clamp(.75rem, 2vw, 1.5rem); }
.hero-arrow--next { right: clamp(.75rem, 2vw, 1.5rem); }
@media (min-width: 720px) { .hero-arrow { display: flex; } }

/* --------------------------------------------------------------------------
   7. Trust strip
   -------------------------------------------------------------------------- */
.trust { background: var(--navy); color: #fff; }
.trust ul {
    list-style: none; margin: 0; padding: 1.1rem 0;
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: .7rem clamp(1.5rem, 4vw, 3.25rem);
}
.trust li {
    display: flex; align-items: center; gap: .55rem;
    margin: 0; font-size: .95rem; font-weight: 600;
}
.trust svg { width: 1.05rem; height: 1.05rem; color: var(--amber); flex: none; }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d3d9e2; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--body); font-size: .98rem; margin-bottom: 0; }

.card-icon {
    width: 46px; height: 46px; margin-bottom: 1.1rem;
    display: grid; place-items: center;
    background: rgba(217,138,41,.12); color: var(--amber-dark);
    border-radius: var(--radius-sm);
}
.card-icon svg { width: 24px; height: 24px; }

/* --------------------------------------------------------------------------
   9. Capability columns
   -------------------------------------------------------------------------- */
.cap-cols {
    columns: 3 210px; column-gap: 2.25rem;
    list-style: none; padding: 0; margin: 0;
}
.cap-cols li {
    break-inside: avoid; margin-bottom: .55rem;
    padding-left: 1.6rem; position: relative;
    font-size: .97rem; overflow-wrap: anywhere;
}
.cap-cols li::before {
    content: ""; position: absolute; left: 0; top: .55em;
    width: 7px; height: 7px; border-radius: 2px; background: var(--amber);
}

/* --------------------------------------------------------------------------
   10. Split rows (image + copy)
   -------------------------------------------------------------------------- */
.split {
    display: grid; gap: clamp(1.75rem, 4vw, 3.5rem);
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.split + .split { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.split img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split ul { columns: 2 150px; column-gap: 1.5rem; list-style: none; padding: 0; }
.split ul li { padding-left: 1.4rem; position: relative; break-inside: avoid; font-size: .96rem; }
.split ul li::before {
    content: ""; position: absolute; left: 0; top: .55em;
    width: 6px; height: 6px; border-radius: 50%; background: var(--amber);
}
@media (min-width: 900px) {
    .split--flip > *:first-child { order: 2; }
}

/* --------------------------------------------------------------------------
   11. Gallery — masonry columns, natural photo shapes
       Several of these are multi-photo job sheets and before/after pairs, so
       they are never cropped to a fixed square.
   -------------------------------------------------------------------------- */
.gallery { columns: 3 300px; column-gap: 1rem; }
.gallery figure {
    margin: 0 0 1rem; break-inside: avoid; position: relative;
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
    background: var(--white);
}
.gallery img { width: 100%; height: auto; transition: transform .45s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
    position: absolute; inset: auto 0 0 0;
    padding: 1.8rem .95rem .8rem;
    background: linear-gradient(to top, rgba(12,16,23,.88), transparent);
    color: #fff; font-size: .9rem; font-weight: 600;
}

/* Before / after grid */
.ba-grid {
    display: grid; gap: 1.25rem; align-items: start;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
}
.ba-grid .before-after { margin: 0; }

/* --------------------------------------------------------------------------
   12. Quote form
   -------------------------------------------------------------------------- */
.quote-grid {
    display: grid; gap: clamp(2rem, 4vw, 3.5rem);
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    align-items: start;
}
.quote-points { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.quote-points li { display: flex; gap: .8rem; margin-bottom: 1.1rem; align-items: flex-start; }
.quote-points svg { width: 22px; height: 22px; color: var(--amber-dark); flex: none; margin-top: .18em; }
.quote-points strong { display: block; color: var(--ink); }
.quote-points span { font-size: .95rem; color: var(--muted); }

.form-card {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: var(--shadow);
}
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 650; color: var(--ink); font-size: .92rem; margin-bottom: .4rem; }
.field .req { color: var(--amber-dark); }

.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
    padding: .75rem .9rem;
    background: var(--white);
    border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c8cfda; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(217,138,41,.18);
}
.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7686' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px;
    padding-right: 2.5rem;
}
.form-note { text-align: center; font-size: .88rem; color: var(--muted); margin: 1rem 0 0; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   13. Call-to-action band
   -------------------------------------------------------------------------- */
.cta-band { background: var(--navy); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.75); max-width: 560px; margin-inline: auto; }
.cta-phone {
    display: inline-block; margin: .4rem 0 1.4rem;
    font-size: clamp(2rem, 5.5vw, 3.1rem); font-weight: 800;
    color: #fff; text-decoration: none; letter-spacing: -.02em;
}
.cta-phone:hover { color: var(--amber-light); }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); font-size: .95rem; }
.site-footer .wrap { padding-block: clamp(2.5rem, 5vw, 3.75rem) 0; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.site-footer h4 {
    color: #fff; font-size: .78rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: var(--amber-light); }
.footer-phone { color: #fff !important; font-size: 1.3rem; font-weight: 700; }
.footer-brand img { height: 74px; width: auto; margin-bottom: 1rem; }

.footer-bottom {
    margin-top: 2.5rem; padding-block: 1.25rem;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
    align-items: center; justify-content: space-between;
    font-size: .87rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* --------------------------------------------------------------------------
   15. Sticky mobile call bar
   -------------------------------------------------------------------------- */
.call-bar { display: none; }
@media (max-width: 767px) {
    .call-bar {
        display: grid; grid-template-columns: 1fr 1fr;
        position: fixed; inset: auto 0 0 0; z-index: 90;
        box-shadow: 0 -3px 16px rgba(0,0,0,.26);
    }
    .call-bar a {
        display: flex; align-items: center; justify-content: center; gap: .5rem;
        padding: .95rem .5rem; font-weight: 700; font-size: 1rem;
        color: #fff; text-decoration: none;
    }
    .call-bar svg { width: 1.05rem; height: 1.05rem; }
    .call-bar .cb-call  { background: var(--amber); }
    .call-bar .cb-quote { background: var(--navy); }
    body { padding-bottom: 58px; }
}

/* --------------------------------------------------------------------------
   16. Sub-pages (policies, 404)
   -------------------------------------------------------------------------- */
.page-head { background: var(--navy); color: #fff; padding-block: calc(var(--header-h) + 2.5rem) 2.5rem; }
.page-head h1 { color: #fff; margin-bottom: .35rem; }
.page-head p { color: rgba(255,255,255,.7); margin: 0; }

.prose { font-size: 1rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2.25rem; }
.prose h3 { font-size: 1.12rem; margin-top: 1.6rem; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose .updated { color: var(--muted); font-size: .92rem; }

.notice {
    background: rgba(217,138,41,.09); border-left: 4px solid var(--amber);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1.1rem 1.25rem; margin-bottom: 2rem; font-size: .95rem;
}

.error-page { text-align: center; padding-block: clamp(4rem, 12vh, 8rem); }
.error-code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--line); line-height: 1; margin: 0; }

/* --------------------------------------------------------------------------
   17. Print
   -------------------------------------------------------------------------- */
@media print {
    .site-header, .call-bar, .hero-dots, .hero-arrow, .nav-toggle { display: none !important; }
    body { color: #000; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}

/* --------------------------------------------------------------------------
   18. Before / after feature
   -------------------------------------------------------------------------- */
.before-after {
    margin: 0 0 1rem; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); background: var(--white);
}
.before-after img { width: 100%; height: auto; }
.before-after figcaption {
    padding: .9rem 1.1rem; font-size: .93rem; font-weight: 600; color: var(--ink);
    background: var(--white); border-top: 1px solid var(--line);
}
