/* Growth Mindset Advisors — base: tokens, type, buttons, nav, footer. Mobile first. */
:root {
  --ink: #0b0d0c;
  --ink-rgb: 11, 13, 12;
  --paper-rgb: 244, 242, 236;
  --gold: #c9a55c;
  --ink-2: #141816;
  --ink-3: #1d2220;
  --paper: #f4f2ec;
  --paper-2: #e8e5db;
  --white: #fff;
  --lime: #7cee63;
    --on-dark: var(--paper);
  --on-dark-2: rgba(var(--paper-rgb), 0.68);
  --on-light: var(--ink);
  --on-light-2: rgba(var(--ink-rgb), 0.66);
  --line-dark: rgba(var(--paper-rgb), 0.14);
  --line-light: rgba(var(--ink-rgb), 0.12);

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(1.125rem, 4.5vw, 3rem);
  --max: 82rem;
  --radius: 14px;
  --radius-lg: 22px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --fs-display: clamp(2.65rem, 10.5vw, 8.25rem);
  --fs-h1: clamp(2.35rem, 8vw, 5.75rem);
  --fs-h2: clamp(1.95rem, 6vw, 4.25rem);
  --fs-h3: clamp(1.25rem, 2.6vw, 1.6rem);
  --fs-lead: clamp(1.06rem, 1.7vw, 1.3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.page-light { background: var(--paper); color: var(--on-light); }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* layout */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 46rem; }
.wrap--mid { max-width: 62rem; }
.section { padding-block: clamp(4.5rem, 12vw, 9.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 8vw, 6rem); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--ink2 { background: var(--ink-2); color: var(--on-dark); }
.section--light { background: var(--paper); color: var(--on-light); }
.section--white { background: var(--white); color: var(--on-light); }
.section--lime { background: var(--lime); color: var(--ink); }

/* type helpers */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.25rem;
  opacity: 0.8;
}
.eyebrow::before { content: ""; width: 0.55em; height: 0.55em; background: var(--lime); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.section--lime .eyebrow::before { background: var(--ink); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--on-dark-2); max-width: 38em; }
.page-light .lead, .section--light .lead, .section--white .lead { color: var(--on-light-2); }
.section--lime .lead { color: rgba(var(--ink-rgb), 0.75); }
.ital { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.accent { color: var(--lime); }
/* one green everywhere: on light grounds the lime sits under ink text as a highlighter */
.section--light .accent, .section--white .accent, .page-light .accent, .story .accent { color: var(--ink); background: linear-gradient(transparent 58%, var(--lime) 58% 90%, transparent 90%); padding-inline: 0.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.mono { font-family: var(--mono); }
.muted { color: var(--on-dark-2); }
.page-light .muted, .section--light .muted, .section--white .muted { color: var(--on-light-2); }
.center { text-align: center; }
.stack > * + * { margin-top: 1.1rem; }
.sec-head { max-width: 52rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.sec-head .lead { margin-top: 1.25rem; }
.sec-head.center { margin-inline: auto; }
.sec-head.center .lead { margin-inline: auto; }

/* buttons */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0.85rem 1.5rem;
  border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lime { --bg: var(--lime); --fg: var(--ink); --bd: var(--lime); }
.btn--lime:hover { box-shadow: 0 10px 28px color-mix(in srgb, var(--lime) 45%, transparent); }
.btn--ink { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }
.btn--ink:hover { --bg: var(--ink-3); }
.btn--ghost { --bd: var(--line-dark); }
.btn--ghost:hover { --bd: currentColor; }
.section--light .btn--ghost, .section--white .btn--ghost, .page-light .btn--ghost, .section--lime .btn--ghost { --bd: rgba(var(--ink-rgb), 0.25); }
.btn--sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btns { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 560px) { .btns { flex-direction: row; flex-wrap: wrap; } }
.link { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link:hover { color: var(--lime); }
.page-light .link:hover, .section--light .link:hover, .section--white .link:hover { color: var(--ink); border-bottom: 3px solid var(--lime); }

/* brand */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; }
.brand__mark { width: 38px; height: 38px; flex: none; object-fit: contain; }
/* the sail is lime; on light backgrounds a deep green keeps it readable */
.page-light .nav .brand__mark { filter: brightness(0.5) saturate(1.3); }
/* wordmark: wide-tracked capitals after a hairline, "Ascent" lettering */
.brand__word { display: flex; flex-direction: column; line-height: 1; padding-left: 0.7rem; border-left: 1px solid color-mix(in srgb, currentColor 28%, transparent); }
.brand__word span { font-family: var(--sans); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; }
.brand__word small { font-family: var(--sans); font-weight: 400; font-size: 0.56rem; letter-spacing: 0.38em; text-transform: uppercase; margin-top: 5px; opacity: 0.65; }
@media (max-width: 380px) { .brand__word span { font-size: 0.76rem; letter-spacing: 0.16em; } }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--on-dark);
  transition: background-color 0.35s, color 0.35s, box-shadow 0.35s, transform 0.45s var(--ease);
}
.nav__inner { height: var(--nav-h); max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 1rem; }
.nav .brand { margin-right: auto; }
.nav.is-solid { background: rgba(var(--ink-rgb), 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-dark); }
.page-light .nav { color: var(--on-light); }
.page-light .nav.is-solid { background: rgba(var(--paper-rgb), 0.88); box-shadow: 0 1px 0 var(--line-light); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__links { display: none; }
.nav__cta { display: none; }
.nav__toggle {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 44px; padding: 0 0.25rem 0 0.9rem; border-radius: 999px;
  background: none; border: 1px solid var(--line-dark); cursor: pointer;
}
.page-light .nav__toggle { border-color: var(--line-light); }
.nav__toggle-label { font-size: 0.9rem; font-weight: 500; }
.nav__burger { width: 36px; height: 36px; border-radius: 50%; background: var(--lime); display: grid; place-content: center; gap: 4px; }
.nav__burger i { display: block; width: 14px; height: 1.5px; background: var(--ink); transition: transform 0.35s var(--ease); }
.menu-open .nav__burger i:first-child { transform: translateY(2.75px) rotate(45deg); }
.menu-open .nav__burger i:last-child { transform: translateY(-2.75px) rotate(-45deg); }
@media (min-width: 1040px) {
  .nav__links { display: flex; gap: 0.25rem; }
  .nav__links a { text-decoration: none; font-size: 0.92rem; font-weight: 500; padding: 0.5rem 0.8rem; border-radius: 999px; opacity: 0.78; transition: opacity 0.2s, background-color 0.2s; }
  .nav__links a:hover { opacity: 1; background: rgba(127, 127, 127, 0.14); }
  .nav__links a[aria-current] { opacity: 1; }
  .nav__links a[aria-current]::after { content: ""; display: block; height: 2px; margin-top: 2px; background: var(--lime); border-radius: 2px; }
  .nav__cta { display: inline-flex; margin-left: 0.5rem; }
  .nav__toggle { display: none; }
}

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink); color: var(--on-dark);
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 1.5rem) var(--gutter) calc(1.5rem + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  overflow-y: auto;
}
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  text-decoration: none; font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 600; letter-spacing: -0.04em;
  padding: 0.35rem 0; border-bottom: 1px solid var(--line-dark);
}
.menu__links a[aria-current] { color: var(--lime); }
.menu__foot { display: grid; gap: 0.75rem; }
.menu-open .nav { color: var(--on-dark); background: transparent; box-shadow: none; }
.menu-open { overflow: hidden; }

/* footer */
.footer { background: var(--ink); color: var(--on-dark); padding-block: 4rem calc(2rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-dark); }
.footer__top { display: grid; gap: 2.5rem; }
.footer__brand p { margin-top: 1rem; color: var(--on-dark-2); font-size: 0.95rem; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
.footer__cols > div:last-child { grid-column: 1 / -1; }
.footer__cols a { display: block; text-decoration: none; color: var(--on-dark-2); padding: 0.3rem 0; font-size: 0.95rem; overflow-wrap: anywhere; }
.footer__cols a:hover { color: var(--lime); }
.footer__h { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.6rem; }
.footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; font-size: 0.85rem; color: var(--on-dark-2); }
.footer__bottom a { text-decoration: none; }
@media (min-width: 860px) {
  .footer__top { grid-template-columns: 1.2fr 2fr; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .footer__cols > div:last-child { grid-column: auto; }
}

/* motion: elements start visible; JS adds .js-motion to enable reveal */
.js-motion [data-reveal] { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) {
  .js-motion [data-reveal] { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* dark blocks inside light pages keep dark-theme text colours */
.cta, .section--dark, .section--ink2 { color: var(--on-dark); }
.page-light :is(.cta, .section--dark, .section--ink2) .lead,
.page-light :is(.cta, .section--dark, .section--ink2) .muted { color: var(--on-dark-2); }
.page-light :is(.cta, .section--dark, .section--ink2) .accent { color: var(--lime); background: none; padding-inline: 0; }
.page-light :is(.cta, .section--dark, .section--ink2) .btn--ghost { --bd: var(--line-dark); }
.page-light :is(.cta, .section--dark, .section--ink2) .link:hover { color: var(--lime); }

/* palette previews (?palette=evergreen | navy). Same layout, only the base colours change. */
:root[data-palette="evergreen"] {
  --ink: #0c241a; --ink-rgb: 12, 36, 26; --ink-2: #113024; --ink-3: #183c2e;
  --paper: #f4f0e6; --paper-rgb: 244, 240, 230; --paper-2: #e7e0cf;
  --gold: #c9a55c;
}
:root[data-palette="evergreen"] .accent { color: var(--gold); }
:root[data-palette="evergreen"] .page-light .phero .accent,
:root[data-palette="evergreen"] .section--light .accent,
:root[data-palette="evergreen"] .story .accent { color: #9a7632; background: none; }
:root[data-palette="navy"] {
  --ink: #0b1626; --ink-rgb: 11, 22, 38; --ink-2: #10203a; --ink-3: #172b48;
  --paper: #f3f4f6; --paper-rgb: 243, 244, 246; --paper-2: #e2e6ec;
}

.palette-bar { position: fixed; z-index: 300; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; gap: 0.3rem; align-items: center; padding: 0.35rem; border-radius: 999px; background: rgba(20, 20, 20, 0.92); backdrop-filter: blur(10px); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35); font: 500 0.8rem/1 var(--sans); max-width: calc(100% - 1.5rem); }
.palette-bar button { border: 0; cursor: pointer; display: inline-flex; gap: 0.45rem; align-items: center; padding: 0.55rem 0.8rem; border-radius: 999px; background: transparent; color: #ddd; white-space: nowrap; font: inherit; }
.palette-bar button[aria-pressed="true"] { background: #fff; color: #111; }
.palette-bar i { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--sw1) 50%, var(--sw2) 50%); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3); }
.palette-bar .palette-bar__x { padding: 0.55rem 0.65rem; color: #999; }
@media (max-width: 520px) { .palette-bar { font-size: 0.74rem; } .palette-bar button { padding: 0.5rem 0.6rem; gap: 0.35rem; } }

/* "A professional valuation costs up to $12,000" callout (scorecard welcome, DealReveal pricing) */
.valnote { display: flex; gap: 0.85rem; align-items: flex-start; max-width: 46rem; margin: 2rem auto 0; padding: 1rem 1.25rem; border-radius: 14px; font-size: 0.98rem; line-height: 1.5;
  background: color-mix(in srgb, var(--lime) 14%, var(--white)); border: 1px solid color-mix(in srgb, var(--lime) 55%, transparent); color: var(--ink); }
.valnote__star { color: var(--deep, #2c6a1d); font-size: 1.1rem; line-height: 1.35; }
.valnote b { font-weight: 700; color: var(--ink); background: linear-gradient(transparent 58%, var(--lime) 58% 90%, transparent 90%); }
.valnote--dark { margin: 1.5rem 0 0; background: rgba(124, 238, 99, 0.07); border-color: rgba(124, 238, 99, 0.45); color: var(--on-dark); }
.valnote--dark .valnote__star, .valnote--dark b { color: var(--lime); background: none; }
