/* Mantx marketing website — shared styles. Builds on the design-system tokens
   (../../styles.css). Header, footer, hero, sections, device mockups, motion. */

/* ============ Layout primitives ============ */
.site { overflow-x: hidden; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--container-wide); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 1.5rem + 5vw, 5.5rem); }

.eyebrow-row { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-5); }

.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--text-body); max-width: 60ch; }
.lead--dark { color: var(--text-on-dark-muted); }
/* Over photo/video grounds the muted token can't hold 4.5:1 against bright
   patches — use full-opacity white for body copy there. */
.band .lead--dark,
section:has(> .hero__bg) .lead--dark { color: #fff; }
/* Eyebrow badges over photo/video need a solid ground — the 18% mint fill
   can't hold 4.5:1 against bright frames. */
.band .badge--ondark,
section:has(> .hero__bg) .badge--ondark { background: var(--forest-700); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* ============ Buttons (mirrors DS Button) ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: var(--fw-bold); letter-spacing: -0.01em;
  line-height: 1; border: 2px solid transparent; border-radius: var(--radius-pill);
  padding: 14px 26px; font-size: 1rem; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.btn svg { width: 18px; height: 18px; }
.btn--lg { padding: 17px 32px; font-size: 1.0625rem; }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn--secondary { background: transparent; color: var(--forest-700); border-color: var(--forest-700); }
.btn--secondary:hover { background: var(--forest-700); color: #fff; transform: translateY(-2px); }
.btn--dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--dark:hover { background: #fff; color: var(--forest-700); border-color: #fff; transform: translateY(-2px); }
.btn--ondark { background: var(--accent); color: #fff; box-shadow: var(--shadow-glow); }
.btn--ondark:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* ============ Eyebrow badge ============ */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: var(--fw-bold); font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase; line-height: 1;
  padding: 8px 15px; border-radius: var(--radius-pill);
  background: var(--mint-300); color: var(--forest-900);
}
.badge svg { width: 15px; height: 15px; }
.badge--ondark { background: rgba(134,205,176,0.18); color: var(--mint-300); }
.badge--soft { background: var(--mint-100); color: var(--forest-700); }

/* ============ Header ============ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background var(--dur-med) var(--ease-soft), box-shadow var(--dur-med) var(--ease-soft),
              padding var(--dur-med) var(--ease-soft), border-color var(--dur-med) var(--ease-soft);
  padding-block: 20px; border-bottom: 1px solid transparent;
}
.site-header__inner { display: flex; align-items: center; gap: var(--space-6); }
.site-header__logo img { height: 30px; width: auto; transition: height var(--dur-med) var(--ease-soft); }
/* Dual logo: dark wordmark by default; light wordmark only on dark heroes at the
   top of the page. When the header condenses to solid white, always show dark so
   it never disappears. */
.site-header__logo .logo--light { display: none; }
.site-header__logo .logo--dark { display: block; }
.site-header--ondark:not(.is-condensed) .logo--dark { display: none; }
.site-header--ondark:not(.is-condensed) .logo--light { display: block; }
.site-header__nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.site-header__cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.navlink {
  font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: 0.98rem;
  color: var(--forest-700); padding: 9px 14px; border-radius: var(--radius-pill);
  position: relative; transition: color var(--dur-fast), background var(--dur-fast);
}
.navlink:hover { background: var(--mint-100); }
.navlink--active { color: var(--forest-700); }
.navlink--active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2.5px;
  background: var(--accent); border-radius: 2px;
}
/* default (top of page) on dark/forest heroes => light header */
.site-header--ondark .navlink { color: rgba(255,255,255,0.88); }
.site-header--ondark .navlink:hover { background: rgba(255,255,255,0.12); }
.site-header--ondark .navlink--active::after { background: var(--mint-300); }

/* condensed (scrolled) — always solid white */
.site-header.is-condensed {
  background: rgba(255,255,255,0.92); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: var(--shadow-sm); border-bottom-color: var(--border-subtle); padding-block: 11px;
}
.site-header.is-condensed .site-header__logo img { height: 26px; }
.site-header.is-condensed .navlink { color: var(--forest-700); }
.site-header.is-condensed .navlink:hover { background: var(--mint-100); }
.site-header.is-condensed .navlink--active::after { background: var(--accent); }

/* Floating header "bubble": at the top of every page the nav sits in a frosted
   pill so it doesn't get lost on the hero. Once scrolled (.is-condensed) the
   header goes solid white full-width and the bubble drops away. */
.site-header:not(.is-condensed) .site-header__inner {
  background: rgba(255,255,255,0.66);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
          backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--radius-pill);
  padding: 9px 14px 9px 20px;
  box-shadow: var(--shadow-sm);
  transition: background var(--dur-med) var(--ease-soft), box-shadow var(--dur-med) var(--ease-soft), border-color var(--dur-med) var(--ease-soft);
}
/* On dark/forest heroes the nav + logo are light, so use a dark frosted pill. */
.site-header--ondark:not(.is-condensed) .site-header__inner {
  background: rgba(20,46,32,0.34);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 8px 26px rgba(14,58,35,0.28);
}

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--forest-700); }
.menu-toggle svg { width: 26px; height: 26px; }

/* ============ Hero ============ */
.hero { position: relative; padding-top: clamp(8rem, 6rem + 8vw, 12rem); padding-bottom: var(--section-y); overflow: hidden; }
/* sections whose background is a video read darker than photos — lighten the haze */
section:has(> .hero__bg > .hero__video) .hero__haze {
  background:
    linear-gradient(180deg, rgba(14,58,35,0.55) 0%, rgba(22,80,50,0.66) 100%),
    radial-gradient(120% 90% at 70% 10%, rgba(72,169,66,0.18), transparent 60%);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--forest-700); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero__title { font-size: var(--fs-display-xl); font-weight: var(--fw-black); }
.hero__sub { margin-top: var(--space-5); }
.hero__cta { margin-top: var(--space-6); }

.hero--forest { background: var(--forest-700); color: #fff; }
.hero--forest .hero__title, .hero--forest h1 { color: #fff; }
.hero--mint { background:
  linear-gradient(155deg, var(--mint-200) 0%, var(--mint-100) 42%, #ffffff 82%),
  radial-gradient(70% 90% at 0% 0%, rgba(72,169,66,0.18), transparent 55%); }

/* ============ Mantis decoration (filled mark, reveals in) ============ */
.mantis-trace {
  position: absolute; z-index: 1; top: 50%; right: clamp(2rem, 1rem + 6vw, 7rem);
  transform: translateY(-50%); width: clamp(280px, 32vw, 520px); aspect-ratio: 600/792;
  pointer-events: none; opacity: 0.22;
  -webkit-mask-image: linear-gradient(105deg, #000 0 var(--trace, 0%), transparent calc(var(--trace, 0%) + 8%));
          mask-image: linear-gradient(105deg, #000 0 var(--trace, 0%), transparent calc(var(--trace, 0%) + 8%));
  animation: mantis-draw 5.5s var(--ease-soft) 0.4s forwards, mantis-float 9s var(--ease-soft) 6s infinite;
}
.mantis-trace__img { width: 100%; height: 100%; object-fit: contain;
  /* render the mint mark as a deeper forest-green wash */
  filter: grayscale(1) brightness(0.32) sepia(1) hue-rotate(78deg) saturate(3); }
@property --trace { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@keyframes mantis-draw { from { --trace: 0%; } to { --trace: 108%; } }
@keyframes mantis-float { 0%,100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 14px)); } }
@media (prefers-reduced-motion: reduce) {
  .mantis-trace { animation: none; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 860px) { .mantis-trace { display: none; } }

/* hero background video + green haze (used by .has-video) */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 75%; z-index: 0; }
.hero__haze {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(14,58,35,0.62) 0%, rgba(22,80,50,0.74) 100%),
    radial-gradient(120% 90% at 70% 10%, rgba(72,169,66,0.22), transparent 60%);
}
/* with a video bg, the headline column needs to sit above both bg layers */
.hero.has-video .hero__grid { z-index: 2; }

/* texture: subtle radial glows on dark heroes */
.glow-field::before {
  content:""; position:absolute; z-index:1; width:60vw; height:60vw; right:-15vw; top:-20vw;
  background: radial-gradient(circle, rgba(72,169,66,0.30), transparent 62%); pointer-events:none;
}
.glow-field::after {
  content:""; position:absolute; z-index:1; width:45vw; height:45vw; left:-12vw; bottom:-18vw;
  background: radial-gradient(circle, rgba(134,205,176,0.18), transparent 60%); pointer-events:none;
}

/* ============ Section headings ============ */
.section-head { max-width: 64ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.h-xl { font-size: var(--fs-display-l); font-weight: var(--fw-black); }
.h-lg { font-size: var(--fs-display-m); font-weight: var(--fw-extra); }
.h-md { font-size: var(--fs-display-s); font-weight: var(--fw-extra); }

/* ============ Check list ============ */
.checklist { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: flex; flex-direction: column; gap: var(--space-3); }
.checklist li { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--fs-body); line-height: var(--lh-body); }
.checklist .tick {
  flex: none; margin-top: 3px; width: 26px; height: 26px; border-radius: 999px;
  background: var(--mint-300); color: var(--forest-900); display: inline-flex; align-items: center; justify-content: center;
}
.checklist .tick svg { width: 14px; height: 14px; }
.checklist--dark li { color: var(--text-on-dark); }
.checklist--dark .tick { background: var(--accent); color: #fff; }

/* ============ Cards ============ */
.card {
  background: var(--surface-card); border: 1px solid var(--border-card); border-radius: var(--radius-md);
  padding: var(--space-6); box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.card.is-interactive:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--mint-100); color: var(--green-500);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--space-4);
  transition: background var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out);
}
.card__icon svg { width: 28px; height: 28px; }
.card.is-interactive:hover .card__icon { background: var(--green-500); color: #fff; }
.card h3 { font-size: var(--fs-display-s); font-weight: var(--fw-extra); margin-bottom: 10px; }
.card p { color: var(--text-body); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }

/* ============ Alternating feature row ============ */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(3.5rem, 2rem + 5vw, 7rem); }
.feature-row.is-reversed .feature-row__media { order: -1; }
.feature-row__media { position: relative; }

/* ============ Media frame (photos) ============ */
.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card);
  background: var(--forest-700);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame--tall { aspect-ratio: 4/5; }
.media-frame--wide { aspect-ratio: 16/10; }
.media-frame--square { aspect-ratio: 1/1; }
.media-frame__tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 3;
  background: rgba(33,59,49,0.78); color: #fff; backdrop-filter: blur(6px);
  font-size: 0.8rem; font-weight: var(--fw-semibold); padding: 8px 14px; border-radius: var(--radius-pill);
}

/* ============ Full-bleed band ============ */
.band { position: relative; overflow: hidden; color: #fff; }
.band__bg { position: absolute; inset: 0; z-index: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band__overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(14,58,35,0.92) 0%, rgba(22,80,50,0.78) 45%, rgba(22,80,50,0.45) 100%); }
.band__inner { position: relative; z-index: 2; }

/* ============ Dark / CTA section ============ */
.dark-section { background: var(--charcoal-900); color: #fff; position: relative; overflow: hidden; }
.dark-section h2, .dark-section h3 { color: #fff; }
/* ============ Topographic drift (animated contour lines) ============ */
.topo { position: relative; overflow: hidden; background: var(--forest-700); color: #fff; isolation: isolate; }
.topo h2 { color: #fff; }
/* two contour layers panning in opposite directions for depth */
.topo::before {
  content: ""; position: absolute; inset: -20% -10%; z-index: 0; pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20240%2060'%3E%3Cpath%20d='M0%2030%20C%2060%206%20180%2054%20240%2030'%20fill='none'%20stroke='%23ffffff'%20stroke-opacity='0.16'%20stroke-width='1.4'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20300%2090'%3E%3Cpath%20d='M0%2045%20C%2075%2012%20225%2078%20300%2045'%20fill='none'%20stroke='%2386CDB0'%20stroke-opacity='0.18'%20stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 240px 60px, 300px 90px;
  animation: topo-a 34s linear infinite, topo-b 52s linear infinite;
  will-change: background-position;
}
/* vignette + readability over the lines */
.topo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 85% at 50% 50%, transparent 38%, rgba(14,58,35,0.55) 100%);
}
@keyframes topo-a { from { background-position: 0 0, 0 0; } to { background-position: 240px 60px, 0 0; } }
@keyframes topo-b { from { background-position: 0 0, 0 0; } to { background-position: 0 0, -300px 90px; } }
@media (prefers-reduced-motion: reduce) {
  .topo::before { animation: none; }
}

.forest-section { background: var(--forest-700); color: #fff; position: relative; overflow: hidden; }
.forest-section h2 { color: #fff; }

/* ============ Aurora drift (animated green background) ============ */
.aurora { position: relative; overflow: hidden; background: var(--forest-700); color: #fff; isolation: isolate; }
.aurora h2 { color: #fff; }
.aurora::after { /* subtle vignette so text stays legible over the moving glows */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 50%, transparent 40%, rgba(14,58,35,0.45) 100%);
}
.aurora__blob {
  position: absolute; z-index: 0; border-radius: 50%; pointer-events: none;
  filter: blur(55px); opacity: 0.72; will-change: transform;
}
.aurora__blob--1 { width: 48vw; height: 48vw; left: -8vw; top: -14vw;
  background: radial-gradient(circle, rgba(72,169,66,0.95), transparent 68%);
  animation: aurora-1 13s var(--ease-soft) infinite; }
.aurora__blob--2 { width: 42vw; height: 42vw; right: -10vw; top: -6vw;
  background: radial-gradient(circle, rgba(134,205,176,0.82), transparent 66%);
  animation: aurora-2 16s var(--ease-soft) infinite; }
.aurora__blob--3 { width: 40vw; height: 40vw; left: 30vw; bottom: -20vw;
  background: radial-gradient(circle, rgba(95,190,87,0.78), transparent 67%);
  animation: aurora-3 18s var(--ease-soft) infinite; }
@keyframes aurora-1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20vw,11vw) scale(1.28); } }
@keyframes aurora-2 { 0%,100% { transform: translate(0,0) scale(1.08); } 50% { transform: translate(-17vw,13vw) scale(0.82); } }
@keyframes aurora-3 { 0%,100% { transform: translate(0,0) scale(0.92); } 50% { transform: translate(-15vw,-16vw) scale(1.3); } }
@media (prefers-reduced-motion: reduce) {
  .aurora__blob { animation: none; }
}
.cta-final { text-align: center; }
.cta-final .lead { margin-inline: auto; }

/* ============ Pills cloud ============ */
.pill-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body);
  font-weight: var(--fw-semibold); font-size: var(--fs-sm); padding: 11px 19px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.07); color: var(--off-white); box-shadow: inset 0 0 0 1px var(--border-on-dark);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.pill svg { width: 16px; height: 16px; }
.pill:hover { transform: translateY(-3px); background: var(--green-500); color: #fff; box-shadow: var(--shadow-glow); }

/* ============ Mantx software UI mockup ============ */
.mock {
  background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  overflow: hidden; border: 1px solid var(--border-card); font-family: var(--font-body);
}
.mock__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--off-white); border-bottom: 1px solid var(--border-subtle); }
.mock__dot { width: 11px; height: 11px; border-radius: 999px; background: var(--gray-200); }
.mock__dot:nth-child(1){ background:#E66A5A; } .mock__dot:nth-child(2){ background:#E6B84A; } .mock__dot:nth-child(3){ background:var(--green-400); }
.mock__tabs { margin-left: 14px; display: flex; gap: 4px; }
.mock__tab { font-size: 12px; font-weight: 600; color: var(--gray-500); padding: 5px 11px; border-radius: 7px; }
.mock__tab.is-active { background: #fff; color: var(--forest-700); box-shadow: var(--shadow-xs); }
.mock__body { padding: 18px; display: grid; gap: 12px; }

/* generic mock rows */
.mrow { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background:#fff; }
.mrow__l { display: flex; align-items: center; gap: 12px; }
.mrow__ic { width: 34px; height: 34px; border-radius: 9px; background: var(--mint-100); color: var(--green-500); display:flex; align-items:center; justify-content:center; }
.mrow__ic svg { width: 18px; height: 18px; }
.mrow__t { font-weight: 700; font-size: 14px; color: var(--gray-900); }
.mrow__s { font-size: 12px; color: var(--gray-500); }
.mtag { font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; letter-spacing: .03em; }
.mtag--green { background: var(--mint-100); color: var(--forest-700); }
.mtag--amber { background: #FBEFD2; color: #9A6A12; }
.mtag--paid { background: var(--green-500); color:#fff; }

.mock__float {
  position: absolute; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  padding: 13px 16px; display: flex; align-items: center; gap: 11px; z-index: 4; border: 1px solid var(--border-card);
}
.mock__float .mrow__ic { background: var(--green-500); color:#fff; }

/* float chip animation handled by .is-float (JS adds on scroll) */
.floaty { animation: floaty 6s var(--ease-soft) infinite; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }

/* ============ Stats ============ */
.stat-row { display: flex; flex-wrap: wrap; gap: clamp(2rem,1rem + 3vw,4rem); }
.stat__n { font-family: var(--font-display); font-weight: var(--fw-black); font-size: clamp(2.2rem,1.4rem + 2.6vw,3.4rem); line-height: 1; color: var(--forest-700); letter-spacing: -0.03em; }
.dark-section .stat__n, .forest-section .stat__n { color: var(--mint-300); }
.stat__l { margin-top: 12px; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.35; }
.dark-section .stat__l, .forest-section .stat__l { color: var(--text-on-dark-muted); }

/* ============ Footer ============ */
.site-footer { background: var(--charcoal-900); color: var(--off-white); padding-block: clamp(3rem,2rem + 3vw,5rem) 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(2rem,1rem + 3vw,4rem); }
.site-footer img.foot-logo { height: 30px; width: auto; margin-bottom: var(--space-4); }
.footer-tag { color: var(--text-on-dark-muted); max-width: 30ch; }
.foot-col h4 { font-family: var(--font-display); color:#fff; font-size: 0.85rem; letter-spacing: .1em; text-transform: uppercase; font-weight: var(--fw-bold); margin-bottom: var(--space-4); }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-col a { color: var(--text-on-dark-muted); font-size: 0.97rem; transition: color var(--dur-fast); }
.foot-col a:hover { color: var(--mint-300); }
.footer-bottom { margin-top: clamp(2.5rem,2rem + 2vw,3.5rem); padding-top: var(--space-5); border-top: 1px solid var(--border-on-dark);
  display:flex; flex-wrap: wrap; gap: 16px; align-items:center; justify-content: space-between; color: var(--text-on-dark-muted); font-size: 0.9rem; }
.footer-phone { display:inline-flex; align-items:center; gap:8px; color:#fff; font-weight: var(--fw-bold); font-family: var(--font-display); letter-spacing: -0.01em; }
.footer-phone svg { width: 18px; height: 18px; color: var(--mint-300); }

/* ============ Origin / quote block ============ */
.origin-quote { font-family: var(--font-display); font-weight: var(--fw-extra); letter-spacing: var(--ls-display);
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); line-height: 1.18; color: var(--text-strong); text-wrap: balance; }
.dark-section .origin-quote, .forest-section .origin-quote { color: #fff; }

/* ============ Reveal (with stagger) ============ */
.reveal { opacity: 0; transform: translateY(var(--reveal-shift)); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--left { transform: translateX(calc(-1 * var(--reveal-shift))); }
.reveal--right { transform: translateX(var(--reveal-shift)); }
.reveal--scale { transform: scale(0.94); }
[data-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
[data-stagger].is-visible > * { opacity: 1; transform: none; }

/* parallax target */
.parallax { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--left, .reveal--right, .reveal--scale, [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none; }
  .floaty { animation: none; }
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero__grid, .feature-row, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .feature-row.is-reversed .feature-row__media { order: 0; }
  .grid-3 { gap: var(--space-4); }
  .footer-grid { gap: var(--space-6); }
}
@media (max-width: 860px) {
  .site-header__nav { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .site-header__cta { margin-left: 0; }
  .site-header__cta .btn--demo-text { display: none; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============ Mobile drawer ============ */
.mobile-drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.mobile-drawer.is-open { display: block; }
.mobile-drawer__scrim { position: absolute; inset: 0; background: rgba(14,58,35,0.45); backdrop-filter: blur(3px); }
.mobile-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(82vw, 340px); background:#fff; padding: 24px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-lg); }
.mobile-drawer__panel .navlink { font-size: 1.15rem; padding: 14px 12px; }
.mobile-drawer__close { align-self: flex-end; background:none; border:0; cursor:pointer; color: var(--forest-700); padding: 6px; }
.mobile-drawer__close svg { width: 26px; height: 26px; }
