/* =========================================================
   Crestwood Manor Homeowners Association - site styles
   Design: Northwoods Heritage
   ========================================================= */

:root {
    --pine-900: #14271F;
    --pine-700: #1F3A2E;
    --pine-500: #2E6B4B;
    --pine-100: #E9EFEA;
    --cream:    #F6F1E7;
    --paper:    #FFFDF8;
    --sand:     #EFE7D6;
    --line:     #E2D9C6;
    --line-2:   #DCD2BD;
    --gold:     #B08D4A;
    --gold-lt:  #E3C98E;
    --gold-txt: #7A5C24;
    --ink:      #2B2F2C;
    --muted:    #4A4F4B;
    --muted-2:  #5A5F5B;
    --soft:     #CFC6B2;

    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --radius: 18px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --shadow: 0 24px 50px -24px rgba(20, 39, 31, .35);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; display: block; }
a { color: var(--pine-700); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold-txt); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--pine-900); font-weight: 400; margin: 0; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 100px 0; }
.section--tight { padding: 70px 0; }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--pine-900); color: #fff; padding: 12px 18px; z-index: 100; }
.skip-link:focus { left: 16px; top: 16px; color: #fff; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type helpers ---------- */
.eyebrow {
    display: flex; align-items: center; gap: 12px;
    color: var(--gold-txt); font-size: 12px; font-weight: 600;
    letter-spacing: .26em; text-transform: uppercase;
}
.eyebrow--center { justify-content: center; }
.eyebrow .rule { width: 36px; height: 1px; background: var(--gold); transform-origin: left; }
.eyebrow--light { color: var(--gold-lt); }
.eyebrow--light .rule { background: var(--gold-lt); }

.h-display { font-size: clamp(44px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -.025em; }
.h-display em { font-style: italic; color: var(--pine-700); }
.h-1 { font-size: clamp(36px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.02em; }
.h-2 { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.1; letter-spacing: -.02em; }
.h-3 { font-size: 24px; line-height: 1.2; font-weight: 500; }
.lead { font-size: 19px; line-height: 1.7; color: var(--muted); }
.muted { color: var(--muted-2); }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; margin-bottom: 48px; }
.section-head .h-2, .section-head .h-1 { margin-top: 14px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-head--center p { margin-top: 16px; }

.text-link { font-weight: 600; font-size: 15px; color: var(--pine-700); background: linear-gradient(currentColor, currentColor) left bottom / 100% 1.5px no-repeat; padding-bottom: 3px; transition: background-size .35s var(--ease), color .25s; }
.text-link:hover { background-size: 40% 1.5px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
    font-family: var(--sans); font-weight: 600; font-size: 15px; line-height: 1.2;
    cursor: pointer; transition: transform .3s var(--ease), background-color .3s, color .3s, box-shadow .3s, border-color .3s;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--pine-700); color: var(--cream); }
.btn-primary:hover { background: var(--pine-900); color: #fff; box-shadow: 0 14px 30px -14px rgba(20, 39, 31, .6); }
.btn-outline { border-color: var(--pine-700); color: var(--pine-700); }
.btn-outline:hover { background: var(--pine-700); color: var(--cream); }
.btn-gold { background: var(--gold-lt); color: var(--pine-900); }
.btn-gold:hover { background: #EBD6A6; color: var(--pine-900); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.btn-ghost { border: 1.5px dashed #B9AE97; color: #6A6F6B; cursor: default; }
.btn-ghost:hover { transform: none; }
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--pine-900); color: #E9E2D2; font-size: 13px; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 10px; padding-bottom: 10px; }
.topbar span { letter-spacing: .04em; }
.topbar a { color: #E9E2D2; }
.topbar a:hover { color: var(--gold-lt); }
.topbar .links { display: flex; gap: 20px; flex-wrap: wrap; }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(246, 241, 231, .92);
    -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .4s var(--ease), background-color .4s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(20, 39, 31, .35); background: rgba(246, 241, 231, .97); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 20px; transition: padding .4s var(--ease); }
.site-header.is-scrolled .header-inner { padding-top: 12px; padding-bottom: 12px; }

.brand { display: flex; align-items: center; gap: 14px; color: var(--pine-700); }
.brand:hover { color: var(--pine-700); }
.brand svg { flex: 0 0 auto; transition: transform .6s var(--ease); }
.brand:hover svg { transform: translateY(-2px) rotate(-2deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--pine-700); letter-spacing: -.01em; }
.brand-sub { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-txt); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 4px 24px; font-size: 15px; font-weight: 500; }
.nav a { position: relative; color: var(--pine-900); padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav a.active { color: var(--pine-700); font-weight: 600; }
.nav .nav-cta { background: var(--pine-700); color: var(--cream); padding: 11px 20px; border-radius: 999px; margin-left: 6px; transition: background-color .3s, transform .3s var(--ease); }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--pine-900); color: #fff; transform: translateY(-1px); }

.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--pine-700); background: transparent; cursor: pointer; align-items: center; justify-content: center; color: var(--pine-700); }
.nav-toggle .bar { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: background-color .3s; }
.nav-toggle .bar::before, .nav-toggle .bar::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.nav-toggle .bar::before { top: -6px; }
.nav-toggle .bar::after { top: 6px; }
.nav-open .nav-toggle .bar { background: transparent; }
.nav-open .nav-toggle .bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle .bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--cream); border-bottom: 1px solid var(--line);
        padding: 8px 32px 24px; box-shadow: 0 20px 30px -20px rgba(20, 39, 31, .3);
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
    }
    .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
    .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
    .nav a::after { display: none; }
    .nav a.active { color: var(--gold-txt); }
    .nav .nav-cta { margin: 18px 0 0; text-align: center; border-bottom: 0; }
}

/* ---------- Home hero ---------- */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero .container { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 460px; min-width: 0; }
.hero-copy .h-display { margin: 22px 0 26px; }
.hero-copy .lead { max-width: 520px; margin-bottom: 36px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { flex: 1 1 440px; min-width: 0; position: relative; display: flex; justify-content: center; }
.hero-photo {
    width: 100%; max-width: 500px; aspect-ratio: 4 / 5;
    border-radius: 260px 260px 18px 18px; overflow: hidden;
    border: 10px solid var(--paper); box-shadow: 0 30px 60px -20px rgba(20, 39, 31, .35);
    background: var(--pine-700);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
    position: absolute; left: 0; bottom: 44px; max-width: 240px;
    background: var(--pine-900); color: var(--cream);
    padding: 18px 22px; border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .45);
}
.hero-badge .t { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.hero-badge .s { font-size: 13px; color: var(--soft); margin-top: 6px; line-height: 1.5; }
.hero-badge .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-lt); margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(227, 201, 142, .6); animation: pulse 2.8s ease-out infinite; }

/* ---------- Interior page hero ---------- */
.page-hero { position: relative; background: var(--pine-700); color: var(--cream); overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 120px; }
.page-hero h1 { color: #FFFDF8; font-size: clamp(44px, 6vw, 72px); line-height: 1.04; margin: 18px 0 18px; }
.page-hero h1 em { font-style: italic; color: var(--gold-lt); }
.page-hero p { color: #D7DED9; font-size: 19px; max-width: 640px; margin: 0; }
.page-hero .crumbs { font-size: 13px; color: var(--soft); letter-spacing: .04em; }
.page-hero .crumbs a { color: var(--gold-lt); }
.page-hero .ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; z-index: 0; }
.page-hero .ridge path { fill: var(--cream); }
.page-hero .ridge .far { fill: rgba(246, 241, 231, .12); }

/* ---------- Stats band ---------- */
.stats { background: var(--pine-700); color: var(--cream); }
.stats .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; padding-top: 46px; padding-bottom: 46px; }
.stat { border-left: 1px solid rgba(201, 166, 92, .5); padding-left: 22px; }
.stat .num { font-family: var(--serif); font-size: 50px; line-height: 1; color: var(--gold-lt); font-variant-numeric: tabular-nums; }
.stat .lbl { font-size: 14px; margin-top: 10px; color: #D7DED9; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px 28px; display: flex; flex-direction: column; gap: 12px;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
a.card { color: var(--ink); }
a.card:hover, .card--lift:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.card .icon { width: 54px; height: 54px; border-radius: 14px; background: var(--pine-100); display: flex; align-items: center; justify-content: center; color: var(--pine-700); transition: background-color .4s, color .4s, transform .5s var(--ease); }
a.card:hover .icon { background: var(--pine-700); color: var(--gold-lt); transform: rotate(-6deg); }
.card .card-title { font-family: var(--serif); font-size: 26px; color: var(--pine-900); line-height: 1.2; }
.card .card-text { font-size: 15px; color: var(--muted-2); }
.card .card-more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--pine-700); display: inline-flex; align-items: center; gap: 8px; }
.card .card-more svg { transition: transform .35s var(--ease); }
a.card:hover .card-more svg { transform: translateX(5px); }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-txt); }
.tag--green { color: var(--pine-500); }

/* ---------- Mission split ---------- */
.split-head { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; }
.split-head .h-1 { flex: 1 1 520px; }
.split-head p { flex: 1 1 340px; font-size: 17px; color: var(--muted); margin: 0; }

/* ---------- Events ---------- */
.events-wrap { display: flex; flex-wrap: wrap; gap: 48px; }
.events-main { flex: 1.3 1 520px; min-width: 0; }
.event { display: flex; gap: 26px; padding: 26px 0; border-top: 1px solid var(--line-2); }
.event:last-child { border-bottom: 1px solid var(--line-2); }
.date-tile { flex: 0 0 96px; align-self: flex-start; text-align: center; border-radius: 14px; padding: 14px 6px; background: var(--pine-100); color: var(--pine-700); transition: transform .45s var(--ease); }
.event:hover .date-tile { transform: translateY(-3px) rotate(-2deg); }
.date-tile .m { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.date-tile .d { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.date-tile--dark { background: var(--pine-700); color: var(--cream); }
.date-tile--dark .m { color: var(--gold-lt); }
.event h3 { font-size: 24px; font-weight: 500; margin-bottom: 6px; }
.event .when { font-size: 14px; color: var(--gold-txt); font-weight: 600; margin-bottom: 8px; }
.event p { color: var(--muted); }
.event .status { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); background: var(--sand); padding: 4px 10px; border-radius: 999px; }

.meet-card {
    flex: 1 1 360px; min-width: 0; align-self: flex-start;
    background: var(--pine-900); color: #E9E2D2; border-radius: 24px; padding: 44px 38px;
    display: flex; flex-direction: column; gap: 22px; position: relative; overflow: hidden;
}
.meet-card::before { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(227, 201, 142, .18); }
.meet-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(227, 201, 142, .12); }
.meet-card h2, .meet-card h3 { color: #FFFDF8; }
.meet-card h2 { font-size: 36px; line-height: 1.1; }
.meet-card p { color: var(--soft); }
.meet-card strong { color: var(--gold-lt); font-weight: 600; }
.meet-loc { border-top: 1px solid rgba(233, 226, 210, .18); padding-top: 20px; }
.meet-loc .n { font-family: var(--serif); font-size: 20px; color: #FFFDF8; }
.meet-loc .a { font-size: 14px; color: var(--soft); }
.meet-loc a { color: var(--gold-lt); font-size: 13px; font-weight: 600; }
.meet-loc a:hover { color: #fff; }
.clock-icon .hand { transform-origin: 12px 12px; animation: tick 12s linear infinite; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: minmax(0, 1fr); } }
.news-card { background: var(--paper); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.news-card h3 { font-size: 24px; line-height: 1.2; font-weight: 500; }
.news-card p { font-size: 15px; color: var(--muted-2); margin: 0; }
.news-card .card-more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--pine-700); display: inline-flex; align-items: center; gap: 8px; }
.news-card .card-more svg { transition: transform .35s var(--ease); }
.news-card:hover .card-more svg { transform: translateX(5px); }
.news-card--feature { grid-column: 1 / -1; min-height: 300px; background: var(--pine-700); color: #E9E2D2; padding: 40px; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; }
.news-card--feature:hover { color: #E9E2D2; }
.news-card--feature h3 { color: #FFFDF8; font-size: clamp(28px, 3vw, 38px); line-height: 1.12; font-weight: 400; margin-bottom: 14px; }
.news-card--feature p { color: var(--soft); font-size: 17px; max-width: 620px; }
.news-card--feature h3 { max-width: 760px; }
.news-card--feature .card-more { color: var(--gold-lt); }
.news-card--feature .pine { position: absolute; right: -20px; bottom: -30px; width: 220px; opacity: .08; color: #fff; transition: transform 1.2s var(--ease), opacity .6s; }
.news-card--feature:hover .pine { transform: translateY(-8px) scale(1.04); opacity: .12; }
.pill { align-self: flex-start; background: var(--gold-lt); color: var(--pine-900); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }

/* ---------- Board ---------- */
.board-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.board-grid > .member { flex: 0 1 calc(25% - 14px); }
@media (max-width: 900px) { .board-grid > .member { flex-basis: calc(33.333% - 12px); } }
@media (max-width: 600px) { .board-grid > .member { flex-basis: calc(50% - 9px); } }
.member { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 16px 26px; text-align: center; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.member .mono { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; background: var(--pine-100); color: var(--pine-700); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 26px; transition: transform .6s var(--ease); }
.member:hover .mono { transform: scale(1.06); }
.member--new .mono { background: var(--pine-700); color: var(--gold-lt); }
.member .name { font-family: var(--serif); font-size: 20px; color: var(--pine-900); line-height: 1.25; }
.member .role { font-size: 13px; color: #626763; margin-top: 2px; }
.badge-new { position: absolute; top: 12px; right: 12px; background: var(--gold-lt); color: var(--pine-900); font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }

/* ---------- FAQ ---------- */
.faq-split { display: flex; flex-wrap: wrap; gap: 56px; }
.faq-intro { flex: 1 1 300px; min-width: 0; }
.faq-intro .h-2 { margin: 14px 0 18px; }
.faq-intro p { color: var(--muted); margin-bottom: 26px; }
.faq-list { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; }
.faq-item { padding: 24px 0; border-top: 1px solid var(--line); }
.faq-item .no { font-family: var(--serif); font-size: 14px; color: var(--gold-txt); }
.faq-item h3 { font-size: 21px; font-weight: 500; margin: 6px 0 8px; }
.faq-item p { font-size: 15px; color: var(--muted-2); }

/* Accordion (FAQ page) */
.accordion { max-width: 860px; margin: 0 auto; }
.acc { border-top: 1px solid var(--line-2); }
.acc:last-child { border-bottom: 1px solid var(--line-2); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 22px; padding: 28px 4px; }
.acc summary::-webkit-details-marker { display: none; }
.acc .no { font-family: var(--serif); font-size: 15px; color: var(--gold-txt); flex: 0 0 28px; }
.acc .q { flex: 1 1 auto; font-family: var(--serif); font-size: clamp(21px, 2.4vw, 26px); color: var(--pine-900); line-height: 1.25; transition: color .3s; }
.acc summary:hover .q { color: var(--pine-500); }
.acc .plus { flex: 0 0 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); position: relative; transition: background-color .35s, border-color .35s, transform .45s var(--ease); }
.acc .plus::before, .acc .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--pine-700); transform: translate(-50%, -50%); transition: transform .45s var(--ease), background-color .35s; }
.acc .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] .plus { background: var(--pine-700); border-color: var(--pine-700); transform: rotate(180deg); }
.acc[open] .plus::before, .acc[open] .plus::after { background: var(--gold-lt); }
.acc[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc .a { padding: 0 70px 30px 54px; color: var(--muted); font-size: 17px; }
.acc[open] .a { animation: fadeDown .5s var(--ease); }

/* ---------- Documents ---------- */
.doc-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 10px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.doc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.doc-card .doc-icon { width: 54px; height: 70px; border-radius: 8px 18px 8px 8px; background: var(--pine-100); color: var(--pine-700); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; transition: transform .5s var(--ease); }
.doc-card:hover .doc-icon { transform: translateY(-3px) rotate(-4deg); }
.doc-card--live .doc-icon { background: var(--pine-700); color: var(--gold-lt); }
.doc-card h3 { font-size: 24px; font-weight: 500; }
.doc-card p { font-size: 15px; color: var(--muted-2); margin-bottom: 12px; }
.doc-card .meta { font-size: 13px; color: #626763; }
.doc-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Prose / content pages ---------- */
.prose { font-size: 17px; color: var(--muted); }
.prose p { margin-bottom: 1.2em; }
.prose h2 { font-size: 32px; margin: 1.4em 0 .5em; }
.prose h3 { font-size: 24px; margin: 1.2em 0 .4em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold); }

.two-col { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.two-col > .main { flex: 1.4 1 520px; min-width: 0; }
.two-col > .side { flex: 1 1 320px; min-width: 0; }

.note-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.note-box h3 { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.note-box p { font-size: 15px; color: var(--muted-2); }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 30px; }
.pillar { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; gap: 14px; align-items: center; font-family: var(--serif); font-size: 20px; color: var(--pine-900); }
.pillar .icon { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--pine-100); color: var(--pine-700); display: flex; align-items: center; justify-content: center; }

/* News article */
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 34px; font-size: 14px; color: var(--muted-2); }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.side-list { display: flex; flex-direction: column; gap: 14px; }
.side-link { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.side-link:hover { transform: translateX(4px); box-shadow: var(--shadow); color: var(--ink); }
.side-link .t { font-family: var(--serif); font-size: 19px; color: var(--pine-900); line-height: 1.25; margin-top: 4px; }

/* Map */
.map-frame { border-radius: 24px; overflow: hidden; border: 10px solid var(--paper); box-shadow: var(--shadow); background: var(--pine-100); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-900); color: var(--soft); }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding: 90px 0 56px; border-bottom: 1px solid rgba(233, 226, 210, .15); }
.footer-cta { flex: 1 1 380px; min-width: 0; }
.footer-cta h2 { color: #FFFDF8; font-size: clamp(34px, 4vw, 46px); line-height: 1.1; margin-bottom: 18px; }
.footer-cta p { margin-bottom: 28px; }
.footer-cols { flex: 1 1 440px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; }
.footer-cols .h { color: var(--gold-lt); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.footer-cols a, .footer-cols .v { color: #FFFDF8; }
.footer-cols a:hover { color: var(--gold-lt); }
.footer-cols .stack { display: flex; flex-direction: column; gap: 6px; }
.footer-cols .email { word-break: break-all; }
.footer-cols .fb { display: inline-flex; gap: 8px; align-items: center; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px 0 32px; font-size: 13px; }
.footer-bottom a { color: var(--gold-lt); }

.to-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 40;
    width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--pine-700); color: var(--gold-lt); display: flex; align-items: center; justify-content: center;
    box-shadow: 0 14px 30px -12px rgba(20, 39, 31, .6);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s .4s, background-color .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .3s; }
.to-top:hover { background: var(--pine-900); }

/* =========================================================
   Motion - subtle, only when JavaScript is running
   ========================================================= */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes settle   { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes frameIn  { from { opacity: 0; transform: translateY(30px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes drawLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pulse    { 0% { box-shadow: 0 0 0 0 rgba(227, 201, 142, .6); } 70% { box-shadow: 0 0 0 10px rgba(227, 201, 142, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 201, 142, 0); } }
@keyframes tick     { to { transform: rotate(360deg); } }
@keyframes ridgeIn  { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-fade { opacity: 0; transition: opacity 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js .reveal-fade.in { opacity: 1; }

/* Home hero entrance */
.js .hero .hero-copy > * { opacity: 0; animation: fadeUp 1.1s var(--ease) forwards; }
.js .hero .hero-copy > *:nth-child(1) { animation-delay: .10s; }
.js .hero .hero-copy > *:nth-child(2) { animation-delay: .22s; }
.js .hero .hero-copy > *:nth-child(3) { animation-delay: .38s; }
.js .hero .hero-copy > *:nth-child(4) { animation-delay: .52s; }
.js .hero .eyebrow .rule { animation: drawLine 1.2s var(--ease) .3s both; }
.js .hero-photo { opacity: 0; animation: frameIn 1.4s var(--ease) .2s forwards; }
.js .hero-photo img { animation: settle 3.2s var(--ease) .2s both; }
.js .hero-badge { opacity: 0; animation: fadeUp 1s var(--ease) 1s forwards; }

/* Interior hero entrance */
.js .page-hero .container > * { opacity: 0; animation: fadeUp 1s var(--ease) forwards; }
.js .page-hero .container > *:nth-child(1) { animation-delay: .05s; }
.js .page-hero .container > *:nth-child(2) { animation-delay: .15s; }
.js .page-hero .container > *:nth-child(3) { animation-delay: .28s; }
.js .page-hero .container > *:nth-child(4) { animation-delay: .40s; }
.js .page-hero .ridge { animation: ridgeIn 1.4s var(--ease) .2s both; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal, .js .reveal-fade, .js .hero .hero-copy > *, .js .hero-photo, .js .hero-badge, .js .page-hero .container > * { opacity: 1 !important; transform: none !important; }
}

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
    .container { padding: 0 22px; }
    .section { padding: 72px 0; }
    .topbar .place { display: none; }
    .brand-name { font-size: 22px; }
    .brand-sub { letter-spacing: .16em; }
    .hero { padding: 44px 0 70px; }
    .hero-badge { left: 8px; bottom: 20px; }
    .event { gap: 18px; }
    .date-tile { flex-basis: 78px; }
    .date-tile .d { font-size: 24px; }
    .meet-card { padding: 34px 26px; }
    .acc .a { padding: 0 8px 26px 54px; }
    .page-hero .container { padding-top: 64px; padding-bottom: 96px; }
}
