/* ==========================================================================
   Public site: home, About, and the owners-area Local Services page.

   Added September 2026 when the public pages were modernised to match the
   owners and admin areas. Every rule here is scoped under an .rsp- class,
   so nothing in style.css (the older public stylesheet) is overridden and
   no other page changes. Mobile first: the base rules are the phone layout
   and the media queries widen it.
   ========================================================================== */

:root {
    --rsp-ink: #17232b;
    --rsp-ink-2: #3a4852;
    --rsp-muted: #5f6d77;
    --rsp-line: #dde3e8;
    --rsp-bg: #f6f4ef;
    --rsp-card: #ffffff;
    --rsp-teal: #1f6f6b;
    --rsp-teal-deep: #14524e;
    --rsp-teal-soft: #e2f1ef;
    --rsp-sand: #efe3c6;
    --rsp-sun: #f3c46b;
    --rsp-radius: 16px;
    --rsp-shadow: 0 10px 30px rgba(16, 24, 32, .08), 0 1px 3px rgba(16, 24, 32, .06);
    --rsp-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --rsp-display: "Fraunces", Georgia, "Times New Roman", serif;
}

.rsp {
    background: var(--rsp-bg);
    color: var(--rsp-ink);
    font-family: var(--rsp-sans);
    font-size: 17px;
    line-height: 1.6;
    overflow-x: hidden;
}

.rsp *, .rsp *::before, .rsp *::after { box-sizing: border-box; }
.rsp img { max-width: 100%; height: auto; display: block; }
.rsp a { color: var(--rsp-teal); }
.rsp p { margin: 0 0 1rem; }

.rsp-wrap {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 16px;
}

.rsp-section { padding: 48px 0; }
.rsp-section--tight { padding: 32px 0; }
.rsp-section--white { background: #fff; }

.rsp-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rsp-teal);
    margin-bottom: 8px;
}

/* rs-theme.css paints var(--rs-font) onto every h1-h6/p/span with a
   selector these can't outrank. Redefining --rs-font on the element itself
   makes that rule resolve to the display face instead. */
.rsp .rsp-h1, .rsp .rsp-h2, .rsp .rsp-h3 {
    --rs-font: var(--rsp-display);
    font-family: var(--rsp-display);
    color: var(--rsp-ink);
    letter-spacing: -.01em;
    line-height: 1.15;
    margin: 0 0 12px;
    font-weight: 600;
}
.rsp .rsp-h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); }
.rsp .rsp-h2 { font-size: clamp(1.65rem, 4.6vw, 2.4rem); }
.rsp .rsp-h3 { font-size: 1.25rem; }
.rsp-lede { font-size: 1.08rem; color: var(--rsp-ink-2); max-width: 46rem; }

/* ---- Buttons ----------------------------------------------------------- */

.rsp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;          /* comfortable thumb target */
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
    white-space: nowrap;
}
.rsp-btn--primary { background: var(--rsp-teal); color: #fff !important; }
.rsp-btn--primary:hover { background: var(--rsp-teal-deep); }
.rsp-btn--light { background: #fff; color: var(--rsp-ink) !important; }
.rsp-btn--light:hover { background: #f0f3f5; }
.rsp-btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff !important; background: rgba(0, 0, 0, .15); }
.rsp-btn--ghost:hover { background: rgba(0, 0, 0, .3); }
.rsp-btn--outline { border-color: var(--rsp-line); color: var(--rsp-ink) !important; background: #fff; }
.rsp-btn--outline:hover { border-color: var(--rsp-teal); color: var(--rsp-teal) !important; }
.rsp-btns { display: flex; flex-wrap: wrap; gap: 10px; }

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

.rsp-hero {
    position: relative;
    min-height: 78vh;
    min-height: 78svh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background-color: var(--rsp-teal-deep);
    background-image: var(--rsp-hero-sm);
    background-size: cover;
    background-position: center 35%;
}
.rsp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 30, 28, .05) 0%, rgba(10, 30, 28, .35) 35%, rgba(8, 26, 24, .88) 75%, rgba(8, 26, 24, .92) 100%);
}
.rsp-hero > .rsp-wrap { position: relative; padding-top: 96px; padding-bottom: 40px; }
.rsp-hero .rsp-eyebrow { color: var(--rsp-sun); }
.rsp .rsp-hero .rsp-h1 { color: #fff; max-width: 17ch; text-wrap: balance; }
.rsp-hero__sub { font-size: 1.1rem; max-width: 36rem; color: rgba(255, 255, 255, .92); margin-bottom: 22px; }
.rsp-hero--short { min-height: 46vh; min-height: 46svh; }

@media (min-width: 768px) {
    .rsp-hero { background-image: var(--rsp-hero-lg); background-position: center 45%; }
    .rsp-hero > .rsp-wrap { padding-bottom: 64px; }
}

/* ---- "Coming up" strip (the old news ticker, calmer) -------------------- */

.rsp-strip {
    background: var(--rsp-teal-deep);
    color: #fff;
    font-size: 15px;
    border-radius: 14px;
    margin-top: 16px;
}
.rsp-strip { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 12px 18px; }
.rsp-strip__label { font-weight: 700; color: var(--rsp-sun); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; align-self: center; }
.rsp-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* ---- Stat row ------------------------------------------------------------ */

.rsp-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: -36px;
    position: relative;
    z-index: 2;
}
.rsp-stat {
    background: #fff;
    border-radius: var(--rsp-radius);
    box-shadow: var(--rsp-shadow);
    padding: 16px;
    text-align: center;
}
.rsp-stat b { display: block; font-family: var(--rsp-display); font-size: 1.7rem; line-height: 1.1; color: var(--rsp-teal); }
.rsp-stat span { font-size: 14px; color: var(--rsp-muted); }
@media (min-width: 768px) { .rsp-stats { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

/* ---- Cards and grids ------------------------------------------------------ */

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

.rsp-card {
    background: var(--rsp-card);
    border: 1px solid var(--rsp-line);
    border-radius: var(--rsp-radius);
    padding: 20px;
    height: 100%;
}
.rsp-card--shadow { border-color: transparent; box-shadow: var(--rsp-shadow); }
.rsp .rsp-card .rsp-h3 { margin-bottom: 6px; }
.rsp-card p:last-child { margin-bottom: 0; }

.rsp-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rsp-teal-soft);
    color: var(--rsp-teal);
    font-size: 22px;
    margin-bottom: 12px;
}

/* Photo split: picture beside copy on wide screens, stacked on phones. */
.rsp-split { display: grid; gap: 24px; align-items: center; }
.rsp-split__img { border-radius: var(--rsp-radius); overflow: hidden; box-shadow: var(--rsp-shadow); }
.rsp-split__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 900px) {
    .rsp-split { grid-template-columns: 1.1fr 1fr; gap: 48px; }
    .rsp-split--flip .rsp-split__img { order: 2; }
}

.rsp-checks { list-style: none; padding: 0; margin: 0 0 1rem; }
.rsp-checks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.rsp-checks li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: .55em;
    width: 12px;
    height: 7px;
    border-left: 2.5px solid var(--rsp-teal);
    border-bottom: 2.5px solid var(--rsp-teal);
    transform: rotate(-45deg);
}

/* ---- Schools -------------------------------------------------------------- */

.rsp-school { display: flex; flex-direction: column; gap: 10px; }
.rsp-school__level {
    display: inline-flex;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--rsp-teal);
    background: var(--rsp-teal-soft);
    border-radius: 999px;
    padding: 4px 10px;
}
.rsp-school__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--rsp-muted); }
.rsp-school__meta i { color: var(--rsp-teal); margin-right: 4px; }
.rsp-school .rsp-checks { font-size: 15.5px; }
.rsp-school__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rsp-line); font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.rsp-note { font-size: 13.5px; color: var(--rsp-muted); }

/* ---- Distance list -------------------------------------------------------- */

.rsp-distances { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: 1fr; }
.rsp-distances li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--rsp-line); }
.rsp-distances li span:last-child { color: var(--rsp-muted); white-space: nowrap; }
@media (min-width: 768px) { .rsp-distances { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* ---- Dues / buyer panel --------------------------------------------------- */

.rsp-panel {
    background: linear-gradient(135deg, var(--rsp-teal) 0%, var(--rsp-teal-deep) 100%);
    color: #fff;
    border-radius: 20px;
    padding: 28px 22px;
}
.rsp .rsp-panel .rsp-h2, .rsp .rsp-panel .rsp-h3 { color: #fff; }
.rsp-panel .rsp-eyebrow { color: var(--rsp-sun); }
.rsp-panel a:not(.rsp-btn) { color: #fff; }
.rsp .rsp-dues { --rs-font: var(--rsp-display); font-family: var(--rsp-display); font-size: clamp(2.4rem, 8vw, 3.2rem); line-height: 1; margin: 6px 0 4px; }
@media (min-width: 768px) { .rsp-panel { padding: 40px; } }

/* ---- Quick links (home) ---------------------------------------------------- */

.rsp-quick { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .rsp-quick { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } }
.rsp-quick a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--rsp-line);
    border-radius: 14px;
    color: var(--rsp-ink);
    text-decoration: none;
    min-height: 72px;
}
.rsp-quick a:hover { border-color: var(--rsp-teal); }
.rsp-quick .rsp-icon { margin: 0; flex-shrink: 0; }
.rsp-quick b { display: block; font-size: 16px; }
.rsp-quick small { color: var(--rsp-muted); font-size: 13.5px; line-height: 1.35; display: block; }

/* ---- Notices kept from the old page (tenant / message) ------------------- */

.rsp-notice { padding-top: 16px; }

/* ---- Local Services (owners area) ---------------------------------------- */

.rsp-svc-nav { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; -webkit-overflow-scrolling: touch; }
.rsp-svc-nav a {
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--rsp-line);
    background: #fff;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--rsp-ink-2);
    text-decoration: none;
}
.rsp-svc-nav a:hover { border-color: var(--rsp-teal); color: var(--rsp-teal); }
.rsp-svc-group { scroll-margin-top: 80px; margin-bottom: 32px; }
.rsp-svc { display: flex; flex-direction: column; gap: 6px; }
.rsp-svc__name { font-weight: 700; font-size: 17px; line-height: 1.3; }
.rsp-svc__what { font-size: 14.5px; color: var(--rsp-muted); }
.rsp-svc__addr { font-size: 14.5px; color: var(--rsp-ink-2); }
.rsp-svc__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.rsp-svc__actions .rsp-btn { min-height: 42px; padding: 0 16px; font-size: 15px; }

/* Home page photo crossfade, in the picture spot beside "Zoned for the
   Woodmont schools". All slides are stacked; .is-on fades in. */
.rsp-slides { position: relative; aspect-ratio: 16 / 10; background: #14524e; }
.rsp-slides .rsp-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.rsp-slides .rsp-slide.is-on { opacity: 1; }
.rsp-slides__dots {
    position: absolute;
    left: 0; right: 0; bottom: 12px;
    display: flex; justify-content: center; gap: 8px;
    z-index: 2;
}
.rsp-slides__dots button {
    width: 10px; height: 10px; padding: 0;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .55);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
    cursor: pointer;
}
.rsp-slides__dots button.is-on { background: #fff; width: 22px; border-radius: 999px; }
@media (prefers-reduced-motion: reduce) { .rsp-slides .rsp-slide { transition: none; } }
