/* ===== Arbourwood Village — demo template ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --green: #2f5d50;
    --green-deep: #234a40;
    --green-soft: #e9f1ec;
    --gold: #d69a3f;
    --gold-deep: #b97e2a;
    --terracotta: #c4693f;
    --cream: #faf6ee;
    --cream-2: #f3ece0;
    --ink: #2a2b28;
    --ink-soft: #575c54;
    --line: #e4ddcf;
    --white: #ffffff;
    --radius: 16px;
    --radius-lg: 26px;
    --shadow: 0 2px 8px rgba(42, 55, 45, 0.06), 0 12px 30px rgba(42, 55, 45, 0.08);
    --shadow-lg: 0 10px 30px rgba(42, 55, 45, 0.10), 0 30px 60px rgba(42, 55, 45, 0.10);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4, .brand-text { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.15; color: var(--green-deep); }

.skip-link {
    position: absolute; top: -100%; left: 16px; z-index: 999;
    background: var(--green); color: #fff; padding: 12px 22px;
    border-radius: 0 0 10px 10px; font-weight: 700;
}
.skip-link:focus { top: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--gold); outline-offset: 2px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 30px; border-radius: 50px; font-family: inherit;
    font-size: 1rem; font-weight: 800; border: none; cursor: pointer;
    transition: var(--transition); white-space: nowrap; letter-spacing: 0.01em;
}
.btn-sm { padding: 10px 22px; font-size: 0.95rem; }
.btn-lg { padding: 17px 38px; font-size: 1.08rem; }
.btn-full { width: 100%; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(47, 93, 80, 0.25); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(47, 93, 80, 0.32); }
.btn-ghost { background: rgba(255,255,255,0.15); color: #fff; border: 2px solid rgba(255,255,255,0.6); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.28); border-color: #fff; }
.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-cream { background: var(--cream); color: var(--green-deep); }
.btn-cream:hover { background: #fff; transform: translateY(-2px); }

/* ===== Utility bar ===== */
.utilitybar { background: var(--green-deep); color: rgba(255,255,255,0.9); font-size: 0.9rem; }
.utility-inner { display: flex; align-items: center; gap: 24px; padding: 9px 24px; }
.utility-item { display: inline-flex; align-items: center; gap: 7px; }
.utility-item svg { width: 15px; height: 15px; color: var(--gold); }
.utility-login { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.utility-login svg { width: 15px; height: 15px; }
.utility-login:hover { color: var(--gold); }

/* ===== Header / nav ===== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250, 246, 238, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 44px; height: 44px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--green); color: var(--gold); border-radius: 50%;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { font-size: 1.5rem; font-weight: 700; color: var(--green-deep); }
.brand-text em { font-style: italic; color: var(--gold-deep); font-weight: 600; }

.navmenu { display: flex; align-items: center; gap: 30px; }
.navmenu > a { font-weight: 700; color: var(--ink); transition: var(--transition); }
.navmenu > a:hover { color: var(--green); }
.navmenu .btn-primary { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 120; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--green-deep); border-radius: 3px; transition: var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-overlay { position: fixed; inset: 0; background: rgba(35, 74, 64, 0.5); opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 90; }
.nav-overlay.active { opacity: 1; pointer-events: auto; }

/* ===== Shared section bits ===== */
.eyebrow {
    display: inline-block; font-weight: 800; font-size: 0.82rem;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep);
    margin-bottom: 14px;
}
.eyebrow-light { color: var(--gold); }
.section-head { margin-bottom: 46px; max-width: 640px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2, .about-copy h2, .events-intro h2, .contact-info h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 14px; }
.section-lead { color: var(--ink-soft); font-size: 1.1rem; }

/* ===== Photo placeholders (gradient tiles) ===== */
.photo {
    position: relative; border-radius: var(--radius); overflow: hidden;
    background: linear-gradient(135deg, var(--green), var(--green-deep));
    box-shadow: var(--shadow);
    min-height: 220px;
}
.photo::after {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), transparent 45%),
                      radial-gradient(circle, rgba(255,255,255,0.06) 1.5px, transparent 1.5px);
    background-size: 100% 100%, 20px 20px;
    opacity: 0.7;
}
.photo-tag, .home-status {
    position: absolute; z-index: 2; left: 16px; bottom: 16px;
    background: rgba(250, 246, 238, 0.92); color: var(--green-deep);
    font-family: 'Nunito Sans', sans-serif; font-weight: 800; font-size: 0.85rem;
    padding: 7px 15px; border-radius: 50px;
}
.photo-a { background: linear-gradient(140deg, #3a6f5f, #234a40); }
.photo-b { background: linear-gradient(140deg, #4a86a0, #2f5d6e); }
.photo-c { background: linear-gradient(140deg, #7a9a4e, #4e6b34); }
.photo-d { background: linear-gradient(140deg, #b97e2a, #8a5a1e); }
.photo-e { background: linear-gradient(140deg, #c4693f, #97482a); }
.photo-f { background: linear-gradient(140deg, #6d7fa3, #47567a); }
.photo-g { background: linear-gradient(140deg, #3a6f5f, #2f5d50); }
.photo-h { background: linear-gradient(140deg, #8a9b6a, #5b6d3f); }
.photo-i { background: linear-gradient(140deg, #a9805a, #7a583a); }
.photo-map { background: linear-gradient(140deg, #6f8f84, #3a5a50); min-height: 200px; }

/* ===== Hero ===== */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--green-deep); }
.hero-bg { position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(900px 500px at 80% -10%, rgba(214,154,63,0.35), transparent 60%),
                linear-gradient(160deg, #356859 0%, #234a40 60%, #1d3f36 100%);
}
.hero-hills {
    position: absolute; left: 0; right: 0; bottom: 0; height: 190px;
    background:
        radial-gradient(120px 120px at 15% 100%, rgba(255,255,255,0.05) 60%, transparent 61%),
        radial-gradient(160px 150px at 45% 100%, rgba(255,255,255,0.06) 60%, transparent 61%),
        radial-gradient(140px 130px at 78% 100%, rgba(255,255,255,0.05) 60%, transparent 61%);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000);
    mask-image: linear-gradient(180deg, transparent, #000);
}
.hero-inner { position: relative; z-index: 1; padding: 92px 24px 100px; max-width: 780px; }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 700; margin-bottom: 22px; letter-spacing: -0.01em; }
.hero h1 .script { color: var(--gold); font-style: italic; font-weight: 500; }
.hero-sub { font-size: 1.25rem; color: rgba(255,255,255,0.88); margin-bottom: 34px; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 30px; }
.hero-stats strong { display: block; font-family: 'Fraunces', serif; font-size: 2.2rem; font-weight: 700; color: #fff; }
.hero-stats span { font-size: 0.92rem; color: rgba(255,255,255,0.75); }

/* ===== About ===== */
.about { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center; }
.about-photo { min-height: 440px; }
.checklist { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.checklist li { position: relative; padding-left: 38px; font-weight: 600; color: var(--ink); }
.checklist li::before {
    content: ''; position: absolute; left: 0; top: 2px; width: 24px; height: 24px;
    border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232f5d50' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center no-repeat;
}
.about-copy p { color: var(--ink-soft); margin-bottom: 16px; }

/* ===== Amenities ===== */
.amenities { padding: 100px 0; background: var(--white); }
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.amenity { padding: 34px 30px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); transition: var(--transition); }
.amenity:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.amenity-icon { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: var(--green-soft); color: var(--green); border-radius: 16px; margin-bottom: 20px; }
.amenity-icon svg { width: 30px; height: 30px; }
.amenity h3 { font-size: 1.3rem; margin-bottom: 8px; }
.amenity p { color: var(--ink-soft); font-size: 1rem; }

/* ===== Lifestyle / gallery ===== */
.lifestyle { padding: 100px 0; background: var(--green-deep); }
.lifestyle .section-head h2 { color: #fff; }
.lifestyle .section-lead { color: rgba(255,255,255,0.8); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 18px; }
.gallery .photo { min-height: 0; }
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }

/* ===== Homes ===== */
.homes { padding: 100px 0; background: var(--cream); }
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.home-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.home-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.home-photo { min-height: 210px; border-radius: 0; }
.home-status { background: var(--green); color: #fff; }
.home-status-new { background: var(--terracotta); }
.home-body { padding: 26px 28px 30px; }
.home-price { font-family: 'Fraunces', serif; font-size: 1.7rem; font-weight: 700; color: var(--gold-deep); margin-bottom: 4px; }
.home-body h3 { font-size: 1.25rem; margin-bottom: 14px; }
.home-specs { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.home-specs li { position: relative; font-weight: 700; font-size: 0.92rem; color: var(--green); padding-right: 16px; }
.home-specs li:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--line); transform: translateY(-50%); }
.home-desc { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 16px; }
.home-link { font-weight: 800; color: var(--green); }
.home-link:hover { color: var(--gold-deep); }
.homes-cta { text-align: center; margin-top: 44px; }

/* ===== Events ===== */
.events { padding: 100px 0; background: var(--white); }
.events-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.events-intro { position: sticky; top: 110px; }
.events-intro .btn { margin-top: 14px; }
.event-list { display: flex; flex-direction: column; gap: 14px; }
.event { display: flex; align-items: center; gap: 22px; padding: 20px 24px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); transition: var(--transition); }
.event:hover { box-shadow: var(--shadow); transform: translateX(4px); border-color: var(--green-soft); }
.event-date { flex-shrink: 0; width: 64px; text-align: center; background: var(--green); color: #fff; border-radius: 12px; padding: 8px 0; }
.event-mon { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; color: var(--gold); }
.event-day { display: block; font-family: 'Fraunces', serif; font-size: 1.7rem; font-weight: 700; line-height: 1; }
.event-info { flex: 1; }
.event-info h3 { font-size: 1.18rem; margin-bottom: 2px; }
.event-info p { font-size: 0.92rem; color: var(--ink-soft); }
.event-rsvp { flex-shrink: 0; font-weight: 800; color: var(--green); border: 2px solid var(--green-soft); padding: 8px 18px; border-radius: 50px; transition: var(--transition); }
.event-rsvp:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ===== News ===== */
.news { padding: 100px 0; background: var(--cream); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-photo { min-height: 180px; border-radius: 0; }
.news-body { padding: 24px 26px 28px; }
.news-meta { font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-deep); }
.news-body h3 { font-size: 1.25rem; margin: 8px 0 8px; }
.news-body p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 14px; }
.news-link { font-weight: 800; color: var(--green); }
.news-link:hover { color: var(--gold-deep); }

/* ===== Testimonial ===== */
.testimonial { padding: 90px 0; background: var(--green); color: #fff; text-align: center; }
.testimonial-inner { max-width: 800px; }
.quote-mark { width: 54px; height: 54px; color: var(--gold); margin: 0 auto 10px; }
.testimonial blockquote { font-family: 'Fraunces', serif; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 500; line-height: 1.4; color: #fff; margin-bottom: 22px; }
.testimonial-name { font-weight: 800; }
.testimonial-name span { display: block; font-weight: 600; color: rgba(255,255,255,0.7); font-size: 0.92rem; }

/* ===== CTA band ===== */
.cta-band { padding: 76px 0; background: var(--gold); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { color: var(--green-deep); font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 6px; }
.cta-inner p { color: #5a4420; font-weight: 600; }

/* ===== Contact ===== */
.contact { padding: 100px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-lead { color: var(--ink-soft); margin-bottom: 26px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.contact-details li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.contact-details svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; }
.map-placeholder { min-height: 200px; }
.tour-form { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; color: var(--green-deep); }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
    font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--white); transition: var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(47,93,80,0.15); }
.field textarea { resize: vertical; }
.form-fine { margin-top: 12px; font-size: 0.88rem; color: var(--ink-soft); text-align: center; }

/* ===== Footer ===== */
.site-footer { background: var(--green-deep); color: rgba(255,255,255,0.7); padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.brand-footer .brand-text { color: #fff; }
.brand-footer .brand-mark { background: rgba(255,255,255,0.1); }
.footer-brand p { margin-top: 16px; max-width: 320px; font-size: 0.95rem; color: rgba(255,255,255,0.6); }
.footer-col h4 { color: #fff; font-family: 'Nunito Sans', sans-serif; font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col a { display: block; margin-bottom: 10px; color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); }
.footer-bottom p { font-size: 0.86rem; color: rgba(255,255,255,0.5); }
.demo-tag a { color: var(--gold); font-weight: 700; }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-photo { min-height: 320px; order: -1; }
    .amenity-grid, .home-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .events-grid { grid-template-columns: 1fr; gap: 32px; }
    .events-intro { position: static; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .utility-hours { display: none; }
}
@media (max-width: 760px) {
    .nav-toggle { display: flex; }
    .navmenu {
        position: fixed; top: 0; right: -100%; width: 290px; height: 100vh;
        background: var(--cream); flex-direction: column; align-items: flex-start;
        padding: 92px 32px 32px; gap: 22px; z-index: 110; transition: var(--transition);
        box-shadow: -10px 0 40px rgba(35,74,64,0.15);
    }
    .navmenu.active { right: 0; }
    .navmenu > a { font-size: 1.15rem; }
    .navmenu .btn-primary { width: 100%; }
    .amenity-grid, .home-grid, .news-grid { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    .gallery-wide { grid-column: span 2; }
    .field-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-brand { grid-column: 1 / -1; }
    .hero-stats { gap: 26px; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 440px) {
    body { font-size: 17px; }
    .hero-stats li { flex: 1 0 40%; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Interior pages (news articles) ===== */
.article-hero { background: var(--green-deep); color: #fff; padding: 60px 0 54px; }
.article-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 760px; }
.crumbs { font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: rgba(255,255,255,0.9); font-weight: 700; }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current="page"] { color: rgba(255,255,255,0.7); }
.article { padding: 70px 0 90px; background: var(--cream); }
.article-container { max-width: 800px; }
.article-photo { min-height: 280px; margin-bottom: 36px; }
.article-body p { color: var(--ink); margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 26px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body h2 { font-size: 1.5rem; margin: 30px 0 12px; }
.article-body h3 { font-size: 1.2rem; margin: 24px 0 10px; }
.article-body strong { color: var(--green-deep); }

/* ===== WCAG 2.1 AA contrast refinements (platform upgrade) =====
   Same palette family, tuned so every text/background pair meets AA:
   deeper gold for text on light, brighter gold for text on green. */
:root { --gold-text: #8f5e18; --gold-pale: #f4d9a8; --gold-bright: #f2c88c; }
.eyebrow { color: var(--gold-text); }
.eyebrow-light { color: var(--gold-pale); }
.news-meta { color: var(--gold-text); }
.event-mon { color: var(--gold-bright); }
.cta-inner p { color: #46330f; }
.brand-footer .brand-text em { color: var(--gold); }
.footer-bottom p { color: rgba(255,255,255,0.68); }
.demo-tag a { color: #e7b366; }
