/* ==========================================================================
   Phixr — homepage styles
   css/home.css
   ========================================================================== */


/* ---------- Design tokens & base ---------- */
:root {
  --purple: #540DEE;
  --purple2: #6b25ff;
  --deep: #24105f;
  --deep2: #17083f;
  --orange: #FF6B6B;
  --cream: #f7f8ef;
  --ink: #17112d;
  --muted: #716a80;
  --line: #e7e2ef;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Manrope,Arial,sans-serif;
  color: var(--ink);
  background: #fff;
}

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

.wrap {
  width: min(1240px,90vw);
  margin: auto;
}

.kicker {
  font-size: 11px;
  letter-spacing: .19em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--ink);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.display {
  font-size: clamp(48px,7vw,94px);
  line-height: .91;
  letter-spacing: -.065em;
  font-weight: 700;
}

.h2 {
  font-size: clamp(40px,5vw,70px);
  line-height: .96;
  letter-spacing: -.055em;
}

.lead {
  font-size: 18px;
  line-height: 1.65;
  color: #4c4658;
}


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 999px;
  padding: 15px 23px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: .2s;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Ghost button for light backgrounds */
.btn-ghost-dark {
  border-color: var(--purple);
  color: var(--purple);
  background: transparent;
}

.btn-ghost-dark:hover {
  border-color: var(--purple);
  background: rgba(84, 13, 238, .06);
}

/* Placeholder buttons with no destination yet (no href = no action) */
.btn-inert {
  cursor: default;
}

.btn-inert:hover {
  transform: none;
}

.btn-orange {
  background: var(--orange);
  color: white;
}

.btn-orange.btn-coral {
  background: #FF6B6B;
}

.btn-white {
  border-color: #ffffff66;
  color: white;
}

.btn-ghost {
  border-color: rgba(255,255,255,.55);
  color: #fff;
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}

.arrow {
  font-size: 18px;
}


/* ---------- Navigation ---------- */
nav {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 34px;
  position: relative;
  z-index: 5;
}

/* Sticky header: the placeholder keeps the hero layout; the bar is fixed
   and turns solid once the page scrolls (class added in js/home.js). */
html {
  scroll-padding-top: 80px;
}

.site-header {
  height: 82px;
}

.site-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background .25s, box-shadow .25s, backdrop-filter .25s;
}

.site-bar nav {
  transition: height .25s;
}

.site-bar.is-scrolled {
  background: rgba(84, 13, 238, .96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(23, 17, 45, .18);
}

.site-bar.is-scrolled nav {
  height: 66px;
}

.logo {
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -.06em;
  margin-right: auto;
}

.logo span {
  color: #a995ff;
}

nav>a:not(.btn):not(.logo) {
  font-size: 13px;
  color: #eee9ff;
}

.nav-cta {
  padding: 11px 20px;
  font-size: 13px;
}


/* ---------- Hero ---------- */
.hero {
  min-height: 790px;
  color: white;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 85% 20%,#6c2cff 0,transparent 30%), var(--purple);
}

.dotfield {
  position: absolute;
  inset: 0;
  opacity: .26;
  background-image: radial-gradient(#fff 1.2px,transparent 1.2px);
  background-size: 15px 15px;
  mask-image: linear-gradient(to bottom,transparent 8%,black 35%,transparent 88%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 70px;
  align-items: center;
  padding: 105px 0 125px;
  position: relative;
  z-index: 2;
}

.hero .kicker {
  color: #cbbfff;
}

.hero h1 {
  margin: 22px 0 28px;
}

.hero h1 span {
  color: #A7ABFF;
}

.hero-copy {
  max-width: 700px;
}

.hero-copy p {
  max-width: 650px;
  color: #eee8ff;
  font-size: 17px;
  line-height: 1.65;
}

.actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 32px;
}

section {
  padding: 112px 0;
}

.intro {
  background: #fff;
}

.intro h2 span {
  color: #9183bb;
}

.link {
  display: inline-flex;
  gap: 11px;
  color: var(--purple);
  font-weight: 800;
  margin-top: 20px;
}


/* ---------- Built by people who've done it ---------- */
.owners-built {
  position: relative;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 90px;
  align-items: center;
}

.photo {
  min-height: 520px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: #ddd;
}

.photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

.photo:after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -50px;
  width: 270px;
  height: 270px;
  background-image: radial-gradient(var(--orange) 2px,transparent 2px);
  background-size: 12px 12px;
  opacity: .9;
}

.quote {
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: -.025em;
  border-left: 3px solid var(--orange);
  padding-left: 25px;
  margin: 28px 0;
}


/* ---------- For business owners ---------- */
.owner-prop {
  background: #faf9fc;
  padding: 110px 0 0;
  overflow: hidden;
}

.owner-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 70px;
  align-items: start;
}

.owner-intro .h2 span {
  color: #7B73FF;
}

.owner-intro .lead {
  max-width: 470px;
  margin: 28px 0 34px;
}

.owner-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
}

.owner-path {
  position: relative;
  padding: 44px 30px 10px;
  border-left: 1px solid var(--line);
}

.owner-path:first-child {
  border-left: 0;
  padding-left: 0;
}

.owner-path::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #FF6B6B;
}

.owner-path:first-child::before {
  left: 0;
}

.owner-path h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.12;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0 0 18px;
}

.owner-path p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.owner-band {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 30px;
}

/* ---------- Powered by AI ---------- */
.ai {
  background: linear-gradient(130deg,#2E008C,#540DEE 65%,#6139FF);
  color: white;
  overflow: hidden;
  position: relative;
}

.ai .kicker {
  color: #A7ABFF;
}

.ai .h2 span {
  color: #A7ABFF;
}


/* ---------- Call to action ---------- */
.cta {
  padding: 0;
  background: #fff;
}

.cta-box {
  margin: 80px auto;
  border-radius: 28px;
  padding: 80px;
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--purple);
}

.cta-box:after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px solid #FF6B6B;
  border-radius: 50%;
  right: -190px;
  top: -210px;
  z-index: 0;
  pointer-events: none;
}

/* keep the copy above the orange ring */
.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-box .kicker {
  color: #A7ABFF;
}

.cta-box p {
  max-width: 720px;
  color: #e9e1ff;
  line-height: 1.6;
}


/* ---------- Footer ---------- */
footer {
  background: #17112D;
  color: #fff;
  padding: 55px 0 35px;
}

.foot {
  display: grid;
  grid-template-columns: 1.3fr repeat(3,.7fr);
  gap: 50px;
}

.foot h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #a997df;
}

.foot a {
  display: block;
  color: #e6e0f7;
  font-size: 13px;
  margin: 10px 0;
}

.legal {
  border-top: 1px solid #ffffff1d;
  margin-top: 45px;
  padding-top: 22px;
  color: #9f94c4;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
}

@media(max-width:900px) {
  nav>a:not(.btn):not(.logo) {
    display: none;
  }

  .nav-cta {
    padding: 9px 16px;
    font-size: 12px;
  }

  .hero-grid,
  .founder-grid,
  .owner-grid {
    grid-template-columns: 1fr;
  }

  .owner-grid { gap: 10px; }
  .owner-prop { padding-top: 80px; }
  .owner-paths { margin-top: 30px; }

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

  .cta-box {
    padding: 55px 35px;
  }

  .hero {
    min-height: auto;
  }
}

@media(max-width:600px) {
  /* owner paths stack; coral dot sits beside each title */
  .owner-paths { grid-template-columns: 1fr; margin-top: 18px; }
  .owner-path,
  .owner-path:first-child {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 26px 0 26px 30px;
  }
  .owner-path::before,
  .owner-path:first-child::before { left: 0; top: 34px; width: 11px; height: 11px; }
  .owner-path h3 { margin-bottom: 10px; }
  .owner-path h3 br { display: none; }
  .owner-intro .actions { flex-wrap: wrap; }

  /* band: keep the person in frame instead of shrinking the full-width strip */
  .owner-band {
    height: 240px;
    object-fit: cover;
    object-position: 28% 100%;
    margin-top: 10px;
  }

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

  .display {
    font-size: 52px;
  }

  .h2 {
    font-size: 42px;
  }

  section {
    padding: 80px 0;
  }

  .hero-grid {
    padding: 70px 0 90px;
  }

  .cta-box {
    margin: 45px auto;
  }

  .legal {
    display: block;
  }

  .legal span {
    display: block;
    margin-top: 10px;
  }
}

.ai-intro {
  max-width: 920px;
  margin: 0 0 50px;
}

.ai-features {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ai-feature {
  --w: 60%;
  --pos: center;
  position: relative;
  min-height: 300px;
  padding: 28px 34px 30px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(109, 91, 255, .22), rgba(58, 1, 172, .18));
  overflow: hidden;
}

/* 60% photo / 40% copy. --pos = which part of the photo stays in frame */
.ai-feature--demand      { --img: url('../assets/ai/demand.jpg?v=2');      --pos: 20% center; }
.ai-feature--operational { --img: url('../assets/ai/operational.jpg?v=2'); --pos: 25% center; }
.ai-feature--customer    { --img: url('../assets/ai/customer.jpg?v=2');    --pos: 15% center; }
.ai-feature--knowledge   { --img: url('../assets/ai/knowledge.jpg?v=2');   --pos: 30% center; }

.ai-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--w);
  background: var(--img) no-repeat var(--pos) / cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%);
  mask-image: linear-gradient(90deg, transparent 0, #000 18%);
}

.ai-copy {
  position: relative;
  z-index: 1;
  max-width: 40%;
}

.ai-icon {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, .05);
}

.ai-feature h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.025em;
  margin: 0 0 10px;
}

.ai-feature p {
  color: #e2dbfb;
  line-height: 1.45;
  font-size: 15px;
  margin: 0;
}

@media (max-width: 1100px) {
  .ai-features { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .ai-feature { padding: 0 22px 26px; min-height: 0; }
  .ai-photo {
    position: relative;
    width: auto;
    height: 190px;
    margin: 0 -22px 18px;
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
    mask-image: linear-gradient(to bottom, #000 60%, transparent);
  }
  .ai-copy { max-width: none; margin-top: -54px; }
}


/* ---------- What we're building ---------- */
.human-intro {
  background: #fff;
  padding: 110px 0 120px;
  overflow: hidden;
}

.human-intro-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 72px;
  align-items: center;
}

.human-intro-copy {
  position: relative;
  z-index: 2;
}

.human-intro-copy .h2 {
  font-size: clamp(48px,5.2vw,78px);
  margin: 12px 0 30px;
}

.human-intro-copy .h2 span {
  color: #7B73FF;
}

.human-intro-copy .lead {
  font-size: 16px;
  line-height: 1.65;
  max-width: 610px;
}

.human-intro-copy .btn { margin-top: 14px; }

/* Graphic: blobs baked into the image, labels are real text on top */
.build-graphic {
  position: relative;
  margin: 0 -7vw 0 0;
  container-type: inline-size;
}

.build-graphic img {
  display: block;
  width: 100%;
  height: auto;
}

.build-labels {
  list-style: none;
  margin: 0;
  padding: 0;
}

.build-labels li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: clamp(9px, 1.35cqi, 14px);
  font-weight: 600;
  letter-spacing: .3em;
  line-height: 1.9;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(23,17,45,.35);
}

@media(max-width:900px) {
  .human-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .build-graphic {
    margin: 0 -5vw;
  }
}

@media(max-width:600px) {
  .human-intro {
    padding: 75px 0 70px;
  }

  .build-graphic {
    margin: 0 -8vw 0 -6vw;
  }

  .build-labels li {
    font-size: clamp(8.5px, 2.5cqi, 11px);
    letter-spacing: .18em;
    line-height: 1.7;
  }
}


/* ---------- The Phixr philosophy ---------- */
.phil {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 130px 0 110px;
  background: radial-gradient(circle at 72% 42%,#540DEE 0,transparent 45%),linear-gradient(120deg,#2E008C 0%,#3A01AC 55%,#2E008C 100%);
}

.phil-curve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.phil-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.phil-kicker {
  font-size: 12px;
  letter-spacing: .26em;
  font-weight: 700;
  text-transform: uppercase;
  color: #A7ABFF;
}

.phil-h {
  font-size: clamp(44px,5.3vw,84px);
  line-height: 1.02;
  letter-spacing: -.058em;
  font-weight: 700;
  margin: 26px 0 62px;
}

.phil-h span {
  color: #A7ABFF;
}

.phil-btn {
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
}

.phil-btn:hover {
  background: rgba(255,255,255,.08);
}

.phil-cards {
  position: relative;
  height: 505px;
}

.pcard {
  position: absolute;
  top: 0;
  border-radius: 32px;
  padding: 58px 54px 40px;
}

.pcard h4 {
  font-size: 13px;
  letter-spacing: .32em;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 22px;
  color: #fff;
}

.pcard ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pcard li {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.28;
  padding: 17px 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.3);
}

.pcard li:last-child {
  border-bottom: 0;
}

.pcard-protect {
  left: 0;
  width: 50%;
  height: 500px;
  z-index: 2;
  background: linear-gradient(160deg,rgba(123,115,255,.55),rgba(109,91,255,.45));
  border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.pcard-bring {
  right: 0;
  top: 5px;
  width: 46%;
  height: 492px;
  z-index: 1;
  padding-left: 70px;
  background: linear-gradient(165deg,#540DEE 0%,#4700CD 55%,#3A01AC 100%);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 30px 80px rgba(46,0,140,.45);
}

.phil-dots {
  position: absolute;
  left: 36%;
  top: -60px;
  width: 36%;
  height: 640px;
  z-index: 3;
  pointer-events: none;
  background-image: radial-gradient(#7B73FF 2.1px,transparent 2.5px);
  background-size: 17px 17px;
  opacity: .85;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%,#000 20%,transparent 72%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%,#000 20%,transparent 72%);
}

.phil-plus {
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 38% 32%,#FF9894,#FF6B6B 58%,#F25A5A);
}

.phil-caption {
  margin: 74px 0 0 44%;
  padding-left: 34px;
  border-left: 1px solid rgba(255,255,255,.55);
  font-size: 12.5px;
  letter-spacing: .3em;
  line-height: 2;
  text-transform: uppercase;
  font-weight: 600;
  color: #ddd5ff;
}

@media(max-width:1100px) {
  .pcard {
    padding: 46px 36px 32px;
  }

  .pcard-bring {
    padding-left: 52px;
  }

  .pcard li {
    font-size: 18px;
  }
}

@media(max-width:900px) {
  .phil {
    padding: 90px 0;
  }

  .phil-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .phil-curve {
    display: none;
  }

  /* Staggered glass: protect card top-left, bring card bottom-right, "+" on the overlap */
  .phil-cards {
    height: auto;
    display: block;
    position: relative;
  }

  .phil-cards::before {
    content: "";
    position: absolute;
    top: -30px;
    bottom: -40px;
    left: -5vw;
    right: -5vw;
    z-index: 0;
    background: url('../assets/svg/philosophy-curve-mobile.svg?v=2') no-repeat center / 100% 100%;
    pointer-events: none;
  }

  .pcard {
    position: relative;
    top: auto!important;
    height: auto!important;
    padding: 34px 26px 28px;
  }

  .pcard li {
    font-size: 18px;
    padding: 13px 0 14px;
  }

  .pcard-protect {
    width: 86%!important;
    z-index: 2;
  }

  .pcard-bring {
    width: 86%!important;
    margin: 0 0 0 14%;
    padding: 52px 26px 28px;
    z-index: 1;
  }

  .phil-plus {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 66px;
    height: 66px;
    margin: -44px 10% -40px auto;
  }

  .phil-plus img {
    width: 30px;
    height: 30px;
  }

  .phil-dots {
    display: block;
    left: 22%;
    top: 34%;
    width: 70%;
    height: 42%;
    z-index: 3;
  }

  .phil-caption {
    margin: 44px 0 0;
  }
}


/* ---------- How Phixr creates value ---------- */
.value2 {
  background: #fff;
  padding: 110px 0 80px;
}

.v-h {
  margin: 14px 0 24px;
  color: var(--ink);
}

.v-lead {
  max-width: 800px;
  font-size: 19px;
}

.v-track {
  margin-top: 34px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.v-track::-webkit-scrollbar {
  display: none;
}

.v-inner {
  min-width: 1080px;
}

.v-art {
  display: block;
  width: 100%;
  height: auto;
}

.v-cols {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  margin-top: 22px;
}

.v-col {
  padding-right: 34px;
}

.v-col h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.035em;
  margin: 0 0 14px;
  color: var(--ink);
}

.v-col p {
  font-size: 15.5px;
  line-height: 1.6;
  color: #6f6880;
  margin: 0;
}

.v-foot {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  padding-top: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.v-foot h3 {
  font-size: clamp(26px,2.9vw,40px);
  font-weight: 700;
  letter-spacing: -.045em;
  margin: 0;
  color: var(--ink);
}

.v-foot h3 span {
  color: #7B73FF;
}

.v-nav {
  display: flex;
  gap: 12px;
  flex: none;
}

.v-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid #cfc2f6;
  background: #fff;
  color: #9f88ee;
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-family: inherit;
  transition: .2s;
}

.v-btn-dark {
  border-color: #2b1f63;
  color: var(--ink);
}

.v-btn:hover {
  background: #f5f1ff;
}


/* ---------- Where we focus ---------- */
.thesis2 {
  background: #f7f7f0;
  padding: 100px 0 110px;
}

.t-head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  align-items: end;
}

.t-h {
  font-size: clamp(46px,5.4vw,84px);
  line-height: .93;
  margin: 14px 0 0;
  color: var(--ink);
}

.t-h span {
  color: #7B73FF;
}

.t-lead {
  max-width: 570px;
  margin: 0 0 6px;
}

.f-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin-top: 44px;
}

.fcard {
  position: relative;
  aspect-ratio: 354 / 445;
  border-radius: 22px;
  overflow: hidden;
  background: var(--img) no-repeat top center / 100% auto;
}

.fcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(84, 13, 238, 0) 50%,
    rgba(84, 13, 238, .82) 68%,
    #540DEE 76.5%);
}

.f-copy {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 24px 24px;
  color: #fff;
}

.f-copy b {
  display: block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.025em;
  margin-bottom: 10px;
}

.f-copy p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: #ece7ff;
}

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

  .t-head {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

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


  .v-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .value2,
  .thesis2 {
    padding: 75px 0;
  }
}

.v-mobile {
  display: none;
}

@media(max-width:760px) {
  .v-track,
  .v-nav {
    display: none;
  }

  .v-mobile {
    display: block;
    margin-top: 24px;
  }

  .v-mobile {
    position: relative;
  }

  .v-links {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: visible;
    pointer-events: none;
  }

  .v-step {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 140px 1fr;
    grid-template-areas: "art text";
    column-gap: 18px;
    align-items: center;
    margin-bottom: 64px;
  }

  .v-step:nth-child(odd) {
    grid-template-columns: 1fr 140px;
    grid-template-areas: "text art";
  }

  .v-step:last-child {
    margin-bottom: 10px;
  }

  .v-step img {
    grid-area: art;
    display: block;
    width: 140px;
    height: 140px;
  }

  .v-text {
    grid-area: text;
  }

  .v-step h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.035em;
    margin: 0 0 8px;
    color: var(--ink);
  }

  .v-step p {
    font-size: 15px;
    line-height: 1.55;
    color: #6f6880;
    margin: 0;
  }

  .v-foot {
    margin-top: 30px;
  }
}


/* ---------- A straightforward process ---------- */
.process2 {
  position: relative;
  overflow: hidden;
  background: #f7f7f0;
  padding: 100px 0 100px;
}

.p-halftone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 520px;
  height: 340px;
  pointer-events: none;
  background-image: radial-gradient(#c9bdf5 2.6px,transparent 3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 100% 100%,#000 10%,transparent 68%);
  mask-image: radial-gradient(ellipse at 100% 100%,#000 10%,transparent 68%);
  opacity: .8;
}

.p-h {
  margin: 14px 0 26px;
  color: var(--ink);
  font-size: clamp(46px,5.4vw,84px);
  line-height: .93;
}

.p-lead {
  max-width: 760px;
  font-size: 19px;
}

.p-timeline {
  position: relative;
  margin-top: 30px;
}

.p-cols {
  display: grid;
  grid-template-columns: repeat(5,18.61%);
  margin: 4px 0 0 1.94%;
  position: relative;
  z-index: 1;
}

.p-step {
  padding-right: 28px;
}

.p-num {
  display: block;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: #7B73FF;
  line-height: 1;
  margin-bottom: 10px;
}

.p-step h3 {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.03em;
  margin: 0 0 12px;
  color: var(--ink);
}

.p-step p {
  font-size: 16px;
  line-height: 1.55;
  color: #6f6880;
  margin: 0;
}

.p-btn {
  margin-top: 46px;
  border: 1px solid var(--purple);
  color: var(--purple);
  position: relative;
  z-index: 1;
}

.p-btn:hover {
  background: rgba(84, 13, 238, .06);
}

.p-art-m,
.p-next-m {
  display: none;
}

@media(max-width:1100px) {
  .p-step h3 {
    font-size: 21px;
  }

  .p-step p {
    font-size: 14.5px;
  }

  .p-num {
    font-size: 28px;
  }
}

@media(max-width:760px) {
  .process2 {
    padding: 75px 0;
  }

  .p-halftone {
    width: 300px;
    height: 220px;
  }

  .p-timeline {
    display: grid;
    grid-template-columns: 62px 1fr;
    margin-top: 26px;
  }

  .p-art-m {
    display: block;
    width: 62px;
    height: 750px;
    overflow: visible;
  }

  .p-cols {
    display: block;
    margin: 0;
    padding-left: 8px;
  }

  .p-step {
    height: 150px;
    padding: 0;
    overflow: hidden;
  }

  .p-num {
    font-size: 26px;
    margin: 2px 0 6px;
  }

  .p-step h3 {
    font-size: 22px;
    margin-bottom: 6px;
  }

  .p-step p {
    font-size: 15px;
    line-height: 1.5;
  }

  .p-next-m {
    display: block;
    margin: -6px 0 0 70px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #3b3350;
  }

  .p-btn {
    margin-top: 34px;
  }
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
}

footer .logo img {
  height: 34px;
  margin-bottom: 14px;
}

.legal a {
  color: #9f94c4;
  display: inline;
}

.legal a:hover {
  color: #fff;
}

/* ---------- Homepage additions (image-based illustrations, utilities) ---------- */
.phil-curve { object-fit: cover; }
.phil-plus img { width: 44px; height: 44px; display: block; }
.ai-icon img { width: 29px; height: 29px; display: block; }
.foot-tagline { color: #b5a8d7; font-size: 13px; }
.legal a + a { margin-left: 18px; }

/* Where we focus — card photos */
.fcard--fire    { --img: url('../assets/sectors/fire.jpg'); }
.fcard--hvac    { --img: url('../assets/sectors/hvac.jpg'); }
.fcard--medical { --img: url('../assets/sectors/medical.jpg'); }
.fcard--water   { --img: url('../assets/sectors/water.jpg'); }

/* Process timeline — desktop artwork + label */
.p-art-wrap { position: relative; }
.p-art { display: block; width: 100%; height: auto; }
.p-label {
  position: absolute;
  left: 90%;
  top: 50.5%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #3b3350;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .p-label { font-size: 10px; letter-spacing: 2px; }
}
@media (max-width: 760px) {
  .p-art-wrap { display: none; }
}

/* Philosophy — tablet / small laptop: headline above, cards full width below */
@media (max-width: 1150px) and (min-width: 901px) {
  .phil-grid { grid-template-columns: 1fr; gap: 56px; }
  .phil-h { max-width: 860px; margin-bottom: 40px; }
  .phil-cards { max-width: 900px; }
  .phil-caption { margin-left: 50%; }
}

/* Hero — team photo (right on desktop, full-width banner on mobile) */
.hero-grid { grid-template-columns: 1fr; }
.hero-copy { max-width: min(720px, 47vw); }
.hero .display { font-size: clamp(48px, 5.6vw, 94px); }
.hero-photo {
  position: absolute;
  z-index: 1;
  top: 88px;
  right: 0;
  bottom: 0;
  width: min(50vw, 920px);
  background: url('../assets/hero-team-2.jpg?v=1') no-repeat right bottom / cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%), linear-gradient(to bottom, transparent 0, #000 9%);
  mask-image: linear-gradient(90deg, transparent 0, #000 16%), linear-gradient(to bottom, transparent 0, #000 9%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-copy { max-width: none; }
  .hero-grid { padding-bottom: 10px; }
  .hero-photo {
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 841 / 826;
    margin-top: 6px;
    background-size: 100% auto;
    background-position: center top;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 8%);
  }
}

/* Cookie consent banner (created by js/cookie-consent.js) */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 22px;
  border-radius: 14px;
  background: #17112d;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}
.cookie-banner-text { flex: 1 1 320px; margin: 0; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.cookie-banner-text a { color: #fff; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; }
.cookie-banner .btn { padding: 10px 22px; cursor: pointer; font-family: inherit; }
.cookie-banner .btn-coral { background: var(--orange); color: #fff; border: 0; }
.cookie-reject { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .4); }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; left: 10px; right: 10px; bottom: 10px; }
  .cookie-banner-text { flex: 0 0 auto; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; }
}

/* ---------- Eyebrow → heading spacing: same everywhere (matches the hero) ---------- */
.kicker + .display,
.kicker + .h2.h2,
.phil-kicker + .phil-h.phil-h {
  margin-top: 22px;
}


/* ---------- Title scale: every page title (H1) and section title (H2) matches
   "Compliance creates demand." — 78px desktop, 46px mobile ---------- */
h1, .h2, .hero h1, .hero .display {
  font-size: clamp(46px, 5.4vw, 78px);
}
@media (max-width: 600px) {
  h1, .h2, .hero h1, .hero .display { font-size: 46px; }
}
.human-intro-copy .h2, .about-page .h2, .display, .sf-hero .display { font-size: clamp(46px, 5.4vw, 78px); }
@media (max-width: 600px) { .human-intro-copy .h2, .display { font-size: 46px; } }

/* ---------- Animated coral lines (drawn by js/home-lines.js; baked lines removed from the images) ---------- */
.hero-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hero-line .ln { fill: none; stroke: #FF6B6B; stroke-width: 3; stroke-linecap: round; }
.hero-line .dot circle { fill: #FF6B6B; }
.hero-line .dot .halo { fill: rgba(255, 107, 107, .32); }

.build-orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.build-orbit .ln { fill: none; stroke: #FF6B6B; stroke-width: 2.4; stroke-linecap: round; }
.build-orbit .dot circle { fill: #FF6B6B; }
.build-orbit .orbit-g { transform-box: view-box; transform-origin: 501px 488px; }

.owner-band { position: relative; overflow: hidden; margin-top: 30px; }
.owner-band-in { position: relative; }
.owner-band-in img { display: block; width: 100%; height: auto; }
.band-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.band-line .ln { fill: none; stroke: #FF6B6B; stroke-width: 2.6; stroke-linecap: round; }
.band-line .dot circle { fill: #FF6B6B; }
@media (max-width: 760px) {
  .owner-band { height: 240px; margin-top: 10px; }
  .owner-band-in { position: absolute; bottom: 0; width: 1200px; left: calc((100% - 1200px) * .28); }
}

.motion .draw-line .dot, .motion .build-orbit .dot { opacity: 0; transform: scale(.2); transform-box: fill-box; transform-origin: center; transition: opacity .4s ease, transform .7s cubic-bezier(.34,1.56,.64,1); }
.motion .draw-line .dot.on, .motion .build-orbit .dot.on { opacity: 1; transform: none; }
.motion .draw-line:not(.is-on) .ln, .motion .build-orbit:not(.is-on) .ln { opacity: 0; }

/* Your next chapter — small eyebrow above each option heading */
.owner-path .owner-path-k { margin: 0 0 12px; line-height: 1.5; }

/* Your next chapter (desktop/tablet) — equal columns with identical text widths; dividers centred in the gaps;
   eyebrow, heading and copy rows line up across all three. Mobile keeps its stacked layout. */
@media (min-width: 601px) {
  .owner-paths { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 60px; }
  .owner-path, .owner-path:first-child { padding: 44px 0 10px; border-left: 0; }
  .owner-path::before, .owner-path:first-child::before { left: 0; }
  .owner-path + .owner-path::after { content: ""; position: absolute; top: 0; bottom: 0; left: -30px; width: 1px; background: var(--line); }
  @supports (grid-template-rows: subgrid) {
    .owner-path { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
    .owner-path .owner-path-k { align-self: end; }
  }
}
/* option eyebrows on one line so the three rows sit level (narrow tablets may wrap; rows still align) */
@media (min-width: 601px) {
  .owner-paths { column-gap: 44px; }
  .owner-path + .owner-path::after { left: -22px; }
}
@media (min-width: 1180px) {
  .owner-path .owner-path-k { white-space: nowrap; letter-spacing: .09em; font-size: 10.5px; }
}

/* Header as a floating full-width pill: 10px from the top, left and right */
.site-bar { top: 10px; left: 10px; right: 10px; border-radius: 999px; }
.site-bar nav { height: 72px; }
.site-bar.is-scrolled nav { height: 60px; }
/* keep the logo and button clear of the pill's rounded ends on small screens */
@media (max-width: 760px) {
  .site-bar nav, .px-bar nav { width: auto; margin: 0 22px; }
}

/* Header hides while scrolling down and glides back in when scrolling up (js/home.js) */
.site-bar, .px-bar { transition: background .25s, box-shadow .25s, backdrop-filter .25s, transform 1.65s cubic-bezier(.22,1,.36,1); }
/* slides slowly up and away (no fade/blur) */
.site-bar.is-hidden, .px-bar.is-hidden { transform: translateY(calc(-100% - 24px)); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .site-bar, .px-bar { transition: none; } }

/* Main menu: About · For Business Owners · Start a Conversation · [Get Valuation] */
.nav-links { display: flex; align-items: center; gap: 34px; margin-left: auto; margin-right: 30px; }
.nav-links a { position: relative; font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; opacity: .88; transition: opacity .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: #FF6B6B; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 900px) { .nav-links { display: none; } }
.site-bar .nav-links { margin-right: 0; }

/* ---------- Mobile menu: burger + full-screen panel (js/home.js) ---------- */
.nav-burger { display: none; }
@media (max-width: 900px) {
  .nav-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin-left: 10px; padding: 0 11px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: transparent; cursor: pointer; }
  .nav-burger span { display: block; height: 2px; border-radius: 2px; background: #fff; }
  .nav-burger span:nth-child(2) { width: 70%; margin-left: auto; background: #FF6B6B; }
  .site-bar nav .nav-cta, .px-bar nav .px-ghost { margin-left: auto; }
}
@media (max-width: 420px) { .site-bar nav .nav-cta, .px-bar nav .px-ghost { padding: 10px 14px; font-size: 12px; } }
.mnav { position: fixed; inset: 0; z-index: 9000; display: flex; flex-direction: column; padding: 18px 26px 36px; color: #fff;
  background: radial-gradient(circle at 90% 10%, #6139FF 0, transparent 45%), linear-gradient(160deg, #540DEE 0%, #3A01AC 100%);
  transform: translateY(-100%); transition: transform .6s cubic-bezier(.76,0,.24,1); visibility: hidden; }
.mnav.open { transform: none; visibility: visible; }
.mnav:not(.open) { transition: transform .5s cubic-bezier(.76,0,.24,1), visibility 0s .5s; }
.mnav-top { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.mnav-logo img { height: 34px; width: auto; display: block; }
.mnav-close { position: relative; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: transparent; cursor: pointer; }
.mnav-close span { position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; margin-top: -1px; background: #fff; border-radius: 2px; transform: rotate(45deg); }
.mnav-close span + span { transform: rotate(-45deg); }
.mnav-links { display: flex; flex-direction: column; gap: 6px; margin: 56px 0 40px; }
.mnav-links a { display: block; padding: 10px 0; font-size: 34px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.14); }
.mnav-links a[aria-current="page"] { color: #A7ABFF; }
.mnav-cta { align-self: flex-start; }
.mnav-mail { margin-top: auto; font-size: 16px; font-weight: 600; color: rgba(255,255,255,.8); text-decoration: none; }
.mnav-links a, .mnav-cta, .mnav-mail { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .6s cubic-bezier(.22,1,.36,1); }
.mnav.open .mnav-links a, .mnav.open .mnav-cta, .mnav.open .mnav-mail { opacity: 1; transform: none; transition-delay: calc(.3s + var(--i, 0) * .07s); }
html.mnav-lock, html.mnav-lock body { overflow: hidden; }
@media (min-width: 901px) { .mnav { display: none; } }
@media (max-width: 900px) {
  .site-bar nav, .px-bar nav { gap: 10px; }
  .nav-burger { flex: none; margin-left: 0; }
  .site-bar nav .nav-cta, .px-bar nav .px-ghost { flex: none; white-space: nowrap; }
}

/* Mobile: Get Valuation lives in the menu, not the bar; menu is a floating pill-style panel like the header */
@media (max-width: 900px) {
  .site-bar nav .nav-cta, .px-bar nav .px-ghost { display: none; }
  .nav-burger { margin-left: auto; }
}
.mnav { inset: 10px; border-radius: 30px; box-shadow: 0 24px 60px rgba(23, 17, 45, .35);
  transform: translateY(calc(-100% - 20px)); }
.mnav.open { transform: none; }
.mnav-cta { align-self: flex-start; display: inline-flex; align-items: center; padding: 15px 26px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; background: transparent; color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; }
.mnav-cta:hover { background: rgba(255,255,255,.12); }
.mnav-links a { font-size: clamp(26px, 7.6vw, 34px); }
/* Built by people who've done it: on phones/tablets show the whole founders photo (no tall crop) */
@media (max-width: 900px) {
  .founder-grid .photo { min-height: 0; aspect-ratio: 922 / 614; }
  .founder-grid .photo img { object-position: center; }
}
@media (max-width: 900px) { .founder-grid .photo:after { width: 120px; height: 120px; right: -20px; bottom: -20px; } }
/* buttons never wrap (arrow stays on the same line); tighter on small phones so long labels fit */
.btn { white-space: nowrap; }
@media (max-width: 480px) { .btn { padding-left: 20px; padding-right: 20px; gap: 8px; font-size: 14px !important; letter-spacing: -.01em; } }
@media (max-width: 380px) { .btn { padding-left: 16px; padding-right: 16px; font-size: 13px !important; } }
/* footer lilac accents → #7B73FF (same as "Your next chapter.") */
.foot-tagline, .foot h4 { color: #7B73FF !important; }
/* AI section: proprietary line under the headline + closing note under the cards */
.ai-lead { max-width: 760px; margin: 22px 0 0; font-size: 20px; line-height: 1.55; font-weight: 600; color: #A7ABFF; }
.ai-note { max-width: 860px; margin: 56px 0 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.85); position: relative; z-index: 1; }
@media (max-width: 600px) { .ai-lead { font-size: 17px; } .ai-note { margin-top: 40px; font-size: 16px; } }
/* stronger selectors so the section's own paragraph styles don't override these */
.ai .ai-lead { max-width: 760px; margin: 22px 0 0; font-size: 20px; line-height: 1.55; font-weight: 600; color: #A7ABFF; }
.ai .ai-note { max-width: 860px; margin: 64px 0 0; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.2); font-size: 18px; line-height: 1.65; font-weight: 400; color: rgba(255,255,255,.85); }
@media (max-width: 600px) { .ai .ai-lead { font-size: 17px; } .ai .ai-note { margin-top: 44px; padding-top: 26px; font-size: 16px; } }
.ai .ai-note { max-width: none; border-top: 0; padding-top: 0; margin-top: 56px; }
@media (max-width: 600px) { .ai .ai-note { margin-top: 40px; padding-top: 0; } }
