/* ---- Design tokens ---- */

:root {
  --ink: #202c37;
  --muted: #66717b;
  --violet: #343995;
  --orange: #f29222;
  --sage: #a3aa9d;
  --cream: #f7f7f3;
  --white: #fff;
  --line: #e3e5e1;
  --lavender: #f0f0fa;
  --navy: #252b57;
}

/* ---- Base ---- */

* {
  box-sizing: border-box;
}

html {
  font-size: 120%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.25rem;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4 {
  font-family: Manrope, 'DM Sans', sans-serif;
}

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

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

/* ---- Layout ---- */

.container {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

/* ---- Shared components: labels and buttons ---- */

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--violet);
  display: block;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5625rem;
  padding: 0.5625rem 0.8125rem;
  border: 1px solid #e4e0d6;
  border-radius: 100px;
  font-size: 0.75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  color: #545e66;
  background: #fff;
}

.pill:before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.btn {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-radius: 100px;
  padding: 0.875rem 1.375rem;
  background: var(--violet);
  color: #fff;
  font-weight: 750;
  font-size: 0.8125rem;
  line-height: 1.3;
  transition: transform .2s, background .2s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  background: #252b79;
}

.btn.secondary {
  background: transparent;
  border-color: #c9ccd0;
  color: var(--ink);
}

.btn.secondary:hover {
  background: #fff;
}

.btn.orange {
  background: var(--orange);
  color: #24283b;
}

.btn.orange:hover {
  background: #e5a044;
}

.arrow {
  font-size: 1.125rem;
  font-weight: 400;
}

/* ---- Header and navigation ---- */

.topline {
  height: 5px;
  background: linear-gradient(90deg, var(--violet) 0% 49%, var(--orange) 49% 75%, var(--sage) 75%);
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 243, .96);
  border-bottom: 1px solid rgba(224, 226, 220, .9);
  backdrop-filter: blur(15px);
}

.navrow {
  min-height: 87px;
  display: flex;
  align-items: center;
  gap: 0.75rem 1.625rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
}

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

.navlinks {
  display: flex;
  align-items: center;
  gap: 1.8125rem;
  margin-left: auto;
}

.navlinks a {
  font-size: 0.75rem;
  font-weight: 750;
  color: #48535c;
  transition: color .2s;
}

.navlinks a:hover {
  color: var(--violet);
}

.navrow .btn {
  padding: 0.75rem 1.25rem;
  font-size: 0.75rem;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.4375rem;
  color: var(--violet);
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 0 3.2rem;
  background: linear-gradient(145deg, #f9faf7 5%, #f5f4ef 80%);
}

.hero:before {
  content: '';
  position: absolute;
  top: -300px;
  right: -100px;
  width: 850px;
  height: 850px;
  border: 1px solid #e6e6df;
  border-radius: 50%;
  pointer-events: none;
}

.hero:after {
  content: '';
  position: absolute;
  top: -190px;
  right: 40px;
  width: 650px;
  height: 650px;
  border: 1px solid #e9e8e1;
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.hero-copy {
  padding: 1.75rem 0 1.875rem;
}

.hero h1 {
  margin: 1.625rem 0 1.25rem;
  font-size: clamp(2.75rem, 5vw, 4.625rem);
  line-height: 1.075;
  letter-spacing: -.065em;
  font-weight: 800;
  max-width: 40.625rem;
  color: #263039;
}

.hero h1 .orange {
  color: var(--orange);
}

.hero h1 .purple {
  color: var(--violet);
}

.hero-kicker {
  max-width: 31.875rem;
  font-weight: 750;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: #39424e;
  margin-bottom: 0.8125rem;
}

.hero-body {
  max-width: 30.625rem;
  color: #63707a;
  font-size: 0.9375rem;
  line-height: 1.84;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  gap: 0.6875rem;
  flex-wrap: wrap;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 2.25rem;
  color: #718087;
  font-size: 0.75rem;
  font-weight: 600;
}

.hero-note:before {
  content: '';
  width: 28px;
  height: 1px;
  background: #b5b9b6;
}

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

.cube-side {
  /* Cube geometry. A turning cube can reach about 1.79x its own size, which is
     well past its box, so the swing below is the extra room kept clear of text. */
  --cube-size: 288px;
  --stage-width: 355px;
  --stage-height: 355px;
  --cube-swing: calc((var(--cube-size) * 1.79 - var(--stage-height)) / 2);
  position: relative;
  min-height: 570px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cube-backdrop {
  position: absolute;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(52, 57, 149, .11) 0%, rgba(243, 146, 34, .055) 41%, transparent 70%);
  pointer-events: none;
}

.orbit {
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px dashed rgba(78, 83, 117, .18);
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
}

.cube-stage {
  perspective: 1000px;
  position: relative;
  width: var(--stage-width);
  height: var(--stage-height);
  display: grid;
  place-items: center;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.cube-stage:active {
  cursor: grabbing;
}

.cube {
  width: var(--cube-size);
  height: var(--cube-size);
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-20deg) rotateY(-28deg);
  transition: transform 850ms cubic-bezier(.19, 1, .22, 1);
}

.cube.dragging {
  transition: none;
}

.face {
  position: absolute;
  inset: 0;
  border: 5px solid rgba(255, 255, 255, .94);
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 7px 24px rgba(23, 27, 69, .09);
  background: #b0b0aa;
  backface-visibility: hidden;
}

.face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.face:after {
  content: '';
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(10, 17, 35, .82));
  pointer-events: none;
}

.face span {
  position: absolute;
  bottom: 19px;
  left: 18px;
  right: 10px;
  color: #fff;
  font-weight: 800;
  font-family: Manrope, sans-serif;
  font-size: 1.1875rem;
  letter-spacing: -.02em;
  z-index: 1;
}

.face-front {
  transform: translateZ(calc(var(--cube-size) / 2));
}

.face-right {
  transform: rotateY(90deg) translateZ(calc(var(--cube-size) / 2));
}

.face-back {
  transform: rotateY(180deg) translateZ(calc(var(--cube-size) / 2));
}

.face-left {
  transform: rotateY(-90deg) translateZ(calc(var(--cube-size) / 2));
}

.face-top {
  transform: rotateX(90deg) translateZ(calc(var(--cube-size) / 2));
}

.face-bottom {
  transform: rotateX(-90deg) translateZ(calc(var(--cube-size) / 2));
}

.cube-shadow {
  position: absolute;
  bottom: 0.5rem;
  width: calc(var(--cube-size) * 0.8);
  height: 30px;
  border-radius: 50%;
  background: #2023422b;
  filter: blur(16px);
  pointer-events: none;
}

.cube-instruction {
  margin-top: calc(var(--cube-swing) + 1rem);
  margin-bottom: 0.75rem;
  font-size: 0.6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
  color: #8a9195;
}

.cube-controls {
  display: flex;
  flex-wrap: wrap;
  max-width: min(36rem, 100%);
  gap: 0.375rem;
  justify-content: center;
  padding: 0 0.75rem;
  position: relative;
  z-index: 2;
}

.cube-controls button {
  cursor: pointer;
  background: #fff;
  border: 1px solid #e0e1df;
  padding: 0.5625rem 0.7rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 750;
  color: #647078;
  transition: background .2s, border-color .2s, color .2s;
}

.cube-controls button:hover,
.cube-controls button.active {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
}

.cube-play {
  border: none !important;
  background: transparent !important;
  color: #747d87 !important;
  text-decoration: underline;
  font-size: 0.75rem !important;
  margin-top: 0.3125rem;
}

/* ---- Brand strip ---- */

.strip {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.strip-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr 1fr;
  align-items: center;
  min-height: 112px;
}

.strip-lead {
  font: 800 17px/1.42 Manrope, sans-serif;
  letter-spacing: -.03em;
  max-width: 12.8125rem;
}

.strip-item {
  border-left: 1px solid var(--line);
  padding: 0.625rem 1.625rem;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #444d59;
}

.strip-item b {
  font-size: 1.5rem;
  color: var(--orange);
  font-weight: 600;
}

/* ---- Section layout ---- */

.section {
  padding: 4.125rem 0;
}

.section-heading {
  max-width: 42.5rem;
  margin-bottom: 1.65rem;
}

.section-heading h2 {
  font-size: clamp(2.125rem, 3.6vw, 3.125rem);
  line-height: 1.18;
  letter-spacing: -.05em;
  margin: 0.75rem 0 0.9375rem;
  color: #27313a;
}

.section-heading p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* ---- Audience path cards ---- */

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.0625rem;
}

.path-card {
  background: #fff;
  border: 1px solid #e4e5e1;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}

.path-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px #242b3c12;
}

.path-photo {
  height: 190px;
  overflow: hidden;
  position: relative;
  background: #dbddd8;
}

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

.path-photo:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #121d322b, transparent);
}

.path-content {
  padding: 1.8125rem 1.6875rem 1.6875rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.path-index {
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.path-content h3 {
  font-size: 1.4375rem;
  letter-spacing: -.035em;
  margin: 0.75rem 0;
}

.path-content p {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.375rem;
}

/* The look sits on the link and, because the editor rebuilds a link (and drops its class) when its
   address is edited, also on any link inside a paragraph that carries one of the marker classes. */
.text-link,
p.text-link-row > a,
p.leader-link-row > a,
p.link-arrow > a {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--violet);
  display: inline-flex;
  gap: 0.625rem;
  align-items: center;
}

/* ---- The Team MindShift Way ---- */

.approach {
  background: #efefe9;
}

.approach-grid {
  display: grid;
  grid-template-columns: .87fr 1.13fr;
  gap: 5rem;
  align-items: center;
}

.approach h2 {
  font-size: clamp(2.1875rem, 4vw, 3.375rem);
  line-height: 1.13;
  letter-spacing: -.06em;
  margin: 0.9375rem 0 1.375rem;
}

.approach h2 em {
  color: var(--violet);
  font-style: normal;
}

.approach .intro {
  color: #657078;
  line-height: 1.8;
  font-size: 0.9375rem;
  max-width: 26.875rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8125rem;
}

.pillar {
  border: 1px solid #ddded9;
  background: #fff;
  padding: 1.6875rem;
  border-radius: 13px;
  min-height: 166px;
}

.pillar .symbol {
  width: 35px;
  height: 35px;
  background: #eeeef9;
  color: var(--violet);
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 1.1875rem;
  margin-bottom: 1.125rem;
}

.pillar h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.pillar p {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.7;
  margin: 0;
}

/* ---- MindShift 360 ---- */

.mind360 {
  background: #292f66;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.mind360:after {
  content: '';
  position: absolute;
  width: 640px;
  height: 640px;
  border: 1px solid #ffffff22;
  border-radius: 50%;
  right: -180px;
  top: -240px;
  box-shadow: 0 0 0 80px #ffffff06, 0 0 0 160px #ffffff04;
}

.mind-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 5.9375rem;
  position: relative;
  z-index: 1;
}

.mind360 .eyebrow {
  color: #ffc07e;
}

.mind360 h2 {
  font-size: clamp(2.25rem, 4vw, 3.375rem);
  line-height: 1.16;
  letter-spacing: -.05em;
  margin: 1rem 0 1.125rem;
}

.mind360 p {
  color: #d9dcef;
  line-height: 1.8;
  font-size: 0.9375rem;
}

.mind-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.mind-tag {
  background: #ffffff0d;
  border: 1px solid #ffffff2b;
  border-radius: 12px;
  padding: 1.4375rem 1.3125rem;
  min-height: 115px;
}

.mind-tag .number {
  color: #ffad52;
  font-size: 0.75rem;
  display: block;
  margin-bottom: 0.9375rem;
}

.mind-tag strong {
  font-size: 0.875rem;
  line-height: 1.45;
  display: block;
}

.offer-section {
  background: #fff;
}

/* ---- Program offer cards ---- */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}

.offer {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  border: 1px solid #e8e8e3;
  padding: 1.8125rem 1.625rem;
  border-radius: 12px;
  background: #fbfbf8;
}

.offer .count {
  color: var(--orange);
  font-size: 0.8125rem;
  font-weight: 900;
}

.offer h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5625rem;
  letter-spacing: -.025em;
}

.offer p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ---- IT pathway spotlight ---- */

.spotlight {
  background: #f8f0e5;
  border-top: 1px solid #efe3d3;
  border-bottom: 1px solid #efe3d3;
}

.spot-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 5rem;
  align-items: center;
}

.spotlight h2 {
  font-size: clamp(2.1875rem, 4vw, 3.25rem);
  letter-spacing: -.05em;
  line-height: 1.13;
  margin: 0.9375rem 0 1.1875rem;
}

.spotlight p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #677078;
}

.spot-graphic {
  background: #fff;
  border: 1px solid #e9e0d4;
  padding: 2.0625rem;
  border-radius: 18px;
  box-shadow: 0 25px 60px #65542b0b;
}

.journey-step {
  display: flex;
  align-items: center;
  gap: 0.9375rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e9e9e3;
  font-weight: 750;
  font-size: 0.875rem;
}

.journey-step:last-child {
  border: 0;
}

.journey-step .journey-number {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f4eee8;
  color: #bc752a;
  font-size: 0.75rem;
}

/* ---- Partners ---- */

.partners {
  background: #fff;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9375rem;
}

.partner-card {
  border-top: 3px solid var(--orange);
  background: #f7f7f3;
  padding: 1.8125rem 1.5625rem;
  border-radius: 0 0 11px 11px;
}

.partner-card h3 {
  font-size: 1.25rem;
  letter-spacing: -.035em;
  margin-bottom: 0.75rem;
}

.partner-card p {
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

/* ---- Founders ---- */

.leadership {
  background: #efefe9;
}

.leaders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.leader {
  padding: 2.125rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e4e5e0;
}

.leader span {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 800;
  color: var(--orange);
}

.leader h3 {
  font-size: 1.5rem;
  margin: 0.625rem 0 0.75rem;
}

.leader p {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

.leader-header {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  margin-bottom: 1.25rem;
}

.leader-header h3 {
  margin-bottom: 0;
}

.leader-link,
p.leader-link-row > a {
  margin-top: 1.125rem;
}

.leader-photo {
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 0 0 4px var(--lavender);
}

/* ---- Closing call to action ---- */

.closing {
  padding: 3.4375rem 0;
  background: #292f66;
  color: white;
}

.closing-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.8125rem;
  align-items: center;
  justify-content: space-between;
}

.closing h2 {
  font-size: clamp(2.125rem, 4vw, 3.25rem);
  line-height: 1.17;
  letter-spacing: -.05em;
  margin: 0 0 0.75rem;
}

.closing p {
  font-size: 0.875rem;
  color: #dadef0;
  line-height: 1.7;
  max-width: 35.625rem;
  margin: 0;
}

.closing .btn {
  flex: none;
}

/* ---- Footer ---- */

footer {
  padding: 2.1875rem 0;
  background: #f7f7f3;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5625rem;
}

footer img {
  width: 170px;
  height: auto;
}

footer p {
  font-size: 0.75rem;
  color: #7b8589;
  line-height: 1.5;
  margin: 0.5rem 0 0;
}

.footer-right {
  text-align: right;
  font-size: 0.75rem;
  color: #737b82;
}

.footer-right a {
  color: var(--violet);
  font-weight: 800;
}

/* ---- Responsive: tablet ---- */

@media (max-width: 1040px) {
  .navlinks {
    gap: 1.0625rem;
  }

  .navlinks a {
    font-size: 0.75rem;
  }

  .logo img {
    width: 190px;
  }

  .cube-side {
    --stage-width: 320px;
    --stage-height: 320px;
    min-height: 550px;
  }

  .hero h1 {
    font-size: 3.4375rem;
  }

  .approach-grid,
  .mind-grid,
  .spot-grid {
    gap: 2.75rem;
  }

  .strip-item {
    padding-inline: 0.875rem;
  }
}

/* ---- Responsive: phone ---- */

@media (max-width: 780px) {
  .container {
    width: min(100% - 36px, 620px);
  }

  .navrow {
    min-height: 76px;
  }

  .logo img {
    width: 175px;
  }

  .navlinks {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    padding: 1.375rem;
    background: var(--cream);
    box-shadow: 0 12px 20px #202c371b;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .navlinks.open {
    display: flex;
  }

  .menu-btn {
    display: block;
    margin-left: auto;
  }

  .navrow>.btn {
    display: none;
  }

  .hero {
    padding: 2.0625rem 0 2.3rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy {
    padding: 0.75rem 0 0.625rem;
  }

  .hero h1 {
    font-size: clamp(2.8125rem, 10vw, 4.0625rem);
  }

  .hero-kicker {
    font-size: 1rem;
  }

  .hero-body {
    font-size: 0.875rem;
  }

  .cube-side {
    --stage-width: 330px;
    --stage-height: 330px;
    min-height: 520px;
  }

  /* Stacked layout: keep the swinging cube clear of the hero text above it. */
  .cube-stage {
    margin-top: calc(var(--cube-swing) + 0.25rem);
  }

  .strip-inner {
    grid-template-columns: repeat(2, 1fr);
    padding-block: 1.4375rem;
    gap: 0.625rem;
  }

  .strip-lead {
    max-width: none;
    font-size: 0.9375rem;
  }

  .strip-item {
    border-left: none;
    padding: 0.5625rem 0;
    min-height: 0;
    font-size: 0.75rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-heading {
    margin-bottom: 1.375rem;
  }

  .path-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .path-card {
    display: grid;
    grid-template-columns: 38% 62%;
    min-height: 185px;
  }

  .path-photo {
    height: 100%;
  }

  .path-content {
    padding: 1.25rem;
  }

  .path-content h3 {
    font-size: 1.1875rem;
  }

  .path-content p {
    font-size: 0.75rem;
  }

  .approach-grid,
  .mind-grid,
  .spot-grid {
    grid-template-columns: 1fr;
    gap: 1.6875rem;
  }

  .offer-grid,
  .leaders-grid {
    grid-template-columns: 1fr;
  }

  .closing-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5625rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    text-align: left;
  }
}

/* ---- Responsive: small phone ---- */

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.875rem;
  }

  .hero .pill {
    font-size: 0.5625rem;
  }

  .cube-side {
    --cube-size: 240px;
    --stage-width: 280px;
    --stage-height: 300px;
    min-height: 470px;
  }

  .face span {
    font-size: 1rem;
  }

  .orbit {
    width: 330px;
    height: 330px;
  }

  .cube-backdrop {
    width: 350px;
    height: 350px;
  }

  .cube-controls {
    gap: 0.375rem;
  }

  .cube-controls button {
    font-size: 0.6875rem;
    padding: 0.5rem 0.5625rem;
  }

  .strip-inner {
    grid-template-columns: 1fr 1fr;
  }

  .strip-lead {
    font-size: 0.8125rem;
  }

  .strip-item {
    font-size: 0.75rem;
  }

  .pillar {
    padding: 1.125rem;
    min-height: 170px;
  }

  .pillar h3 {
    font-size: 0.875rem;
  }

  .path-card {
    grid-template-columns: 1fr;
  }

  .path-photo {
    height: 160px;
  }

  .path-content {
    padding: 1.4375rem;
  }

  .mind-tags {
    gap: 0.5625rem;
  }

  .mind-tag {
    padding: 1.125rem 0.875rem;
  }

  .mind-tag strong {
    font-size: 0.75rem;
  }

  .leader {
    padding: 1.625rem;
  }
}

/* ---- Accessibility: reduced motion ---- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *:before,
  *:after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ---- Expandable offer cards ---- */

.offer-trigger {
  width: 100%;
  font-family: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: border-color .2s, box-shadow .2s, background .2s;
  align-items: flex-start;
}

.offer-trigger:hover,
.offer-trigger.active {
  border-color: #b4b6dc;
  background: #fff;
  box-shadow: 0 10px 26px #34399510;
}

.offer-trigger .offer-copy {
  flex: 1;
  display: block;
}

.offer-title {
  display: block;
  font-family: Manrope, 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -.025em;
  line-height: 1.35;
  margin: 0 0 0.5625rem;
}

.offer-description {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted);
}

.offer-plus {
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  height: 27px;
  border: 1px solid #dedfdc;
  border-radius: 50%;
  font-size: 1.1875rem;
  color: var(--violet);
  line-height: 1;
  transition: transform .2s, background .2s;
}

.offer-trigger.active .offer-plus {
  transform: rotate(45deg);
  background: var(--lavender);
}

.offer-details {
  margin-top: 1.125rem;
  padding: 2.125rem;
  background: #fff;
  border: 1px solid #dfe0ed;
  border-radius: 16px;
  box-shadow: 0 16px 45px #3439950c;
  animation: offerReveal .22s ease-out;
}

.offer-details[hidden],
.offer-detail-view[hidden] {
  display: none !important;
}

.offer-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.offer-detail-head h3 {
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  letter-spacing: -.035em;
  margin: 0.5rem 0 0.625rem;
}

.offer-detail-head p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 45rem;
}

.offer-close {
  border: 1px solid var(--line);
  border-radius: 50px;
  background: var(--cream);
  padding: 0.5625rem 0.875rem;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.offer-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9375rem;
  margin: 1.125rem 0;
}

.offer-detail-item {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfbf9;
}

.offer-detail-item h4 {
  font-size: 0.9375rem;
  margin: 0 0 0.5rem;
}

.offer-detail-item p {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.offer-detail-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 1rem 0;
}

.offer-details .btn {
  margin-top: 0.3125rem;
}

@keyframes offerReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 650px) {
  .offer-details {
    padding: 1.375rem;
  }

  .offer-detail-list {
    grid-template-columns: 1fr;
  }

  .offer-detail-head {
    flex-direction: column;
    gap: 0.5rem;
  }

  .offer-trigger {
    padding: 1.4375rem 1.1875rem;
  }

  .offer-title {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-details {
    animation: none;
  }

  .offer-plus,
  .offer-trigger {
    transition: none;
  }
}

/* ---- Navigation: current page ---- */

.navlinks a.current {
  color: var(--violet);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.5rem;
}

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

.proof {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.65rem 0;
}

.proof-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  text-align: center;
}

.proof-item b {
  display: block;
  font: 800 clamp(38px, 4.4vw, 56px)/1 Manrope, sans-serif;
  letter-spacing: -.05em;
  color: var(--orange);
}

.proof-item span {
  display: block;
  margin-top: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #444d59;
}

.proof-note {
  margin: 1.625rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #889098;
}

/* ---- Inner page hero ---- */

.page-hero {
  padding: 3.2rem 0 2.5rem;
  background: linear-gradient(145deg, #f9faf7 5%, #f5f4ef 80%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.375rem, 4.6vw, 3.875rem);
  line-height: 1.1;
  letter-spacing: -.055em;
  font-weight: 800;
  margin: 0.875rem 0 1rem;
  color: #263039;
  max-width: 47.5rem;
}

.page-hero p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 38.75rem;
  margin: 0;
}

/* ---- Prose content (Terms, Privacy) ---- */

.prose {
  max-width: 47.5rem;
  margin-inline: auto;
}

.prose h2 {
  font-size: 1.75rem;
  letter-spacing: -.04em;
  margin: 2.375rem 0 0.75rem;
}

.prose h3 {
  font-size: 1.25rem;
  margin: 1.75rem 0 0.625rem;
}

.prose p,
.prose li {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: #4f5a64;
}

.prose a {
  color: var(--violet);
  font-weight: 700;
  text-decoration: underline;
}

/* ---- Call-to-action row ---- */

.cta-row {
  display: flex;
  gap: 0.6875rem;
  flex-wrap: wrap;
  margin-top: 1.875rem;
}

/* ---- Contact form ---- */

.tms-form {
  max-width: 42.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.125rem;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: .04em;
  margin-bottom: 0.5rem;
  color: #39424e;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font: inherit;
  font-size: 0.875rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid #d9dcd7;
  border-radius: 10px;
  padding: 0.8125rem 0.875rem;
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 3px solid var(--orange);
  outline-offset: 1px;
}

.form-consent {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.form-consent a {
  color: var(--violet);
  font-weight: 700;
  text-decoration: underline;
}

/* ---- Footer links ---- */

.footer-links {
  display: flex;
  gap: 1.125rem;
  justify-content: flex-end;
  margin: 0;
  font-size: 0.75rem;
}

.footer-links a {
  color: var(--violet);
  font-weight: 800;
}

.placeholder-box {
  padding: 2.125rem;
  border: 1px dashed #c9ccd0;
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

@media (max-width: 780px) {
  .proof-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .page-hero {
    padding: 2.0625rem 0 1.85rem;
  }

  .tms-form {
    padding: 1.5rem;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* ---- Cube: photos must not start a native image drag, so a drag always rotates the cube ---- */

.face img,
.face span {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.cube-stage img {
  -webkit-user-drag: none;
}

/* ---- Spacing and text helpers (replace former inline styles) ---- */

.closing .eyebrow {
  color: #ffbd7b;
  margin-bottom: 1.0625rem;
}

.mind360 .text-link,
.mind360 p.link-arrow > a {
  color: #ffc07e;
}

.section-action {
  margin-top: 1.875rem;
}

.partner-experience {
  margin-top: 2.125rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}

.spot-graphic .graphic-note {
  margin: 0.875rem 0 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #889098;
}

/* ---- Accessibility: skip link (visible only when focused with the keyboard) ---- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--violet);
  border-radius: 8px;
}

.skip-link:focus {
  left: 0.5rem;
}

/* ---- Contact form: styles the Formidable Forms output to match the site ---- */

.contact-form {
  max-width: 42.5rem;
}

.contact-form .frm_forms {
  padding: 2.125rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.contact-form .frm_primary_label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #39424e;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.8125rem 0.875rem;
  font: inherit;
  font-size: 0.875rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid #d9dcd7;
  border-radius: 10px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid var(--orange);
  outline-offset: 1px;
}

.contact-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-form .frm_form_field {
  margin-bottom: 1.25rem;
}

.contact-form .frm_button_submit,
.contact-form button[type="submit"] {
  padding: 0.875rem 1.375rem;
  font-size: 0.8125rem;
  font-weight: 750;
  color: #fff;
  background: var(--violet);
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
}

.contact-form .frm_error {
  color: #b3261e;
  font-size: 0.8125rem;
}

@media (max-width: 780px) {
  .contact-form .frm_forms {
    padding: 1.5rem;
  }
}


/* ---- Cube: short statement under the cube ---- */

.cube-caption {
  min-height: 3.4em;
  max-width: 26rem;
  margin: calc(var(--cube-swing) + 0.5rem) auto 0; /* clearance for the tilted top and bottom faces */
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #48535c;
  transition: opacity .22s;
}

.cube-caption.swap {
  opacity: 0;
}

.cube-caption + .cube-instruction {
  margin-top: 1rem;
}

/* a short hairline between the statement and the chooser */
.cube-caption + .cube-instruction:before {
  content: '';
  display: block;
  width: 3rem;
  height: 1px;
  margin: 0 auto 1.1rem;
  background: #cfd2cd;
}

@media (prefers-reduced-motion: reduce) {
  .cube-caption {
    transition: none;
  }
}
