/* ==========================================================================
   Rising Tides Alliance — public site
   Aesthetic: warm coastal-editorial. Cream paper, harbor navy, tide teal,
   coral accent. Fraunces (display) + Hanken Grotesk (body).
   ========================================================================== */

:root {
    --paper:      #FBF7EF;
    --paper-2:    #F3ECDF;
    --ink:        #112A33;
    --ink-soft:   #3C5560;
    --navy:       #0E2A38;
    --teal:       #157067;
    --teal-deep:  #0E4F49;
    --coral:      #E2654C;
    --coral-deep: #C24E37;
    --gold:       #C7A24A;
    --line:       #E2D8C5;
    --white:      #FFFFFF;

    --shadow-sm: 0 1px 2px rgba(14, 42, 56, .06), 0 4px 16px rgba(14, 42, 56, .05);
    --shadow-md: 0 6px 24px rgba(14, 42, 56, .10), 0 2px 6px rgba(14, 42, 56, .06);
    --shadow-lg: 0 24px 60px rgba(14, 42, 56, .16);

    --radius:    14px;
    --radius-lg: 26px;
    --maxw:      1180px;

    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background-color: var(--paper);
    /* faint paper grain */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    font-size: 18px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--coral-deep); }

/* ---- Typography -------------------------------------------------------- */

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 540;
    line-height: 1.08;
    letter-spacing: -.015em;
    color: var(--navy);
    margin: 0 0 .5em;
    font-optical-sizing: auto;
}

.display {
    font-size: clamp(2.6rem, 6.2vw, 5rem);
    font-weight: 560;
    line-height: 1.02;
}
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }

.eyebrow {
    font-family: var(--sans);
    font-weight: 700;
    font-size: .76rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--teal);
    display: inline-flex;
    align-items: center;
    gap: .6em;
}
.eyebrow::before {
    content: ""; width: 26px; height: 2px; background: var(--coral); display: inline-block;
}

.lead { font-size: 1.22rem; color: var(--ink-soft); line-height: 1.6; }

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
section { padding: clamp(56px, 9vw, 120px) 0; position: relative; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }

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

.btn {
    display: inline-flex; align-items: center; gap: .55em;
    font-family: var(--sans); font-weight: 650; font-size: .98rem;
    padding: .85em 1.5em; border-radius: 100px; border: 1.5px solid transparent;
    cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    line-height: 1; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
/* coral-deep (#C24E37) gives white text ~4.7:1 contrast (WCAG AA). */
.btn-primary { background: var(--coral-deep); color: #fff; box-shadow: 0 10px 24px rgba(194,78,55,.30); }
.btn-primary:hover { background: #A33C29; color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--teal-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); background: rgba(14,42,56,.03); }

/* Visible keyboard focus for all interactive elements. */
a:focus-visible, .btn:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid var(--teal-deep); outline-offset: 2px; border-radius: 4px;
}

/* Visually-hidden (screen-reader only) + skip link. */
.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 200;
    background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 10px;
    font-weight: 650; transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

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

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251,247,239,.82);
    backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--navy); letter-spacing: -.02em; }
.brand:hover { color: var(--navy); }
.brand .mark { width: 34px; height: 34px; flex: none; display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 560; font-size: .98rem; color: var(--ink); position: relative; }
.nav-links a::after { content:""; position:absolute; left:0; right:100%; bottom:-6px; height:2px; background:var(--coral); transition: right .25s ease; }
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display:block; width:24px; height:2px; background:var(--navy); margin:5px 0; transition:.25s; }

/* ---- Hero -------------------------------------------------------------- */

.hero { position: relative; overflow: hidden; padding-top: clamp(48px, 8vw, 96px); padding-bottom: 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin-top: .35em; }
.hero .lead { max-width: 34ch; margin: 1.4rem 0 2rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { margin-top: 2.4rem; display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat .n { font-family: var(--serif); font-size: 2.1rem; color: var(--teal-deep); line-height: 1; }
.hero-stat .l { font-size: .82rem; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; margin-top: 4px; }

.hero-visual { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(1.4deg); background: var(--paper-2); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
    position: absolute; left: -22px; bottom: 36px; transform: rotate(-2deg);
    background: var(--white); border-radius: var(--radius); padding: 14px 20px; box-shadow: var(--shadow-md);
    font-family: var(--serif); color: var(--navy); max-width: 240px;
}
.hero-badge .small { font-family: var(--sans); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--coral-deep); display:block; margin-bottom:4px; }

/* tide divider */
.tide { display: block; width: 100%; height: 60px; color: var(--paper-2); margin-top: clamp(40px, 6vw, 80px); }

/* ---- Cards & sections -------------------------------------------------- */

.band { background: var(--navy); color: #EAF1F0; }
.band h2, .band h3 { color: #fff; }
.band .lead { color: #B9C9CB; }
.band-2 { background: var(--paper-2); }

.section-head { max-width: 60ch; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(21,112,103,.1); color: var(--teal-deep); margin-bottom: 16px; }
.feature h3 { margin-bottom: .3em; }
.feature p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* ---- Spotlight --------------------------------------------------------- */

.spotlight-card {
    display: grid; grid-template-columns: 230px 1fr; gap: clamp(24px, 4vw, 48px); align-items: center;
    background: var(--white); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 40px);
    border: 1px solid var(--line); box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.spotlight-card::before { content:""; position:absolute; inset:0; background: radial-gradient(120% 90% at 0% 0%, rgba(199,162,74,.10), transparent 55%); pointer-events:none; }
.spotlight-photo { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow-sm); }
.spotlight-photo img { width:100%; height:100%; object-fit: cover; }
.spotlight-card .name { font-family: var(--serif); font-size: 1.9rem; color: var(--navy); margin: .15em 0 .1em; }
.spotlight-card .prof { color: var(--teal-deep); font-weight: 650; }
.spotlight-card .bio { color: var(--ink-soft); margin: .9em 0 1.2em; }

/* ---- Events ------------------------------------------------------------ */

.event-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 28px; align-items: center; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.14); }
.band .event-row { border-color: rgba(255,255,255,.14); }
.event-date { text-align: center; font-family: var(--serif); line-height: 1; }
.event-date .mo { display:block; text-transform: uppercase; letter-spacing: .16em; font-family: var(--sans); font-weight: 700; font-size: .72rem; color: var(--coral); margin-bottom: 6px; }
.event-date .day { font-size: 2.6rem; color: #fff; }
.event-card { display:grid; grid-template-columns: 96px 1fr auto; gap: 26px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.event-info h3 { color: #fff; margin: 0 0 .25em; }
.event-info p { margin: 0; color: #AFC1C2; font-size: .95rem; }

/* ---- Directory --------------------------------------------------------- */

.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
    display: flex; flex-direction: column;
}
.member-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.member-card .photo { aspect-ratio: 4/3.4; background: var(--paper-2); overflow: hidden; }
.member-card .photo img { width:100%; height:100%; object-fit: cover; transition: transform .4s ease; }
.member-card:hover .photo img { transform: scale(1.04); }
.member-card .photo.placeholder { display:grid; place-items:center; color: var(--teal); font-family: var(--serif); font-size: 2.6rem; background: linear-gradient(135deg, var(--paper-2), #E7DDC9); }
.member-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.member-card .body .name { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); margin: 0 0 .15em; }
.member-card .body .prof { color: var(--teal-deep); font-weight: 600; font-size: .95rem; }
.member-card .body .co { color: var(--ink-soft); font-size: .9rem; margin-top: .1em; }
.member-card .body .view { margin-top: auto; padding-top: 16px; font-weight: 650; font-size: .9rem; color: var(--coral-deep); display:inline-flex; align-items:center; gap:.4em; }

.dir-search { display:flex; gap:12px; flex-wrap:wrap; margin-bottom: 32px; }
.dir-search input { flex:1; min-width: 220px; padding: .8em 1.1em; border:1.5px solid var(--line); border-radius: 100px; font: inherit; font-size: 1rem; background: var(--white); color: var(--ink); }
.dir-search input:focus { outline: none; border-color: var(--teal); }

/* ---- Charities --------------------------------------------------------- */

.charity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.charity-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
    display: flex; flex-direction: column;
}
.charity-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.charity-mono {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
    font-family: var(--serif); font-size: 1.55rem; color: #fff; margin-bottom: 18px;
    background: linear-gradient(135deg, var(--teal), var(--teal-deep));
}
.charity-card:nth-child(3n+2) .charity-mono { background: linear-gradient(135deg, var(--coral), var(--coral-deep)); }
.charity-card:nth-child(3n+3) .charity-mono { background: linear-gradient(135deg, var(--gold), #A8852F); }
.charity-card h2 { margin: 0 0 .35em; font-size: 1.25rem; font-family: var(--serif); color: var(--navy); }
.charity-card p { color: var(--ink-soft); font-size: .96rem; margin: 0 0 18px; flex: 1; }
.charity-card .link { margin-top: auto; font-weight: 650; font-size: .92rem; color: var(--coral-deep); display: inline-flex; align-items: center; gap: .4em; }
@media (max-width: 920px) { .charity-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .charity-grid { grid-template-columns: 1fr; } }

/* ---- Member profile ---------------------------------------------------- */

.profile-head { display:grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.profile-photo { border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-lg); background: var(--paper-2); aspect-ratio: 4/5; }
.profile-photo img { width:100%; height:100%; object-fit: cover; }
.profile-photo.placeholder { display:grid; place-items:center; color: var(--teal); font-family: var(--serif); font-size: 5rem; background: linear-gradient(135deg, var(--paper-2), #E7DDC9); }
.profile-name { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: .1em; }
.profile-prof { color: var(--teal-deep); font-weight: 700; font-size: 1.2rem; }
.profile-co { color: var(--ink-soft); font-size: 1.05rem; }
.profile-contact { list-style:none; padding:0; margin: 1.6rem 0 0; display:grid; gap: 10px; }
.profile-contact li { display:flex; align-items:center; gap:.7em; color: var(--ink-soft); }
.profile-contact li svg { color: var(--teal); flex:none; }
.profile-bio { margin-top: clamp(28px, 4vw, 48px); max-width: 70ch; font-size: 1.08rem; }
.profile-bio :is(h2,h3) { font-size: 1.4rem; margin-top: 1.4em; }
.profile-bio ul { padding-left: 1.2em; }
.profile-bio p { margin: 0 0 1em; }

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

.site-footer { background: var(--navy); color: #B9C9CB; padding: clamp(56px, 7vw, 88px) 0 36px; }
.footer-grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h2 { color:#fff; font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1.1em; line-height: 1.3; }
.site-footer a { color:#B9C9CB; display:block; padding: 5px 0; }
.site-footer a:hover { color:#fff; }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; color:#fff; }
.footer-logo { height: 52px; width: auto; display: block; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.85rem; color:#86999B; }
.footer-bottom a { display:inline; padding:0; }
.footer-bottom .cookie-pref { padding:0; font-size:inherit; vertical-align:baseline; color:#B9C9CB; }
.footer-bottom .cookie-pref:hover { color:#fff; }

/* ---- Page header (interior) ------------------------------------------- */

.page-hero { background: var(--band, var(--paper-2)); padding: clamp(56px, 8vw, 110px) 0 clamp(40px,5vw,64px); border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 56ch; }

/* ---- Legal pages ------------------------------------------------------- */

.legal { max-width: 820px; }
.legal .updated { color: var(--ink-soft); font-size: .9rem; margin: -.4rem 0 2.2rem; }
.legal h2 { font-size: 1.45rem; margin: 2.4rem 0 .6rem; }
.legal h3 { font-family: var(--serif); font-size: 1.12rem; font-weight: 560; color: var(--navy); margin: 1.5rem 0 .4rem; }
.legal p { margin: 0 0 1.05rem; }
.legal a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--coral-deep); }
.legal ul { list-style: none; padding: 0; margin: .4rem 0 1.2rem; }
.legal li { padding: 5px 0 5px 16px; border-left: 2px solid var(--line); margin-bottom: 6px; color: var(--ink-soft); }
.legal li strong { color: var(--ink); font-weight: 600; }
.legal .addr { font-size: .95rem; color: var(--ink-soft); padding: 4px 0 4px 16px; border-left: 3px solid var(--teal); line-height: 1.6; }

/* On-this-page table of contents */
.legal-toc { margin: 1.8rem 0 2.8rem; padding: 1.1rem 1.4rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; }
.legal-toc > p { margin: 0 0 .7rem; font-family: var(--serif); font-weight: 560; color: var(--navy); font-size: 1rem; }
.legal-toc ul { columns: 2; column-gap: 36px; list-style: none; padding: 0; margin: 0; }
.legal-toc li { border-left: 0; padding: 3px 0; margin: 0; color: inherit; break-inside: avoid; }
.legal-toc a { color: var(--teal-deep); text-decoration: none; font-size: .92rem; }
.legal-toc a:hover { color: var(--coral-deep); text-decoration: underline; }
@media (max-width: 560px) { .legal-toc ul { columns: 1; } }

/* ---- Cookie banner ----------------------------------------------------- */

.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 120; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(14,42,56,.12); padding: 18px 0; }
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-banner p { margin: 0; font-size: .9rem; color: var(--ink-soft); max-width: 680px; line-height: 1.55; }
.cookie-banner p strong { color: var(--ink); font-weight: 650; }
.cookie-banner a { color: var(--teal-deep); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-actions .btn { padding: .6em 1.3em; font-size: .9rem; }
.cookie-pref { background: none; border: 0; padding: 5px 0; color: #B9C9CB; font: inherit; cursor: pointer; text-align: left; }
.cookie-pref:hover { color: #fff; }
@media (max-width: 600px) { .cookie-actions { width: 100%; } .cookie-actions .btn { flex: 1; } }
@media (max-width: 600px) {
    .event-card { grid-template-columns: 72px 1fr; gap: 18px 20px; }
    .event-card > .btn { grid-column: 2; justify-self: start; margin-top: 2px; }
}

/* ---- Forms ------------------------------------------------------------- */

.form-card { background: var(--white); border:1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-md); max-width: 760px; }
.field { margin-bottom: 20px; }
.field label { display:block; font-weight: 650; font-size: .92rem; margin-bottom: 7px; color: var(--navy); }
.field .req { color: var(--coral-deep); }
.field input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
.field select, .field textarea {
    width:100%; padding: .8em 1em; border:1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 1rem;
    background: var(--paper); color: var(--ink); transition: border-color .2s ease;
}
.field input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):focus,
.field select:focus, .field textarea:focus { outline:none; border-color: var(--teal); background:#fff; box-shadow: 0 0 0 3px rgba(21,112,103,.22); }
.field input[type="radio"], .field input[type="checkbox"] { width:auto; margin:0 .15em 0 0; vertical-align:middle; accent-color: var(--teal); }
.field .hint { font-size: .84rem; color: var(--ink-soft); margin-top: 5px; }
.grid-2 { display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-mission { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,72px); align-items: start; }
.contact-grid { display:grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px,5vw,64px); align-items: start; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 560; }
.alert-success { background: rgba(21,112,103,.12); color: var(--teal-deep); border:1px solid rgba(21,112,103,.25); }
.alert-error { background: rgba(226,101,76,.1); color: var(--coral-deep); border:1px solid rgba(226,101,76,.3); }

/* ---- Utilities & motion ------------------------------------------------ */

.center { text-align:center; }
.mt-0 { margin-top:0; }
[data-reveal] { opacity:0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity:1; transform:none; }

@media (max-width: 920px) {
    .hero-grid, .profile-head, .spotlight-card { grid-template-columns: 1fr; }
    .feature-grid, .dir-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-visual { transform: none; max-width: 460px; }
}
@media (max-width: 960px) {
    .nav-links, .nav-cta .btn-ghost { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open { display:flex; position:absolute; top:76px; left:0; right:0; flex-direction:column; background:var(--paper); padding:18px 24px; border-bottom:1px solid var(--line); gap:14px; }
}
@media (max-width: 820px) {
    .about-mission, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    body { font-size: 17px; }
    .feature-grid, .dir-grid, .grid-2 { grid-template-columns: 1fr; }
    .event-row { grid-template-columns: 64px 1fr; }
    .event-row .btn { grid-column: 2; justify-self:start; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .nav { gap: 12px; }
    .brand { font-size: 1.12rem; gap: .5rem; }
    .brand .mark { width: 28px; height: 28px; }
    .nav-cta { gap: 8px; }
    .nav-cta .btn-primary { padding: .65em 1.05em; font-size: .9rem; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 380px) {
    .wrap { padding-left: 16px; padding-right: 16px; }
    .nav { gap: 8px; }
    .brand { font-size: 1.05rem; }
    .nav-cta { gap: 6px; }
    .nav-cta .btn-primary { padding: .6em .9em; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto; }
    [data-reveal] { opacity:1; transform:none; }
}
