/* The G Nails — hand-authored stylesheet (no build step) */

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('/fonts/dm-sans.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('/fonts/playfair-display.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400 500;
    font-display: swap;
    src: url('/fonts/playfair-display-italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Pinyon Script';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/pinyon-script.woff2') format('woff2');
}

:root {
    --cream: #f5f2ea;
    --cream-alt: #efe8d8;
    --white: #ffffff;
    --charcoal: #2b2925;
    --charcoal-600: #55524a;
    --charcoal-500: #726d61;
    --charcoal-400: #8c8778;
    --charcoal-300: #b3ad9c;
    --border: #e3dcc9;
    --olive: #6f7548;
    --olive-dark: #565a38;
    --olive-light: #e6e5d4;

    --emerald-50: #ecfdf5;
    --emerald-700: #047857;
    --amber-50: #fffbeb;
    --amber-700: #b45309;
    --red-50: #fef2f2;
    --red-500: #ef4444;
    --red-600: #dc2626;
    --red-700: #b91c1c;

    /* legacy aliases kept for admin views that reference these names directly */
    --rose-50: var(--cream-alt);
    --rose-100: var(--border);
    --stone-50: var(--cream);
    --stone-100: var(--cream-alt);
    --stone-200: var(--border);
    --stone-300: var(--charcoal-300);
    --stone-400: var(--charcoal-400);
    --stone-500: var(--charcoal-500);
    --stone-600: var(--charcoal-600);
    --stone-700: var(--charcoal-600);
    --stone-800: var(--charcoal);
    --stone-900: var(--charcoal);
    --gold-400: var(--olive);
    --gold-500: var(--olive);
    --gold-600: var(--olive-dark);
    --gold-700: var(--olive-dark);

    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-script: 'Pinyon Script', cursive;

    /* ===== Motion tokens ===== */
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --duration-fast: 160ms;
    --duration-base: 220ms;
    --duration-marketing: 600ms;

    /* kept in sync with the real header height by app.js so sticky elements
       below it (e.g. .category-jumpnav) never drift out of alignment */
    --header-h: 105px;
}

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

/* Native browser page-to-page crossfade on same-origin navigation (Chrome/Edge).
   Unsupported browsers just fall back to a normal hard navigation — no JS involved,
   so it never delays a click. Skipped entirely under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
    @view-transition {
        navigation: auto;
    }
}

::view-transition-old(root) { animation-duration: var(--duration-base); }
::view-transition-new(root) { animation-duration: var(--duration-base); }

* { box-sizing: border-box; }

/* safety net: clip horizontal overflow at the outermost level rather than
   on body, since overflow on body can break position:sticky (site-header,
   category-jumpnav) in some browsers */
html { overflow-x: hidden; }

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--charcoal);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.01em; }

.container {
    max-width: 1152px;
    margin-inline: auto;
    padding-inline: 24px;
}

.container-sm { max-width: 672px; }
.container-md { max-width: 896px; }
.container-lg { max-width: 1024px; }

/* ===== Buttons ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
    text-align: center;
}

.btn-dark { background: var(--charcoal); color: var(--cream); }
.btn-dark:hover { background: var(--olive-dark); transform: translateY(-1px); }

.btn-magnetic { transition: transform var(--duration-fast) var(--ease-out), background var(--duration-base) var(--ease-out); }

.btn-outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-outline:hover { background: var(--charcoal); color: var(--cream); }

.btn-danger-outline { border-color: var(--border); color: var(--charcoal-600); background: #fff; }
.btn-danger-outline:hover { border-color: var(--red-500); color: var(--red-600); }

.btn-sm { padding: 9px 22px; font-size: 14px; border-radius: 6px; }
.btn-block { width: 100%; }

.link-gold { color: var(--olive-dark); font-weight: 600; }
.link-gold:hover { color: var(--charcoal); }

.link-muted { color: var(--charcoal-500); }
.link-muted:hover { color: var(--olive-dark); }

.link-danger { color: var(--red-500); font-weight: 600; }
.link-danger:hover { color: var(--red-700); }

/* ===== Header / nav ===== */

.site-header {
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 30;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 16px;
    transition: padding-block var(--duration-base) var(--ease-out); /* impeccable-disable-line layout-transition -- discrete shrink-on-scroll toggle, not a per-frame animation */
}
.site-header.is-scrolled .site-header-inner { padding-block: 10px; }

.logo {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -.01em;
    color: var(--charcoal);
}

.logo-accent { color: var(--olive-dark); }

.logo-img { display: block; height: 48px; width: auto; }
.logo-img-sm { height: 36px; }
.logo-img-lg { height: 88px; margin-inline: auto; }
.logo-img-footer { height: 56px; }
.logo-img-header { height: 72px; transition: height var(--duration-base) var(--ease-out); } /* impeccable-disable-line layout-transition -- discrete shrink-on-scroll toggle, not a per-frame animation */
.site-header.is-scrolled .logo-img-header { height: 56px; }

.nav-links {
    display: none;
    align-items: center;
    gap: 32px;
    font-size: 15px;
    font-weight: 500;
    color: var(--charcoal-600);
    flex: 1;
}

.nav-link:hover { color: var(--charcoal); }
.nav-link.active { color: var(--charcoal); }

.nav-right {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex: 1;
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--cream-alt);
    color: var(--charcoal-600);
}
.nav-social a:hover { background: var(--olive-light); color: var(--olive-dark); }
.nav-social svg { width: 16px; height: 16px; }

.nav-toggle {
    display: inline-flex;
    background: none;
    border: none;
    color: var(--charcoal);
    cursor: pointer;
    padding: 4px;
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--border);
    padding: 16px 24px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--charcoal-600);
}

.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding-block: 6px; }
.mobile-menu a.accent { color: var(--olive-dark); font-weight: 600; }

@media (min-width: 768px) {
    .nav-links { display: flex; }
    .nav-right { display: flex; }
    .nav-toggle { display: none; }
    .mobile-menu { display: none !important; }
}

/* ===== Footer ===== */

.site-footer { background: var(--cream); color: var(--charcoal); border-top: 1px solid var(--border); }

.footer-grid {
    display: grid;
    gap: 40px;
    padding-block: 64px 48px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
}

.footer-title { font-family: var(--font-display); font-weight: 600; font-size: 21px; color: var(--charcoal); }
.footer-col p { font-size: 14px; color: var(--charcoal-500); }
.footer-col-heading { font-weight: 600; color: var(--charcoal); margin-bottom: 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--charcoal-600); }
.footer-col a:hover { color: var(--olive-dark); }

.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--olive-light);
    color: var(--olive-dark);
}
.footer-social a:hover { background: var(--olive); color: var(--white); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-block: 24px;
    text-align: center;
    font-size: 12px;
    color: var(--charcoal-400);
}

/* ===== Hero / sections ===== */

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    color: var(--olive-dark);
    font-weight: 600;
}

.hero { position: relative; padding-block: 56px 80px; overflow: visible; }

.hero-grid {
    display: grid;
    gap: 48px;
    align-items: center;
    grid-template-columns: 1fr;
}
@media (min-width: 960px) {
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

.hero-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 16px 6px 11px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--olive-dark);
}
.hero-eyebrow-pill .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--olive); flex-shrink: 0; }

.hero h1 { margin-top: 20px; font-family: var(--font-display); font-weight: 600; font-size: 44px; line-height: 1.08; color: var(--charcoal); }
.hero h1 span.line { display: block; }
.hero p { margin-top: 13px; max-width: 480px; color: var(--charcoal-600); font-size: 17px; line-height: 1.7; }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-note { margin-top: 28px; font-size: 14px; color: var(--charcoal-500); }

.script-accent {
    position: relative;
    display: inline-block;
    font-family: var(--font-script);
    font-weight: 400;
    font-size: 1.5em;
    line-height: 1.1;
    color: var(--olive-dark);
}
.script-accent svg { position: absolute; left: 0; bottom: -0.35em; width: 100%; height: auto; color: var(--olive); }

@media (min-width: 640px) { .hero h1 { font-size: 56px; } }

/* ===== Hero photo bento ===== */

.hero-collage-img { display: block; width: 100%; height: 100%; object-fit: cover; }

.hero-photo-bento {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    aspect-ratio: 1 / 1;
    max-width: 512px;
    margin-inline: auto;
}
@media (min-width: 960px) { .hero-photo-bento { margin-inline: 0 0 0 auto; } }

.hero-photo-bento .bento-main {
    grid-row: 1 / 3;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 48px -20px rgba(43,41,37,.28);
}
.hero-photo-bento .bento-top,
.hero-photo-bento .bento-bottom {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 32px -14px rgba(43,41,37,.3);
}
.hero-photo-bento img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* badges are children of .hero-photo-bento (not .bento-main), which has no
   overflow:hidden, so they can actually spill past the photo's edge instead
   of being clipped by the frame that crops the photo's corners */
.hero-photo-bento .hero-badge-top { top: 6%; left: -8%; }
.hero-photo-bento .hero-badge-bottom { bottom: 6%; left: -8%; right: auto; }
@media (max-width: 640px) {
    .hero-photo-bento .hero-badge-top,
    .hero-photo-bento .hero-badge-bottom { left: 2%; }
}

.hero-float-badge {
    position: absolute;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--white);
    border-radius: 14px;
    padding: 12px 18px;
    box-shadow: 0 12px 28px -12px rgba(43,41,37,.3);
    z-index: 2;
}
/* periodic shine sweep, top-left to bottom-right, signals "this is live data" —
   scoped to the homepage hero only, not every .hero-float-badge site-wide
   (About/Services/Contact reuse this component inline, without the shine) */
.hero-photo-bento .hero-float-badge::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(111,117,72,.18) 48%, rgba(111,117,72,.18) 54%, transparent 72%);
    transform: translateX(-160%);
    animation: badge-shine 5s ease-in-out infinite;
    pointer-events: none;
}
.hero-photo-bento .hero-float-badge.hero-badge-bottom::after { animation-delay: 1.6s; }
@keyframes badge-shine {
    0% { transform: translateX(-160%); }
    22% { transform: translateX(160%); }
    100% { transform: translateX(160%); }
}
.hero-float-badge-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.hero-float-badge .label,
.hero-float-badge .value { text-align: left; line-height: 1.3; }
.hero-float-badge .icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--olive-light);
    color: var(--olive-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-float-badge .icon svg { width: 18px; height: 18px; }
.hero-float-badge .label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--charcoal-500); font-weight: 600; }
.hero-float-badge .value { font-size: 14px; font-weight: 600; color: var(--charcoal); margin-top: 2px; }

.hero-badge-sm { gap: 8px; padding: 8px 12px; border-radius: 10px; }
.hero-badge-sm .icon { width: 28px; height: 28px; }
.hero-badge-sm .icon svg { width: 14px; height: 14px; }
.hero-badge-sm .label { font-size: 11px; }
.hero-badge-sm .value { font-size: 14px; }

.hero-badge-top { top: 8%; left: -6%; }
.hero-badge-bottom { bottom: 4%; right: -6%; }
@media (max-width: 640px) {
    .hero-badge-top { left: 2%; }
    .hero-badge-bottom { right: 2%; }
}


.section { padding-block: 88px; }
.section-alt { background: var(--cream-alt); }
.section-white { background: var(--white); }
.section-dark { background: var(--charcoal); color: var(--cream); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h1,
.section-header h2 { margin-top: 12px; font-family: var(--font-display); font-weight: 600; font-size: 32px; color: var(--charcoal); }
.section-header p { margin-top: 16px; color: var(--charcoal-500); max-width: 544px; margin-inline: auto; line-height: 1.7; }
.section-dark .section-header h2 { color: var(--cream); }

.info-badge-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}
.info-badge-row .hero-float-badge { position: static; }

/* ===== Grid / cards ===== */

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    background: var(--white);
    transition: box-shadow var(--duration-base) ease, transform var(--duration-base) ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card:hover { box-shadow: 0 12px 28px -14px rgba(43,41,37,.18); transform: translateY(-2px); }

.card-photo {
    margin: -28px -28px 24px;
    aspect-ratio: 4 / 3;
}

.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.card-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--charcoal); }
.card-meta { font-size: 12px; color: var(--charcoal-500); margin-top: 8px; }
.card-pill {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--olive-dark);
    background: var(--olive-light);
    border-radius: 999px;
    padding: 4px 12px;
}
.card-desc { margin-top: 12px; font-size: 15px; color: var(--charcoal-600); flex: 1; line-height: 1.65; }
.card-link { margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--charcoal); }
.card-link:hover { color: var(--olive-dark); }

/* ===== Photo placeholders ===== */

.photo-placeholder {
    display: block;
    object-fit: cover;
    background: var(--olive-light);
    border-radius: 12px;
    width: 100%;
    height: 100%;
}

.ph-hero { aspect-ratio: 4 / 5; border-radius: 12px; }
.ph-square { aspect-ratio: 1 / 1; }
.ph-wide { aspect-ratio: 16 / 10; }
.ph-circle { border-radius: 999px; aspect-ratio: 1 / 1; }

.gallery-item { transition: transform var(--duration-base) var(--ease-out); }
.gallery-item:hover { transform: scale(1.03); }
.gallery-item:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(168,153,104,.4); border-radius: 12px; }

.gallery-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    background: rgba(245,242,234,.16);
    color: var(--cream);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background var(--duration-fast) var(--ease-out);
}
.gallery-close:hover { background: rgba(245,242,234,.28); }
.gallery-close:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(245,242,234,.5); }

.ph-tone-alt { background: var(--cream-alt); }

/* ----- Gallery: scattered mosaic ----- */

.gallery-mosaic {
    position: relative;
    column-count: 4;
    column-gap: 24px;
    padding-block: 28px 12px;
}
@media (max-width: 1023px) { .gallery-mosaic { column-count: 3; } }
@media (max-width: 639px) { .gallery-mosaic { column-count: 2; column-gap: 16px; } }

.gallery-tile {
    position: relative;
    break-inside: avoid;
    margin-bottom: 24px;
    transition: transform var(--duration-base) var(--ease-out);
}
.gallery-tile:nth-child(4n+2) { margin-top: 34px; }
.gallery-tile:nth-child(4n+4) { margin-top: 16px; }

.gallery-tile-badge { width: 62%; }
@media (max-width: 639px) { .gallery-tile-badge { width: 78%; } }

.gallery-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 24px -14px rgba(43,41,37,.3);
}

@media (hover: hover) and (pointer: fine) {
    .gallery-tile:hover { transform: scale(1.02); z-index: 2; }
}

.gallery-dot {
    position: absolute;
    border-radius: 999px;
    background: var(--olive);
    pointer-events: none;
    z-index: 0;
}
.gallery-dot-lg { width: 26px; height: 26px; top: 6%; left: 21%; opacity: .85; }
.gallery-dot-md { width: 18px; height: 18px; top: 58%; left: 48%; opacity: .7; }
.gallery-dot-sm { width: 10px; height: 10px; top: 68%; left: 44%; opacity: .55; }
@media (max-width: 639px) {
    .gallery-dot-lg { top: 4%; left: 8%; }
    .gallery-dot-md { top: 50%; left: 46%; }
    .gallery-dot-sm { top: 60%; left: 40%; }
}

/* ===== Welcome / benefits ===== */

.benefit-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.benefit-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--charcoal-600); line-height: 1.6; }
.benefit-list .check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--olive-light);
    color: var(--olive-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.benefit-list .check svg { width: 14px; height: 14px; }

/* ===== Welcome: photo + quote overlay ===== */

.welcome-photo-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; }
.welcome-photo-wrap .photo-placeholder,
.welcome-photo-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }

.quote-overlay-card {
    position: absolute;
    right: -16px;
    bottom: 24px;
    max-width: 220px;
    background: var(--white);
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 20px 40px -16px rgba(43,41,37,.35);
}
@media (max-width: 640px) { .quote-overlay-card { right: 8px; max-width: 180px; padding: 14px 16px; } }
.quote-overlay-card p.quote { font-family: var(--font-display); font-style: italic; font-size: 14px; line-height: 1.5; color: var(--charcoal); }
.quote-overlay-card p.attribution { margin-top: 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; color: var(--olive-dark); }

/* ===== Welcome: feature blocks ===== */

.feature-block { padding-block: 16px; border-top: 1px solid var(--border); }
.feature-block:first-child { border-top: none; padding-top: 20px; }
.feature-block-title { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--charcoal); }
.feature-block-text { margin-top: 6px; font-size: 14px; color: var(--charcoal-500); line-height: 1.6; }

/* ===== Stats row ===== */

.stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid var(--border);
}
@media (min-width: 640px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stats-row .stat-num { font-family: var(--font-display); font-weight: 700; font-size: 32px; color: var(--olive-dark); }
.stats-row .stat-label { margin-top: 4px; font-size: 13px; color: var(--charcoal-500); }

/* ===== Testimonials ===== */

.testimonials-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}
.testimonials-title {
    margin-top: 12px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 32px;
    line-height: 1.15;
    color: var(--charcoal);
}
.testimonials-title .line { display: block; }
.testimonials-arrows { display: flex; gap: 10px; flex-shrink: 0; }

.carousel-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.carousel-arrow svg { width: 18px; height: 18px; }
.carousel-arrow:hover:not(:disabled) { border-color: var(--olive); color: var(--olive-dark); }
.carousel-arrow:disabled { visibility: hidden; }
.carousel-arrow-accent { background: var(--olive); border-color: var(--olive); color: var(--white); }
.carousel-arrow-accent:hover:not(:disabled) { background: var(--olive-dark); border-color: var(--olive-dark); color: var(--white); }

.testimonial-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-block: 4px;
}
.testimonial-track::-webkit-scrollbar { display: none; }

.testimonial-card-wrap {
    flex: 0 0 auto;
    width: 82%;
    scroll-snap-align: start;
}
@media (min-width: 640px) { .testimonial-card-wrap { width: calc((100% - 24px) / 2); } }
@media (min-width: 1024px) { .testimonial-card-wrap { width: calc((100% - 48px) / 3); } }

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border);
    height: 100%;
    transition: box-shadow var(--duration-base) ease, transform var(--duration-base) ease;
}
.testimonial-card:hover { box-shadow: 0 12px 28px -14px rgba(43,41,37,.18); transform: translateY(-2px); }

.testimonial-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }

.testimonial-avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 999px;
    background: var(--olive);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
}

.testimonial-stars { display: flex; gap: 2px; flex-shrink: 0; margin-top: 4px; }
.testimonial-stars svg {
    width: 13px;
    height: 13px;
    color: var(--amber-700);
    transition: opacity var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}
.testimonial-stars svg:nth-child(1) { transition-delay: 0ms; }
.testimonial-stars svg:nth-child(2) { transition-delay: 60ms; }
.testimonial-stars svg:nth-child(3) { transition-delay: 120ms; }
.testimonial-stars svg:nth-child(4) { transition-delay: 180ms; }
.testimonial-stars svg:nth-child(5) { transition-delay: 240ms; }

.testimonial-name { font-weight: 600; font-size: 14px; color: var(--charcoal); }
.testimonial-meta { margin-top: 1px; font-size: 12px; color: var(--charcoal-500); }
.testimonial-quote { margin-top: 20px; font-size: 15px; color: var(--charcoal-600); line-height: 1.7; }

/* ===== Hours list ===== */

.hours-list { font-size: 15px; }
.hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 10px;
    border-bottom: 1px solid var(--border);
}
.hours-row:last-child { border-bottom: none; }
.hours-day { color: var(--charcoal-500); }
.hours-time { font-weight: 500; color: var(--charcoal); }

/* ===== Alerts ===== */

.alert { border-radius: 10px; padding: 14px 16px; font-size: 14px; margin-bottom: 24px; border: 1px solid transparent; }
.alert-success { background: var(--emerald-50); color: var(--emerald-700); border-color: #d1fae5; }
.alert-error { background: var(--red-50); color: var(--red-700); border-color: #fecaca; }

/* ===== Forms ===== */

.form-card { border: 1px solid var(--border); border-radius: 12px; padding: 32px; background: var(--white); }

.form-group { margin-bottom: 20px; }
.form-group:last-child { margin-bottom: 0; }

.form-row { display: grid; gap: 20px; grid-template-columns: 1fr; margin-bottom: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

label { display: block; font-size: 14px; font-weight: 500; color: var(--charcoal-600); margin-bottom: 6px; }

input[type=text], input[type=email], input[type=tel], input[type=password],
input[type=date], input[type=time], input[type=number], select, textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 15px;
    font-family: inherit;
    color: var(--charcoal);
    background: var(--white);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--olive);
    box-shadow: 0 0 0 3px rgba(168,153,104,.18);
}

textarea { resize: vertical; }

.field-error { margin-top: 6px; font-size: 12px; color: var(--red-600); }

.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--charcoal-600); }
.checkbox-row input { width: auto; accent-color: var(--olive-dark); }

/* ===== Badges ===== */

.badge { display: inline-block; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 500; }
.badge-pending { background: var(--amber-50); color: var(--amber-700); }
.badge-confirmed { background: var(--emerald-50); color: var(--emerald-700); }
.badge-cancelled { background: var(--cream-alt); color: var(--charcoal-500); }

/* ===== Auth ===== */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 24px;
    background: var(--cream);
}
.login-box { width: 100%; max-width: 384px; }
.login-header { text-align: center; margin-bottom: 32px; }
.login-header p { margin-top: 4px; font-size: 14px; color: var(--charcoal-500); }
.login-footer { margin-top: 24px; text-align: center; font-size: 14px; }

/* ===== Admin layout ===== */

.admin-body { background: var(--cream-alt); }
.admin-wrapper { display: flex; min-height: 100vh; }

.admin-sidebar {
    display: none;
    width: 256px;
    flex-direction: column;
    border-right: 1px solid var(--border);
    background: var(--white);
}

.admin-sidebar-header { padding: 20px 24px; border-bottom: 1px solid var(--border); }
.admin-sidebar-header p { font-size: 12px; color: var(--charcoal-400); margin-top: 2px; }

.admin-nav { flex: 1; padding: 24px 16px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.admin-nav a { display: block; border-radius: 8px; padding: 8px 12px; font-weight: 500; color: var(--charcoal-600); }
.admin-nav a:hover { background: var(--cream-alt); }
.admin-nav a.active { background: var(--olive-light); color: var(--olive-dark); }

.admin-sidebar-footer { padding: 16px; border-top: 1px solid var(--border); }
.admin-sidebar-footer p { padding-inline: 12px; font-size: 12px; color: var(--charcoal-400); margin-bottom: 8px; }
.admin-sidebar-footer button {
    width: 100%;
    text-align: left;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--charcoal-600);
    background: none;
    border: none;
    cursor: pointer;
}
.admin-sidebar-footer button:hover { background: var(--cream-alt); }

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background: var(--white);
    padding: 12px 16px;
}
.admin-topbar form button { background: none; border: none; color: var(--charcoal-600); font-size: 14px; cursor: pointer; }

.admin-main { flex: 1; min-width: 0; }
.admin-content { padding: 32px 16px; }
.admin-content-inner { max-width: 960px; margin-inline: auto; }

.page-title { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--charcoal); margin-bottom: 24px; }

@media (min-width: 768px) {
    .admin-sidebar { display: flex; }
    .admin-topbar { display: none; }
    .admin-content { padding: 32px; }
}

/* ===== Stats ===== */

.stat-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 40px; }
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }

.stat-card { border: 1px solid var(--border); border-radius: 12px; background: var(--white); padding: 20px; }
.stat-label { text-transform: uppercase; letter-spacing: .05em; font-size: 12px; color: var(--charcoal-400); }
.stat-value { margin-top: 8px; font-family: var(--font-display); font-weight: 600; font-size: 30px; color: var(--charcoal); }

/* ===== Panels / lists ===== */

.panel { border: 1px solid var(--border); border-radius: 12px; background: var(--white); overflow: hidden; }
.panel-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.panel-header h2 { font-weight: 600; color: var(--charcoal-600); font-size: 16px; }
.panel-empty { padding: 40px 20px; text-align: center; font-size: 14px; color: var(--charcoal-500); }
.panel-list { list-style: none; padding: 0; margin: 0; }
.panel-list li { padding: 16px 20px; border-top: 1px solid var(--cream-alt); display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.panel-list li:first-child { border-top: none; }
.panel-list .primary { font-weight: 500; color: var(--charcoal); }
.panel-list .secondary { color: var(--charcoal-500); }

/* ===== Tables ===== */

.table-wrap { border: 1px solid var(--border); border-radius: 12px; background: var(--white); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead { background: var(--cream-alt); text-align: left; }
th { padding: 12px 20px; text-transform: uppercase; letter-spacing: .03em; font-size: 12px; color: var(--charcoal-400); font-weight: 600; }
td { padding: 16px 20px; border-top: 1px solid var(--cream-alt); vertical-align: top; }
td .primary { font-weight: 500; color: var(--charcoal); }
td .secondary { font-size: 12px; color: var(--charcoal-500); }
.table-actions { text-align: right; }
.table-actions form { display: inline; }

/* ===== Filter pills ===== */

.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font-size: 14px; }
.filter-pill { border-radius: 999px; padding: 6px 16px; font-weight: 500; background: var(--white); border: 1px solid var(--border); color: var(--charcoal-600); }
.filter-pill:hover { border-color: var(--olive); }
.filter-pill.active { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }

/* ===== Pagination (Bootstrap-5 markup) ===== */

.pagination { display: flex; list-style: none; gap: 4px; padding: 0; margin: 0; flex-wrap: wrap; }
.page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding-inline: 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--charcoal-600);
    font-size: 14px;
}
.page-item .page-link:hover { border-color: var(--olive); color: var(--olive-dark); }
.page-item.active .page-link { background: var(--charcoal); border-color: var(--charcoal); color: var(--cream); }
.page-item.disabled .page-link { opacity: .4; }

/* ===== Business hours edit ===== */

.hours-form-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding-block: 16px;
    border-bottom: 1px solid var(--cream-alt);
}
.hours-form-row:last-child { border-bottom: none; }
.hours-day-label { width: 112px; font-weight: 500; color: var(--charcoal); font-size: 15px; }
.hours-time-group { display: flex; align-items: center; gap: 8px; }
.hours-time-group.disabled { opacity: .4; }
.hours-time-group input { width: auto; }
.hours-sep { color: var(--charcoal-400); }

/* ===== Services grid (Quiet Grid) ===== */

.services-grid-bg {
    position: relative;
    padding-block: 56px;
    background-color: var(--cream);
    background-image: linear-gradient(var(--border) 1px, transparent 1px),
                       linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 64px 64px;
    background-position: center top;
}
.services-grid-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--cream) 40%, rgba(245,242,234,.7) 78%, var(--cream) 100%);
    pointer-events: none;
}
.services-grid-bg > .container { position: relative; z-index: 1; }
.services-grid-bg .section-header { margin-bottom: 24px; }

.category-jumpnav {
    position: sticky;
    top: var(--header-h);
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-block: 14px;
    margin-bottom: 40px;
    background: rgba(245,242,234,.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--border);
}
.category-jumpnav a {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--charcoal-600);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}
.category-jumpnav a:hover { border-color: var(--olive); color: var(--olive-dark); background: var(--olive-light); }

.category-block { padding-block: 28px; scroll-margin-top: 150px; }

.category-heading-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.category-heading-accent {
    flex-shrink: 0;
    width: 4px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--olive) 0%, var(--olive-light) 100%);
}

.category-heading {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 24px;
    color: var(--charcoal);
    line-height: 1.2;
}

.category-count {
    margin-top: 2px;
    font-size: 13px;
    color: var(--charcoal-500);
}

.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.category-grid .service-card { aspect-ratio: 3 / 4; }
@media (min-width: 640px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .category-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
    position: relative;
    height: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 24px -14px rgba(43,41,37,.3);
    transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}

.service-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--cream-alt) 0%, var(--olive-light) 100%);
}

.service-card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 18px;
    background: linear-gradient(to top, rgba(20,18,14,.88) 0%, rgba(20,18,14,.5) 55%, rgba(20,18,14,0) 100%);
}

.service-card-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.service-card-meta {
    margin-top: 4px;
    font-size: 12px;
    color: rgba(255,255,255,.8);
}

.service-card-btn {
    margin-top: 14px;
    align-self: flex-start;
    padding: 9px 20px;
    font-size: 13px;
    background: var(--olive);
    color: #fff;
    box-shadow: none;
}
.service-card-btn:hover { background: var(--olive-dark); }

@media (hover: hover) and (pointer: fine) {
    .category-grid .service-card:hover {
        transform: scale(1.04);
        box-shadow: 0 24px 44px -18px rgba(43,41,37,.4);
        z-index: 2;
    }
    .category-grid .card-cta {
        opacity: 0;
        transform: translateY(8px);
        pointer-events: none;
        transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
    }
    .category-grid .service-card:hover .card-cta,
    .category-grid .service-card:focus-within .card-cta {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* ===== Closing CTA: photo-backed + frosted glass panel ===== */

.cta-photo-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 96px;
}
.cta-photo-section .cta-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.cta-photo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(20,18,14,.5) 0%, rgba(20,18,14,.72) 100%);
}
.cta-photo-section > .container { position: relative; z-index: 2; width: 100%; }

.cta-glass-panel {
    max-width: 520px;
    margin-inline: auto;
    padding: 48px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(245,242,234,.22) 0%, rgba(245,242,234,.08) 100%);
    border: 1px solid rgba(245,242,234,.3);
    border-radius: 20px;
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 24px 60px -20px rgba(20,18,14,.55);
    color: var(--cream);
}
.cta-glass-panel .eyebrow { color: var(--olive-light); }
.cta-glass-panel h2 { margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: 30px; color: var(--cream); }
.cta-glass-panel p { margin-top: 14px; color: rgba(245,242,234,.82); }
.cta-glass-panel .hero-actions { justify-content: center; margin-top: 26px; }
@media (prefers-reduced-transparency: reduce) {
    .cta-glass-panel { background: rgba(43,41,37,.9); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ===== Back to top ===== */

.scroll-sentinel { height: 1px; }

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 40;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 999px;
    background: var(--olive);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 12px 28px -12px rgba(43,41,37,.4);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out), background var(--duration-fast) var(--ease-out);
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--olive-dark); }
.back-to-top:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(168,153,104,.4), 0 12px 28px -12px rgba(43,41,37,.4); }

@media (max-width: 639px) {
    .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* ===== Who We Are: editorial statement + points ===== */

.who-statement {
    margin-top: 12px;
    text-align: left;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 26px;
    line-height: 1.45;
    color: var(--charcoal);
}
@media (min-width: 768px) { .who-statement { font-size: 32px; } }

.who-editorial-points { display: flex; flex-direction: column; }
.who-point { padding-block: 18px; border-top: 1px solid var(--border); }
.who-point:first-child { border-top: none; padding-top: 0; }
.who-point-value { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--olive-dark); }

/* ===== About: category overview cards ===== */

.about-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}
@media (min-width: 640px) { .about-category-grid { grid-template-columns: repeat(3, 1fr); } }

.about-category-card {
    display: block;
    padding: 26px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    transition: border-color var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.about-category-card:hover { border-color: var(--olive); transform: translateY(-2px); box-shadow: 0 12px 28px -16px rgba(43,41,37,.25); }
.about-category-card .about-category-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--charcoal); }
.about-category-card .about-category-count { margin-top: 4px; font-size: 13px; color: var(--charcoal-500); }
.who-point-text { margin-top: 6px; font-size: 14px; color: var(--charcoal-600); line-height: 1.6; }

/* ===== Contact: map embed ===== */

.map-embed-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 24px -14px rgba(43,41,37,.3);
}
.map-embed-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-info-list { list-style: none; padding: 0; margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.contact-info-list a { font-size: 15px; }

/* ===== Quick-booking modal ===== */

.booking-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(43,41,37,.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-base) var(--ease-out);
}
.booking-modal-overlay.is-open { opacity: 1; pointer-events: auto; }

.booking-modal-panel {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: 20px;
    padding: 40px 32px 32px;
    box-shadow: 0 32px 64px -20px rgba(43,41,37,.5);
    transform: scale(.96) translateY(12px);
    transition: transform var(--duration-base) var(--ease-out);
}
.booking-modal-overlay.is-open .booking-modal-panel { transform: scale(1) translateY(0); }

.booking-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: none;
    background: var(--cream-alt);
    color: var(--charcoal);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background var(--duration-fast) var(--ease-out);
}
.booking-modal-close:hover { background: var(--olive-light); }
.booking-modal-close:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(168,153,104,.4); }

.booking-modal-body h2 { margin-top: 8px; font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--charcoal); }
.booking-modal-intro { margin-top: 8px; font-size: 14px; color: var(--charcoal-500); }
.booking-modal-body form { margin-top: 24px; }

body.booking-modal-open { overflow: hidden; }
