:root {
  --bg: #fbfeeb;
  --fg: #1a1f14;
  --muted: #5a6350;
  --green: #93d12e;
  --red: #ab0507;
  --card: #e7f3c4;
  --card-fg: #1a1f14;
  --card-muted: #5a6350;
  --line: rgba(26, 31, 20, 0.14);
  --radius: 16px;
  --max: 1120px;
  --header: 84px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  overflow-x: clip;
}

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

a { color: inherit; }

.promo {
  background: var(--card);
  color: var(--card-fg);
  text-align: center;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.6rem 1.25rem;
  background: rgba(251, 254, 235, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.logo img { height: 52px; width: auto; }

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font: inherit;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  font-size: 0.98rem;
}

.nav a[aria-current="page"]:not(.btn) { color: var(--green); }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  background: var(--green);
  border-radius: 40% 60% 70% 30%;
  z-index: 0;
  pointer-events: none;
}

.hero::before { top: 70px; left: -50px; transform: rotate(18deg); }
.hero::after { right: -40px; bottom: 40px; width: 120px; height: 180px; border-radius: 60% 40% 30% 70%; }

.hero-inner { position: relative; z-index: 1; text-align: center; }

.hero-photo {
  width: min(760px, 100%);
  margin: 0 auto 2rem;
  border-radius: 22px;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0 0 0.6rem;
}

h1, h2, h3 { line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); margin: 0 0 0.8rem; }

h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 0.8rem; }

.lede { font-size: 1.2rem; color: var(--muted); margin: 0 auto 1.4rem; max-width: 40rem; }

.actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  background: var(--green);
  color: #111;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.75rem 1.2rem;
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.btn.ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--fg);
}

.marquee {
  overflow: hidden;
  background: linear-gradient(90deg, var(--green), var(--red));
  color: #111;
  padding: 0.85rem 0;
  font-weight: 600;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scroll 32s linear infinite;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section { padding: 4.5rem 0; }

.section.alt { background: var(--card); color: var(--card-fg); }
.section.alt .lede,
.section.alt p { color: var(--card-muted); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.split img, .card img, .portrait img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
}

.kicker {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.green { color: var(--green); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat, .card, .person, .policy {
  background: var(--card);
  color: var(--card-fg);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.stat strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.stat p, .card p, .person p { margin: 0.4rem 0 0; color: var(--card-muted); }

.source { display: block; margin-top: 0.7rem; font-size: 0.85rem; color: var(--muted); }

.grid-2, .grid-3 { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.banner {
  min-height: 420px;
  display: grid;
  align-items: end;
  background-size: cover;
  background-position: center;
  border-radius: 0;
  position: relative;
}

.banner .shade {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  padding: 4rem 0 2.5rem;
}

.product {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.product-main {
  width: 100%;
  border-radius: var(--radius);
  background: #fff;
  aspect-ratio: 1;
  object-fit: contain;
}

.thumbs { display: flex; gap: 0.5rem; margin-top: 0.7rem; flex-wrap: wrap; }

.thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.thumbs button[aria-current="true"] { border-color: var(--green); }

.thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }

.price { font-size: 1.8rem; margin: 0.2rem 0 1rem; }

.video {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  background: #111;
}

.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.portrait img { aspect-ratio: 1; }

form {
  display: grid;
  gap: 0.8rem;
  max-width: 640px;
}

label { display: grid; gap: 0.35rem; font-size: 0.95rem; }

input, textarea, select {
  font: inherit;
  color: var(--fg);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  color: var(--muted);
}

.site-footer .logo img { height: 46px; }

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: start;
}

.socials { display: flex; gap: 1rem; }
.socials a { color: var(--green); }

.fine { font-size: 0.9rem; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .site-header { position: sticky; }
  .split, .product, .stats, .grid-2, .grid-3, .people { grid-template-columns: 1fr; }
  .hero::before, .hero::after { opacity: 0.85; }
  .home-hero-grid, .path-row, .story-grid, .award-row, .proof-row { grid-template-columns: 1fr; }
  .story-photos { min-height: 0; aspect-ratio: 3 / 2; max-height: none; }
  .metric-row { grid-template-columns: 1fr; }
  .fact-row { grid-template-columns: 1fr 1fr; }
  .product-shots { grid-template-columns: 1fr; }
}

.home { --max: 1240px; font-size: 1.1rem; }

.home .nav .btn {
  padding: 0.5rem 1rem;
  font-size: 1rem;
}

.home-hero {
  position: relative;
  z-index: 1;
  padding: 3.6rem 0 2.8rem;
  background: transparent;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.7rem;
  align-items: center;
}

/* Middle ground between the old hero frame (~4:3) and the 16:9 commercial */
.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 22px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 18px 42px rgba(26, 31, 20, 0.18);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  /* Explicit size so Safari doesn't evaluate autoplay at 0×0 (Chrome retries; Safari often won't). */
  min-height: 240px;
}

.hero-media:focus {
  outline: none;
}

.hero-media:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  background: #111 url("assets/investquest-commercial-poster.jpg") center / cover no-repeat;
}

.hero-poster-frame {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero-start {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: none;
  place-items: center;
  margin: 0;
  padding: 1.25rem;
  background: transparent;
  pointer-events: none;
}

.hero-media.is-start-blocked .hero-poster-frame {
  display: block;
}

.hero-media.is-start-blocked .hero-start {
  display: grid;
}

.hero-media.is-start-blocked .hero-video {
  opacity: 0;
}

.hero-start-label {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  max-width: 18rem;
  padding: 0;
  color: #fbfeeb;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

.hero-start-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-start-note {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(251, 254, 235, 0.92);
}

.hero-playback {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 3.4rem;
  height: 3.4rem;
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  place-items: center;
  color: rgba(251, 254, 235, 0.78);
  background: transparent;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
  transition: opacity 0.2s ease;
}

.hero-playback svg {
  width: 2.1rem;
  height: 2.1rem;
  display: block;
}

.hero-playback .hero-playback-play { display: none; }

.hero-media.is-paused .hero-playback .hero-playback-pause { display: none; }
.hero-media.is-paused .hero-playback .hero-playback-play { display: block; }

.hero-media:hover .hero-playback {
  opacity: 0.72;
}

/* While waiting for a first play (Low Power Mode), hide the faint pause icon */
.hero-media.is-start-blocked .hero-playback {
  opacity: 0;
}

.hero-media.is-start-blocked .hero-sound {
  display: none;
}

.hero-sound {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.55rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background: rgba(251, 254, 235, 0.94);
  color: var(--fg);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(26, 31, 20, 0.16);
}

.hero-sound svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.hero-sound[aria-pressed="true"] .hero-sound-wave {
  opacity: 0.35;
}

.hero-sound[aria-pressed="false"] .hero-sound-mute {
  display: none;
}

.hero-sound:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.home h1 {
  font-size: clamp(2.55rem, 4.9vw, 4.15rem);
  margin: 0 0 1.35rem;
}

.home .kicker {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
}

.hero-gradient {
  background-image: linear-gradient(
    90deg,
    var(--green) 0%,
    var(--green) 22%,
    var(--red) 50%,
    var(--green) 78%,
    var(--green) 100%
  );
  background-size: 280% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: hero-gradient-shift 5.5s ease-in-out infinite;
}

@keyframes hero-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-gradient {
    animation: none;
    background-image: none;
    color: var(--green);
    -webkit-text-fill-color: var(--green);
  }
}

.home .lede {
  margin: 0 0 1.3rem;
  text-align: left;
}

.home .actions { justify-content: flex-start; }

.home .btn {
  padding: 0.85rem 1.25rem;
  font-size: 1.05rem;
}

.trust-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.trust-line svg { width: 26px; height: 26px; color: var(--fg); }

.trust-rule {
  width: 1px;
  height: 18px;
  background: rgba(26, 31, 20, 0.28);
}

.photo-slot {
  min-height: 420px;
  border-radius: 20px;
  background: var(--card);
  border: 1px dashed rgba(26, 31, 20, 0.28);
}

img.photo-slot {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 40%;
  border-style: solid;
  display: block;
}

img.photo-slot.photo-slot-light {
  min-height: 0;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  background: var(--card);
}

img.photo-slot.photo-slot-light.photo-slot-bottom {
  object-position: center bottom;
}

img.photo-slot.photo-slot-short {
  min-height: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  object-position: center;
  background: var(--card);
}

.path-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.path-row a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 118px;
  text-decoration: none;
  border-radius: 22px;
  padding: 0.8rem 1.1rem 0.8rem 0.9rem;
  font-weight: 600;
  font-size: 1.12rem;
}

.path-icon {
  width: 78px;
  height: 64px;
  flex: none;
  display: grid;
  place-items: center;
}

.path-icon svg { width: 76px; height: 56px; }

.path-label { flex: 1; }

.path-arrow {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1rem;
}

.path-green {
  background: var(--green);
  color: #111;
}

.path-green .path-arrow { background: #111; color: var(--green); }

.path-red {
  background: var(--card);
  color: var(--card-fg);
  border: 1px solid rgba(171, 5, 7, 0.55);
}

.path-red .path-icon { color: var(--red); }
.path-red .path-arrow { background: var(--red); color: #111; }

.path-row a:hover { filter: brightness(1.08); }

.proof-row {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 0.85rem;
  margin-top: 0.85rem;
  align-items: stretch;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0;
  background: var(--card);
  color: var(--card-fg);
  border-radius: 18px;
  padding: 0.9rem 0.7rem;
}

.metric-row article {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.45rem;
}

.metric-badge {
  width: 56px;
  height: 56px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.metric-badge svg { width: 34px; height: 34px; }

.metric-badge.metric-red { background: rgba(171, 5, 7, 0.16); color: var(--red); }
.metric-badge.metric-green { background: rgba(147, 209, 46, 0.16); color: var(--green); }

.metric-row strong {
  display: block;
  font-size: 2.05rem;
  line-height: 1;
  margin-bottom: 0.3rem;
  white-space: nowrap;
}

.metric-row span {
  color: var(--card-muted);
  font-size: 0.82rem;
}

.featured-quote {
  position: relative;
  margin: 0;
  background: var(--card);
  color: var(--card-fg);
  border-radius: 18px;
  padding: 1rem 1.1rem 1.35rem;
}

.quote-slides { overflow: hidden; }

.quote-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 0.8, 0.24, 1);
}

.quote-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding-right: 0.25rem;
  padding-bottom: 0.35rem;
}

.quote-arrow {
  position: absolute;
  z-index: 2;
  width: 32px;
  height: 32px;
  top: auto;
  bottom: 1.15rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #111;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.quote-arrow svg { width: 18px; height: 18px; }

.quote-prev { left: auto; right: 2.85rem; }
.quote-next { right: 0.55rem; }

.featured-quote:hover .quote-arrow,
.featured-quote:focus-within .quote-arrow {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.quote-progress {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.5rem;
  height: 3px;
  border-radius: 99px;
  background: rgba(26, 31, 20, 0.14);
  overflow: hidden;
}

.quote-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
}

.featured-quote.is-playing .quote-progress span {
  animation: quote-fill 5s linear forwards;
}

.featured-quote:hover .quote-progress span,
.featured-quote:focus-within .quote-progress span,
.featured-quote.is-paused .quote-progress span {
  animation-play-state: paused;
}

@keyframes quote-fill {
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .quote-track { transition: none; }
  .quote-arrow { transition: none; }
  .featured-quote.is-playing .quote-progress span { animation: none; }
  .gap-media img { transition: none; }
  .gap-row article:hover .gap-media img,
  .gap-row article:focus-within .gap-media img { transform: none; }
}

.featured-quote p { margin: 0; font-size: 0.95rem; line-height: 1.35; }

.stars {
  margin-top: 0.35rem !important;
  color: var(--green);
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.quote-by {
  margin-top: 0.2rem !important;
  color: var(--card-muted);
  font-size: 0.82rem !important;
}

.home-paths { padding-bottom: 3rem; }

.home-paths,
.home-story,
.home-product,
.home-awards,
.home-close {
  position: relative;
  z-index: 1;
  background: transparent;
}

.story-grid > div:last-child {
  position: relative;
  z-index: 1;
}

.home-awards h2,
.home-close h2 {
  display: inline-block;
}

.home-story { padding: 1rem 0 3.5rem; }

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.story-photos {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  min-height: 420px;
  aspect-ratio: 3 / 2;
  background: var(--card);
}

.story-pair {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
  pointer-events: none;
}

.story-pair.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s ease, visibility 0s linear 0s;
  pointer-events: auto;
  z-index: 1;
}

.story-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  border-radius: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .story-pair { transition: none; }
}

.home-story h2,
.home-product h2,
.home-awards h2,
.home-close h2 {
  font-size: clamp(2.2rem, 4.3vw, 3.35rem);
  margin: 0 0 0.9rem;
}

.home-product {
  background: transparent;
  color: var(--fg);
  padding: 3.5rem 0;
  text-align: center;
}

.home-product h2 { margin-bottom: 1.4rem; }

.fact-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  text-align: left;
}

.fact-row article {
  background: var(--card);
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid var(--line);
  color: var(--card-fg);
}

.fact-row span {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.fact-red { color: var(--red); }
.fact-green { color: var(--green); }

.product-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.photo-slot-light {
  min-height: 220px;
  background: var(--card);
  border: 1px dashed rgba(26, 31, 20, 0.28);
}

.product-action { margin: 1.4rem 0 0; }

.home-awards { padding: 3.5rem 0; text-align: center; }

.award-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
  margin-top: 1.2rem;
}

.award-row article {
  background: var(--card);
  color: var(--card-fg);
  border-radius: 16px;
  padding: 0.8rem;
}

.award-row h3 { margin: 0.15rem 0; }

.award-row p { margin: 0; color: var(--card-muted); }

.award-row .place {
  color: var(--green);
  font-weight: 700;
  margin-top: 0.8rem;
}

.photo-slot-short { min-height: 180px; }

.home-close {
  padding: 3rem 0 3.5rem;
  text-align: center;
}

.home-close .actions { justify-content: center; }

.home-close .btn.ghost { background: transparent; }

@media (max-width: 860px) {
  .home-hero-grid,
  .path-row,
  .story-grid,
  .award-row,
  .proof-row { grid-template-columns: 1fr; }
  .story-photos { min-height: 0; aspect-ratio: 3 / 2; max-height: none; }
  .metric-row { grid-template-columns: 1fr; }
  .metric-row strong { white-space: normal; }
  .fact-row { grid-template-columns: 1fr 1fr; }
  .product-shots { grid-template-columns: 1fr; }
  .home .photo-slot { min-height: 0; height: auto; }
  .hero-media { max-width: 36rem; margin-inline: auto; }
}

.problem { --max: 1160px; }

.problem h1,
.problem h2 { font-weight: 700; }

.problem h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.35rem);
  margin: 0;
  text-align: left;
}

.problem h2 {
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  margin: 0 0 1rem;
}

.prob-field { position: relative; }

.prob-wander {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.prob-wander path {
  fill: none;
  stroke-linecap: round;
  stroke-width: 4.85vw;
  vector-effect: non-scaling-stroke;
  opacity: 0.42;
}

.wander-green { stroke: var(--green); }
.wander-red { stroke: var(--red); }

.prob-hero,
.prob-early,
.prob-gaps,
.prob-cost {
  position: relative;
  z-index: 1;
}

.prob-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - var(--header) - 2.8rem);
  padding: 2.5rem 0 5.5rem;
  color: #f2f2f2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.44) 46%, rgba(0, 0, 0, 0.64) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.46) 45%, rgba(0, 0, 0, 0.66)),
    url("assets/problem-hero.webp") center 42% / cover no-repeat;
}

.prob-hero .prob-scroll,
.iq-hero .prob-scroll {
  color: rgba(255, 255, 255, 0.72);
}

.prob-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.prob-hero-aside {
  margin: 0;
  color: #f2f2f2;
  font-size: clamp(1.45rem, 2.15vw, 1.85rem);
  line-height: 1.4;
  max-width: none;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.prob-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.prob-scroll svg { width: 22px; height: 22px; color: var(--green); }

.prob-scroll-line {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.35);
}

.pixels-mini {
  position: static;
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 0.35rem;
  vertical-align: -1px;
  color: var(--green);
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 6px 6px no-repeat,
    linear-gradient(currentColor, currentColor) 8px 0 / 6px 6px no-repeat,
    linear-gradient(currentColor, currentColor) 8px 8px / 6px 6px no-repeat;
}

.prob-early { padding: 4.5rem 0 5rem; }

.prob-early-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.prob-frame {
  min-height: 460px;
  border: 1.5px solid var(--green);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--card-muted);
  background:
    radial-gradient(circle at 30% 20%, rgba(147, 209, 46, 0.18), transparent 42%),
    var(--card);
}

img.prob-frame {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center 42%;
  padding: 0;
}

.prob-frame svg { width: 54px; height: 54px; }

.prob-frame span {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.prob-early-copy { position: relative; }

.prob-early-copy > p { color: var(--muted); }

.prob-note {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.4rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--green);
  border-radius: 14px;
}

.prob-note svg {
  width: 34px;
  height: 34px;
  flex: none;
  color: var(--green);
}

.prob-note p {
  margin: 0;
  color: var(--fg);
  font-weight: 700;
  font-size: 1.05rem;
}

.prob-gaps { padding: 4.5rem 0 5rem; text-align: center; }

.prob-sub {
  margin: 0 auto 1.8rem;
  color: var(--muted);
  max-width: 38rem;
}

.gap-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: left;
}

.gap-row article {
  background: var(--card);
  color: var(--card-fg);
  border: 1.5px solid rgba(147, 209, 46, 0.75);
  border-radius: 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gap-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--card);
}

.gap-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.45s ease;
}

.gap-row article:hover .gap-media img,
.gap-row article:focus-within .gap-media img {
  transform: scale(1.06);
}

.gap-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.gap-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.25rem 1.2rem;
}

.gap-num {
  margin: 0 0 0.7rem;
  color: var(--green);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.gap-row h3 {
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
}

.gap-body > p { margin: 0; color: var(--card-muted); }

.gap-label {
  position: relative;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--card-muted);
}

.gap-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 2.4rem;
  height: 2px;
  background: var(--red);
}

.gap-response {
  margin-top: 0.7rem;
  color: var(--green);
  font-weight: 700;
}

.prob-cost { padding: 4.5rem 0 4rem; text-align: center; }

.prob-cost .kicker,
.prob-cost h2 { text-align: center; }

.prob-cost h2 { max-width: 16em; margin-left: auto; margin-right: auto; }

.cost-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0 3rem;
  text-align: left;
}

.cost-row article {
  background: var(--card);
  color: var(--card-fg);
  border-radius: 22px;
  padding: 1.3rem 1.25rem 1.4rem;
  border: 1.5px solid rgba(147, 209, 46, 0.7);
}

.cost-row .cost-red { border-color: rgba(171, 5, 7, 0.75); }

.cost-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 1rem;
  color: var(--green);
  background: rgba(147, 209, 46, 0.08);
  border: 1.5px solid rgba(147, 209, 46, 0.45);
}

.cost-red .cost-icon {
  color: var(--red);
  background: rgba(171, 5, 7, 0.08);
  border-color: rgba(171, 5, 7, 0.45);
}

.cost-icon svg { width: 46px; height: 46px; }

.cost-row h3 { margin: 0 0 0.45rem; font-size: 1.35rem; }

.cost-row p { margin: 0; color: var(--card-muted); }

.prob-bridge { margin-top: 0.4rem; }

.prob-down {
  width: 46px;
  height: 46px;
  margin: 0.4rem auto 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  color: var(--green);
  text-decoration: none;
}

.prob-down svg { width: 22px; height: 22px; }

.prob-solution {
  padding: 4.5rem 0 4rem;
  background: #111 url("assets/problem-cards.png") center / cover no-repeat;
}

.solution-panel {
  width: min(740px, 100%);
  background: rgba(8, 8, 8, 0.9);
  border: 1.5px solid var(--green);
  border-radius: 26px;
  padding: 1.8rem 2rem 1.7rem;
  color: #f2f2f2;
}

.solution-panel h2 { max-width: 12em; }

.solution-panel p { color: rgba(255, 255, 255, 0.72); margin: 0 0 1.3rem; }

.problem .solution-panel .actions { justify-content: flex-start; }

.solution-panel .btn.ghost {
  background: rgba(0, 0, 0, 0.35);
  color: #f2f2f2;
  border-color: rgba(255, 255, 255, 0.55);
}

.problem-footer {
  background: var(--bg);
  border-top: 0;
  padding: 1.4rem 0 1.5rem;
}

.problem-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.problem-footer .logo img { height: 46px; }

.problem-footer .fine { margin: 0.35rem 0 0; }

.problem-socials {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}

.problem-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--fg);
  text-decoration: none;
}

.problem-socials svg { width: 18px; height: 18px; color: var(--green); }

@media (max-width: 860px) {
  .prob-hero { min-height: 0; padding: 2.2rem 0 2.5rem; }
  .prob-scroll {
    position: static;
    transform: none;
    margin: 1.6rem auto 0;
  }
  .prob-hero-grid,
  .prob-early-grid,
  .gap-row,
  .cost-row { grid-template-columns: 1fr; }
  .prob-frame { min-height: 280px; }
  .problem-footer-row { align-items: flex-start; }
  .problem-socials {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    border-left: 0;
    padding-left: 0;
  }
}

.invest h1,
.invest h2 { font-weight: 700; line-height: 1.05; }

.invest h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  margin: 0;
}

.invest h2 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); margin: 0; }

.iq-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - var(--header) - 2.8rem);
  padding: 2.5rem 0 5.5rem;
  color: #f2f2f2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.48) 48%, rgba(0, 0, 0, 0.66) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.42) 46%, rgba(0, 0, 0, 0.68)),
    #111 url("assets/investquest-hero.png") center / cover no-repeat;
}

.iq-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.iq-aside {
  margin: 0;
  color: #f2f2f2;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.4;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.iq-field { position: relative; }

.iq-fit,
.iq-works,
.iq-learn,
.iq-media,
.iq-close {
  position: relative;
  z-index: 1;
}

.iq-fit { padding: 4.8rem 0 2rem; }

.iq-rule { display: flex; align-items: center; gap: 0.7rem; }
.iq-rule::before {
  content: "";
  width: 1.6rem;
  height: 3px;
  border-radius: 99px;
  background: var(--green);
}

.iq-fit-head,
.iq-learn-head {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.iq-fit-head p,
.iq-sub { margin: 0.8rem 0 0; color: var(--muted); font-size: 1.15rem; }

.iq-fit-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.iq-fit-row article {
  background: var(--card);
  color: var(--card-fg);
  border: 1.5px solid rgba(147, 209, 46, 0.75);
  border-radius: 22px;
  padding: 0.7rem 0.7rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.iq-frame {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: color-mix(in srgb, var(--card) 70%, #fff);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--card-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

img.iq-frame {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center 40%;
}

.iq-fit-copy { position: relative; padding: 0 0.45rem; min-height: 7.2rem; }
.iq-fit-copy h3 { margin: 0 0 0.35rem; font-size: 1.45rem; }
.iq-fit-copy p { margin: 0; color: var(--card-muted); max-width: 16rem; }

.iq-mark {
  position: absolute;
  right: 0.2rem;
  bottom: 0;
  width: 52px;
  height: 52px;
  color: var(--green);
}

.iq-mark-red { color: var(--red); }

.iq-fit-row .iq-btn { margin: 0 0.45rem; align-self: flex-start; }

.iq-btn { border-radius: 999px; }
.iq-btn-red { background: var(--red); color: #fff; }

.iq-works { padding: 4.5rem 0 5.5rem; }

.iq-works-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.iq-steps {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
}

.iq-steps li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
}

.iq-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #111;
  font-weight: 700;
  font-size: 1.25rem;
}

.iq-num-red { background: var(--red); color: #fff; }

.iq-steps h3 { margin: 0 0 0.15rem; font-size: 1.2rem; }
.iq-steps p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.iq-steps svg { width: 58px; height: 58px; color: var(--fg); }

.iq-video-wrap { position: relative; }

.iq-screen {
  border: 2px solid var(--green);
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 10;
}

.iq-screen iframe { width: 100%; height: 100%; border: 0; display: block; }

.iq-learn { padding: 2rem 0 2.5rem; }

.iq-media { padding: 1.5rem 0 3.5rem; }
.iq-media h2 { margin-bottom: 1.4rem; }

.iq-media-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.iq-media-row h3 { margin: 0.85rem 0 0; font-size: 1.2rem; }

.iq-close-frame {
  align-self: stretch;
  aspect-ratio: auto;
  height: auto;
  min-height: 240px;
}

img.iq-frame.iq-close-frame {
  width: 100%;
  min-height: 320px;
  object-fit: contain;
  object-position: center;
  background: #f4f4f4;
}

.iq-badge {
  justify-self: end;
  margin: 0;
  background: var(--card);
  color: var(--card-fg);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.25;
  transform: none;
}

.iq-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  text-align: center;
  margin-top: 1rem;
}

.iq-path::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 110px;
  height: 3px;
  background: var(--green);
  border-radius: 99px;
}

.iq-path article { position: relative; z-index: 1; }
.iq-path h3 { margin: 0.7rem 0 0.25rem; font-size: 1.15rem; }
.iq-path p { margin: 0 auto; color: var(--muted); font-size: 0.92rem; max-width: 12rem; }

.iq-blob {
  width: 92px;
  height: 92px;
  margin: 0 auto 0.7rem;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #111;
  border-radius: 50%;
}

.iq-blob svg,
.iq-blob img { width: 48px; height: 48px; object-fit: contain; }
.iq-blob-red { background: var(--red); color: #fff; }

.iq-dot {
  width: 28px;
  height: 28px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-weight: 700;
  font-size: 0.85rem;
}

.iq-close { padding: 1rem 0 4.5rem; }

.iq-close-panel {
  background: var(--card);
  color: var(--card-fg);
  border-radius: 28px;
  padding: 2.2rem 2rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.iq-close-panel p { margin: 0.8rem 0 0; color: var(--card-muted); font-size: 1.15rem; }

.iq-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.3rem; }

.iq-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  margin: 1.3rem 0 0;
  padding: 0;
  color: var(--card-fg);
  font-weight: 600;
}

.iq-facts li { display: inline-flex; align-items: center; gap: 0.4rem; }
.iq-facts svg { width: 22px; height: 22px; color: var(--green); }
.iq-facts .iq-class { width: 26px; height: 22px; }

@media (max-width: 860px) {
  .iq-hero { min-height: 0; padding: 2.2rem 0 2.5rem; }
  .iq-hero .prob-scroll { position: static; transform: none; margin: 1.6rem auto 0; }
  .iq-hero-grid,
  .iq-fit-head,
  .iq-learn-head,
  .iq-works-grid,
  .iq-fit-row,
  .iq-close-panel,
  .iq-media-row,
  .iq-path { grid-template-columns: 1fr; }
  .iq-badge { justify-self: start; }
  .iq-path::before { display: none; }
  .iq-fit-copy { min-height: 0; }
  .iq-mark { position: static; display: block; margin-top: 0.6rem; }
}

.impact h1,
.impact h2 { font-weight: 700; line-height: 0.98; }

.impact h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.35rem);
  margin: 0;
}

.impact-hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.55) 46%, rgba(0, 0, 0, 0.7) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.5) 42%, rgba(0, 0, 0, 0.72)),
    url("assets/impact-banner.jpg") center 42% / cover no-repeat;
}

.impact-stage {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  padding: 4.2rem 0 3.6rem;
}

.impact-panel {
  display: none;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 2.2rem 2.8rem;
  align-items: stretch;
}

.impact-panel:not([hidden]) { display: grid; }

.impact-kicker {
  margin: 0 0 0.85rem;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

.impact-copy { position: relative; display: flex; flex-direction: column; min-width: 0; }

.impact-copy h2 {
  margin: 0;
  max-width: 8.2em;
  font-size: clamp(3.1rem, 5.4vw, 5rem);
  letter-spacing: -0.03em;
}

.impact-copy > p:not(.impact-kicker):not(.impact-index) {
  margin: 1.15rem 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.impact-index {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: auto 0 0;
  padding-top: 1.4rem;
  color: var(--green);
  font-size: clamp(7.8rem, 14vw, 10.8rem);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.05em;
}

.impact-photos {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  min-width: 0;
}

.impact-photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 1.12 / 1;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--card);
  color: var(--card-muted);
  text-align: center;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.impact-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  border-radius: inherit;
}

.impact-sticker {
  position: absolute;
  z-index: 2;
  background: var(--green);
  color: #141414;
  font-weight: 700;
  font-size: 1.65rem;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  padding: 0.7rem 1.05rem;
  border-radius: 12px;
}

.impact-sticker.at-a { top: -0.95rem; left: -0.45rem; transform: rotate(-8deg); }
.impact-sticker.at-b { top: -1rem; right: -0.2rem; transform: rotate(7deg); }
.impact-sticker.at-c { bottom: -0.95rem; left: -0.35rem; transform: rotate(-6deg); }

.impact-scribble {
  position: absolute;
  pointer-events: none;
}

.impact-scribble-loop {
  z-index: 2;
  width: 84px;
  right: -28px;
  bottom: -28px;
  color: var(--red);
}

#impact-panel-0 .impact-photo:nth-child(1) { background: #2a5a32; }
#impact-panel-0 .impact-photo:nth-child(2) { background: #3e7a40; }
#impact-panel-0 .impact-photo:nth-child(3) { background: #1e4630; }
#impact-panel-0 .impact-photo:nth-child(4) { background: #4d8f4a; }

#impact-panel-1 .impact-photo:nth-child(1) { background: #1d4e78; }
#impact-panel-1 .impact-photo:nth-child(2) { background: #2f6ea3; }
#impact-panel-1 .impact-photo:nth-child(3) { background: #163a5c; }
#impact-panel-1 .impact-photo:nth-child(4) { background: #4a8ec4; }

#impact-panel-2 .impact-photo:nth-child(1) { background: #7a3040; }
#impact-panel-2 .impact-photo:nth-child(2) { background: #a34548; }
#impact-panel-2 .impact-photo:nth-child(3) { background: #5c2434; }
#impact-panel-2 .impact-photo:nth-child(4) { background: #c46a4a; }

.impact-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.6rem;
}

.impact-switch [role="tab"] {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.impact-dot {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d5d5d5;
  color: #3a3a3a;
  font-size: 0.72rem;
  font-weight: 700;
}

.impact-switch [aria-selected="true"] { color: var(--fg); }

.impact-switch [aria-selected="true"] .impact-dot {
  background: var(--green);
  color: #141414;
}

.impact-label { position: relative; }

.impact-switch [aria-selected="true"] .impact-label {
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.impact-rail {
  position: relative;
  flex: 1 1 4.5rem;
  max-width: 7.5rem;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.impact-rail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: rgba(26, 31, 20, 0.28);
}

.impact-rail span {
  position: absolute;
  left: 0;
  top: 50%;
  height: 2px;
  width: 0;
  transform: translateY(-50%);
  background: var(--green);
}

.impact-rail.is-filled span { width: 100%; }
.impact-rail.is-filling span { animation: impact-fill 7s linear forwards; }

.impact-stage.is-paused .impact-rail.is-filling span { animation-play-state: paused; }

.impact-stage .wrap { position: relative; }

.impact-panel.is-leave {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: grid;
  width: 100%;
  pointer-events: none;
}

.impact-panel.is-leave .impact-copy { visibility: hidden; }

.impact-panel.is-leave .impact-photos {
  animation: impact-out 0.34s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.impact-panel.is-enter .impact-photos {
  animation: impact-in 0.34s cubic-bezier(0.16, 0.84, 0.32, 1);
}

@keyframes impact-out {
  from { transform: translateX(0); }
  to { transform: translateX(112%); }
}

@keyframes impact-in {
  from { transform: translateX(-112%); }
  to { transform: translateX(0); }
}

@keyframes impact-fill {
  from { width: 0; }
  to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .impact-rail.is-filling span,
  .impact-panel.is-leave .impact-photos,
  .impact-panel.is-enter .impact-photos { animation: none; }
}

@media (max-width: 860px) {
  .impact-hero { min-height: 0; padding: 2.2rem 0 2.5rem; }
  .impact-hero .prob-scroll { position: static; transform: none; margin: 1.6rem auto 0; }
  .impact-panel:not([hidden]) { grid-template-columns: 1fr; }
  .impact-copy h2 { max-width: none; }
  .impact-index { font-size: 7.6rem; }
  .impact-switch {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 0.65rem;
    padding-bottom: 0.35rem;
  }
  .impact-switch [role="tab"] { flex: none; font-size: 0.95rem; }
  .impact-rail { flex: 1 0 2.4rem; max-width: 3.4rem; }
  .impact-dot { width: 30px; height: 30px; }
}

.team h1,
.team h2 { font-weight: 700; line-height: 1.05; }

.team h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  margin: 0 0 0.8rem;
}

.team h2 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); margin: 0 0 0.8rem; }

.team-hero,
.team-mission,
.team-officers {
  position: relative;
  z-index: 1;
}

.team-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.team-hero-grid img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
}

.team-hero-grid p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.45;
  max-width: 36rem;
}

.team .people { grid-template-columns: repeat(2, minmax(0, 360px)); }

.person h3 a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.person h3 a:hover { color: var(--green); }

@media (max-width: 860px) {
  .team-hero-grid,
  .team .people { grid-template-columns: 1fr; }
}

.ig-feed { margin-top: 2.6rem; }

.ig-feed-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.ig-feed-head a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

.ig-viewport { overflow: hidden; }

.ig-track {
  display: flex;
  gap: 0.9rem;
  transition: transform 0.55s ease;
}

.ig-card {
  flex: 0 0 calc((100% - 1.8rem) / 3);
  border-radius: 16px;
  overflow: hidden;
}

.ig-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.ig-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.ig-controls button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}

.ig-controls button:hover { border-color: var(--green); color: var(--green); }

.ig-controls svg { width: 18px; height: 18px; }

@media (max-width: 860px) {
  .ig-card { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ig-track { transition: none; }
}

.contact { --max: 1160px; }

.contact h1,
.contact h2 { font-weight: 700; line-height: 1.05; }

.contact h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  margin: 0;
}

.contact h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 0 0 0.8rem; }

.contact-hero,
.contact-stage {
  position: relative;
  z-index: 1;
}

.contact-hero { padding-bottom: 1.2rem; }

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
}

.contact-hero-grid > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.4;
}

.contact-stage { padding-top: 0.4rem; }

.contact-roles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.contact-role {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-height: 168px;
  padding: 1rem 1rem 1.1rem;
  text-align: left;
  color: inherit;
  font: inherit;
  background: var(--card);
  color: var(--card-fg);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
}

.contact-role-kicker {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
}

.contact-role-red .contact-role-kicker { color: var(--red); }

.contact-role-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.contact-role-line {
  color: var(--card-muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-role[aria-selected="true"] {
  border-color: var(--green);
  background: color-mix(in srgb, var(--card) 70%, #fff);
}

.contact-role-red[aria-selected="true"] { border-color: var(--red); }

.contact-role:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.contact-empty,
.contact-panel {
  margin-top: 1rem;
  background: var(--card);
  color: var(--card-fg);
  border: 1.5px solid rgba(147, 209, 46, 0.55);
  border-radius: 22px;
  padding: 1.4rem 1.4rem 1.5rem;
}

.contact-empty { max-width: 40rem; }

.contact-empty p:last-child { margin-bottom: 0; }

.contact-empty a,
.contact-brief a { color: var(--green); }

.contact-panel[hidden] { display: none; }

.contact-panel {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 2rem 2.4rem;
  align-items: start;
}

.contact-brief p { color: var(--card-fg); }

.contact-brief ul {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.contact-brief li {
  position: relative;
  padding-left: 1rem;
  color: var(--card-muted);
}

.contact-brief li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--green);
}

.contact-panel form {
  display: grid;
  gap: 0.75rem;
  max-width: none;
}

.contact-panel label span { font-size: 0.92rem; }

.contact-panel input,
.contact-panel textarea,
.contact-panel select { width: 100%; }

.contact-panel select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position: calc(100% - 18px) 1.05em, calc(100% - 12px) 1.05em;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.contact-panel .fine { margin: 0; }

.contact-panel .btn { text-align: center; }

#contact-panel-family .btn.ghost:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

@media (max-width: 860px) {
  .contact-hero-grid,
  .contact-roles,
  .contact-panel { grid-template-columns: 1fr; }
  .contact-role { min-height: 0; }
}

.shop { --max: 1160px; }

.shop h1,
.shop h2 { font-weight: 700; line-height: 1.05; }

.shop h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin: 0 0 0.45rem;
}

.shop-buy,
.shop-policies,
.shop-checkout {
  position: relative;
  z-index: 1;
}

.shop-buy { padding-bottom: 1.5rem; }

.shop .price {
  color: var(--green);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  margin: 0.2rem 0 0.7rem;
}

.shop-ship { margin: 0 0 0.8rem; }

.shop-add {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 1.2rem 0 0.45rem;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.qty button {
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--card);
  color: var(--card-fg);
  font: inherit;
  font-size: 1.3rem;
  cursor: pointer;
}

.qty input {
  width: 3.2rem;
  border: 0;
  border-radius: 0;
  text-align: center;
  background: #fff;
  padding: 0.55rem 0.2rem;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { appearance: none; margin: 0; }

.shop-policies { padding-top: 0.5rem; }

.shop-policies h2 { font-size: 1.35rem; margin: 0 0 0.45rem; }

.nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.nav-cart span,
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 0.3rem;
  border-radius: 99px;
  background: var(--green);
  color: #111;
  font-size: 0.78rem;
  font-weight: 700;
}

.cart-drawer[hidden] { display: none; }

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  overflow: auto;
  background: var(--bg);
  border-left: 1px solid var(--line);
  padding: 1.2rem 1.2rem 2rem;
}

.cart-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cart-panel-head h2 { margin: 0; font-size: 1.6rem; }

.cart-panel-head button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--fg);
  font-size: 1.6rem;
  cursor: pointer;
}

.cart-line {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 0.8rem;
  margin: 1.2rem 0;
}

.cart-line img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
}

.cart-line p { margin: 0.2rem 0 0.55rem; color: var(--muted); }

.cart-totals {
  display: grid;
  gap: 0.4rem;
  margin: 0.4rem 0 1rem;
}

.cart-totals div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.cart-empty { color: var(--muted); }

.checkout-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: start;
  margin-top: 1.2rem;
}

.checkout-form,
.checkout-summary {
  background: var(--card);
  color: var(--card-fg);
  border: 1.5px solid rgba(147, 209, 46, 0.55);
  border-radius: 22px;
  padding: 1.3rem 1.3rem 1.4rem;
}

.checkout-summary .cart-line p { color: var(--card-muted); }

.checkout-form { display: grid; gap: 0.75rem; }

.checkout-form h2,
.checkout-summary h2 { font-size: 1.45rem; margin: 0.2rem 0; }

.checkout-form label span { font-size: 0.92rem; }

.checkout-form input,
.checkout-form select { width: 100%; }

.checkout-row {
  display: grid;
  grid-template-columns: 1.3fr 0.5fr 0.7fr;
  gap: 0.7rem;
}

.card-container {
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem;
  background: #fff;
}

.checkout-status { min-height: 1.2rem; margin: 0; color: var(--card-muted); }

.checkout-summary .cart-line { margin-top: 0.4rem; }

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