/* ================================================================
   G2M LABS — HOMEPAGE FOUNDATION / STYLES
   EDIT HERE: Brand colors, general spacing, type scale.
   Motion settings are under G2M_MOTION_CONFIG in the JS block.
   ================================================================ */
:root {
  --deep: #14382e;
  --ink: #18342c;
  --paper: #f4f3ee;
  --surface: #e9eee8;
  --white: #fffdf8;
  --green: #43836a;
  --purple: #7861a5;
  --orange: #ba713d;
  --blue: #3976aa;
  --yellow: #f1d875;
  --red: #a94c59;
  --muted: #61726a;
  --line: #d8e1d9;
  --ease: cubic-bezier(.22,1,.36,1);
  --font: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,a:focus-visible,input:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1160px,calc(100% - 60px));
  margin-inline: auto;
}
.eyebrow,.kicker {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--green);
}
h1,h2,h3,p {
  margin-top: 0;
}
h2 {
  font-weight: 580;
  letter-spacing: -.05em;
  line-height: 1.12;
  font-size: clamp(34px,4.2vw,58px);
}
p {
  line-height: 1.65;
}
.btn,.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 5px;
  padding: 14px 19px;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s,color .2s,transform .2s;
}
.btn {
  background: var(--deep);
  color: white;
}
.btn:hover {
  background: #286048;
  transform: translateY(-2px);
}
.outline-btn {
  border: 1px solid #a8bcb0;
}
.outline-btn:hover {
  background: #e2ebe3;
}
.result-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 19px;
}
/* SECTION 00 — responsive floating navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  padding: 0 max(30px,calc((100vw - 1160px)/2));
  background: var(--deep);
  color: white;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all .45s var(--ease);
}
.nav.floating {
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px,calc(100% - 32px));
  height: 62px;
  border-radius: 999px;
  padding-inline: 25px;
  box-shadow: 0 12px 35px #091a1557;
}

/* FOUNDATION 16.1 / OPAQUE GREEN PILL + BLACK SHADING OVERLAY
   The base remains 100% opaque brand green, even over dark site sections.
   Only the black overlay's alpha changes from transparent (top) to dark (bottom).
   No backdrop blur or semitransparent base. */
.nav { isolation: isolate; }
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, .08) 34%,
    rgba(0, 0, 0, .35) 72%,
    rgba(0, 0, 0, .68) 100%);
  opacity: 1; /* F27 nav gradient study: visible from initial load onward */
  transition: opacity .55s ease;
  pointer-events: none;
  z-index: -1;
}
.nav.floating {
  background: var(--deep);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 16px 35px rgba(0,0,0,.23), 0 1px 0 rgba(255,255,255,.12) inset;
}
.nav.floating::before { opacity: 1; }

.brand {
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -.065em;
  white-space: nowrap;
}
.brand small {
  font-size: 10px;
  letter-spacing: .13em;
  margin-left: 8px;
  color: #b8cfbf;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: clamp(12px,2.1vw,29px);
}
.navlinks a {
  font-weight: 650;
  font-size: 12px;
  transition: color .18s;
}
.navlinks a:hover,.navlinks a:focus-visible {
  color: var(--yellow);
}
.navlinks .navcta {
  border: 1px solid #ffffff73;
  padding: 11px 16px;
  border-radius: 99px;
}
.navlinks .navcta:hover {
  background: var(--yellow);
  color: var(--deep);
}
.mobile-menu-toggle {
  display: none;
  border: 1px solid #ffffff65;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background: none;
  color: white;
  font-size: 19px;
}
.mobile-links {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--deep);
  border-radius: 16px;
  box-shadow: 0 18px 35px #081d1850;
  padding: 10px;
}
.mobile-links.open {
  display: block;
}
.mobile-links a {
  display: block;
  padding: 14px;
  color: white;
  border-bottom: 1px solid #ffffff24;
}
.mobile-links a:last-child {
  border-bottom: 0;
}
.mobile-links a:hover {
  color: var(--yellow);
}
/* SECTION 01 — scrolling hero. Image is embedded into this file. */
.hero-story {
  height: 310vh;
  position: relative;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
}
.hero-under {
  position: absolute;
  inset: 0;
  background: var(--paper);
  display: flex;
  align-items: center;
  padding: 10vh max(30px,calc((100vw - 1160px)/2));
  z-index: 0;
}
.hero-under-inner {
  max-width: 950px;
}
.hero-under h2 {
  font-size: clamp(34px,4.7vw,64px);
  margin: 20px 0;
  line-height: 1.16;
  font-weight: 550;
}
.statement-word {
  color: #bdc6bd;
}
.hero-under .subline {
  font-size: clamp(15px,1.5vw,18px);
  color: var(--muted);
  max-width: 760px;
  opacity: 0;
  transform: translateY(18px);
}
.hero-moving {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  z-index: 2;
  will-change: transform;
  pointer-events: none;
}
.hero-frame {
  height: 100vh;
  transform-origin: top center;
  position: relative;
  will-change: transform;
}
.hero-panel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #19382c;
  pointer-events: auto;
}
.hero-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-background.webp");
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-panel:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,24,18,.84) 0%, rgba(8,24,18,.62) 36%, rgba(8,24,18,.24) 58%, rgba(8,24,18,0) 70%);
  z-index: 1;
}

.hero-signal-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero-signal-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-signal-line {
  fill: none;
  stroke: rgba(255,255,255,.46);
  stroke-width: 1.55;
  stroke-linecap: round;
}
.hero-signal-line.blue { stroke: rgba(111,208,255,.62); }
.hero-signal-line.purple { stroke: rgba(179,136,255,.56); }
.hero-signal-line.gold { stroke: rgba(255,205,87,.5); }
.hero-signal-line.orange { stroke: rgba(255,154,87,.52); }
.hero-signal-anchors { opacity: .46; }
.hero-cluster {
  mix-blend-mode: screen;
}

.hero-grid {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 1.07fr .93fr;
  gap: 5%;
  align-items: center;
  padding: 9vh max(30px,calc((100vw - 1160px)/2)) 12vh;
}
.hero-panel .eyebrow {
  color: #c1ddc9;
}
.hero-panel h1 {
  font-size: clamp(43px,5.5vw,76px);
  letter-spacing: -.065em;
  line-height: 1.07;
  font-weight: 590;
  margin: 20px 0 25px;
  color: white;
}
.hero-panel h1 span {
  color: #bfe0c6;
}
.hero-panel p {
  font-size: 17px;
  color: #dce9df;
  max-width: 580px;
}
.hero-panel .btn {
  background: white;
  color: var(--deep);
}
.hero-panel .btn:hover {
  background: var(--yellow);
}
.hero-visual {
  padding: 22px;
  background: #f9fcf2e8;
  border: 1px solid #e7f2e3a0;
  border-radius: 12px;
  box-shadow: 0 25px 60px #0a20185b;
  backdrop-filter: blur(7px);
}
.hero-visual-head {
  font-size: 11px;
  font-weight: 750;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.hero-visual svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 15px 0;
}
.hero-foot {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.hero-hint {
  position: absolute;
  bottom: 35px;
  left: max(30px,calc((100vw - 1160px)/2));
  z-index: 4;
  color: #e1e9df;
  font-size: 10px;
  letter-spacing: .12em;
}
.signal-band {
  position: absolute;
  top: 100%;
  width: 100%;
  height: 82px;
  background: #fffdf8;
  border-block: 1px solid #dee2d9;
  box-shadow: 0 14px 30px #15392b22;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 20px;
  padding: 0 max(30px,calc((100vw - 1160px)/2));
  align-items: center;
}
.signal {
  position: relative;
  text-align: center;
  font-size: clamp(10px,1vw,13px);
  font-weight: 850;
  letter-spacing: .075em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(16px);
}
.signal:after {
  content: "";
  position: absolute;
  height: 2px;
  background: currentColor;
  left: 15%;
  right: 15%;
  bottom: -14px;
  opacity: .5;
}
.signal:nth-child(1) {
  color: #27764a;
}
.signal:nth-child(2) {
  color: #7557a9;
}
.signal:nth-child(3) {
  color: #b6692b;
}
.signal:nth-child(4) {
  color: #326fae;
}
/* SECTION 02 — pipeline shell and guided hybrid */
.pipeline-story {
  height: 740vh;
  position: relative;
  background: #e8ede8;
}
.pipeline-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 108px max(30px,calc((100vw - 1160px)/2)) 24px;
  overflow: hidden;
}
.pipeline-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}
.pipeline-head h2 {
  font-size: clamp(27px,3.2vw,43px);
  margin: 8px 0 0;
}
.pipeline-status {
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--muted);
  font-weight: 800;
}
.pipeline-diagram {
  position: relative;
  height: calc(100% - 110px);
  min-height: 450px;
  margin-top: 14px;
}
.pipeline-shell {
  position: absolute;
  top: 12%;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
  will-change: opacity;
}
.shell-caption {
  font-size: 10px;
  letter-spacing: .15em;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--green);
}
.shell-object {
  height: clamp(180px,25vh,255px);
  position: relative;
  filter: drop-shadow(0 18px 27px #17352824);
}
.shell-half {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--shell-shade,var(--green));
  will-change: transform,opacity;
}
.shell-top {
  top: 0;
  border-radius: 110px 110px 0 0;
}
.shell-bottom {
  bottom: 0;
  border-radius: 0 0 110px 110px;
}
.shell-half:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(#ffffff19,#0000000d);
}
.shell-flow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #f1f9f090;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: .8em;
}
.shell-flow span {
  white-space: nowrap;
  will-change: transform;
}
.warning-tags {
  position: absolute;
  left: 0;
  right: 0;
  top: -55px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
}
.warning-tags span {
  font-size: 10px;
  white-space: nowrap;
  background: #fcf8f3;
  padding: 9px 12px;
  text-align: center;
  border-radius: 40px;
  color: #a35b3c;
  font-weight: 800;
  opacity: 0;
  transform: translateY(18px);
  border: 1px solid #d9b7aa;
}
.hybrid-pipe {
  position: absolute;
  top: 11%;
  left: 0;
  right: 0;
  z-index: 5;
  opacity: 0;
  will-change: opacity,transform;
}
.pipe-label {
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--green);
  font-weight: 800;
  margin-bottom: 12px;
}
.pipeline-stages {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 8px;
}
.stage {
  min-height: 81px;
  border-radius: 7px;
  border: 1px solid #c3d6c8;
  background: #fffdf8;
  padding: 13px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  color: var(--ink);
  font-weight: 750;
}
.stage .num {
  font-size: 10px;
  color: #728779;
}
.stage strong {
  font-size: clamp(10px,1.13vw,14px);
}
.stage.active {
  background: var(--deep);
  color: white;
  border-color: var(--deep);
  box-shadow: 0 12px 22px #14382e26;
}
.stage.active .num {
  color: #d3e7d8;
}
.stage:hover {
  border-color: var(--green);
}
.levers-wrap {
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  opacity: 0;
  z-index: 4;
  pointer-events: none;
}
.lever-label {
  font-size: 10px;
  letter-spacing: .13em;
  color: #63796a;
  font-weight: 800;
  margin-bottom: 12px;
}
.pipeline-levers {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 9px;
}
.lever {
  height: 61px;
  border: 1px solid #cbdbce;
  border-radius: 7px;
  background: #f9faf5;
  color: var(--muted);
  font-weight: 700;
  font-size: clamp(9px,1.05vw,13px);
}
.lever.active {
  background: #e1f0e4;
  color: #20563b;
  border-color: #67a585;
}
.lever.dim {
  opacity: .35;
}
.connectors {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  opacity: 0;
}
.connectors path {
  fill: none;
  stroke: #96b3a0;
  stroke-width: 1.4;
  opacity: .17;
}
.connectors path.active {
  stroke: var(--green);
  stroke-width: 3;
  opacity: .95;
}
.pipeline-panel {
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: min(790px,100%);
  transform: translateX(-50%) translateY(16px);
  z-index: 8;
  border-radius: 13px;
  padding: clamp(19px,2.4vw,28px);
  background: var(--deep);
  color: white;
  opacity: 0;
  box-shadow: 0 22px 42px #09241924;
}
.panel-top {
  display: flex;
  justify-content: space-between;
  color: #b8dbc4;
  font-size: 10px;
  letter-spacing: .12em;
  font-weight: 800;
}
.pipeline-panel h3 {
  font-size: clamp(21px,2.5vw,31px);
  margin: 13px 0 10px;
  letter-spacing: -.045em;
  font-weight: 600;
}
.pipeline-panel p {
  font-size: 13px;
  color: #d3e5d8;
  margin: 0 0 13px;
}
.lever-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.lever-tags span {
  border: 1px solid #8cb9a0;
  padding: 6px 10px;
  color: #e6f1e9;
  font-size: 10px;
  border-radius: 50px;
}
.pipeline-note {
  position: absolute;
  top: 35%;
  right: 0;
  font-size: 10px;
  color: #6c806f;
  font-weight: 700;
}
.pipeline-progress {
  height: 3px;
  background: var(--orange);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
}
/* SECTION 03 — investment calculator (component styles inherited from Chris's version below). */
.investment-section {
  background: #f8f7f2;
  padding: 112px 0;
}
.investment-section h2,.pulse-section h2 {
  margin: 18px 0;
}
.investment-intro,.pulse-intro {
  font-size: 17px;
  color: var(--muted);
  max-width: 800px;
}
.invest-story {
  display: grid;
  grid-template-columns: 270px minmax(0,1fr);
  gap: 18px;
  margin-top: 35px;
}
.invest-choices {
  display: grid;
  align-content: start;
  gap: 8px;
}
.invest-choice {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 7px;
  padding: 17px;
  border: 1px solid var(--line);
  background: white;
  text-align: left;
  border-radius: 6px;
  color: var(--ink);
}
.invest-choice span {
  font-size: 10px;
  color: var(--green);
}
.invest-choice strong {
  font-size: 16px;
}
.invest-choice small {
  font-size: 12px;
  color: var(--muted);
}
.invest-choice.active {
  border-color: var(--green);
  box-shadow: inset 4px 0 var(--green);
  background: #e8f0e8;
}
.invest-panel {
  background: white;
  padding: 27px 29px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.invest-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}
.invest-panel-head small,.investment-result small,.combined-investment small {
  font-size: 10px;
  letter-spacing: .11em;
  font-weight: 800;
  color: var(--green);
}
.invest-panel h3 {
  font-size: 26px;
  margin: 10px 0 7px;
}
.invest-panel p {
  color: var(--muted);
  font-size: 14px;
}
.model-pill {
  border: 1px solid #b9ccbd;
  border-radius: 50px;
  padding: 8px 12px;
  font-size: 11px;
}
.investment-inputs {
  margin-top: 30px;
}
.investment-inputs label {
  font-size: 13px;
}
.investment-inputs input {
  accent-color: var(--green);
}
.investment-result {
  border-top: 1px solid var(--line);
  padding-top: 19px;
  margin-top: 24px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.investment-result strong {
  display: block;
  font-size: clamp(30px,4.2vw,52px);
  letter-spacing: -.06em;
  margin: 5px 0;
}
.result-breakdown {
  font-size: 12px;
  color: var(--muted);
  align-self: center;
  text-align: right;
}
.combined-investment {
  margin-top: 18px;
  padding: 26px;
  background: var(--deep);
  color: white;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.combined-investment strong {
  font-size: clamp(29px,3.6vw,43px);
  display: block;
  letter-spacing: -.06em;
  margin: 9px 0;
}
.combined-investment p {
  font-size: 12px;
  color: #b8d7c1;
  margin: 0;
}
.combined-split {
  display: grid;
  gap: 8px;
  align-content: center;
  font-size: 12px;
  color: #c8e0d0;
}
.investment-question {
  padding-top: 36px;
  max-width: 740px;
}
.investment-question span {
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--orange);
  font-weight: 800;
}
.investment-question h3 {
  font-size: clamp(25px,3vw,40px);
  letter-spacing: -.045em;
  margin: 12px 0;
}
.investment-question p {
  color: var(--muted);
}
.assumption-note {
  font-size: 12px;
  color: #7a847d;
  margin-top: 20px;
}
/* SECTION 04 — five-question self assessment. */
.pulse-section {
  background: #e9eee8;
  padding: 112px 0;
}
.pulse-layout {
  display: grid;
  grid-template-columns: minmax(0,1.12fr) minmax(280px,.88fr);
  gap: 22px;
  margin-top: 36px;
}
.pulse-form,.pulse-result,.pulse-aside {
  background: #fffdf8;
  border: 1px solid var(--line);
  padding: 29px;
  border-radius: 8px;
}
.pulse-progress {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: .08em;
}
.pulse-track {
  height: 5px;
  width: 43%;
  background: #e2e9e2;
  border-radius: 99px;
  overflow: hidden;
}
.pulse-track div {
  height: 100%;
  width: 20%;
  background: var(--green);
  transition: width .3s;
}
.pulse-form h3,.pulse-result h3 {
  font-size: clamp(22px,2.5vw,32px);
  letter-spacing: -.045em;
  margin: 38px 0 10px;
}
.pulse-form p,.pulse-result p,.pulse-aside p {
  color: var(--muted);
  font-size: 14px;
}
.pulse-answers {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin: 27px 0;
}
.pulse-answers button {
  padding: 14px 7px;
  background: #edf3ec;
  border: 1px solid #c5d8ca;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 750;
}
.pulse-answers button:hover {
  background: #d6e8d8;
}
.pulse-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.pulse-actions button,#pulseAgain {
  background: none;
  border: 0;
  padding: 9px;
  font-size: 12px;
  text-decoration: underline;
  color: var(--muted);
}
button:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.pulse-aside {
  background: var(--deep);
  color: white;
}
.pulse-aside>span,.pulse-result>small {
  color: #a8d2b6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}
.pulse-aside h3 {
  font-size: 28px;
  letter-spacing: -.045em;
  margin: 25px 0;
}
.pulse-aside p {
  color: #cee0d2;
}
.pulse-steps {
  margin-top: 35px;
  border-top: 1px solid #ffffff38;
  padding-top: 20px;
  color: #a9d2b7;
  font-size: 12px;
  font-weight: 750;
}
.pulse-signal {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 5px;
}
.pulse-signal strong {
  font-size: 14px;
}
.pulse-signal span {
  font-size: 12px;
  color: var(--muted);
}
.pulse-result>small {
  color: var(--green);
}
.pulse-caveat {
  font-size: 12px !important;
}
.pulse-result .result-ctas {
  margin-bottom: 15px;
}
/* SECTION 05 — offerings: accessible click-to-flip cards. */
.services-section {
  padding: 112px 0;
}
.services-intro {
  color: var(--muted);
  font-size: 17px;
  max-width: 760px;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
  margin-top: 33px;
}
.flip-wrap {
  min-width: 0;
}
.flip {
  display: block;
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  perspective: 1200px;
  min-height: 350px;
  text-align: left;
  width: 100%;
  color: var(--ink);
}
.flip-inner {
  display: block;
  position: relative;
  width: 100%;
  height: 350px;
  transform-style: preserve-3d;
  transition: transform .8s var(--ease);
}
.flip.is-flipped .flip-inner {
  transform: rotateY(180deg);
}
.flip-face {
  box-sizing: border-box;
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  padding: 27px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.flip-back {
  transform: rotateY(180deg);
  background: var(--deep);
  color: white;
}
.flip-face small {
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
}
.flip-back small {
  color: #abd3bb;
}
.flip-face h3 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.04em;
}
.flip-face p {
  font-size: 14px;
  color: var(--muted);
}
.flip-back p {
  color: #ccddcf;
}
.flip-cue {
  font-size: 11px;
  letter-spacing: .06em;
  font-weight: 800;
}
.flip-back .flip-cue {
  color: #afdabf;
}
.service-link {
  display: inline-block;
  margin-top: 24px;
  border-bottom: 1px solid var(--green);
  font-size: 13px;
  color: var(--deep);
  font-weight: 750;
}
.service-link:hover {
  color: var(--orange);
}
/* SECTION 06 — closing / site footer */
.closing {
  background: #dfeadf;
  padding: 108px 0;
}
.closing h2 {
  max-width: 900px;
}
.closing p {
  max-width: 730px;
  color: var(--muted);
  font-size: 17px;
}
.closing-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.closing .outline-btn {
  border-color: #78957f;
}
.site-footer {
  background: #102a22;
  color: #e6f0e7;
  padding: 34px 0;
  font-size: 12px;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.site-footer strong {
  font-size: 19px;
}
@media (max-width:900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-grid .hero-visual {
    max-width: 500px;
  }
  .hero-panel h1 {
    font-size: clamp(36px,6vw,56px);
  }
  .hero-panel p {
    font-size: 14px;
  }
  .pipeline-sticky {
    padding-left: 20px;
    padding-right: 20px;
  }
  .pipeline-levers {
    grid-template-columns: repeat(3,1fr);
  }
  .levers-wrap {
    top: 40%;
  }
  .lever {
    height: 45px;
  }
  .stage {
    min-height: 65px;
    flex-direction: column;
  }
  .pipeline-panel {
    bottom: 1px;
  }
  .invest-story {
    grid-template-columns: 1fr;
  }
  .invest-choices {
    grid-template-columns: repeat(4,1fr);
  }
  .invest-choice {
    padding: 12px;
  }
  .invest-choice strong {
    font-size: 13px;
  }
  .service-cards {
    grid-template-columns: 1fr;
  }
  .flip,.flip-inner {
    height: 300px;
    min-height: 300px;
  }
}
@media (max-width:700px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .navlinks {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-story {
    height: 280vh;
  }
  .hero-grid {
    padding: 95px 24px 75px;
    align-content: center;
  }
  .hero-visual {
    display: none;
  }
  .hero-under {
    padding: 100px 24px 30px;
  }
  .signal-band {
    grid-template-columns: repeat(2,1fr);
    height: 100px;
    gap: 6px;
  }
  .signal {
    font-size: 10px;
  }
  .signal:after {
    bottom: -5px;
  }
  .pipeline-story {
    height: 800vh;
  }
  .pipeline-sticky {
    padding: 94px 13px 20px;
  }
  .pipeline-head h2 {
    font-size: clamp(26px,5.3vw,35px);
  }
  .pipeline-status {
    display: none;
  }
  .pipeline-diagram {
    min-height: 460px;
    height: calc(100% - 110px);
  }
  .pipeline-shell {
    top: 13%;
  }
  .shell-object {
    height: 145px;
  }
  .shell-flow {
    font-size: 14px;
  }
  .warning-tags {
    grid-template-columns: repeat(2,1fr);
    top: -54px;
  }
  .warning-tags span {
    font-size: 8px;
    padding: 7px 5px;
  }
  .hybrid-pipe {
    top: 11%;
  }
  .stage {
    padding: 7px 3px;
    font-size: 9px;
  }
  .stage strong {
    font-size: 9px;
  }
  .stage .num {
    font-size: 8px;
  }
  .pipeline-panel {
    padding: 17px;
    bottom: 0;
  }
  .pipeline-panel h3 {
    font-size: 21px;
  }
  .pipeline-panel p {
    font-size: 12px;
    line-height: 1.4;
  }
  .levers-wrap {
    top: 38%;
  }
  .pipeline-levers {
    gap: 6px;
  }
  .lever {
    font-size: 10px;
  }
  .pipeline-note {
    display: none;
  }
  .invest-choices {
    grid-template-columns: repeat(2,1fr);
  }
  .invest-panel {
    padding: 20px;
  }
  .invest-panel-head {
    display: block;
  }
  .model-pill {
    display: none;
  }
  .investment-result,.combined-investment {
    flex-direction: column;
  }
  .result-breakdown {
    text-align: left;
  }
  .pulse-layout {
    grid-template-columns: 1fr;
  }
  .service-cards {
    grid-template-columns: 1fr;
  }
  .site-footer .wrap {
    flex-direction: column;
  }
  .section,.services-section,.investment-section,.pulse-section,.closing {
    padding-top: 78px;
    padding-bottom: 78px;
  }
}
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-story,.pipeline-story {
    height: auto;
  }
  .hero-sticky,.pipeline-sticky {
    position: relative;
    height: auto;
    overflow: visible;
  }
  .hero-moving {
    position: relative;
    transform: none !important;
  }
  .hero-frame {
    height: auto;
    transform: none !important;
  }
  .hero-panel {
    position: relative;
    min-height: 80vh;
  }
  .signal-band {
    position: relative;
    top: auto;
  }
  .signal {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-under {
    position: relative;
    min-height: 55vh;
  }
  .statement-word {
    color: var(--ink) !important;
  }
  .hero-under .subline {
    opacity: 1 !important;
    transform: none !important;
  }
  .pipeline-shell {
    display: none;
  }
  .hybrid-pipe,.levers-wrap,.pipeline-panel,.connectors {
    opacity: 1 !important;
    transform: none !important;
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin: 22px 0;
  }
  .connectors {
    display: none;
  }
  .pipeline-diagram {
    height: auto;
    min-height: 0;
  }
  .pipeline-sticky {
    padding-bottom: 50px;
  }
  .flip-inner {
    transition: none;
  }
  .pipeline-progress {
    display: none;
  }
}


/* ============================================================================
   FOUNDATION 02 — FLEXIBLE SECTION SURFACES
   HOW TO EDIT A SECTION BACKGROUND:
   Set --surface-image: url("assets/your-photo.webp"); on any .editable-surface.
   Or set --surface-color: #hexcolor; or combine both with --surface-tint.
   Text is always ordinary HTML within the section's .wrap container.
   These are separate CSS-painted layers, not images with baked-in text.
   See FOUNDATION_README.md for examples.
   ============================================================================ */
.editable-surface {
  position: relative;
  isolation: isolate;
  --surface-image: none;
  --surface-color: transparent;
  --surface-tint: transparent;
  --surface-position: center;
}
.editable-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--surface-color);
  background-image: var(--surface-image);
  background-size: cover;
  background-position: var(--surface-position);
  background-repeat: no-repeat;
}
.editable-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--surface-tint);
}
.editable-surface > .wrap { position: relative; z-index: 1; }

/* ============================================================================
   SECTION 01 — HERO: INDEPENDENT BACKGROUND ART + FLOATING HTML CARD
   Edit the background image at .hero-panel::before in SECTION 01 above.
   Edit floating card markup at #heroSignalCard in index.html.
   Move the card with --hero-card-right / --hero-card-top; scale with width.
   The card and its text/SVG are NOT part of the background image.
   ============================================================================ */
:root {
  --hero-card-right: max(30px, calc((100vw - 1160px) / 2));
  --hero-card-top: 50%;
  --hero-card-width: min(42vw, 510px);
}
@media (min-width: 901px) {
  .hero-grid > .hero-copy { width: 100%; max-width: 590px; }
  .hero-visual.hero-floating-card {
    position: absolute;
    top: var(--hero-card-top);
    right: var(--hero-card-right);
    width: var(--hero-card-width);
    max-width: 510px;
    z-index: 8;
    transform: translateY(-50%);
    /* Change transform/top/right to freely position over the hero photo. */
  }
}
@media (min-width: 701px) and (max-width: 900px) {
  .hero-visual.hero-floating-card { position: relative; z-index: 8; }
}
/* Below 700px, preserve the source's mobile behavior: image card hidden. */


/* ================================================================
   SECTION 02 / APPROVED GROWTH ENGINE — CONCEPT 03
   All rules below isolated under #pipeline.
   ================================================================ */
#pipeline{--deep:#14382e;--green:#277d56;--green2:#1b563e;--yellow:#f1d875;--red:#b9443f;--paper:#f4f3ee;--ink:#18342c;--muted:#63786c;--line:#d2ddd3;--ease:cubic-bezier(.22,1,.36,1)}
#pipeline button{font:inherit;cursor:pointer}
#pipeline button:focus-visible{outline:3px solid #d7a72b;outline-offset:3px}
#pipeline .container{max-width:1190px;margin:auto;padding:0 34px}
#pipeline .mast{background:var(--deep);color:#fff;padding:18px 0;display:flex;align-items:center}
#pipeline .mast .container{display:flex;justify-content:space-between;align-items:center;width:100%;gap:15px}
#pipeline .wordmark{font-size:22px;font-weight:800;letter-spacing:-.06em}
#pipeline .wordmark small{font-size:10px;letter-spacing:.16em;margin-left:9px}
#pipeline .mastnote{color:#bad2c4;font-size:11px;letter-spacing:.12em;text-transform:uppercase}
#pipeline .intro{padding:75px 0 30px}
#pipeline .eyebrow{font-size:11px;font-weight:750;letter-spacing:.2em;color:var(--green);text-transform:uppercase}
#pipeline .intro h1{font-size:clamp(36px,5vw,67px);font-weight:550;letter-spacing:-.055em;line-height:1.08;margin:15px 0 20px;max-width:900px}
#pipeline .intro h1 em{font-style:normal;color:var(--green)}
#pipeline .intro p{color:var(--muted);font-size:17px;line-height:1.7;max-width:750px}
#pipeline .instructions{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin:26px 0 4px;color:var(--muted);font-size:12px}
#pipeline .tag{border:1px solid var(--line);background:white;border-radius:30px;padding:9px 12px}
#pipeline .story{height:360vh;position:relative}
#pipeline .sticky{position:sticky;top:0;height:100svh;min-height:600px;display:flex;align-items:center;padding:25px 0;overflow:hidden}
#pipeline .stage{position:relative;width:min(1190px,calc(100% - 56px));height:min(700px,calc(100svh - 65px));min-height:530px;margin:auto;border:1px solid #d5ded5;background:radial-gradient(circle at 50% 44%,#fbfdf8 0%,#eef3ec 80%);box-shadow:0 28px 85px #24432d13;overflow:hidden;border-radius:10px;isolation:isolate}
#pipeline .stage-top{position:absolute;z-index:7;top:25px;left:31px;right:31px;display:flex;justify-content:space-between;gap:12px;padding-bottom:16px;border-bottom:1px solid #d0ddd3;font-size:10px;font-weight:750;letter-spacing:.13em;color:#48715b}
#pipeline .stage-status{color:#a35a32;text-align:right}
#pipeline .stage-heading{position:absolute;top:75px;left:32px;right:32px;z-index:6;pointer-events:none}
#pipeline .stage-heading h2{margin:0;font-size:clamp(24px,3vw,37px);font-weight:560;line-height:1.15;letter-spacing:-.045em;max-width:680px}
#pipeline .stage-heading p{font-size:14px;line-height:1.5;color:#668175;max-width:650px;margin-top:8px}
#pipeline .pipeline-zone{position:absolute;left:6%;right:6%;top:32%;height:31%;z-index:4;transform-origin:center;will-change:transform,opacity}
#pipeline .pipeline-body{position:absolute;inset:0;border-radius:25px;filter:drop-shadow(0 22px 19px #153f2c29)}
#pipeline .pipe-upper, #pipeline .pipe-lower{position:absolute;left:0;width:100%;height:50%;background:linear-gradient(180deg,#348f63 0%,#1f694b 65%,#194f3c 100%);border:2px solid #125039;overflow:hidden;will-change:transform,opacity}
#pipeline .pipe-upper{top:0;border-radius:29px 29px 0 0;border-bottom:1px solid #a0d6a654;background:linear-gradient(180deg,#3c986a 0%,#287b53 80%,#236e4d 100%)}
#pipeline .pipe-upper:before{content:"";position:absolute;top:12%;left:3%;right:3%;height:17%;border-radius:50%;background:#c3ffd01c;filter:blur(8px)}
#pipeline .pipe-lower{bottom:0;border-radius:0 0 29px 29px;border-top:1px solid #e0ffc63b;background:linear-gradient(180deg,#226c4c,#164632)}
#pipeline .pipe-upper .pipe-title{position:absolute;top:29%;left:0;right:0;text-align:center;color:#d9f2e0;letter-spacing:.22em;font-weight:750;font-size:clamp(10px,1.2vw,14px)}
#pipeline .pipe-inner{position:absolute;top:42%;height:20%;left:2.5%;right:2.5%;border-radius:20px;background:linear-gradient(180deg,#0b3327,#2b7450);box-shadow:inset 0 3px 9px #092a1f7a,inset 0 -1px 4px #daffcd38;overflow:hidden;z-index:2;will-change:opacity}
#pipeline .pipe-inner:after{content:"";position:absolute;inset:50% 2% auto;border-top:1px dashed #a6d3a85e}
#pipeline .flow{position:absolute;inset:0;overflow:hidden}
#pipeline .pulse{position:absolute;top:50%;width:36px;height:9px;left:-15%;border-radius:30px;background:var(--pulse-color,#ffe17c);box-shadow:0 0 10px 4px var(--pulse-glow,#ffdc4b),0 0 28px 8px var(--pulse-halo,#e8d84b8a);transform:translateY(-50%);animation:travel 4.3s linear infinite}
#pipeline .pulse:nth-child(2){animation-delay:-1.45s}
#pipeline .pulse:nth-child(3){animation-delay:-2.9s}
@keyframes travel{from{left:-15%}to{left:110%}}
#pipeline .stages{position:absolute;top:75%;left:3%;right:3%;display:grid;grid-template-columns:repeat(5,1fr);gap:8px;z-index:3;will-change:opacity}
#pipeline .stages span{font-size:11px;letter-spacing:.09em;color:#d6f2df;text-align:center}
#pipeline .stages span b{display:block;font-size:12px;color:white;margin-top:5px;letter-spacing:.045em}
#pipeline .warnings{position:absolute;left:3%;right:3%;bottom:100%;height:132px;display:grid;grid-template-columns:repeat(4,1fr);gap:13px;align-items:end;pointer-events:none}
#pipeline .warning{min-height:84px;background:#a83b37;color:#fff;border:1px solid #e98b7c;box-shadow:0 16px 24px #762c2450;border-radius:5px;padding:14px 10px 12px;position:relative;text-align:center;transform:translateY(55px);opacity:0;will-change:transform,opacity}
#pipeline .warning:after{content:"";position:absolute;top:100%;left:calc(50% - 1px);height:19px;border-left:2px solid #e97666}
#pipeline .warning strong{font-size:clamp(9px,1vw,13px);line-height:1.3;letter-spacing:.05em;display:block}
#pipeline .warning small{display:block;font-size:10px;color:#ffe5e0;margin-top:7px;line-height:1.3}
#pipeline .system{position:absolute;inset:23% 6% 13%;z-index:2;opacity:0;transform:translateY(25px) scale(.98);will-change:opacity,transform;pointer-events:none}
#pipeline .system-label{position:absolute;top:4%;left:0;right:0;text-align:center;color:#438169;font-size:11px;font-weight:750;letter-spacing:.18em}
#pipeline .levers{position:absolute;top:28%;left:2%;right:2%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;z-index:3}
#pipeline .lever{min-height:100px;border:1px solid #d1ded2;border-radius:5px;background:#fff;box-shadow:0 10px 23px #1b462b0c;padding:17px 15px;text-align:left;transition:background .2s,border .2s,transform .2s;pointer-events:auto;color:var(--ink)}
#pipeline .lever:hover, #pipeline .lever:focus-visible, #pipeline .lever.active{background:#e7f3e7;border-color:#47936a;transform:translateY(-3px)}
#pipeline .lever span{display:block;color:#438266;font-size:10px;letter-spacing:.17em;font-weight:750}
#pipeline .lever strong{display:block;font-size:clamp(13px,1.7vw,20px);letter-spacing:-.035em;font-weight:650;margin-top:8px}
#pipeline .system-links{position:absolute;inset:0;width:100%;height:100%;z-index:1;opacity:.65;pointer-events:none}
#pipeline .system-links path{fill:none;stroke:#78a58c;stroke-width:1.6;stroke-dasharray:4 6}
#pipeline .signal-caption{position:absolute;bottom:10%;left:7%;right:7%;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#618474;font-size:11px}
#pipeline .core-label{font-weight:750;color:#2d6b4b;letter-spacing:.12em}
#pipeline .content{position:absolute;bottom:7%;left:32px;right:32px;z-index:5;display:flex;align-items:end;justify-content:space-between;gap:25px;pointer-events:none}
#pipeline .content-copy{background:#f6f8f2e8;backdrop-filter:blur(6px);max-width:560px;border-left:3px solid #43836a;padding:12px 18px}
#pipeline .content-copy small{color:#4c9168;font-size:10px;letter-spacing:.14em;font-weight:750}
#pipeline .content-copy h3{font-size:20px;letter-spacing:-.04em;margin:5px 0}
#pipeline .content-copy p{font-size:12px;color:#62776c;margin:0;line-height:1.55}
#pipeline .progress{height:3px;position:absolute;bottom:0;left:0;background:var(--yellow);z-index:9;width:0}
#pipeline .counter{font-size:11px;color:#708478;white-space:nowrap}
#pipeline .controls{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
#pipeline .controls button{background:var(--deep);color:#fff;border:0;border-radius:4px;padding:11px 15px;font-size:12px}
#pipeline .controls button:hover{background:#286d4c}
#pipeline .controls button.secondary{background:#e4eae1;color:var(--ink)}
#pipeline .story-controls{padding:0 0 70px}
#pipeline .story-controls .container{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}
#pipeline .notes{border-top:1px solid var(--line);padding:45px 0 90px}
#pipeline .notes h2{font-size:30px;font-weight:550;letter-spacing:-.04em}
#pipeline .notes p{max-width:820px;line-height:1.8;color:var(--muted)}
#pipeline .notes-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:25px}
#pipeline .notes-grid article{padding:24px;background:white;border:1px solid var(--line)}
#pipeline .notes-grid small{color:var(--green);font-weight:750;letter-spacing:.12em}
#pipeline .notes-grid h3{font-weight:600;font-size:18px}
#pipeline .notes-grid p{font-size:14px;line-height:1.6}
#pipeline .reduced .story{height:auto}
#pipeline .reduced .sticky{position:relative;min-height:0;height:700px}
#pipeline .reduced .pipeline-zone{opacity:0!important;pointer-events:none}
#pipeline .reduced .system{opacity:1!important;transform:none!important;pointer-events:auto}
#pipeline .reduced .stage-status{color:#43836a}
#pipeline .reduced .content{display:none}
#pipeline .reduced .stage-heading{display:none}
@media (max-width:780px){#pipeline .container{padding:0 18px}
#pipeline .mastnote{font-size:9px}
#pipeline .intro{padding-top:48px}
#pipeline .story{height:320vh}
#pipeline .sticky{min-height:500px;padding:9px 0}
#pipeline .stage{width:calc(100% - 20px);height:calc(100svh - 18px);min-height:495px}
#pipeline .stage-top{top:16px;left:16px;right:16px}
#pipeline .stage-heading{left:17px;right:17px;top:62px}
#pipeline .stage-heading p{font-size:12px}
#pipeline .pipeline-zone{left:4%;right:4%;top:39%;height:22%}
#pipeline .pipe-upper .pipe-title{font-size:9px}
#pipeline .stages span{font-size:8px}
#pipeline .stages span b{font-size:9px}
#pipeline .warnings{height:124px;gap:5px}
#pipeline .warning{min-height:79px;padding:10px 4px}
#pipeline .warning strong{font-size:8px}
#pipeline .warning small{font-size:8px}
#pipeline .system{inset:27% 4% 13%}
#pipeline .system-label{top:3%;font-size:9px}
#pipeline .levers{top:15%;left:0;right:0;gap:7px;grid-template-columns:repeat(2,minmax(0,1fr))}
#pipeline .lever{padding:11px;min-height:83px}
#pipeline .lever strong{font-size:14px;margin-top:5px}
#pipeline .lever span{font-size:8px}
#pipeline .signal-caption{display:none}
#pipeline .content{bottom:4%;left:14px;right:14px}
#pipeline .content-copy{padding:9px 11px}
#pipeline .content-copy h3{font-size:16px}
#pipeline .content-copy p{font-size:11px}
#pipeline .counter{display:none}
#pipeline .notes-grid{grid-template-columns:1fr}
#pipeline .pulse{width:18px;height:6px}}
@media (max-height:650px){#pipeline .stage-heading p{display:none}
#pipeline .pipeline-zone{top:38%}
#pipeline .content-copy p{display:none}}
@media (prefers-reduced-motion:reduce){#pipeline .pulse{animation:none;left:50%}
#pipeline .story{height:auto}
#pipeline .sticky{position:relative;height:700px}
#pipeline .pipeline-zone{display:none}
#pipeline .system{opacity:1!important;transform:none!important;pointer-events:auto}
#pipeline .content{display:none}
#pipeline .stage-heading{display:none}}
#pipeline .system{inset:0; z-index:3; overflow:visible;}
#pipeline .original-reveal{position:absolute;inset:0;pointer-events:none;}
#pipeline .original-stages{position:absolute;top:26%;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;z-index:3;}
#pipeline .original-stage{height:80px;min-width:0;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:16px 13px;color:#18342c;background:#fffdfa;border:1px solid #c8d8cd;border-radius:8px;text-align:left;box-shadow:0 8px 20px rgba(19,55,39,.035);transition:background .2s,border .2s,box-shadow .2s;pointer-events:auto;}
#pipeline .original-stage small{color:#789182;font-weight:750;font-size:12px;}
#pipeline .original-stage strong{font-weight:800;font-size:clamp(11px,1.25vw,18px);letter-spacing:-.025em;}
#pipeline .original-stage.active{background:#163b2f;color:#fff;border-color:#163b2f;box-shadow:0 14px 25px #183c2a24;}
#pipeline .original-stage.active small{color:#c1dacb;}
#pipeline .original-stage:not(.active):hover{border-color:#47916d;background:#f2faf2;}
#pipeline .original-stage.suggested:not(.active){outline:3px solid #ba713d;outline-offset:2px;}
#pipeline .original-connectors{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;overflow:visible;}
#pipeline .original-connectors path{fill:none;stroke:#cbd9cf;stroke-width:1.3;opacity:.65;}
#pipeline .original-connectors path.active{stroke:#448b70;stroke-width:3.4;opacity:1;}
#pipeline .original-factor-label{position:absolute;top:58%;left:0;font-size:11px;font-weight:800;color:#6c8373;letter-spacing:.16em;z-index:2;}
#pipeline .original-factors{position:absolute;top:63%;left:0;right:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;z-index:3;}
#pipeline .original-factor{height:60px;min-width:0;background:#f1f5f1;border:1px solid #dbe6dc;border-radius:8px;color:#abb8b0;font-weight:800;font-size:clamp(9px,1.15vw,15px);pointer-events:auto;transition:color .2s,background .2s,border .2s;}
#pipeline .original-factor.active{background:#e0f1e6;color:#285e48;border-color:#71b493;}
#pipeline .original-factor:hover{color:#214b37;border-color:#4d9770;}
#pipeline .original-prompt{position:absolute;top:58%;right:0;color:#75897d;font-size:10px;font-weight:750;letter-spacing:.07em;}
#pipeline .original-panel{position:absolute;bottom:1%;left:18%;right:18%;min-height:160px;background:#244b3f;color:white;border-radius:14px;z-index:4;padding:24px 28px;box-shadow:0 18px 38px #103b2923;}
#pipeline .original-panel-top{display:flex;justify-content:space-between;color:#bbd6c7;font-size:11px;letter-spacing:.14em;font-weight:750;}
#pipeline .original-panel h3{font-size:clamp(19px,2.3vw,31px);line-height:1.17;letter-spacing:-.045em;font-weight:650;margin:13px 0 9px;}
#pipeline .original-panel p{color:#c6d9d0;line-height:1.5;font-size:clamp(11px,1vw,14px);margin:0;}
#pipeline .original-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px;}
#pipeline .original-tags span{border:1px solid #8db49d;border-radius:30px;padding:4px 10px;font-size:11px;color:#dce9df;}
#pipeline .stage:has(.system[style*="pointer-events: auto"]) .content{opacity:0;}
@media (max-width:780px){#pipeline .stage-heading{top:58px}
#pipeline .stage-heading h2{font-size:clamp(21px,5vw,29px)}
#pipeline .stage-heading p{font-size:11px}
#pipeline .original-stages{top:25%;gap:4px}
#pipeline .original-stage{height:65px;padding:7px 5px;flex-direction:column;justify-content:center;gap:6px}
#pipeline .original-stage small{font-size:9px}
#pipeline .original-stage strong{font-size:clamp(8px,2.2vw,11px)}
#pipeline .original-factor-label{top:49%;font-size:9px}
#pipeline .original-prompt{top:49%;font-size:8px}
#pipeline .original-factors{top:54%;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
#pipeline .original-factor{height:36px;font-size:10px}
#pipeline .original-panel{left:4%;right:4%;bottom:2%;min-height:0;padding:15px 17px;border-radius:10px}
#pipeline .original-panel h3{font-size:19px;margin:9px 0}
#pipeline .original-panel p{font-size:11px;line-height:1.4}
#pipeline .original-tags{margin-top:7px}
#pipeline .original-tags span{font-size:9px;padding:3px 8px}}
@media (max-height:650px) and (min-width:781px){#pipeline .original-stages{top:23%}
#pipeline .original-factor-label{top:55%}
#pipeline .original-factors{top:60%}
#pipeline .original-panel{padding:14px 22px;min-height:125px}
#pipeline .original-panel h3{margin:8px 0;font-size:22px}
#pipeline .original-tags{margin-top:6px}}
@media (prefers-reduced-motion:reduce){#pipeline .original-stage, #pipeline .original-factor{transition:none}
#pipeline .system{pointer-events:auto}}
#pipeline {background:#f4f3ee; color:#18342c; isolation:isolate;}
#pipeline .story-controls {padding-bottom:25px;}


/* ===================================================================
   SECTION 05 — FOUNDATION 04 / APPROVED CHRIS-STYLE SERVICE CARDS
   Scoped to #services. Click to flip / click again to return.
   =================================================================== */
#services .velocity-flip-card{height:415px;perspective:1100px;cursor:pointer;outline:none;background:transparent;border:0;padding:0;box-shadow:none;position:relative;min-width:0}
#services .velocity-flip-inner{height:100%;width:100%;position:relative;display:block;transform-style:preserve-3d;transition:transform .78s cubic-bezier(.2,.7,.15,1)}
#services .velocity-flip-card.is-flipped .velocity-flip-inner{transform:rotateY(180deg)}
#services .velocity-flip-card:focus-visible{outline:3px solid #cf9c5b;outline-offset:5px;border-radius:10px}
#services .velocity-face{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:10px;padding:25px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}
#services .velocity-front{background:#e8eee7;border:1px solid #bfd2c4;color:#14382e}
#services .velocity-back{transform:rotateY(180deg);background:#153b31;color:#f7f4eb;border:1px solid #3b7661}
#services .velocity-face-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
#services .velocity-face-top small{font-size:10px;letter-spacing:.12em;font-weight:800;color:#487760;line-height:1.5}
#services .velocity-back .velocity-face-top small{color:#a5d7b8}
#services .velocity-card-icon{font-size:26px;color:#43836a}
#services .velocity-front-graphic{height:112px;display:flex;align-items:center;gap:11px;padding:0 15px;position:relative}
#services .velocity-front-graphic span{display:block;background:#43836a;border-radius:50%;width:20px;height:20px;position:relative;box-shadow:0 0 0 6px #43836a22}
#services .velocity-graphic-01:before{content:"";height:3px;background:linear-gradient(90deg,#43836a,#d1a95b);position:absolute;left:20px;right:20px;top:55px}
#services .velocity-graphic-01 span:nth-child(4){background:#d1a95b}
#services .velocity-graphic-02{justify-content:center}
#services .velocity-graphic-02 span{width:32px;height:32px}
#services .velocity-graphic-02 span:first-child{width:48px;height:48px;background:#8068a7}
#services .velocity-graphic-02 span:nth-child(3),#services .velocity-graphic-02 span:nth-child(4){width:17px;height:17px}
#services .velocity-graphic-03{justify-content:space-around}
#services .velocity-graphic-03 span{border-radius:5px;width:38px;height:38px;background:#f6faf6;border:2px solid #43836a}
#services .velocity-graphic-03:before{content:"";position:absolute;height:2px;left:30px;right:30px;background:#43836a;top:55px}
#services .velocity-face-bottom h3,#services .velocity-back-center h3{font-size:clamp(22px,2.1vw,30px);line-height:1.12;letter-spacing:-.045em;margin:0 0 13px;font-weight:590}
#services .velocity-face-bottom p,#services .velocity-back-center p{font-size:13px;line-height:1.65;margin:0 0 20px;color:#567065}
#services .velocity-card-cue{font-size:10px;letter-spacing:.13em;font-weight:800;color:#3d7a5c;display:flex;justify-content:space-between;border-top:1px solid #b9d0bf;padding-top:15px}
#services .velocity-back .velocity-card-cue{color:#c3d7c8;border-color:#4a7161}
#services .velocity-back-kicker{font-size:10px;letter-spacing:.15em;color:#d5b67c;font-weight:800;display:block;margin-bottom:20px}
#services .velocity-back-center p{color:#c5d9cb}
#services .velocity-method{display:flex;align-items:center;gap:8px;margin-top:25px}
#services .velocity-method span{font-size:9px;letter-spacing:.1em;color:#c5e6cd}
#services .velocity-method i{flex:1;height:1px;background:#6b9d80}
#services .velocity-deep-link{color:#f3d382;text-decoration:underline;text-underline-offset:4px;display:inline-block;margin-top:17px;font-size:12px;font-weight:700}
#services .offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:42px}
#services .intro{max-width:820px;font-size:17px;line-height:1.75;color:var(--muted)}
#services .velocity-flip-card{user-select:none}
#services .velocity-flip-card:focus-visible{outline:3px solid #cf9c5b;outline-offset:5px}
#services .velocity-deep-link:focus-visible{outline:2px solid #f3d382;outline-offset:4px}
@media(max-width:900px){#services .offers{grid-template-columns:1fr;max-width:550px}#services .velocity-flip-card{height:375px}}
@media(max-width:390px){#services .velocity-flip-card{height:440px}#services .velocity-face{padding:20px}}
@media(prefers-reduced-motion:reduce){#services .velocity-flip-inner{transition:none}}


/* ================================================================
   SECTION 02B — REFRAME THE QUESTION (Chris motion-study direction)
   Editable artwork layer: --reframe-image: url("assets/your-image.webp");
   The circular geometry is separate markup, not baked into a bitmap.
   ================================================================ */
#reframe {
  --reframe-image: none;
  --reframe-color: #14382e;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 540px;
  padding: clamp(100px, 11vw, 165px) 0;
  color: #f1f6ee;
  background: var(--reframe-image) center / cover no-repeat, var(--reframe-color);
}
#reframe .reframe-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
#reframe .reframe-circle {
  position: absolute; left: 79%; top: 43%; border-radius: 50%;
  transform: translate(-50%, -50%); pointer-events: none;
}
#reframe .reframe-circle.outer { width: 1200px; height: 1200px; background: rgba(103,151,132,.075); border: 1px solid rgba(153,199,176,.045); }
#reframe .reframe-circle.middle { width: 850px; height: 850px; background: rgba(122,174,151,.065); border: 1px solid rgba(162,205,181,.065); }
#reframe .reframe-circle.inner { width: 550px; height: 550px; background: rgba(7,38,32,.33); border: 1px solid rgba(168,211,187,.13); }
#reframe .reframe-content { position: relative; z-index: 2; }
#reframe .reframe-eyebrow {
  margin: 0 0 28px; color: #c0d8c8; font-size: 13px;
  font-weight: 750; line-height: 1.4; letter-spacing: .21em;
}
#reframe h2 {
  max-width: none; margin: 0 0 38px;
  font-size: clamp(38px, 4.35vw, 77px); line-height: 1.14;
  font-weight: 660; letter-spacing: -.057em; color: #f1f6ee;
}
#reframe h2 em { font-style: italic; font-weight: 660; }
#reframe .reframe-description {
  max-width: 1200px; margin: 0; color: #bacfc2;
  font-size: clamp(17px, 1.48vw, 25px); line-height: 1.8;
}
@media (max-width: 850px) {
  #reframe { min-height: 460px; padding: 100px 0; }
  #reframe .reframe-circle { left: 95%; top: 35%; }
  #reframe .reframe-circle.outer { width: 760px; height: 760px; }
  #reframe .reframe-circle.middle { width: 560px; height: 560px; }
  #reframe .reframe-circle.inner { width: 370px; height: 370px; }
  #reframe h2 { max-width: 680px; font-size: clamp(37px, 7.4vw, 62px); }
  #reframe .reframe-description { font-size: 17px; line-height: 1.7; }
}
@media (max-width: 480px) {
  #reframe { min-height: 420px; padding: 85px 0; }
  #reframe .reframe-eyebrow { font-size: 11px; margin-bottom: 22px; }
  #reframe h2 { font-size: clamp(38px, 10vw, 54px); margin-bottom: 24px; }
  #reframe h2 em { display: inline-block; }
  #reframe .reframe-description { font-size: 16px; line-height: 1.65; }
}



/* SECTION 07 — APPROVED FOOTER / editable design tokens */
#g2mFooter{
  --paper:#f4f3ee; --accent:#f1c65e; --white:#f9f9f5;
  --footer-black:#070908; --footer-sage:#264a3a; --sage:#a6bdac;
  --footer-sage-text:#f3f8f3; --footer-bottom:#0d1410;
  --footer-wordmark-size:clamp(105px,18.2vw,340px);
  --footer-nav-width:1260px; --reveal-distance:130px;
  --wordmark-shift:0; --wordmark-opacity:1; --footer-enter:1;
}
/* ============================================================
   SECTION 07 / FOOTER — editable background areas
   07A: wordmark stage (light)
   07B: footer content (black)
   07C: legal ribbon (sage)
   07D: bottom microcopy (near-black)
   ============================================================ */
.footer-stage{position:relative;isolation:isolate;background:var(--paper)}
.footer-wordmark-stage{position:relative;height:clamp(160px,23vw,360px);overflow:hidden;background:var(--paper);z-index:1;display:flex;align-items:flex-end}
.footer-wordmark{position:relative;z-index:1;display:block;white-space:nowrap;width:100%;text-align:center;margin:0;font-family:Arial,Helvetica,sans-serif;font-weight:900;font-size:var(--footer-wordmark-size);line-height:.77;letter-spacing:-.092em;color:#050605;transform:translateY(calc(var(--reveal-distance) * var(--wordmark-shift,1)));opacity:var(--wordmark-opacity,0);will-change:transform,opacity;user-select:none}
.footer-main{position:relative;z-index:2;background:var(--footer-black);color:var(--white);min-height:340px;padding:80px max(5.2%,calc((100vw - var(--footer-nav-width))/2)) 70px}
.footer-main::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:#282d29}.footer-main-inner{margin:auto;max-width:var(--footer-nav-width);display:grid;grid-template-columns:minmax(220px,2.1fr) repeat(3,minmax(125px,1fr));gap:clamp(28px,4vw,72px)}
.logo-space{display:flex;flex-direction:column;align-items:flex-start;gap:20px}.brand-tile{border:1px solid #667a6c;min-width:124px;min-height:124px;display:flex;justify-content:center;align-items:center;overflow:hidden;color:var(--sage);position:relative}.brand-tile::after{content:"";position:absolute;inset:14px;border:1px solid #45574a;border-radius:50%}.brand-tile strong{font-size:35px;font-weight:900;letter-spacing:-.1em;z-index:1}.brand-note{font-size:11px;line-height:1.6;max-width:230px;color:#a8b5a9}.footer-column{display:flex;flex-direction:column;gap:14px}.footer-column h2{font-size:13px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:var(--sage);margin:5px 0 15px}.footer-column a,.footer-column span{font-size:clamp(15px,1.25vw,19px);line-height:1.35;color:#eee;transition:color .2s}.footer-column a:hover{color:var(--accent)}.footer-column .muted{color:#a9b8ac;font-size:14px}
.footer-legal{position:relative;z-index:2;background:var(--footer-sage);color:var(--footer-sage-text);padding:20px 5%;display:flex;align-items:center;justify-content:center;gap:25px;flex-wrap:wrap;min-height:68px;font-size:12px;font-weight:700;letter-spacing:.055em}.footer-legal a:hover{text-decoration:underline}.footer-legal .sep{height:17px;width:1px;background:#608170}
.footer-bottom{position:relative;z-index:2;background:var(--footer-bottom);color:#94ac9e;padding:22px max(5.2%,calc((100vw - var(--footer-nav-width))/2));font-size:11px;letter-spacing:.06em}.footer-bottom-inner{max-width:var(--footer-nav-width);margin:auto;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.footer-bottom b{color:var(--accent);font-weight:600}
/* Stagger content enters after the wordmark. JS sets --reveal for whole footer */
.footer-enter{opacity:calc(.12 + .88 * var(--footer-enter,0));transform:translateY(calc((1 - var(--footer-enter,0)) * 32px));transition:none;will-change:opacity,transform}
@media(max-width:850px){.footer-wordmark-stage{height:clamp(110px,22vw,180px)}.footer-main-inner{grid-template-columns:repeat(3,minmax(0,1fr))}.logo-space{grid-column:1/-1;flex-direction:row;align-items:center}.footer-main{padding:54px 24px}.brand-tile{min-width:90px;min-height:90px}.footer-column h2{font-size:11px}.footer-column a{font-size:14px}.footer-wordmark{font-size:19vw}.demo-toolbar{top:8px}}
@media(max-width:540px){.pre-footer{padding:145px 23px 100px;min-height:85vh}.footer-wordmark-stage{height:23vw;min-height:86px}.footer-wordmark{font-size:19vw;line-height:.82}.footer-main-inner{grid-template-columns:1fr 1fr;gap:37px 20px}.logo-space{grid-column:1/-1}.footer-column:last-child{grid-column:1/-1}.footer-main{padding:50px 23px 60px}.footer-legal{padding:24px 15px;gap:13px;font-size:11px}.footer-bottom{padding:20px 23px}.demo-toolbar{position:fixed;gap:5px;align-items:flex-start}.demo-label{display:none}.motion-status{display:none}.demo-options{gap:7px}.demo-options label{font-size:10px}.demo-options select{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.pre-footer .down{animation:none}.footer-wordmark{transform:none!important;opacity:1!important}.footer-enter{transform:none!important;opacity:1!important}}



/* SECTION 02 / FOUNDATION 07 — word-by-word headline reveal; scoped to Growth Engine */
/* CONCEPT 04 — SCROLL-LINKED WORD & LETTER REVEAL (only title changes) */
#pipeline .word-reveal-title{min-height:1.25em;max-width:100%;line-height:1.2;}
#pipeline .headline-words{display:flex;flex-wrap:wrap;gap:0 .24em;align-items:baseline;}
#pipeline .headline-word{display:inline-block;position:relative;white-space:nowrap;overflow:hidden;padding-bottom:.06em;vertical-align:baseline;}
#pipeline .headline-word-face{display:inline-block;will-change:opacity,transform,clip-path;color:#7861a5;transform:translateY(0);opacity:1;}
#pipeline .headline-letter{display:inline;color:var(--word-color,#7861a5);}
/* Text is visible without JavaScript; animation controls apply only with JS. */
@media(prefers-reduced-motion:reduce){#pipeline .headline-word-face{will-change:auto;transform:none!important;opacity:1!important;clip-path:none!important}#pipeline .headline-letter{color:#18342c!important}}

#pipeline .word-reveal-title:not(:has(.headline-word))::after{content:"The pipeline looks busy.";color:#18342c;}

/* ============================================================================
   FOUNDATION 10 / SECTION 06 — DARK GREEN CONVERSATION CTA
   Independently adjustable color tokens. Text remains editable in index.html.
   ============================================================================ */
#contact.closing {
  --closing-background: #14382e;
  --closing-heading: #f5f7f1;
  --closing-copy: #c5d7cd;
  --closing-accent: #f1d875;
  --closing-primary-background: #f1d875;
  --closing-primary-ink: #14382e;
  --closing-outline: rgba(245,247,241,.62);
  background:
    linear-gradient(90deg,
      rgba(0,0,0,.92) 0%,
      rgba(0,0,0,.82) 18%,
      rgba(0,0,0,.58) 40%,
      rgba(10,31,25,.24) 65%,
      rgba(20,56,46,.00) 100%),
    var(--closing-background);
  color: var(--closing-heading);
}

#contact.closing::before {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,0) 58%);
  opacity:.9;
}
#contact.closing .wrap {
  position:relative;
  z-index:1;
}

#contact.closing .eyebrow { color: var(--closing-accent); }
#contact.closing h2 { color: var(--closing-heading); }
#contact.closing p { color: var(--closing-copy); }
#contact.closing .closing-actions .btn {
  background: var(--closing-primary-background);
  color: var(--closing-primary-ink);
}
#contact.closing .closing-actions .btn:hover {
  background: #fff0a9;
  color: var(--closing-primary-ink);
}
#contact.closing .closing-actions .outline-btn {
  border-color: var(--closing-outline);
  color: var(--closing-heading);
  background: transparent;
}
#contact.closing .closing-actions .outline-btn:hover {
  background: rgba(255,255,255,.11);
  color: #ffffff;
}
#contact.closing .closing-actions a:focus-visible { outline-color: var(--closing-accent); }


/* ================================================================
   FOUNDATION 11 / SECTION 02 — RED ALERT / HEADING CLEARANCE
   Keep red alerts and yellow pulse choreography intact; move ONLY
   the green pipe assembly down enough that raised alerts no longer
   cover the explanatory copy above it. Adjustable values below.
   ================================================================ */
#pipeline {
  --pipeline-alert-clearance: 58px;
  --pipeline-alert-clearance-mobile: 30px;
}
/* Original top: 32%; preserve the scroll-controlled pipe split/fade. */
#pipeline .pipeline-zone {
  top: calc(32% + var(--pipeline-alert-clearance));
}
@media (max-width: 780px) {
  /* Original mobile top: 39%; the smaller offset preserves room below. */
  #pipeline .pipeline-zone {
    top: calc(39% + var(--pipeline-alert-clearance-mobile));
  }
}
@media (max-height: 650px) {
  /* Original short-viewport top: 38%; avoid collisions in tight spaces. */
  #pipeline .pipeline-zone {
    top: calc(38% + 24px);
  }
}


/* ============================================================================
   FOUNDATION 13 / SECTION 06B — FULL-WIDTH KEEP IN TOUCH
   Editable purple palette and responsive stacked layout.
   Form is a design preview; it never transmits/stores visitor details.
   ============================================================================ */
#keep-in-touch {
  --keep-background:#e9e2f2;
  --keep-heading:#302543;
  --keep-purple:#7861a5;
  --keep-copy:#625d71;
  --keep-border:#d2c5e1;
  --keep-field:#ffffff;
  --keep-button:#302543;
  --keep-button-text:#ffffff;
  position:relative;
  isolation:isolate;
  background:var(--keep-background);
  color:var(--keep-heading);
  padding:clamp(70px,7vw,110px) 0;
}
#keep-in-touch .keep-layout {position:relative;z-index:1;display:flex;flex-direction:column;gap:30px;}
#keep-in-touch .keep-copy {width:100%;}
#keep-in-touch .keep-eyebrow {color:var(--keep-purple);font-size:11px;font-weight:750;letter-spacing:.16em;text-transform:uppercase;margin-bottom:18px;}
#keep-in-touch h2 {color:var(--keep-heading);font-size:clamp(36px,4.4vw,64px);font-weight:600;letter-spacing:-.052em;line-height:1.12;margin:0 0 18px;}
#keep-in-touch h2 span {color:var(--keep-heading);}
#keep-in-touch .keep-copy>p {max-width:980px;color:var(--keep-copy);font-size:clamp(16px,1.35vw,19px);line-height:1.62;margin:0;}
#keep-in-touch .keep-form-card {width:100%;background:#fff;border:1px solid var(--keep-border);border-radius:12px;padding:clamp(24px,3.2vw,42px);box-shadow:0 14px 36px rgba(48,37,67,.045);}
#keep-in-touch .keep-form {display:grid;gap:0;}
#keep-in-touch .keep-fields-row {display:grid;grid-template-columns:1fr 1fr minmax(0,1.35fr);gap:18px;align-items:end;padding-bottom:28px;}
#keep-in-touch .keep-form label:not(.keep-consent) {display:flex;flex-direction:column;gap:9px;font-size:13px;font-weight:700;color:var(--keep-heading);min-width:0;}
#keep-in-touch .keep-form input:not([type=checkbox]) {display:block;width:100%;min-width:0;height:50px;background:var(--keep-field);border:1px solid var(--keep-border);color:var(--keep-heading);border-radius:5px;padding:12px 14px;font:inherit;font-size:15px;outline-offset:3px;}
#keep-in-touch .keep-form input:not([type=checkbox])::placeholder {color:#867b92;}
#keep-in-touch .keep-form input:focus-visible,#keep-in-touch .keep-submit:focus-visible {outline:3px solid var(--keep-purple);outline-offset:3px;}
#keep-in-touch .keep-actions-row {display:flex;align-items:center;justify-content:space-between;gap:26px;border-top:1px solid var(--keep-border);padding-top:23px;}
#keep-in-touch .keep-consent {display:flex;align-items:flex-start;gap:11px;max-width:750px;color:var(--keep-copy);font-size:13px;line-height:1.55;cursor:pointer;}
#keep-in-touch .keep-consent input {width:18px;height:18px;min-width:18px;accent-color:var(--keep-purple);margin:1px 0 0;cursor:pointer;}
#keep-in-touch .keep-submit {display:flex;align-items:center;justify-content:center;gap:22px;min-width:178px;min-height:52px;flex:0 0 auto;border:0;border-radius:5px;padding:13px 22px;background:var(--keep-button);color:var(--keep-button-text);font-size:14px;font-weight:700;cursor:pointer;transition:background .2s,transform .2s;}
#keep-in-touch .keep-submit:hover {background:#513c70;transform:translateY(-2px);}
#keep-in-touch .keep-form-status,#keep-in-touch .keep-privacy {font-size:11px;line-height:1.5;margin:13px 0 0;color:var(--keep-copy);}
#keep-in-touch .keep-privacy {margin-top:5px;}
#keep-in-touch .keep-privacy a {text-decoration:underline;text-underline-offset:2px;}
@media(max-width:850px){
  #keep-in-touch .keep-fields-row {grid-template-columns:1fr 1fr;}
  #keep-in-touch .keep-fields-row label:last-child {grid-column:1/-1;}
  #keep-in-touch .keep-actions-row {align-items:stretch;flex-direction:column;}
  #keep-in-touch .keep-submit {align-self:flex-end;}
}
@media(max-width:560px){
  #keep-in-touch {padding:72px 0;}
  #keep-in-touch .keep-layout {gap:24px;}
  #keep-in-touch .keep-fields-row {grid-template-columns:1fr;gap:15px;padding-bottom:23px;}
  #keep-in-touch .keep-fields-row label:last-child {grid-column:auto;}
  #keep-in-touch .keep-form-card {padding:24px 19px;}
  #keep-in-touch .keep-submit {align-self:stretch;width:100%;}
  #keep-in-touch h2 {font-size:clamp(33px,9vw,48px);}
}
@media(prefers-reduced-motion:reduce){#keep-in-touch .keep-submit{transition:none;}#keep-in-touch .keep-submit:hover{transform:none;}}



/* FOUNDATION 15 / HERO: full-width copy composition after removing signal card.
   Image and animated signal overlay remain separate editable layers. */
.hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero-grid > .hero-copy { width: 100%; max-width: 720px; }
@media (max-width: 700px) {
  .hero-grid > .hero-copy { max-width: 100%; }
}


/* ===================================================================
   G2M FOUNDATION 20 / THREE-ZONE EDITORIAL FOOTER
   Approved footer implementation; shared across all three site pages.
   Existing footer scroll animation IDs and variables are preserved.
   =================================================================== */
.footer-foundation-19 .footer-main {
  background:#050806;
  padding:clamp(30px,4vw,64px) clamp(18px,2.6vw,50px) 30px;
  min-height:unset;
}
.footer-foundation-19 .footer-main-inner {
  max-width:1600px;
  display:grid;
  grid-template-columns:minmax(200px,.91fr) minmax(435px,1.55fr) minmax(355px,1.12fr);
  gap:clamp(12px,1.15vw,24px);
  align-items:stretch;
}
.footer-foundation-19 .footer-identity-zone,
.footer-foundation-19 .footer-directory-zone,
.footer-foundation-19 .footer-subscribe-zone {min-width:0;}
.footer-foundation-19 .footer-identity-zone {
  display:flex;flex-direction:column;justify-content:space-between;
  background:#0B100D;border:1px solid #1D2D23;
  min-height:348px;
}
.footer-foundation-19 .footer-identity-top {padding:clamp(24px,2.5vw,44px);}
.footer-foundation-19 .footer-brand-lockup {display:flex;flex-direction:column;gap:11px;max-width:170px;}
.footer-foundation-19 .footer-brand-mark {
  width:136px;height:112px;display:flex;align-items:center;justify-content:center;
  border:1px solid #4E6655;color:#E4EEE5;font-size:37px;font-weight:900;
  letter-spacing:-.095em;position:relative;line-height:1;
}
.footer-foundation-19 .footer-brand-mark::before {
  content:"";position:absolute;width:78px;height:78px;border:1px solid #364E3D;
  border-radius:50%;
}
.footer-foundation-19 .footer-brand-lockup>span {color:#7C9885;letter-spacing:.13em;font-size:9px;font-weight:700;}
.footer-foundation-19 .footer-identity-statement {color:#BBCABE;font-size:13px;line-height:1.7;margin:22px 0 0;}
.footer-foundation-19 .footer-social-bar {display:flex;gap:8px;padding:13px 18px;background:#0C1325;border-top:1px solid #19253E;}
.footer-foundation-19 .footer-social-bar a {
  color:#D9E5F5;display:flex;align-items:center;justify-content:center;gap:9px;
  border:1px solid #263451;border-radius:999px;padding:10px 13px;min-width:0;
  font-size:12px;font-weight:700;text-decoration:none;transition:background .2s,border-color .2s,transform .2s;
}
.footer-foundation-19 .footer-social-bar a:hover,.footer-foundation-19 .footer-social-bar a:focus-visible {background:#273854;border-color:#7085A9;transform:translateY(-2px);}
.footer-foundation-19 .footer-social-bar svg{width:16px;height:16px;flex-shrink:0;}
.footer-foundation-19 .footer-directory-zone {
  background:#090E0A;border:1px solid #1A281E;display:flex;flex-direction:column;
  justify-content:space-between;padding:clamp(25px,2.5vw,45px) clamp(22px,2.8vw,51px) 22px;
}
.footer-foundation-19 .footer-directory-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2vw,40px);}
.footer-foundation-19 .footer-column {display:flex;flex-direction:column;align-items:flex-start;gap:15px;min-width:0;}
.footer-foundation-19 .footer-column h2 {margin:0 0 15px;color:#9DBBA6;letter-spacing:.16em;font-size:11px;line-height:1.4;font-weight:800;text-transform:uppercase;}
.footer-foundation-19 .footer-column a {font-size:14px;line-height:1.35;color:#EEF3EE;font-weight:450;text-decoration:none;overflow-wrap:anywhere;}
.footer-foundation-19 .footer-column a:hover,.footer-foundation-19 .footer-column a:focus-visible {color:#F1D875;}
.footer-foundation-19 .footer-contact-intro {font-size:13px;color:#9DAC9E;line-height:1.5;margin:0;}
.footer-foundation-19 .footer-contact-note {font-size:12px;line-height:1.6;color:#8DA090;margin-top:7px;}
.footer-foundation-19 .footer-directory-baseline {display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;border-top:1px solid #26352A;padding-top:20px;margin-top:34px;color:#718A77;font-size:9px;font-weight:750;letter-spacing:.095em;}
.footer-foundation-19 .footer-subscribe-zone {
  position:relative;display:flex;flex-direction:column;padding:clamp(25px,2.7vw,48px) clamp(22px,2.3vw,40px) 22px;
  background:linear-gradient(153deg,#17172C 0%,#0F1229 58%,#10162F 100%);
  border:1px solid #323254;box-shadow:inset 0 1px 0 rgba(166,157,219,.11);
  overflow:hidden;
}
.footer-foundation-19 .footer-subscribe-zone::before {content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#7861A5,#CBB8F1 56%,transparent);opacity:.95;}
.footer-foundation-19 .footer-subscribe-eyebrow {color:#C5B2E8;font-size:10px;letter-spacing:.17em;font-weight:800;display:flex;align-items:center;gap:9px;}
.footer-foundation-19 .footer-subscribe-dot {display:inline-block;background:#C9B4F1;border-radius:50%;width:7px;height:7px;box-shadow:0 0 12px rgba(202,179,249,.55);}
.footer-foundation-19 .footer-subscribe-zone h2 {font-size:clamp(23px,2.2vw,33px);letter-spacing:-.045em;line-height:1.16;margin:21px 0 12px;color:#F7F4FC;font-weight:760;}
.footer-foundation-19 .footer-subscribe-zone h2 em{font-style:normal;color:#D2BCF5;}
.footer-foundation-19 .footer-subscribe-zone>p {font-size:13px;line-height:1.68;color:#B8BCD1;max-width:45ch;margin:0 0 21px;}
.footer-foundation-19 .footer-subscribe-form {margin-top:auto;}
.footer-foundation-19 .footer-subscribe-controls {display:flex;align-items:stretch;gap:9px;padding:10px;background:#123D30;border-radius:16px;}
.footer-foundation-19 .footer-subscribe-controls input {min-width:0;flex:1;border:none;border-radius:9px;background:#496F5E;color:#fff;padding:15px 14px;font:inherit;font-size:14px;}
.footer-foundation-19 .footer-subscribe-controls input::placeholder{color:#D8E7DF;opacity:1;}
.footer-foundation-19 .footer-subscribe-controls button {border:0;border-radius:9px;background:#F1D875;color:#173B2C;font:inherit;font-size:12px;font-weight:850;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;padding:14px 16px;cursor:pointer;transition:background .2s,transform .2s;}
.footer-foundation-19 .footer-subscribe-controls button:hover {background:#FFEAA0;transform:translateY(-1px);}
.footer-foundation-19 .footer-subscribe-consent {display:flex;align-items:flex-start;gap:9px;margin:15px 0 6px;color:#BEC2D7;font-size:11px;line-height:1.5;cursor:pointer;}
.footer-foundation-19 .footer-subscribe-consent input{accent-color:#C9B4F1;margin:2px 0 0;flex-shrink:0;width:14px;height:14px;}
.footer-foundation-19 .footer-subscribe-status {font-size:11px;color:#CBB8F1;min-height:1.4em;margin:5px 0 0;}
.footer-foundation-19 .footer-subscribe-footnote {border-top:1px solid #33344D;margin-top:19px;padding-top:13px;font-size:9px;letter-spacing:.14em;font-weight:760;color:#8383AB;}
.footer-foundation-19 .footer-legal {background:#213F31;min-height:60px;}
.footer-foundation-19 a:focus-visible,.footer-foundation-19 input:focus-visible,.footer-foundation-19 button:focus-visible {outline:2px solid #F1D875;outline-offset:3px;}
.footer-foundation-19 .visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
@media(max-width:1250px) {
  .footer-foundation-19 .footer-main-inner {grid-template-columns:minmax(195px,.76fr) minmax(370px,1.45fr);}
  .footer-foundation-19 .footer-subscribe-zone {grid-column:1/-1;}
  .footer-foundation-19 .footer-subscribe-controls {max-width:660px;}
  .footer-foundation-19 .footer-subscribe-zone h2 {font-size:30px;}
}
@media(max-width:800px) {
  .footer-foundation-19 .footer-main-inner {grid-template-columns:1fr;}
  .footer-foundation-19 .footer-identity-zone{min-height:unset;}
  .footer-foundation-19 .footer-identity-top{padding:23px;display:flex;align-items:center;gap:25px;}
  .footer-foundation-19 .footer-identity-statement {margin:0;}
  .footer-foundation-19 .footer-directory-zone{padding:30px 23px;}
  .footer-foundation-19 .footer-subscribe-zone{grid-column:auto;}
}
@media(max-width:530px) {
  .footer-foundation-19 .footer-main{padding:18px 15px 24px;}
  .footer-foundation-19 .footer-identity-top{align-items:flex-start;flex-direction:column;gap:15px;}
  .footer-foundation-19 .footer-directory-grid{grid-template-columns:1fr 1fr;gap:25px 15px;}
  .footer-foundation-19 .footer-contact-column{grid-column:1/-1;}
  .footer-foundation-19 .footer-column:last-child{grid-column:auto;}
  .footer-foundation-19 .footer-subscribe-controls{flex-direction:column;}
  .footer-foundation-19 .footer-subscribe-controls button{min-height:46px;}
  .footer-foundation-19 .footer-social-bar a{flex:1;}
  .footer-foundation-19 .footer-legal{gap:13px;}
}
@media(prefers-reduced-motion:reduce){.footer-foundation-19 .footer-social-bar a,.footer-foundation-19 .footer-subscribe-controls button{transition:none;transform:none!important;}}

/* ================================================================
   FOUNDATION 20 / SECTION 02B — PINNED INLINE REFRAME REVEAL
   Pin, don't wheel-lock: browser scroll continues through a 1.85 viewport
   stage while the question visibly holds in place and 'Maybe.' fades in.
   ================================================================ */
.reframe-scroll-stage { height: 190svh; position: relative; }
.reframe-scroll-stage #reframe {
  position: sticky;
  top: 0;
  box-sizing: border-box;
  min-height: 100svh;
  height: 100svh;
  padding: clamp(72px, 8vh, 110px) 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#reframe .reframe-content { width: 100%; }
/* Foundation 20: one baseline, reserved space; the yellow word never shifts the headline. */
#reframe h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: clamp(12px, 2vw, 30px);
  row-gap: 0;
  font-size: clamp(31px, 3.85vw, 65px);
}
#reframe .reframe-question { display: inline-block; white-space: nowrap; }
#reframe .reframe-maybe {
  display: inline-block;
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 2em;
  line-height: 1.05;
  color: #f1d875;
  font-style: italic;
  opacity: var(--reframe-reveal, 0);
  transform: translate3d(0, 0, 0);
  will-change: opacity;
}
#reframe .reframe-description { max-width: 920px; }
@media(max-width: 850px) {
  .reframe-scroll-stage {height: 175svh;}
  .reframe-scroll-stage #reframe {padding: 56px 0;}
  #reframe h2 {font-size: clamp(24px, 4.7vw, 42px);}
}
@media(max-width: 480px) {
  .reframe-scroll-stage {height: 160svh;}
  .reframe-scroll-stage #reframe {padding: 42px 0;}
  #reframe h2 {font-size: clamp(19px, 4.8vw, 25px);margin-bottom:20px;column-gap:8px;}
  #reframe .reframe-maybe {font-size:2em;}
}
@media(prefers-reduced-motion:reduce) {
  .reframe-scroll-stage {height:auto;}
  .reframe-scroll-stage #reframe {position:relative;height:auto;min-height:70svh;}
  #reframe .reframe-maybe {opacity:1!important;transform:none!important;will-change:auto;}
}


/* ========================================================================
   FOUNDATION 23 / SECTION 03 — BLUE BUSINESS INTELLIGENCE TREATMENT
   Adapted from the earlier Business Intelligence Study 01.
   Scoped to investment calculator; Growth Pulse section remains unchanged.
   Editable color levers: --bi-blue, --bi-navy, --bi-border, --bi-surface.
   ======================================================================== */
:root { --bi-blue:#3976AA; --bi-navy:#173B56; --bi-border:#C9DAE8; --bi-muted:#58778D; --bi-surface:#EDF3F8; }
#investment { color:var(--bi-navy); position:relative; isolation:isolate; }
#investment { background:#EDF3F8; border-top:1px solid #D4E0E9; border-bottom:1px solid #D4E0E9; }
#investment::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background-image:linear-gradient(to right,rgba(57,118,170,.065) 1px,transparent 1px),linear-gradient(to bottom,rgba(57,118,170,.055) 1px,transparent 1px); background-size:80px 80px; mask-image:linear-gradient(180deg,transparent,black 14%,black 85%,transparent); }
#investment .eyebrow { color:var(--bi-blue); font-weight:800; letter-spacing:.13em; }
#investment h2 { color:var(--bi-navy); max-width:900px; }
#investment .investment-intro { color:#526D80; }
#investment .invest-story { grid-template-columns:260px minmax(0,1fr); gap:15px; margin-top:40px; }
#investment .invest-choice { background:#F9FCFE; border:1px solid var(--bi-border); border-radius:5px; padding:20px; gap:9px; transition:background .2s,border-color .2s,box-shadow .2s,transform .2s; }
#investment .invest-choice:hover { border-color:#73A2C5; transform:translateX(3px); }
#investment .invest-choice.active { background:#DDEAF5; border-color:#3976AA; box-shadow:inset 4px 0 #3976AA,0 6px 22px rgba(23,59,86,.08); }
#investment .invest-choice span { color:var(--bi-blue); font-family:ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:.12em; }
#investment .invest-choice strong { color:var(--bi-navy); }
#investment .invest-choice small { color:#59768A; }
#investment .invest-panel { background:#fff; border:1px solid var(--bi-border); border-radius:6px; box-shadow:0 16px 45px rgba(24,65,93,.06); }
#investment .invest-panel { padding:32px clamp(23px,3vw,45px); }
#investment .invest-panel h3 { color:var(--bi-navy); }
#investment .invest-panel p { color:var(--bi-muted); }
#investment .invest-panel-head small, #investment .investment-result small, #investment .combined-investment small { color:var(--bi-blue); font-family:ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:.095em; }
#investment .model-pill { color:#446C8A; border-color:#C5DAE9; background:#F0F6FA; white-space:nowrap; }
#investment .investment-inputs label { color:#375970; }
#investment .investment-inputs label strong { color:#173B56; font-variant-numeric:tabular-nums; }
#investment .investment-inputs input { accent-color:#3976AA; cursor:pointer; }
#investment .investment-result { border-color:#D6E3EC; }
#investment .investment-result strong { color:#173B56; font-variant-numeric:tabular-nums; font-feature-settings:"tnum"; font-weight:750; }
#investment .result-breakdown { color:#52738B; }
#investment .combined-investment { background:linear-gradient(115deg,#173B56,#214D70); border:1px solid #2D5A7B; border-radius:6px; box-shadow:0 12px 36px rgba(23,59,86,.12); }
#investment .combined-investment strong { color:#fff; font-variant-numeric:tabular-nums; }
#investment .combined-investment small { color:#B9DDF5; }
#investment .combined-investment p, #investment .combined-split { color:#D5E5F0; }
#investment .investment-question { border-top:1px solid #C5D8E7; padding-top:29px; margin-top:34px; }
#investment .investment-question span { color:#A06439; }
#investment .investment-question h3 { color:#173B56; }
#investment .investment-question p { color:#567184; }
.assumption-note { color:#637D8D; }
#investment :is(button,input):focus-visible {outline:3px solid #3976AA;outline-offset:3px;}
@media(max-width:760px){
 #investment .invest-story{grid-template-columns:1fr;}
 #investment .invest-choices{grid-template-columns:repeat(2,minmax(0,1fr));}
 #investment .invest-choice{padding:15px;}
 #investment .invest-panel-head,#investment .investment-result{flex-wrap:wrap;}
 #investment .result-breakdown{text-align:left;}
}
@media(max-width:440px){
 #investment .invest-choices{grid-template-columns:1fr;}
 #investment .combined-investment{flex-direction:column;}
}
@media(prefers-reduced-motion:reduce){#investment .invest-choice{transition:none;transform:none;}}

/* Study 06: four social channels, two-column layout prevents crowded text. */
.footer-foundation-19 .footer-social-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.footer-foundation-19 .footer-social-bar a{width:100%;padding:10px 8px;gap:7px;white-space:nowrap;}
@media(max-width:530px){.footer-foundation-19 .footer-social-bar a{flex:initial;}}


/* STUDY 07 / PIPELINE DISCOVERY — provide a readable scroll hold at each stage.
   Initial animation retains its original scroll distance. The extra runway
   belongs to TARGET → ENGAGE → DISCOVER → PROPOSE → WIN. */
@media (prefers-reduced-motion: no-preference) {
  #pipeline #engineStory.story { height:620vh; }
  @media (max-width:780px) {
    #pipeline #engineStory.story { height:580vh; }
  }
}


/* STUDY 08 — Violet inset for the boxed G2M footer mark.
   Mirrors the Insights panel's midnight-violet without changing the mark geometry. */
.footer-foundation-19 .footer-brand-mark {
  background:
    radial-gradient(ellipse 95% 85% at 18% 0%, rgba(155,117,219,.23) 0%, rgba(116,83,188,.11) 45%, transparent 82%),
    linear-gradient(145deg, #20183d 0%, #171332 43%, #10112d 100%);
  border-color:#635184;
  box-shadow:inset 0 4px 0 rgba(182,146,232,.30), inset 0 0 26px rgba(74,48,139,.23);
  color:#edf5ef;
}
.footer-foundation-19 .footer-brand-mark::before {
  border-color:rgba(193,161,238,.36);
  box-shadow:0 0 17px rgba(152,108,218,.12);
}
