:root {
    --bg-deep: #0f2b3b;
    --bg-mid: #1b4a5b;
    --accent: #c79d58;
    --paper: #f5f3ef;
    --text: #172026;
    --panel: #ffffff;
    --shadow: 0 18px 40px rgba(12, 28, 37, 0.18);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Source Sans 3", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 10% 10%, #f8f7f4 0%, #ece9e2 45%, #dde4e6 100%);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero {
    min-height: 76vh;
    position: relative;
    background-image: linear-gradient(120deg, rgba(10, 30, 46, 0.86), rgba(23, 68, 86, 0.68)),
        url("/static/oakhurst-ta.jpg");
    background-size: cover;
    background-position: center 38%;
    background-repeat: no-repeat;
    color: #f2f5f7;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(8, 19, 31, 0.25), rgba(8, 19, 31, 0.52));
}

.top-nav,
.hero-content {
    position: relative;
    z-index: 1;
}

.top-nav {
    max-width: 1140px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: "Merriweather", serif;
    font-size: 1.2rem;
    letter-spacing: 0.03em;
}

.callout {
    color: #fff;
    text-decoration: none;
    background: rgba(199, 157, 88, 0.9);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-weight: 700;
}

.hero-content {
    max-width: 1140px;
    margin: 5rem auto 0;
    padding: 0 1.5rem 3.5rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    opacity: 0.9;
}

h1,
h2 {
    font-family: "Merriweather", serif;
}

h1 {
    margin: 0.2rem 0 1rem;
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1.05;
}

.lede {
    max-width: 50ch;
    font-size: 1.2rem;
    line-height: 1.6;
}

.hero-facts {
    margin-top: 1.25rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-facts span {
    border: 1px solid rgba(245, 243, 239, 0.4);
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    backdrop-filter: blur(1px);
}

main {
    max-width: 1140px;
    margin: -2.2rem auto 0;
    position: relative;
    z-index: 2;
    padding: 0 1.5rem 2.2rem;
}

.section {
    margin-bottom: 1.6rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.card {
    background: var(--panel);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 1rem 1rem 1.2rem;
}

.card h2 {
    margin: 0.1rem 0 0.5rem;
    font-size: 1.25rem;
}

.details {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1rem;
}

.panel {
    background: var(--panel);
    border-radius: 16px;
    padding: 1.2rem 1.25rem;
    box-shadow: var(--shadow);
}

.streets-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.streets-list {
    margin-bottom: 0.85rem;
}

.map-block {
    margin-top: auto;
}

.map-title {
    margin: 0 0 0.45rem;
    font-size: 1rem;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 700;
}

.street-map {
    width: 100%;
    height: 245px;
    border: 1px solid #c8d7df;
    border-radius: 10px;
    display: block;
}

.map-link-wrap {
    margin: 0.45rem 0 0;
    font-size: 0.92rem;
}

.map-link-wrap a {
    color: #1d4d6d;
    font-weight: 600;
    text-decoration: none;
}

.map-link-wrap a:hover,
.map-link-wrap a:focus {
    text-decoration: underline;
}

ul {
    margin: 0;
    padding-left: 1.1rem;
    columns: 2;
}

li {
    margin-bottom: 0.55rem;
}

.phone a {
    font-size: 1.8rem;
    text-decoration: none;
    color: var(--bg-mid);
    font-weight: 700;
}

.management-logo {
    width: min(220px, 100%);
    height: auto;
    display: inline-block;
}

.social-link {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #1d4d6d, #2d6a8e);
    border-radius: 10px;
    padding: 0.55rem 0.9rem;
}

.social-link:hover,
.social-link:focus {
    background: linear-gradient(135deg, #173e58, #245a78);
}

.document-link {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    color: #173e58;
    border: 2px solid #1d4d6d;
    border-radius: 10px;
    padding: 0.55rem 0.9rem;
    background: #eef4f7;
}

.document-link:hover,
.document-link:focus {
    background: #dbe9f0;
}

footer {
    text-align: center;
    padding: 1.4rem 1rem 2rem;
    color: #2d3c47;
}

.attribution {
    font-size: 0.9rem;
    opacity: 0.86;
}

@media (max-width: 980px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .details {
        grid-template-columns: 1fr;
    }

    ul {
        columns: 1;
    }

    .top-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .callout {
        font-size: 0.95rem;
    }
}
