/* ==========================================================================
   Riley P. Dog Park — redesign stylesheet
   Coastal community palette: seafoam + ocean blue + warm coral sunset accent
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------- */
:root {
  --sand: #fbf7ef;
  --sand-2: #f4ecdd;
  --cream: #ffffff;

  --ink: #153b44;
  --ink-soft: #4d6b74;

  --blue: #2e9bd6;
  --blue-deep: #1b76ae;
  --teal: #7fc9c1;
  --teal-soft: #cfeae6;
  --teal-deep: #3faaa0;

  --coral: #ff7e5f;
  --coral-deep: #ee6442;
  --sun: #ffc24a;

  --navy: #0e2f38;
  --navy-2: #0a252c;

  --line: #e7ddcb;
  --shadow-sm: 0 2px 8px rgba(14, 47, 56, .06);
  --shadow: 0 14px 40px rgba(14, 47, 56, .12);
  --shadow-lg: 0 28px 60px rgba(14, 47, 56, .18);

  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---- Reset / base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; color: var(--ink); letter-spacing: -0.01em; }
ul { list-style: none; padding: 0; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* ---- Layout helpers ------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--teal-deep); border-radius: 2px; }

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 1.1rem; }

.lead { font-size: 1.2rem; color: var(--ink-soft); }
.text-balance { text-wrap: balance; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--radius-pill); border: 2px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 10px 24px rgba(238, 100, 66, .32); }
.btn-coral:hover { background: var(--coral-deep); box-shadow: 0 14px 30px rgba(238, 100, 66, .40); color: #fff; }

.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(27, 118, 174, .28); }
.btn-blue:hover { background: var(--blue-deep); color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--cream); color: var(--ink); }

.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--sand); color: var(--navy); }

.btn-lg { padding: 17px 32px; font-size: 1.05rem; }

/* ---- Header -------------------------------------------------------------- */
/* Solid navy so the header stands out against the light page at all times.
   The teal bottom edge keeps it distinct when it passes over navy sections. */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--teal);
  box-shadow: 0 4px 18px rgba(14, 47, 56, .18);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: 0 8px 28px rgba(14, 47, 56, .32); }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-text b { font-family: var(--font-display); font-size: 1.12rem; color: #fff; font-weight: 600; letter-spacing: -0.01em; }
.brand .brand-text span { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-weight: 600; font-size: .98rem; color: #fff; text-decoration: none;
  padding: 9px 14px; border-radius: var(--radius-pill); transition: background .18s ease, color .18s ease;
}
.nav-links a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.nav-links a[aria-current="page"] { color: var(--sun); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.site-header :focus-visible { outline-color: var(--sun); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 12px; background: transparent;
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---------------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 60% at 85% 0%, rgba(127, 201, 193, .35), transparent 70%),
    radial-gradient(50% 50% at 0% 90%, rgba(255, 194, 74, .20), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); line-height: 1.02; }
.hero h1 .accent { color: var(--blue-deep); position: relative; white-space: nowrap; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em;
  background: var(--sun); border-radius: 6px; z-index: -1; opacity: .85;
}
.hero p.lead { margin-top: 22px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-media { position: relative; }
.hero-media .frame {
  border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 8px solid #fff; aspect-ratio: 4 / 4.4;
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; background: #fff; border-radius: 20px; box-shadow: var(--shadow);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.hero-badge .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.hero-badge b { font-family: var(--font-display); font-size: 1.15rem; display: block; line-height: 1; }
.hero-badge span { font-size: .8rem; color: var(--ink-soft); }
.hero-badge.one { left: -22px; top: 36px; }
.hero-badge.two { right: -18px; bottom: 44px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: clamp(40px, 6vw, 68px);
  border-top: 1px solid var(--line); padding-top: 34px;
}
.hero-stats .stat b { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--ink); display: block; line-height: 1; }
.hero-stats .stat span { color: var(--ink-soft); font-size: .95rem; margin-top: 6px; display: block; }

/* ---- Welcome strip ------------------------------------------------------- */
.welcome { background: var(--cream); }
.welcome-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.welcome-grid .photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5/4; }
.welcome-grid .photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Amenities ----------------------------------------------------------- */
.amenities { background: var(--navy); color: #eaf4f3; position: relative; }
.amenities .eyebrow { color: var(--teal); }
.amenities .eyebrow::before { background: var(--teal); }
.amenities h2, .amenities h3 { color: #fff; }
.amenities .section-head p { color: #b7d2d0; }
.amenity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.amenity {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius); padding: 30px 26px; transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.amenity:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); border-color: rgba(127,201,193,.5); }
.amenity .ic {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--blue), var(--teal-deep)); color: #fff; margin-bottom: 20px;
}
.amenity .ic svg { width: 30px; height: 30px; }
.amenity h3 { font-size: 1.3rem; margin-bottom: 10px; }
.amenity p { color: #bcd6d4; font-size: .98rem; }

/* ---- Gallery ------------------------------------------------------------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.dog {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm); background: var(--sand-2);
}
.dog img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dog:hover img { transform: scale(1.06); }
.dog figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 14px;
  color: #fff; font-weight: 700; font-size: 1.02rem;
  background: linear-gradient(to top, rgba(14,47,56,.82), transparent);
}
.gallery-note { text-align: center; margin-top: 30px; color: var(--ink-soft); }

/* ---- News ---------------------------------------------------------------- */
.news { background: var(--cream); }
.news-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: start; }
.news-feature {
  background: linear-gradient(150deg, var(--teal-soft), #eafbf8);
  border: 1px solid var(--teal-soft); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  position: relative; overflow: hidden;
}
.news-feature .tag {
  display: inline-block; background: var(--teal-deep); color: #fff; font-weight: 700;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: var(--radius-pill);
}
.news-feature h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 18px 0 12px; }
.news-feature time { color: var(--teal-deep); font-weight: 700; font-size: .92rem; }
.news-side { display: grid; gap: 18px; }
.news-card {
  background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.news-card time { color: var(--blue-deep); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.news-card h4 { font-size: 1.2rem; margin: 8px 0 8px; }
.news-card p { color: var(--ink-soft); font-size: .97rem; }
.events-note {
  margin-top: 26px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  background: var(--sand); border: 1px dashed var(--line); border-radius: var(--radius); padding: 20px 24px;
}

/* ---- Location ------------------------------------------------------------ */
.location-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.location .map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; }
.location .map iframe { display: block; width: 100%; height: 420px; border: 0; }
.info-list { display: grid; gap: 20px; margin-top: 26px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--teal-soft); color: var(--teal-deep); display: grid; place-items: center; flex: none; }
.info-item .ic svg { width: 22px; height: 22px; }
.info-item b { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.info-item span, .info-item a { color: var(--ink-soft); }

/* ---- CTA band ------------------------------------------------------------ */
.cta-band { position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--blue-deep), var(--teal-deep));
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,194,74,.35), transparent 70%); pointer-events: none;
}
.cta-inner { display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.cta-band p { color: #e4f3f1; margin-top: 12px; font-size: 1.12rem; max-width: 620px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Page hero (interior pages) ----------------------------------------- */
.page-hero { position: relative; padding-block: clamp(56px, 8vw, 104px); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 70% at 88% 10%, rgba(127,201,193,.32), transparent 70%),
    radial-gradient(45% 60% at 5% 95%, rgba(46,155,214,.14), transparent 70%);
}
.page-hero .container { max-width: 820px; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.page-hero p { margin-top: 18px; font-size: 1.2rem; color: var(--ink-soft); }
.breadcrumb { font-size: .9rem; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumb a, .breadcrumb { color: var(--ink-soft); }

/* ---- Support / donate ---------------------------------------------------- */
.give-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.give-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.give-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.give-card .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; }
.give-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.give-card p { color: var(--ink-soft); flex: 1; }
.give-card .btn { margin-top: 20px; }

.progress-wrap { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.progress-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.progress-head b { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.progress-head span { color: var(--ink-soft); }
.bar { height: 22px; border-radius: var(--radius-pill); background: var(--sand-2); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 50%; border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--teal-deep), var(--blue)); }
.phase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.phase { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.phase h4 { font-size: 1.2rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.phase .pill { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); color: #fff; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; color: var(--ink-soft); }
.checklist li svg { width: 20px; height: 20px; color: var(--teal-deep); flex: none; margin-top: 2px; }

/* ---- Tiers --------------------------------------------------------------- */
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.tier { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 24px; display: flex; flex-direction: column; }
.tier.feature { border-color: var(--coral); box-shadow: 0 18px 40px rgba(238,100,66,.16); position: relative; }
.tier.feature .ribbon { position: absolute; top: -13px; left: 24px; background: var(--coral); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-pill); }
.tier .tier-name { font-family: var(--font-display); font-size: 1.3rem; }
.tier .tier-amt { font-size: 1.05rem; color: var(--blue-deep); font-weight: 700; margin: 6px 0 16px; }
.tier .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 14px; }
.tier ul { display: grid; gap: 10px; margin-top: 6px; }
.tier ul li { display: flex; gap: 9px; color: var(--ink-soft); font-size: .95rem; align-items: flex-start; }
.tier ul li svg { width: 18px; height: 18px; color: var(--teal-deep); flex: none; margin-top: 3px; }

/* ---- Sponsors ------------------------------------------------------------ */
.sponsor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sponsor {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  aspect-ratio: 3/2; display: grid; place-items: center; padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.sponsor:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sponsor img { max-height: 90px; width: auto; object-fit: contain; }

/* ---- Rules --------------------------------------------------------------- */
.rules-callout {
  display: flex; gap: 16px; align-items: center; background: #fff4ef; border: 1px solid #ffd9cc;
  border-radius: var(--radius); padding: 20px 24px; margin-bottom: 36px; color: var(--coral-deep); font-weight: 600;
}
.rules-callout svg { width: 28px; height: 28px; flex: none; }
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rule { display: flex; gap: 16px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.rule .num {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: #fff;
  background: linear-gradient(145deg, var(--blue), var(--teal-deep));
}
.rule p { color: var(--ink); font-size: 1rem; }

/* ---- Board --------------------------------------------------------------- */
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mission-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; }
.mission-card .num { font-family: var(--font-display); font-size: 1.1rem; color: #fff; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); margin-bottom: 16px; }
.mission-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.mission-card p { color: var(--ink-soft); }

.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.member .avatar {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: 18px; font-weight: 600;
}
.member h3 { font-size: 1.3rem; }
.member .role { color: var(--blue-deep); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; margin: 4px 0 14px; }
.member p { color: var(--ink-soft); font-size: .98rem; }

.meeting-box { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px,4vw,44px); box-shadow: var(--shadow-sm); }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy-2); color: #cfe0df; padding-block: clamp(52px, 7vw, 80px) 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.site-footer a { color: #cfe0df; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { display: grid; gap: 11px; }
.footer-brand img { height: 52px; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 16px; }
.footer-brand p { color: #9fb6b5; font-size: .96rem; max-width: 300px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer-social a:hover { background: var(--blue); }
.footer-social svg { width: 20px; height: 20px; color: #fff; }
.ein { font-size: .9rem; color: #9fb6b5; }
.footer-bottom {
  margin-top: 48px; border-top: 1px solid rgba(255,255,255,.1); padding-block: 26px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: #87a2a1; font-size: .9rem;
}

/* ---- Scroll reveal (progressive enhancement) ----------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin-inline: auto; order: -1; }
  .amenity-grid, .gallery-grid, .give-grid, .tier-grid, .sponsor-grid, .board-grid, .mission-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .welcome-grid, .location-grid, .cta-inner, .meeting-box { grid-template-columns: 1fr; }
  .location .map { order: 2; }
  .cta-inner { text-align: left; }
}

@media (max-width: 760px) {
  .nav-links, .nav .btn-coral.desktop-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
  .rules-grid, .phase-grid { grid-template-columns: 1fr; }
  .hero-badge.one { left: 8px; }
  .hero-badge.two { right: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 520px) {
  .amenity-grid, .gallery-grid, .give-grid, .tier-grid, .sponsor-grid, .board-grid, .mission-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand .brand-text { display: none; }
}

/* ---- Mobile nav drawer --------------------------------------------------- */
.mobile-nav {
  display: none; position: fixed; inset: 79px 0 0; z-index: 90;
  background: var(--sand); padding: 24px var(--gutter);
  transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 24px; width: 100%; }
body.nav-open { overflow: hidden; }
