/* ==========================================================================
   New River Fellowship — nmfellowship.com
   Warm stone base · deep river teal accent · Fraunces + Inter
   ========================================================================== */

:root {
  --stone: #F4F1EC;
  --white: #FFFFFF;
  --ink: #121A21;
  --body: #2F3A42;
  --muted: #66727B;
  --line: #E2DDD4;
  --river: #15606F;
  --river-dark: #0F4A56;
  --river-soft: #D8E8EA;
  --deep: #0C2B33;
  --deep-2: #113944;
  --sand: #D9C8AE;
  --sand-soft: #EFE6D6;

  --display: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --w: 1240px;
  --r: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow: 0 1px 2px rgba(18,26,33,0.05), 0 10px 30px rgba(18,26,33,0.08);
  --shadow-md: 0 2px 6px rgba(18,26,33,0.06), 0 24px 60px rgba(18,26,33,0.14);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--body); background: var(--stone); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 16px; } p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
address { font-style: normal; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; color: var(--ink); line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 16px; font-variation-settings: "opsz" 96, "SOFT" 40; }
h1 { font-size: clamp(2.8rem, 6.6vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.15; }
h4 { font-size: 1.2rem; line-height: 1.25; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--river); }
.dark h1 em, .dark h2 em, .hero h1 em, .page-hero h1 em, .band h2 em, .cta h2 em, .card.deep h3 em { color: var(--sand); }

.lede { font-size: 1.2rem; line-height: 1.6; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--river); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--river); }
.dark .eyebrow { color: var(--sand); } .dark .eyebrow::before { background: var(--sand); }
.hero .eyebrow, .page-hero .eyebrow { color: #fff; } .hero .eyebrow::before, .page-hero .eyebrow::before { background: var(--sand); }

.wrap { width: min(var(--w), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 740px; }
.center { text-align: center; }
.center .narrow { margin-inline: auto; }
.section { padding: 104px 0; }
.section.tight { padding: 72px 0; }
.section.white { background: var(--white); }
.section.sand { background: var(--sand-soft); }
.dark { background: var(--deep); color: rgba(255,255,255,0.78); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .lede { color: rgba(255,255,255,0.85); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; }
.section-head .lede { color: var(--muted); }
.dark .section-head .lede { color: rgba(255,255,255,0.72); }
@media (max-width: 760px) { .section { padding: 72px 0; } .section.tight { padding: 56px 0; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; border: 1.5px solid transparent; cursor: pointer; transition: all .25s var(--ease); }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:focus-visible { outline: 3px solid var(--river-soft); outline-offset: 2px; }
.btn-primary { background: var(--river); color: #fff; box-shadow: 0 10px 24px rgba(21,96,111,0.25); }
.btn-primary:hover { background: var(--river-dark); transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(18,26,33,0.35); }
.btn-outline:hover { border-color: var(--ink); background: rgba(18,26,33,0.04); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand-soft); }
.dark .btn-outline, .hero .btn-outline { color: #fff; border-color: rgba(255,255,255,0.5); }
.dark .btn-outline:hover, .hero .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--river); font-size: 0.95rem; }
.link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.dark .link { color: var(--sand); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 18px 0; transition: padding .3s var(--ease), background .3s var(--ease), box-shadow .3s; }
.site-header.solid, .site-header.open { background: rgba(244,241,236,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 10px 0; box-shadow: 0 1px 0 var(--line); }
.nav-wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: #fff; transition: color .3s; }
.site-header.solid .brand, .site-header.open .brand { color: var(--ink); }
.mark { width: 42px; height: 42px; border-radius: 12px; background: var(--river); display: grid; place-items: center; flex: none; }
.mark svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand-text small { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: .8; margin-top: 5px; font-weight: 600; }
.nav { display: flex; gap: 4px; }
.nav a { font-size: 0.88rem; font-weight: 600; color: #fff; padding: 10px 14px; border-radius: 999px; transition: background .2s, color .3s; }
.nav a:hover { background: rgba(255,255,255,0.12); }
.nav a[aria-current="page"] { background: rgba(255,255,255,0.16); }
.site-header.solid .nav a { color: var(--ink); }
.site-header.solid .nav a:hover { background: rgba(18,26,33,0.06); }
.site-header.solid .nav a[aria-current="page"] { background: var(--river-soft); color: var(--river-dark); }
.nav-cta { min-height: 44px; padding: 0 20px; font-size: 0.88rem; }
.site-header.solid .nav-cta { background: var(--river); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: .3s; }
.site-header.solid .nav-toggle span, .site-header.open .nav-toggle span { background: var(--ink); }
.site-header.open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 8px 20px 24px; background: rgba(244,241,236,0.98); border-bottom: 1px solid var(--line); display: none; }
  .site-header.open .nav { display: flex; }
  .nav a, .site-header.solid .nav a { color: var(--ink); font-size: 1.1rem; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"], .site-header.solid .nav a[aria-current="page"] { background: none; color: var(--river); }
}

/* Figures */
.ph { position: relative; margin: 0; overflow: hidden; background: #22343c; border-radius: var(--r-lg); }
.ph::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; font-size: .85rem; color: rgba(255,255,255,0.5); padding: 16px; text-align: center; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph.r-4-3 { aspect-ratio: 4/3; } .ph.r-4-5 { aspect-ratio: 4/5; } .ph.r-16-9 { aspect-ratio: 16/9; } .ph.r-1-1 { aspect-ratio: 1/1; } .ph.r-3-2 { aspect-ratio: 3/2; }
.ph.flat { border-radius: 0; }

/* Hero */
.hero { position: relative; min-height: min(100svh, 960px); display: flex; flex-direction: column; justify-content: flex-end; background: var(--deep); color: #fff; overflow: hidden; isolation: isolate; }
.hero .ph { position: absolute; inset: -10% 0; border-radius: 0; }
.hero .ph img { animation: kb 18s var(--ease) both; transform-origin: 50% 40%; }
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(12,43,51,0.45) 0%, rgba(12,43,51,0.15) 35%, rgba(12,43,51,0.85) 100%); }
.hero-content { position: relative; z-index: 3; padding: 180px 0 80px; max-width: 860px; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero .lede { color: rgba(255,255,255,0.86); max-width: 600px; font-size: 1.25rem; }
.hero-content > * { opacity: 0; transform: translateY(20px); animation: rise .9s var(--ease) forwards; }
.hero-content > :nth-child(2) { animation-delay: .15s; } .hero-content > :nth-child(3) { animation-delay: .3s; } .hero-content > :nth-child(4) { animation-delay: .45s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-pad { height: 72px; }
@media (max-width: 760px) { .hero-content { padding: 140px 0 56px; } .hero-pad { height: 0; } }

/* Info strip (floats over hero bottom) */
.strip { position: relative; z-index: 4; margin-top: -72px; }
.strip-card { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-md); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.strip-item { padding: 28px 28px; border-left: 1px solid var(--line); display: grid; gap: 6px; }
.strip-item:first-child { border-left: 0; }
.strip-item small { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--river); }
.strip-item strong { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--ink); line-height: 1.2; }
.strip-item span { font-size: 0.92rem; color: var(--muted); }
@media (max-width: 960px) { .strip-card { grid-template-columns: 1fr 1fr; } .strip-item:nth-child(3) { border-left: 0; } .strip-item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .strip { margin-top: 0; padding-top: 24px; } .strip-card { grid-template-columns: 1fr; } .strip-item { border-left: 0 !important; border-top: 1px solid var(--line); } .strip-item:first-child { border-top: 0; } }

/* Page hero (inner) */
.page-hero { position: relative; padding: 200px 0 96px; background: var(--deep); color: #fff; overflow: hidden; isolation: isolate; min-height: min(70svh, 680px); display: flex; align-items: flex-end; }
.page-hero .ph { position: absolute; inset: -10% 0; border-radius: 0; }
.page-hero .hero-overlay { background: linear-gradient(180deg, rgba(12,43,51,0.55) 0%, rgba(12,43,51,0.25) 40%, rgba(12,43,51,0.9) 100%); }
.page-hero .inner { position: relative; z-index: 3; max-width: 820px; }
.page-hero h1 { color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.page-hero .lede { color: rgba(255,255,255,0.85); }
.crumbs { display: flex; gap: 10px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 20px; font-weight: 600; }
.crumbs a:hover { color: #fff; }
@media (max-width: 760px) { .page-hero { padding: 140px 0 64px; min-height: 0; } }

/* Layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.text-wide { grid-template-columns: 1.1fr 0.9fr; }
.split.start { align-items: start; }
.split > .media { width: 100%; }
@media (max-width: 880px) { .split, .split.text-wide { grid-template-columns: 1fr; gap: 40px; } .split .media.first-mobile { order: -1; } }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Tiles & cards */
.tile { display: block; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); color: inherit; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tile .ph { border-radius: 0; aspect-ratio: 4/3; }
.tile .ph img { transition: transform 1s var(--ease); }
.tile:hover .ph img { transform: scale(1.05); }
.tile-body { padding: 28px 28px 32px; }
.tile-body h3 { margin-bottom: 8px; font-size: 1.45rem; }
.tile-body p { color: var(--muted); font-size: 0.98rem; margin-bottom: 16px; }
.card { background: #fff; border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow); height: 100%; }
.card.flat { box-shadow: none; border: 1px solid var(--line); }
.card.deep { background: var(--deep-2); color: rgba(255,255,255,0.8); }
.card.deep h3, .card.deep h4 { color: #fff; }
.card h3 { margin-bottom: 10px; }
.card .num { font-family: var(--display); font-size: 2.4rem; font-weight: 500; color: var(--river); line-height: 1; margin-bottom: 16px; font-variation-settings: "opsz" 144; }
.card.deep .num { color: var(--sand); }
.card ul.list { display: grid; gap: 8px; margin: 16px 0 24px; }
.card ul.list li { position: relative; padding-left: 22px; font-size: 0.98rem; }
.card ul.list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 2px; background: var(--river); }
.card.deep ul.list li::before { background: var(--sand); }
@media (max-width: 620px) { .card { padding: 28px 24px; } .tile-body { padding: 24px; } }

/* Values chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--river-soft); color: var(--river-dark); font-weight: 600; font-size: 0.9rem; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--river); }

/* Band */
.band { position: relative; overflow: hidden; background: var(--deep); color: #fff; isolation: isolate; }
.band .ph { position: absolute; inset: -10% 0; border-radius: 0; }
.band-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(12,43,51,0.92) 0%, rgba(12,43,51,0.7) 50%, rgba(12,43,51,0.3) 100%); }
.band .inner { position: relative; z-index: 3; padding: 140px 0; max-width: 680px; }
.band h2 { color: #fff; }
.band .lede { color: rgba(255,255,255,0.85); }
.band .eyebrow { color: var(--sand); } .band .eyebrow::before { background: var(--sand); }
.band.center-text .inner { max-width: 820px; margin-inline: auto; text-align: center; }
.band.center-text .band-overlay { background: rgba(12,43,51,0.72); }
@media (max-width: 760px) { .band .inner { padding: 88px 0; } }

/* Ministry portrait tiles */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person-tile { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; display: block; color: #fff; background: var(--deep); }
.person-tile .ph { position: absolute; inset: 0; border-radius: 0; }
.person-tile .ph img { transition: transform 1s var(--ease); }
.person-tile:hover .ph img { transform: scale(1.06); }
.person-tile::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(12,43,51,0) 35%, rgba(12,43,51,0.92) 100%); }
.person-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 28px; }
.person-body h3 { color: #fff; margin-bottom: 8px; font-size: 1.7rem; }
.person-body p { color: rgba(255,255,255,0.82); font-size: 0.95rem; margin-bottom: 12px; }
.person-body .link { color: var(--sand); }
@media (max-width: 1000px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .people { grid-template-columns: 1fr; } }

/* Quote */
.quote { font-family: var(--display); font-weight: 500; font-style: italic; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.35; color: var(--ink); max-width: 860px; margin: 0 auto; font-variation-settings: "opsz" 96, "SOFT" 60; }
.dark .quote { color: #fff; }
.quote-ref { margin-top: 20px; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--river); }
.dark .quote-ref { color: var(--sand); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 4px; font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--ink); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: linear-gradient(var(--river), var(--river)) center/14px 1.5px no-repeat, linear-gradient(var(--river), var(--river)) center/1.5px 14px no-repeat; transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--river-soft); }
.faq .answer { padding: 0 4px 28px; max-width: 760px; color: var(--body); }
.dark .faq { border-color: rgba(255,255,255,0.15); } .dark .faq details { border-color: rgba(255,255,255,0.15); }
.dark .faq summary { color: #fff; } .dark .faq .answer { color: rgba(255,255,255,0.78); }
.dark .faq summary::after { border-color: rgba(255,255,255,0.3); background-image: linear-gradient(var(--sand), var(--sand)), linear-gradient(var(--sand), var(--sand)); }
@media (max-width: 620px) { .faq summary { font-size: 1.1rem; padding: 20px 0; } }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; background: #fff; border-radius: var(--r-lg); padding: 36px 32px 32px; box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--river-soft); font-weight: 600; display: block; margin-bottom: 16px; }
.step h3 { font-size: 1.4rem; }
.step ul { display: grid; gap: 6px; margin-top: 12px; font-size: 0.95rem; color: var(--muted); }
.step ul li { padding-left: 18px; position: relative; }
.step ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 2px; background: var(--river); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { background: #fff; border-radius: var(--r-lg); padding: 28px 24px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow); }
.member .avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--river-dark); background: var(--river-soft); }
.member strong { display: block; color: var(--ink); font-size: 1.05rem; line-height: 1.2; }
.member span { font-size: 0.86rem; color: var(--muted); }
.member.lead { grid-column: span 2; padding: 36px; gap: 24px; }
.member.lead .avatar { width: 84px; height: 84px; font-size: 1.6rem; background: var(--river); color: #fff; }
.member.lead strong { font-family: var(--display); font-size: 1.6rem; }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } .member.lead { grid-column: span 1; } }

/* Partner rows */
.partner { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 36px 0; border-top: 1px solid var(--line); align-items: start; }
.partner:last-child { border-bottom: 1px solid var(--line); }
.partner h3 { font-size: 1.5rem; margin: 0; }
.partner small { display: block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--river); margin-top: 8px; }
.partner p { color: var(--body); }
@media (max-width: 760px) { .partner { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; } }

/* Forms */
.form { display: grid; gap: 20px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--ink); }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: 14px 18px; font: inherit; color: var(--ink); background: var(--stone); border: 1.5px solid transparent; border-radius: var(--r); transition: border-color .2s, background .2s; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--river); background: #fff; }
.form-note { font-size: 0.88rem; color: var(--muted); }
.form-status { display: none; padding: 16px 20px; border-radius: var(--r); font-size: 0.95rem; }
.form-status.ok { display: block; background: #E6F2EA; color: #1E5A33; }
.form-status.err { display: block; background: #FBEAE7; color: #7A2E22; }

.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--river-soft); color: var(--river-dark); display: grid; place-items: center; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--river); margin-bottom: 4px; }
.contact-list a:hover { color: var(--river); }
.map { border-radius: var(--r-lg); overflow: hidden; background: var(--sand-soft); }
.map iframe { display: block; width: 100%; height: 460px; border: 0; }
.map.small iframe { height: 200px; }

/* CTA */
.cta { background: var(--river); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 65%); }
.cta .inner { position: relative; padding: 112px 0; max-width: 760px; }
.cta h2 { color: #fff; }
.cta .lede { color: rgba(255,255,255,0.88); }
.cta .eyebrow { color: var(--sand); } .cta .eyebrow::before { background: var(--sand); }
.cta .btn-light { color: var(--river-dark); }
.cta.center .inner { margin-inline: auto; }
.cta.center .actions { justify-content: center; }
@media (max-width: 760px) { .cta .inner { padding: 80px 0; } }

/* Footer */
.site-footer { background: var(--deep); color: rgba(255,255,255,0.72); padding: 88px 0 32px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer .brand { color: #fff; margin-bottom: 20px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 0.82rem; color: rgba(255,255,255,0.45); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .ph img, .hero-content > * { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--river); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 16px; }

/* cards as links */
a.card { display: block; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
a.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
a.card .link { margin-top: 8px; }
