/* ── Content area ── */

#content {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

#dynamic-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
    /* One left gutter for every page; content is capped and centered on wide screens */
    position: relative;
    padding: 0 max(var(--gutter), calc((100% - var(--maxw)) / 2));
    /* Panels: each one fills the view and the scroll glides to frame the next */
    scroll-snap-type: y mandatory;
    overscroll-behavior: contain;
    /* Smoke shows through: a dark veil, lighter in the middle where people read */
    background:
        linear-gradient(180deg, rgba(6,6,6,0.30) 0%, rgba(10,10,10,0.52) 18%, rgba(10,10,10,0.52) 82%, rgba(6,6,6,0.34) 100%);
    color: var(--text-body);
    line-height: 1.7;
    font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
    scrollbar-width: thin;
    scrollbar-color: var(--orange) transparent;
}

#dynamic-content.no-scroll { overflow: hidden; }
#dynamic-content::-webkit-scrollbar { width: 8px; }
#dynamic-content::-webkit-scrollbar-track { background: transparent; }
#dynamic-content::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #D65A16, #8F3406); border-radius: 8px; border: 2px solid rgba(0,0,0,0.6); }
#dynamic-content:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }

/* ── Typography ── */
#dynamic-content h1 {
    font-family: 'Russo One', sans-serif;
    font-weight: 400;
    font-size: clamp(1.55rem, min(3vw, 5.6vh), 2.7rem);
    line-height: 1.12;
    color: var(--teal);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-wrap: balance;
    margin-bottom: clamp(12px, 2vh, 22px);
    padding-bottom: 12px;
    position: relative;
    text-shadow: 0 2px 0 rgba(0,0,0,0.6), 0 0 34px rgba(9,166,136,0.28);
}

/* Two-tone rule: orange then teal, fading out */
#dynamic-content h1::after,
#dynamic-content h2:not(.sub):not(.tile-t)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 140px;
    max-width: 60%;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--orange) 0 34%, var(--teal) 34% 62%, transparent 100%);
}

#dynamic-content h2 {
    font-family: 'Russo One', sans-serif;
    font-weight: 400;
    font-size: clamp(1.2rem, min(2vw, 4vh), 1.85rem);
    line-height: 1.2;
    color: var(--orange-hot);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-wrap: balance;
    padding-bottom: 10px;
    margin: 0 0 clamp(12px, 2vh, 20px);
    position: relative;
    text-shadow: 0 2px 0 rgba(0,0,0,0.6), 0 0 28px rgba(193,74,9,0.3);
}

#dynamic-content h2.sub {
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    color: var(--orange-hot);
    letter-spacing: 0.03em;
    text-transform: none;
    padding: 0;
    margin: 22px 0 8px;
    text-shadow: none;
}

#dynamic-content h3 {
    font-family: 'Russo One', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.25;
    color: var(--text);
    letter-spacing: 0.02em;
}

#dynamic-content p {
    color: var(--text-body);
    margin-bottom: 12px;
    max-width: 72ch;
    text-wrap: pretty;
}

#dynamic-content strong { color: var(--text); }

#dynamic-content a {
    color: var(--teal-text);
    text-decoration: none;
    border-bottom: 1px solid rgba(47,208,174,0.4);
    transition: color 0.18s ease, border-color 0.18s ease;
}

#dynamic-content a:hover,
#dynamic-content a:focus-visible {
    color: #fff;
    border-bottom-color: var(--orange-hot);
}

#dynamic-content ul {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

#dynamic-content ul li {
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
    max-width: 72ch;
}

#dynamic-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 9px;
    height: 2px;
    border-radius: 2px;
    background: var(--orange);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Russo One', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--orange-hot) !important;
    margin-bottom: 10px !important;
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--orange);
    box-shadow: 0 0 10px rgba(224,100,42,0.7);
}

#dynamic-content .lede {
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.18rem);
    color: #DADADA;
    max-width: 58ch;
}

/* ── Buttons ── */
.svc-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 6px;
    max-width: none !important;
}

#dynamic-content a.btn-book, #dynamic-content a.btn-ghost, #dynamic-content a.btn-call,
.btn-book, .btn-ghost, .btn-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: var(--r-ctl);
    font: 700 0.92rem/1.2 'DM Sans', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
                transform 0.18s var(--ease), box-shadow 0.18s ease;
}

#dynamic-content a.btn-book, .btn-book {
    background: linear-gradient(180deg, #C9500F 0%, var(--orange-btn) 55%, #A23A07 100%);
    border-color: #D35A18;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 8px 20px -8px rgba(193,74,9,0.9);
}

#dynamic-content a.btn-book:hover, .btn-book:hover,
#dynamic-content a.btn-book:focus-visible, .btn-book:focus-visible {
    background: linear-gradient(180deg, #D85C18 0%, #C04709 55%, #A23A07 100%);
    color: #fff;
    border-color: #E36A26;
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 14px 26px -10px rgba(224,100,42,0.95);
}

#dynamic-content a.btn-ghost, .btn-ghost {
    background: linear-gradient(180deg, rgba(40,40,40,0.7), rgba(20,20,20,0.7));
    color: #F0F0F0;
    border-color: rgba(255,255,255,0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

#dynamic-content a.btn-ghost:hover, .btn-ghost:hover,
#dynamic-content a.btn-ghost:focus-visible, .btn-ghost:focus-visible {
    border-color: var(--teal);
    color: var(--teal-text);
    transform: translateY(-2px);
}

#dynamic-content a.btn-call, .btn-call {
    background: linear-gradient(180deg, #088C73 0%, var(--teal-deep) 100%);
    border-color: #0A9A7F;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 8px 20px -10px rgba(9,166,136,0.8);
}

#dynamic-content a.btn-call:hover, .btn-call:hover { transform: translateY(-2px); color: #fff; }

#dynamic-content a.btn-book:active, #dynamic-content a.btn-ghost:active, #dynamic-content a.btn-call:active { transform: translateY(0); }
.svc-cta .icon { width: 1.1em; height: 1.1em; }

/* ── Steel panel and card ── */
.tile, .step, .svc-col, .price-card, .review-card, .rsa-quote, .rv-promise-card, .ticket {
    background: var(--steel), var(--grain);
    box-shadow: var(--steel-edge), var(--steel-shadow);
    border: 1px solid rgba(255,255,255,0.06);
}

.sec { margin-top: clamp(30px, 5.5vh, 60px); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sec-head a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; margin-bottom: clamp(12px, 2vh, 20px); font-weight: 500; }
.sec-head a .icon { width: 1em; height: 1em; }

/* ── Home hero ── */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(20px, 4vw, 64px);
    align-items: center;
    min-height: min(100%, 560px);
}

.hero h1 { font-size: clamp(1.8rem, min(3.4vw, 6.4vh), 2.95rem) !important; }

.hero-facts {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0 !important;
}

#dynamic-content .hero-facts li {
    margin: 0;
    padding: 5px 12px 5px 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.84rem;
    color: var(--text);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
}

#dynamic-content .hero-facts li::before { display: none; }
#dynamic-content .hero-facts a { color: inherit; border-bottom: 1px dashed rgba(255,255,255,0.3); }
#dynamic-content .hero-facts a:hover { color: var(--teal-text); }
.hero-facts .icon { color: var(--teal); width: 1em; height: 1em; }

/* Two photos layered like prints pinned on the bay wall */
.hero-media {
    position: relative;
    height: clamp(240px, 50vh, 470px);
    isolation: isolate;
}

.ph {
    position: absolute;
    margin: 0;
    border-radius: var(--r-panel);
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 14px 26px 50px -18px rgba(0,0,0,0.95), 0 0 0 1px rgba(0,0,0,0.6);
    transition: transform 0.5s var(--ease), box-shadow 0.5s ease;
}

.ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lit top edge on the photo, like shop light raking across a print */
.ph::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(170deg, rgba(255,255,255,0.12) 0%, transparent 28%, transparent 70%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
}

.ph-a { left: 0; top: 0; width: 78%; height: 72%; z-index: 1; transform: rotate(-1.2deg); }
.ph.ph-b figcaption { left: auto; right: 12px; top: auto; bottom: 12px; }
.ph-b { right: 0; bottom: 0; width: 60%; height: 58%; z-index: 2; transform: rotate(1.6deg); border-color: rgba(224,100,42,0.45); }
.hero-media:hover .ph-a { transform: rotate(-1.8deg) translate(-4px, -4px); }
.hero-media:hover .ph-b { transform: rotate(2.2deg) translate(4px, 4px); }

.ph figcaption {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 1;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(8,8,8,0.78);
    border: 1px solid rgba(255,255,255,0.14);
    font-family: 'Russo One', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
}

/* The repair ticket that rides on the photos: before, action, after */
.ticket {
    position: absolute;
    left: 3%;
    bottom: 4%;
    z-index: 3;
    width: min(250px, 46%);
    padding: 12px 14px 10px;
    border-radius: var(--r-card);
    border-top: 3px solid var(--teal);
    background: linear-gradient(180deg, rgba(30,30,30,0.96), rgba(16,16,16,0.97)), var(--grain);
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--text);
    transform: rotate(-2deg);
}

.ticket-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(255,255,255,0.18);
    font-family: 'Russo One', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.ticket-head b { color: var(--orange-hot); font-weight: 400; }

#dynamic-content .ticket ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }

#dynamic-content .ticket li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    color: var(--text);
    font-size: 0.8rem;
}

#dynamic-content .ticket li::before { display: none; }

.tick {
    flex: none;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--teal-deep);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(9,166,136,0.16);
}

.tick .icon { width: 11px; height: 11px; stroke-width: 3; }
.tick.next { background: transparent; border: 1.5px dashed rgba(224,100,42,0.8); box-shadow: none; }

/* ── Service tiles ── */
.tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 1.3vw, 18px);
}

#dynamic-content a.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 16px 14px;
    border-radius: var(--r-card);
    color: var(--text-body);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    transition: transform 0.22s var(--ease), box-shadow 0.22s ease, border-color 0.22s ease;
}

/* Warm light pooling under the tile on hover */
#dynamic-content a.tile::before {
    content: '';
    position: absolute;
    inset: auto -20% -60% -20%;
    height: 90%;
    background: radial-gradient(closest-side, rgba(224,100,42,0.22), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

#dynamic-content a.tile:hover,
#dynamic-content a.tile:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(224,100,42,0.45);
    color: var(--text-body);
    box-shadow: var(--steel-edge), 10px 22px 40px -16px rgba(0,0,0,0.95), 0 0 0 1px rgba(224,100,42,0.25);
}

#dynamic-content a.tile:hover::before,
#dynamic-content a.tile:focus-visible::before { opacity: 1; }

.tile-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 4px;
    border-radius: 10px;
    color: var(--teal-text);
    background: linear-gradient(180deg, rgba(9,166,136,0.16), rgba(9,166,136,0.05));
    border: 1px solid rgba(9,166,136,0.3);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.tile-icon .icon { width: 24px; height: 24px; stroke-width: 1.6; }

#dynamic-content .tile-t {
    font-family: 'Russo One', sans-serif;
    font-size: 1rem;
    line-height: 1.25;
    color: var(--text);
    letter-spacing: 0.02em;
    text-transform: none;
    margin: 0;
    padding: 0;
    text-shadow: none;
}

.tile-d {
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--text-dim);
    margin: 0 !important;
}

.tile-go {
    margin-top: auto;
    padding-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--orange-hot);
}

.tile-go .icon { width: 1em; height: 1em; transition: transform 0.2s var(--ease); }
a.tile:hover .tile-go .icon { transform: translateX(3px); }

/* ── Steps ── */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 1.3vw, 18px);
    counter-reset: step;
    list-style: none;
    padding: 0 !important;
}

#dynamic-content .step {
    position: relative;
    margin: 0;
    padding: 18px 18px 16px 18px;
    border-radius: var(--r-card);
    counter-increment: step;
    max-width: none;
}

#dynamic-content .step::before {
    content: counter(step, decimal-leading-zero);
    position: static;
    display: block;
    width: auto;
    height: auto;
    background: none;
    margin-bottom: 6px;
    font-family: 'Russo One', sans-serif;
    font-size: 1.9rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(224,100,42,0.85);
    text-shadow: 0 0 18px rgba(224,100,42,0.25);
}

.step h3 { margin-bottom: 6px; }
.step p { font-size: 0.92rem; margin: 0 !important; color: var(--text-dim) !important; }

/* Steps joined by a seam on wide screens */
@media (min-width: 900px) {
    #dynamic-content .step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 34px;
        right: calc(-1 * clamp(10px, 1.3vw, 18px));
        width: clamp(10px, 1.3vw, 18px);
        height: 2px;
        background: linear-gradient(90deg, var(--orange), var(--teal));
    }
}

/* ── Closing band ── */
.closing {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    padding: clamp(18px, 3vh, 28px) clamp(18px, 2.4vw, 32px);
    border-radius: var(--r-panel);
    overflow: hidden;
    background:
        radial-gradient(120% 140% at 0% 100%, rgba(193,74,9,0.28) 0%, transparent 55%),
        radial-gradient(100% 120% at 100% 0%, rgba(9,166,136,0.14) 0%, transparent 55%),
        var(--steel), var(--grain);
    border: 1px solid rgba(224,100,42,0.3);
    box-shadow: var(--steel-edge), var(--steel-shadow);
}

#dynamic-content .closing h2 { margin: 0 0 4px; padding: 0; font-size: clamp(1.1rem, 1.7vw, 1.5rem); }
#dynamic-content .closing h2::after { display: none; }
#dynamic-content .closing p { margin: 0; }
.closing .svc-cta { margin: 0; }

/* ── Breadcrumb ── */
.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    font-size: 0.82rem;
    color: var(--text-dim);
}

.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs li + li::before { content: '/'; color: rgba(255,255,255,0.25); margin-right: 2px; }
#dynamic-content .crumbs a { color: var(--text-dim); border-bottom-color: transparent; }
#dynamic-content .crumbs a:hover { color: var(--teal-text); border-bottom-color: currentColor; }
.crumbs [aria-current] { color: var(--text); }

/* ── Service pages ── */
.svc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(18px, 3vw, 44px);
    align-items: start;
}

.svc-layout .service-photos {
    position: sticky;
    top: 0;
    flex-direction: column;
    margin: 4px 0 0;
}

.service-photos {
    display: flex;
    gap: clamp(10px, 1.4vw, 18px);
    margin: clamp(12px, 2vh, 22px) 0;
    width: 100%;
}

.service-photo {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--r-card);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 10px 20px 40px -18px rgba(0,0,0,0.95);
    transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}

.service-photo:nth-child(2) { border-color: rgba(224,100,42,0.4); }
.service-photo:hover { transform: translateY(-3px); }

.svc-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 1.3vw, 18px);
    margin: clamp(22px, 4vh, 40px) 0 12px;
}

.svc-col {
    position: relative;
    border-radius: var(--r-card);
    padding: 16px 18px 14px;
    border-top: 2px solid var(--teal) !important;
}

#dynamic-content .svc-col h2.sub { margin-top: 0; color: var(--teal-text); }
#dynamic-content .svc-col ul, #dynamic-content .svc-col ol { margin: 0; color: var(--text-body); font-size: 0.93rem; line-height: 1.55; }
#dynamic-content .svc-col ol { padding-left: 1.2em; }
#dynamic-content .svc-col li { margin-bottom: 5px; }
#dynamic-content .svc-col p { margin-bottom: 6px; font-size: 0.93rem; }
.svc-fine { font-size: 0.85em !important; color: var(--text-dim) !important; }

.related { margin-top: clamp(26px, 4.5vh, 48px); }

.chips {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
}

#dynamic-content .chips li { margin: 0; padding: 0; }
#dynamic-content .chips li::before { display: none; }

#dynamic-content .chips a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(40,40,40,0.8), rgba(22,22,22,0.8));
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
    transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s var(--ease);
}

#dynamic-content .chips a .icon { color: var(--teal); width: 1.1em; height: 1.1em; }
#dynamic-content .chips a:hover, #dynamic-content .chips a:focus-visible { border-color: rgba(224,100,42,0.6); color: #fff; transform: translateY(-1px); }

/* ── Form page centering ── */
.form-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    width: 100%;
    gap: clamp(10px, 1.5vh, 18px);
}

/* ── Price grid (Specials) ── */
/* Flex so a short last row stretches instead of leaving an orphan gap */
.price-grid {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(10px, 1.3vw, 18px);
    width: 100%;
    margin-top: clamp(12px, 2vh, 22px);
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 18px 14px;
    border-radius: var(--r-card);
    border-left: 3px solid var(--orange) !important;
    flex: 1 1 260px;
    transition: transform 0.22s var(--ease), box-shadow 0.22s ease;
}

.price-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--steel-edge), 10px 22px 40px -16px rgba(0,0,0,0.95), 0 0 0 1px rgba(224,100,42,0.2);
}

.price-service {
    font-family: 'Russo One', sans-serif;
    font-size: clamp(0.84rem, 0.95vw, 0.98rem);
    color: var(--text);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.35;
}

.price-amount {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    align-content: flex-start;
    min-height: 3.9rem;
    gap: 4px 8px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255,255,255,0.12);
    font-family: 'Russo One', sans-serif;
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    line-height: 1.1;
    color: var(--teal-text);
    text-shadow: 0 0 18px rgba(9,166,136,0.25);
}

.price-note {
    flex-basis: 100%;
    min-height: 1.2em;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dim);
    letter-spacing: 0.01em;
    text-shadow: none;
}

/* ── Wide-screen and tablet shapes ── */
@media (max-width: 1100px) {
    .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .svc-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .svc-info .svc-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; min-height: 0; }
    .hero-media { height: clamp(240px, 58vw, 420px); }
    .svc-layout { grid-template-columns: 1fr; }
    .svc-layout .service-photos { position: static; flex-direction: row; order: -1; }
    .steps { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .svc-info { grid-template-columns: 1fr; }
    .svc-layout .service-photos { flex-direction: column; }
}

@media (max-width: 600px) {
    .hero .ticket { display: none; }
    .ph-a { width: 82%; transform: rotate(-1deg); }
    .ph-b { width: 64%; right: 2%; transform: rotate(1deg); }
}

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

@media (max-width: 480px) {
    .svc-cta a { flex: 1 1 100%; }
}


/* ═══════════ Panels ═══════════ */

.panel {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(14px, 3vh, 40px) 0 clamp(40px, 7vh, 70px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.panel[hidden] { display: none; }

/* Seam at the top of each panel after the first, so sections read as frames */
.panel + .panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(224,100,42,0.45) 30%, rgba(9,166,136,0.4) 70%, transparent);
}

.panel > .crumbs { margin-bottom: 4px; }
.panel .sec { margin-top: 0; }
.panel > .closing { margin-top: clamp(16px, 3vh, 28px); }
.panel > [data-visit-slot] .visit-us { margin-top: 0; }
.panel > .lede { margin-bottom: clamp(14px, 2.4vh, 24px); }
.panel .hero { min-height: 0; }
.one-panel .panel { justify-content: flex-start; padding-bottom: clamp(14px, 3vh, 40px); }

/* Long text pages (legal) start at the top */
.panel:only-child { justify-content: flex-start; }

/* Next cue: a quiet button at the foot of each panel */
.next-cue {
    position: absolute;
    left: 50%;
    bottom: clamp(8px, 1.8vh, 18px);
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(14,14,14,0.72);
    color: var(--text-dim);
    font: 600 0.78rem/1 'DM Sans', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.next-cue .icon { width: 14px; height: 14px; color: var(--orange-hot); animation: nudge 2.6s ease-in-out infinite; }
.next-cue:hover, .next-cue:focus-visible { color: #fff; border-color: rgba(224,100,42,0.6); background: rgba(30,18,10,0.85); }

@keyframes nudge {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(3px); }
}

/* Section rail on the right edge */
.rail {
    position: absolute;
    right: clamp(6px, 1.2vw, 20px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rail button {
    position: relative;
    display: block;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.rail button::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.28);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.6);
    transition: height 0.3s var(--ease), background 0.3s ease;
}

.rail button[aria-current]::before { height: 20px; background: var(--orange-hot); box-shadow: 0 0 12px rgba(224,100,42,0.6); }
.rail button:hover::before, .rail button:focus-visible::before { background: var(--teal-text); }

.rail-label {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(12,12,12,0.92);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text);
    font: 600 0.74rem/1.2 'DM Sans', sans-serif;
    letter-spacing: 0.04em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s var(--ease);
}

.rail button:hover .rail-label,
.rail button:focus-visible .rail-label { opacity: 1; transform: translateY(-50%); }

/* Fit: every panel is designed to sit in one view */

/* Short desktop views (most laptops): compact tiles */
@media (max-height: 940px) and (min-width: 701px) {
    #dynamic-content a.tile { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 4px; padding: 12px 14px; }
    .tile-icon { width: 34px; height: 34px; margin: 0; }
    .tile-icon .icon { width: 20px; height: 20px; }
    #dynamic-content .tile-t { flex: 1; }
    .tile-d { flex-basis: 100%; }
    .tile-go { display: none; }
    .steps .step { padding: 14px 16px; }
}

@media (max-height: 700px) and (min-width: 701px) {
    .hero-media { height: clamp(220px, 46vh, 360px); }
    #dynamic-content .lede { font-size: 0.98rem; line-height: 1.6; }
    .hero-facts { margin-top: 10px !important; }
    .tile-d { display: none; }
    .panel { padding-top: 12px; padding-bottom: 40px; }
}

/* Phones: two-column icon tiles so all eight fit one view */
@media (max-width: 700px) {
    .panel { padding: 18px 0 52px; }
    .rail { right: 2px; gap: 2px; }
    .rail button { width: 16px; height: 18px; }
    .rail button::before { width: 6px; height: 6px; }
    .rail button[aria-current]::before { height: 14px; }
    .rail-label { display: none; }
    .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; }
    #dynamic-content a.tile { padding: 12px; gap: 6px; }
    .tile-icon { width: 36px; height: 36px; margin: 0; }
    .tile-icon .icon { width: 20px; height: 20px; }
    #dynamic-content .tile-t { font-size: 0.9rem; }
    .tile-d, .tile-go { display: none; }
    .steps { gap: 8px; }
    #dynamic-content .step { padding: 12px 14px; }
    #dynamic-content .step::before { font-size: 1.4rem; float: left; margin: 0 12px 0 0; }
    .hero-media { height: clamp(200px, 56vw, 300px); }
}

/* Service "About" panel: copy in two columns on wide screens */
.prose-cols { columns: 2 340px; column-gap: clamp(24px, 4vw, 56px); }
.prose-cols > * { break-inside: avoid; }
#dynamic-content .prose-cols p { max-width: none; }
#dynamic-content .prose-cols h2.sub:first-child { margin-top: 0; }

@media (max-height: 860px) and (min-width: 701px) {
    .price-card { padding: 12px 16px 10px; gap: 6px; }
    .price-amount { min-height: 3.2rem; padding-top: 8px; font-size: clamp(1.15rem, 1.5vw, 1.4rem); }
}

/* Prices as compact rows: service on the left, price on the right */
.price-grid { gap: 10px; }
.price-card {
    flex: 1 1 340px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 16px;
}
.price-service { flex: 1; min-width: 0; }
.price-amount {
    flex: none;
    min-height: 0;
    padding-top: 0;
    border-top: 0;
    padding-left: 14px;
    border-left: 1px dashed rgba(255,255,255,0.14);
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    font-size: clamp(1.15rem, 1.5vw, 1.4rem);
}
.price-note { flex-basis: auto; min-height: 0; max-width: 16ch; }
@media (max-height: 860px) and (min-width: 701px) {
    .price-amount { min-height: 0; padding-top: 0; }
}

/* Reviews: cards sized to their content so the panel fits */
.review-card { min-height: 0; }

/* Short laptop views: tighter hero, hours and info cards */
@media (max-height: 760px) and (min-width: 701px) {
    .hero h1, #dynamic-content .panel h1 { font-size: clamp(1.5rem, min(3vw, 5.8vh), 2.4rem) !important; margin-bottom: 10px; }
    .hero-media { height: clamp(220px, 50vh, 380px); }
    .hours-table th, .hours-table td { padding: 3px 14px 3px 0; font-size: 0.86rem; }
    .svc-col { padding: 12px 14px 10px; }
    #dynamic-content .svc-col ul, #dynamic-content .svc-col ol, #dynamic-content .svc-col p { font-size: 0.86rem; }
    .related { margin-top: 14px; }
    .tile-d { display: none; }
}
@media (max-height: 680px) and (min-width: 701px) {
    .hero-facts { display: none !important; }
    .eyebrow { margin-bottom: 4px !important; }
    .crumbs ol { margin-bottom: 4px; }
}

/* Phones: lighter hero so the first panel nearly fits */
@media (max-width: 700px) {
    .hero-facts { display: none !important; }
    .hero-media { height: clamp(180px, 50vw, 240px); }
    .svc-cta a { flex: 1 1 0; padding: 10px 12px; font-size: 0.82rem; }
    .price-card { flex-basis: 100%; }
}

/* Service pages: other services and the booking buttons share the last row */
.svc-end { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 28px; margin-top: clamp(16px, 3vh, 28px); }
.svc-end .related { flex: 1 1 520px; margin: 0; }
.svc-end .svc-cta { margin: 0; flex: none; }
#dynamic-content .svc-end .related h2.sub { margin-top: 0; }
.panel .svc-info { margin-top: 6px; }

/* Closing band: words and buttons side by side when there is room */
.closing > div { flex: 1 1 380px; }
#dynamic-content .closing p { max-width: 60ch; }
.panel .closing { padding-top: clamp(14px, 2.2vh, 22px); padding-bottom: clamp(14px, 2.2vh, 22px); }

@media (max-height: 680px) and (min-width: 701px) {
    .panel .tiles ~ * , .panel > .lede { }
    #dynamic-content .panel > h1 + .lede { display: none; }
}

/* Final fit pass */
.price-card { flex-basis: 280px; }

@media (max-height: 860px) and (min-width: 701px) {
    .visit-us { padding: 14px 20px; }
    .hours-table th, .hours-table td { padding: 3px 14px 3px 0; font-size: 0.88rem; }
    #dynamic-content .visit-us h2.sub { margin-bottom: 2px; }
    .visit-addr { margin: 2px 0; }
    .visit-us .svc-cta { margin: 10px 0 0; }
    .panel > h2 + .lede { margin-bottom: 14px; }
    .price-card { padding: 10px 14px; }
    #dynamic-content .panel > h1 { margin-bottom: 10px; }
}

/* 125% zoom on a laptop and other very short views */
@media (max-height: 640px) and (min-width: 701px) {
    .svc-end .related { display: none; }
    .closing > div p { display: none; }
    .form-intro { display: none; }
    #dynamic-content .panel > h2 + .lede { font-size: 0.92rem; margin-bottom: 8px; }
    .hours-table th, .hours-table td { padding: 2px 12px 2px 0; font-size: 0.82rem; }
    #dynamic-content .svc-col li { margin-bottom: 2px; }
    .svc-fine { display: none; }
}

/* Phones: drop the extras that the menu already covers */
@media (max-width: 700px) {
    .svc-end .related { display: none; }
    .review-card .rc-body { display: none; }
    .review-card { gap: 10px; padding: 14px; }
}

/* The last panel has no "next" cue, so it does not need the room for one */
#dynamic-content > .panel:last-child { padding-bottom: clamp(14px, 3vh, 40px); }

/* ═══ Phones: every panel framed in one screen ═══ */
@media (max-width: 700px) {
    /* Hero photos become a dimmed backdrop behind the headline */
    .panel-hero .hero { position: relative; display: block; }
    .panel-hero .hero-copy { position: relative; z-index: 2; }
    .panel-hero .hero-media {
        position: absolute;
        inset: -18px calc(-1 * var(--gutter)) -10px;
        height: auto;
        z-index: 0;
        pointer-events: none;
        animation: none !important;
        -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 55%, transparent 100%);
        mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 55%, transparent 100%);
    }
    .panel-hero .ph { border-radius: 0; box-shadow: none; border: 0; transform: none !important; }
    .panel-hero .ph-a { left: 0; top: 0; width: 100%; height: 62%; }
    .panel-hero .ph-b { display: none; }
    .panel-hero .ph-a { opacity: 0.22; }
    .panel-hero .ph figcaption { display: none; }
    .panel-hero .hero-copy h1 { text-shadow: 0 2px 12px rgba(0,0,0,0.95), 0 0 2px rgba(0,0,0,0.9); }
    .panel-hero .hero-copy .lede, .panel-hero .hero-copy .eyebrow { text-shadow: 0 1px 8px rgba(0,0,0,0.95); }

    /* Swipe rows: info cards, Facebook cards and featured quotes slide sideways */
    .svc-info, .reviews-grid, .rsa-quotes {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 10px;
        margin-left: calc(-1 * var(--gutter));
        margin-right: calc(-1 * var(--gutter));
        padding: 4px var(--gutter) 10px;
        scroll-padding: 0 var(--gutter);
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }
    .svc-info::-webkit-scrollbar, .reviews-grid::-webkit-scrollbar, .rsa-quotes::-webkit-scrollbar { display: none; }
    .svc-info > *, .reviews-grid > *, .rsa-quotes > * { flex: 0 0 84%; scroll-snap-align: start; }
    .reviews-grid .review-card:last-child:nth-child(odd) { grid-column: auto; }

    /* Extras the phone call bar and menu already cover */
    .rv-art { display: none; }
    .panel > h1 + .lede { display: none; }
    .panel > h2 + .lede { display: none; }
    #dynamic-content .visit-us a.btn-book, #dynamic-content .visit-us a.btn-call { display: none; }
    .closing > div p { display: none; }
    .rail { display: none; }
    .area-list { gap: 6px; }
    #dynamic-content .area-list li { padding: 5px 12px 5px 26px; font-size: 0.88rem; }
}

/* With JavaScript, panels.js guides the scroll; CSS snap is the no-script fallback */
.panels-on #dynamic-content { scroll-snap-type: none; scroll-behavior: auto; }
