/* SOAR stakeholder preview — modern minimal nonprofit prototype
   Replace Unsplash placeholders with Dropbox / brand photography before launch. */

:root {
  --bg: #f7f6f3;
  --bg-warm: #f0ebe3;
  --surface: #ffffff;
  --ink: #1c221e;
  --ink-soft: #3d4540;
  --muted: #5c6560;
  --line: rgba(28, 34, 30, 0.12);
  --forest: #2c4a3e;
  --forest-deep: #1e342c;
  --sage: #5a7d6c;
  --accent: #b85c38;
  --accent-hover: #9d4d2e;
  --accent-soft: rgba(184, 92, 56, 0.12);
  --sky: #3a6b7a;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 18px 50px rgba(28, 34, 30, 0.08);
  --shadow-sm: 0 6px 24px rgba(28, 34, 30, 0.06);
  --font-sans: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --max: 1120px;
  --header-h: 72px;
  --tool-size: 44px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--forest-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

/* —— Header —— */
.demo-disclaimer {
  margin: 0;
  padding: 10px 20px;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #e8f0ec;
  background: #2a1f18;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.demo-disclaimer a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.demo-disclaimer a:hover {
  color: #f0d6c8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
  width: min(100% - 40px, calc(var(--max) + 80px));
  margin-inline: auto;
  padding-block: 10px;
  overflow: visible;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
  overflow: visible;
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--forest), var(--forest-deep));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}

.brand__tag {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-primary a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-primary a:hover,
.nav-primary a[aria-current="page"] {
  color: var(--forest-deep);
  border-bottom-color: var(--accent);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-search-form {
  margin: 0;
  display: flex;
  align-items: center;
}

.header-search {
  width: min(200px, 28vw);
  height: var(--tool-size);
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.header-search:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(44, 74, 62, 0.15);
}

.header-search::placeholder {
  color: var(--muted);
}

.icon-btn {
  width: var(--tool-size);
  height: var(--tool-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink-soft);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.icon-btn:hover {
  background: var(--bg-warm);
  border-color: rgba(44, 74, 62, 0.25);
  color: var(--forest-deep);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.nav-toggle {
  display: none;
  width: var(--tool-size);
  height: var(--tool-size);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}

@media (max-width: 1020px) {
  /* Logo left, menu control right; search/cart/profile live inside the drawer only. */
  .site-header__inner {
    justify-content: space-between;
    align-items: center;
  }

  .header-tools {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .nav-primary-wrap {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 20px 24px 24px;
    box-shadow: var(--shadow);
    display: none;
    z-index: 49;
  }

  body.nav-open .nav-primary-wrap {
    display: block;
  }

  .nav-primary {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .nav-primary a {
    display: block;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .nav-drawer-utilities {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .nav-drawer-utilities__label {
    margin: 0 0 12px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .nav-drawer-search {
    margin: 0 0 16px;
    width: 100%;
  }

  .nav-drawer-search__input {
    width: 100%;
    height: var(--tool-size);
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg);
    font: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    outline: none;
  }

  .nav-drawer-search__input:focus {
    border-color: var(--forest);
    box-shadow: 0 0 0 3px rgba(44, 74, 62, 0.12);
  }

  .nav-drawer-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    text-decoration: none;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--line);
    transition: color 0.15s;
  }

  .nav-drawer-link:last-of-type {
    border-bottom: none;
    padding-bottom: 4px;
  }

  .nav-drawer-link:hover {
    color: var(--forest-deep);
  }

  .nav-drawer-link__icon {
    flex-shrink: 0;
    display: flex;
    color: var(--forest-deep);
    opacity: 0.9;
  }
}

@media (min-width: 1021px) {
  .nav-drawer-utilities {
    display: none;
  }
}

/* —— Buttons —— */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(184, 92, 56, 0.35);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn--forest {
  background: var(--forest-deep);
  color: #fff;
  border-color: var(--forest-deep);
  box-shadow: 0 10px 28px rgba(30, 52, 44, 0.25);
}

.btn--forest:hover {
  background: #152a23;
  border-color: #152a23;
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--forest-deep);
  border-color: var(--forest-deep);
}

.btn--outline:hover {
  background: rgba(44, 74, 62, 0.08);
  color: var(--forest-deep);
}

.btn--loud {
  min-height: 54px;
  padding: 0 32px;
  font-size: 0.9rem;
}

.btn--volunteer {
  min-height: 56px;
  padding: 0 36px;
  font-size: 0.95rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 10vw, 100px);
  overflow: hidden;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.03);
  filter: saturate(1.08) contrast(1.03);
}

.hero__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(247, 246, 243, 0.97) 0%,
    rgba(247, 246, 243, 0.88) 32%,
    rgba(247, 246, 243, 0.72) 52%,
    rgba(247, 246, 243, 0.38) 100%
  );
}

.hero > .wrap {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
  margin-bottom: 14px;
}

/* Official wordmark from the live site — full lockup (round mark + type) scales by width only; no height cap that squishes or clips. */
.hero__owner-logo {
  margin: 0 0 22px;
  max-width: min(480px, 94vw);
  overflow: visible;
}

.hero__owner-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.hero__owner-logo-note {
  margin: 12px 0 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 38ch;
}

.hero__owner-logo-note a {
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  margin: 0 0 16px;
  max-width: 14ch;
}

.hero__lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 42ch;
  margin-bottom: 28px;
}

.hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.donate-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-top: 0;
}

.donate-card h2 {
  font-size: 1.35rem;
  margin: 0 0 8px;
  color: var(--forest-deep);
}

.donate-card__sub {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.donate-card__fields {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.donate-card label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink-soft);
}

a.chip {
  text-decoration: none;
  display: inline-block;
}

a.chip:hover {
  border-color: rgba(44, 74, 62, 0.35);
  color: var(--forest-deep);
}

.chip--active {
  background: var(--forest-deep);
  color: #fff;
  border-color: var(--forest-deep);
}

a.chip--active:hover {
  color: #fff;
  border-color: var(--forest-deep);
  opacity: 0.92;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
    max-height: 320px;
  }

  .donate-card {
    margin-top: 8px;
  }
}

/* —— Sections —— */
.section {
  padding: clamp(56px, 9vw, 96px) 0;
}

.section--tight {
  padding: clamp(40px, 6vw, 64px) 0;
}

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section__head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section__head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 12px;
}

.section__head p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Initiatives — loud CTAs, aligned button row */
.init-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.init-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.init-card__photo {
  height: 158px;
  margin: -28px -24px 18px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.init-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.init-card h3 {
  font-size: 1.25rem;
  margin: 0 0 12px;
}

.init-card p {
  flex: 1;
  font-size: 0.98rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.init-card .btn {
  align-self: flex-start;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 860px) {
  .init-grid {
    grid-template-columns: 1fr;
  }
}

/* Foster — equal-height cards */
.foster-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}

.foster-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.foster-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.foster-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.foster-card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: linear-gradient(180deg, #f8faf8 0%, #eef4f0 100%);
}

.foster-card__meta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 6px;
}

.foster-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.foster-card__story {
  font-size: 0.95rem;
  color: var(--ink-soft);
  flex: 1;
  margin-bottom: 18px;
}

@media (max-width: 720px) {
  .foster-grid {
    grid-template-columns: 1fr;
  }
}

/* Services — narrow cards, not a wide tracking table */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  gap: 20px;
  justify-content: center;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.service-card h3 {
  font-size: 1.1rem;
  margin: 0 0 10px;
}

.service-card__price {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--forest-deep);
  margin-bottom: 6px;
}

.service-card__note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
  }
}

/* Experience SOAR — full viewport width */
.experience-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  min-height: min(420px, 70vh);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(105deg, var(--forest-deep) 0%, #2a4d42 45%, #3a5c52 100%);
  color: #e8f0ec;
  overflow: hidden;
}

.experience-bleed__bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
}

.experience-bleed__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-bleed__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 56px 24px;
  max-width: 720px;
}

.experience-bleed h2 {
  color: #fff;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  margin: 0 0 16px;
}

.experience-bleed p {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 24px;
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

/* Partners */
.partners-strip {
  text-align: center;
}

.partners-strip h2 {
  margin-bottom: 10px;
}

.partners-strip > .wrap > p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 56px;
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.partner-logo__box {
  width: min(220px, 70vw);
  height: 88px;
  border-radius: var(--radius);
  border: 1px dashed rgba(44, 74, 62, 0.25);
  background: var(--surface);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--forest-deep);
  padding: 12px;
  text-align: center;
  line-height: 1.3;
}

.partner-logo span {
  font-size: 0.8rem;
  color: var(--muted);
}

.partner-logo__img-wrap {
  height: 100px;
  min-width: 200px;
  max-width: 280px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.partner-logo__img-wrap img {
  max-height: 72px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  background: var(--forest-deep);
  color: #c5d4cc;
  padding: 56px 0 40px;
  margin-top: 0;
}

.site-footer a {
  color: #e8f0ec;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.site-footer h3 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-weight: 700;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 10px;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 18px;
}

.social-row a {
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-note {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  opacity: 0.75;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Inner pages —— */
.page-hero {
  padding: clamp(40px, 6vw, 72px) 0 32px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 12px;
}

.page-hero .lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 56ch;
}

.split-support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
  padding-bottom: clamp(72px, 12vw, 128px);
}

/* Static layout (no sticky) so the photo can’t ride over the footer while scrolling. */
.split-support__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 520px;
  justify-self: center;
}

.split-support__visual--warm {
  position: relative;
  padding: 10px;
  box-sizing: border-box;
  background: linear-gradient(
    145deg,
    rgba(184, 92, 56, 0.18) 0%,
    rgba(90, 125, 108, 0.2) 45%,
    rgba(247, 246, 243, 0.95) 100%
  );
  box-shadow:
    0 24px 60px rgba(44, 74, 62, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.split-support__visual--warm::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(44, 74, 62, 0.08) inset;
}

.split-support__visual--warm img {
  border-radius: calc(var(--radius-lg) - 10px);
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: min(68vh, 560px);
  height: auto;
  object-fit: cover;
  object-position: center 22%;
}

.split-support__visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* About — sanctuary photo mosaic */
.section-about-gallery {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 55%, var(--bg) 100%);
}

.about-gallery__title {
  text-align: center;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  margin: 0 0 12px;
}

.about-gallery__intro {
  text-align: center;
  max-width: 52ch;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 200px 200px;
  gap: 16px;
}

.about-gallery__cell {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.about-gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.about-gallery__cell:hover img {
  transform: scale(1.04);
}

.about-gallery__cell--hero {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.about-gallery__caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  margin: 0;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(30, 52, 44, 0.72);
  backdrop-filter: blur(8px);
  border-radius: 8px;
}

@media (max-width: 900px) {
  .about-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: 180px;
  }

  .about-gallery__cell--hero {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 240px;
  }
}

@media (max-width: 520px) {
  .about-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .about-gallery__cell--hero {
    min-height: 220px;
  }
}

.split-support__content .stack > * + * {
  margin-top: 28px;
}

@media (max-width: 860px) {
  .split-support {
    grid-template-columns: 1fr;
  }

  .split-support__visual {
    max-width: min(100%, 440px);
    margin-inline: auto;
  }

  .split-support__visual--warm {
    padding: 8px;
  }

  .split-support__visual--warm::after {
    inset: 12px;
  }

  .split-support__visual--warm img {
    max-height: min(52vh, 420px);
    aspect-ratio: 3 / 4;
    object-position: center 20%;
  }

  .split-support__visual img {
    max-height: min(52vh, 420px);
    object-fit: cover;
  }
}

/* Store */
.store-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.store-sort {
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-sort label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.store-sort select {
  height: var(--tool-size);
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
  min-width: 200px;
}

.store-intro {
  max-width: 720px;
  margin-bottom: 8px;
}

.store-intro p {
  color: var(--muted);
  font-size: 1.05rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}

/* Store: three equal columns on wide viewports so the CTA can sit under the middle product. */
@media (min-width: 880px) {
  .store-product-catalog {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CTA row uses the same column tracks + gap as the product grid above. */
.store-cta-align {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

@media (min-width: 880px) {
  .store-cta-align {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .store-cta-align__inner {
    grid-column: 2;
    display: flex;
    justify-content: center;
  }
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

a.product-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.2s, transform 0.15s;
}

a.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-card__img {
  aspect-ratio: 1;
  background: var(--bg-warm);
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--bg-warm);
}

.product-card__body {
  padding: 16px 18px 20px;
}

.product-card h3 {
  font-size: 1rem;
  margin: 0 0 6px;
}

.product-card__price {
  font-weight: 700;
  color: var(--forest-deep);
}

.product-card__badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Events */
.events-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

a.filter-pill {
  text-decoration: none;
  display: inline-block;
  color: var(--forest-deep);
}

a.filter-pill:hover {
  border-color: rgba(44, 74, 62, 0.35);
  color: var(--forest-deep);
}

/* a.filter-pill must not use color:inherit — it beats .filter-pill--on and hides text on dark bg */
a.filter-pill.filter-pill--on {
  background: var(--forest-deep);
  color: #fff;
  border-color: var(--forest-deep);
}

a.filter-pill.filter-pill--on:hover {
  color: #fff;
  opacity: 0.92;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.event-card {
  display: grid;
  grid-template-columns: minmax(200px, 340px) 1fr;
  gap: 28px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.event-card__media {
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  aspect-ratio: 4 / 3;
}

.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #1a1a1a;
}

.event-card__past {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--bg-warm);
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.event-card h2 {
  font-size: 1.35rem;
  margin: 0 0 8px;
}

.event-card .btn {
  margin-top: 16px;
}

@media (max-width: 720px) {
  .event-card {
    grid-template-columns: 1fr;
  }
}

.prototype-badge {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 6px;
  opacity: 0.85;
  pointer-events: none;
}
