:root {
  --ink: #0b1c2d;
  --teal: #116b73;
  --dark-teal: #254340;
  --highlight: #d7928b;
  --stair-cream: #fce2c7;
  --stair-brown: #501f00;
  --cta-top: #2d5a68;
  --cta-bottom: #142d3d;
  --firm-card: #1a1e23;
  --firm-means-title-size: clamp(1.65rem, 3.8vw, 2.75rem);
  --white: #ffffff;
  --card-bg: #1a1a1a; /* Dark black */
  --accent: #d9d2b5; /* Beige text highlight */
  /* Icon-inspired accents (map / rocket / funnel) */
  --process-olive: #7a6b38;
  --process-cream-wash: #f9f4ea;
  --process-card-text: #fdfaf2;
  --golden-text-color: #fce3c8;
  --process-content-width: min(900px, 83vw);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--process-cream-wash);
  color: var(--ink);
  font-family: "Host Grotesk", Arial, sans-serif;
  overflow-x: hidden;
}

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

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

.italic {
  font-family: "PT Serif", Georgia, serif;
  font-style: italic;
}

.highlight {
  background: var(--highlight);
  padding: 0 0.26em;
}

.site-shell {
  width: min(1100px, 93vw);
  margin-inline: auto;
  padding-top: 2rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2.85rem;
}

.logo {
  width: clamp(64px, 8vw, 96px);
}

.socials {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.socials a {
  display: block;
  width: clamp(28px, 3.2vw, 36px);
}

.floating-cta {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  /* Use a tighter gap so the button feels integrated */
  gap: 3.25rem;
  /* Left padding matches the icon's distance from the edge */
  padding: 0.35rem 0.4rem 0.35rem 1.4rem;
  width: fit-content;
  /* The "Pill" shape */
  border-radius: 14px;
  background-color: #728281;
  /* Soft outer shadow as seen in the image */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.floating-cta-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 0.3rem;
  /* Increased vertical padding to make the black button taller */
  padding: 0.7rem 0.8rem;
  /* Rounded to match the container */
  border-radius: 12px;
  background: #000000;
  color: var(--stair-cream);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.2s ease;
}

.menu-icon {
  color: var(--stair-cream);
  font-size: 1.3rem;
  /* Adjusting optical alignment */
  margin-top: -2px;
  cursor: pointer;
  user-select: none;
}

/* Subtle hover effect for the button */
.floating-cta-link:hover {
  opacity: 0.9;
}

.hero {
  margin-top: 5rem;
  padding-bottom: clamp(3.25rem, 7vw, 5.75rem);
}

.hero h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(1.8rem, 4.6vw, 3.24rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.hero-copy p {
  margin: 0.72rem 0 0;
  max-width: 710px;
  font-size: clamp(1.03rem, 2.25vw, 1.82rem);
  line-height: 1.14;
  font-weight: 650;
}

.hero-row {
  z-index: 3;
  margin-top: 8rem;
  display: grid;
  grid-template-columns: 28% 66%;
  align-items: center;
}

.dice {
  margin: 0;
  justify-self: center;
  position: relative;
  padding-bottom: clamp(24px, 3.2vw, 36px);
}

.dice-main {
  width: clamp(82px, 12vw, 138px);
  filter: drop-shadow(0 22px 14px rgba(0, 0, 0, 0.15));
  animation-name: dice-bounce;
  animation-duration: 1.8s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  will-change: transform;
  position: relative;
  z-index: 2;
  display: block;
}

.dice-shadow {
  position: absolute;
  left: 50%;
  bottom: -40px;
  transform: translateX(-50%);
  width: clamp(210px, 30vw, 420px);
  max-width: none;
  opacity: 0.62;
  z-index: 1;
  pointer-events: none;
}

@keyframes dice-bounce {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -18px, 0);
  }
}

.growth {
  z-index: 3;
  max-width: 530px;
  text-align: right;
}

.growth h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4.6vw, 3.24rem);
  line-height: 0.98;
  white-space: nowrap;
}

.growth p {
  margin: 0.65rem 0 1rem;
  font-size: clamp(1.02rem, 1.85vw, 1.46rem);
  line-height: 1.18;
  font-weight: 650;
}

.btn-dark {
  display: inline-block;
  border-radius: 999px;
  border: 2px solid #213f56;
  background: #000;
  color: #fff6eb;
  padding: 0.52rem 1.24rem;
  font-size: clamp(0.92rem, 1.45vw, 1.06rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.challenge {
  padding-top: clamp(1rem, 4vw, 3.75rem);
  padding-bottom: clamp(5.25rem, 9.5vw, 8.25rem);
}

.challenge h3 {
  margin: 0 0 2rem;
  font-size: clamp(1.8rem, 4.23vw, 3.47rem);
  line-height: 1;
}

.challenge ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
}

.challenge li {
  display: flex;
  align-items: flex-start;
  gap: 0.58rem;
  font-size: clamp(1.03rem, 1.88vw, 1.52rem);
  font-weight: 700;
  line-height: 1.22;
}

.challenge li + li {
  margin-top: 0.18rem;
}

.challenge li::before {
  content: "◉";
  font-size: 0.72em;
  margin-top: 0.2em;
}

.standard-wrap {
  position: relative;
  margin-top: 19vw;
}

.stairs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 92%;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: 1400px;
  z-index: 1;
  pointer-events: none;
}

.standard {
  position: relative;
  z-index: 1;
  margin-top: 0;
  background: var(--teal);
  overflow: visible;
}

.standard-inner {
  position: relative;
  z-index: 2;
  width: min(1100px, 93vw);
  margin-inline: auto;
  color: #f8fdff;
}

.standard h3 {
  z-index: 3;
  width: fit-content;
  margin: 0 0 0 auto;
  font-size: clamp(2rem, 5vw, 4.44rem);
  line-height: 1.06;
  transform: translateY(-4.2rem);
}

.standard h3 .highlight {
  display: inline-block;
  margin-top: 0.08em;
}

.standard h4 {
  margin: 0;
  font-size: clamp(1.3rem, 2.8vw, 2.35rem);
  line-height: 1.03;
}

.standard-sub {
  margin: 0.45rem 0 1.8rem;
  font-size: clamp(0.8rem, 1.6vw, 1.36rem);
  line-height: 1.15;
  font-weight: 500;
}

.standard-strip {
  display: inline-block;
  margin: 0 0 1.2rem;
  color: #153648;
  font-size: clamp(1rem, 2.4vw, 2.3rem);
  line-height: 1.3;
  font-weight: 600;
  padding: 8px 20px;
}

.standard-copy {
  margin: 0 0 2rem;
  max-width: 760px;
  font-size: clamp(1rem, 1.8vw, 1.52rem);
  line-height: 1.18;
  font-weight: 500;
}

.firm-means {
  margin-top: 4.5rem;
  padding-bottom: 1rem;
}

.firm-means__title {
  margin: 0 auto 1.8rem;
  max-width: 36ch;
  text-align: center;
  font-size: var(--firm-means-title-size);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fdff;
}

.firm-means__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.5rem, 1.5vw, 1.35rem);
}

.firm-means__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0;
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1rem, 2.5vw, 1.35rem);
  border-radius: clamp(18px, 2.5vw, 24px);
  background: var(--firm-card);
  color: #f8fdff;
}

.firm-means__text {
  margin: 0;
  color: var(--golden-text-color);
  max-width: 28ch;
  font-size: clamp(0.95rem, 1.65vw, 1.22rem);
  line-height: 1.22;
  font-weight: 500;
}

.firm-means__icon {
  flex-shrink: 0;
  width: auto;
  max-width: 100%;
  height: 70px;
  margin-bottom: clamp(1rem, 2.2vw, 1.35rem);
  object-fit: contain;
}

.stairs2-wrap {
  margin-top: -3px;
  position: relative;
}

.stairs2 {
  position: relative;
  z-index: 1;
  margin-top: 0;
  /* background: var(--teal); */
  overflow: visible;
}

.stairs2-stairs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.stairs2 .stairs--down {
  bottom: auto;
  transform: none;
}

/* In-flow shell like .standard-inner so height follows content */
.stairs2-inner {
  position: relative;
  z-index: 2;
  width: min(1100px, 93vw);
  margin-inline: auto;
  padding: 10rem 2rem 0 2rem;
  padding-right: clamp(2.75rem, 11vw, 7.5rem);
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.stairs2-character-group {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: clamp(1.15rem, 3.4vw, 2rem);
  pointer-events: none;
}

.stairs2-character-group .stairs2-character {
  width: clamp(150px, 12vw, 220px);
  max-width: none;
  height: auto;
  flex-shrink: 0;
  display: block;
}

.stairs2-dialog {
  position: relative;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.18em;
  margin: 0 clamp(1.85rem, 5.8vw, 3.5rem) 0 0;
  padding: clamp(0.85rem, 2vw, 1.2rem) clamp(1.05rem, 2.4vw, 1.5rem);
  padding-right: clamp(1.2rem, 2.8vw, 1.65rem);
  overflow: visible;
  border-radius: 1.45rem 1.45rem 0.42rem 1.45rem;
  background: #f5e3cc;
  color: var(--cta-top);
  font-size: calc(var(--firm-means-title-size) * 0.8);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  pointer-events: auto;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.stairs2-dialog__line {
  display: block;
}

.stairs2-dialog__line .italic {
  font-weight: 600;
}

.stairs2-dialog::after {
  content: "";
  position: absolute;
  left: 98.6%;
  top: 50.2%;
  width: clamp(48px, 7.5vw, 76px);
  height: 50%;
  background: #f5e3cc;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
}

.stairs2-dialog:focus-visible {
  outline: 2px solid #f8fdff;
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .hero {
    margin-top: 2rem;
  }
  .site-shell {
    width: 94vw;
    padding-top: 1rem;
  }

  .floating-cta {
    visibility: hidden;
  }

  .topbar {
    margin-bottom: 1.85rem;
  }

  .dice {
    justify-self: start;
    padding-left: 0.4rem;
  }

  .dice-main {
    width: clamp(74px, 20vw, 112px);
  }

  .growth {
    max-width: none;
  }

  .challenge {
    padding-top: 2.2rem;
    padding-bottom: 6.85rem;
  }

  .standard-wrap {
    margin-top: clamp(4.25rem, 12vw, 8.5rem);
  }

  .standard h3 {
    transform: translateY(-2.2rem);
  }
  .stairs {
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    bottom: 98%;
  }

  .standard {
    padding-bottom: 3rem;
  }

  .firm-means {
    margin-top: clamp(2rem, 5vw, 3rem);
  }

  .firm-means__title {
    margin-bottom: clamp(1.25rem, 4vw, 1.75rem);
  }

  .firm-means__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .firm-means__icon {
    height: clamp(4rem, 18vw, 5.5rem);
  }

  .stairs2-inner {
    padding: 0rem 0 3rem;
  }

  .stairs2-character-group {
    gap: clamp(0.95rem, 4vw, 1.65rem);
  }

  .stairs2-character-group .stairs2-character {
    width: clamp(50px, 14vw, 100px);
  }

  .stairs2-dialog {
    margin: 0 clamp(1.4rem, 5.5vw, 2.5rem) 0 0;
    padding: clamp(0.68rem, 2.6vw, 1rem) clamp(0.88rem, 3vw, 1.25rem);
    padding-right: clamp(1rem, 3.2vw, 1.35rem);
    line-height: 1;
  }

  .stairs2-dialog::after {
    width: clamp(38px, 9vw, 58px);
  }
}

@media (min-width: 1600px) {
  .standard-wrap {
    margin-top: calc(18vw + 6rem);
  }
}

@media (min-width: 2200px) {
  .standard-wrap {
    margin-top: calc(15vw + 11rem);
  }
}

/* CARS SECTION — scoped to .cars-section only */
.cars-section {
  padding: 42rem 0 0 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  color: var(--accent);
  background-color: var(--process-cream-wash);
}

.cars-section .cars-row {
  display: flex;
  width: 100%;
  position: relative;
}

.cars-section .cars-row-left {
  justify-content: flex-start;
  margin-bottom: 20px;
}

.cars-section .cars-row-right {
  justify-content: flex-end;
}

.cars-section .cars-card {
  background-color: var(--card-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  padding: 20px 30px;
  position: relative;
  box-sizing: border-box;
}

.cars-card-left {
  width: 760px; /* Spans more than half the screen to create that 'overlap' look */
  justify-content: end;
  border-radius: 0 40px 40px 0;
}

.cars-card-right {
  /* width: 80%; Spans more than half the screen to create that 'overlap' look */
  width: 100%;
  margin-left: 200px;
  border-radius: 40px 0 0 40px;
}

.cars-inner {
  width: 100%;
}

.cars-inner-left {
  max-width: 500px; /* Ensures text is always centered and readable */
}

.cars-section h2 {
  margin: 0 0 10px 0;
  font-size: clamp(1.8rem, 4.6vw, 3.24rem);
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--accent);
}

.cars-section .italic {
  color: var(--accent);
  font-weight: 300;
}

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

.cars-section ul li {
  font-size: 1.52rem;
  line-height: 0.8;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  color: var(--accent);
}

.cars-section .cars-bullet {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  background-color: var(--accent);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  margin-right: 15px;
  display: inline-block;
  opacity: 0.85;
}

.cars-section .cars-img {
  position: absolute;
  height: auto;
  z-index: 10;
}

.cars-section .cars-img-top-left {
  top: -190px;
  right: 340px;
  width: 300px;
}
@media (max-width: 1400px) {
  .cars-section {
    padding: 32rem 0 0 0;
  }
}

.cars-section .cars-img-top-right {
  top: -90px;
  left: 460px;
  width: 380px;
}

@media (max-width: 1024px) {
  .cars-section .cars-card {
    width: 80%; /* Takes up more space on tablets */
  }
  .cars-section {
    padding: 26rem 0 0 0;
  }
  .cars-section .cars-img-top-right {
    left: 340px;
  }

  .cars-card-right {
    margin-left: 0;
  }
  .challenge h3 {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .cars-section .cars-card {
    width: 90%;
    border-radius: 30px; /* Close the edges for mobile */
  }

  .cars-section {
    padding: 20rem 0 0 0;
  }

  .cars-card-left {
    justify-content: left;
  }

  .cars-section .cars-row-left {
    justify-content: center;
  }

  .cars-section .cars-row-right {
    justify-content: center;
  }

  .cars-section h2 {
    font-size: clamp(1.5rem, 5vw, 1.8rem);
  }

  .cars-section .cars-img-top-right {
    left: 360px;
    top: 20px;
    width: 190px;
  }
  .cars-section .cars-img-top-left {
    left: 380px;
    top: 10px;
    width: 170px;
  }
}

@media (max-width: 600px) {
  .cars-section ul li {
    font-size: clamp(0.8rem, 1.6vw, 1.2rem);
    line-height: 0.9;
    margin-bottom: 5px;
  }

  .cars-section .cars-img-top-left {
    right: 20px;
  }

  .cars-section {
    padding: 12rem 0 0 0;
  }
  .cars-section .cars-img-top-right {
    visibility: hidden;
  }
  .cars-section .cars-img-top-left {
    visibility: hidden;
  }
}

@media (max-width: 400px) {
  .cars-section {
    padding: 9.4rem 0 0 0;
  }
}

.mid-cta {
  width: var(--process-content-width);
  margin-inline: auto;
  text-align: left;
  padding: clamp(1.5rem, 4vw, 2.75rem) 0 0;
}

/* The Incinq Process — below cars; reuses .firm-means__card / __icon / __text */
.process-section {
  padding: 4rem 0;
  color: var(--ink);
  background-color: var(--process-cream-wash);
}

.process-inner {
  width: var(--process-content-width);
  margin-inline: auto;
}

.process-header {
  text-align: left;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.process-title {
  margin: 0 0 -1rem 0;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #2a2d32;
}

.process-title .highlight {
  background: var(--highlight);
  font-weight: 900;
}

.process-subtitle {
  font-size: clamp(0.98rem, 1.75vw, 1.28rem);
  font-weight: 800;
  color: #2a2d32;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.45rem, 1.2vw, 1.2rem);
}

.process-section .process-card.firm-means__card {
  align-items: center;
  text-align: left;
  border: 1px solid rgba(122, 107, 56, 0.28);
  box-shadow: 0 10px 28px rgba(15, 12, 8, 0.12);
}

.process-card__heading {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 2.1vw, 1.35rem);
  line-height: 1.15;
  font-weight: 700;
}

.process-card__heading .italic {
  font-weight: 400;
  color: var(--golden-text-color);
}

.process-card__heading-strong {
  font-weight: 800;
  color: var(--golden-text-color);
}

.process-section .process-card .firm-means__text {
  padding-left: 6px;
  padding-right: 6px;
  font-size: clamp(0.78rem, 1.35vw, 1.05rem);
  color: var(--golden-text-color);
}

.process-section .process-card .firm-means__icon {
  align-self: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(0.75rem, 2vw, 1.1rem);
}

.process-character-wrap {
  background-color: var(--process-cream-wash);
  padding: 0 0 3rem;
}

.process-character-inner {
  width: min(1100px, 93vw);
  margin-inline: auto;
  padding: 4rem 2rem 0;
  display: flex;
  justify-content: flex-start;
}

.stairs2-character-group--left {
  align-items: flex-start;
}

.stairs2-dialog--right {
  margin: 0 0 0 clamp(1.85rem, 5.8vw, 3.5rem);
  padding: clamp(0.95rem, 2.3vw, 1.35rem) clamp(1.3rem, 3vw, 1.9rem);
  border-radius: 1.25rem;
  background: #006f81;
  color: #ffffff;
}

.stairs2-dialog--right::after {
  left: clamp(1.1rem, 3.2vw, 1.9rem);
  right: auto;
  top: auto;
  bottom: -18px;
  width: clamp(42px, 6.4vw, 62px);
  height: clamp(18px, 2.8vw, 26px);
  background: #006f81;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.standard-wrap--team {
  margin-top: 24rem;
  background: var(--process-cream-wash);
}

.standard-wrap-2 {
  margin-top: 28rem;
}

.standard--team {
  background: var(--dark-teal);
}

.standard--team .standard-inner {
  min-height: clamp(8.5rem, 14vw, 12rem);
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.standard--team h3 {
  transform: translateY(-3.2rem);
  padding-right: 0.8rem;
}

.standard-inner-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.standard-inner-2 .italic {
  color: var(--dark-teal);
}

.team-calendly {
  width: min(1100px, 92vw);
  max-width: 1100px;
  margin: 1rem auto 8rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  background: var(--dark-teal);
}

.team-calendly iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 0;
}

@media (max-width: 860px) {
  .process-character-inner {
    padding: 0 clamp(1rem, 3vw, 1.25rem) 2rem;
  }

  .stairs2-dialog--right {
    margin: 0 0 0 clamp(1.4rem, 5.5vw, 2.5rem);
  }

  .standard--team h3 {
    transform: translateY(-1.2rem);
  }
}

@media (max-width: 1000px) {
  .standard-wrap-2 {
    margin-top: 14.5rem;
  }
}

@media (max-width: 500px) {
  .hero-row {
    margin-top: 4.5rem;
  }
  .standard-wrap-2 {
    margin-top: 8.5rem;
  }
  .team-calendly {
    width: 95vw;
    min-width: 95vw;
    max-width: 95vw;
  }
  .team-calendly iframe {
    min-height: 640px;
  }
}
