/* ── Reset & Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: #334155;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }
.skip-link {
    position: absolute; top: -100%; left: 1rem;
    background: #0f766e; color: #fff; padding: .5rem 1rem;
    border-radius: 0 0 .5rem .5rem; z-index: 200; font-size: .875rem;
}
.skip-link:focus { top: 0; }

/* ── Custom Properties ───────────────────────────────────────── */
:root {
    --teal-50:  #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --slate-50:  #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans:  'Inter', system-ui, sans-serif;
    --ease: cubic-bezier(.4,0,.2,1);
}

/* ── Typography ──────────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.25;
    color: var(--slate-900);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }
p  { color: var(--slate-600); }

/* ── Layout ──────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 6rem 0; }

/* ── Eyebrow & Section Headers ───────────────────────────────── */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: .75rem;
}
.section-title { margin-bottom: 1.25rem; }
.section-lead { font-size: 1.125rem; color: var(--slate-500); max-width: 640px; line-height: 1.8; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .section-lead { margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-sans); font-size: .875rem; font-weight: 500;
    letter-spacing: .04em; padding: .875rem 2rem;
    border-radius: 100px; transition: all .3s var(--ease);
}
.btn-primary {
    background: var(--teal-600); color: #fff;
    box-shadow: 0 4px 20px rgba(13,148,136,.25);
}
.btn-primary:hover { background: var(--teal-700); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(13,148,136,.3); }
.btn-ghost {
    background: transparent; color: var(--slate-700);
    border: 1px solid var(--slate-300);
}
.btn-ghost:hover { border-color: var(--teal-600); color: var(--teal-700); }
.btn-ghost-light {
    background: transparent; color: #fff;
    border: 1px solid rgba(255,255,255,.4);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .625rem; }
.logo-icon { color: var(--teal-600); flex-shrink: 0; }
.logo-text {
    font-family: var(--font-serif); font-size: 1.0625rem;
    font-weight: 500; color: var(--slate-800); letter-spacing: -0.01em;
}
.main-nav ul { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
    font-size: .8125rem; font-weight: 400; letter-spacing: .03em;
    color: var(--slate-600); transition: color .2s; position: relative;
}
.main-nav a:not(.nav-cta):hover { color: var(--teal-700); }
.main-nav a:not(.nav-cta)::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: var(--teal-600);
    transition: width .3s var(--ease);
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
    font-weight: 500 !important; color: var(--teal-700) !important;
    border: 1px solid var(--teal-600); border-radius: 100px;
    padding: .5rem 1.25rem; transition: all .3s var(--ease) !important;
}
.nav-cta:hover { background: var(--teal-600); color: #fff !important; }
.nav-cta::after { display: none !important; }

/* Mobile nav toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: .5rem; }
.hamburger, .hamburger::before, .hamburger::after {
    display: block; width: 22px; height: 1.5px; background: var(--slate-700);
    transition: all .3s var(--ease);
}
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::after  { transform: rotate(-45deg); top: 0; }

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
        background: rgba(255,255,255,.98); backdrop-filter: blur(12px);
        display: flex; align-items: center; justify-content: center;
        opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
    }
    .main-nav.open { opacity: 1; pointer-events: all; }
    .main-nav ul { flex-direction: column; gap: 2rem; text-align: center; }
    .main-nav a { font-size: 1.125rem; }
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    overflow: hidden; padding: 0;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: url('https://images.pexels.com/photos/6129585/pexels-photo-6129585.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
}
.hero-scrim {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(135deg, rgba(15,23,42,.82) 0%, rgba(17,94,89,.65) 100%);
}
.hero-content {
    position: relative; z-index: 2; padding-top: 5rem; padding-bottom: 5rem;
    max-width: 720px;
}
.hero-eyebrow {
    font-size: .75rem; font-weight: 500; letter-spacing: .14em;
    text-transform: uppercase; color: var(--teal-200); margin-bottom: 1.25rem;
}
.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    color: #ffffff; letter-spacing: -0.025em;
    margin-bottom: 1.5rem; line-height: 1.1;
}
.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    color: rgba(255,255,255,.78); line-height: 1.8;
    max-width: 560px; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    z-index: 2; display: flex; flex-direction: column; align-items: center;
    gap: .5rem; color: rgba(255,255,255,.5); font-size: .6875rem;
    letter-spacing: .12em; text-transform: uppercase;
}
.hero-scroll svg { animation: bounce 2s infinite; }
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ── About ───────────────────────────────────────────────────── */
.about { background: var(--slate-50); }
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}
.about-image img {
    width: 100%; height: 420px; object-fit: cover;
    border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.08);
}
.about-content .lead { font-size: 1.0625rem; color: var(--slate-600); line-height: 1.85; margin-bottom: 1.25rem; }
.about-stats {
    display: flex; align-items: center; gap: 0;
    margin-top: 2.5rem; padding-top: 2rem;
    border-top: 1px solid var(--slate-200);
}
.stat { flex: 1; text-align: center; }
.stat-number {
    display: block; font-family: var(--font-serif);
    font-size: 1.75rem; color: var(--teal-700);
    letter-spacing: -0.02em; margin-bottom: .375rem;
}
.stat-label { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-400); }
.stat-divider { width: 1px; height: 48px; background: var(--slate-200); }

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-image img { height: 300px; }
}

/* ── Services ────────────────────────────────────────────────── */
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
    padding: 2rem; border: 1px solid var(--slate-200);
    border-radius: 4px; transition: all .35s var(--ease);
    background: #fff;
}
.service-card:hover {
    border-color: var(--teal-200);
    box-shadow: 0 12px 40px rgba(13,148,136,.08);
    transform: translateY(-4px);
}
.service-icon {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--slate-200); border-radius: 50%;
    color: var(--teal-600); margin-bottom: 1.25rem;
    transition: all .3s var(--ease);
}
.service-card:hover .service-icon { background: var(--teal-50); border-color: var(--teal-200); }
.service-icon svg { width: 20px; height: 20px; }
.service-card h3 { font-size: 1.0625rem; margin-bottom: .625rem; font-family: var(--font-sans); font-weight: 500; color: var(--slate-800); }
.service-card p  { font-size: .9375rem; color: var(--slate-500); line-height: 1.7; }

@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ── Approach ────────────────────────────────────────────────── */
.approach { background: var(--slate-50); }
.approach-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}
.approach-content .lead { font-size: 1.0625rem; color: var(--slate-600); line-height: 1.85; margin-bottom: 2rem; }
.approach-list { display: flex; flex-direction: column; gap: 1rem; }
.approach-list li {
    display: flex; align-items: flex-start; gap: 1rem;
    font-size: .9375rem; color: var(--slate-600); line-height: 1.6;
}
.approach-list-icon {
    flex-shrink: 0; width: 22px; height: 22px;
    color: var(--teal-600); margin-top: 3px;
}
.approach-image img {
    width: 100%; height: 680px; object-fit: cover;
    border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.08);
}

@media (max-width: 900px) {
    .approach-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .approach-image img { height: 360px; }
}

/* ── Community ───────────────────────────────────────────────── */
.community-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.community-card {
    padding: 2.25rem; background: #fff;
    border: 1px solid var(--slate-200); border-radius: 4px;
    transition: all .35s var(--ease);
}
.community-card:hover { border-color: var(--teal-200); box-shadow: 0 12px 40px rgba(13,148,136,.08); }
.community-card-icon {
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    background: var(--teal-50); border-radius: 50%; color: var(--teal-700);
    margin-bottom: 1.5rem;
}
.community-card-icon svg { width: 22px; height: 22px; }
.community-card h3 { font-size: 1.0625rem; margin-bottom: .625rem; font-family: var(--font-sans); font-weight: 500; color: var(--slate-800); }
.community-card p  { font-size: .9375rem; color: var(--slate-500); line-height: 1.7; }

@media (max-width: 900px) { .community-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ── Visit / Contact ─────────────────────────────────────────── */
.visit { background: var(--slate-50); }
.visit-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 3rem; align-items: stretch;
}
.visit-info .lead { font-size: 1.0625rem; color: var(--slate-600); line-height: 1.85; margin-bottom: 2.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 2rem; }
.contact-item dt {
    display: flex; align-items: center; gap: .625rem;
    font-family: var(--font-sans); font-size: .75rem;
    font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
    color: var(--slate-400); margin-bottom: .375rem;
}
.contact-icon { width: 18px; height: 18px; color: var(--teal-600); flex-shrink: 0; }
.contact-item dd { font-size: 1rem; color: var(--slate-700); line-height: 1.7; }
.contact-item dd a { color: var(--teal-700); border-bottom: 1px solid var(--slate-200); transition: border-color .2s; }
.contact-item dd a:hover { border-color: var(--teal-600); }
.visit-map {
    border-radius: 4px; overflow: hidden; min-height: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,.08);
}

@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } .visit-map { min-height: 300px; } }

/* ── CTA ─────────────────────────────────────────────────────── */
.cta {
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--teal-900) 100%);
    padding: 5rem 0;
}
.cta-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.cta-title { color: #fff; font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
.cta-text  { color: rgba(255,255,255,.65); font-size: 1.0625rem; line-height: 1.8; margin-bottom: 2.25rem; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer { background: var(--slate-900); color: rgba(255,255,255,.5); }
.footer-inner { padding: 4rem 0 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.footer-brand .logo-text { color: #fff; }
.footer-tagline { font-size: .9375rem; color: rgba(255,255,255,.4); margin-top: .75rem; line-height: 1.7; }
.footer-col h4 {
    font-family: var(--font-sans); font-size: .75rem; font-weight: 500;
    letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35);
    margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .625rem; }
.footer-col a { font-size: .9375rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col a:hover { color: var(--teal-200); }
.footer-col li { font-size: .9375rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; }
.footer-bottom p { font-size: .8125rem; color: rgba(255,255,255,.3); }
.footer-disclaimer { max-width: 480px; text-align: right; }

@media (max-width: 640px) {
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .footer-disclaimer { text-align: center; }
}

/* ── Scroll Reveal (progressive enhancement) ─────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
    .reveal.revealed { opacity: 1; transform: translateY(0); }
    .reveal-delay-1 { transition-delay: .1s; }
    .reveal-delay-2 { transition-delay: .2s; }
    .reveal-delay-3 { transition-delay: .3s; }
}
