/**
 * site.css — rmtricounty.com, "Mesh & Cream Bands"
 *
 * Alternating bands: warm cream for reading, the red jersey mesh for
 * conviction. Two-line Bitter headlines (second line italic), real job photos
 * in rounded frames on an amber offset block, lifted white cards, check pills.
 * The shield in the header is oversized and hangs past the header into the
 * section below. Tokens live in theme.css.
 */

/* ── Base ───────────────────────────────────────────────────────────── */

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 6.5rem;
    scrollbar-color: var(--red) var(--cream-2);
    accent-color: var(--red);
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    caret-color: var(--red);
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--red); color: var(--white); }

img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.mesh :focus-visible { outline-color: var(--white); }
main:focus { outline: none; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    padding: .5rem 1rem; background: var(--ink); color: var(--white);
    font-weight: 700; border-radius: var(--radius-sm); transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }
[hidden] { display: none !important; }

.frame { width: 100%; max-width: calc(var(--frame) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ── Bands ──────────────────────────────────────────────────────────── */

.band { padding-block: var(--band); background: var(--cream); }
.band-alt { background: var(--cream-2); }
.band-white { background: var(--white); }

/* The jersey mesh: logo red with a fine dot weave. */
.mesh {
    color: var(--white);
    background-color: var(--red-mesh);
    background-image:
        radial-gradient(rgb(0 0 0 / .2) 1.1px, transparent 1.6px),
        radial-gradient(rgb(255 255 255 / .07) 1.1px, transparent 1.6px);
    background-size: 6px 6px, 6px 6px;
    background-position: 0 0, 3px 3px;
}

/* ── Type ───────────────────────────────────────────────────────────── */

/* Two-line headline: a sturdy serif, then the italic line in the accent. */
.h {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.3rem, 4.4vw, 3.6rem);
    line-height: 1.04;
    letter-spacing: -.015em;
    text-wrap: balance;
}
.h em { display: block; font-style: italic; font-weight: 700; color: var(--red); }
.mesh .h em { color: var(--amber); }
.h-md { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.h-sm { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

.lede { max-width: 36rem; margin-top: 1rem; font-size: 1.125rem; color: var(--soft); text-wrap: pretty; }
.mesh .lede { color: var(--blush); }

.head { display: grid; gap: .25rem; margin-bottom: 2.2rem; max-width: 44rem; }
.head-split { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; max-width: none; }

.text-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 800; color: var(--red); }
.text-link .icon { width: 1em; height: 1em; transition: transform .25s var(--ease-out); }
.text-link:hover .icon { transform: translateX(3px); }
.mesh .text-link { color: var(--white); }

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

/* ── Buttons ────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 3rem; padding: .75rem 1.25rem;
    border: 2px solid transparent; border-radius: var(--radius-sm);
    font-weight: 800; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer;
    transition: background-color .2s var(--ease-out), color .2s, border-color .2s, transform .2s var(--ease-out);
}
.btn .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-deep); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-soft); }
.btn-line { border-color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--red); color: var(--red); }
.mesh .btn-line { border-color: var(--white); color: var(--white); }
.mesh .btn-line:hover { background: var(--white); color: var(--red); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* ── Header ─────────────────────────────────────────────────────────── */
/* The shield is oversized and hangs below the header line into the hero:
   --bleed is how far it reaches past the header. Sections that follow the
   header keep at least --bleed + breathing room of top padding. */

:root { --mark-h: 7.75rem; --bleed: 3.25rem; }

.site-header {
    position: sticky; top: 0; z-index: 40;
    background: var(--cream); border-bottom: 1px solid var(--line);
    transition: box-shadow .3s var(--ease-out), border-color .3s;
}
/* Floating state (set by site.js once the page scrolls): soft shadow, and the
   shield tucks inside the bar instead of hanging over the content. */
.site-header.is-floating { border-bottom-color: transparent; box-shadow: 0 1px 0 var(--line), 0 12px 28px -14px rgb(60 30 10 / .35); }
.header-bar { display: flex; align-items: center; gap: 2rem; min-height: 5rem; }
.brand { position: relative; display: flex; align-items: flex-start; gap: .9rem; margin-right: auto; align-self: flex-start; padding-top: .55rem; text-decoration: none; }
.brand-mark {
    height: var(--mark-h); width: auto; margin-bottom: calc(-1 * var(--bleed));
    filter: drop-shadow(0 10px 12px rgb(60 30 10 / .22));
    transition: height .35s var(--ease-out), margin .35s var(--ease-out), transform .4s var(--ease-out);
}
.is-floating .brand { padding-top: .5rem; }
.is-floating .brand-mark { height: calc(var(--mark-h) * .52); margin-bottom: 0; filter: none; }
.is-floating .brand-name { padding-top: .55rem; }
.brand:hover .brand-mark { transform: translateY(-2px) rotate(-2deg); }
.brand-name { display: grid; line-height: 1.1; padding-top: 1.15rem; transition: padding .35s var(--ease-out); }
.brand-rm { font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; }
.brand-rest { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-list { display: flex; gap: 1.6rem; }
.nav-link { font-weight: 700; font-size: .975rem; text-decoration: none; padding-block: .35rem; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav-link:hover { color: var(--red); }
.nav-link[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }
.header-phone { white-space: nowrap; }
.header-phone .icon { width: 1rem; height: 1rem; }

.header-call, .menu-toggle { display: none; }
.menu-toggle {
    align-items: center; gap: .4rem; min-height: 2.75rem; padding: .4rem .8rem;
    border: 2px solid var(--ink); border-radius: var(--radius-sm); background: transparent;
    font-weight: 800; cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 62rem) {
    :root { --mark-h: 5.25rem; --bleed: 2rem; }
    .header-bar { gap: .75rem; min-height: 4.25rem; }
    .brand { padding-top: .45rem; gap: .6rem; }
    .brand-name { padding-top: .75rem; }
    .js .menu-toggle, .header-call { display: inline-flex; }
    .header-call { min-height: 2.75rem; padding: .4rem .85rem; }
    .js .site-nav {
        position: absolute; inset: 100% 0 auto; z-index: 30; display: none;
        flex-direction: column; align-items: stretch; gap: 1rem;
        padding: 1rem var(--gutter) 1.5rem; background: var(--cream);
        border-bottom: 1px solid var(--line); box-shadow: var(--lift);
    }
    .js .site-nav.is-open { display: flex; }
    .nav-list { flex-direction: column; gap: 0; }
    .nav-link { display: block; padding: .8rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
    .nav-link[aria-current="page"] { border-bottom-color: var(--line); }
    .no-js .header-bar { flex-wrap: wrap; padding-block: 1rem; }
    .no-js .site-nav { flex-wrap: wrap; }
}
@media (max-width: 40rem) { .brand-name { display: none; } }

/* ── Hero ───────────────────────────────────────────────────────────── */

.hero { padding-block: calc(var(--bleed) + clamp(1.75rem, 3vw, 2.5rem)) clamp(3rem, 6vw, 4.5rem); }
.hero-grid, .split {
    display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
}
.split-rev { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
/* Grid children may shrink below their content's min width (long phone numbers, select options). */
.hero-grid > *, .split > *, .contact-grid > *, .work-grid > *, .read-grid > * { min-width: 0; }
.fld select { min-width: 0; text-overflow: ellipsis; }
.hero .h { font-size: clamp(2.6rem, 5vw, 4rem); }
.ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.trust { display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.trust > div, .trust > a { display: grid; align-content: start; text-decoration: none; }
.trust b { font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; line-height: 1.1; color: var(--red); }
.trust span { font-size: .875rem; color: var(--soft); }
.trust a:hover span { color: var(--red); text-decoration: underline; }

/* Real job photo in a rounded frame on an amber offset block. */
.framed { position: relative; margin: 0 1.4rem 1.4rem 0; }
.framed::before { content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; border-radius: var(--radius); background: var(--amber); }
.framed img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.photo-card {
    position: absolute; left: -1.25rem; bottom: 2rem;
    display: flex; gap: .7rem; align-items: center;
    max-width: calc(100% - 1rem); padding: .7rem 1rem;
    background: var(--white); color: var(--ink); border-radius: 10px; box-shadow: var(--lift);
    font-size: .9rem; line-height: 1.35;
}
.photo-card b { display: block; }
.dot { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; flex: none; border-radius: 50%; background: var(--red); color: var(--white); }
.dot .icon { width: 1.1rem; height: 1.1rem; stroke-width: 2.4; }

/* ── Pills (checklists) ─────────────────────────────────────────────── */

.pills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: 1.8rem; }
.pills li {
    display: flex; gap: .6rem; align-items: center; padding: .75rem .9rem;
    border-radius: 10px; background: var(--white); box-shadow: var(--lift);
    font-weight: 700; font-size: .95rem; line-height: 1.3;
}
.pills .icon { width: 1.15rem; height: 1.15rem; color: var(--red); stroke-width: 2.4; }
.mesh .pills li { background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .22); box-shadow: none; }
.mesh .pills .icon { color: var(--amber); }

.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.mosaic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.mosaic img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }

/* ── Service cards ──────────────────────────────────────────────────── */

.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.svc-card {
    position: relative; display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; align-items: center;
    padding: .8rem; background: var(--white); border-radius: 12px; box-shadow: var(--lift);
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgb(60 30 10 / .08), 0 20px 34px -16px rgb(60 30 10 / .45); }
.svc-card img { width: 5.5rem; height: 6.5rem; object-fit: cover; border-radius: var(--radius-sm); }
.svc-card h3 { font-family: var(--font-heading); font-weight: 800; font-size: 1.125rem; line-height: 1.2; margin-bottom: .2rem; }
.svc-card p { font-size: .9rem; color: var(--soft); line-height: 1.45; }
.svc-card a { display: inline-flex; gap: .3rem; align-items: center; margin-top: .4rem; font-weight: 800; font-size: .875rem; color: var(--red); text-decoration: none; }
.svc-card a::after { content: ""; position: absolute; inset: 0; }
.svc-card a .icon { width: .95em; height: .95em; transition: transform .25s var(--ease-out); }
.svc-card:hover a .icon { transform: translateX(3px); }
.svc-card-text { grid-template-columns: 1fr; padding: 1.2rem 1.3rem; }
.service-solo .lede { max-width: 44rem; }
.service-solo .pills { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ── Before / after ─────────────────────────────────────────────────── */

.work-grid { display: grid; grid-template-columns: minmax(0, 30rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.compare { display: grid; gap: 1rem; }
.compare-stage {
    --pos: 50%;
    position: relative; aspect-ratio: 3 / 4; max-height: 80vh; overflow: hidden;
    border-radius: var(--radius); background: #5E1015; user-select: none; touch-action: pan-y;
}
.compare-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--amber); pointer-events: none; }
.compare-grip {
    position: absolute; top: 50%; left: 50%; width: 2.9rem; height: 2.9rem; translate: -50% -50%;
    border-radius: 50%; background: var(--amber); box-shadow: 0 6px 18px -4px rgb(0 0 0 / .55);
}
.compare-grip::before, .compare-grip::after {
    content: ""; position: absolute; top: 50%; width: .55rem; height: .55rem;
    border: solid var(--ink); border-width: 0 0 3px 3px;
}
.compare-grip::before { left: .6rem; transform: translateY(-50%) rotate(45deg); }
.compare-grip::after { right: .6rem; transform: translateY(-50%) rotate(-135deg); }
.compare-tag {
    position: absolute; top: .9rem; padding: .25rem .65rem; border-radius: 999px;
    background: rgb(38 38 42 / .75); color: var(--white); font-weight: 800; font-size: .8rem;
    letter-spacing: .08em; text-transform: uppercase; pointer-events: none;
}
.compare-tag-before { left: .9rem; }
.compare-tag-after { right: .9rem; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-stage:has(.compare-range:focus-visible) { outline: 3px solid var(--white); outline-offset: 3px; }
.compare-caption { display: grid; gap: .2rem; }
.compare-title { font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem; }
.compare-caption p { color: var(--blush); }

.work-picker-title { margin-bottom: .8rem; font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; color: var(--white); }
.work-list { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .9rem; }
.work-pick {
    display: grid; grid-template-columns: 3rem 1fr; align-items: center; gap: .8rem; width: 100%;
    padding: .4rem .6rem .4rem .4rem; border: 1px solid rgb(255 255 255 / .2); border-radius: 10px;
    background: rgb(255 255 255 / .06); color: var(--white); text-align: left; font-weight: 700; line-height: 1.25;
    cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.work-pick img { width: 3rem; height: 4rem; object-fit: cover; border-radius: 6px; }
.work-pick:hover { background: rgb(255 255 255 / .14); }
.work-pick[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.no-js .work-picker { display: none; }

/* ── Steps ──────────────────────────────────────────────────────────── */

.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.steps::before { content: ""; position: absolute; top: 1.4rem; left: 1.4rem; right: 12%; height: 3px; background: var(--amber); }
.step { position: relative; display: grid; gap: .35rem; align-content: start; }
.step-num {
    display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: .6rem;
    border-radius: 50%; background: var(--amber); color: var(--ink);
    font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem;
}
.step-title { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; line-height: 1.2; }
.step p { color: var(--blush); max-width: 21rem; }

/* ── Reviews ────────────────────────────────────────────────────────── */

.rv { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 5fr); gap: 1.4rem; align-items: start; }
.score { padding: 1.6rem; border-radius: var(--radius); }
.score-number { display: block; font-family: var(--font-heading); font-weight: 800; font-size: 3.4rem; line-height: 1; }
.stars { display: flex; gap: 3px; margin-top: .5rem; color: var(--amber); }
.star { width: 1.1rem; height: 1.1rem; }
.score-label { display: block; margin-top: .4rem; font-size: .9rem; color: var(--blush); }
.score .text-link { margin-top: 1rem; }
.quote { padding: 1.6rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--lift); }
.quote blockquote p { font-family: var(--font-heading); font-style: italic; font-weight: 400; font-size: 1.1rem; line-height: 1.6; }
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after { content: "\201D"; }
.quote figcaption { margin-top: 1rem; font-size: .9rem; color: var(--soft); }
.quote figcaption strong { color: var(--ink); margin-right: .3em; }

/* ── Audience + property-type line under the services ─────────────── */

.types { margin-top: 1.8rem; max-width: 62rem; color: var(--soft); font-size: .95rem; line-height: 1.8; }
.types strong { color: var(--ink); margin-right: .4rem; }
.types a { color: var(--red); font-weight: 700; }

/* ── Guides list ────────────────────────────────────────────────────── */

.guide-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.guide { position: relative; display: grid; align-content: start; gap: .5rem; padding: 1.4rem; background: var(--white); border-radius: 12px; box-shadow: var(--lift); transition: transform .3s var(--ease-out); }
.guide:hover { transform: translateY(-3px); }
.guide-title { font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; line-height: 1.25; text-wrap: balance; }
.guide-title a { text-decoration: none; }
.guide-title a::after { content: ""; position: absolute; inset: 0; }
.guide:hover .guide-title a { color: var(--red); }
.guide p { color: var(--soft); font-size: .95rem; }
.guide .guide-meta { font-size: .85rem; }

/* ── Close band + estimate form ─────────────────────────────────────── */

.bigtel { display: block; margin-top: 1.4rem; font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1; color: var(--amber); text-decoration: none; white-space: nowrap; }
.bigtel-note { margin-top: .5rem; font-size: .95rem; color: var(--blush); }
.bigtel:hover { color: var(--amber-soft); }

.ticket { display: grid; gap: 1rem; padding: clamp(1.4rem, 3vw, 1.9rem); border-radius: var(--radius); background: var(--cream); color: var(--ink); box-shadow: var(--lift-lg); }
.band .ticket { background: var(--white); box-shadow: var(--lift); }
.ticket-title { font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; line-height: 1.15; }
.ticket-note { margin-top: .2rem; font-size: .92rem; color: var(--soft); }
.req { color: var(--red); font-weight: 800; }

.fld { display: grid; gap: .3rem; align-content: start; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fld label { font-weight: 800; font-size: .875rem; }
.fld input, .fld select, .fld textarea {
    width: 100%; min-height: 2.9rem; padding: .65rem .8rem;
    border: 1.5px solid var(--field); border-radius: var(--radius-sm); background: var(--white);
    font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.fld textarea { resize: vertical; min-height: 6rem; }
.fld select {
    appearance: none; padding-right: 2.4rem; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326262A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .7rem center; background-size: 1.2rem;
}
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: #A99B79; }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgb(158 27 34 / .18); }
.fld ::placeholder { color: #75706A; }
.fld [aria-invalid="true"] { border-color: var(--red); }
.field-hint { margin-top: -.5rem; font-size: .85rem; color: var(--soft); }
.field-error { font-size: .9rem; font-weight: 700; color: var(--red); }
.form-alert { display: flex; gap: .6rem; align-items: flex-start; padding: .8rem 1rem; border-radius: var(--radius-sm); background: #FBE4E5; color: var(--red-deep); font-weight: 700; }
.form-alert .icon { margin-top: .15rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ticket-submit { justify-self: start; }

/* ── Footer ─────────────────────────────────────────────────────────── */

.site-footer { background: var(--cream-2); padding-block: 3.5rem 2rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 4fr); gap: 2.5rem; }
.footer-brand { display: grid; justify-items: start; gap: 1rem; }
.footer-brand img { width: 12rem; }
.footer-brand p { color: var(--soft); font-size: .95rem; }
.footer-heading { margin-bottom: .9rem; font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; }
.footer-col ul { display: grid; gap: .45rem; }
.footer-col a { text-decoration: none; color: var(--soft); }
.footer-col a:hover { color: var(--red); text-decoration: underline; }
.footer-contact { display: grid; align-content: start; gap: .45rem; color: var(--soft); }
.footer-phone { font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; color: var(--red); text-decoration: none; }
.footer-contact a { color: var(--ink); }
.footer-hours { font-size: .9rem; }
.footer-hours strong { color: var(--ink); }
.footer-base { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--soft); }
.footer-base p:first-child { margin-right: auto; }
.footer-base a { margin-right: 1rem; }

/* ── Inner page head ────────────────────────────────────────────────── */

.page-head { padding-block: calc(var(--bleed) + clamp(1.5rem, 3vw, 2rem)) clamp(2.25rem, 5vw, 3.5rem); background: var(--cream); border-bottom: 1px solid var(--line); }
.page-head .h { font-size: clamp(2.3rem, 4.6vw, 3.4rem); max-width: 22ch; }
.crumbs { margin-bottom: 1rem; font-size: .9rem; color: var(--soft); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li { display: flex; align-items: center; gap: .35rem; }
.crumbs li + li::before { content: "/"; opacity: .6; }
.crumbs a { color: var(--ink); }
.crumbs [aria-current] { max-width: min(40ch, 45vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Services page ──────────────────────────────────────────────────── */

.service { scroll-margin-top: 1rem; }
.service .split { align-items: start; }
.service .h { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.service .framed img { aspect-ratio: 1 / 1.1; }
.service .ctas { margin-top: 1.6rem; }
.services-jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.services-jump a { padding: .5rem .9rem; border-radius: 999px; background: var(--white); box-shadow: var(--lift); font-weight: 700; font-size: .9rem; text-decoration: none; }
.services-jump a:hover { color: var(--red); }

/* ── About ──────────────────────────────────────────────────────────── */

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.values > div { padding: 1.4rem; border-radius: 12px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .22); }
.values dt { margin-bottom: .4rem; font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; color: var(--amber); }
.values dd { color: var(--blush); }
.towns { display: flex; flex-wrap: wrap; gap: .6rem; }
.towns li { padding: .5rem .95rem; border-radius: 999px; background: var(--white); box-shadow: var(--lift); font-weight: 700; font-size: .95rem; }
.prose-story p + p { margin-top: 1rem; }
.prose-story p { color: var(--soft); font-size: 1.0625rem; }

/* ── Contact ────────────────────────────────────────────────────────── */

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-main { scroll-margin-top: 1rem; }
.contact-card { display: grid; gap: 1.4rem; padding: 1.8rem; border-radius: var(--radius); }
.contact-card .bigtel { margin-top: 0; font-size: clamp(2.1rem, 3.4vw, 2.7rem); }
.contact-list { display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-list .icon { margin-top: .15rem; color: var(--amber); }
.contact-list a { color: var(--white); }
.hours-row { display: block; }
.contact-review { color: var(--blush); font-size: .95rem; }
.sent { display: grid; gap: 1rem; justify-items: start; padding: 2rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--lift); }
.sent-badge { display: inline-flex; gap: .5rem; align-items: center; padding: .35rem .8rem; border-radius: 999px; background: var(--cream-2); color: var(--red-deep); font-weight: 800; font-size: .9rem; }
.sent-badge .icon { width: 1rem; height: 1rem; stroke-width: 2.6; }
.sent p { color: var(--soft); max-width: 36rem; }
.sent a:not(.text-link) { color: var(--red); font-weight: 700; }

/* ── Articles index ─────────────────────────────────────────────────── */

.ledger-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); gap: 1rem 2rem; align-items: center; margin-bottom: 1.6rem; }
.ledger-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
    display: inline-flex; align-items: center; gap: .5rem; min-height: 2.6rem; padding: .4rem 1rem;
    border: 1.5px solid var(--field); border-radius: 999px; background: var(--white);
    font-weight: 700; font-size: .95rem; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.chip span { font-weight: 600; font-size: .8rem; color: var(--soft); }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--white); }
.chip[aria-pressed="true"] span { color: var(--blush); }
.ledger-search { position: relative; }
.ledger-search .icon { position: absolute; left: .8rem; top: 50%; translate: 0 -50%; color: var(--soft); pointer-events: none; }
.ledger-search input { width: 100%; min-height: 2.9rem; padding: .6rem .8rem .6rem 2.6rem; border: 1.5px solid var(--field); border-radius: 999px; background: var(--white); }
.ledger-search input:focus-visible { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgb(158 27 34 / .18); }
.ledger-count { grid-column: 1 / -1; font-size: .9rem; color: var(--soft); }
.ledger { display: grid; gap: .8rem; }
.ledger-row { position: relative; display: grid; gap: .35rem; padding: 1.3rem 1.5rem; border-radius: 12px; background: var(--white); box-shadow: var(--lift); transition: transform .3s var(--ease-out); }
.ledger-row:hover { transform: translateY(-2px); }
.ledger-title { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; line-height: 1.25; text-wrap: balance; }
.ledger-title a { text-decoration: none; }
.ledger-title a::after { content: ""; position: absolute; inset: 0; }
.ledger-row:hover .ledger-title a { color: var(--red); }
.ledger-excerpt { max-width: 60rem; color: var(--soft); font-size: .975rem; }
.ledger-meta { display: flex; align-items: center; gap: .8rem; font-size: .85rem; color: var(--soft); }
.meta-tag { display: inline-block; padding: .15rem .6rem; border-radius: 999px; background: var(--cream-2); color: var(--ink); font-weight: 700; font-size: .8rem; text-decoration: none; }
.ledger-empty { padding: 2rem 0; font-size: 1.1rem; }
.ledger-empty a { color: var(--red); font-weight: 700; }

/* ── Single article ─────────────────────────────────────────────────── */

.read-head .h { font-size: clamp(2.1rem, 4.2vw, 3.1rem); max-width: 24ch; }
.read-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem; margin-top: 1.2rem; font-size: .9rem; font-weight: 600; color: var(--soft); }
.read-meta .meta-tag { background: var(--white); }
.read-board { background: var(--white); padding-block: clamp(2rem, 4vw, 3.5rem) var(--band); }
.read-grid { display: grid; grid-template-columns: minmax(0, 46rem) 18rem; justify-content: space-between; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.read-hero { margin-bottom: 2rem; }
.read-hero img { width: 100%; border-radius: var(--radius); }
.read-aside { position: sticky; top: 6.5rem; display: grid; gap: 1.5rem; }
.aside-ticket { display: grid; gap: .8rem; justify-items: start; padding: 1.5rem; border-radius: var(--radius); }
.aside-title { font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; line-height: 1.2; }
.aside-ticket p { color: var(--blush); font-size: .95rem; }
.aside-ticket .bigtel { margin-top: 0; font-size: 1.9rem; }
.toc ol { display: grid; gap: .1rem; margin-top: .6rem; border-left: 2px solid var(--line); }
.toc a { display: block; padding: .3rem 0 .3rem .9rem; font-size: .9rem; line-height: 1.35; color: var(--soft); text-decoration: none; }
.toc a:hover { color: var(--red); text-decoration: underline; }
.toc .aside-title { font-size: 1.05rem; }

.prose { max-width: 70ch; font-size: 1.125rem; line-height: 1.75; }
.prose > * + *, .prose .article-body > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.1em !important; font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.2; text-wrap: balance; scroll-margin-top: 1.5rem; }
.prose h3 { margin-top: 1.7em !important; font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; line-height: 1.3; }
.prose h2 + *, .prose h3 + * { margin-top: .6em !important; }
.prose a { color: var(--red); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--red); }
.prose strong { font-weight: 700; }
.prose blockquote { padding: 1.2rem 1.4rem; border-radius: 10px; background: var(--cream); font-family: var(--font-heading); font-style: italic; }
.prose img { border-radius: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: .6rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { border-bottom: 2px solid var(--ink); font-weight: 800; }
.prose-article > .article-body > p:first-child { font-size: 1.25rem; line-height: 1.65; }
.prose-legal h2 { font-size: 1.6rem; }

.faq { margin-top: 3.5rem; max-width: 70ch; }
.faq-heading { margin-bottom: 1rem; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 1.1rem 3rem 1.1rem 0; font-weight: 700; font-size: 1.0625rem; line-height: 1.4; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after { content: ""; position: absolute; right: .5rem; top: 50%; width: 1rem; height: 2.5px; background: var(--red); transition: transform .3s var(--ease-out); }
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item summary:hover { color: var(--red); }
.faq-item p { padding-bottom: 1.1rem; color: var(--soft); max-width: 62ch; }
.related { margin-top: var(--band); }
.related .h { margin-bottom: 1.4rem; }

/* ── 404 ────────────────────────────────────────────────────────────── */

.lost-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.lost-links a { padding: .55rem 1rem; border-radius: 999px; background: var(--white); box-shadow: var(--lift); font-weight: 700; text-decoration: none; }
.lost-links a:hover { color: var(--red); }

/* ── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 75rem) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 62rem) {
    .hero-grid, .split, .split-rev, .work-grid, .contact-grid, .read-grid, .rv { grid-template-columns: 1fr; }
    .split-rev > :first-child { order: 2; }
    .svc, .guide-list { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr; gap: 1.6rem; }
    .steps::before { top: 0; bottom: 0; left: 1.4rem; right: auto; width: 3px; height: auto; }
    .step { padding-left: 4rem; }
    .step-num { position: absolute; left: 0; top: 0; }
    .read-aside { position: static; }
    .ledger-tools { grid-template-columns: 1fr; }
    .framed { max-width: 32rem; }
}

@media (max-width: 40rem) {
    body { font-size: 1rem; }
    .svc, .guide-list, .values, .pills, .service-solo .pills, .footer-grid, .fld-row { grid-template-columns: 1fr; }
    .work-list { display: flex; gap: .6rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; scrollbar-color: var(--amber) transparent; }
    .work-list li { flex: 0 0 7.5rem; scroll-snap-align: start; }
    .work-pick { grid-template-columns: 1fr; gap: .4rem; height: 100%; padding: .4rem; font-size: .85rem; align-content: start; }
    .work-pick img { width: 100%; height: 6.5rem; }
    .trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
    .trust b { font-size: 1.35rem; }
    .trust span { font-size: .78rem; }
    .photo-card { left: .6rem; }
    .bigtel { font-size: clamp(1.55rem, 8vw, 2.6rem); }
    .footer-base p:first-child { margin-right: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
    .site-header, .site-footer, .mesh, .read-aside { display: none; }
}
