/*!
Theme Name: Jennie & Co Pet Care
Theme URI: https://jennieandco.co.uk
Author: Fraser Clark
Author URI: https://fraserclark.com
Description: Bespoke theme for Jennie & Co Pet Care. Based on Underscores (_s). Page content is composed with ACF Pro Flexible Content; the header and footer are hard-coded.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: website
*/

/* ─── DESIGN TOKENS ───────────────────────────────────────────── */
:root {
    --warm-taupe: #a08b6f;
    --taupe-ink:  #7a6446;
    --taupe-soft: #c2ad90;
    --sage-green: #889073;
    --sage-deep:  #5f6648;
    --cream:      #f3ece0;
    --cream-soft: #f8f3e9;
    --charcoal:   #2b2b2b;
    --line:       rgba(43, 43, 43, 0.12);

    --font-heading: 'Cormorant Garamond', serif;
    --font-sub:     'Montserrat', sans-serif;

    --tracking-wide: 0.32em;
    --tracking-mid:  0.18em;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sub);
    font-weight: 300;
    color: var(--charcoal);
    background: var(--cream);
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 0.01em;
    color: var(--charcoal);
}

img { max-width: 100%; height: auto; display: block; }

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.eyebrow {
    font-family: var(--font-sub);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--sage-deep);
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 18px 0;
}
.divider::before,
.divider::after {
    content: "";
    height: 1px;
    width: 56px;
    background: var(--warm-taupe);
    opacity: 0.6;
}
.divider .dot {
    width: 5px; height: 5px;
    background: var(--warm-taupe);
    border-radius: 50%;
    opacity: 0.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ─── NAV ─────────────────────────────────────────────────────── */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(243, 236, 224, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 22px;
    padding-bottom: 22px;
}
.nav-logo {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-logo .paw { width: 22px; height: 22px; }
.nav-links {
    display: flex;
    gap: 38px;
    list-style: none;
}
.nav-links a {
    font-size: 11px;
    letter-spacing: var(--tracking-mid);
    text-transform: uppercase;
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--sage-deep); }
.nav-cta {
    font-size: 11px;
    letter-spacing: var(--tracking-mid);
    text-transform: uppercase;
    color: var(--cream);
    background: var(--sage-deep);
    padding: 12px 22px;
    text-decoration: none;
    transition: background 0.3s;
}
.nav-cta:hover { background: var(--charcoal); }

/* ─── NAV: logo, toggle, collapse, a11y ───────────────────────── */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; }
.skip-link:focus {
    left: 12px;
    top: 12px;
    width: auto;
    height: auto;
    clip: auto;
    clip-path: none;
    background: var(--charcoal);
    color: var(--cream);
    padding: 12px 18px;
    font-size: 12px;
    letter-spacing: var(--tracking-mid);
    text-transform: uppercase;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--sage-deep);
    outline-offset: 3px;
}

.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo-link img { max-height: 40px; width: auto; }

.nav-collapse { display: flex; align-items: center; gap: 38px; }

.nav-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 10px;
    width: 24px;
    height: 1.5px;
    background: var(--charcoal);
    transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.site-nav.is-open .nav-toggle-bars { background: transparent; }
.site-nav.is-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.site-nav.is-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.nav-links .current-menu-item > a,
.nav-links .current_page_item > a { color: var(--sage-deep); }

/* Keep anchor targets clear of the sticky nav */
section[id],
header[id] { scroll-margin-top: 84px; }

/* ─── HERO ────────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 110px 0 130px;
    text-align: center;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(136, 144, 115, 0.08), transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(160, 139, 111, 0.06), transparent 50%);
    pointer-events: none;
}
.hero-paw {
    width: 54px; height: 54px;
    margin: 0 auto 30px;
    stroke: var(--warm-taupe);
}
.hero h1 {
    font-size: clamp(48px, 7vw, 96px);
    line-height: 1.05;
    font-weight: 400;
    margin-bottom: 6px;
}
.hero .sub {
    font-size: clamp(18px, 2.4vw, 26px);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    font-weight: 300;
    color: var(--warm-taupe);
    margin-bottom: 8px;
}
.hero .tagline {
    font-size: 12px;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--sage-deep);
    margin-bottom: 50px;
}
.hero-cta-row {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary, .btn-secondary {
    font-family: var(--font-sub);
    font-size: 11px;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    padding: 18px 38px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}
.btn-primary {
    background: var(--sage-deep);
    color: var(--cream);
    border: 1px solid var(--sage-deep);
}
.btn-primary:hover {
    background: var(--charcoal);
    border-color: var(--charcoal);
}
.btn-secondary {
    background: transparent;
    color: var(--charcoal);
    border: 1px solid var(--warm-taupe);
}
.btn-secondary:hover {
    background: var(--warm-taupe);
    color: var(--cream);
}

.trust-row {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}
.trust-row span {
    font-size: 10px;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--charcoal);
    opacity: 0.65;
}

/* ─── SECTION BASE ────────────────────────────────────────────── */
.section { padding: 110px 0; }
.section-header {
    text-align: center;
    margin-bottom: 80px;
}
.section-header h2 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.1;
    margin-top: 12px;
}
.section-header p {
    max-width: 580px;
    margin: 24px auto 0;
    color: rgba(43, 43, 43, 0.7);
}

/* ─── ABOUT ───────────────────────────────────────────────────── */
.about {
    background: var(--cream-soft);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 90px;
    align-items: center;
}
.about-image {
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, var(--sage-green), var(--sage-deep));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-image::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(243, 236, 224, 0.35);
    pointer-events: none;
}
.about-image .placeholder-label {
    position: relative;
    color: var(--cream);
    font-size: 10px;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    opacity: 0.7;
}
.about-image .mono {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    opacity: 0.18;
    stroke: var(--cream);
}
.about-text h2 {
    font-size: clamp(34px, 4.5vw, 52px);
    line-height: 1.15;
    margin-bottom: 28px;
}
.about-text .signature {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 28px;
    color: var(--warm-taupe);
    margin-top: 32px;
}
.about-text p {
    margin-bottom: 18px;
    color: rgba(43, 43, 43, 0.78);
}
.credentials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 36px;
    border-top: 1px solid var(--line);
}
.credential-item {
    font-size: 11px;
    letter-spacing: var(--tracking-mid);
    text-transform: uppercase;
    color: var(--sage-deep);
}
.credential-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    color: var(--charcoal);
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 6px;
    line-height: 1;
}

/* ─── SERVICES ────────────────────────────────────────────────── */
.services { background: var(--cream); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.service-card {
    padding: 50px 40px;
    background: var(--cream);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background 0.4s;
    position: relative;
}
.service-card:hover { background: var(--cream-soft); }
.service-card .num {
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--warm-taupe);
    letter-spacing: 0.1em;
    margin-bottom: 28px;
}
.service-card h3 {
    font-size: 28px;
    margin-bottom: 14px;
    line-height: 1.2;
}
.service-card p {
    font-size: 14px;
    color: rgba(43, 43, 43, 0.7);
    margin-bottom: 28px;
}
.service-card .price {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--sage-deep);
}
.service-card .price small {
    font-family: var(--font-sub);
    font-size: 10px;
    letter-spacing: var(--tracking-mid);
    text-transform: uppercase;
    color: var(--warm-taupe);
    margin-left: 6px;
}

/* ─── PRICING TABLE ───────────────────────────────────────────── */
.pricing { background: var(--cream-soft); }
.pricing-wrap {
    max-width: 880px;
    margin: 0 auto;
}
.pricing-category {
    margin-bottom: 60px;
}
.pricing-category-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}
.pricing-category-title h3 {
    font-size: 16px;
    font-family: var(--font-sub);
    font-weight: 400;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--sage-deep);
}
.pricing-category-title .line {
    flex: 1;
    height: 1px;
    background: var(--line);
}
.pricing-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: baseline;
    padding: 22px 0;
    border-bottom: 1px dotted var(--line);
}
.pricing-row:last-child { border-bottom: 0; }
.pricing-name {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--charcoal);
}
.pricing-name small {
    display: block;
    font-family: var(--font-sub);
    font-size: 12px;
    font-weight: 300;
    font-style: normal;
    color: rgba(43, 43, 43, 0.6);
    margin-top: 4px;
    letter-spacing: 0;
}
.pricing-price {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--sage-deep);
    white-space: nowrap;
}
.pricing-note {
    background: var(--cream);
    padding: 32px 40px;
    margin-top: 60px;
    border-left: 2px solid var(--warm-taupe);
}
.pricing-note .eyebrow { margin-bottom: 10px; display: block; }
.pricing-note p {
    font-size: 13px;
    color: rgba(43, 43, 43, 0.75);
}

/* ─── APPROACH (full-width banner) ────────────────────────────── */
.approach {
    background: var(--sage-deep);
    color: var(--cream);
    text-align: center;
    padding: 130px 0;
}
.approach .eyebrow { color: var(--cream); opacity: 0.7; }
.approach .divider::before,
.approach .divider::after { background: var(--cream); opacity: 0.4; }
.approach .divider .dot { background: var(--cream); opacity: 0.7; }
.approach h2 {
    color: var(--cream);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.15;
    max-width: 880px;
    margin: 16px auto 32px;
    font-style: italic;
    font-weight: 400;
}
.approach p {
    max-width: 620px;
    margin: 0 auto;
    opacity: 0.85;
    font-size: 15px;
}

/* ─── CONTACT ─────────────────────────────────────────────────── */
.contact { background: var(--cream); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-info h2 {
    font-size: clamp(36px, 4.5vw, 54px);
    line-height: 1.1;
    margin-bottom: 24px;
}
.contact-info p {
    color: rgba(43, 43, 43, 0.75);
    margin-bottom: 40px;
    max-width: 420px;
}
.contact-detail {
    margin-bottom: 22px;
}
.contact-detail .label {
    font-size: 10px;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--warm-taupe);
    margin-bottom: 6px;
}
.contact-detail .value {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--charcoal);
}

.contact-form {
    background: var(--cream-soft);
    padding: 50px 45px;
}
.form-group { margin-bottom: 22px; }
.form-group label {
    display: block;
    font-size: 10px;
    letter-spacing: var(--tracking-mid);
    text-transform: uppercase;
    color: var(--sage-deep);
    margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    font-family: var(--font-sub);
    font-size: 14px;
    font-weight: 300;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
    color: var(--charcoal);
    outline: none;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color: var(--sage-deep); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form button {
    width: 100%;
    margin-top: 16px;
    cursor: pointer;
    border: 0;
    font-family: var(--font-sub);
    font-size: 11px;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    background: var(--sage-deep);
    color: var(--cream);
    padding: 18px;
    transition: background 0.3s;
}
.contact-form button:hover { background: var(--charcoal); }

/* ─── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
    background: var(--charcoal);
    color: var(--cream);
    padding: 70px 0 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer-brand {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 14px;
}
.footer-brand-sub {
    font-size: 10px;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--warm-taupe);
    margin-bottom: 20px;
}
.footer-tag {
    font-size: 13px;
    opacity: 0.65;
    max-width: 280px;
}
.footer-col h4 {
    font-family: var(--font-sub);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--warm-taupe);
    margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    font-size: 13px;
    color: var(--cream);
    text-decoration: none;
    opacity: 0.75;
    transition: opacity 0.3s;
}
.footer-col a:hover { opacity: 1; }
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(243, 236, 224, 0.12);
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    opacity: 0.55;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
    .container { padding: 0 24px; }
    .nav-toggle { display: block; }
    .nav-collapse {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--cream-soft);
        border-bottom: 1px solid var(--line);
        padding: 8px 24px 24px;
    }
    .site-nav.is-open .nav-collapse { display: flex; }
    .nav-links { flex-direction: column; gap: 0; width: 100%; }
    .nav-links li { border-bottom: 1px solid var(--line); }
    .nav-links a { display: block; padding: 16px 0; }
    .nav-collapse .nav-cta {
        margin-top: 18px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .section { padding: 70px 0; }
    .about-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .services-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .credentials { grid-template-columns: 1fr; }
    .hero { padding: 70px 0 90px; }
    .trust-row { gap: 24px; margin-top: 50px; }
}

/* ─── HERO: optional background image ─────────────────────────── */
.hero--image { background-size: cover; background-position: center; }
.hero--image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(43, 43, 43, 0.5);
    pointer-events: none;
}
.hero--image .container { position: relative; z-index: 1; }
.hero--image h1,
.hero--image .sub,
.hero--image .tagline,
.hero--image .trust-row span { color: var(--cream); }
.hero--image .hero-paw { stroke: var(--cream); }

/* ─── CARD GRID: column + icon options ────────────────────────── */
.services-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.services-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.services-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.service-card .card-icon { margin-bottom: 22px; }
.service-card .card-icon img { width: 48px; height: 48px; object-fit: contain; }

/* ─── TEXT WITH MEDIA: side option + video ────────────────────── */
.about-grid.media-right .about-image { order: 2; }
.about-image .about-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.about-image .about-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ─── PAGE TITLE (compact interior hero) ──────────────────────── */
.page-title {
    background: var(--cream-soft);
    border-bottom: 1px solid var(--line);
    text-align: center;
    padding: 90px 0 70px;
}
.page-title .eyebrow { display: block; margin-bottom: 14px; }
.page-title h1 {
    font-size: clamp(40px, 5.5vw, 72px);
    line-height: 1.08;
    font-weight: 400;
}
.page-title-intro {
    max-width: 600px;
    margin: 18px auto 0;
    color: rgba(43, 43, 43, 0.7);
}

/* ─── RICH TEXT ───────────────────────────────────────────────── */
.rich-text-inner { margin: 0 auto; }
.rich-text-inner.is-narrow { max-width: 720px; }
.rich-text-inner.is-wide { max-width: 1000px; }
.rich-text-inner.align-center { text-align: center; }
.rich-text-inner .eyebrow { display: block; margin-bottom: 14px; }
.rich-text-inner h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    margin-bottom: 24px;
}
.rich-text-body > * { margin-bottom: 18px; }
.rich-text-body > *:last-child { margin-bottom: 0; }
.rich-text-body a { color: var(--sage-deep); }

/* ─── CTA STRIP ───────────────────────────────────────────────── */
.cta-strip {
    background: var(--sage-deep);
    color: var(--cream);
    text-align: center;
    padding: 90px 0;
}
.cta-strip h2 {
    color: var(--cream);
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.15;
    margin-bottom: 16px;
}
.cta-strip p {
    max-width: 560px;
    margin: 0 auto 36px;
    opacity: 0.85;
}
.cta-strip-row {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-strip .btn-primary {
    background: var(--cream);
    color: var(--charcoal);
    border-color: var(--cream);
}
.cta-strip .btn-primary:hover {
    background: var(--charcoal);
    color: var(--cream);
    border-color: var(--charcoal);
}
.cta-strip .btn-secondary {
    color: var(--cream);
    border-color: rgba(243, 236, 224, 0.5);
}
.cta-strip .btn-secondary:hover {
    background: var(--cream);
    color: var(--sage-deep);
}

/* ─── STATS ROW ───────────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}
.stat-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 400;
    color: var(--sage-deep);
    line-height: 1;
    margin-bottom: 12px;
}
.stat-item span {
    font-size: 11px;
    letter-spacing: var(--tracking-mid);
    text-transform: uppercase;
    color: rgba(43, 43, 43, 0.7);
}

/* ─── LOGO STRIP ──────────────────────────────────────────────── */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 50px;
    align-items: center;
}
.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.logo-item:hover { opacity: 1; }
.logo-item img { max-height: 64px; width: auto; object-fit: contain; }

/* ─── FAQ (native accordion) ──────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 26px 40px 26px 0;
    position: relative;
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--charcoal);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--warm-taupe);
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-answer { padding: 0 40px 28px 0; color: rgba(43, 43, 43, 0.78); }
.faq-answer > *:last-child { margin-bottom: 0; }

/* ─── GALLERY ─────────────────────────────────────────────────── */
.gallery-grid { display: grid; gap: 14px; }
.gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-cell {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.gallery-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.gallery-cell:hover img { transform: scale(1.05); }

/* ─── TESTIMONIALS ────────────────────────────────────────────── */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
}
.testimonial-card {
    background: var(--cream-soft);
    padding: 40px 36px;
    border: 0;
    margin: 0;
}
.testimonial-quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 21px;
    line-height: 1.5;
    color: var(--charcoal);
    margin-bottom: 26px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-author strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    color: var(--charcoal);
}
.testimonial-author span {
    font-size: 11px;
    letter-spacing: var(--tracking-mid);
    text-transform: uppercase;
    color: var(--warm-taupe);
}

/* ─── VIDEO ───────────────────────────────────────────────────── */
.video-wrap {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: var(--charcoal);
    overflow: hidden;
}
.video-wrap iframe,
.video-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-caption {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: rgba(43, 43, 43, 0.6);
}

/* ─── RESPONSIVE (new blocks) ─────────────────────────────────── */
@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .gallery-grid.cols-3,
    .gallery-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .about-grid.media-right .about-image { order: 0; }
    .page-title { padding: 60px 0 50px; }
}

/* ─── BACKGROUND TONE UTILITIES (Advanced Options) ────────────────
   Placed last so a chosen tone overrides any block's built-in
   background. Empty tone = the block keeps its default background. */
.bg-cream { background: var(--cream); }
.bg-cream-soft { background: var(--cream-soft); }
.bg-sage { background: var(--sage-deep); }
.bg-charcoal { background: var(--charcoal); }
.bg-sage,
.bg-charcoal { color: var(--cream); }
.bg-sage h1, .bg-sage h2, .bg-sage h3,
.bg-charcoal h1, .bg-charcoal h2, .bg-charcoal h3 { color: var(--cream); }
.bg-sage p,
.bg-charcoal p { color: rgba(243, 236, 224, 0.85); }
.bg-sage .eyebrow,
.bg-charcoal .eyebrow { color: var(--cream); opacity: 0.75; }
.bg-sage .stat-item strong,
.bg-charcoal .stat-item strong { color: var(--cream); }
.bg-sage .stat-item span,
.bg-charcoal .stat-item span { color: rgba(243, 236, 224, 0.75); }

/* ─── BLOG ────────────────────────────────────────────────────── */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.post-card { background: var(--cream-soft); display: flex; flex-direction: column; }
.post-card-thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.post-card-thumb:hover img { transform: scale(1.05); }
.post-card-body { padding: 30px 28px; display: flex; flex-direction: column; flex: 1; }
.entry-meta {
    display: flex;
    gap: 14px;
    font-size: 10px;
    letter-spacing: var(--tracking-mid);
    text-transform: uppercase;
    color: var(--warm-taupe);
    margin-bottom: 14px;
}
.post-card-title { font-size: 24px; line-height: 1.25; margin-bottom: 12px; }
.post-card-title a { color: var(--charcoal); text-decoration: none; transition: color 0.3s; }
.post-card-title a:hover { color: var(--sage-deep); }
.post-card-excerpt { font-size: 14px; color: rgba(43, 43, 43, 0.7); margin-bottom: 18px; }
.post-card-more {
    margin-top: auto;
    font-size: 11px;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--sage-deep);
    text-decoration: none;
}

.single-narrow { max-width: 760px; margin: 0 auto; }
.single-thumb { margin-bottom: 40px; }
.single-thumb img { width: 100%; }
.entry-content > * { margin-bottom: 20px; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { font-size: clamp(28px, 3.5vw, 40px); line-height: 1.2; margin: 40px 0 16px; }
.entry-content h3 { font-size: 26px; margin: 32px 0 14px; }
.entry-content ul, .entry-content ol { margin-left: 22px; }
.entry-content li { margin-bottom: 8px; }
.entry-content a { color: var(--sage-deep); }
.entry-content blockquote {
    border-left: 2px solid var(--warm-taupe);
    padding-left: 24px;
    margin: 28px 0;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 22px;
    color: var(--sage-deep);
}
.entry-tags {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    letter-spacing: var(--tracking-mid);
    text-transform: uppercase;
}
.entry-tags a { color: var(--sage-deep); text-decoration: none; }
.single-nav {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    max-width: 760px;
    margin: 50px auto 0;
    padding-top: 30px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}
.single-nav a { color: var(--charcoal); text-decoration: none; }
.single-nav a:hover { color: var(--sage-deep); }
.single-nav-next { text-align: right; }

.pagination { margin-top: 60px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid var(--line);
    color: var(--charcoal);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
    transition: all 0.3s;
}
.pagination .page-numbers.current { background: var(--sage-deep); color: var(--cream); border-color: var(--sage-deep); }
.pagination a.page-numbers:hover { border-color: var(--sage-deep); }

.search-form { display: flex; gap: 10px; }
.search-form label { flex: 1; display: block; }
.search-form .search-field {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--cream-soft);
    padding: 12px 14px;
    font-family: var(--font-sub);
    font-size: 14px;
    color: var(--charcoal);
}
.search-form .search-submit {
    border: 0;
    background: var(--sage-deep);
    color: var(--cream);
    padding: 12px 20px;
    font-size: 11px;
    letter-spacing: var(--tracking-mid);
    text-transform: uppercase;
    cursor: pointer;
}

/* ─── RESPONSIVE: TABLET (≤ 900px) ────────────────────────────── */
@media (max-width: 900px) {
    .services-grid.cols-2,
    .services-grid.cols-3,
    .services-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .post-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .testimonial-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── RESPONSIVE: MOBILE (≤ 600px) ────────────────────────────── */
@media (max-width: 600px) {
    .container { padding: 0 20px; }
    .services-grid.cols-2,
    .services-grid.cols-3,
    .services-grid.cols-4 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .gallery-grid.cols-2,
    .gallery-grid.cols-3,
    .gallery-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .post-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .pricing-row { grid-template-columns: 1fr; gap: 6px; }
    .pricing-price { justify-self: start; }
    .footer-bottom { flex-direction: column; gap: 10px; }
    .single-nav { flex-direction: column; }
    .single-nav-next { text-align: left; }
    .contact-form { padding: 36px 26px; }
    .pricing-note { padding: 26px 24px; }
    .hero h1 { font-size: clamp(38px, 13vw, 64px); }
    .page-title h1 { font-size: clamp(32px, 11vw, 56px); }
}

/* ─── ACCESSIBILITY: text contrast (WCAG AA) ──────────────────────
   Placed last so these win the cascade. Darker taupe for small taupe
   text on light surfaces (the original --warm-taupe stays for dividers,
   borders and other decoration); lighter taupe / fuller cream for text
   on dark surfaces. */
.hero .sub,
.about-text .signature,
.service-card .num,
.service-card .price small,
.contact-detail .label,
.testimonial-author span,
.entry-meta { color: var(--taupe-ink); }
.faq-item summary::after { color: var(--taupe-ink); }

.footer-brand-sub,
.footer-col h4 { color: var(--taupe-soft); }

.trust-row span { opacity: 0.85; }
.pricing-name small { color: rgba(43, 43, 43, 0.72); }
.video-caption { color: rgba(43, 43, 43, 0.72); }

.approach p,
.cta-strip p { opacity: 0.92; }
.bg-sage p,
.bg-charcoal p { color: rgba(243, 236, 224, 0.92); }
.bg-sage .stat-item span,
.bg-charcoal .stat-item span { color: rgba(243, 236, 224, 0.9); }
.approach .eyebrow,
.bg-sage .eyebrow,
.bg-charcoal .eyebrow { opacity: 1; }
