:root {
  --navy: #245a78;
  --navy-deep: #1c4a64;
  --blue: #3d7ec9;
  --sky: #7ec8de;
  --teal: #1f7a6a;
  --mint: #7dcb9e;
  --sage: #b7e0c8;
  --foam: #e8f6f0;
  --cream: #fffcf7;
  --yellow: #f4d35e;
  --gold: #e2b93b;
  --coral: #e07a5f;
  --ink: #292936;
  --muted: #5c6570;
  --line: #e4ebe6;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(28, 50, 48, 0.08);
  --radius: 14px;
  --max: 1180px;
  --font: Arial, Helvetica, sans-serif;
  --accent: #3d9a7a;
  --accent-hover: #2f7d63;
  --accent-soft: #d7f3e6;
  --hero-bg: #cfeee0;
  --accent-ink: #ffffff;
  --spot: #7ed9b0;
  --spot-2: #b7eccf;
  --header-overlap: 100px;
}

body[data-theme="teal"] { --accent: #3d9a7a; --accent-hover: #2f7d63; --accent-soft: #d7f3e6; --hero-bg: #cfeee0; --accent-ink: #ffffff; --spot: #7ed9b0; --spot-2: #b7eccf; }
body[data-theme="blue"] { --accent: #4a7ec8; --accent-hover: #3b68ad; --accent-soft: #d9e6fb; --hero-bg: #cddcf8; --accent-ink: #ffffff; --spot: #8eb6f2; --spot-2: #c5d8fa; }
body[data-theme="gold"] { --accent: #d4b03a; --accent-hover: #b89428; --accent-soft: #fff3c4; --hero-bg: #ffe9a8; --accent-ink: #ffffff; --spot: #ffe07a; --spot-2: #fff0b8; }
body[data-theme="navy"] { --accent: #6d6eb8; --accent-hover: #5859a0; --accent-soft: #e4e3f8; --hero-bg: #d5d4f0; --accent-ink: #ffffff; --spot: #b0b0e6; --spot-2: #dcdbf6; }
body[data-theme="sky"] { --accent: #2a9aa8; --accent-hover: #217f8b; --accent-soft: #d4f3f6; --hero-bg: #c5eef2; --accent-ink: #ffffff; --spot: #7edce6; --spot-2: #c4f2f6; }
body[data-theme="sage"] { --accent: #6a9440; --accent-hover: #557834; --accent-soft: #e4f3c8; --hero-bg: #dceeb8; --accent-ink: #ffffff; --spot: #b4d46e; --spot-2: #e5f4c0; }
body[data-theme="coral"] { --accent: #d4896a; --accent-hover: #bc7356; --accent-soft: #fde6db; --hero-bg: #f8d5c4; --accent-ink: #ffffff; --spot: #f0b394; --spot-2: #fce0d2; }

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--hero-bg);
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 {
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.03em;
}
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--white);
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { left: 8px; }

/* Top bar */
.topbar {
  background: #2a2a33;
  color: #f3f3f3;
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 9px 0;
}
.topbar a { color: #f3f3f3; }
.topbar a:hover { color: var(--yellow); }
.topbar-left, .topbar-right {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.topbar svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; fill: currentColor; }

/* Header */
#header-mount { position: relative; z-index: 80; }
.site-header {
  background: transparent;
  position: relative;
  z-index: 50;
}
body[data-page="home"] { background: var(--hero-bg); }
body:not([data-page="home"]) .site-header {
  background: transparent;
  border-bottom: none;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
.header-end {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-deep);
}
.brand:hover { color: var(--navy-deep); }
.brand-mark {
  width: 72px;
  height: 72px;
  background: transparent;
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-size: 18px; letter-spacing: 0.2px; }
.brand-text span { font-size: 12px; color: var(--muted); }

.nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  align-items: center;
}
.nav a, .nav button.nav-link {
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
  padding: 10px 9px;
  border-radius: 0;
  font-size: 14.5px;
  white-space: nowrap;
}
.nav a:hover, .nav button.nav-link:hover,
.nav a.is-active, .nav button.nav-link.is-active { background: none; color: var(--accent); }
.nav-drop > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: 2px;
}
.nav-drop { position: relative; }
.nav-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 90;
  pointer-events: auto;
}
.nav-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.nav-drop:hover .nav-panel,
.nav-drop:focus-within .nav-panel { display: block; }
.nav-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  position: relative;
  z-index: 2;
}
.nav-panel a:hover { background: var(--accent-soft); color: var(--accent); }
.header-cta {
  background: var(--accent) !important;
  color: var(--accent-ink) !important;
  border-radius: 8px !important;
  padding: 12px 18px !important;
  font-size: 15px !important;
  white-space: nowrap;
}
.header-cta:hover { background: var(--accent-hover) !important; color: var(--accent-ink) !important; }

.rics-badge img {
  height: 48px;
  width: auto;
  mix-blend-mode: multiply;
}

.menu-toggle {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-overlap));
  padding: calc(48px + var(--header-overlap)) 0 72px;
  background: var(--hero-bg);
  text-align: center;
}
.hero .wrap { position: relative; z-index: 1; }

.hero,
.page-hero {
  --spot-x: 55%;
  --spot-y: 35%;
}

.hero-fx {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
  will-change: transform;
  animation: hero-drift 20s ease-in-out infinite;
}
.hero-blob-a {
  width: min(42vw, 380px);
  height: min(42vw, 380px);
  left: -6%;
  top: 8%;
  background: color-mix(in srgb, var(--accent) 42%, transparent);
}
.hero-blob-b {
  width: min(48vw, 420px);
  height: min(36vw, 300px);
  right: -8%;
  top: -10%;
  background: color-mix(in srgb, var(--spot) 70%, transparent);
  animation-duration: 26s;
  animation-delay: -8s;
}
.hero-blob-c {
  width: min(34vw, 280px);
  height: min(34vw, 280px);
  left: 38%;
  bottom: 12%;
  opacity: 0.45;
  background: color-mix(in srgb, var(--spot-2) 80%, transparent);
  animation-duration: 22s;
  animation-delay: -4s;
}

.hero-spot {
  position: absolute;
  width: min(38vw, 260px);
  height: min(38vw, 260px);
  left: var(--spot-x);
  top: var(--spot-y);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0.38;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--spot) 72%, white) 0%,
    color-mix(in srgb, var(--spot) 42%, transparent) 34%,
    color-mix(in srgb, var(--accent) 22%, transparent) 58%,
    transparent 74%
  );
  filter: blur(12px);
  mix-blend-mode: multiply;
  pointer-events: none;
  will-change: left, top;
}

@keyframes hero-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(36px, -28px) scale(1.1); }
  66% { transform: translate(-28px, 22px) scale(0.92); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-blob { animation: none; }
  .hero-spot { transition: none; }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.hero .qual-row { justify-content: center; gap: 10px; margin: 0 auto 28px; }
.hero h1 {
  font-size: clamp(40px, 6.2vw, 66px);
  max-width: 18ch;
  margin: 0 auto 18px;
  letter-spacing: -0.045em;
}
.hero-lead {
  font-size: 18px;
  max-width: 72ch;
  color: var(--muted);
  margin: 0 auto 28px;
}
.hero-grid { display: block; }
.cta-card {
  background: #fff;
  border-radius: 20px;
  padding: 18px 20px 18px 20px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
  position: relative;
}
.cta-card h2 { font-size: 18px; margin-bottom: 6px; letter-spacing: -0.02em; }
.cta-card p { color: var(--muted); font-size: 13px; margin-bottom: 12px; line-height: 1.4; }
.cta-card .btn { padding: 8px 14px; font-size: 13px; border-radius: 6px; }
.cta-photo {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #fff;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(28, 50, 48, 0.16);
  margin-right: -8px;
}
.cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: scale(1.08);
}

.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 12px 20px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent); }
.btn-accent { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-accent:hover { background: var(--gold); color: var(--ink); }

.pill {
  display: none;
}
.page-hero .pill {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

/* Sections */
.section { padding: 88px 0; background: #fff; }
.section-muted { background: #fff; }
.section-tint { background: color-mix(in srgb, var(--hero-bg) 65%, white); }
.section-head { max-width: 820px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.04em; }
.section-head.left { text-align: left; margin-left: 0; }
.kicker { color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; margin-bottom: 10px; }

.card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 30, 28, 0.04);
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
}
.card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
}
.card-link:hover { color: inherit; }
.card-link:hover h3 { color: var(--accent); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-link + .card-actions { padding: 0 22px 22px; margin-top: 0; }
.card h3 { font-size: 22px; margin: 0; }
.card p { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.card-body p { font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }
.card-actions .btn { padding: 11px 14px; font-size: 14px; border-radius: 4px; flex: 1; min-width: 120px; }
.card[data-theme="teal"] { --card-accent: #3d9a7a; --card-ink: #ffffff; }
.card[data-theme="blue"] { --card-accent: #4a7ec8; --card-ink: #ffffff; }
.card[data-theme="gold"] { --card-accent: #d4b03a; --card-ink: #ffffff; }
.card[data-theme="navy"] { --card-accent: #6d6eb8; --card-ink: #ffffff; }
.card[data-theme="sky"] { --card-accent: #2a9aa8; --card-ink: #ffffff; }
.card[data-theme="sage"] { --card-accent: #6a9440; --card-ink: #ffffff; }
.card[data-theme="coral"] { --card-accent: #d4896a; --card-ink: #ffffff; }
.card[data-theme] .btn-ghost { color: var(--card-accent); border-color: var(--card-accent); background: transparent; }
.card[data-theme] .btn-ghost:hover { background: #ececec; color: var(--card-accent); border-color: var(--card-accent); }
.card[data-theme] .btn-primary { background: var(--card-accent); border-color: var(--card-accent); color: var(--card-ink); }
.card[data-theme] .btn-primary:hover { color: var(--card-ink); filter: brightness(0.95); }
.card[data-theme] .card-link:hover h3 { color: var(--card-accent); }

.why-cards .card {
  text-align: left;
  min-height: 220px;
  justify-content: space-between;
  padding: 22px;
  box-shadow: none;
  border: 0;
  background: #f7f5f0;
}
.why-cards .card h3 { margin-bottom: auto; font-size: 22px; }
.why-cards .card p { flex: 0; }

.impact-section {
  background: #fff;
  padding-top: 12px;
}
.impact-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
}
.impact-head > div:first-child { max-width: 640px; }
.impact-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.impact-head p {
  color: var(--muted);
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}
.impact-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.impact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  box-shadow: none;
}
.impact-card h3 {
  font-size: 22px;
  margin: 0;
  font-weight: 800;
}
.impact-card p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}
.impact-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}
.impact-dots {
  display: flex;
  gap: 8px;
  padding-top: 10px;
  flex-shrink: 0;
}
.impact-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #d4d4d4;
  cursor: pointer;
}
.impact-dot.is-on { background: #3a3a44; }

.why-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin: 12px 0 8px;
}
.why-edit-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px 4px;
  background: #f7fafb;
}

.statement {
  text-align: center;
  padding: 80px 0 40px;
  background: color-mix(in srgb, var(--hero-bg) 45%, #fffaf4);
}
.statement .bento,
.statement .panel-card { text-align: left; }
.statement > .wrap > p {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 16em;
  margin: 0 auto 40px;
  color: var(--ink);
}
.statement .hl-teal { color: var(--teal); }
.statement .hl-blue { color: var(--blue); }
.statement .hl-gold { color: #c4921a; }
.statement-photo {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  height: 380px;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
}

.spotlight-section {
  background: color-mix(in srgb, var(--hero-bg) 50%, #fff8f0);
  padding-top: 72px;
  text-align: center;
}
.spotlight-section .section-head { margin-bottom: 36px; }
.spotlight-band {
  background: var(--accent);
  padding: 36px 0 48px;
}
.spotlight {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 16px;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  color: #fff;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.04em;
  background-size: cover;
  background-position: center;
  position: relative;
  text-decoration: none;
  border-radius: 18px;
  overflow: hidden;
}
.spotlight img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 32, 30, 0.18) 20%, rgba(20, 32, 30, 0.72) 100%);
}
.spotlight span { position: relative; z-index: 2; color: #fff; }
.spotlight:hover { color: #fff; }
.spotlight:last-child { margin-bottom: 0; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.faq-grid a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
}
.faq-grid a:hover { color: var(--accent); }
.faq-more { text-align: center; margin: 36px 0 0; }

.ask-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  background: var(--accent);
  color: var(--accent-ink);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(28, 50, 48, 0.25);
  font-size: 22px;
}
.ask-fab:hover { color: var(--accent-ink); background: var(--accent-hover); }
.ask-label {
  position: fixed;
  right: 90px;
  bottom: 30px;
  z-index: 40;
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  font-size: 13px;
  max-width: 200px;
  color: var(--ink);
}

.cards-6, .cards-3, .cards-4, .cards-2 {
  display: grid;
  gap: 18px;
}
.cards-6 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }

.card-img {
  height: 168px;
  background-color: #dce8ee;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-list {
  max-width: 820px;
  margin: 0 auto;
}
.news-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.news-row:first-child { padding-top: 0; }
.news-row h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 6px 0 10px; }
.news-row h3 a { color: inherit; }
.news-row h3 a:hover { color: var(--accent); }
.news-row p { color: var(--muted); margin: 0 0 14px; }
.news-row .kicker { color: var(--ink); margin-bottom: 6px; }
.news-thumb {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  background: #dce8ee;
}
.card-img .tag {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}

.icon-card { padding: 22px; }
.icon-bubble {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--foam);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  font-size: 20px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.split-media {
  border-radius: 24px;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  position: relative;
}
.split-media .badge,
.about-map .badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: #fff;
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 13px;
}
.split-media .badge strong,
.about-map .badge strong { display: block; color: var(--navy); font-size: 18px; }

.about-visual-section,
.bento-section { padding: 36px 0 48px; }
.about-visual,
.bento {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: minmax(240px, 1fr) auto;
  gap: 20px;
  align-items: stretch;
}
.about-photo,
.bento-photo {
  grid-row: 1 / 3;
  min-height: 520px;
}
.about-map {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 260px;
  background: color-mix(in srgb, var(--hero-bg) 70%, #dce8ee);
  box-shadow: var(--shadow);
}
.about-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  filter: saturate(0.92);
}
.about-place,
.panel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px 28px 28px;
  box-shadow: var(--shadow);
}
.about-place h2,
.panel-card h2 {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.about-place p,
.panel-card p { margin: 0 0 8px; }
.about-place .btn,
.panel-card .btn { margin-top: 14px; }
.bento .statement-photo,
.bento .article-hero-photo {
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 520px;
  margin: 0;
}
.panel-card .checklist { margin: 0 0 8px; }
.panel-card.prose { max-width: none; }
.panel-card .btn-row { margin-top: 16px; }

.with-aside {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 24px;
  align-items: start;
}
.with-aside .panel-card { position: sticky; top: 20px; }

.faq-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr;
  gap: 24px;
  align-items: start;
}
.faq-layout .faq { margin: 0; }
.faq-layout .panel-card { position: sticky; top: 20px; }

.contact-stage {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 20px;
}
.contact-stage .about-map { min-height: 560px; }
.contact-stage .about-map iframe { min-height: 560px; }
.contact-stage .form {
  margin: 0;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-strip .panel-card h2 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.bento-no-photo {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
}
.bento-no-photo .bento-photo { display: none; }

.story-layout.prose {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  align-items: start;
}
.story-layout > *:first-child {
  grid-column: 1 / -1;
  max-width: 62ch;
  font-size: 1.12em;
}
.story-layout h2 {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: clamp(22px, 2.2vw, 28px);
}
.story-layout h2 ~ p,
.story-layout h2 ~ ul {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px 18px;
  box-shadow: 0 10px 30px rgba(20, 30, 28, 0.04);
}

@media (min-width: 981px) {
  .cards-6.mosaic {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards-6.mosaic > .card:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
  .cards-6.mosaic > .card:first-child .card-img {
    height: auto;
    min-height: 280px;
    flex: 1;
  }
  .cards-4.mosaic {
    grid-template-columns: repeat(4, 1fr);
  }
  .cards-4.mosaic > .card:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
  .cards-4.mosaic > .card:first-child .card-img {
    height: auto;
    min-height: 220px;
    flex: 1;
  }
  .cards-6.mosaic > .card:first-child,
  .cards-4.mosaic:not(.why-cards) > .card:first-child {
    text-align: left;
  }
  .cards-6.mosaic > .card:first-child .card-actions,
  .cards-4.mosaic:not(.why-cards) > .card:first-child .card-actions {
    justify-content: flex-start;
  }
  .cards-6.mosaic > .card:first-child .card-body p,
  .cards-4.mosaic:not(.why-cards) > .card:first-child .card-body p {
    font-size: 16px;
    line-height: 1.55;
  }
  .cards-3.mosaic > .card:first-child {
    grid-column: span 2;
  }
  .cards-3.mosaic > .card:first-child .card-img { height: 240px; }
  .why-cards.mosaic > .card:first-child {
    grid-column: span 2;
    background: color-mix(in srgb, var(--hero-bg) 60%, #fff);
  }
}

.about-story.prose {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 22px 32px;
  align-items: start;
}
.about-story > p:nth-child(1),
.about-story > p:nth-child(2),
.about-story h2 {
  grid-column: 1 / -1;
}
.about-story > p:first-child {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 22ch;
  margin: 0;
}
.about-story > p:nth-child(2) {
  font-size: 18px;
  color: var(--muted);
  max-width: 42ch;
  margin: 0 0 8px;
}
.about-story > p:nth-child(3) {
  grid-column: 1 / 3;
  font-size: 18px;
  margin: 0;
}
.about-story > p:nth-child(4) {
  grid-column: 3;
  margin: 0;
  background: color-mix(in srgb, var(--hero-bg) 70%, #fff);
  border-radius: 20px;
  padding: 22px 22px 20px;
}
.about-story h2 {
  margin: 28px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: clamp(22px, 2.2vw, 28px);
}
.about-story h2 ~ p {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px 18px;
  box-shadow: 0 10px 30px rgba(20, 30, 28, 0.04);
}
.about-story h2 ~ p strong {
  display: block;
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.checklist { list-style: none; padding: 0; }
.checklist li {
  padding: 8px 0 8px 28px;
  position: relative;
}
.checklist li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 4px;
  top: 16px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 10px;
  scroll-margin-top: 96px;
}
.faq details[open] {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy-deep);
}
.faq p { margin: 10px 0 4px; color: var(--muted); }

.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--line);
}
.quote p { font-style: italic; color: var(--ink); }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }

.contact-panel {
  background: linear-gradient(135deg, var(--navy), #2f7d8c);
  color: #fff;
  border-radius: 28px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}
.contact-panel h2, .contact-panel p { color: #fff; }
.contact-panel p { opacity: 0.92; }

.contact-band {
  background: var(--accent);
  color: var(--accent-ink);
  text-align: center;
  padding: 72px 0;
}
.contact-band h2 {
  color: var(--accent-ink);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.contact-band p {
  color: var(--accent-ink);
  max-width: 42ch;
  margin: 0 auto 24px;
  opacity: 0.94;
}
.btn-on-dark {
  background: transparent;
  color: var(--accent-ink) !important;
  border-color: var(--accent-ink);
}
.btn-on-dark:hover { background: rgba(255,255,255,0.12); color: var(--accent-ink) !important; }

.page-hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-overlap));
  padding: calc(28px + var(--header-overlap)) 0 36px;
  background: var(--hero-bg);
  text-align: center;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.page-hero h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  max-width: 22em;
  margin: 0 auto 14px;
  letter-spacing: -0.04em;
}
.page-hero .hero-lead {
  margin: 0 auto;
  max-width: 72ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: inherit; }
.crumbs a:hover { color: var(--accent); }

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.prose img,
.editor-canvas img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 1.2em 0;
}
.article-hero-photo {
  height: 340px;
  border-radius: 20px;
  background: #dce8ee center/cover no-repeat;
  margin: 0 0 28px;
  max-width: 760px;
}
.feature-list { display: grid; gap: 10px; }
.feature-list div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(36, 90, 120, 0.06);
}
.form label { display: block; font-size: 13px; font-weight: 700; margin: 12px 0 6px; }
.form input, .form select, .form textarea {
  width: 100%;
  font: inherit;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--cream);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.info-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  margin-bottom: 14px;
}
.info-card h3 { font-size: 16px; }

/* Footer */
.site-footer {
  background: #25252e;
  color: #d7ebf3;
  padding: 48px 0 20px;
  margin-top: 0;
}
.site-footer a { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.site-footer h4 { color: #fff; font-size: 15px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  mix-blend-mode: normal;
  padding: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  align-items: center;
}
.footer-rics img { height: 42px; background: #fff; padding: 6px 8px; border-radius: 8px; }

.qual-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}
.qual {
  background: #fff;
  border: 1px solid rgba(36,90,120,0.16);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

.admin-bar {
  background: var(--yellow);
  color: var(--navy-deep);
  text-align: center;
  font-size: 13px;
  padding: 8px;
  font-weight: 700;
}

/* Admin / CMS */
.admin-shell { min-height: 100vh; background: #e8eef0; }
.admin-login { width: min(520px, calc(100% - 32px)); margin: 72px auto; }
.admin-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.news-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
}
.news-item h4 { margin-bottom: 4px; }
.faq-edit-list {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}
.faq-edit-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px 24px 8px;
  box-shadow: var(--shadow);
}
.faq-edit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.faq-edit-head .step-label {
  margin: 0;
  font-size: 14px;
  padding: 5px 12px;
}
.faq-edit-card label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}
.faq-edit-card input,
.faq-edit-card textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--cream);
  margin: 0 0 18px;
}
.faq-edit-card textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}
.faq-save-bar {
  position: sticky;
  bottom: 16px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  z-index: 2;
}
.editor-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.editor-tools button {
  appearance: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  min-height: 44px;
}
.editor-tools button:hover {
  border-color: var(--blue);
  background: var(--foam);
}
.editor-canvas {
  width: 100%;
  min-height: 280px;
  box-sizing: border-box;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--cream);
  line-height: 1.55;
  outline: none;
}
.editor-canvas:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36, 90, 120, 0.12);
}
.editor-canvas p { margin: 0 0 0.85em; }
.editor-canvas h2,
.editor-canvas h3 { margin: 0.4em 0 0.6em; }
.article-hero-edit {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  align-items: center;
  margin: 0 0 22px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}
.article-hero-edit .image-edit-preview {
  height: 140px;
  border-radius: 12px;
}
.muted { color: var(--muted); }
.ok { color: #1f7a4d; font-weight: 700; }

.cms {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
}
.cms-side {
  background: var(--navy-deep);
  color: #e7f3f8;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cms-brand strong { display: block; color: #fff; font-size: 16px; }
.cms-brand span { font-size: 12px; opacity: 0.8; }
.cms-nav { display: flex; flex-direction: column; gap: 4px; }
.cms-nav button {
  appearance: none;
  background: transparent;
  border: 0;
  color: #e7f3f8;
  font: inherit;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.cms-nav button:hover,
.cms-nav button.is-active { background: rgba(255,255,255,0.12); color: #fff; }
.cms-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.cms-side-foot a, .cms-side-foot button {
  color: #cfe6ef;
  background: none;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  padding: 0;
}
.cms-main { padding: 28px; }
.cms-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.cms-toolbar h1 { margin: 0; }
.cms-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.cms-stats article {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(36, 90, 120, 0.06);
}
.cms-stats strong { display: block; font-size: 28px; color: var(--navy); }
.cms-stats span { color: var(--muted); font-size: 13px; }
.cms-table { width: 100%; border-collapse: collapse; }
.cms-table th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 8px 12px;
  border-bottom: 1px solid var(--line);
}
.cms-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.cms-link {
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  padding: 0;
  text-align: left;
}
.cms-row-actions { white-space: nowrap; }
.cms-status {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
}
.cms-status-published { background: #d8f3e4; color: #1f7a4d; }
.cms-status-draft { background: #f8ebc8; color: #8a6a12; }
.cms-filters {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 10px;
  margin-bottom: 16px;
}
.cms-filters input, .cms-filters select, .cms-editor input, .cms-editor select, .cms-editor textarea {
  width: 100%;
  font: inherit;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--cream);
}
.cms-editor label { display: block; font-size: 13px; font-weight: 700; margin: 12px 0 6px; }
.cms-body { min-height: 280px; }
.cms-note {
  background: var(--foam);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--navy-deep);
}
.help-text {
  font-size: 18px;
  color: var(--muted);
  max-width: 42em;
  margin: 0 0 18px;
}
.btn-lg { min-height: 52px; padding: 14px 22px; font-size: 18px; }
.cms-easy { font-size: 18px; }
.cms-easy .cms-side { width: 260px; }
.cms-easy .cms {
  grid-template-columns: 260px 1fr;
}
.cms-easy .cms-nav button {
  font-size: 18px;
  padding: 14px 14px;
  min-height: 52px;
}
.cms-easy .cms-brand strong { font-size: 20px; }
.cms-easy .cms-brand span { font-size: 15px; }
.cms-easy .cms-toolbar h1 { font-size: 34px; }
.cms-easy .cms-main { padding: 28px 32px 48px; }
.cms-easy label { font-size: 16px; }
.cms-easy input, .cms-easy select, .cms-easy textarea {
  font-size: 18px;
  padding: 14px 14px;
  min-height: 52px;
}
.cms-easy textarea { min-height: 120px; line-height: 1.5; }
.cms-easy .cms-body { min-height: 260px; }
.cms-easy .btn { font-size: 17px; min-height: 48px; padding: 12px 18px; }
.cms-easy .cms-table td, .cms-easy .cms-table th { font-size: 17px; padding: 14px 10px; }
.cms-easy .cms-link { font-size: 18px; }
.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}
.action-card {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 22px 22px 20px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  box-shadow: 0 8px 24px rgba(36, 90, 120, 0.06);
}
.action-card:hover { border-color: var(--blue); }
.action-card strong { display: block; font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.action-card span { color: var(--muted); }
.page-list { display: grid; gap: 12px; }
.page-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  background: #fff;
}
.page-row h3 { margin: 0 0 4px; font-size: 20px; }
.card-manage {
  grid-template-columns: 88px 1fr auto;
  align-items: center;
}
.card-thumb {
  width: 88px;
  height: 64px;
  border-radius: 10px;
  background: #dce8ee center/cover no-repeat;
}
.hint { font-size: 15px; color: var(--muted); margin: 0 0 8px; }
.save-bar {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  margin: 22px -28px -28px;
  padding: 16px 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  border-radius: 0 0 20px 20px;
}
.saved-box {
  background: #d8f3e4;
  color: #1f7a4d;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 700;
  margin-top: 12px;
}
.step-label {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.swatch-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 12px 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.swatch-row strong { display: block; font-size: 18px; }
.swatch-row span { color: var(--muted); font-size: 15px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 0;
}
.swatch.is-on { border-color: var(--ink); box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--ink); }
.swatch[data-theme="gold"] { color: #292936; }
.theme-group { margin-bottom: 28px; }
.theme-group h2 { margin-bottom: 6px; }
.image-edit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.image-edit-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(36, 90, 120, 0.06);
}
.image-edit-preview {
  height: 150px;
  background: #dce8ee center/cover no-repeat;
}
.image-edit-card .card-body { padding: 14px 16px 16px; }
.image-edit-card h3 { font-size: 18px; margin: 0 0 6px; }
.image-edit-card .hint { margin: 0 0 12px; }
.image-edit-card .btn-row { flex-wrap: wrap; gap: 8px; }
.image-edit-card .changed-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 8px;
}
.image-file-btn {
  position: relative;
  overflow: hidden;
}
.image-file-btn input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
}

@media (max-width: 1180px) {
  .brand-text span { display: none; }
  .header-cta { padding: 10px 14px !important; font-size: 14px !important; }
  .impact-track { grid-template-columns: 1fr 1fr; }
  .impact-card { min-height: 220px; }
}

@media (max-width: 980px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; justify-self: end; }
  .header-cta { display: none; }
  .site-header.is-open .nav {
    display: flex;
    flex-direction: column;
    grid-column: 1 / -1;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px;
  }
  .nav-panel { position: static; box-shadow: none; border: 0; display: block; }
  .hero-grid, .split, .contact-grid, .contact-panel, .cards-6, .cards-3, .cards-4, .quote-grid, .footer-grid, .cms, .cms-stats, .cms-filters, .form.row-2, .action-grid, .page-row, .cms-easy .cms, .faq-grid, .article-hero-edit, .about-visual, .about-story, .bento, .with-aside, .faq-layout, .contact-stage, .contact-strip, .story-layout {
    grid-template-columns: 1fr;
  }
  .about-photo,
  .bento-photo { grid-row: auto; min-height: 280px; }
  .about-story > p:nth-child(3),
  .about-story > p:nth-child(4),
  .about-story h2 ~ p,
  .story-layout > *:first-child,
  .story-layout h2,
  .story-layout h2 ~ p,
  .story-layout h2 ~ ul { grid-column: 1 / -1; }
  .with-aside .panel-card,
  .faq-layout .panel-card { position: static; }
  .contact-stage .about-map { min-height: 280px; }
  .contact-stage .about-map iframe { min-height: 280px; }
  .bento .statement-photo,
  .bento .article-hero-photo { min-height: 280px; }
  .cms-side { padding-bottom: 8px; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-photo { justify-self: start; margin-right: 0; }
  .rics-badge img { height: 38px; }
  .form .row-2 { grid-template-columns: 1fr; }
  .ask-label { display: none; }
  .statement-photo { height: 240px; }
  .article-hero-photo { height: 220px; }
  .news-row { grid-template-columns: 1fr; gap: 16px; }
  .news-thumb { width: 100%; height: 180px; }
  .impact-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .impact-track::-webkit-scrollbar { display: none; }
  .impact-card {
    flex: 0 0 min(78%, 320px);
    scroll-snap-align: start;
    min-height: 240px;
  }
  .why-edit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand-text { display: none; }
  .hero { padding: calc(28px + var(--header-overlap)) 0 48px; }
  .page-hero { min-height: 380px; }
  .section { padding: 48px 0; }
  .wrap { width: min(var(--max), calc(100% - 24px)); }
  .header-inner { grid-template-columns: auto 1fr auto; }
}
