/* AquaGleam site styles — warm premium design (October 2026).
   Self-hosted fonts (SIL Open Font License, see /fonts/LICENSE.txt). */

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url('/fonts/playfair-display.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/playfair-display-italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/plus-jakarta-sans.woff2') format('woff2');
}

@font-face {
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/caveat-500.woff2') format('woff2');
}

:root {
    --ink: #0D0F12;
    --paper: #FAF8F5;
    --white: #FFFFFF;
    --stone: #ECE8E1;
    --line: #E4DFD7;
    --line-strong: #D3CCC1;
    --muted: #5E5A54;
    --body: #3D3A35;
    --body-soft: #4A463F;
    --blue: #2B5BA6;
    --blue-dark: #1F4580;
    --aqua: #3FA9D8;
    --night-text: #F2EFEA;
    --night-muted: #BDB7AE;
    --night-line: #2A2E35;
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --script: 'Caveat', 'Segoe Script', cursive;
    --radius: 12px;
    --radius-sm: 8px;
    --max: 1344px;
    --gutter: 48px;
    --nav-height: 86px;
}

@media (max-width: 720px) {
    :root {
        --gutter: 20px;
        --nav-height: 72px;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-padding-top: var(--nav-height);
}

body {
    margin: 0;
    padding-top: var(--nav-height);
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--blue);
}

a:hover {
    color: var(--blue-dark);
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote {
    margin: 0;
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.section {
    padding-top: 128px;
    padding-bottom: 128px;
}

@media (max-width: 720px) {
    .section {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

/* Type */

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue);
}

/* Headings are set like AW Detailing's: Playfair at 400, tight tracking, 48-60px at desktop. */
.display {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.display em {
    font-style: italic;
}

.display-xl { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.08; }
.display-l { font-size: clamp(34px, 3.8vw, 52px); }
.display-m { font-size: clamp(30px, 3.4vw, 48px); }

/* The other serif headings share the same tight tracking. */
.article-header h1,
.article-content h2,
.article-content h3,
.prose h3,
.service-card h3,
.card h3,
.cta-panel h2,
.cta-panel h3,
.cta-box h3,
.related-posts > h2,
.related-card-content h3,
.strip-head h3 {
    letter-spacing: -0.025em;
}

.lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--body);
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 760px;
}

.section-head.center {
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.section-head p:not(.eyebrow) {
    font-size: 17px;
    line-height: 1.65;
    color: var(--body-soft);
}

.section-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px 48px;
}

.section-bar > p {
    max-width: 400px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--body-soft);
}

/* Buttons and links */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-sm {
    min-height: 44px;
    padding: 0 20px;
}

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--blue); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline-light { border-color: #4A4F57; color: var(--night-text); }
.btn-outline-light:hover { border-color: var(--night-text); color: var(--white); }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
}

.link-arrow:hover {
    color: var(--blue);
}

.link-arrow::after {
    content: '\2192';
}

/* Navigation */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-height);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    transition: transform 0.3s ease;
}

.site-nav.hidden {
    transform: translateY(-100%);
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo img {
    height: 52px;
    width: auto;
}

.nav-links {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-phone {
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.nav-links .nav-links-phone {
    display: none;
}

@media (max-width: 1080px) {
    .nav-phone {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px var(--gutter) 24px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--line);
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
        font-size: 17px;
    }

    .nav-links .nav-links-phone {
        display: block;
        border-bottom: 0;
    }
}

@media (max-width: 720px) {
    .nav-logo img {
        height: 44px;
    }
}

/* Hero */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 72px;
    padding-top: 72px;
    padding-bottom: 104px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero-copy h1 em {
    color: var(--blue);
}

.hero-copy .lead {
    max-width: 520px;
}

.pillars {
    list-style: none;
    padding: 28px 0 0;
    margin-top: 8px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.pillars li {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}

.pillars svg {
    width: 26px;
    height: 26px;
    stroke: var(--blue);
}

.proof {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 24px;
    font-size: 14px;
    color: var(--muted);
}

.proof strong {
    color: var(--ink);
}

.stars {
    color: var(--blue);
    letter-spacing: 2px;
}

.proof-divider {
    color: #C9C2B6;
}

.hero-media {
    position: relative;
}

/* Hero photos keep their own shape (from the width/height attributes) so the whole car shows. */
.hero-media img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.photo-tag {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: var(--paper);
    color: var(--ink);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
}

/* Homepage hero: rating, prices, one booking button and the deposit line, in the first screen. */
.hero-facts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.proof a {
    color: inherit;
    text-decoration: none;
}

.hero-prices {
    font-size: 15px;
    color: var(--body-soft);
}

.hero-prices strong {
    color: var(--ink);
}

.hero-book {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.book-note {
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}

.band-night .book-note {
    color: var(--night-muted);
}

.pillars.compact {
    margin-top: 0;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
}

.pillars.compact li {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.pillars.compact svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 960px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
        padding-top: 48px;
        padding-bottom: 72px;
    }

}

@media (max-width: 520px) {
    .hero-copy {
        gap: 22px;
    }

    .hero-book .btn-primary {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .pillars {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .pillars li {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

}

/* Service cards */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 56px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.service-card-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
}

.service-card h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 30px;
    line-height: 1.15;
}

.service-meta {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.service-card p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--body-soft);
}

.service-card .size-prices {
    font-size: 14px;
    color: var(--muted);
}

.service-card-foot {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.price-from {
    font-size: 17px;
    font-weight: 700;
    color: var(--blue);
}

.service-card-foot a {
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.service-card-foot a:hover {
    color: var(--blue);
}

.services-more {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

@media (max-width: 1080px) {
    .services-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 1081px) {
    .services-grid.cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* One quiet line for returning customers, under the main service cards. */
.returning-note {
    margin-top: 32px;
    padding: 22px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 32px;
}

.returning-note p {
    max-width: 720px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--body-soft);
}

.returning-note strong {
    color: var(--ink);
}

@media (max-width: 1080px) {
    .returning-note {
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Split feature (image + text) */

.band-stone {
    background: var(--stone);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 72px;
}

.split-media img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius);
}

.split-copy {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.reasons {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.reasons li {
    padding: 22px 0;
    border-top: 1px solid var(--line-strong);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.reasons h3 {
    font-size: 18px;
    font-weight: 700;
}

.reasons p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--body-soft);
}

/* Homepage: the four reasons as a row under Meet your detailer. */
.why-row {
    margin-top: 96px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.reasons.cols-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 32px;
}

@media (max-width: 960px) {
    .why-row {
        margin-top: 72px;
    }

    .reasons.cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .reasons.cols-4 {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 960px) {
    .split {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .split-media img {
        height: 420px;
    }
}

/* Dark band */

.band-night {
    background: var(--ink);
    color: var(--night-text);
}

.band-night .eyebrow {
    color: var(--aqua);
}

.band-night .lead,
.band-night p,
.band-night .section-head p:not(.eyebrow) {
    color: var(--night-muted);
}

.band-night .link-arrow {
    color: var(--night-text);
    border-bottom-color: var(--aqua);
}

.detailer-media img {
    object-position: 60% 30%;
    height: 600px;
}

.detailer-quote {
    padding: 26px 28px;
    border: 1px solid var(--night-line);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.band-night .detailer-quote p {
    font-family: var(--serif);
    font-style: italic;
    font-size: 21px;
    line-height: 1.5;
    color: var(--night-text);
}

.detailer-quote footer {
    font-size: 14px;
    font-weight: 600;
    color: var(--night-muted);
}

.signature {
    font-family: var(--script);
    font-size: 52px;
    line-height: 1;
    color: var(--aqua);
}

/* Long-form local content */

.longform {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 72px;
    align-items: start;
}

.longform-head {
    position: sticky;
    top: calc(var(--nav-height) + 32px);
}

.prose {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 17px;
    line-height: 1.75;
    color: var(--body);
}

.prose h3 {
    margin-top: 20px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 30px;
    line-height: 1.2;
    color: var(--ink);
}

.prose h3:first-child {
    margin-top: 0;
}

@media (max-width: 960px) {
    .longform {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .longform-head {
        position: static;
    }
}

/* Long-form text folded into accordions (homepage local SEO copy); the text stays in the page. */
.local-list {
    border-top: 1px solid var(--line-strong);
}

.local-item {
    border-bottom: 1px solid var(--line-strong);
}

.local-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
}

.local-item summary::-webkit-details-marker {
    display: none;
}

.local-item summary::after {
    content: '+';
    flex: 0 0 auto;
    font-size: 24px;
    line-height: 1;
    color: var(--blue);
}

.local-item[open] summary::after {
    content: '\2212';
}

.local-item h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.local-item .prose {
    padding-bottom: 28px;
}

/* Gallery */

.work-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 260px;
    gap: 16px;
}

.work-grid .gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
}

.work-grid .gallery-item.feature {
    grid-column: span 2;
    grid-row: span 2;
}

.work-grid .gallery-item.wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.strip-head {
    margin-top: 80px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.strip-head h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 34px;
}

.scroller {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.scroller::-webkit-scrollbar {
    display: none;
}

.scroller > * {
    scroll-snap-align: start;
    flex: 0 0 auto;
}

.interior-gallery .scroller {
    margin-top: 28px;
}

.interior-gallery .gallery-item {
    margin: 0;
    width: 340px;
    height: 340px;
    border-radius: var(--radius);
    overflow: hidden;
}

.scroll-controls {
    display: flex;
    gap: 10px;
}

.scroll-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.scroll-btn:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.scroll-btn svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 720px) {
    .work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 170px;
        gap: 10px;
    }

    .interior-gallery .gallery-item {
        width: 260px;
        height: 260px;
    }
}

/* Reviews */

.band-white {
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.reviews-scroller {
    margin-top: 48px;
    align-items: stretch;
}

.review-card {
    width: 380px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.review-card blockquote {
    font-size: 15px;
    line-height: 1.7;
    color: var(--body);
}

.review-card footer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 14px;
}

.review-card cite {
    font-style: normal;
    font-weight: 700;
    color: var(--ink);
}

.review-card .review-date {
    color: var(--muted);
    font-size: 13px;
}

.review-source {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.reviews-foot {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

@media (max-width: 720px) {
    .review-card {
        width: 300px;
        padding: 26px;
    }
}

/* FAQ */

.faq-wrap {
    max-width: 920px;
}

.faq-list {
    margin-top: 48px;
    border-top: 1px solid var(--line-strong);
}

.faq-item {
    border-bottom: 1px solid var(--line-strong);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 26px 0;
    font-size: 18px;
    font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    flex: 0 0 auto;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    color: var(--blue);
}

.faq-item[open] summary::after {
    content: '\2212';
}

.faq-item p {
    padding-bottom: 26px;
    max-width: 760px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--body-soft);
}

/* Closing call to action + footer */

.closing {
    padding-top: 128px;
}

.closing-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    padding-bottom: 96px;
}

.closing-cta .section-head {
    max-width: 720px;
}

.closing-book {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.closing-steps {
    flex-basis: 100%;
    margin-top: 16px;
}

@media (max-width: 960px) {
    .steps.cols-4.closing-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .steps.cols-4.closing-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
}

/* Sticky booking bar: phones only, shown once the hero button has scrolled away. */
.sticky-book {
    display: none;
}

@media (max-width: 720px) {
    .sticky-book {
        display: block;
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        z-index: 90;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    }

    .sticky-book .btn {
        width: 100%;
        box-shadow: 0 10px 28px rgba(13, 15, 18, 0.28);
    }

    .sticky-book.is-hidden {
        transform: translateY(140%);
        opacity: 0;
        visibility: hidden;
    }
}

@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
    .sticky-book {
        transition: none;
    }
}

.site-footer {
    border-top: 1px solid var(--night-line);
    padding-top: 56px;
    padding-bottom: 48px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-brand img {
    align-self: flex-start;
    height: 46px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-family: var(--serif);
    font-style: italic;
    font-size: 19px;
    color: var(--night-text) !important;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h2 {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--night-text);
    margin-bottom: 6px;
}

.site-footer a {
    color: var(--night-muted);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--white);
}

.site-footer p {
    color: var(--night-muted);
}

.social-links {
    display: flex;
    gap: 14px;
}

.social-links a {
    width: 44px;
    height: 44px;
    border: 1px solid var(--night-line);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-links svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--night-line);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px 32px;
    font-size: 13px;
}

.footer-bottom p {
    color: #8A847B;
}

.site-footer .jw-strata-credit,
.site-footer .site-legal-links {
    margin: 0;
    text-align: left;
}

.site-footer .footer-phone a {
    color: var(--night-text);
    font-weight: 600;
}

@media (max-width: 960px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* Lightbox */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(13, 15, 18, 0.94);
    padding: 24px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content img {
    max-width: min(1200px, 100%);
    max-height: 86vh;
    width: auto;
    border-radius: var(--radius-sm);
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.12);
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

.lightbox-nav svg {
    width: 22px;
    height: 22px;
}

.footer-plain {
    color: var(--night-muted);
}

/* ------------------------------------------------------------------
   Inner pages
   ------------------------------------------------------------------ */

/* Breadcrumb */

.breadcrumb ol {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 13px;
    color: var(--muted);
}

.breadcrumb li + li::before {
    content: '/';
    margin-right: 10px;
    color: var(--line-strong);
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--blue);
}

/* Page hero: <section class="page-hero wrap"> with an optional .page-hero-media */

.page-hero {
    padding-top: 56px;
    padding-bottom: 88px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.page-hero.has-media {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
}

.page-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 760px;
}

.page-hero-copy h1 em {
    color: var(--blue);
}

.page-hero-media {
    position: relative;
}

.page-hero-media img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.page-hero.center .page-hero-copy {
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.page-hero.center .breadcrumb ol {
    justify-content: center;
}

.facts {
    list-style: none;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 40px;
}

.facts li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.facts .fact-value {
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.2;
}

.facts .fact-label {
    font-size: 13px;
    color: var(--muted);
}

@media (max-width: 960px) {
    .page-hero.has-media {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

}

@media (max-width: 720px) {
    .page-hero {
        padding-top: 32px;
        padding-bottom: 64px;
    }
}

/* Generic cards */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.card h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 26px;
    line-height: 1.2;
}

.card p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--body-soft);
}

.card.is-dark {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--night-text);
}

.card.is-dark p {
    color: var(--night-muted);
}

.card .card-foot {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.card.is-dark .card-foot {
    border-top-color: var(--night-line);
}

.tag {
    align-self: flex-start;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--stone);
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.card.is-dark .tag {
    background: var(--blue);
    color: var(--white);
}

.price-big,
.card .price-big {
    font-family: var(--serif);
    font-size: 48px;
    line-height: 1;
    color: inherit;
}

.price-big small {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-right: 8px;
    vertical-align: middle;
}

.card.is-dark .price-big small {
    color: var(--night-muted);
}

/* Lists */

.ticks,
.crosses {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ticks li,
.crosses li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    line-height: 1.6;
}

.ticks li::before,
.crosses li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
}

.ticks li::before {
    content: '\2713';
    color: var(--blue);
}

.card.is-dark .ticks li::before,
.band-night .ticks li::before {
    color: var(--aqua);
}

.crosses li::before {
    content: '\00D7';
    color: var(--muted);
    font-size: 18px;
    line-height: 1.4;
}

.steps {
    list-style: none;
    padding: 0;
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.steps li {
    counter-increment: step;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 24px;
    border-top: 1px solid var(--line-strong);
}

.steps li::before {
    content: counter(step, decimal-leading-zero);
    font-family: var(--serif);
    font-size: 34px;
    line-height: 1;
    color: var(--blue);
}

.band-night .steps li {
    border-top-color: var(--night-line);
}

.band-night .steps li::before {
    color: var(--aqua);
}

.steps h3 {
    font-size: 18px;
    font-weight: 700;
}

.steps p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--body-soft);
}

.band-night .steps p {
    color: var(--night-muted);
}

/* Tables */

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.data-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 15px;
}

.data-table th,
.data-table td {
    padding: 16px 20px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.data-table thead th {
    background: var(--paper);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
    border-bottom: 0;
}

.data-table tbody th {
    font-weight: 600;
}

/* Notes */

.note {
    background: var(--stone);
    border-radius: var(--radius);
    padding: 24px 28px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--body);
}

.note strong {
    color: var(--ink);
}

/* Centred call-to-action panel inside a page */

.cta-panel {
    background: var(--ink);
    color: var(--night-text);
    border-radius: var(--radius);
    padding: 56px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.cta-panel h2,
.cta-panel h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.1;
}

.cta-panel p {
    margin-top: 12px;
    max-width: 560px;
    color: var(--night-muted);
}

.cta-panel > div {
    flex: 1 1 420px;
}

.cta-panel > .btn-row {
    flex: 0 1 auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 720px) {
    .cta-panel {
        padding: 36px 28px;
    }
}

/* ------------------------------------------------------------------
   Blog articles (shared markup used by every post in /blog-posts/)
   ------------------------------------------------------------------ */

.article-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px var(--gutter) 112px;
}

.article-header {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.article-category {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue);
}

.article-header h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(36px, 4.4vw, 56px);
    line-height: 1.1;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    font-size: 14px;
    color: var(--muted);
}

.article-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-meta-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--blue);
}

.article-excerpt {
    font-size: 19px;
    line-height: 1.7;
    color: var(--body);
}

.featured-image {
    margin: 48px 0 0;
}

.featured-image img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: var(--radius);
}

.article-content {
    max-width: 760px;
    margin: 56px auto 0;
    font-size: 17px;
    line-height: 1.8;
    color: var(--body);
}

.article-content > * + * {
    margin-top: 22px;
}

.article-content h2 {
    margin-top: 56px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.2;
    color: var(--ink);
}

.article-content h3 {
    margin-top: 36px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.3;
    color: var(--ink);
}

.article-content h4 {
    margin-top: 28px;
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
}

.article-content ul,
.article-content ol {
    padding-left: 1.3em;
}

.article-content li + li {
    margin-top: 10px;
}

.article-content li::marker {
    color: var(--blue);
}

.article-content strong {
    color: var(--ink);
}

.article-content a:not(.btn) {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content blockquote {
    padding: 8px 0 8px 28px;
    border-left: 2px solid var(--blue);
    font-family: var(--serif);
    font-style: italic;
    font-size: 21px;
    line-height: 1.55;
    color: var(--ink);
}

.article-content img,
.content-image img {
    border-radius: var(--radius);
}

.content-image figcaption,
.article-content figcaption {
    margin-top: 10px;
    font-size: 14px;
    color: var(--muted);
}

.info-box,
.comparison-box,
.screenshot-placeholder {
    background: var(--stone);
    border-radius: var(--radius);
    padding: 24px 28px;
    font-size: 16px;
    line-height: 1.7;
}

.info-box > * + *,
.comparison-box > * + * {
    margin-top: 12px;
}

.comparison-box h3,
.comparison-box h4 {
    margin-top: 0;
}

.price-publication-note {
    font-size: 14px;
    color: var(--muted);
}

.price-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.article-content table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.6;
}

.article-content th,
.article-content td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.article-content thead th {
    background: var(--paper);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.article-content table:not(.price-table) {
    border: 1px solid var(--line);
}

.cta-box {
    margin-top: 48px !important;
    background: var(--ink);
    color: var(--night-text);
    border-radius: var(--radius);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.cta-box h3 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 30px;
    line-height: 1.2;
    color: var(--night-text);
}

.cta-box p {
    color: var(--night-muted);
}

.cta-box strong {
    color: var(--night-text);
}

.cta-box a:not(.btn) {
    color: var(--aqua);
}

.cta-box .btn,
.article-content .btn {
    margin-top: 6px;
    background: var(--blue);
    color: var(--white);
    text-decoration: none;
}

.cta-box .btn:hover,
.article-content .btn:hover {
    background: var(--blue-dark);
    color: var(--white);
}

.share-section {
    max-width: 760px;
    margin: 64px auto 0;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.share-section h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.share-btn:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.share-btn svg {
    width: 16px;
    height: 16px;
}

.related-posts {
    margin-top: 96px;
    padding-top: 64px;
    border-top: 1px solid var(--line);
}

.related-posts > h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.1;
}

.related-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.related-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.related-card:hover {
    border-color: var(--line-strong);
    color: var(--ink);
}

.related-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.related-card-content h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 22px;
    line-height: 1.25;
}

.related-card-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--body-soft);
}

@media (max-width: 720px) {
    .article-container {
        padding-top: 32px;
        padding-bottom: 80px;
    }

    .featured-image {
        margin-top: 32px;
    }

    .featured-image img {
        max-height: 320px;
    }

    .article-content {
        margin-top: 40px;
        font-size: 16px;
    }

    .cta-box {
        padding: 30px 24px;
    }
}

/* ------------------------------------------------------------------
   Area pages (Rotherham, Sheffield, Doncaster)
   ------------------------------------------------------------------ */

.hero-areas {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

.hero-areas svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    stroke: var(--blue);
}

.area-intro {
    padding-top: 32px;
}

.base-note {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.prose .base-note h3 {
    margin: 0;
    font-size: 24px;
}

.price-grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.price-card .price-big {
    margin: 4px 0 6px;
}

.size-list {
    list-style: none;
    padding: 0;
    border-top: 1px solid var(--line);
}

.size-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}

.size-list li span:last-child {
    font-weight: 700;
    white-space: nowrap;
}

.card.is-dark .size-list,
.card.is-dark .size-list li {
    border-color: var(--night-line);
}

.card.is-dark .service-meta {
    color: var(--night-muted);
}

.card.is-dark .link-arrow {
    color: var(--night-text);
    border-bottom-color: var(--aqua);
}

.price-note {
    max-width: 820px;
    margin: 36px auto 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
}

.price-table {
    margin-top: 48px;
}

.price-table td:last-child {
    font-weight: 700;
    white-space: nowrap;
}

.band-night .reasons li {
    border-top-color: var(--night-line);
}

.band-night .reasons h3 {
    color: var(--night-text);
}

.band-night .steps p {
    color: var(--night-muted);
}

.section-head + .area-note {
    margin-top: 24px;
    max-width: 760px;
}

.gallery-label {
    margin: 40px 0 0;
}

.gallery-label + .work-grid {
    margin-top: 20px;
}

.split-copy > p {
    font-size: 17px;
    line-height: 1.75;
}

.area-cards {
    margin-top: 48px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.area-cards .card h3 {
    font-size: 22px;
}

.area-cards.compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.area-cards.compact .card {
    padding: 22px 24px;
    gap: 4px;
}

.area-cards.compact.cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.postcode {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--blue);
}

.area-tags {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.area-tags .tag.is-base {
    background: var(--blue);
    color: var(--white);
}

.area-note {
    margin-top: 32px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--body-soft);
}

.steps.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-head + .steps,
.section-head + .card-grid {
    margin-top: 56px;
}

.work-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 320px;
}

.work-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 440px;
}

.work-grid .gallery-item {
    position: relative;
}

.work-grid figcaption {
    position: absolute;
    left: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    background: var(--paper);
    color: var(--ink);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    pointer-events: none;
}

.reviews-more,
.faq-more {
    margin-top: 32px;
    font-size: 15px;
    color: var(--body-soft);
}

.faq-more {
    text-align: center;
}

.local-cta {
    padding-top: 96px;
    padding-bottom: 112px;
}

.cta-panel.is-light {
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--ink);
}

.cta-panel.is-light p {
    color: var(--body-soft);
}

.reviews-band .review-card,
.reviews-band .testimonial-card {
    background: var(--white);
}

/* Reviews rendered by /js/reviews-data.js */

.testimonial-card {
    flex: 0 0 auto;
    width: 380px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    scroll-snap-align: start;
}

.testimonial-card .stars {
    color: var(--blue);
    letter-spacing: 2px;
}

.testimonial-card .review-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--body);
}

.testimonial-card .reviewer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 14px;
}

.testimonial-card .review-date {
    font-size: 13px;
    color: var(--muted);
}

.testimonial-card .google-logo {
    align-self: flex-start;
    height: 16px;
    width: auto;
    opacity: 0.7;
}

@media (max-width: 1080px) {
    .price-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }

    .area-cards,
    .area-cards.compact,
    .area-cards.compact.cols-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps.cols-3,
    .steps.cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .area-cards,
    .steps.cols-3,
    .steps.cols-4 {
        grid-template-columns: minmax(0, 1fr);
    }

    .area-cards.compact,
    .area-cards.compact.cols-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .work-grid.cols-3,
    .work-grid.cols-2 {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: 280px;
    }

    .testimonial-card {
        width: 300px;
        padding: 26px;
    }
}

/* ------------------------------------------------------------------
   Scroll reveals. js/site.js adds .reveal (plus a direction) only to elements that start
   below the fold, then .is-in when they scroll into view, and removes all of it once the
   transition ends so each element's own transitions come back. Without JS nothing is hidden.
   ------------------------------------------------------------------ */

.reveal {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.2, 0.65, 0.3, 1), transform 0.8s cubic-bezier(0.2, 0.65, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.from-up { transform: translate3d(0, 28px, 0); }
.reveal.from-left { transform: translate3d(-48px, 0, 0); }
.reveal.from-right { transform: translate3d(48px, 0, 0); }
.reveal.pop { transform: translate3d(0, 22px, 0) scale(0.96); }

.reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (max-width: 720px) {
    .reveal.from-left,
    .reveal.from-right {
        transform: translate3d(0, 24px, 0);
    }
}

@media print {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ------------------------------------------------------------------
   Moving reviews: two rows drifting in opposite directions.
   Each track holds the real cards once plus two hidden copies; it moves left by exactly
   one set (n cards x (width + gap)) and restarts, so the loop is seamless. Sizes are
   unitless so the distance and the duration come from the same numbers.
   ------------------------------------------------------------------ */

.rv-head .rv-score {
    color: #FBBC04;
    letter-spacing: 2px;
}

.rv-rows {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rv-row {
    --w: 400;
    --g: 18;
    --speed: 34;
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.rv-row:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: -2px;
}

.rv-right {
    --speed: 29;
}

.rv-track {
    display: flex;
    gap: calc(var(--g) * 1px);
    width: max-content;
    will-change: transform;
    animation: rv-drift calc(var(--n) * (var(--w) + var(--g)) / var(--speed) * 1s) linear infinite;
}

.rv-right .rv-track {
    animation-direction: reverse;
}

@keyframes rv-drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(calc(var(--n) * (var(--w) + var(--g)) * -1px), 0, 0); }
}

.rv-row:hover .rv-track,
.rv-row:focus-within .rv-track,
.rv.is-paused .rv-track,
.rv.is-offscreen .rv-track {
    animation-play-state: paused;
}

.rv-set {
    display: flex;
    gap: calc(var(--g) * 1px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.rv-card {
    flex: none;
    width: calc(var(--w) * 1px);
    display: flex;
}

.rv-card figure {
    margin: 0;
    width: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rv-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.rv-stars {
    display: inline-flex;
    gap: 2px;
}

.rv-stars svg {
    width: 16px;
    height: 16px;
    fill: #FBBC04;
}

.rv-src {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.rv-src svg {
    width: 14px;
    height: 14px;
}

.rv-card blockquote {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--body);
}

.rv-who {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 12px;
}

.rv-mark {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--stone);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.rv-id {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.rv-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

.rv-sub {
    font-size: 13px;
    color: var(--muted);
}

.rv-foot {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px 24px;
}

.rv-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.rv-toggle:hover {
    border-color: var(--ink);
}

.rv-toggle::before {
    content: '';
    width: 10px;
    height: 12px;
    border-left: 3px solid currentColor;
    border-right: 3px solid currentColor;
    box-sizing: border-box;
}

.rv-toggle[aria-pressed="true"]::before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent currentColor;
}

@media (max-width: 768px) {
    .rv-row {
        --w: 290;
        --g: 14;
        --speed: 28;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
    }

    .rv-right {
        --speed: 24;
    }

    .rv-card figure {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rv-track {
        animation: none;
        width: auto;
    }

    .rv-clone {
        display: none;
    }

    .rv-row {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-mask-image: none;
        mask-image: none;
        padding: 0 var(--gutter);
        scroll-padding: 0 var(--gutter);
    }

    .rv-card {
        scroll-snap-align: start;
    }

    .rv-toggle {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
