.page {
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  padding-bottom: 4rem;
  box-sizing: border-box;
}

.hero {
  position: relative;
  min-height: min(62svh, 30rem);
  display: grid;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.heroMedia {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.heroImage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform-origin: center center;
  will-change: transform;
  animation: pan-slow 18s ease-in-out alternate infinite;
}

.heroShade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(7, 17, 31, 0.92) 10%,
      rgba(7, 17, 31, 0.6) 55%,
      rgba(7, 17, 31, 0.38) 100%
    ),
    linear-gradient(to top, rgba(7, 17, 31, 0.85), transparent 50%);
}

.heroContent {
  position: relative;
  z-index: 2;
  padding: 5rem 0 3rem;
  animation: rise-in 0.65s ease both;
}

.heroCopy {
  max-width: 42rem;
}

.eyebrow,
.sectionEyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.eyebrow {
  color: var(--gold-400);
}

.sectionEyebrow {
  color: var(--gold-600);
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
}

.lead {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  max-width: none;
}

.section {
  padding: 4rem 0 1rem;
}

.sectionHead {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.sectionHead h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: var(--navy-900);
  margin-bottom: 0.75rem;
}

.sectionLead {
  color: var(--ink-700);
  line-height: 1.7;
}

.formSectionHead {
  max-width: none;
}

.sectionLeadSingle {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .sectionLeadSingle {
    white-space: normal;
  }
}

.pillarGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.pillar {
  padding: 1.5rem 1.4rem 1.35rem;
  border: 1px solid transparent;
  border-top: 2px solid var(--navy-900);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.35));
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.pillar:hover {
  border-color: var(--navy-800);
  border-top-color: var(--navy-900);
  box-shadow: 0 10px 28px rgba(7, 17, 31, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7));
}

.pillar h3 {
  font-size: 1.2rem;
  color: var(--navy-900);
  margin-bottom: 0.55rem;
}

.pillar > p {
  color: var(--ink-700);
  font-size: 0.96rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.pillar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.pillar li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--ink-700);
  font-size: 0.92rem;
}

.pillar li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--navy-800);
  font-weight: 700;
}

.protectNote {
  margin-top: 1.75rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--gold-500);
  background: rgba(196, 154, 60, 0.08);
  color: var(--navy-900);
  font-weight: 600;
  line-height: 1.6;
}

.philosophy {
  margin-top: 3rem;
  padding: 3.5rem 0;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(18, 48, 85, 0.94)),
    var(--navy-900);
  color: var(--white);
}

.philosophyInner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2.5rem;
  align-items: center;
}

.philosophyFigure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--navy-800);
}

.purchasePanel .enrollBtn {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.1rem;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.purchasePanel .enrollBtn:hover {
  background: var(--navy-800);
}

.philosophyImage,
.figureImage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mentoringImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.philosophyCopy {
  max-width: 36rem;
}

.philosophy .sectionEyebrow {
  color: var(--gold-400);
}

.philosophy h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 1rem;
}

.philosophy p {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.75;
}

.philosophyAccent {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 1.05rem;
}

.levelGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.levelCard {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.levelCard strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy-900);
}

.levelCard span {
  font-size: 0.88rem;
  color: var(--ink-500);
  line-height: 1.45;
}

.processSection {
  margin-top: 2.5rem;
  background: linear-gradient(180deg, rgba(239, 235, 227, 0.7), transparent);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem;
  align-items: stretch;
}

.step {
  position: relative;
  padding: 1.35rem 1.2rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 1;
  transform: translate(calc(100% + 0.55rem), -50%);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-600);
  pointer-events: none;
}

.stepNo {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--gold-600);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.step h3 {
  font-size: 1.15rem;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--ink-700);
  font-size: 0.95rem;
  line-height: 1.6;
}

.formSection {
  padding-top: 3.5rem;
}

.form {
  display: grid;
  gap: 1.15rem;
  padding: 1.75rem 1.5rem 1.6rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.formGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field span,
.fieldset legend {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
}

.field:has(:required) span::after,
.fieldset:has(:required) legend::after {
  content: " *";
  color: #b42318;
}

.full {
  grid-column: 1 / -1;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--navy-900);
  font: inherit;
  resize: vertical;
}

.field textarea {
  min-height: 5.5rem;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(201, 162, 39, 0.4);
  outline-offset: 1px;
  border-color: var(--gold-500);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b42318;
  background: rgba(180, 40, 40, 0.04);
}

.fieldset.groupInvalid legend {
  color: #8a1f1f;
}

.fieldset.groupInvalid .chips,
.fieldset.groupInvalid .radioRow {
  outline: 1px solid rgba(180, 40, 40, 0.35);
  outline-offset: 4px;
  border-radius: 8px;
}

.fieldset {
  margin: 0;
  padding: 0;
  border: none;
  display: grid;
  gap: 0.65rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 0.9rem;
  color: var(--ink-700);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chipActive {
  border-color: var(--navy-800);
  background: rgba(11, 28, 51, 0.06);
  color: var(--navy-900);
  font-weight: 600;
}

.radioRow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.radio {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-700);
  font-size: 0.95rem;
  cursor: pointer;
}

.radio input {
  accent-color: var(--navy-900);
}

.field input:read-only,
.field input.fieldLocked {
  background: rgba(11, 28, 51, 0.045);
  color: var(--ink-700);
  cursor: default;
}

.formNote {
  font-size: 0.88rem;
  color: var(--ink-500);
  line-height: 1.6;
}

.formError {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(180, 40, 40, 0.25);
  background: rgba(180, 40, 40, 0.06);
  color: #8a1f1f;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-line;
}

.submit,
.resetBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.submit:hover,
.resetBtn:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
}

.submit:disabled {
  opacity: 0.85;
  cursor: wait;
  transform: none;
}

.submitBusy {
  pointer-events: none;
}

.submitStatus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.submitSpinner {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: #fff;
  border-radius: 50%;
  animation: contact-spin 0.75s linear infinite;
}

.submitDots {
  display: inline-flex;
  width: 1.1em;
  margin-left: 0.05em;
}

.submitDots span {
  opacity: 0.25;
  animation: contact-dot 1.2s ease-in-out infinite;
}

.submitDots span:nth-child(2) {
  animation-delay: 0.2s;
}

.submitDots span:nth-child(3) {
  animation-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  .submitSpinner {
    animation: none;
    border-top-color: rgba(255, 255, 255, 0.7);
  }

  .submitDots span {
    animation: none;
    opacity: 0.8;
  }
}

.success {
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.success:has(.successMark) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem 2.25rem;
}

.successCopy {
  min-width: 0;
}

.successMark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

.successMark svg {
  width: 6.5rem;
  height: 6.5rem;
  display: block;
}

.successIconCircle {
  fill: none;
  stroke: var(--navy-900);
  stroke-width: 3.25;
}

.successIconCheck {
  fill: none;
  stroke: var(--gold-500);
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success h3 {
  font-size: 1.35rem;
  color: var(--navy-900);
  margin-bottom: 0.65rem;
}

.success p {
  color: var(--ink-700);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: none;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.loginGate p {
  max-width: none;
}

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

  .philosophyInner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .philosophyFigure {
    aspect-ratio: 16 / 10;
  }

  .step:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: auto;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, calc(100% + 0.35rem));
  }

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

@media (max-width: 640px) {
  .formGrid,
  .levelGrid {
    grid-template-columns: 1fr;
  }

  .form {
    padding: 1.25rem 1rem 1.2rem;
  }

  .successMark svg {
    width: 4.5rem;
    height: 4.5rem;
  }
}

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

@keyframes contact-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes contact-dot {
  0%,
  80%,
  100% {
    opacity: 0.2;
  }
  40% {
    opacity: 1;
  }
}

@keyframes pan-slow {
  from {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}
