/* Home page only. Shared tokens and components live in styles.css. */

:root {
  --navy: #0b1b33;
  --navy-2: #102647;
  --on-dark: #ffffff;
  --on-dark-muted: #b9c6d8;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Header over the hero ---------- */

.site-header--overlay {
  position: fixed;
  left: 0; right: 0;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  transition: background-color .2s ease, border-color .2s ease;
}
.site-header--overlay .nav a:not(.btn) { color: var(--on-dark); }
.site-header--overlay .nav a:not(.btn):hover { color: var(--lagoon); }
.site-header--overlay .menu-toggle { color: var(--on-dark); border-color: rgba(255, 255, 255, .35); }

.site-header--overlay.is-scrolled {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: var(--line);
  backdrop-filter: blur(10px);
}
.site-header--overlay.is-scrolled .nav a:not(.btn) { color: var(--ink); }
.site-header--overlay.is-scrolled .nav a:not(.btn):hover { color: var(--ocean); }
.site-header--overlay.is-scrolled .menu-toggle { color: var(--ink); border-color: var(--line); }

@media (max-width: 900px) {
  .site-header--overlay .nav a:not(.btn),
  .site-header--overlay .nav a:not(.btn):hover { color: var(--ink); }
}

/* Nav underline grows from the left */
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s var(--ease-out);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
@media (max-width: 900px) { .nav a:not(.btn)::after { display: none; } }

/* ---------- Hero ---------- */

.home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 52%, rgba(29, 79, 216, .55) 0%, rgba(29, 79, 216, 0) 70%),
    radial-gradient(40% 50% at 92% 10%, rgba(56, 189, 248, .18) 0%, rgba(56, 189, 248, 0) 70%),
    var(--navy);
  color: var(--on-dark);
  min-height: 88svh;
  display: flex;
  align-items: center;
  padding-block: 7.5rem 5rem;
  /* Small upward V cut on the bottom edge (matches the seat strip) */
  --v: 40px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - var(--v)), 0 100%);
}
@media (max-width: 760px) { .home-hero { --v: 20px; } }
/* Node network, drawn by home.js. Faded on the text side so the headline stays easy to read. */
.home-hero .network {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, .35) 0%, #000 55%);
          mask-image: linear-gradient(to right, rgba(0, 0, 0, .35) 0%, #000 55%);
}
@media (max-width: 900px) {
  .home-hero .network { -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .3) 0%, #000 60%); mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .3) 0%, #000 60%); }
}

.home-hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.home-hero h1 { color: var(--on-dark); max-width: 13ch; font-size: clamp(2.6rem, 6vw, 4.5rem); }
.home-hero .lede { color: var(--on-dark-muted); margin-block: 1.5rem 2rem; max-width: 33rem; }

/* Headline words rise in one after another */
.rise-word { display: inline-block; }
.js .rise-word {
  opacity: 0;
  transform: translateY(.55em);
  animation: rise .35s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 30ms);
}
@keyframes rise { to { opacity: 1; transform: none; } }

.js .hero-after {
  opacity: 0;
  transform: translateY(12px);
  animation: rise .35s var(--ease-out) forwards;
  animation-delay: .2s;
}
.js .hero-after.later { animation-delay: .25s; }

/* Free-value placeholder button (white pill with a tag, like Tim's) */
.btn-free {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .5);
}
.btn-free:hover { color: var(--ink); transform: translateY(-2px); }
.btn-free .tag {
  font-size: .75rem; font-weight: 700;
  background: var(--lagoon); color: var(--navy);
  padding: .2rem .5rem; border-radius: 999px;
}
.btn-primary:hover { transform: translateY(-2px); }

/* Trust row */
.trust-row {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.75rem;
  font-size: var(--t-sm);
  color: var(--on-dark-muted);
}
.trust-row li { display: flex; align-items: center; gap: .6rem; }
.trust-row a { color: var(--on-dark); text-decoration-color: rgba(255, 255, 255, .35); }
.trust-row a:hover { color: var(--lagoon); }
.avatar {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-2); color: #fff;
  border: 2px solid var(--lagoon);
  font: 600 .8rem var(--font-display);
  flex: none;
  overflow: hidden;
}
.avatar picture, .avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Lead card: three notifications appear in turn, then loop */
.lead-stack { position: relative; display: grid; gap: .9rem; max-width: 24rem; margin-left: auto; width: 100%; }
.lead-note {
  display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: center;
  background: #fff; color: var(--ink);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .55);
}
.lead-note:nth-child(2) { margin-left: 2rem; margin-right: -1rem; }
.lead-note:nth-child(3) { margin-left: 1rem; }
.lead-note .icon {
  width: 2.5rem; height: 2.5rem; border-radius: 12px;
  display: grid; place-items: center;
  background: #e3ecff; color: var(--ocean);
}
.lead-note.booked .icon { background: var(--ocean); color: #fff; }
.lead-note .icon svg { width: 1.25rem; height: 1.25rem; }
.lead-note strong { display: block; font-size: var(--t-sm); font-weight: 600; }
.lead-note span { display: block; font-size: .8125rem; color: var(--slate); }
.lead-caption { margin: .9rem 0 0 auto; max-width: 24rem; font-size: .8125rem; color: var(--on-dark-muted); text-align: right; }

.js .lead-note { opacity: 0; transform: translateY(14px) scale(.98); }
.js .lead-note:nth-child(1) { animation: note-1 6s var(--ease-out) .3s infinite; }
.js .lead-note:nth-child(2) { animation: note-2 6s var(--ease-out) .3s infinite; }
.js .lead-note:nth-child(3) { animation: note-3 6s var(--ease-out) .3s infinite; }
/* Cards land at 0 s, 0.8 s and 1.6 s into each 6 s loop */
@keyframes note-1 { 0% { opacity: 0; transform: translateY(14px) scale(.98); } 5%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes note-2 { 0%, 13% { opacity: 0; transform: translateY(14px) scale(.98); } 18%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes note-3 { 0%, 27% { opacity: 0; transform: translateY(14px) scale(.98); } 32%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 900px) {
  .home-hero { min-height: 0; padding-block: 6.5rem 4rem; }
  .home-hero .wrap { grid-template-columns: 1fr; }
  .lead-stack, .lead-caption { margin-left: 0; }
  .lead-caption { text-align: left; }
}

/* ---------- Section heading reveal ---------- */

.reveal { overflow: hidden; padding-bottom: .08em; }
.reveal > span { display: block; }
.js .reveal > span { transform: translateY(105%); transition: transform .6s var(--ease-out); }
.js .reveal.is-in > span { transform: none; }

/* ---------- Pipeline curve ---------- */

.pipeline-figure { margin: 0 auto; }

/* The figure sticks below the header while the spacer scrolls past;
   home.js turns that scroll distance into how much of the curve is drawn. */
.pipeline-pin { --pin-top: 5.25rem; --pin-length: 85vh; position: relative; }
.js .pipeline-stage { position: sticky; top: var(--pin-top); }
.pipeline-stage .section-head { margin-bottom: clamp(1rem, 3vh, 2rem); }
.pin-spacer { display: none; }
.js .pin-spacer { display: block; height: var(--pin-length); }

.pipeline-chart { position: relative; }
/* Faint graph paper behind the chart, faded at the edges; shows once the curve starts drawing */
.pipeline-chart::before {
  content: ""; position: absolute; inset: -1rem; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(29, 79, 216, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(29, 79, 216, .07) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
  opacity: 0; transition: opacity .8s ease;
}
.grid-on .pipeline-chart::before, html:not(.js) .pipeline-chart::before { opacity: 1; }
/* home.js narrows the figure so heading, chart and steps all fit on screen together */
.pipeline-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.pipeline-chart .axis { stroke: var(--line); stroke-width: 2; }
.pipeline-chart .axis-label { font: 500 13px var(--font-body); fill: var(--slate); }
.pipeline-chart .curve {
  fill: none;
  stroke: url(#curve-gradient);
  stroke-width: 5;
  stroke-linecap: round;
}
.pipeline-chart .curve-head { opacity: 0; pointer-events: none; }
.pipeline-chart .curve-head .glow { fill: var(--lagoon); opacity: .25; }
.pipeline-chart .curve-head .core { fill: #fff; stroke: var(--lagoon); stroke-width: 4; }
.pipeline-chart .drop { stroke: var(--line); stroke-width: 2; stroke-dasharray: 4 6; transition: opacity .3s ease; }
.js .pipeline-chart .drop { opacity: 0; }
.js .pipeline-chart .drop.is-lit { opacity: 1; }
.pipeline-chart .node circle { fill: #fff; stroke: var(--claimed); stroke-width: 3; transition: stroke .3s ease, fill .3s ease; }
.pipeline-chart .node text { font: 600 15px var(--font-display); fill: var(--slate); text-anchor: middle; transition: fill .3s ease; }
.pipeline-chart .node.is-lit circle { stroke: var(--ocean); fill: var(--ocean); }
.pipeline-chart .node.is-lit text { fill: #fff; }
.pipeline-chart .lead-dot { fill: var(--lagoon); }

/* Five equal columns with no gap, so each title sits right under its node (10%, 30% … 90%) */
.pipeline-steps {
  list-style: none; padding: 0; margin: 1rem 0 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
}
.pipeline-steps li { padding-inline: .25rem; text-align: center; transition: opacity .3s ease; }
.pipeline-steps h3 { font: 600 var(--t-base)/1.3 var(--font-display); letter-spacing: -.01em; }
.js .pipeline-steps li { opacity: .45; }
.js .pipeline-steps li.is-lit { opacity: 1; }
.pipeline-caption { margin-top: 1rem; font-size: .8125rem; color: var(--slate); text-align: center; }
.pipeline-steps .num { display: none; }

@media (max-width: 760px) {
  .pipeline-chart .node circle { r: 26px; stroke-width: 5; }
  .pipeline-chart .node text { font-size: 30px; transform: translateY(5px); transform-box: fill-box; }
  .pipeline-chart .axis-label { font-size: 26px; }
  .pipeline-chart .lead-dot { r: 10px; }
  .pipeline-steps { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; }
  .pipeline-steps li { text-align: left; display: grid; grid-template-columns: 2.25rem 1fr; gap: 1rem; align-items: center; }
  .pipeline-steps .num {
    display: grid; place-items: center;
    width: 2.25rem; height: 2.25rem; border-radius: 50%;
    border: 2px solid var(--ocean); color: var(--ocean);
    font: 600 var(--t-base)/1 var(--font-display);
  }
  .pipeline-steps li.is-lit .num { background: var(--ocean); color: #fff; }
  .pipeline-caption { text-align: left; }

  /* Phone: the chart stays pinned and one step card shows at a time,
     changing as the curve passes each node. */
  .pipeline-pin { --pin-top: 5rem; --pin-length: 110vh; }
  .pipeline-stage .section-head h2 { font-size: 1.6rem; }
  .pipeline-stage .section-head p { margin-top: .5rem; font-size: var(--t-sm); }
  .js .pipeline-steps { display: grid; margin-top: 1.25rem; }
  .js .pipeline-steps li {
    grid-area: 1 / 1;
    background: var(--mist); border-radius: var(--radius); padding: .75rem .9rem;
    opacity: 0; transform: translateY(8px);
    transition: opacity .3s ease, transform .3s var(--ease-out);
  }
  .js .pipeline-steps li.is-current { opacity: 1; transform: none; }
}

/* ---------- Proof ---------- */

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.eyebrow { font: 700 .8125rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ocean); margin-bottom: 1rem; }
.proof-lede { margin-top: 1.25rem; max-width: var(--measure); font-size: var(--t-lg); color: var(--slate); }
.live-pill .dot { width: .5rem; height: .5rem; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); }
.proof-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.text-link { font-weight: 600; }

/* Brickstowealth's system, shown like a live status panel */
.case-card {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: 0 30px 60px -30px rgba(11, 27, 51, .55);
}
.case-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 100% 0%, rgba(29, 79, 216, .45), rgba(29, 79, 216, 0) 70%);
}
.case-card > * { position: relative; }
.case-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.case-name { font: 600 var(--t-xl)/1.2 var(--font-display); color: #fff; }
.case-meta { margin-top: .3rem; font-size: var(--t-sm); color: var(--on-dark-muted); }
.live-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 700 .75rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  color: #34d399;
  background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .35);
  padding: .45rem .75rem; border-radius: 999px;
}
.live-pill .dot { animation: live 2s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); } }
.case-rows { list-style: none; padding: 0; margin: .5rem 0 0; }
.case-rows li {
  display: grid; grid-template-columns: 1.5rem minmax(0, 1fr) auto; align-items: center; gap: .85rem;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.case-rows .tick {
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid rgba(255, 255, 255, .25);
}
.case-rows li.done .tick { background: var(--lagoon); border-color: var(--lagoon); color: var(--navy); }
.case-rows .tick svg { width: .9rem; height: .9rem; }
.case-rows .what { font-size: var(--t-sm); font-weight: 500; color: #fff; }
.case-rows .state { font: 700 .75rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: #34d399; }
.case-rows li.next .what { color: var(--on-dark-muted); }
.case-rows li.next .state { color: var(--on-dark-muted); }
.js .case-rows li { opacity: 0; transform: translateX(-8px); transition: opacity .4s ease, transform .4s var(--ease-out); transition-delay: calc(var(--i) * 90ms); }
.js .case-card.is-in .case-rows li { opacity: 1; transform: none; }
/* A soft light sweeps down the rows every 6 s, like a system check; each Live label
   glows as it passes (delays follow the sweep down the five rows) */
.case-rows { position: relative; }
.case-rows::after {
  content: ""; position: absolute; left: -1rem; right: -1rem; height: 30%; top: -30%;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(56, 189, 248, 0), rgba(56, 189, 248, .1) 50%, rgba(56, 189, 248, 0));
  animation: sweep 6s linear 1.5s infinite;
}
@keyframes sweep { 0% { top: -30%; } 40%, 100% { top: 100%; } }
.case-rows li.done .state { animation: live-glow 6s ease-out infinite; animation-delay: calc(1.5s + .5s + var(--i) * .37s); }
@keyframes live-glow { 0%, 12%, 100% { text-shadow: none; } 4% { text-shadow: 0 0 10px rgba(52, 211, 153, .9); } }
.case-card::before { animation: panel-drift 14s ease-in-out infinite alternate; }
@keyframes panel-drift { to { transform: translate(-8%, 6%); } }
.case-foot { margin-top: 1.25rem; font-size: .8125rem; color: var(--on-dark-muted); }

@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; } }

/* Placeholder boxes (founder photo until it's taken) */
.placeholder {
  background: repeating-linear-gradient(-45deg, #f7f9fc 0 10px, #eef2f8 10px 20px);
  border: 2px dashed var(--claimed);
  color: var(--slate);
}

/* Founder commitment cards */
.commitments { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.commitments li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: grid; gap: .35rem; align-content: start;
  transition: border-color .2s ease, transform .2s var(--ease-out);
}
.commitments li:hover { border-color: var(--ocean); transform: translateY(-2px); }
.commitments .ico {
  width: 2.5rem; height: 2.5rem; border-radius: 12px;
  background: #e3ecff; color: var(--ocean);
  display: grid; place-items: center;
  margin-bottom: .5rem;
}
.commitments .ico svg { width: 1.25rem; height: 1.25rem; }
.commitments strong { font-weight: 600; line-height: 1.3; }
.commitments li > span:last-child { font-size: var(--t-sm); color: var(--slate); }

/* ---------- Seat strip ---------- */

/* Dark band whose bottom edge is cut into a V pointing down into the founder section */
.seat-strip {
  --v: 48px;
  background:
    radial-gradient(40% 120% at 85% 0%, rgba(29, 79, 216, .45), rgba(29, 79, 216, 0) 70%),
    var(--navy);
  color: #fff;
  padding-block: 2.5rem calc(2.5rem + var(--v));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--v)), 50% 100%, 0 calc(100% - var(--v)));
}
.seat-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.5rem; justify-content: space-between; }
.seat-strip .count { font: 600 var(--t-xl)/1.2 var(--font-display); color: #fff; }
.seat-strip .count small { display: block; font: 400 var(--t-sm)/1.4 var(--font-body); color: var(--on-dark-muted); margin-top: .25rem; }
.seat-strip .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.seat-strip .btn-secondary:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
  display: inline-flex; align-items: center; gap: .35rem;
  font: 600 .8125rem/1 var(--font-body);
  padding: .55rem .8rem; border-radius: 999px;
  background: rgba(56, 189, 248, .14); color: #fff;
  border: 1px solid rgba(56, 189, 248, .45);
}
.chips li.claimed { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); color: var(--on-dark-muted); }
/* Small lock on the claimed seat */
.chips li.claimed::before {
  content: ""; width: .75rem; height: .75rem; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Chips light up one after another when the strip scrolls into view */
.js .chips li { opacity: .2; transform: translateY(4px); transition: opacity .35s ease, transform .35s var(--ease-out); }
.js .chips.is-in li { opacity: 1; transform: none; }
.chips li:nth-child(2) { transition-delay: 80ms; }
.chips li:nth-child(3) { transition-delay: 160ms; }
.chips li:nth-child(4) { transition-delay: 240ms; }
.chips li:nth-child(5) { transition-delay: 320ms; }
.chips li:nth-child(6) { transition-delay: 400ms; }
.chips li:nth-child(7) { transition-delay: 480ms; }
.chips li:nth-child(8) { transition-delay: 600ms; }
@media (max-width: 760px) { .seat-strip { --v: 24px; } }

/* ---------- Founder ---------- */

.founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.founder-photo {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  display: grid; place-items: center; text-align: center;
  padding: 1.5rem;
  /* A soft ocean-blue light behind the photo, slowly brightening and dimming */
  animation: photo-breathe 8s ease-in-out infinite;
}
.founder-photo { padding: 0; }
.founder-photo picture { position: absolute; inset: 0; }
.founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
@keyframes photo-breathe {
  0%, 100% { box-shadow: 0 0 40px 0 rgba(29, 79, 216, .12); }
  50% { box-shadow: 0 0 70px 12px rgba(29, 79, 216, .24); }
}
/* One soft sheen passes across the photo when it first scrolls into view */
.founder-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 65%);
  transform: translateX(-110%);
}
.founder-photo.is-in::after { transition: transform 1.4s var(--ease-out) .2s; transform: translateX(110%); }
.founder h2 { margin-bottom: 1.25rem; }
.founder-story p + p { margin-top: 1rem; }
.founder-story p { max-width: var(--measure); color: var(--slate); font-size: var(--t-lg); }
.founder-story p:first-child { color: var(--ink); }
.commitments { margin: 2rem 0 0; }
.founder-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }

/* Signature (once supplied) draws in left to right */
.signature { display: block; height: 3.5rem; width: auto; margin-top: 1.25rem; }
.js .signature { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease-out) .2s; }
.js .signature.is-in { clip-path: inset(0 0 0 0); }

/* What working with me looks like */
.working-title { margin: 2rem 0 .9rem; font: 700 .8125rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ocean); }
.working { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.working li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: .85rem; align-items: start; font-size: var(--t-sm); color: var(--slate); }
.working strong { display: block; color: var(--ink); font-size: var(--t-base); font-weight: 600; }
.working .ico { width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; background: var(--ocean); color: #fff; }
.working .ico svg { width: 1.05rem; height: 1.05rem; }
.founder-facts { margin-top: 1.5rem; font-size: .8125rem; color: var(--slate); letter-spacing: .01em; }

/* Founder background: two slow colour glows, and dot fields in two corners
   that a soft wave of light passes through */
.founder-section { position: relative; overflow: hidden; }
.founder-section .wrap { position: relative; }
.founder-bg { position: absolute; inset: 0; pointer-events: none; }
.founder-bg .glow { position: absolute; width: 42vw; height: 42vw; max-width: 640px; max-height: 640px; border-radius: 50%; filter: blur(70px); }
.founder-bg .glow-left { left: -14vw; top: 10%; background: rgba(29, 79, 216, .13); animation: glow-drift-left 22s ease-in-out infinite alternate; }
.founder-bg .glow-right { right: -14vw; bottom: 0; background: rgba(56, 189, 248, .16); animation: glow-drift-right 26s ease-in-out infinite alternate; }
@keyframes glow-drift-left { to { transform: translate(6vw, 8%) scale(1.15); border-radius: 46% 54% 60% 40%; } }
@keyframes glow-drift-right { to { transform: translate(-5vw, -10%) scale(.9); border-radius: 58% 42% 45% 55%; } }
.founder-bg .dots {
  position: absolute; width: 360px; height: 360px;
  background-image: radial-gradient(circle, rgba(29, 79, 216, .22) 1.3px, transparent 1.8px);
  background-size: 18px 18px;
}
.founder-bg .dots-tl { left: 0; top: 0; -webkit-mask-image: radial-gradient(circle at 0 0, #000 0%, transparent 70%); mask-image: radial-gradient(circle at 0 0, #000 0%, transparent 70%); }
.founder-bg .dots-br { right: 0; bottom: 0; -webkit-mask-image: radial-gradient(circle at 100% 100%, #000 0%, transparent 70%); mask-image: radial-gradient(circle at 100% 100%, #000 0%, transparent 70%); }
/* The wave: a brighter copy of the dots, shown only inside a moving diagonal band */
.founder-bg .dots::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(56, 189, 248, .9) 1.6px, transparent 2.1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(135deg, transparent 40%, #000 50%, transparent 60%);
          mask-image: linear-gradient(135deg, transparent 40%, #000 50%, transparent 60%);
  -webkit-mask-size: 300% 300%; mask-size: 300% 300%;
  animation: dot-wave 7s ease-in-out infinite;
}
.founder-bg .dots-br::after { animation-delay: 3.5s; }
@keyframes dot-wave {
  0% { -webkit-mask-position: 100% 100%; mask-position: 100% 100%; }
  60%, 100% { -webkit-mask-position: 0% 0%; mask-position: 0% 0%; }
}
.text-me { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.text-me svg { width: 1.1rem; height: 1.1rem; }
@media (max-width: 900px) {
  .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 22rem; aspect-ratio: 1; }
}
@media (max-width: 600px) {
  .commitments { grid-template-columns: 1fr; }
  .founder-bg .dots { width: 200px; height: 200px; }
}

/* ---------- Strategy call ---------- */

.call {
  background:
    radial-gradient(50% 60% at 85% 20%, rgba(29, 79, 216, .45) 0%, rgba(29, 79, 216, 0) 70%),
    var(--navy);
  color: var(--on-dark);
  padding-block: clamp(4rem, 9vw, 7rem);
  scroll-margin-top: 4.5rem; /* clears the fixed header when jumped to via #book */
  position: relative; overflow: hidden;
}
/* A fainter version of the hero's node network, so the page opens and closes with the same look */
.call .network { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .35; }
.call .wrap { position: relative; }
.call .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.call h2 { color: #fff; }
.call .meta { color: var(--on-dark-muted); margin-top: .75rem; font-size: var(--t-lg); }
.call p { color: var(--on-dark-muted); }
.call .call-label {
  font: 700 .8125rem/1 var(--font-body);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--lagoon);
  margin: 2.25rem 0 1rem;
}

/* Agenda: numbered cards on a line that fills with scroll (--fill is set by home.js) */
.agenda { --fill: 0; list-style: none; padding: 0; margin: 0; position: relative; counter-reset: agenda; }
.agenda::before, .agenda::after { content: ""; position: absolute; left: 15px; top: 1.5rem; bottom: 1.5rem; width: 2px; }
.agenda::before { background: rgba(255, 255, 255, .15); }
.agenda::after { background: var(--lagoon); transform-origin: top; transform: scaleY(var(--fill)); }
.agenda li {
  counter-increment: agenda;
  position: relative;
  margin: 0 0 .75rem 3rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  transition: opacity .3s ease, border-color .3s ease, background-color .3s ease;
}
.agenda li:last-child { margin-bottom: 0; }
.agenda li::before {
  content: counter(agenda);
  position: absolute; left: -3rem; top: 1rem;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); border: 2px solid var(--lagoon); color: var(--lagoon);
  font: 600 .875rem/1 var(--font-display);
  z-index: 1;
  transition: background-color .3s ease, color .3s ease;
}
.js .agenda li { opacity: .45; }
.agenda li.is-on { opacity: 1; border-color: rgba(56, 189, 248, .5); background: rgba(56, 189, 248, .08); }
.agenda li.is-on::before { background: var(--lagoon); color: var(--navy); }
.agenda .time {
  display: inline-block;
  font: 700 .75rem/1 var(--font-body);
  color: var(--navy); background: var(--lagoon);
  padding: .3rem .6rem; border-radius: 999px;
  margin-bottom: .55rem;
}
.agenda strong { display: block; color: #fff; font: 600 var(--t-lg)/1.3 var(--font-display); }
.agenda .what { display: block; color: var(--on-dark-muted); font-size: var(--t-sm); margin-top: .25rem; }

/* What they leave with */
.takeaways { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.takeaways li {
  background: #fff; color: var(--ink);
  border-radius: var(--radius);
  padding: 1.1rem;
  display: grid; gap: .25rem; align-content: start;
}
.takeaways .ico {
  width: 2.25rem; height: 2.25rem; border-radius: 10px;
  background: var(--ocean); color: #fff;
  display: grid; place-items: center;
  margin-bottom: .4rem;
}
.takeaways .ico svg { width: 1.15rem; height: 1.15rem; }
.takeaways strong { font-weight: 600; line-height: 1.3; }
.takeaways li > span:last-child { font-size: .8125rem; color: var(--slate); }

/* Three quick objections */
.call-faq { margin-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .15); }
.call-faq details { border-bottom: 1px solid rgba(255, 255, 255, .15); }
.call-faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1rem 0;
  color: #fff; font-weight: 600;
}
.call-faq summary::-webkit-details-marker { display: none; }
.call-faq summary::after { content: "+"; color: var(--lagoon); font-size: 1.25rem; line-height: 1; }
.call-faq details[open] summary::after { content: "\2212"; }
.call-faq details p { padding-bottom: 1rem; }
.call .own { margin-top: 1.5rem; font-size: var(--t-sm); }

/* Booking column */
.booking-head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: 1rem; }
.call .booking-title { color: #fff; font: 600 var(--t-xl)/1.2 var(--font-display); margin-right: auto; }
.booking-meta { list-style: none; padding: 0; margin: 0; display: flex; gap: .4rem; }
.booking-meta li {
  font: 600 .8125rem/1 var(--font-body); color: #fff;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px;
  padding: .4rem .75rem;
}
.call .seat-badge { width: 100%; display: flex; align-items: center; gap: .55rem; font-size: var(--t-sm); }
.seat-badge .dot { width: .5rem; height: .5rem; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); }
.booking {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 700px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.booking .calendly-inline-widget { min-width: 300px; height: 700px; }
.booking-fallback { padding: 2rem; color: var(--ink); text-align: center; display: grid; gap: 1rem; place-items: center; min-height: 700px; align-content: center; }
.booking-fallback p { color: var(--slate); max-width: 22rem; }
.booking.is-loaded .booking-fallback { display: none; }
.booking-alt { margin-top: .9rem; font-size: var(--t-sm); text-align: center; }
.booking-alt a { color: var(--on-dark); }
@media (max-width: 900px) { .call .wrap { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .takeaways { grid-template-columns: 1fr; } }

/* ---------- Lead Leak Roadmap (free value) ---------- */

/* Map band (Exclusive Seat): a dark strip with the offer, centred */
.map-band { background: var(--navy); color: #fff; padding-block: clamp(3rem, 7vw, 4.5rem); }
.map-band .wrap { text-align: center; }
.map-band h2 { color: #fff; }
.map-band p { color: var(--on-dark-muted); margin: .9rem auto 1.5rem; max-width: 34rem; font-size: var(--t-lg); }

.cta-note { margin-top: .75rem; font-size: .8125rem; color: var(--on-dark-muted); }

.map-modal {
  width: min(34rem, calc(100% - 2rem));
  max-height: calc(100svh - 2rem);
  padding: 0; border: 0;
  border-radius: var(--radius-lg);
  background: #fff; color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(11, 27, 51, .6);
  overflow-x: hidden; overflow-y: auto;
}
.map-modal::backdrop { background: rgba(11, 27, 51, .6); backdrop-filter: blur(4px); }
.map-modal[open] { animation: map-in .25s var(--ease-out); }
@keyframes map-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.map-inner { padding: 1.25rem clamp(1.25rem, 4vw, 2rem) 1.5rem; }
.map-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.map-kicker { font: 700 .8125rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ocean); }
.map-close {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
}
.map-close svg { width: 1.1rem; height: 1.1rem; }
.map-q { font-size: var(--t-xl); margin-bottom: .4rem; outline: none; }
.map-sub { color: var(--slate); font-size: var(--t-sm); margin-bottom: 1rem; }

.map-form { display: grid; gap: .7rem; }
.map-form label { display: grid; gap: .3rem; font-size: .8125rem; font-weight: 600; min-width: 0; }
.map-form input:not([type="checkbox"]), .map-form select {
  font: 400 var(--t-base) var(--font-body); color: var(--ink);
  width: 100%; min-width: 0;
  padding: .65rem .8rem;
  border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: #fff;
}
.map-form input:focus, .map-form select:focus { outline: none; border-color: var(--ocean); }
.map-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .7rem; }
.map-optional { border: 0; border-top: 1px solid var(--line); margin: .15rem 0 0; padding: .6rem 0 0; display: grid; gap: .45rem; min-width: 0; }
.map-optional legend { padding: 0 .5rem 0 0; font-size: .8125rem; font-weight: 600; color: var(--slate); }
.map-form .check { display: flex; align-items: flex-start; gap: .6rem; font-weight: 400; color: var(--slate); }
.map-form .check input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; flex: none; accent-color: var(--ocean); }
.form-error { color: #b91c1c; font-size: var(--t-sm); font-weight: 600; }
.map-form .btn { margin-top: .25rem; }
.map-form .btn:disabled { opacity: .7; cursor: wait; }
.map-form .btn.is-waiting { opacity: .45; box-shadow: none; }
.map-form .btn.is-waiting:hover { transform: none; }
.map-form .consent { padding: .6rem .7rem; border: 2px solid transparent; border-radius: var(--radius-sm); transition: border-color .2s ease, background-color .2s ease; }
.map-form .consent.needs-tick { border-color: #b91c1c; background: #fef2f2; }
.map-form .consent { color: var(--ink); background: var(--mist); }
.map-form .req { display: inline-block; margin-left: .3rem; padding: .1rem .45rem; border-radius: 999px; background: #e3ecff; color: var(--ocean); font-size: .6875rem; font-weight: 700; vertical-align: .1em; }
.map-form .terms { margin-top: 0; font-size: .75rem; line-height: 1.5; color: var(--slate); }

/* What happens after they submit */
.map-next { list-style: none; padding: 0; margin: 0 0 1.5rem; counter-reset: next; display: grid; gap: 1rem; }
.map-next li { counter-increment: next; position: relative; padding-left: 2.75rem; display: grid; gap: .2rem; }
.map-next li::before {
  content: counter(next);
  position: absolute; left: 0; top: 0;
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  display: grid; place-items: center;
  background: #e3ecff; color: var(--ocean);
  font: 600 .875rem/1 var(--font-display);
}
.map-next strong { font-weight: 600; }
.map-next span { font-size: var(--t-sm); color: var(--slate); }
.map-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* spam trap: hidden from people */
.map-form .opt { font-weight: 400; color: var(--slate); margin-left: .25rem; }
.map-open-roadmap { width: 100%; margin-bottom: 1.25rem; }
.map-fee { grid-template-columns: minmax(0, 1fr) auto; align-items: end; margin-bottom: 1.25rem; }
.map-thanks { margin-bottom: 1.25rem; font-weight: 600; color: var(--ink); }
.map-cta { background: var(--navy); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: .9rem; }
.map-cta p { color: #fff; }
@media (max-width: 520px) { .map-pair { grid-template-columns: 1fr; } }

/* ---------- Footer (home) ---------- */

.site-footer--home { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .js .rise-word, .js .hero-after, .js .lead-note, .js .reveal > span, .js .agenda li, .js .pipeline-steps li { opacity: 1 !important; transform: none !important; animation: none !important; }
  .js .pipeline-stage { position: static; }
  .js .pin-spacer { display: none; }
  .js .pipeline-chart .drop { opacity: 1; }
  .js .pipeline-steps li { grid-area: auto; background: none; padding: 0; }
  .js .case-rows li { opacity: 1; transform: none; }
  .case-rows::after, .case-card::before, .founder-photo, .call .network { animation: none; }
  .case-rows li.done .state { animation: none; }
  .founder-photo::after { display: none; }
  .founder-bg .glow, .founder-bg .dots::after { animation: none; }
  .founder-bg .dots::after { display: none; }
  .js .signature { clip-path: none; }
  .js .chips li { opacity: 1; transform: none; }
  .live-pill .dot { animation: none; }
  .map-modal[open] { animation: none; }
}

/* Calendly: keep the widget collapsed until its script has loaded */
.booking:not(.is-loaded) .calendly-inline-widget { height: 0; overflow: hidden; }

/* Google profile badge: shows the business is real. Add real star ratings only once reviews exist. */
.google-proof { margin: 1rem 0 0; }
.google-proof--tight { margin: .85rem 0 1.25rem; }
.google-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .85rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  font-size: var(--t-sm); font-weight: 600; line-height: 1.2; text-decoration: none;
  transition: border-color .2s ease;
}
.google-badge:hover { border-color: var(--ocean); color: var(--ink); }
.google-badge svg { width: 1rem; height: 1rem; flex: none; }
