:root {
  --pine: #1c3b34;
  --sage: #a7d5bd;
  --yellow: #f0e96f;
  --cream: #fafaf5;
  --white: #ffffff;
  --ink: #1e2925;
  --muted: #65736d;
  --line: rgba(28, 59, 52, 0.14);
  --shadow: 0 24px 70px rgba(28, 59, 52, 0.16);

  /* Mediterranean accent set — used sparingly for warmth alongside pine/sage */
  --terracotta: #c96f4a;
  --ochre: #d9a441;
  --sea: #4f86a0;
}

::selection {
  background: var(--sage);
  color: var(--pine);
}

html {
  scrollbar-color: var(--pine) var(--cream);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--sage);
  border-radius: 999px;
  border: 3px solid var(--cream);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--pine);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Karla", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-solid {
  background: rgba(250, 250, 245, 0.92);
  color: var(--pine);
  box-shadow: 0 18px 42px rgba(28, 59, 52, 0.08);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 142px;
  filter: brightness(0) invert(1);
  transition: filter 0.25s ease;
}

.site-header.is-solid .brand img {
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
}

.nav-links a {
  opacity: 0.9;
}

.nav-links-cta {
  display: none;
}

.nav-toggle {
  display: none;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 60;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-cta,
.btn-primary {
  background: var(--sage);
  color: var(--pine);
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.site-header.is-solid .btn-secondary {
  color: var(--pine);
  border-color: var(--line);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(28, 59, 52, 0.18);
}

.header-cta:hover,
.btn-primary:hover {
  background: #bde8cf;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("/assets/hero-mediterranean.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroBreath 28s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroBreath {
  0% {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.09) translate3d(-1.2%, -0.8%, 0);
  }
}

.hero-depth {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15, 42, 35, 0.82) 0%, rgba(15, 42, 35, 0.5) 40%, rgba(15, 42, 35, 0.12) 72%, rgba(15, 42, 35, 0.02) 100%),
    linear-gradient(0deg, rgba(15, 42, 35, 0.46) 0%, rgba(15, 42, 35, 0.12) 48%, rgba(15, 42, 35, 0.04) 100%);
}

.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 68%) var(--my, 42%), rgba(240, 233, 111, 0.16) 0%, rgba(167, 213, 189, 0.06) 18%, rgba(28, 59, 52, 0) 38%);
  mix-blend-mode: soft-light;
  transition: background 120ms ease-out;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  min-height: 100svh;
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(44px, 9vh, 96px) clamp(18px, 6vw, 78px);
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.nido h2,
.final-cta h2 {
  margin: 0;
  font-family: "Tenor Sans", Georgia, serif;
  font-weight: 400;
}

.hero h1 {
  font-size: clamp(58px, 12vw, 132px);
  line-height: 0.88;
}

.tagline {
  margin: 22px 0 0;
  max-width: 520px;
  font-size: clamp(18px, 2.2vw, 25px);
}

.hero-copy {
  max-width: 580px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.section {
  padding: clamp(52px, 7vw, 92px) clamp(20px, 6vw, 76px);
}

.intro {
  background: var(--pine);
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: end;
}

.intro h2,
.section h2,
.nido h2,
.final-cta h2 {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.02;
}

.intro p,
.founder-copy p,
.nido-copy p,
.final-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.56;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(36px, 6vw, 70px);
}

.section-heading h2 {
  max-width: 790px;
}

.section-kicker {
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step {
  min-height: 330px;
  padding: 30px;
  background: var(--cream);
  border-top: 3px solid var(--sage);
}

.steps .step:nth-child(2) {
  border-top-color: var(--ochre);
}

.steps .step:nth-child(3) {
  border-top-color: var(--terracotta);
}

.steps .step:nth-child(4) {
  border-top-color: var(--sea);
}

.step span,
.alert-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.step h3,
.team-member h3 {
  margin: 0 0 14px;
  color: var(--pine);
  font-size: 24px;
  line-height: 1.12;
}

.team-member h3 {
  margin-bottom: 4px;
}

.team-member .role {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.step p,
.team-member p,
.quote,
.proof-note {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.nido {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.74fr);
  gap: clamp(34px, 6vw, 86px);
  padding: clamp(52px, 7vw, 92px) clamp(20px, 6vw, 76px);
  color: var(--white);
}

.nido-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("/assets/tramuntana-pueblo.webp");
  background-size: cover;
  background-position: center;
  animation: cinematicDrift 24s ease-in-out infinite alternate;
  will-change: transform;
}

.nido-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(15, 42, 35, 0.94) 0%, rgba(15, 42, 35, 0.76) 42%, rgba(15, 42, 35, 0.48) 72%, rgba(15, 42, 35, 0.24) 100%);
}

.nido-copy,
.alert-stack {
  position: relative;
  z-index: 2;
}

.nido .section-kicker {
  color: var(--sage);
}

.nido-copy {
  align-self: center;
}

.nido-copy p {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
}

.nido .text-link {
  color: var(--white);
  border-bottom-color: var(--yellow);
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--pine);
  font-weight: 700;
  border-bottom: 2px solid var(--sage);
}

.alert-stack {
  display: grid;
  gap: 18px;
}

.alert-card {
  width: 100%;
  padding: 28px;
  background: var(--cream);
  color: var(--muted);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sage);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.alert-card strong {
  color: var(--pine);
}

.alert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 90px rgba(28, 59, 52, 0.22), 0 4px 14px rgba(28, 59, 52, 0.1);
}

.alert-card:nth-child(1) {
  border-left-color: var(--sea);
}

.alert-card:nth-child(2) {
  margin-left: clamp(0px, 4vw, 40px);
  width: calc(100% - clamp(0px, 4vw, 40px));
  border-left-color: var(--ochre);
}

.alert-card:nth-child(3) {
  margin-left: clamp(0px, 8vw, 80px);
  width: calc(100% - clamp(0px, 8vw, 80px));
  border-left-color: var(--terracotta);
}

.alert-card strong {
  display: block;
  margin-bottom: 14px;
  font-family: "Tenor Sans", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.12;
}

.editorial-break {
  position: relative;
  min-height: 42svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

.editorial-frame {
  position: absolute;
  inset: 0;
}

.editorial-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 28, 24, 0.7), transparent 55%);
}

.editorial-caption {
  position: relative;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 6vw, 76px);
  max-width: 640px;
}

.editorial-caption .eyebrow {
  color: var(--sage);
}

.editorial-caption p:last-child {
  margin: 0;
  font-family: "Tenor Sans", Georgia, serif;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.32;
}

@media (max-width: 680px) {
  .editorial-break {
    min-height: 46svh;
  }
}

.founder {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
  background: var(--pine);
  color: var(--white);
}

.founder-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.founder-copy p {
  margin-top: 24px;
}

.founder-copy blockquote {
  margin: 34px 0 0;
  padding-left: 22px;
  border-left: 3px solid var(--yellow);
  color: rgba(255, 255, 255, 0.88);
  font-size: 21px;
  line-height: 1.48;
}

.compact {
  margin-bottom: 28px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 56px);
}

.team-member {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-member:nth-child(2) {
  margin-top: clamp(0px, 6vw, 48px);
}


.proof {
  background: var(--white);
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.quote {
  padding-top: 26px;
  border-top: 3px solid var(--line);
  transition: transform 0.3s ease;
}

.quote:hover {
  transform: translateY(-4px);
}

.quotes .quote:nth-child(1) {
  border-top-color: var(--ochre);
}

.quotes .quote:nth-child(2) {
  border-top-color: var(--terracotta);
}

.quotes .quote:nth-child(3) {
  border-top-color: var(--sea);
}

.quote blockquote {
  margin: 0 0 22px;
  color: var(--pine);
  font-family: "Tenor Sans", Georgia, serif;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.12;
}

.quote figcaption {
  color: var(--muted);
  font-weight: 700;
}

.reviews-widget {
  margin-top: 48px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.reviews-widget-label {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.proof-note {
  max-width: 760px;
  margin-top: 34px;
  font-size: 15px;
}

.tools-calc {
  background: var(--white);
}

.tools-intro {
  max-width: 640px;
  margin: 18px 0 48px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
}

.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.66fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 32px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.calc-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.calc-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.calc-top strong {
  font-family: "Tenor Sans", Georgia, serif;
  font-size: 19px;
  font-weight: 400;
  color: var(--pine);
}

.calc-sub {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.calc-group input[type="range"] {
  width: 100%;
  accent-color: var(--pine);
}

.calc-toggle {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.calc-toggle button {
  flex: 1;
  min-height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.calc-toggle button.active {
  background: var(--pine);
  border-color: var(--pine);
  color: var(--white);
}

.calc-selects {
  margin-top: 14px;
}

.calc-selects select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
}

.calc-results {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  background: var(--pine);
  color: var(--white);
  box-shadow: var(--shadow);
}

.calc-result-top span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.calc-result-top strong {
  display: block;
  margin-top: 10px;
  font-family: "Tenor Sans", Georgia, serif;
  font-size: clamp(38px, 5vw, 48px);
  font-weight: 400;
  line-height: 1.05;
}

.calc-result-top p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.calc-costs {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.calc-costs > span {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cost-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.calc-total {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
}

.calc-total span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calc-total strong {
  font-family: "Tenor Sans", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
}

.calc-results .btn {
  align-self: flex-start;
}

.calc-disclaimer {
  max-width: 760px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.final-cta {
  position: relative;
  overflow: hidden;
  min-height: 50svh;
  display: grid;
  place-items: center;
  padding: clamp(52px, 7vw, 92px) 20px;
  text-align: center;
  color: var(--white);
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("/assets/tramuntana-pueblo.webp");
  background-size: cover;
  background-position: center;
  animation: cinematicDrift 24s ease-in-out infinite alternate;
  will-change: transform;
}

.final-cta-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 42, 35, 0.5) 0%, rgba(15, 42, 35, 0.84) 100%);
}

.final-cta > div.reveal {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.final-cta .eyebrow {
  color: var(--sage);
}

.final-cta p {
  max-width: 620px;
  margin: 22px auto 30px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.4fr) 1fr;
  gap: 40px;
  padding: 44px clamp(20px, 6vw, 76px);
  background: var(--pine);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer img {
  width: 150px;
  filter: brightness(0) invert(1);
}

.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.footer-social-label {
  margin-right: 2px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-social img {
  width: 26px;
  height: 26px;
  filter: none;
  opacity: 0.85;
  transition: opacity 180ms ease, transform 180ms ease;
}

.footer-social a:hover img {
  opacity: 1;
  transform: translateY(-3px);
}

.site-footer p {
  margin: 14px 0 0;
  line-height: 1.55;
}

.footer-links {
  font-size: 13px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: var(--pine);
    color: var(--white);
    font-family: "Tenor Sans", Georgia, serif;
    font-size: 26px;
    font-weight: 400;
    opacity: 0;
    transform: translateY(-16px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    opacity: 1;
  }

  .nav-links-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 12px;
    padding: 0 26px;
    border-radius: 999px;
    background: var(--sage);
    color: var(--pine);
    font-family: "Karla", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
  }

  .header-cta {
    display: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  .intro-grid,
  .nido,
  .founder,
  .calculator-shell,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .steps,
  .quotes {
    grid-template-columns: repeat(2, 1fr);
  }

  .alert-stack {
    gap: 16px;
  }

  .alert-card,
  .alert-card:nth-child(2),
  .alert-card:nth-child(3) {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 66px;
    padding: 14px 16px;
  }

  .brand img {
    width: 118px;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero {
    min-height: 100svh;
    align-items: end;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(12, 28, 24, 0.82), rgba(12, 28, 24, 0.42) 58%, rgba(12, 28, 24, 0.2)),
      linear-gradient(90deg, rgba(12, 28, 24, 0.28), rgba(12, 28, 24, 0.08));
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 34px;
  }

  .hero h1 {
    font-size: clamp(54px, 18vw, 78px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 52px 18px;
  }

  .section-heading {
    display: block;
  }

  .steps,
  .quotes,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: auto;
    padding: 26px 0;
  }

  .steps {
    background: transparent;
    border-bottom: 0;
  }

  .team-member:nth-child(2) {
    margin-top: 0;
  }

  .calc-row {
    grid-template-columns: 1fr;
  }

  .calc-inputs,
  .calc-results {
    padding: 24px;
  }
}

.legal-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: var(--pine);
  color: var(--white);
}

.legal-header .brand img {
  width: 142px;
}

.legal-back {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.9;
}

.legal-hero {
  padding: clamp(64px, 9vw, 108px) clamp(20px, 6vw, 76px) 0;
  background: var(--cream);
}

.legal-hero .section-kicker {
  color: var(--muted);
}

.legal-hero h1 {
  margin: 0;
  max-width: 820px;
  font-family: "Tenor Sans", Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  color: var(--pine);
}

.legal-updated {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) clamp(20px, 6vw, 76px) clamp(80px, 10vw, 132px);
  background: var(--cream);
}

.legal-content h2 {
  margin: 48px 0 16px;
  font-family: "Tenor Sans", Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  color: var(--pine);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

.legal-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--pine);
  font-weight: 700;
  border-bottom: 2px solid var(--sage);
}

.legal-note {
  padding: 18px 20px;
  margin: 0 0 18px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 680px) {
  .legal-content {
    padding: 48px 18px 80px;
  }

  .legal-content h2 {
    font-size: 22px;
  }
}

.about-hero {
  padding: clamp(120px, 15vw, 172px) clamp(20px, 6vw, 76px) clamp(56px, 8vw, 88px);
  background: var(--cream);
}

.about-hero h1 {
  margin: 18px 0 0;
  max-width: 780px;
  font-family: "Tenor Sans", Georgia, serif;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.06;
  color: var(--pine);
}

.about-hero p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}

.advisor-profiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 56px);
}

.advisor-profile {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.advisor-profile h3 {
  margin: 4px 0 0;
  font-family: "Tenor Sans", Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  color: var(--pine);
}

.advisor-profile .role {
  display: block;
  margin-top: -12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.advisor-profile p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.about-values {
  background: var(--white);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.about-values-grid article {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.about-values-grid strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Tenor Sans", Georgia, serif;
  font-weight: 400;
  font-size: 19px;
  color: var(--pine);
}

.about-values-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.about-trust {
  padding: clamp(48px, 7vw, 76px) clamp(20px, 6vw, 76px);
  background: var(--sage);
  color: var(--pine);
  text-align: center;
}

.about-trust .badge {
  display: inline-flex;
  padding: 8px 18px;
  background: var(--pine);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-trust p {
  max-width: 680px;
  margin: 16px auto 0;
  font-size: 15px;
  line-height: 1.6;
}

.about-trust a {
  color: var(--pine);
  font-weight: 700;
  border-bottom: 2px solid var(--pine);
}

.office {
  display: grid;
  grid-template-columns: minmax(280px, 0.6fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  background: var(--white);
}

.office-frame {
  aspect-ratio: 4 / 3;
}

.office-copy p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .advisor-profiles {
    grid-template-columns: 1fr;
  }

  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .office {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .about-values-grid {
    grid-template-columns: 1fr;
  }
}

.section-lead {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
}

.services-list-section {
  background: var(--white);
}

.calc-callout-copy {
  max-width: 640px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
}

.about-values-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.mail-mockup {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mail-tag {
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--sage);
  color: var(--pine);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mail-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.mail-from {
  color: var(--pine);
  font-size: 14px;
  font-weight: 700;
}

.mail-date {
  color: var(--muted);
  font-size: 13px;
}

.mail-subject {
  margin: 0;
  font-family: "Tenor Sans", Georgia, serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--pine);
}

.mail-body {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .about-values-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-segment {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
  transition: background 0.3s ease, transform 0.3s ease;
}

.service-segment:hover {
  background: rgba(167, 213, 189, 0.08);
  transform: translateX(4px);
}

.service-segment:last-child {
  border-bottom: 1px solid var(--line);
}

.service-segment h3 {
  margin: 4px 0 0;
  font-family: "Tenor Sans", Georgia, serif;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--pine);
  line-height: 1.16;
}

.service-body p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.service-fit-label {
  display: block;
  margin: 22px 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-fit {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}

.service-fit li {
  position: relative;
  padding-left: 20px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}

.service-fit li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--sage);
}

@media (max-width: 980px) {
  .service-segment {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  .about-values-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .service-fit {
    grid-template-columns: 1fr;
  }
}

/* Cinematic image motion */
@keyframes kenburns {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.08) translate3d(-1.2%, 1%, 0);
  }
}

@keyframes cinematicDrift {
  0% {
    transform: scale(1.04) translate3d(-0.8%, 0.4%, 0);
  }
  100% {
    transform: scale(1.1) translate3d(0.8%, -0.6%, 0);
  }
}

.image-cinema,
.depth-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(28, 59, 52, 0.18);
}

.image-cinema img,
.depth-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: cinematicDrift 18s ease-in-out infinite alternate;
  will-change: transform;
}

.founder-image {
  overflow: hidden;
}

.founder-image img {
  animation: kenburns 24s ease-in-out infinite alternate;
  will-change: transform;
}

.media-frame {
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
  will-change: transform;
}

.team-photo,
.advisor-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
}

/* Cinematic text reveal */
.split-word {
  display: inline-block;
}

.split-unit {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  transition: opacity 640ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 640ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.split-words.is-visible .split-unit,
.split-letters.is-visible .split-unit {
  opacity: 1;
  transform: translateY(0);
}

/* Ambient flashlight glow that follows the pointer — from the original v1 prototype */
.cursor-light {
  position: fixed;
  top: 0;
  left: 0;
  width: 360px;
  height: 360px;
  z-index: 9998;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 233, 111, 0.2), transparent 62%);
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 250ms ease;
}

.cursor-light.is-active {
  opacity: 1;
}

/* Custom cinematic cursor */
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  background: var(--yellow);
  box-shadow: 0 0 12px 2px rgba(240, 233, 111, 0.55);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 200ms ease;
}

.custom-cursor-dot.is-hovering {
  transform: translate(-50%, -50%) scale(1.5);
  box-shadow: 0 0 18px 4px rgba(240, 233, 111, 0.65);
}

body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor input,
body.has-custom-cursor select {
  cursor: none;
}

@media (hover: none), (pointer: coarse) {
  .custom-cursor-dot,
  .cursor-light {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .split-unit {
    opacity: 1 !important;
    transform: none !important;
  }

  .custom-cursor-dot,
  .cursor-light {
    display: none !important;
  }
}

/* ─── FREE BAND — the value ladder, compact ─── */
.free-band {
  padding: clamp(44px, 6vw, 72px) clamp(20px, 6vw, 76px);
  background: linear-gradient(180deg, var(--white) 0%, rgba(167,213,189,0.14) 100%);
  border-top: 1px solid rgba(167,213,189,0.35);
}

.free-band-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.free-band-head h2 {
  margin: 6px 0 28px;
  font-family: "Tenor Sans", Georgia, serif;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 38px);
  color: var(--pine);
}

.free-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 24px);
  margin-bottom: 22px;
  text-align: left;
}

.free-item {
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid rgba(167,213,189,0.4);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(28,59,52,0.05);
}

.free-item strong {
  display: block;
  font-size: 15px;
  color: var(--pine);
  margin-bottom: 3px;
}

.free-item span {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}

.free-note {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .free-items { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .free-items { grid-template-columns: 1fr; }
}
