/* ------------------------------------------------------------------
   Momentum Consulting — design tokens
   Palette derived from the brand mark's green→cyan gradient.
------------------------------------------------------------------ */
:root {
  --paper:      #F8FAF9;
  --paper-2:    #ECF2F0;
  --paper-3:    #E1EBE8;
  --ink:        #06231F;
  --ink-soft:   #46605C;
  --ink-faint:  #566E6A;
  --line:       #D2E0DC;
  --line-soft:  #E3ECE9;

  --brand-a:    #0AF39F;
  --brand-b:    #00E3C4;
  --brand-c:    #02D6DE;
  --brand-deep: #007A60;

  --grad: linear-gradient(100deg, var(--brand-a) 0%, var(--brand-b) 52%, var(--brand-c) 100%);

  --shell: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);

  --display: "Jost", "Century Gothic", "Futura", system-ui, sans-serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

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

:focus-visible {
  outline: 2.5px solid var(--brand-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: .7rem 1.1rem; z-index: 200; border-radius: 0 0 6px 0;
}
.skip:focus { left: 0; }

/* ---------------------------- Masthead ---------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.masthead[data-stuck="true"] { border-bottom-color: var(--line-soft); }

.masthead__row {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 78px;
}

.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand img { height: 27px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.6vw, 2.1rem); }
.nav a:not(.btn) {
  font-family: var(--display);
  font-size: .97rem;
  font-weight: 400;
  letter-spacing: .003em;
  color: var(--ink-soft);
  text-decoration: none;
  padding: .35rem 0;
  position: relative;
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn)[aria-current="page"] { color: var(--ink); }
.nav a:not(.btn)[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--grad); border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: .5rem .8rem;
  font-family: var(--display); font-size: .95rem; color: var(--ink);
  cursor: pointer;
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-block: 1px solid var(--line-soft);
    padding: .5rem var(--gutter) 1.25rem;
  }
  .masthead[data-open="true"] .nav { display: flex; }
  .nav a:not(.btn) { padding: .85rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line-soft); }
  .nav a:not(.btn):last-child { border-bottom: 0; }
  .nav a:not(.btn)[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: 1rem; text-align: center; }
}

/* ---------------------------- Buttons ---------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap; flex-shrink: 0;
  font-family: var(--display); font-size: 1rem; font-weight: 500;
  letter-spacing: .005em;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 0; cursor: pointer;
  text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background-color .2s var(--ease);
}
.btn--primary {
  background: var(--grad);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(6,35,31,.14);
}
.btn--primary:hover {
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -6px rgba(2,180,150,.6);
}
.btn--ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.06rem; }

/* --------------------------- Hero / wave --------------------------- */
.hero { padding-top: clamp(2.75rem, 6.5vw, 5rem); }

.hero__lede {
  font-size: clamp(1.1rem, 1.9vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 54ch;
  margin-top: 1.6rem;
}

h1 {
  font-size: clamp(2.9rem, 8.2vw, 6.1rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.1rem; }

.hero__note {
  margin-top: 2.1rem;
  font-size: .96rem;
  color: var(--ink-faint);
  max-width: 46ch;
}

.wave {
  margin-top: clamp(1.75rem, 3.5vw, 3rem);
  width: 100%;
  overflow: hidden;
}
.wave svg { width: 100%; height: clamp(150px, 21vw, 275px); display: block; }
.hero .wave { margin-bottom: -1.25rem; }
.wave svg { overflow: visible; }
.wave--draw path {
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
  animation: draw 2.4s var(--ease) .25s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .wave--draw path { animation: none; stroke-dashoffset: 0; }
}

/* --------------------------- Sections --------------------------- */
.band { padding-block: clamp(4.5rem, 10vw, 8rem); }
.band--tint { background: var(--paper-2); }
.band--edge { border-top: 1px solid var(--line-soft); }

.band__head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.band__head h2 {
  font-size: clamp(2rem, 4.4vw, 3.05rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.band__head p { margin-top: 1.15rem; color: var(--ink-soft); font-size: 1.06rem; }

.tick {
  display: block; width: 74px; height: 8px;
  background: var(--grad); border-radius: 99px;
  margin-bottom: 1.75rem;
}

/* -------------------- Services: rule-separated list -------------------- */
.roster { border-top: 1px solid var(--line); }
.roster__item {
  display: grid;
  grid-template-columns: minmax(0, 8.5fr) minmax(0, 11fr);
  gap: clamp(1rem, 4vw, 3.5rem);
  align-items: start;
  padding-block: clamp(1.6rem, 3vw, 2.3rem);
  border-bottom: 1px solid var(--line);
}
.roster__item h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.72rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.roster__item p { color: var(--ink-soft); font-size: 1.02rem; margin: 0; }
@media (max-width: 720px) {
  .roster__item { grid-template-columns: 1fr; gap: .6rem; }
}

.roster--deep .roster__item { padding-block: clamp(2rem, 4vw, 3.1rem); }
.roster--deep .roster__item p + p { margin-top: .9rem; }
.roster__aside {
  margin-top: 1rem;
  font-size: .95rem;
  color: var(--ink-faint);
  border-left: 2px solid var(--brand-b);
  padding-left: .9rem;
  max-width: 58ch;
}

/* ------------------------ Principles (advantage) ------------------------ */
.tenets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(262px, 1fr));
  gap: clamp(2.25rem, 4.5vw, 3.4rem) clamp(2rem, 5vw, 4rem);
}
.tenets__lead { max-width: 30ch; }
.tenets__lead h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  font-weight: 300; letter-spacing: -0.03em;
}
.tenets__lead p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.01rem; }
.tenets > div { max-width: 42ch; }
.tenets h3 {
  font-size: 1.22rem; font-weight: 500; letter-spacing: -0.012em;
  margin-bottom: .55rem;
  padding-top: 1rem;
  border-top: 2px solid var(--ink);
}
.tenets p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

/* ------------------------------ Founders ------------------------------ */
.duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
}
.person__name {
  font-family: var(--display);
  font-size: 1.55rem; font-weight: 500; letter-spacing: -0.02em;
  margin: 0 0 .2rem;
}
.person__role { color: var(--brand-deep); font-size: .98rem; margin: 0 0 1rem; }
.person__bio { color: var(--ink-soft); font-size: 1.01rem; margin: 0; }
.person__rule { height: 6px; width: 56px; background: var(--grad); border-radius: 99px; margin-bottom: 1.4rem; }

/* --------------------------- Pull quote --------------------------- */
.pull {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4.6vw, 3rem);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.03em;
  max-width: 20ch;
  margin: 0;
}
.pull__cite {
  margin-top: 1.5rem; font-family: var(--text);
  font-size: .98rem; color: var(--ink-faint);
}

/* ------------------------------- CTA ------------------------------- */
.summon {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(4rem, 8vw, 6.5rem);
  position: relative; overflow: hidden;
}
.summon h2 {
  font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 400;
  letter-spacing: -0.03em; max-width: 17ch;
  color: var(--paper);
}
.summon p { color: #A9C4BF; margin-top: 1.2rem; max-width: 50ch; }
.summon .btn--primary { margin-top: 2.2rem; }
.summon__wave {
  position: absolute; inset: auto 0 -2px 0; height: 100px; opacity: .3;
  pointer-events: none;
}
.summon__wave svg { width: 100%; height: 100%; }

/* ------------------------------ Footer ------------------------------ */
.foot {
  padding-block: 3.2rem 2.4rem;
  border-top: 1px solid var(--line-soft);
  font-size: .95rem;
  color: var(--ink-faint);
}
.foot__row { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: flex-start; }
.foot__brand img { height: 24px; width: auto; margin-bottom: .9rem; }
.foot__links { display: flex; flex-wrap: wrap; gap: .9rem 1.6rem; margin-left: auto; }
.foot__links a { color: var(--ink-soft); text-decoration: none; font-family: var(--display); }
.foot__links a:hover { color: var(--ink); text-decoration: underline; }
.foot__fine { margin-top: 2.5rem; font-size: .88rem; }

/* ------------------------------- Forms ------------------------------- */
.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 860px) {
  .form-wrap { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}

.field { margin-bottom: 1.35rem; }
.field label {
  display: block;
  font-family: var(--display); font-size: .97rem; font-weight: 500;
  margin-bottom: .45rem;
}
.field .hint { font-weight: 400; color: var(--ink-faint); }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--text); font-size: 1rem; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .8rem .95rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 155px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand-b);
  box-shadow: 0 0 0 3px rgba(0,227,196,.22);
}
.field input::placeholder, .field textarea::placeholder { color: #9BAFAB; }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-status {
  margin-top: 1.2rem;
  padding: .9rem 1.1rem;
  border-radius: 10px;
  font-size: .98rem;
  display: none;
}
.form-status[data-state="ok"] {
  display: block;
  background: rgba(10,243,159,.14);
  border: 1px solid rgba(0,150,120,.35);
  color: #044C3D;
}
.form-status[data-state="err"] {
  display: block;
  background: #FDEDEA;
  border: 1px solid #E7B3A8;
  color: #7A2A18;
}

.aside-card {
  background: var(--paper-2);
  position: sticky; top: 106px;
  border-radius: 16px;
  padding: clamp(1.6rem, 3vw, 2.2rem);
}
.aside-card h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: .7rem; }
.aside-card p { font-size: .99rem; color: var(--ink-soft); }
.aside-card ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: .99rem; }
.aside-card li { margin-bottom: .5rem; }
.aside-card li:last-child { margin-bottom: 0; }

/* ------------------------------ Page head ------------------------------ */
.pagehead { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); }
.pagehead h1 {
  font-size: clamp(2.5rem, 6.5vw, 4.4rem);
  max-width: 18ch;
}
.pagehead p {
  margin-top: 1.4rem; font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--ink-soft); max-width: 56ch;
}

.prose p { font-size: 1.06rem; color: var(--ink-soft); }
.prose p strong { color: var(--ink); font-weight: 600; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 12fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.split h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 400; }
