/* Embraced Promise Foundation — site styles */

:root {
  --navy: #0b2a5b;
  --navy-deep: #071c3d;
  --blue: #2a6fc4;
  --sky: #5aa3e6;
  --mist: #eef5fc;
  --cream: #fbf8f3;
  --accent: #e9a23b;       /* warm sun */
  --accent-deep: #c9831f;
  --ink: #1d2433;
  --muted: #5b6577;
  --line: #dde5ef;
  --white: #ffffff;

  --edu: #2a6fc4;
  --health: #d0566b;
  --agri: #3f9b5a;
  --water: #1aa3c1;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(11, 42, 91, .25);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .6em;
  font-weight: 700;
}
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.tinted { background: var(--mist); }

.eyebrow {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .9em;
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow.light { color: var(--accent); }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head p:last-child { color: var(--muted); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  padding: .85em 1.6em;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 800;
  font-size: .98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s, background-color .2s, color .2s, box-shadow .2s;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .6em 1.2em; font-size: .9rem; }
.btn-accent { background: var(--accent); color: var(--navy-deep); box-shadow: 0 8px 20px -8px rgba(233,162,59,.7); }
.btn-accent:hover { background: #f1b154; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-light:hover { background: #fff; color: var(--navy); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11,42,91,.5); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.55rem; color: var(--navy); letter-spacing: .06em; text-transform: uppercase; }
.brand-sub { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--navy); margin-top: 2px; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem;
  position: relative; padding: 4px 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--accent); transition: right .25s;
}
.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="page"]::after { right: 0; }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--navy); }
.site-nav .btn[aria-current="page"] { box-shadow: 0 0 0 3px rgba(233,162,59,.35); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  padding: 10px; cursor: pointer; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: -2; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(7,28,61,.92) 0%, rgba(11,42,91,.78) 42%, rgba(11,42,91,.25) 100%),
    linear-gradient(0deg, rgba(7,28,61,.55), transparent 40%);
}
.hero-content { padding: 80px 0 100px; max-width: 1180px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  font-weight: 600;
  max-width: 13em;
  margin-bottom: .35em;
}
.hero h1 em { color: #cfe5fb; font-style: italic; }
.hero-tag {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  color: var(--accent); margin-bottom: 1.1em;
}
.hero-lead { max-width: 36em; font-size: 1.12rem; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

@keyframes heroZoom { to { transform: scale(1); } }

/* Promise */
.promise-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.promise-text h2 { max-width: 14em; }
.promise-text p { color: var(--muted); }
.promise-text strong { color: var(--navy); }
.promise-photo { margin: 0; position: relative; }
.promise-photo::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius);
  background: var(--mist); z-index: -1;
}
.promise-photo img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }

/* Who we are */
.who-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.who-photos { position: relative; aspect-ratio: 1 / 1.05; }
.who-photos img { position: absolute; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.ph-a { width: 68%; height: 82%; left: 0; top: 0; }
.ph-b { width: 50%; height: 60%; right: 0; bottom: 0; border: 6px solid var(--mist); }
.who-text > p { color: var(--muted); }
.who-text strong { color: var(--navy); }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.vm-card { background: #fff; border-radius: 14px; padding: 22px 22px 8px; border-top: 4px solid var(--blue); box-shadow: 0 4px 18px -12px rgba(11,42,91,.35); }
.vm-card:nth-child(2) { border-top-color: var(--accent); }
.vm-card h3 { font-size: 1.4rem; margin-bottom: .3em; }
.vm-card p { font-size: .97rem; color: var(--muted); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 22px; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.pillar::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--c); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pillar-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 13%, white); color: var(--c); margin-bottom: 20px;
}
.pillar-icon svg, .way-icon svg, .ci-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar-num { position: absolute; top: 22px; right: 24px; font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: color-mix(in srgb, var(--c) 18%, white); line-height: 1; }
.pillar h3 { margin-bottom: .35em; }
.pillar-lead { font-family: var(--serif); font-style: italic; font-size: 1.18rem; color: var(--c); line-height: 1.35; }
.pillar p:last-child { color: var(--muted); font-size: .97rem; }

/* Quote band */
.band { position: relative; padding: clamp(80px, 12vw, 140px) 0; color: #fff; overflow: hidden; isolation: isolate; text-align: center; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band-overlay { position: absolute; inset: 0; background: rgba(7,28,61,.82); z-index: -1; }
.band blockquote { margin: 0 auto; max-width: 900px; }
.band blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.3; margin: 0; }

/* Approach */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { counter-increment: step; position: relative; padding: 70px 24px 18px; border-radius: var(--radius); background: var(--cream); }
.step::before {
  content: counter(step);
  position: absolute; top: 20px; left: 24px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 1rem;
}
.step h3 { font-size: 1.5rem; }
.step p { color: var(--muted); font-size: .97rem; }

/* Values */
.value-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value {
  background: #fff; border-radius: var(--radius); padding: 30px 20px; text-align: center;
  display: flex; flex-direction: column; gap: 8px; align-items: center;
  box-shadow: 0 4px 18px -12px rgba(11,42,91,.35);
  transition: transform .3s;
}
.value:hover { transform: translateY(-4px); }
.value::before { content: ""; width: 36px; height: 36px; background: url("../img/logo-mark.png") center / contain no-repeat; margin-bottom: 6px; }
.value-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--navy); line-height: 1.15; }
.value-desc { color: var(--muted); font-size: .95rem; line-height: 1.45; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.g-item { padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--mist); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.06); }
.g-wide { grid-column: span 2; grid-row: span 2; }
.g-tall { grid-row: span 2; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(7,28,61,.94);
  display: grid; place-items: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 88vh; border-radius: 10px; }
.lb-close { position: absolute; top: 14px; right: 18px; width: 48px; height: 48px; font-size: 2.2rem; line-height: 1; color: #fff; background: transparent; border: 0; cursor: pointer; }

/* Get involved */
.involved { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; position: relative; overflow: hidden; }
.involved::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(90,163,230,.35), transparent 70%);
}
.involved h2 { color: #fff; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.way {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  padding: 34px 28px; display: flex; flex-direction: column; align-items: flex-start;
}
.way h3 { color: #fff; font-size: 2rem; margin-bottom: .25em; }
.way p { color: rgba(255,255,255,.8); flex: 1; }
.way-featured { background: rgba(255,255,255,.12); border-color: var(--accent); }
.way-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(233,162,59,.18); color: var(--accent); margin-bottom: 18px; }
.share-status { flex: 0 !important; font-size: .9rem; margin: 10px 0 0; color: var(--accent) !important; min-height: 1.4em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact-info > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 16px; font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.contact-list a { color: var(--navy); text-decoration: none; }
.contact-list a:hover { color: var(--blue); }
.ci-icon { width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--mist); color: var(--blue); display: grid; place-items: center; }
.ci-label { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; text-align: center; box-shadow: var(--shadow); }
.contact-card img { width: min(340px, 100%); margin: 0 auto 8px; }
.contact-tag { font-family: var(--serif); font-size: 1.45rem; color: var(--navy); margin-bottom: .2em; }
.contact-tag-sub { color: var(--accent-deep); font-weight: 700; letter-spacing: .04em; margin: 0; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand-footer img { background: #fff; border-radius: 12px; padding: 5px; width: 54px; }
.brand-footer .brand-name, .brand-footer .brand-sub { color: #fff; }
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 1.2rem; margin-top: 16px; color: rgba(255,255,255,.85); }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; align-content: start; }
.footer-nav a, .footer-contact a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.8); text-decoration: none; }

/* ===== Multi-page additions ===== */
.section-sm { padding: clamp(48px, 6vw, 72px) 0; }
.center { text-align: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em; margin-top: 4px;
  font-weight: 800; font-size: .95rem; color: var(--c, var(--blue)); text-decoration: none;
}
.link-arrow span { transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }
.pillar { display: flex; flex-direction: column; }
.pillar p:last-of-type { flex: 1; }

/* Inner page hero */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: clamp(90px, 13vw, 150px) 0 clamp(70px, 10vw, 110px);
}
.page-hero h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.2rem); font-weight: 600; max-width: 14em; margin-bottom: .3em; }
.page-hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 36em; color: rgba(255,255,255,.9); margin: 0; }

/* Call-to-action box */
.cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--navy) 0%, #14407f 100%);
  color: #fff; border-radius: 24px; padding: clamp(32px, 5vw, 52px);
  box-shadow: var(--shadow);
}
.cta-box h2 { color: #fff; margin-bottom: .2em; }
.cta-box p { margin: 0; color: rgba(255,255,255,.85); max-width: 34em; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Home gallery preview */
.preview-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 32px; }
.preview-strip img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 14px; }

/* About: vision & mission */
.vm-large { gap: 24px; margin-top: 0; }
.vm-large .vm-card { padding: 36px 34px 26px; }
.vm-statement { font-family: var(--serif); font-size: clamp(1.4rem, 2.3vw, 1.85rem); line-height: 1.35; color: var(--navy); }

/* Our Work */
.jump {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: -30px; position: relative; z-index: 2;
}
.jump a {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; padding: 12px 22px; border-radius: 999px;
  font-weight: 800; color: var(--navy); text-decoration: none;
  box-shadow: var(--shadow); border: 2px solid transparent; transition: border-color .2s, transform .2s;
}
.jump a:hover { border-color: var(--c); transform: translateY(-2px); }
.jump a span { color: var(--c); display: grid; }
.jump svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.features .container { display: grid; gap: clamp(56px, 8vw, 96px); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media img, .icon-panel { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.icon-panel {
  display: grid; place-items: center; color: #fff;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.28), transparent 55%),
    linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, var(--navy-deep)));
}
.icon-panel svg { width: 38%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: .95; }
.feature-num { font-family: var(--serif); font-size: 3rem; font-weight: 700; line-height: 1; color: color-mix(in srgb, var(--c) 30%, white); display: block; margin-bottom: 8px; }
.feature-text > p:not(.pillar-lead) { color: var(--muted); }
.feature-text .pillar-lead { font-size: 1.35rem; }
.list-title { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.checklist li { position: relative; padding-left: 30px; font-weight: 700; color: var(--navy); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: color-mix(in srgb, var(--c) 15%, white);
}
.checklist li::after {
  content: ""; position: absolute; left: 7px; top: calc(.3em + 4px); width: 5px; height: 9px;
  border: solid var(--c); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* Gallery page */
.gallery-note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 20px; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; font-size: 2rem; line-height: 1;
}
.lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

/* Get involved page */
.way { scroll-margin-top: calc(var(--header-h) + 24px); }
.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.gift { background: var(--cream); border-radius: var(--radius); padding: 30px 24px 18px; border-bottom: 4px solid var(--c); }
.gift h3 { font-size: 1.45rem; }
.gift p { color: var(--muted); font-size: .97rem; }

/* Contact page */
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow); display: grid; gap: 16px;
}
.contact-form h3 { margin: 0; font-size: 1.8rem; }
.form-hint { margin: -8px 0 4px; color: var(--muted); font-size: .93rem; }
.contact-form label { display: grid; gap: 6px; font-weight: 800; font-size: .9rem; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42,111,196,.15); }
.contact-form textarea { resize: vertical; }
.form-error { margin: 0; color: #b4233a; font-weight: 700; font-size: .92rem; min-height: 0; }
.form-error:empty { display: none; }
.map-section { padding-bottom: 8px; }
.map { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: var(--mist); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }
.contact .contact-grid { align-items: start; }
.contact-card { max-width: 560px; margin-inline: auto; }

/* Gallery project filters */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.filter-btn {
  font: inherit; font-weight: 800; font-size: .92rem; cursor: pointer;
  padding: .6em 1.25em; border-radius: 999px;
  border: 2px solid var(--line); background: #fff; color: var(--navy);
  transition: background-color .2s, border-color .2s, color .2s;
}
.gallery-filters[hidden] { display: none; }
.filter-btn:hover { border-color: var(--blue); }
.filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.g-item { position: relative; }
.g-item[hidden] { display: none; }
.g-tag {
  position: absolute; left: 10px; bottom: 10px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(7,28,61,.78); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .02em;
}
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-grid > * { min-width: 0; }
.contact-list li > div { min-width: 0; overflow-wrap: anywhere; }
.footer-contact a { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .contact-list li { font-size: 1rem; }
}

/* Footer additions */
.footer-sub { color: var(--accent); font-weight: 700; margin: 0; }
.footer-label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: rgba(255,255,255,.5); }

@media (max-width: 1080px) {
  .gift-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-media { order: 0; }
  .preview-strip { grid-template-columns: repeat(2, 1fr); }
  .site-nav a[aria-current="page"]:not(.btn) { color: var(--blue); }
}
@media (max-width: 600px) {
  .gift-grid, .checklist { grid-template-columns: 1fr; }
  .jump { margin-top: 24px; }
  .jump a { padding: 10px 16px; font-size: .92rem; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .map iframe { height: 300px; }
  .lb-nav { width: 44px; height: 44px; }
}

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .pillars, .steps { grid-template-columns: repeat(2, 1fr); }
  .value-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 16px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(11,42,91,.4);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .25s, opacity .25s, visibility .25s;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 16px; }

  .promise-grid, .who-grid, .contact-grid { grid-template-columns: 1fr; }
  .promise-photo { max-width: 480px; }
  .who-photos { max-width: 520px; width: 100%; }
  .ways { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; }
  .brand img { width: 44px; }
  .brand-name { font-size: 1.3rem; }
  .brand-sub { font-size: .9rem; }
  .pillars, .steps, .vm { grid-template-columns: 1fr; }
  .value-list { grid-template-columns: 1fr 1fr; }
  .value:last-child { grid-column: 1 / -1; }
  .gallery-grid { grid-auto-rows: 150px; }
  .g-wide { grid-column: span 2; }
  .promise-photo::before { inset: 14px -10px -14px 14px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr; }
}

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