/* Single store — hero, contact details, embedded map. On-brand with the GP
   global palette (--accent / --base-3 / --contrast-2); degrades when those
   custom properties are absent. */

.atvahc-store-single {
    --atvahc-store-radius: 14px;
    --atvahc-store-line: rgba(0, 0, 0, 0.09);
    --atvahc-store-ink: var(--contrast-2, #23282d);
    --atvahc-store-muted: #6b6f76;
    --atvahc-store-accent: var(--accent, #6b5a5b);
    /* GP's --accent-hover often equals --accent on this theme, so derive a
       guaranteed-darker shade instead of trusting it. */
    --atvahc-store-accent-hover: color-mix(in srgb, var(--atvahc-store-accent) 84%, #000);
    --atvahc-store-warm: var(--contrast-2, #6b5a5b);
    color: var(--atvahc-store-ink);
}

.atvahc-store-single .atvahc-icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
    flex: 0 0 auto;
}

/* ---- Hero ------------------------------------------------------------- */

.atvahc-store-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(280px, 42vw, 460px);
    border-radius: var(--atvahc-store-radius);
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.5);
}

.atvahc-store-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    animation: atvahc-hero-zoom 9s ease-out forwards;
}

.atvahc-store-hero__media--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(120% 120% at 80% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
        linear-gradient(140deg, var(--atvahc-store-warm) 0%, var(--atvahc-store-accent) 78%);
    transform: none;
    animation: none;
}

.atvahc-store-hero__glyph {
    font-size: clamp(120px, 26vw, 280px);
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.16);
    user-select: none;
}

/* Legibility scrim — only over real imagery. */
.atvahc-store-hero.has-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.28) 45%, rgba(0, 0, 0, 0.78) 100%);
}

.atvahc-store-hero__inner {
    position: relative;
    padding: clamp(24px, 4vw, 48px);
    color: #fff;
    max-width: 760px;
}

.atvahc-store-hero__eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    opacity: 0;
    animation: atvahc-rise 0.6s ease forwards 0.1s;
}

.atvahc-store-hero__eyebrow::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 2px;
    margin-right: 12px;
    vertical-align: middle;
    background: var(--atvahc-store-accent);
}

.atvahc-store-hero__title {
    margin: 0;
    font-size: clamp(38px, 7vw, 76px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    animation: atvahc-rise 0.7s ease forwards 0.18s;
}

/* ---- Body: details + map --------------------------------------------- */

.atvahc-store-body {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(20px, 3vw, 40px);
    margin-top: clamp(-56px, -5vw, -36px);
    padding: 0 clamp(8px, 2vw, 28px);
    position: relative;
    z-index: 2;
    align-items: start;
}

.atvahc-store-info {
    background: var(--base-3, #fff);
    border: 1px solid var(--atvahc-store-line);
    border-radius: var(--atvahc-store-radius);
    padding: clamp(22px, 3vw, 34px);
    box-shadow: 0 18px 50px -30px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    gap: 22px;
    opacity: 0;
    animation: atvahc-rise 0.7s ease forwards 0.36s;
}

.atvahc-store-info__row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--atvahc-store-line);
}

.atvahc-store-info__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--atvahc-store-muted);
}

.atvahc-store-info__value {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

/* Working hours */
.atvahc-store-hours {
    margin: 2px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.atvahc-store-hours__line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
}

.atvahc-store-hours dt {
    font-weight: 600;
    color: var(--atvahc-store-ink);
}

.atvahc-store-hours dd {
    margin: 0;
    font-variant-numeric: tabular-nums;
    color: var(--atvahc-store-ink);
    white-space: nowrap;
}

.atvahc-store-hours__line:only-child dd {
    font-size: 18px;
    font-weight: 600;
}

/* Call CTA */
.atvahc-store-call {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 10px;
    background: var(--atvahc-store-accent);
    color: #fff;
    text-decoration: none;
    transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.atvahc-store-call:hover,
.atvahc-store-call:focus {
    color: #fff;
    background: var(--atvahc-store-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -14px var(--atvahc-store-accent);
}

.atvahc-store-call .atvahc-icon {
    font-size: 22px;
}

.atvahc-store-call__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.atvahc-store-call__lead {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.85;
}

.atvahc-store-call__num {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

/* Secondary "directions" link */
.atvahc-store-directions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--atvahc-store-accent);
    text-decoration: none;
}

.atvahc-store-directions .atvahc-icon {
    font-size: 18px;
    transition: transform 160ms ease;
}

.atvahc-store-directions:hover .atvahc-icon,
.atvahc-store-directions:focus .atvahc-icon {
    transform: translateX(4px);
}

/* Map */
.atvahc-store-map {
    margin: 0;
    border-radius: var(--atvahc-store-radius);
    overflow: hidden;
    border: 1px solid var(--atvahc-store-line);
    box-shadow: 0 18px 50px -30px rgba(0, 0, 0, 0.45);
    background: var(--base-2, #f1f1f1);
    opacity: 0;
    animation: atvahc-rise 0.7s ease forwards 0.46s;
}

.atvahc-store-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    filter: saturate(0.92);
}

/* ---- Editor content -------------------------------------------------- */

.atvahc-store-content {
    max-width: 760px;
    margin: clamp(32px, 5vw, 56px) auto 0;
    padding: 0 clamp(8px, 2vw, 28px);
    font-size: 17px;
    line-height: 1.7;
    color: var(--atvahc-store-ink);
}

.atvahc-store-content > :first-child {
    margin-top: 0;
}

.atvahc-store-content img {
    max-width: 100%;
    height: auto;
}

.atvahc-store-content figure {
    margin: 1.4em 0;
}

.atvahc-store-content figure img {
    border-radius: var(--atvahc-store-radius);
    display: block;
}

.atvahc-store-content figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: var(--atvahc-store-muted);
    text-align: center;
}

/* ---- Responsive ------------------------------------------------------ */

@media (max-width: 880px) {
    .atvahc-store-body {
        grid-template-columns: 1fr;
        margin-top: clamp(-40px, -6vw, -28px);
    }
    .atvahc-store-map iframe {
        min-height: 300px;
    }
}

/* ---- Motion safety --------------------------------------------------- */

@keyframes atvahc-rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes atvahc-hero-zoom {
    from { transform: scale(1.1); }
    to   { transform: scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
    .atvahc-store-single *,
    .atvahc-store-single *::before,
    .atvahc-store-single *::after {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
