/* rooted2u palette — green-led, calm/editorial (2026-09 refresh). Every colour
   lives here so the palette can be tuned in one place after review.
   Contrast (WCAG AA, 4.5:1 for body text) checked against --color-bg and
   --color-bg-alt: --color-secondary is too light for text or white-on-green
   buttons (3.0:1), so text/buttons use --color-secondary-ink and
   --color-secondary is kept for borders, dividers and non-text accents. */

:root {
    --color-primary: #3F5B45;        /* deep sage / forest — headings, footer, key accents */
    --color-secondary: #7C9473;      /* muted sage — borders, focus rings, decoration */
    --color-secondary-ink: #5C7355;  /* secondary darkened to pass AA — buttons, links */
    --color-tertiary: #A9BFA0;       /* soft moss / eucalyptus — dividers, tags */
    --color-bg: #F7F5EF;             /* warm off-white — main background */
    --color-bg-alt: #EDF0E7;         /* pale sage tint — alternate sections */
    --color-surface: #FFFFFF;        /* cards */
    --color-text: #2B2E2A;           /* warm charcoal */
    --color-text-muted: #636D60;     /* grey-green; proposal #6B7568 darkened to pass AA */
    --color-border: #D8DFD1;         /* sage-tinted hairline */
    --color-on-primary: #F7F5EF;     /* text on deep sage (footer, CTA) */
    --color-logo-bg: #777978;        /* the logo JPEG's baked-in grey */
    --color-error: #8A4A30;
    --color-error-bg: #F2DFD6;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

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

.site-header {
    background: var(--color-bg);
    padding: 1.75rem 2rem 1.25rem;
}

/* Centred masthead: logo + wordmark on top, small-caps menu beneath. */
.site-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

/* The logo is a raster JPEG with a solid grey background, so it can't be
   recoloured or sit transparently on green. It's framed as a deliberate
   rounded tile instead: grey reads as a "stone" mark on the off-white header
   (4:1), and gets an off-white mat wherever it sits on deep sage. */
.brand img,
.footer-logo img {
    height: 48px;
    width: 48px;
    display: block;
    border-radius: 6px;
    background: var(--color-logo-bg);
}

.brand img {
    height: 56px;
    width: 56px;
}

.brand span {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--color-primary);
}

.brand em {
    font-style: italic;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 2.1rem;
}

.nav-links a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.25rem 0;
    border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--color-secondary-ink);
    border-bottom-color: var(--color-secondary);
}

.nav-links a.nav-cta {
    border-bottom-color: var(--color-primary);
}

.nav-links a.nav-cta:hover {
    border-bottom-color: var(--color-secondary-ink);
}

.nav-toggle {
    display: none;
}

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
}

.nav-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--color-primary);
    border-radius: 1px;
}

@media (max-width: 860px) {
    .site-header {
        padding: 1rem 1.25rem;
    }

    .site-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0.75rem 1rem;
    }

    .brand img {
        height: 44px;
        width: 44px;
    }

    .nav-burger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0.9rem;
        padding-top: 0.5rem;
    }

    .nav-toggle:checked ~ .nav-links {
        display: flex;
    }
}

main {
    max-width: 1040px;
    margin: 0 auto;
    padding: 2rem;
}

.placeholder-panel {
    border: 1px dashed var(--color-border);
    border-radius: 4px;
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--color-text-muted);
    background: var(--color-surface);
    margin: 1.5rem 0;
}

.schedule-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.schedule-class {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 1rem 1.25rem;
}

.schedule-class__info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.schedule-class__name {
    font-weight: 500;
    color: var(--color-primary);
}

.schedule-class__time,
.schedule-class__instructor {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.schedule-class__status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.schedule-class__status .button {
    margin-top: 0;
}

.spots-left {
    font-size: 0.85rem;
    color: var(--color-primary);
}

.spots-left--full {
    color: var(--color-error);
}

.schedule-error {
    background: var(--color-surface);
    border: 1px dashed var(--color-border);
    border-radius: 4px;
    padding: 1.5rem;
    text-align: center;
    color: var(--color-text-muted);
}

.private-sessions {
    text-align: center;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-tertiary);
    border-radius: 4px;
    padding: 2rem;
    margin: 2rem 0;
}

.private-sessions h2 {
    color: var(--color-primary);
    margin-top: 0;
}

.about-owners {
    text-align: center;
    margin: 2rem 0;
}

.about-owners img {
    max-width: 500px;
    width: 100%;
    border-radius: 6px;
    display: block;
    margin: 0 auto 1rem;
}

.about-pilates {
    max-width: 70ch;
    margin: 2rem auto;
}

.about-pilates h2 {
    color: var(--color-primary);
}

.button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.75rem;
    background: var(--color-secondary-ink);
    color: #fff;
    text-decoration: none;
    border-radius: 2px;
    letter-spacing: 0.02em;
}

.button:hover {
    background: var(--color-primary);
}

.button--outline {
    background: transparent;
    color: var(--color-primary);
    box-shadow: inset 0 0 0 1px var(--color-primary);
}

.button--outline:hover {
    background: var(--color-primary);
    color: var(--color-on-primary);
}

.newsletter-signup {
    text-align: center;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-tertiary);
    border-radius: 4px;
    padding: 2rem;
    margin: 2rem 0;
}

.newsletter-signup h2 {
    color: var(--color-primary);
    margin-top: 0;
}

.newsletter-signup form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.cf-turnstile {
    margin-bottom: 1rem;
}

.newsletter-signup .cf-turnstile {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
}

.newsletter-signup input[type="email"] {
    flex: 1;
    min-width: 14rem;
    max-width: 20rem;
}

form p {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

input, textarea {
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 2px;
    font-family: inherit;
    background: var(--color-surface);
    color: var(--color-text);
}

input:focus, textarea:focus {
    outline: 2px solid var(--color-secondary);
    outline-offset: 1px;
}

button[type="submit"] {
    padding: 0.65rem 1.5rem;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    letter-spacing: 0.02em;
}

button[type="submit"]:hover {
    background: var(--color-secondary-ink);
}

.messages {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 1rem auto 0;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: 2px;
    margin-bottom: 0.5rem;
}

.message--success {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}

.message--error {
    background: var(--color-error-bg);
    color: var(--color-error);
}

.site-footer {
    background: var(--color-primary);
    color: var(--color-on-primary);
    text-align: center;
    padding: 2.5rem 1rem 2rem;
    font-size: 0.875rem;
    margin-top: 3rem;
}

.footer-logo {
    display: inline-block;
    padding: 6px;
    background: var(--color-bg);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
}

.site-footer a {
    color: var(--color-on-primary);
    opacity: 0.85;
}

.footer-nav a {
    text-decoration: none;
}

.site-footer a:hover {
    opacity: 1;
    color: var(--color-tertiary);
}

/* Home — full-width, image-led (mood reference: warm light, deep greens,
   text over imagery, tiled mosaic). */

main.main--full {
    max-width: none;
    padding: 0;
}

.eyebrow {
    display: block;
    margin: 0 0 0.75rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.button-row .button {
    margin-top: 0;
}

.button--light {
    background: var(--color-bg);
    color: var(--color-primary);
}

.button--light:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}

.button--ghost {
    background: transparent;
    color: var(--color-bg);
    box-shadow: inset 0 0 0 1px rgba(247, 245, 239, 0.8);
}

.button--ghost:hover {
    background: rgba(247, 245, 239, 0.15);
}

.home-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(80vh, 780px);
    padding: 4rem max(2rem, calc((100vw - 1100px) / 2));
    background:
        linear-gradient(100deg, rgba(28, 33, 27, 0.62) 0%, rgba(28, 33, 27, 0.3) 45%, rgba(28, 33, 27, 0) 75%),
        var(--hero-image) center 40% / cover no-repeat;
    color: var(--color-bg);
}

.home-hero__content {
    max-width: 30rem;
}

.home-hero .eyebrow {
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    margin-bottom: 1.25rem;
}

.home-hero h1 {
    color: var(--color-bg);
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    line-height: 1.05;
    font-weight: 500;
    margin: 0;
}

.home-hero__lead {
    font-size: 1.15rem;
    max-width: 30rem;
    margin: 1.25rem 0 0;
    opacity: 0.92;
}

.home-statement {
    background: var(--color-bg-alt);
    text-align: center;
    padding: 5rem 1.5rem;
}

.home-statement .eyebrow {
    color: var(--color-secondary-ink);
}

.home-statement__text {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.2;
    color: var(--color-primary);
    max-width: 26ch;
    margin: 0 auto;
}

/* Mosaic: edge-to-edge square tiles */
.mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.tile {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    display: flex;
    color: var(--color-bg);
    text-decoration: none;
}

.tile--image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Nudge the bright stock photos toward the warm, muted mood reference. */
    filter: saturate(0.85) sepia(0.12);
    transition: transform 1.2s ease;
}

.tile--image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28, 33, 27, 0.72) 0%, rgba(28, 33, 27, 0.15) 55%, rgba(28, 33, 27, 0.05) 100%);
}

a.tile--image:hover img {
    transform: scale(1.05);
}

.tile__text {
    position: relative;
    z-index: 1;
    align-self: flex-end;
    padding: 2rem;
}

.tile__text--centre {
    align-self: center;
    width: 100%;
    text-align: center;
}

.tile__text .eyebrow {
    margin: 0.5rem 0 0;
    opacity: 0.85;
}

.tile__title {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 2.6vw, 2.4rem);
    line-height: 1.1;
}

.tile__title--large {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-style: italic;
    font-weight: 500;
}

.tile--quote {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2.5rem;
    background: var(--color-secondary-ink);
}

.tile--quote .eyebrow {
    opacity: 0.85;
}

.tile__quote {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    line-height: 1.25;
    max-width: 18ch;
}

.tile__arrow {
    margin-top: 2rem;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.tile--quote:hover .tile__arrow {
    transform: translateX(6px);
}

.home-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.home-split__image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 4px;
}

.home-split__text h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.1;
    margin: 0 0 1rem;
}

.home-split__text .eyebrow {
    color: var(--color-secondary-ink);
}

.home-split__text p:not(.eyebrow) {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    max-width: 42ch;
}

.home-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: min(70vh, 640px);
    padding: 5rem 1.5rem;
    background:
        linear-gradient(rgba(28, 33, 27, 0.55), rgba(28, 33, 27, 0.55)),
        var(--band-image) center / cover no-repeat;
    color: var(--color-bg);
}

.home-band__text {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.1;
    margin: 0 0 1.5rem;
}

.home-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.info-panel {
    display: flex;
    flex-direction: column;
    padding: 4.5rem max(2rem, 6vw);
    text-decoration: none;
    color: inherit;
    min-height: 22rem;
}

.info-panel h2 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    line-height: 1.15;
    margin: 0 0 0.75rem;
}

.info-panel p:not(.eyebrow) {
    margin: 0 0 1.5rem;
    font-size: 1.05rem;
}

.info-panel__link {
    margin-top: auto;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.info-panel:hover .info-panel__link {
    text-decoration: underline;
}

.info-panel--pricing {
    background: var(--color-bg-alt);
}

.info-panel--pricing .eyebrow,
.info-panel--pricing .info-panel__link {
    color: var(--color-secondary-ink);
}

.info-panel--location {
    background: var(--color-primary);
    color: var(--color-on-primary);
}

.info-panel--location h2 {
    color: var(--color-on-primary);
}

.home-contained {
    max-width: 1040px;
    margin: 0 auto;
    padding: 2rem;
}

.site-footer {
    margin-top: 0;
}

main:not(.main--full) + .site-footer {
    margin-top: 3rem;
}

@media (max-width: 900px) {
    .mosaic {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-split {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 4rem 1.5rem;
    }

    .home-split__image img {
        aspect-ratio: 4 / 3;
    }

    .home-info {
        grid-template-columns: 1fr;
    }
}

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

    .tile {
        aspect-ratio: 4 / 3;
    }

    .tile--quote {
        aspect-ratio: auto;
        padding: 3.5rem 2rem;
    }

    .home-hero {
        min-height: 80vh;
        padding: 3rem 1.5rem;
        background:
            linear-gradient(to top, rgba(28, 33, 27, 0.85) 0%, rgba(28, 33, 27, 0.35) 60%, rgba(28, 33, 27, 0.1) 100%),
            var(--hero-image) 65% center / cover no-repeat;
    }

    .info-panel {
        padding: 3.5rem 1.5rem;
        min-height: 0;
    }
}

/* Shared page furniture */

.page-intro {
    margin-bottom: 2rem;
}

.page-intro h1 {
    font-size: 2.75rem;
    margin-bottom: 0.25rem;
}

.page-intro p,
.section-lead {
    color: var(--color-text-muted);
    max-width: 60ch;
    margin-top: 0;
}

.tag {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    background: var(--color-tertiary);
    color: var(--color-text);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.placeholder-panel a {
    color: var(--color-secondary-ink);
}

/* Pricing */

.intro-offer {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-tertiary);
    border-left: 4px solid var(--color-secondary);
    border-radius: 4px;
    padding: 2rem;
    margin: 0 0 3rem;
}

.intro-offer h2 {
    font-size: 2rem;
    margin: 0.75rem 0 0.25rem;
}

.intro-offer__deal {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary);
    margin: 0 0 0.5rem;
}

.pricing-section {
    margin: 3rem 0;
}

.pricing-section h2 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.price-grid {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.price-card {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-secondary);
    border-radius: 4px;
    padding: 1.5rem;
}

.price-card h3 {
    font-size: 1.6rem;
    margin: 0;
}

.price-card__price {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-primary);
    margin: 0.5rem 0 1rem;
}

.price-card__price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.price-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    flex: 1;
}

.price-card__features li {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--color-border);
}

.price-card .button {
    align-self: flex-start;
}

.pack-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.pack-table th,
.pack-table td {
    text-align: left;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
}

.pack-table thead th {
    background: var(--color-bg-alt);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.pack-table tbody th {
    font-weight: 500;
}

.pack-table__note {
    display: block;
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* FAQ — native <details> accordion, no JS */

.faq-list {
    max-width: 760px;
    border-top: 1px solid var(--color-border);
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0.25rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-primary);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-secondary-ink);
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    color: var(--color-secondary-ink);
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

.faq-item__answer {
    padding: 0 0.25rem 1.25rem;
    max-width: 65ch;
}

.faq-item__answer p {
    margin: 0 0 0.75rem;
}

.faq-item__answer a {
    color: var(--color-secondary-ink);
}

/* Location */

.location-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 2fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

.location-grid--no-map {
    grid-template-columns: 1fr;
}

.location-address h2,
.location-section h2,
.parking-callout h2 {
    font-size: 1.8rem;
    margin: 0 0 0.5rem;
}

.location-address address {
    font-style: normal;
    margin-bottom: 1rem;
}

.location-address a,
.location-section a {
    color: var(--color-secondary-ink);
}

.location-map iframe {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--color-border);
    border-radius: 4px;
}

.parking-callout {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--color-primary);
    color: var(--color-on-primary);
    border-radius: 4px;
    padding: 1.5rem 2rem;
    margin: 0 0 2.5rem;
}

.parking-callout h2 {
    color: var(--color-on-primary);
    margin-bottom: 0.25rem;
}

.parking-callout p {
    margin: 0;
    font-size: 1.1rem;
}

.parking-callout__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 6px;
    background: var(--color-bg);
    color: var(--color-primary);
    font-weight: 500;
    font-size: 1.6rem;
}

.location-section {
    margin: 2.5rem 0;
    max-width: 720px;
}

.hours-table {
    width: 100%;
    max-width: 520px;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.hours-table th,
.hours-table td {
    text-align: left;
    padding: 0.6rem 0.25rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

.hours-table th {
    font-weight: 500;
    width: 40%;
}

.hours-table__period {
    display: block;
}

.hours-table__note,
.hours-table__closed {
    color: var(--color-text-muted);
}

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

    .parking-callout {
        padding: 1.25rem;
    }
}

/* Blog */

.blog-intro h1 {
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.blog-intro p {
    color: var(--color-text-muted);
    margin-top: 0;
}

.blog-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.blog-filter a {
    padding: 0.35rem 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    background: var(--color-surface);
}

.blog-filter a:hover {
    border-color: var(--color-secondary);
}

.blog-filter a[aria-current="page"] {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.post-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.post-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
}

.post-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.post-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.post-card__image--empty {
    background: var(--color-border);
}

.post-card__body {
    padding: 1rem 1.25rem 1.25rem;
}

.post-card__title {
    font-size: 1.5rem;
    margin: 0.25rem 0 0.5rem;
    color: var(--color-primary);
}

.post-card__link:hover .post-card__title {
    color: var(--color-primary);
}

.post-card__summary {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.post-meta {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.post-meta a {
    color: var(--color-primary);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.pagination a {
    color: var(--color-primary);
}

.post {
    max-width: 720px;
    margin: 0 auto;
}

.post-header h1 {
    font-size: 2.5rem;
    line-height: 1.15;
    margin: 0.5rem 0 1.5rem;
    color: var(--color-primary);
}

.post-cover {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.post-body {
    font-size: 1.05rem;
    overflow-wrap: break-word;
}

.post-body a {
    color: var(--color-primary);
}

.post-body blockquote {
    margin: 1.5rem 0;
    padding-left: 1rem;
    border-left: 3px solid var(--color-secondary);
    color: var(--color-text-muted);
    font-style: italic;
}

.latest-posts {
    margin: 2rem 0 3rem;
}

.latest-posts__header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 1.25rem;
}

.latest-posts__header h2 {
    margin: 0;
    font-size: 2rem;
    color: var(--color-primary);
}

.latest-posts__header a {
    color: var(--color-primary);
}

/* CKEditor 5 image output */
.post-body img {
    max-width: 100%;
    height: auto;
}

.post-body figure.image {
    margin: 1.5rem auto;
    display: table;
    max-width: 100%;
}

.post-body figure.image figcaption {
    display: table-caption;
    caption-side: bottom;
    padding-top: 0.4rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: center;
}

.post-body .image-style-align-left {
    float: left;
    margin: 0.25rem 1.5rem 1rem 0;
    max-width: 50%;
}

.post-body .image-style-align-right {
    float: right;
    margin: 0.25rem 0 1rem 1.5rem;
    max-width: 50%;
}

.post-body::after {
    content: "";
    display: table;
    clear: both;
}

/* CKEditor 5 media embed output (YouTube etc.): always a full-width 16:9 box,
   whatever inline sizing the editor wrote, so embeds never overflow on mobile. */
.post-body figure.media {
    margin: 1.5rem 0;
    clear: both;
}

.post-body figure.media > div,
.post-body .ck-media__wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.post-body figure.media > div > div {
    position: static !important;
    padding-bottom: 0 !important;
    height: auto !important;
}

.post-body figure.media iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

@media (max-width: 600px) {
    .post-header h1 {
        font-size: 2rem;
    }

    .post-body .image-style-align-left,
    .post-body .image-style-align-right {
        float: none;
        max-width: 100%;
        margin: 1.5rem 0;
    }
}
