/* ═══════════════════════════════════════════════════════════════════════════
   High Stone Wholistic Wellness — Components: buttons, cards, chips, tables,
   forms, and the signature ripple motif
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Buttons ───────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    min-height: 48px;
    /* Every variant carries the same 1px border (transparent when unused)
       so filled, outline, and ghost buttons are always pixel-identical. */
    border: 1px solid transparent;
    /* Pill buttons — one of High Stone's signature departures from boxy UI */
    border-radius: var(--radius-full);
    font-weight: var(--weight-semibold);
    font-size: var(--text-base);
    line-height: 1.2;
    text-align: center;
    transition: background var(--transition-fast), color var(--transition-fast),
        border-color var(--transition-fast), transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

/* Copper CTA — reserved for dark (forest) surfaces where it glows */
.btn--copper {
    background: var(--color-copper);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}
.btn--copper:hover {
    background: var(--color-copper-text);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--color-ink);
    border-color: var(--color-ink);
}
.btn--outline:hover {
    background: var(--color-ink);
    color: var(--color-text-inverse);
}

.btn--light {
    background: var(--color-white);
    color: var(--color-ink);
    box-shadow: var(--shadow-sm);
}
.btn--light:hover { color: var(--color-primary-dark); box-shadow: var(--shadow-md); }

.btn--ghost-light {
    background: transparent;
    color: var(--color-text-inverse);
    border-color: rgba(248, 245, 238, 0.55);
}
.btn--ghost-light:hover {
    background: rgba(248, 245, 238, 0.12);
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn--sm { padding: var(--space-2) var(--space-5); min-height: 40px; font-size: var(--text-sm); }
.btn--lg { padding: var(--space-5) var(--space-10); font-size: var(--text-lg); }

/* Buttons in a row always match heights: stretch makes every sibling grow
   to the tallest one (e.g. if a label wraps), and .btn's own align-items
   keeps the label vertically centered inside the stretched box. */
.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: stretch;
}

/* ── Signature motif: concentric ripples + faint cairn (hero only) ─────── */

.hero-motif {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: var(--z-motif);
}

.hero-motif__ring {
    position: absolute;
    top: 50%;
    right: -140px;
    width: 560px;
    height: 560px;
    margin-top: -280px;
    border: 1.5px solid var(--color-motif-2);
    border-radius: var(--radius-full);
    opacity: 0;
    animation: hs-ripple 11s ease-out infinite;
}

.hero-motif__ring--2 { animation-delay: 3.6s; border-color: var(--color-motif-1); }
.hero-motif__ring--3 { animation-delay: 7.2s; border-color: var(--color-motif-3); }

@keyframes hs-ripple {
    0%   { transform: scale(0.55); opacity: 0; }
    12%  { opacity: 0.55; }
    100% { transform: scale(1.25); opacity: 0; }
}

.hero-motif__cairn {
    position: absolute;
    right: 6%;
    bottom: 8%;
    color: var(--color-motif-3);
    opacity: 0.35;
}

/* Hand-drawn botanical sprig — the natural thread, always whisper-quiet */
.hero-motif__branch {
    position: absolute;
    left: -36px;
    top: 8%;
    width: clamp(180px, 20vw, 300px);
    color: var(--color-sage);
    opacity: 0.15;
    transform: rotate(10deg);
}

.hero-motif__branch svg { width: 100%; height: auto; }

/* Reduced motion: rings freeze as a calm, static echo */
@media (prefers-reduced-motion: reduce) {
    .hero-motif__ring    { animation: none; opacity: 0.25; transform: scale(0.8); }
    .hero-motif__ring--2 { opacity: 0.18; transform: scale(1.0); }
    .hero-motif__ring--3 { opacity: 0.12; transform: scale(1.2); }
}

/* ── Rating badge ──────────────────────────────────────────────────────── */

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    box-shadow: var(--shadow-xs);
}

.rating-badge .stars { color: var(--color-copper); display: inline-flex; }
.rating-badge:hover { border-color: var(--color-primary); color: var(--color-text); }

.stars {
    display: inline-flex;
    gap: 2px;
    color: var(--color-copper);
}

/* ── Trust strip ───────────────────────────────────────────────────────── */

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4) var(--space-10);
    padding-block: var(--space-6);
}

.trust-strip__item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text-secondary);
}

.trust-strip__item svg { color: var(--color-accent); flex-shrink: 0; }

/* ── Chips (location availability etc.) ────────────────────────────────── */

.chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-4);
    min-height: 32px;
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    white-space: nowrap;
}

.chip:hover { border-color: var(--color-primary); color: var(--color-primary-dark); }

.chip--exclusive {
    background: #F6E7DC;
    color: var(--color-copper-text);
}
.chip--exclusive:hover { border-color: var(--color-copper); color: var(--color-copper-text); }

.location-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
}

.location-chips__label {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    font-weight: var(--weight-medium);
}

/* ── Cards ─────────────────────────────────────────────────────────────── */

.card {
    background: var(--color-surface);
    border: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.service-card { display: flex; flex-direction: column; height: 100%; }

.service-card__media {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--color-paper-alt);
}

.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform var(--transition-slow);
}

.card:hover .service-card__media img { transform: scale(1.04); }

.service-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--space-3);
    padding: var(--space-6);
}

.service-card__body h3 {
    font-size: var(--text-xl);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.service-card__body h3 svg { color: var(--color-primary); flex-shrink: 0; }
.service-card__body p { font-size: var(--text-sm); flex: 1; }

.service-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border);
}

.service-card__price {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--color-text);
}

.service-card__price span {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    display: block;
}

.service-card__link {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}

/* Category cards (home / hub cross-links) */
.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--space-3);
    padding: var(--space-8);
}

.category-card__body h3 {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-2xl);
}

.category-card__body h3 svg { color: var(--color-primary); }
.category-card__count {
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--color-accent);
}
.category-card__body p { flex: 1; }
.category-card__list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
}
.category-card__list span { background: var(--color-paper-alt); border-radius: var(--radius-full); padding: 2px var(--space-3); }

/* Amenity / value cards */
.amenity-card {
    text-align: center;
    padding: var(--space-8) var(--space-6);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    height: 100%;
}

.amenity-card svg {
    color: var(--color-primary);
    margin-inline: auto;
    margin-bottom: var(--space-4);
}

.amenity-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.amenity-card p { font-size: var(--text-sm); margin-inline: auto; }

/* ── Grids ─────────────────────────────────────────────────────────────── */

.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ── Pricing table ─────────────────────────────────────────────────────── */

.price-table {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.price-table__group + .price-table__group { border-top: 1px solid var(--color-border); }

.price-table__heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6) 0;
}

.price-table__heading h3 { font-size: var(--text-xl); }
.price-table__heading h3 a { color: inherit; }
.price-table__heading h3 a:hover { color: var(--color-primary-dark); }

.price-table__heading a {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    white-space: nowrap;
}

.price-table__note {
    padding: 0 var(--space-6);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.price-table__note--location {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--color-copper-text);
    font-weight: var(--weight-medium);
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-6);
}

.price-row:last-child { padding-bottom: var(--space-5); }

.price-row__duration { font-weight: var(--weight-medium); white-space: nowrap; }

.price-row__dots {
    flex: 1;
    border-bottom: 1px dotted var(--color-border);
    transform: translateY(-4px);
}

.price-row__price {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    white-space: nowrap;
    text-align: right;
}

.price-row__label {
    font-style: normal;
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
}

.pricing-note { margin-top: var(--space-6); }

/* ── Hours table ───────────────────────────────────────────────────────── */

.hours-table { width: 100%; border-collapse: collapse; }

.hours-table td {
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
}

.hours-table td:last-child { text-align: right; white-space: nowrap; }

.hours-table tr:last-child td { border-bottom: none; }

.hours-table tr.today td {
    color: var(--color-text);
    font-weight: var(--weight-semibold);
}

.hours-closed { color: var(--color-copper-text); font-weight: var(--weight-medium); }

.open-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
}

.open-chip::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--color-success);
}

.open-chip--closed::before { background: var(--color-error); }

/* ── Testimonials ──────────────────────────────────────────────────────── */

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-8);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    height: 100%;
}

.testimonial-card > svg { color: var(--color-accent-soft); }

.testimonial-card blockquote {
    flex: 1;
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-text);
}

.testimonial-card figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.testimonial-card figcaption strong {
    color: var(--color-text);
    font-weight: var(--weight-semibold);
    display: block;
}

.google-attribution {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
}

.pull-quote {
    max-width: 42rem;
    margin-inline: auto;
    text-align: center;
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    line-height: var(--leading-snug);
    color: var(--color-text);
}

.pull-quote cite {
    display: block;
    margin-top: var(--space-4);
    font-family: var(--font-body);
    font-style: normal;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

/* ── FAQ accordion ─────────────────────────────────────────────────────── */

.faq-list {
    max-width: var(--container-md);
    margin-inline: auto;
}

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

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    width: 100%;
    padding: var(--space-5) 0;
    text-align: left;
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.faq-item__question:hover { color: var(--color-primary-dark); }

.faq-item__question svg {
    flex-shrink: 0;
    color: var(--color-accent);
    transition: transform var(--transition-base);
}

.faq-item__question[aria-expanded="true"] svg { transform: rotate(180deg); }

.faq-item__answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height var(--transition-base);
}

.faq-item__answer > div { padding: 0 0 var(--space-5); }
.faq-item__answer p + p { margin-top: var(--space-3); }

/* ── Checklist ─────────────────────────────────────────────────────────── */

.checklist { display: grid; gap: var(--space-3); }

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    color: var(--color-text-secondary);
}

.checklist li svg {
    flex-shrink: 0;
    color: var(--color-sage);
    margin-top: 3px;
}

/* ── Steps (what to expect) ────────────────────────────────────────────── */

.steps { display: grid; gap: var(--space-6); counter-reset: step; }

.step {
    padding: var(--space-6);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

/* The numeral flows in normal layout (not absolute) so it can never
   collide with the title regardless of font metrics. */
.step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    line-height: 1;
    color: var(--color-copper);
    margin-bottom: var(--space-4);
}

.step h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.step p { font-size: var(--text-sm); }

/* ── Forms ─────────────────────────────────────────────────────────────── */

.form-grid { display: grid; gap: var(--space-5); }

.form-field { display: flex; flex-direction: column; gap: var(--space-2); }

.form-field label {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text);
}

.form-field label .optional {
    font-weight: var(--weight-regular);
    color: var(--color-text-secondary);
}

.form-field input,
.form-field textarea,
.form-field select {
    font: inherit;
    padding: var(--space-3) var(--space-4);
    min-height: 48px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    color: var(--color-text);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-field textarea { min-height: 120px; resize: vertical; }

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.form-field .field-error {
    font-size: var(--text-sm);
    color: var(--color-error);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] { border-color: var(--color-error); }

.form-status {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
}

.form-status:empty { display: none; }

.form-status--success {
    background: #EDF5EF;
    color: var(--color-success);
    border: 1px solid #CCE0D2;
}

.form-status--error {
    background: #F9ECE8;
    color: var(--color-error);
    border: 1px solid #EBCFC5;
}

.form-disclaimer {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
}

/* Honeypot — hidden from humans, present for bots */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Hide reCAPTCHA badge (required attribution text shown near submit instead) */
.grecaptcha-badge { visibility: hidden; }

/* ── Breadcrumbs ───────────────────────────────────────────────────────── */

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.breadcrumbs a { color: var(--color-text-secondary); }
.breadcrumbs a:hover { color: var(--color-primary-dark); }
.breadcrumbs li + li::before { content: '·'; margin-right: var(--space-2); }
.breadcrumbs [aria-current] { color: var(--color-text); }

/* ── Notice / info strip ───────────────────────────────────────────────── */

.notice {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: var(--color-primary-soft);
    border-left: 3px solid var(--color-primary);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    color: var(--color-text);
}

.notice svg { flex-shrink: 0; color: var(--color-primary-dark); margin-top: 2px; }
.notice p { font-size: inherit; }

/* Card-style variant for longer content (4+ lines): larger icon sits above
   the text instead of floating beside a tall paragraph. */
.notice--stack {
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-6);
}

.notice--stack svg { margin-top: 0; }

/* Soft neutral variant (pricing placeholder note) */
.notice--soft {
    background: var(--color-paper-alt);
    border-left-color: var(--color-copper);
}
.notice--soft svg { color: var(--color-copper-text); }

/* ── Linen grain on dark surfaces — tactility you feel more than see ────── */

.section--forest, .cta-banner, .site-footer, .home-hero { position: relative; }

.section--forest::after,
.cta-banner::after,
.site-footer::after,
.home-hero__scrim::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
    opacity: 0.05;
}

/* ── Reveal choreography: siblings fade in with a gentle stagger ────────── */

.grid > .fade-in:nth-child(2),
.feature-rows > .fade-in:nth-child(2) { transition-delay: 90ms; }
.grid > .fade-in:nth-child(3),
.feature-rows > .fade-in:nth-child(3) { transition-delay: 180ms; }
.grid > .fade-in:nth-child(4),
.feature-rows > .fade-in:nth-child(4) { transition-delay: 270ms; }
.grid > .fade-in:nth-child(n+5),
.feature-rows > .fade-in:nth-child(n+5) { transition-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
    .grid > .fade-in, .feature-rows > .fade-in { transition-delay: 0ms !important; }
}

/* ── Timed promo modal ──────────────────────────────────────────────────── */

.promo {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
}

.promo[hidden] { display: none; }

.promo__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(24, 36, 30, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.promo__dialog {
    position: relative;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: stretch;
    width: min(760px, 100%);
    max-height: calc(100vh - var(--space-12));
    overflow: hidden auto;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transform: translateY(12px) scale(0.985);
    transition: opacity var(--transition-base), transform var(--transition-base);
}

/* .is-open is added a frame after unhiding so the transition actually runs */
.promo.is-open .promo__backdrop { opacity: 1; }
.promo.is-open .promo__dialog { opacity: 1; transform: none; }

.promo__media { background: linear-gradient(160deg, var(--color-primary-soft), var(--color-paper-alt)); }

.promo__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.promo__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-8);
}

.promo__body .section-label { margin-bottom: 0; }
.promo__title { font-size: var(--text-3xl); }
.promo__text { font-size: var(--text-sm); }

.promo__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-2);
}

.promo__dismiss {
    padding: var(--space-1) 0;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.promo__dismiss:hover { color: var(--color-text); }

.promo__close {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: var(--color-surface);
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.promo__close:hover { background: var(--color-paper-alt); color: var(--color-primary-dark); }

/* Mobile: bottom sheet, not a full-screen takeover. Deliberate — a popup that
   blankets the page on mobile is what Google's intrusive-interstitial guidance
   targets, and it reads as hostile besides. */
@media (max-width: 768px) {
    .promo { align-items: flex-end; padding: 0; }

    .promo__dialog {
        grid-template-columns: 1fr;
        width: 100%;
        max-height: 85vh;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        transform: translateY(100%);
    }

    .promo__media { max-height: 148px; }
    .promo__body { padding: var(--space-6) var(--space-6) var(--space-8); }
    .promo__title { font-size: var(--text-2xl); }
    .promo__actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
    .promo__dialog { transform: none; }
}

/* Lock the page while the promo is open — every close path (X, "Maybe later",
   backdrop, Esc, and the CTAs) removes this class, so it can't strand the
   page unscrollable. */
body.promo-open { overflow: hidden; }
