/* Graham Village — shared site styles.
   Palette comes from the original brand art: teal #007360 (logo),
   mint #ebf6f4 (page background), sky blue #3399cc (headings). */

:root {
    --teal: #007360;
    --teal-dark: #00564a;
    --teal-deep: #003d34;
    --mint: #ecf6f3;
    --mint-strong: #d8ece7;
    --sky: #2f8fbd;
    --ink: #223330;
    --ink-soft: #52655f;
    --paper: #ffffff;
    --line: #d9e6e2;
    --radius: 12px;
    --shadow: 0 1px 2px rgba(0, 61, 52, .06), 0 8px 24px rgba(0, 61, 52, .08);
    --serif: Georgia, "Times New Roman", serif;
    --sans: "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--mint);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

/* ---------- Header / nav ---------- */

.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header__inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 28px;
}

.brand {
    text-decoration: none;
    color: var(--teal);
    line-height: 1.05;
    white-space: nowrap;
}

.brand__script {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    font-size: 30px;
    letter-spacing: .5px;
}

.brand__caps {
    display: block;
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .42em;
    text-transform: uppercase;
    margin-left: 2px;
}

.brand__tagline {
    display: block;
    font-size: 12px;
    color: var(--ink-soft);
    letter-spacing: .08em;
    margin-top: 4px;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.site-nav a {
    display: block;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: var(--ink-soft);
    transition: background .15s ease, color .15s ease;
}

.site-nav a:hover { background: var(--mint); color: var(--teal-dark); }

.site-nav a.is-active { background: var(--teal); color: #fff; }

/* ---------- Layout ---------- */

.page {
    max-width: 1040px;
    margin: 0 auto;
    padding: 40px 24px 64px;
}

.panel {
    background: var(--paper);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px 44px;
}

.page-title {
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 400;
    color: var(--teal-dark);
    letter-spacing: .02em;
    margin: 0 0 6px;
}

.page-title small {
    font-family: var(--sans);
    font-size: 16px;
    letter-spacing: 0;
    margin-left: 10px;
}

.title-rule {
    width: 64px;
    height: 3px;
    background: var(--sky);
    border: 0;
    border-radius: 2px;
    margin: 0 0 26px;
}

.lead { font-size: 19px; color: var(--ink); }

/* ---------- Hero (home) ---------- */

.hero {
    display: grid;
    grid-template-columns: 1.25fr .9fr;
    gap: 44px;
    align-items: center;
    background: linear-gradient(135deg, var(--paper) 0%, var(--mint-strong) 100%);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 56px 52px;
    overflow: hidden;
}

.hero h1 {
    font-family: var(--serif);
    font-size: 46px;
    font-weight: 400;
    line-height: 1.12;
    color: var(--teal-deep);
    margin: 0 0 20px;
    letter-spacing: .01em;
}

.hero .kicker {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--sky);
    margin: 0 0 14px;
}

.hero p { margin: 0 0 16px; color: var(--ink); }

.hero__media { text-align: center; }

.hero__media img {
    /* Source photo is only 227px wide — don't upscale it into mush. */
    display: inline-block;
    width: auto;
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero__note {
    display: inline-block;
    background: var(--teal);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 6px 16px;
    border-radius: 999px;
    margin: 6px 0 22px;
}

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

.btn {
    display: inline-block;
    background: var(--teal);
    color: #fff !important;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    padding: 12px 26px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: background .15s ease, transform .1s ease;
}

.btn:hover { background: var(--teal-dark); }
.btn:active { transform: translateY(1px); }

.btn--ghost {
    background: transparent;
    color: var(--teal) !important;
    box-shadow: inset 0 0 0 2px var(--teal);
    margin-left: 10px;
}

.btn--ghost:hover { background: var(--mint); }

/* ---------- Content bits ---------- */

.checklist {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 28px;
}

.checklist li {
    position: relative;
    padding-left: 30px;
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 16px;
    height: 8px;
    border-left: 3px solid var(--teal);
    border-bottom: 3px solid var(--teal);
    transform: rotate(-45deg);
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 8px;
}

.map-card {
    display: block;
    text-decoration: none;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: box-shadow .15s ease, transform .15s ease;
}

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

.map-card img {
    border-radius: 6px;
    margin-bottom: 14px;
}

.map-card span {
    display: block;
    font-weight: 600;
    color: var(--teal-dark);
}

.map-card small { color: var(--ink-soft); }

figure.inline-photo {
    margin: 6px 0 18px;
}

figure.inline-photo img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: block;
}

figure.inline-photo.right { float: right; margin: 4px 0 18px 28px; max-width: 300px; }
figure.inline-photo.left { float: left; margin: 4px 28px 18px 0; max-width: 260px; }

figure.inline-photo figcaption {
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 8px;
    text-align: center;
}

/* ---------- Contact ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 44px;
}

.contact-card {
    background: var(--mint);
    border-radius: var(--radius);
    padding: 28px;
    align-self: start;
}

.contact-card h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 22px;
    color: var(--teal-dark);
    margin: 0 0 4px;
}

.contact-card .role { color: var(--ink-soft); font-size: 14px; margin: 0 0 16px; }

.contact-card a { font-weight: 600; word-break: break-all; }

.contact-card .phone {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--teal);
    text-decoration: none;
    margin-bottom: 4px;
}

.form-error {
    background: #fdecea;
    border: 1px solid #f2b8b5;
    color: #8c1d18;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 15px;
}

.form-legal {
    font-size: 12px;
    color: var(--ink-soft);
    margin: 14px 0 0;
}

.form-field { margin-bottom: 18px; }

.form-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 6px;
    letter-spacing: .02em;
}

.form-field input,
.form-field textarea {
    width: 100%;
    font: inherit;
    color: var(--ink);
    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: 8px;
    padding: 11px 14px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 115, 96, .15);
}

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

/* ---------- Footer ---------- */

.site-footer {
    background: var(--teal-deep);
    color: #cfe5df;
    margin-top: 8px;
}

.site-footer__inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
}

.site-footer a { color: #fff; text-decoration: none; font-weight: 600; }
.site-footer a:hover { text-decoration: underline; }

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

@media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; padding: 36px 28px; }
    .hero h1 { font-size: 36px; }
    .contact-grid { grid-template-columns: 1fr; }
    .panel { padding: 28px 24px; }
    .checklist { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
    figure.inline-photo.right,
    figure.inline-photo.left { float: none; margin: 4px 0 18px; max-width: 100%; }
}

@media (max-width: 560px) {
    /* The wrapped header is tall on phones — don't let it eat the viewport. */
    .site-header { position: static; }
    .site-header__inner { justify-content: center; text-align: center; }
    .page { padding: 24px 14px 48px; }
}
