/*
 * about-v2.css
 * /about/ (About the Facility). Builds on core.css tokens; "ab-" prefix keeps it page local.
 */

:root {
    --ab-navy: #0c2d48;          /* same navy as the scrolled header and the /now page */
    --ab-turf: #2e8b3a;
}

/* ---------- hero: the photo only, crisp, no fade; full bleed behind the fixed header ---------- */
.ab-hero {
    margin-top: calc(-1 * var(--sh-header-height));
    height: 72vh;
    min-height: 440px;
    max-height: 820px;
    background-color: var(--ab-navy);
    background-size: cover;
    background-position: center 45%;
}

/* title block at the top of the navy band */
.ab-intro {
    padding-top: var(--c-space-5);
    color: #fff;
}
.ab-hero__eyebrow {
    margin: 0 0 var(--c-space-1);
    font-family: "cubano", sans-serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-color-accent);
}
.ab-hero__title {
    margin: 0;
    font-family: var(--c-font-family-heading);
    font-weight: 400;
    font-size: clamp(48px, 8vw, 88px);
    line-height: 0.95;
    text-transform: uppercase;
}
.ab-hero__lead {
    max-width: 620px;
    margin: var(--c-space-2) 0 0;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
}

/* ---------- quick facts ---------- */
.ab-facts {
    background: var(--ab-navy);
    color: #fff;
}
.ab-facts__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--c-space-3);
    margin-top: var(--c-space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: var(--c-space-4);
    padding-bottom: var(--c-space-4);
    text-align: center;
}
.ab-fact strong {
    display: block;
    font-family: var(--c-font-family-heading);
    font-weight: 400;
    font-size: 40px;
    line-height: 1;
    color: #fff;
}
.ab-fact span {
    display: block;
    margin-top: var(--c-space-1);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.75);
}
.ab-fact--new strong { color: var(--c-color-accent); }

/* ---------- jump links ---------- */
/* core.css sets overflow-x: hidden on html and body, which turns body into a scroll box and
   stops position: sticky. clip hides sideways overflow the same way without that side effect. */
html, body { overflow-x: clip; overflow-y: visible; }

.ab-jump {
    position: sticky;
    top: calc(var(--sh-header-height-scrolled) + 4px); /* + the bar's 4px bottom border */
    z-index: 5;
    background: #fff;
    border-bottom: 1px solid var(--c-color-border);
}
.ab-jump__inner {
    display: flex;
    gap: var(--c-space-1);
    overflow-x: auto;
    padding-top: var(--c-space-2);
    padding-bottom: var(--c-space-2);
    scrollbar-width: none;
}
.ab-jump a {
    flex: none;
    padding: 6px 14px;
    border-radius: 999px;
    font-family: "cubano", sans-serif;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ab-navy);
    background: var(--c-color-bg-alt);
}
.ab-jump a:hover,
.ab-jump a:focus-visible {
    background: var(--ab-navy);
    color: #fff;
}

/* ---------- sections ---------- */
.ab-section {
    padding: 64px 0;
    background: #fff;
    scroll-margin-top: calc(var(--sh-header-height-scrolled) + 48px);
}
.ab-section--alt { background: var(--c-color-bg-alt); }
.ab-section--turf { background: linear-gradient(180deg, #f1f8f1 0%, #fff 100%); }

.ab-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: center;
    margin-bottom: var(--c-space-4);
}
.ab-split--reverse .ab-split__text { order: 2; }
.ab-split--reverse .ab-split__media { order: 1; }

.ab-tag {
    display: inline-block;
    margin: 0 0 var(--c-space-2);
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--c-color-primary);
    color: #fff;
    font-family: "cubano", sans-serif;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.ab-section--turf .ab-tag { background: var(--ab-turf); }

.ab-title {
    margin: 0 0 var(--c-space-3);
    font-family: var(--c-font-family-heading);
    font-weight: 400;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1;
    text-transform: uppercase;
    color: var(--ab-navy);
}
.ab-lead {
    font-size: 16px;
    margin: 0 0 var(--c-space-3);
}
.ab-list {
    margin: 0 0 var(--c-space-4);
    padding: 0;
    list-style: none;
}
.ab-list li {
    position: relative;
    padding: 6px 0 6px 26px;
    border-bottom: 1px solid var(--c-color-border);
}
.ab-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 13px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c-color-accent);
}
.ab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--c-space-2);
}
.ab-btn--ghost {
    background: transparent;
    color: var(--ab-navy);
    box-shadow: inset 0 0 0 2px var(--ab-navy);
}
.ab-btn--ghost:hover,
.ab-btn--ghost:focus-visible {
    background: var(--ab-navy);
    color: #fff;
}

/* ---------- media ---------- */
.ab-video,
.ab-map {
    margin: 0;
}
.ab-video video,
.ab-feature-img,
.ab-map img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    background: #000;
    box-shadow: 0 8px 24px rgba(12, 45, 72, 0.18);
}
.ab-map img { aspect-ratio: auto; background: none; }
.ab-video figcaption,
.ab-map figcaption {
    margin-top: var(--c-space-2);
    font-size: 12px;
    color: var(--c-color-text-muted);
}

.ab-gallery {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    margin-bottom: 0;
}
.ab-gallery .c-gallery__item img { height: 170px; }

/* placeholders: only rendered off the live site (see _inc/about-media-v2.cfm) */
.ab-ph {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 170px;
    padding: var(--c-space-3);
    border: 2px dashed #b9c6d2;
    border-radius: var(--c-radius);
    background: repeating-linear-gradient(135deg, #f7f9fb 0 12px, #eef2f6 12px 24px);
    color: var(--ab-navy);
    text-align: center;
}
.ab-ph__kind {
    font-family: "cubano", sans-serif;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c0392b;
}
.ab-ph strong { font-weight: 600; font-size: 13px; }
.ab-ph small { font-size: 11px; color: var(--c-color-text-muted); word-break: break-word; }
.ab-ph--video { min-height: 140px; margin-bottom: var(--c-space-3); }
.ab-split__media .ab-ph--video { aspect-ratio: 16 / 9; min-height: 0; }
.ab-ph--note { min-height: 0; margin-top: var(--c-space-3); }

/* ---------- vision ---------- */
.ab-vision {
    padding: 64px 0;
    background: var(--ab-navy);
    color: #fff;
}
.ab-vision__quote {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}
.ab-vision__quote p {
    margin: 0 0 var(--c-space-3);
    font-size: 18px;
    line-height: 1.6;
}
.ab-vision__quote cite {
    font-family: "cubano", sans-serif;
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-color-accent);
}

/* ---------- visit ---------- */
.ab-visit__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.ab-address {
    font-size: 18px;
    font-weight: 600;
}
.ab-visit a:not(.c-btn):not(.ab-link-card) { color: var(--c-color-primary); }
.ab-visit__links {
    display: grid;
    gap: var(--c-space-3);
}
.ab-link-card {
    display: block;
    padding: var(--c-space-3) var(--c-space-4);
    border-radius: 8px;
    border-left: 4px solid var(--c-color-accent);
    background: var(--c-color-bg-alt);
    color: var(--ab-navy);
    text-decoration: none;
    transition: background var(--c-transition);
}
.ab-link-card strong {
    display: block;
    font-family: var(--c-font-family-heading);
    font-weight: 400;
    font-size: 24px;
    text-transform: uppercase;
}
.ab-link-card span { font-size: 13px; color: var(--c-color-text-muted); }
.ab-link-card:hover,
.ab-link-card:focus-visible { background: #e3ebf2; }

/* ---------- smaller screens ---------- */
@media (max-width: 991px) {
    .ab-facts__grid { grid-template-columns: repeat(3, 1fr); }
    .ab-split,
    .ab-visit__grid { grid-template-columns: 1fr; gap: var(--c-space-4); }
    .ab-split--reverse .ab-split__text,
    .ab-split--reverse .ab-split__media { order: 0; }
}
@media (max-width: 575px) {
    .ab-hero { min-height: 300px; height: 48vh; }
    .ab-facts__grid { grid-template-columns: repeat(2, 1fr); }
    .ab-fact strong { font-size: 32px; }
    .ab-section { padding: 40px 0; }
    .ab-gallery { grid-template-columns: repeat(2, 1fr); gap: var(--c-space-2); }
    .ab-gallery .c-gallery__item img,
    .ab-ph { height: 120px; min-height: 120px; }
    .ab-ph--video { height: auto; }
}
