/* src/styles/koshys-theme.css */
/* Koshys theme — Instatic (generated from source cascade) */
/* ==========================================================================
   Components
   ========================================================================== */

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  white-space: nowrap;
  border: 0;
  border-radius: var(--radius-full);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body-sm);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--transition-base) var(--ease-premium),
    color var(--transition-base) var(--ease-premium),
    border-color var(--transition-base) var(--ease-premium),
    transform var(--transition-base) var(--ease-premium),
    box-shadow var(--transition-base) var(--ease-premium);
}

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

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  padding: 0.9rem 1.55rem;
  box-shadow: var(--shadow-button);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--color-primary-hover);
  box-shadow: var(--shadow-button-hover);
}

.btn--secondary {
  background-color: var(--color-surface);
  color: var(--color-text-primary);
  padding: 0.9rem 1.55rem;
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-inverse);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  padding: calc(0.9rem - 1.5px) calc(1.55rem - 1.5px);
}

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

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  padding: calc(0.85rem - 1.5px) calc(1.4rem - 1.5px);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.btn--dark {
  background: var(--color-surface-dark);
  color: var(--color-text-inverse);
  padding: 0.9rem 1.55rem;
}

.btn--dark:hover,
.btn--dark:focus-visible {
  background: var(--color-chrome);
}

.btn--light {
  background: var(--color-surface);
  color: var(--color-primary-deep);
  padding: 0.95rem 1.75rem;
  width: 100%;
  font-size: var(--fs-body);
}

.btn--light:hover,
.btn--light:focus-visible {
  background: var(--color-background-alt);
  box-shadow: var(--shadow-button-hover);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 0.65rem 1.1rem;
  font-size: var(--fs-caption);
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .btn:focus-visible,
  .btn:active {
    transform: none;
  }
}

/* ---------- Chips ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
}

.chip--on-dark {
  background: var(--color-chip-on-dark);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.chip--soft {
  background: var(--color-background-alt);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}

.chip__dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--color-success-live);
  box-shadow: 0 0 0 3px var(--color-success-live-glow);
}

/* ---------- Section intro ---------- */
.section-intro {
  max-width: 40rem;
  margin-bottom: var(--space-2xl);
}

.section-intro--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-intro--center p {
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  display: inline-block;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.section-intro__title {
  margin: 0 0 var(--space-sm);
}

.section-intro__subtitle {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--fs-body-lg);
}

/* ---------- Media frame ---------- */
.media-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  background: var(--color-background-muted);
}

.media-frame__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ---------- Reason / story cards ---------- */
.reason-card,
.story-card,
.mentor-point {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.reason-card {
  padding: var(--space-xl) var(--space-lg);
  height: 100%;
  transition: transform var(--transition-base) var(--ease-premium),
    box-shadow var(--transition-base) var(--ease-premium);
}

.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.reason-card__icon {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  margin-bottom: var(--space-md);
}

.reason-card__title {
  margin: 0 0 var(--space-xs);
  font-size: var(--fs-h3);
}

.reason-card__text {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--fs-body-sm);
}

/* ---------- Parent trust ledger ---------- */
.trust-ledger__item {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  column-gap: var(--space-md);
  align-items: start;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
}

.trust-ledger__item--emphasis {
  margin-top: var(--space-sm);
  margin-bottom: 0;
  padding: var(--space-lg) var(--space-md);
  background: var(--color-background-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.trust-ledger__index {
  font-family: var(--font-display);
  font-size: var(--fs-stat);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  letter-spacing: var(--tracking-heading);
  color: var(--color-primary);
  padding-top: 0.15rem;
}

.trust-ledger__body {
  min-width: 0;
}

.trust-ledger__title {
  margin: 0 0 var(--space-xs);
  font-size: var(--fs-h3);
}

.trust-ledger__text {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--fs-body-sm);
  max-width: 62ch;
}

/* ---------- Path timeline (24-month chronological path) ---------- */
.path-timeline__node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--path-node-size, 2.25rem);
  height: var(--path-node-size, 2.25rem);
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-family: var(--font-display);
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  line-height: 1;
  letter-spacing: var(--tracking-label);
  box-shadow:
    0 0 0 4px var(--color-background-alt),
    var(--shadow-sm);
}

.path-timeline__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-lg) var(--space-lg) var(--space-xl);
  transition:
    transform var(--transition-base) var(--ease-premium),
    box-shadow var(--transition-base) var(--ease-premium);
}

.path-timeline__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.path-timeline__icon {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  margin-bottom: var(--space-sm);
}

.path-timeline__title {
  margin: 0 0 var(--space-xs);
  font-size: var(--fs-h3);
}

.path-timeline__text {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--fs-body-sm);
}

/* ---------- Parent outcomes board (graduation completion) ---------- */
.outcomes-board__item {
  position: relative;
  display: grid;
  grid-template-columns: var(--outcomes-node-size, 2rem) minmax(0, 1fr);
  column-gap: var(--space-md);
  align-items: start;
}

.outcomes-board__marker {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-top: 0.15rem;
}

.outcomes-board__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--outcomes-node-size, 2rem);
  height: var(--outcomes-node-size, 2rem);
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-family: var(--font-display);
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  line-height: 1;
  box-shadow:
    0 0 0 4px var(--color-background-alt),
    var(--shadow-sm);
}

.outcomes-board__card {
  min-width: 0;
  box-sizing: border-box;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-lg);
}

.outcomes-board__title {
  margin: 0 0 var(--space-xs);
  font-size: var(--fs-h3);
  line-height: var(--lh-heading, 1.25);
}

.outcomes-board__text {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body, 1.5);
}

/* ---------- Programs explorer: quiet text rail + stage ---------- */
.programs__tabs-viewport {
  position: relative;
  width: 100%;
  overflow: visible;
}

.programs__tabs {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  will-change: transform;
}

@media (min-width: 960px) {
  .programs__tabs-viewport {
    display: block;
    height: calc(100vh - var(--header-height, 4.5rem) - 2rem);
    max-height: calc(100vh - var(--header-height, 4.5rem) - 2rem);
    /* clip (not hidden): hides overflow without creating a scrollport that traps wheel */
    overflow: clip;
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      #000 10%,
      #000 90%,
      transparent 100%
    );
  }

  .programs__tabs {
    gap: 0.2rem;
    width: 100%;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .programs__tabs.is-offsetting-instant {
    transition: none;
  }
}

.programs__tab {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.75rem;
  text-align: left;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.48);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  appearance: none;
  transition:
    color 0.15s ease,
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.programs__tab:hover {
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  border-color: transparent;
}

.programs__tab:focus-visible {
  outline: 2px solid var(--color-kicker-on-dark);
  outline-offset: 2px;
}

.programs__tab.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.programs__tab-label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.programs__tab.is-active .programs__tab-label {
  font-weight: var(--fw-bold);
}

.programs__tab-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  margin: 0 0 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.programs__tab-price {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: var(--fw-extrabold);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}

.programs__tab-price--soft {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.programs__tab-price--track {
  font-size: 1.35rem;
  color: var(--color-kicker-on-dark);
  font-variant-numeric: tabular-nums;
}

.programs__tab-price-note {
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.35;
}

.programs__tab-includes {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.programs__tab-includes li {
  position: relative;
  margin: 0;
  padding: 0.4rem 0 0.4rem 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
  line-height: 1.35;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.programs__tab-includes li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.programs__tab-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(179, 31, 36, 0.22);
}

.programs__tab-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.programs__tab-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-primary);
  font-size: 0.68rem;
  font-weight: var(--fw-semibold);
  line-height: 1.2;
}

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

.programs__stage,
.programs__panels {
  position: relative;
  min-height: 0;
}

.programs__panel {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  padding: var(--space-xl) var(--space-lg);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 18px 40px rgba(0, 0, 0, 0.22);
}

.programs__panel.is-active {
  display: flex;
}

.programs__panel[hidden] {
  display: none !important;
}

@media (min-width: 960px) {
  .programs__stage,
  .programs__panels {
    min-height: 20rem;
  }

  .programs__panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease;
    display: flex !important;
  }

  .programs__panel.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
  }

  .programs__panel[hidden] {
    display: flex !important;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    inset: 0;
  }
}

/* Slim right column: pitch + CTA only (metadata lives in expanded left rail) */
.programs__panel-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-kicker-on-dark);
  line-height: 1.2;
}

.programs__panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.2rem + 0.7vw, 1.9rem);
  font-weight: var(--fw-bold);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
}

.programs__panel-description {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--fs-body);
  line-height: 1.55;
  max-width: 36ch;
}

.programs__panel-outcome {
  margin: 0.15rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--fs-caption);
  line-height: 1.45;
  max-width: 36ch;
}

.programs__panel-outcome strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--color-laurel-soft);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.programs__panel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-md);
  margin-top: 0.5rem;
  padding-top: 0.25rem;
}

.programs__panel-link {
  margin: 0;
  align-self: center;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body-sm);
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.programs__panel-link--on-dark {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 0.1rem;
}

.programs__panel-link--on-dark:hover,
.programs__panel-link--on-dark:focus-visible {
  color: #fff;
  border-bottom-color: var(--color-kicker-on-dark);
  text-decoration: none;
}

.programs__panel-link:hover,
.programs__panel-link:focus-visible {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

.programs__panel-link:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 3px;
}

.programs__panel-link--on-dark:focus-visible {
  outline-color: var(--color-kicker-on-dark);
}

.programs__footnote {
  margin-top: var(--space-xl);
  padding: var(--space-lg) var(--space-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.programs__footnote .chip-row {
  margin: 0;
  padding: 0;
  list-style: none;
}

.programs__footnote-label {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-display);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-bold);
  color: #fff;
  line-height: 1.3;
}

.programs__footnote-text {
  margin: var(--space-sm) 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--fs-caption);
  line-height: 1.5;
  max-width: 62ch;
}

@media (prefers-reduced-motion: reduce) {
  .programs__tab,
  .programs__panel {
    transition: none;
  }
}

.train-card {
  overflow: hidden;
  position: relative;
  min-height: 11rem;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: none;
  background: transparent;
}

.train-card__image {
  width: 100%;
  height: 100%;
  min-height: 11rem;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.train-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 15, 15, 0.1) 10%,
    rgba(20, 15, 15, 0.78) 100%
  );
}

.train-card__text {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: var(--space-lg);
  color: #fff;
  font-weight: var(--fw-bold);
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  letter-spacing: var(--tracking-heading);
  display: flex;
  align-items: flex-end;
  min-height: 11rem;
}

/* ---------- Stats ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}

.stat-card__value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--tracking-display);
  color: #fff;
  line-height: 1.1;
}

.stat-card__label {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
}

/* ---------- Stories ---------- */
.story-card {
  padding: var(--space-xl) var(--space-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.story-card__quote {
  margin: 0;
  font-size: var(--fs-body);
  color: var(--color-text-secondary);
  flex: 1;
}

.story-card__quote::before {
  content: "“";
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: var(--fs-quote-mark);
  line-height: 0;
  margin-right: 0.15rem;
  vertical-align: -0.35rem;
}

.story-card__person {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.story-card__avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--color-primary), var(--color-primary-deep));
  color: #fff;
  font-weight: var(--fw-bold);
  font-size: var(--fs-body-sm);
  flex-shrink: 0;
}

.story-card__name {
  margin: 0;
  font-weight: var(--fw-bold);
  font-size: var(--fs-body-sm);
}

.story-card__meta {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--fs-caption);
}

/* ---------- Campus pillars ---------- */
.campus-pillar {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.campus-pillar__mark {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.campus-pillar__title {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
}

.campus-pillar__text {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--fs-body-sm);
}

/* ---------- Faculty list ---------- */
.mentor-point {
  padding: var(--space-md) var(--space-lg);
}

.mentor-point__title {
  margin: 0 0 0.25rem;
  font-size: var(--fs-body);
}

.mentor-point__text {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--fs-body-sm);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 1.05rem 1.15rem;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-heading);
  color: var(--color-text-primary);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--color-background-alt);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  transition: transform var(--transition-base) var(--ease-premium),
    background var(--transition-base);
}

.faq-item__icon svg {
  width: 0.85rem;
  height: 0.85rem;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(180deg);
  background: rgba(179, 31, 36, 0.1);
}

.faq-item__panel {
  display: none;
  padding: 0 1.15rem 1.15rem;
  color: var(--color-text-secondary);
  font-size: var(--fs-body-sm);
}

.faq-item.is-open .faq-item__panel {
  display: block;
}

.faq-item__panel p {
  margin: 0;
}

/* ---------- Form ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form__row--full {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field__label {
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.88);
}

.contact-form__input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  font-size: var(--fs-body-sm);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.contact-form__input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-form__input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.contact-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}

.contact-form__select option {
  color: #121212;
  background-color: #ffffff;
}

/* ---------- Custom select (branded listbox) ---------- */
.custom-select {
  position: relative;
  width: 100%;
}

/* Progressive enhancement: hide native once JS wraps + marks it */
.custom-select__native[data-custom-select-ready="true"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  font-family: var(--font-primary);
  font-size: var(--fs-body-sm);
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.custom-select__trigger:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
}

.custom-select__trigger:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.custom-select__trigger:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}

.custom-select.is-open .custom-select__trigger {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.custom-select__trigger.is-placeholder .custom-select__value,
.custom-select__value.is-placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.custom-select__value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select__chevron {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.85);
  transition: transform var(--transition-fast) var(--ease-premium);
}

.custom-select.is-open .custom-select__chevron {
  transform: rotate(180deg);
}

.custom-select__list {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 5;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: var(--color-surface-dark-soft);
  box-shadow: var(--shadow-lg);
  max-height: min(16rem, 50vh);
  overflow-y: auto;
  outline: none;
}

.custom-select__list[data-placement="bottom"] {
  top: calc(100% + 0.35rem);
  bottom: auto;
}

.custom-select__list[data-placement="top"] {
  bottom: calc(100% + 0.35rem);
  top: auto;
}

.custom-select__list:not([hidden]) {
  animation: custom-select-in 0.2s var(--ease-premium) both;
}

.custom-select__option {
  display: block;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-xs);
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--fs-body-sm);
  line-height: 1.3;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.custom-select__option.is-active {
  background: rgba(255, 255, 255, 0.08);
}

.custom-select__option.is-selected {
  background: rgba(179, 31, 36, 0.28);
  font-weight: var(--fw-semibold);
  box-shadow: inset 3px 0 0 var(--color-primary);
}

.custom-select__option.is-selected.is-active {
  background: rgba(179, 31, 36, 0.4);
}

.custom-select__trigger[aria-invalid="true"] {
  border-color: rgba(255, 180, 182, 0.75);
}

@keyframes custom-select-in {
  from {
    opacity: 0;
    transform: translateY(-0.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .custom-select__list:not([hidden]) {
    animation: none;
  }

  .custom-select__chevron {
    transition: none;
  }
}

/* Allow open list to escape dialog scroll clipping */
.enquiry-modal__dialog.is-select-open {
  overflow: visible;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 6rem;
}

/* ---------- Enquiry modal ---------- */
.enquiry-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, var(--safe-bottom)) 1rem;
}

.enquiry-modal[hidden] {
  display: none;
}

.enquiry-modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--color-overlay-strong);
}

.enquiry-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 36rem);
  max-height: min(92svh, 52rem);
  overflow: auto;
  outline: none;
  animation: enquiry-modal-in 0.32s var(--ease-premium) both;
}

.enquiry-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  background: var(--color-overlay-mid);
  color: #fff;
  font-size: var(--fs-h3);
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.enquiry-modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.enquiry-modal__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Form panel sits on the same dark/red field it used in the contact section */
.enquiry-modal .contact__form-panel {
  background-color: var(--color-surface-dark);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)),
    radial-gradient(120% 80% at 10% 0%, rgba(179, 31, 36, 0.35), transparent 55%);
  /* Extra top room for the absolute close control (physical rem for cascade) */
  padding-top: 2.5rem;
  padding-right: 1.5rem;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
}

body.is-enquiry-modal-open, .page-root.is-enquiry-modal-open {
  overflow: hidden;
}

@keyframes enquiry-modal-in {
  from {
    opacity: 0;
    transform: translateY(0.75rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

/* ---------- Enquiry form status + success ---------- */
.enquiry-form-status {
  margin: 0 0 var(--space-md);
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 180, 182, 0.45);
  background: rgba(179, 31, 36, 0.28);
  color: #fff;
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
}

.enquiry-form-status[hidden] {
  display: none;
}

.enquiry-success {
  color: #fff;
}

.enquiry-success[hidden] {
  display: none;
}

.enquiry-success__title {
  margin: 0 0 0.5rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-heading);
  line-height: var(--lh-heading);
  outline: none;
}

.enquiry-success__lead {
  margin: 0 0 var(--space-md);
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
}

.enquiry-success__steps {
  margin: 0 0 var(--space-lg);
  padding: 0 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--fs-body-sm);
  line-height: 1.55;
}

.enquiry-success__steps li + li {
  margin-top: 0.35rem;
}

.enquiry-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.enquiry-success__actions .btn {
  flex: 1 1 8rem;
  text-align: center;
}

.enquiry-success__actions .btn--light {
  width: auto;
}

.enquiry-success__reset {
  display: block;
  width: 100%;
  margin-top: var(--space-md);
  padding: 0.5rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-primary);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

.enquiry-success__reset:hover,
.enquiry-success__reset:focus-visible {
  color: #fff;
}

.enquiry-success__reset:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.btn[aria-busy="true"] {
  opacity: 0.85;
  cursor: wait;
  pointer-events: none;
}

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-sticky-cta);
  padding: 0.7rem 1rem calc(0.7rem + var(--safe-bottom));
  background: var(--color-surface-dark);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sticky);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease-premium);
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.6rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.sticky-cta .btn {
  width: 100%;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

@media (min-width: 900px) {
  .sticky-cta {
    display: none;
  }
}

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

/* ---------- Fee tier cards ---------- */
.fee-tier {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  height: 100%;
  padding: var(--space-xl) var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition-base) var(--ease-premium),
    box-shadow var(--transition-base) var(--ease-premium);
}

.fee-tier:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.fee-tier__label {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-primary);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.fee-tier__total {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-stat-md);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--tracking-heading);
  line-height: 1.1;
  color: var(--color-text-primary);
}

.fee-tier__caption {
  margin: 0.15rem 0 0;
  color: var(--color-text-muted);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
}

.fee-tier__breakdown {
  display: grid;
  gap: 0.45rem;
  margin: auto 0 0;
  padding: var(--space-md) 0 0;
  border-top: 1px solid var(--color-border);
  list-style: none;
}

.fee-tier__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-sm);
  margin: 0;
  font-size: var(--fs-body-sm);
  color: var(--color-text-secondary);
}

.fee-tier__row dt {
  margin: 0;
  font-weight: var(--fw-regular);
}

.fee-tier__row dd {
  margin: 0;
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- Action tiles ---------- */
.action-tile {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.action-tile:hover,
.action-tile:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.action-tile__icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.action-tile__text {
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semibold);
}

/* ---------- Partner logos ---------- */
/* Motion is driven by js/logo-marquee.js (pixel offset, seamless wrap). */
.logo-track {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.logo-track__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 3.25rem;
  /* Trailing space matches gap — loop distance == one group width */
  padding-inline-end: 3.25rem;
}

.logo-track img {
  display: block;
  height: 3.75rem;
  width: auto;
  max-width: 11rem;
  flex-shrink: 0;
  object-fit: contain;
  filter: grayscale(1) contrast(0.92);
  opacity: 0.88;
  transition: opacity var(--transition-fast), filter var(--transition-fast);
}

.logo-track img:hover {
  opacity: 1;
  filter: none;
}

.logo-track--static {
  width: 100%;
  justify-content: center;
  will-change: auto;
}

.logo-track--static .logo-track__group {
  flex-wrap: wrap;
  justify-content: center;
  padding-inline-end: 0;
  gap: 1.75rem 3rem;
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    width: 100%;
    justify-content: center;
    will-change: auto;
    transform: none !important;
  }

  .logo-track__group {
    flex-wrap: wrap;
    justify-content: center;
    padding-inline-end: 0;
    gap: 1.5rem 2.5rem;
  }

  .logo-track__group + .logo-track__group {
    display: none;
  }
}


/* ==========================================================================
   Layout — page structure & sections
   ========================================================================== */

/* ---------- Header ---------- */
/* Transparent over the hero; chrome fades in via --header-bg-progress (0–1).
   Logo artwork includes a white wordmark, so text/icons stay light throughout. */
.site-header {
  --header-bg-progress: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgb(12 10 10 / var(--header-bg-progress));
  color: var(--color-text-inverse);
  border-bottom: 1px solid rgb(255 255 255 / calc(0.08 * var(--header-bg-progress)));
  box-shadow: 0 8px 24px rgb(20 15 15 / calc(0.35 * var(--header-bg-progress)));
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  /* Full-bleed bar: only a hair of edge clearance + safe areas */
  padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  gap: var(--space-md);
}

.site-header__logo {
  flex-shrink: 0;
  z-index: 1;
}

.site-header__logo-icon {
  height: 2.6rem;
  width: auto;
  object-fit: contain;
}

/* Mobile menu open: solid bar so page content never shows through */
.site-header--nav-open {
  background: var(--color-chrome);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px var(--color-overlay-mid);
}

/* Primary section nav — panel on small screens, inline row on large */
.site-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: var(--z-header);
  max-height: 0;
  overflow: hidden;
  background: var(--color-chrome);
  border-bottom: 1px solid transparent;
  visibility: hidden;
  opacity: 0;
  transition:
    max-height 0.35s var(--ease-premium),
    opacity 0.25s var(--ease-premium),
    visibility 0.25s,
    border-color 0.25s ease;
}

.site-header--nav-open .site-nav {
  max-height: min(70vh, 28rem);
  visibility: visible;
  opacity: 1;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  overflow-y: auto;
  box-shadow: 0 16px 32px var(--color-overlay-mid);
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: var(--space-sm) var(--space-md) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-nav__link {
  display: block;
  padding: 0.7rem 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Hidden on small screens (sticky CTA covers call); shown from tablet up.
   Outline (ghost) over the transparent hero; solid secondary once scrolled.
   Selectors beat .btn--secondary so the hero outline state actually applies. */
.site-header__phone {
  display: none;
}

.site-header .btn.site-header__phone {
  background: transparent;
  color: var(--color-text-inverse);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  padding: calc(0.9rem - 1.5px) calc(1.55rem - 1.5px);
  box-shadow: none;
}

.site-header .btn.site-header__phone:hover,
.site-header .btn.site-header__phone:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  box-shadow: none;
}

.site-header--scrolled .btn.site-header__phone {
  background-color: var(--color-surface);
  color: var(--color-text-primary);
  border: 0;
  padding: 0.9rem 1.55rem;
  box-shadow: var(--shadow-sm);
}

.site-header--scrolled .btn.site-header__phone:hover,
.site-header--scrolled .btn.site-header__phone:focus-visible {
  background-color: var(--color-surface);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
  margin-left: auto; /* mobile: push CTAs + menu to the right edge */
  z-index: 1;
}

.site-header__menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.site-header__menu-toggle:hover,
.site-header__menu-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
}

.site-header__menu-toggle-bar {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: var(--radius-hairline);
  background: currentColor;
  transition:
    transform 0.25s var(--ease-premium),
    opacity 0.2s ease;
}

.site-header--nav-open .site-header__menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header--nav-open .site-header__menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header--nav-open .site-header__menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Anchor targets clear the fixed header */
.why,
.trust,
.path,
.outcomes,
.programs,
.campus,
.placements,
.faculty,
.stories,
.faq,
.contact {
  scroll-margin-top: calc(var(--header-height) + 0.75rem);
}

/* ---------- Hero ---------- */
/* Full first viewport: fixed header overlays the hero, so height is the
   full small viewport (not viewport minus header). 100svh stays stable when
   mobile browser chrome shows/hides. min-height lets content grow only when
   it truly cannot fit on very short screens. */
.hero {
  position: relative;
  min-height: 100vh; /* fallback for older browsers */
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /*
   * Plain rem insets (not calc/max/var) so static quality detectors resolve
   * padding correctly. 6.5rem ≈ header 4.5rem + 2rem content clearance.
   */
  padding-top: 6.5rem;
  padding-bottom: 3rem;
  color: #fff;
  /* Fallback under photo so contrast tools see dark, not paper */
  background-color: var(--color-surface-dark);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    center / cover no-repeat url("/uploads/n7XU0sIJE2Mz_9_nlAnZa-hero-banner.png");
  transform: scale(1.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(20, 15, 15, 0.92) 0%,
      rgba(20, 15, 15, 0.7) 48%,
      rgba(179, 31, 36, 0.42) 100%
    ),
    linear-gradient(0deg, rgba(20, 15, 15, 0.62) 0%, transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  /* Uses .container max-width/padding — same column as other sections */
  width: 100%;
  text-align: left;
  /* Explicit longhands (not padding-block/var) so static detectors see child insulation */
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Mobile: copy first, form second (stacked). Desktop: two columns. */
.hero__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  width: 100%;
}

.hero__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__aside {
  min-width: 0;
  width: 100%;
  max-width: 28rem;
  margin-inline: 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
}

.hero__title {
  margin: 0 0 var(--space-md);
  color: #fff;
  max-width: 22ch;
}

.hero__description {
  margin: 0 0 var(--space-lg);
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--fs-body-lg);
  max-width: 52ch;
}

.hero__chips {
  margin-bottom: var(--space-xl);
  justify-content: flex-start;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-bottom: var(--space-xl);
}

.hero__metrics {
  --hero-laurel: var(--color-laurel);
  --hero-laurel-soft: var(--color-laurel-soft);
  max-width: 42rem;
  width: 100%;
  margin-inline: 0;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-laurel-border);
}

/* ---------- Hero mini-form ---------- */
.hero-form {
  width: 100%;
  padding: 1.15rem 1.15rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(
      165deg,
      rgba(20, 15, 15, 0.72) 0%,
      rgba(20, 15, 15, 0.58) 100%
    );
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.hero-form__kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-heading);
  color: #fff;
  line-height: var(--lh-heading);
}

.hero-form__lead {
  margin: 0 0 var(--space-md);
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-caption);
  line-height: var(--lh-body);
}

.hero-form__helper {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--fs-caption);
  text-align: center;
}

.hero-form .contact-form {
  gap: var(--space-sm);
}

.hero-form .contact-form__row {
  gap: var(--space-sm);
}

.hero-form .contact-form__input,
.hero-form .custom-select__trigger {
  padding: 0.7rem 0.85rem;
}

.hero-form .btn--light {
  padding: 0.85rem 1.25rem;
}

/* ---------- Convert bands ---------- */
.convert-band {
  background: var(--color-background-tint);
  border-block: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
}

.convert-band--on-dark {
  background: var(--color-surface-dark-soft);
  border-block-color: rgba(255, 255, 255, 0.08);
}

.convert-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md) var(--space-xl);
}

.convert-band__text {
  margin: 0;
  flex: 1 1 16rem;
  max-width: 40rem;
  font-family: var(--font-display);
  /* Fixed token size — avoid clamp() so unitless line-height ratios stay accurate */
  font-size: var(--fs-band-lg);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-heading);
  line-height: 1.4;
  color: var(--color-text-primary);
}

.convert-band--on-dark .convert-band__text {
  color: #fff;
}

.convert-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex: 0 1 auto;
}

.convert-band__actions .btn {
  white-space: nowrap;
}

/* Keep symbol defs in tree without clipping <use> references */
.hero__laurel-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.hero__metrics-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__metric {
  display: flex;
  min-width: 0;
}

.hero__metric-crest {
  display: grid;
  grid-template-columns: 1.55rem minmax(0, auto) 1.55rem;
  align-items: center;
  justify-content: start;
  justify-items: center;
  column-gap: 0.2rem;
  width: max-content;
  max-width: 100%;
}

.hero__laurel {
  width: 1.55rem;
  height: 3.7rem;
  color: var(--hero-laurel);
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(20, 15, 15, 0.28));
}

.hero__laurel--right {
  transform: scaleX(-1);
}

.hero__metric-value {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.75rem;
  font-family: var(--font-display);
  font-size: clamp(var(--fs-stat), 3.6vw, var(--fs-stat-md));
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--tracking-heading);
  line-height: 1;
  color: #fff;
  /* Neutral hairline only — no chromatic glow (design-system + anti-slop) */
  text-shadow: 0 1px 0 rgba(20, 15, 15, 0.35);
  white-space: nowrap;
  padding: 0 0.05rem;
}

.hero__metric-label {
  grid-column: 1 / -1;
  width: 0;
  min-width: 100%;
  margin-top: 0.45rem;
  color: var(--hero-laurel-soft);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.hero__assurance {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-caption);
}

/* ---------- Hero accreditations (after stats) ---------- */
.hero__accreditations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: var(--space-md) 0 0;
  padding: 0;
  list-style: none;
  max-width: 42rem;
}

.hero__accreditation {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 4.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-laurel-border);
  background: rgba(20, 15, 15, 0.28);
  backdrop-filter: blur(6px);
}

.hero__accreditation-name {
  font-family: var(--font-display);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-heading);
  line-height: 1.15;
  color: #fff;
}

.hero__accreditation-detail {
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-laurel-soft);
  line-height: 1.2;
}

/* ---------- Placement partners ---------- */
.credibility {
  background: var(--color-background-alt);
  border-block: 1px solid var(--color-border);
  padding-top: var(--space-section);
  padding-bottom: var(--space-2xl);
}

.credibility__intro {
  margin-bottom: var(--space-xl);
}

.credibility__label {
  text-align: center;
  margin: 0 0 var(--space-md);
  color: var(--color-text-muted);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
}

.credibility__viewport {
  overflow: hidden;
  padding-block: var(--space-md);
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}

/* ---------- Why choose (icon card grid — student pages) ---------- */
.why {
  background: var(--color-background);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Parent trust ledger (decision criteria rows) ---------- */
.trust {
  background: var(--color-background);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.trust-ledger {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 48rem;
  margin-inline: auto;
  border-top: 1px solid var(--color-border);
}

/* ---------- 24-month path (vertical timeline) ---------- */
.path {
  background: var(--color-background-alt);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

/* ---------- Parent graduation outcomes (completion board) ---------- */
.outcomes {
  background: var(--color-background-alt);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.outcomes-board {
  --outcomes-node-size: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Vertical connector on mobile (horizontal rail takes over from tablet) */
.outcomes-board::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  bottom: 0.35rem;
  left: calc(var(--outcomes-node-size) / 2);
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--color-primary) 50%, transparent) 10%,
    color-mix(in srgb, var(--color-primary) 50%, transparent) 90%,
    transparent 100%
  );
  pointer-events: none;
}

.path-timeline {
  --path-node-size: 2.25rem;
  --path-rail-inset: calc(var(--path-node-size) / 2);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Vertical spine — left-aligned on mobile, centered from tablet up */
.path-timeline::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  bottom: 0.35rem;
  left: var(--path-rail-inset);
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--color-primary) 55%, transparent) 10%,
    color-mix(in srgb, var(--color-primary) 55%, transparent) 90%,
    transparent 100%
  );
  pointer-events: none;
}

.path-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: var(--path-node-size) minmax(0, 1fr);
  column-gap: var(--space-md);
  align-items: start;
}

.path-timeline__marker {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-top: 1.15rem;
}

.path-timeline__card {
  min-width: 0;
  width: 100%;
}

/* ---------- Programs explorer (dark stage peak) ---------- */
.programs {
  --programs-count: 4;
  --programs-step: min(72vh, 40rem);
  background: var(--color-background-alt);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

/* Full-bleed dark stage — the page’s mid-scroll “product chooser” moment */
.programs--stage {
  position: relative;
  background:
    radial-gradient(120% 80% at 12% 0%, rgba(179, 31, 36, 0.22) 0%, transparent 55%),
    radial-gradient(90% 70% at 100% 30%, rgba(216, 191, 122, 0.08) 0%, transparent 50%),
    var(--color-surface-dark);
  color: #fff;
  overflow: clip;
}

.programs--stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.035) 0.7px,
    transparent 0.7px
  );
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
  opacity: 0.7;
}

.programs--stage > .container {
  position: relative;
  z-index: 1;
}

.programs--stage .section-kicker {
  color: var(--color-kicker-on-dark);
}

.programs--stage .section-intro__title {
  color: #fff;
}

.programs--stage .section-intro__subtitle {
  color: rgba(255, 255, 255, 0.68);
}

.programs__explorer {
  margin-top: var(--space-xl);
}

.programs__track {
  /* Mobile/tablet: natural height only (no scroll trap) */
  min-height: 0;
}

.programs__pin {
  /* Sticky pin is enabled at desktop in responsive.css */
  position: relative;
}

.programs__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
}

/* Legacy horizontal scroller class — expand UX is vertical on all breakpoints */
.programs__tabs--scroll {
  flex-direction: column;
  flex-wrap: nowrap;
  overflow-x: visible;
  overflow-y: visible;
  mask-image: none;
  scroll-snap-type: none;
  padding: 0;
}

/* ---------- Campus ---------- */
.campus {
  background: var(--color-background);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.campus__layout {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

.campus__copy .section-intro {
  margin-bottom: var(--space-xl);
}

.campus__pillars {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin: 0 0 var(--space-xl);
  padding: 0;
  list-style: none;
}

.campus__mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 10rem 8rem 10rem;
  gap: 0.65rem;
}

.campus__mosaic figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-background-muted);
}

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

.campus__mosaic figure:nth-child(1) {
  grid-row: 1 / 3;
}

.campus__mosaic figure:nth-child(4) {
  grid-column: 1 / -1;
  min-height: 10rem;
}

/* ---------- Placements ---------- */
.placements {
  background: var(--color-surface-dark);
  color: var(--color-text-inverse);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.placements .section-kicker {
  color: var(--color-kicker-on-dark);
}

.placements .section-intro__title {
  color: #fff;
}

.placements .section-intro__subtitle {
  color: rgba(255, 255, 255, 0.78);
}

.placements__stats {
  margin-bottom: var(--space-2xl);
}

.placements__train {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Fees at a glance (tier comparison board) ---------- */
.fees {
  background: var(--color-background-alt);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.fee-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
}

.fee-board__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  justify-content: center;
  margin-top: var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.fee-board__meta-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--fs-body-sm);
  line-height: 1.4;
}

.fee-board__meta-item strong {
  color: var(--color-text-primary);
  font-weight: var(--fw-semibold);
}

.fee-board__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm) var(--space-md);
  margin: var(--space-lg) 0 0;
  text-align: center;
}

.fee-board__cta-text {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--fs-body-sm);
}

/* ---------- How to apply (process rail) ---------- */
.apply-path {
  background: var(--color-background);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.apply-steps {
  --apply-node-size: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: apply-step;
}

/* Mobile vertical connector */
.apply-steps::before {
  content: "";
  position: absolute;
  top: calc(var(--apply-node-size) / 2);
  bottom: calc(var(--apply-node-size) / 2);
  left: calc(var(--apply-node-size) / 2);
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--color-primary) 50%, transparent) 8%,
    color-mix(in srgb, var(--color-primary) 50%, transparent) 92%,
    transparent 100%
  );
  pointer-events: none;
}

.apply-steps__item {
  position: relative;
  display: grid;
  grid-template-columns: var(--apply-node-size) minmax(0, 1fr);
  column-gap: var(--space-md);
  align-items: start;
}

.apply-steps__node {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--apply-node-size);
  height: var(--apply-node-size);
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-family: var(--font-display);
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  line-height: 1;
  letter-spacing: var(--tracking-label);
  box-shadow:
    0 0 0 4px var(--color-background),
    var(--shadow-sm);
}

.apply-steps__body {
  min-width: 0;
  padding-top: 0.2rem;
}

.apply-steps__title {
  margin: 0 0 var(--space-xs);
  font-size: var(--fs-h3);
}

.apply-steps__text {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--fs-body-sm);
  max-width: 36ch;
}

.apply-steps__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}

.apply-steps__help {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm) var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.apply-steps__help-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-text-secondary);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: color var(--transition-base) var(--ease-premium);
}

.apply-steps__help-link:hover,
.apply-steps__help-link:focus-visible {
  color: var(--color-primary);
}

.apply-steps__help-icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  opacity: 0.85;
}

/* ---------- Faculty ---------- */
.faculty {
  background: var(--color-background-alt);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.faculty__layout {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

.faculty__points {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: var(--space-xl) 0 0;
  padding: 0;
  list-style: none;
}

/* ---------- Stories ---------- */
.stories {
  background: var(--color-background);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.stories__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--color-background-alt);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.faq__layout {
  display: grid;
  gap: var(--space-2xl);
}

.faq__aside {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  align-self: start;
}

/* ---------- Contact / Final CTA ---------- */
.contact {
  /* Solid color separate from gradient so contrast tools resolve the dark base */
  background-color: var(--color-surface-dark);
  background-image: radial-gradient(
    120% 80% at 10% 0%,
    rgba(179, 31, 36, 0.35),
    transparent 55%
  );
  color: var(--color-text-inverse);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

/* Same .container width as other sections; two columns from 960px */
.contact__grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: start;
}

.contact__copy {
  min-width: 0;
}

.contact__title {
  margin: 0 0 var(--space-sm);
  color: #fff;
  max-width: 18ch;
}

.contact__lead {
  margin: 0 0 var(--space-md);
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--fs-body-lg);
  max-width: 42ch;
}

.contact__text {
  margin: 0 0 var(--space-md);
  color: rgba(255, 255, 255, 0.72);
  max-width: 48ch;
}

.contact__meta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: var(--space-xl) 0 0;
}

.contact__meta-item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-body-sm);
}

.contact__meta-item img {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  flex-shrink: 0;
}

.contact__meta-item a {
  color: #fff;
  text-decoration: none;
  font-weight: var(--fw-semibold);
}

.contact__meta-item a:hover {
  text-decoration: underline;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0;
}

.contact__tiles {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.contact__tiles .action-tile {
  min-height: 3.5rem;
}

.contact__form-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding-top: 2rem;
  padding-right: 1.5rem;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
  box-shadow: var(--shadow-lg);
  color: var(--color-text-inverse);
}

.contact__form-title {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: var(--fs-h3);
}

.contact__form-sub {
  margin: 0 0 var(--space-lg);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-body-sm);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-chrome);
  color: rgba(255, 255, 255, 0.78);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-xl);
}

.footer__grid {
  display: grid;
  gap: var(--space-2xl);
}

.footer__logo-img {
  height: 2.75rem;
  width: auto;
  margin-bottom: var(--space-md);
}

.footer__description {
  margin: 0;
  max-width: 34ch;
  font-size: var(--fs-body-sm);
  color: rgba(255, 255, 255, 0.65);
}

.footer__title {
  margin: 0 0 var(--space-md);
  color: #fff;
  font-size: var(--fs-body-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: var(--fs-body-sm);
}

.footer__link:hover {
  color: #fff;
}

.footer__contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: var(--fs-body-sm);
}

.footer__contact-item {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.footer__contact-icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  flex-shrink: 0;
}

.footer__contact-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer__contact-link:hover {
  color: #fff;
}

.footer__bottom {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--fs-caption);
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}


/* ==========================================================================
   Responsive breakpoints
   ========================================================================== */

@media (min-width: 640px) {
  .why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .placements__train {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__grid {
    grid-template-columns: 1.3fr 1fr;
  }

  .hero__metrics {
    max-width: 48rem;
  }

  .hero__metric-crest {
    grid-template-columns: 1.9rem minmax(0, auto) 1.9rem;
    column-gap: 0.3rem;
  }

  .hero__laurel {
    width: 1.9rem;
    height: 4.55rem;
  }

  .hero__metric-value {
    font-size: var(--fs-stat-lg);
    min-height: 4.35rem;
  }

  .hero__metric-label {
    font-size: var(--fs-caption);
  }

  .hero__accreditations {
    max-width: 48rem;
    gap: 0.65rem;
  }

  .hero__accreditation {
    min-width: 5.25rem;
    padding: 0.55rem 0.85rem;
  }

  .logo-track img {
    height: 4.25rem;
    max-width: 12.5rem;
  }

  .logo-track__group {
    gap: 3.75rem;
    padding-inline-end: 3.75rem;
  }
}

@media (min-width: 768px) {
  .site-header__phone {
    display: inline-flex;
  }

  .campus__mosaic {
    grid-template-rows: 12rem 10rem 12rem;
  }

  .placements__train {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat-grid {
    gap: var(--space-lg);
  }

  /* Fee board: three comparable tiers */
  .fee-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
    align-items: stretch;
  }

  .fee-tier__total {
    font-size: var(--fs-stat-lg);
  }

  /* Apply steps: horizontal process rail */
  .apply-steps {
    flex-direction: row;
    align-items: start;
    gap: var(--space-lg);
  }

  .apply-steps::before {
    top: calc(var(--apply-node-size) / 2);
    bottom: auto;
    left: calc(var(--apply-node-size) / 2);
    right: calc(var(--apply-node-size) / 2);
    width: auto;
    height: 2px;
    transform: none;
    background: linear-gradient(
      90deg,
      transparent 0%,
      color-mix(in srgb, var(--color-primary) 50%, transparent) 6%,
      color-mix(in srgb, var(--color-primary) 50%, transparent) 94%,
      transparent 100%
    );
  }

  .apply-steps__item {
    flex: 1 1 0;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    row-gap: var(--space-md);
  }

  .apply-steps__body {
    padding-top: 0;
  }

  .apply-steps__text {
    max-width: 22ch;
    margin-inline: auto;
  }

  /* Path timeline: alternating left/right cards on a centered spine */
  .path-timeline {
    gap: var(--space-2xl);
  }

  .path-timeline::before {
    left: 50%;
  }

  .path-timeline__item {
    grid-template-columns: minmax(0, 1fr) var(--path-node-size) minmax(0, 1fr);
    column-gap: var(--space-lg);
    align-items: center;
  }

  .path-timeline__marker {
    grid-column: 2;
    grid-row: 1;
    padding-top: 0;
    justify-self: center;
  }

  .path-timeline__item--left .path-timeline__card {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    width: 100%;
    max-width: 28rem;
  }

  .path-timeline__item--right .path-timeline__card {
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
    width: 100%;
    max-width: 28rem;
  }
}

@media (min-width: 768px) {
  /* Parent outcomes: horizontal completion rail */
  .outcomes-board {
    flex-direction: row;
    align-items: stretch;
    gap: var(--space-md);
  }

  .outcomes-board::before {
    top: calc(var(--outcomes-node-size, 2rem) / 2);
    bottom: auto;
    left: calc(var(--outcomes-node-size, 2rem) / 2);
    right: calc(var(--outcomes-node-size, 2rem) / 2);
    width: auto;
    height: 2px;
    transform: none;
    background: linear-gradient(
      90deg,
      transparent 0%,
      color-mix(in srgb, var(--color-primary) 50%, transparent) 8%,
      color-mix(in srgb, var(--color-primary) 50%, transparent) 92%,
      transparent 100%
    );
  }

  .outcomes-board__item {
    /* Equal-width columns; stretch height to the tallest sibling */
    flex: 1 1 0;
    min-width: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
    /* Override mobile side-by-side grid */
    grid-template-columns: none;
  }

  .outcomes-board__marker {
    padding-top: 0;
    flex: 0 0 auto;
  }

  .outcomes-board__card {
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .outcomes-board__text {
    max-width: none;
    flex: 1 1 auto;
  }

  .trust-ledger__item {
    grid-template-columns: 3.25rem minmax(0, 1fr);
    column-gap: var(--space-lg);
    padding: var(--space-xl) 0;
  }

  .trust-ledger__item--emphasis {
    padding: var(--space-xl) var(--space-lg);
  }

  .trust-ledger__index {
    font-size: var(--fs-stat-md);
  }
}

@media (min-width: 960px) {
  .why__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  /* Programs: sticky two-column explorer with scroll track */
  .programs__track {
    height: calc(var(--programs-step) * var(--programs-count));
  }

  .programs__pin {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
    /* Fit under fixed header with breathing room */
    min-height: calc(100vh - var(--header-height) - 2rem);
    display: flex;
    align-items: center;
  }

  .programs__layout {
    /* Wider left rail so expanded metadata has room */
    grid-template-columns: minmax(17.5rem, 1.05fr) minmax(0, 1.35fr);
    gap: var(--space-xl);
    width: 100%;
    align-items: center;
  }

  /*
   * Left rail: fixed-height viewport, no independent scroll.
   * JS translates .programs__tabs so the active item stays centered.
   * Page scroll owns tab switching (tall sticky track).
   */
  .programs__tabs-viewport {
    height: calc(100vh - var(--header-height) - 2rem);
    max-height: calc(100vh - var(--header-height) - 2rem);
    /* clip (not hidden): hides overflow without creating a scrollport that traps wheel */
    overflow: clip;
    overscroll-behavior: none;
    touch-action: pan-y;
    /* Soft fade so off-center items recede into the stage */
    mask-image: linear-gradient(
      180deg,
      transparent 0%,
      #000 8%,
      #000 92%,
      transparent 100%
    );
  }

  .programs__tabs,
  .programs__tabs--scroll {
    flex-direction: column;
    flex-wrap: nowrap;
    overflow: visible;
    max-height: none;
    gap: 0.4rem;
    padding: 0;
    mask-image: none;
    scrollbar-width: none;
  }

  .programs__tab-label {
    font-size: var(--fs-body);
  }

  .programs__tab-hint {
    display: block;
  }

  /* Right panel: taller media stage + short copy footer */
  .programs__panel.is-active {
    display: flex;
    flex-direction: column;
    min-height: min(30rem, calc(100vh - var(--header-height) - 5.5rem));
  }

  .programs__panel-media {
    flex: 1 1 auto;
    min-height: 14rem;
  }

  .programs__panel-media::after {
    background:
      linear-gradient(
        180deg,
        rgba(20, 15, 15, 0.12) 0%,
        rgba(20, 15, 15, 0.18) 35%,
        rgba(31, 23, 23, 0.96) 100%
      );
  }

  .programs__panel-image {
    aspect-ratio: auto;
    max-height: none;
    height: 100%;
    min-height: 16rem;
    object-position: center;
  }

  .programs__panel-content {
    flex: 0 0 auto;
    padding: var(--space-lg) var(--space-xl) var(--space-xl);
    gap: 0.55rem;
    justify-content: flex-end;
    /* Pull content over the media fade for a cinematic footer */
    margin-top: -4.5rem;
    z-index: 2;
  }

  .programs__tab {
    padding: 0.85rem 1rem;
  }

  .programs__tab.is-active {
    padding: 1.1rem 1.15rem 1.2rem;
  }

  .programs__tab-price {
    font-size: 1.7rem;
  }

  /* Reduced motion: keep two-column layout, drop tall scroll trap */
  @media (prefers-reduced-motion: reduce) {
    .programs__track {
      height: auto;
    }

    .programs__pin {
      position: relative;
      top: auto;
      min-height: 0;
      display: block;
    }

    .programs__tabs-viewport {
      height: auto;
      max-height: none;
      overflow: visible;
      mask-image: none;
    }

    .programs__tabs {
      transform: none !important;
      transition: none;
    }

    .programs__panel.is-active {
      min-height: 0;
    }
  }

  .campus__layout,
  .faculty__layout {
    grid-template-columns: 1fr 1.05fr;
    gap: var(--space-3xl);
  }

  .stories__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .faq__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    gap: var(--space-3xl);
    align-items: start;
  }

  .contact__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: var(--space-3xl);
    align-items: center;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
  }

  .placements__train {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .hero {
    padding-top: 6.5rem;
    padding-bottom: 3rem;
  }

  .hero__title {
    max-width: 24ch;
  }

  .hero__description {
    max-width: 56ch;
  }

  .hero__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.9fr);
    gap: var(--space-2xl);
    align-items: center;
  }

  .hero__aside {
    max-width: none;
    justify-self: end;
    width: 100%;
  }

  .hero__actions {
    margin-bottom: var(--space-lg);
  }

  .campus__mosaic {
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-template-rows: 11rem 11rem;
  }

  .campus__mosaic figure:nth-child(1) {
    grid-row: 1 / 3;
    grid-column: 1;
  }

  .campus__mosaic figure:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .campus__mosaic figure:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }

  .campus__mosaic figure:nth-child(4) {
    grid-column: 2 / 4;
    grid-row: 2;
    min-height: 0;
  }

  .campus__mosaic figure:nth-child(5),
  .campus__mosaic figure:nth-child(6) {
    display: none;
  }

  /* Inline section nav — hide hamburger, show horizontal links.
     1fr | auto | 1fr keeps links truly centered even when logo
     and CTA widths differ; sides pin flush left/right. */
  .site-header__menu-toggle {
    display: none;
  }

  .site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--space-md);
  }

  .site-header__logo {
    justify-self: start;
  }

  .site-nav {
    position: static;
    max-height: none;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    min-width: 0;
    justify-self: center;
  }

  .site-header--nav-open .site-nav {
    max-height: none;
    overflow: visible;
    box-shadow: none;
    border-bottom: none;
  }

  .site-header__actions {
    justify-self: end;
    margin-left: 0;
  }

  .site-nav__list {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    padding: 0;
  }

  .site-nav__link {
    padding: 0.4rem 0.55rem;
    font-size: 0.8125rem;
    white-space: nowrap;
    border-radius: var(--radius-full);
  }
}

@media (min-width: 1280px) {
  .site-nav__link {
    padding: 0.45rem 0.7rem;
    font-size: var(--fs-body-sm);
  }
}

/* Two-column hero from tablet landscape up */
@media (min-width: 900px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.95fr);
    gap: var(--space-xl);
    align-items: center;
  }

  .hero__aside {
    max-width: none;
    justify-self: end;
    width: 100%;
  }

  .convert-band__inner {
    flex-wrap: nowrap;
  }
}

/* Short viewports: keep hero content usable without forcing page scroll */
@media (max-height: 700px) {
  .hero {
    padding-top: 5.5rem;
    padding-bottom: 1.5rem;
  }

  .hero__description {
    margin-bottom: var(--space-md);
  }

  .hero__layout {
    gap: var(--space-md);
  }

  .hero__actions {
    margin-bottom: var(--space-md);
  }

  .hero__metrics {
    padding-top: var(--space-md);
  }

  .hero__accreditations {
    margin-top: var(--space-sm);
  }

  .hero__accreditation {
    padding: 0.4rem 0.65rem;
  }

  .hero-form {
    padding: 0.95rem 1rem 1.05rem;
  }

  .hero-form__lead {
    margin-bottom: var(--space-sm);
  }
}

/* Small phones */
@media (max-width: 380px) {
  .hero__accreditation {
    min-width: 0;
    flex: 1 1 calc(50% - 0.35rem);
  }

  .logo-track img {
    height: 3.1rem;
    max-width: 9rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .convert-band__actions {
    width: 100%;
  }

  .convert-band__actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero__metric-crest {
    grid-template-columns: 1.25rem minmax(0, auto) 1.25rem;
    column-gap: 0.12rem;
  }

  .hero__laurel {
    width: 1.25rem;
    height: 3rem;
  }

  .hero__metric-value {
    font-size: var(--fs-stat-sm);
    min-height: 3.15rem;
  }

  .hero__metric-label {
    letter-spacing: 0.04em;
  }

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

/* Reduce motion: stop marquee already handled in components */


/* ==========================================================================
   Scroll reveal + motion
   Progressive enhancement: content stays visible until JS adds .js-reveal,
   then only non-visible targets are hidden and animated in.
   ========================================================================== */

[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .js-reveal [data-reveal]:not(.is-visible) {
    opacity: 0;
    transition:
      opacity var(--reveal-duration) var(--ease-out-soft),
      transform var(--reveal-duration) var(--ease-out-soft);
    transition-delay: calc(var(--stagger-i, 0) * var(--stagger-step));
  }

  .js-reveal [data-reveal="fade-up"]:not(.is-visible) {
    transform: translateY(var(--reveal-distance));
  }

  .js-reveal [data-reveal="fade-down"]:not(.is-visible) {
    transform: translateY(calc(var(--reveal-distance) * -1));
  }

  .js-reveal [data-reveal="fade-left"]:not(.is-visible) {
    transform: translateX(var(--reveal-distance));
  }

  .js-reveal [data-reveal="fade-right"]:not(.is-visible) {
    transform: translateX(calc(var(--reveal-distance) * -1));
  }

  .js-reveal [data-reveal="scale"]:not(.is-visible) {
    transform: scale(0.96);
  }

  .js-reveal [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  /* Path timeline: avoid horizontal slide clipping on narrow viewports */
  @media (max-width: 767.98px) {
    .js-reveal .path-timeline [data-reveal="fade-left"]:not(.is-visible),
    .js-reveal .path-timeline [data-reveal="fade-right"]:not(.is-visible) {
      transform: translateY(var(--reveal-distance));
    }
  }
}



/* src/styles/koshys-foundation.css */
/* Koshys foundation — Instatic (generated from source) */
/* ==========================================================================
   Reset / Normalize
   Minimal modern reset — removes browser inconsistencies only.
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Preserve HTML hidden semantics (some resets / hosts drop UA [hidden] styles) */
[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

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

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}


/* ==========================================================================
   Design Tokens — student admissions LP (committed brand red world)
   ========================================================================== */

:root {
  /* ---------- Colors ---------- */
  --color-primary: #b31f24;
  --color-primary-hover: #96181c;
  --color-primary-deep: #7a1418;
  --color-secondary: #ffffff;
  --color-accent: #7a1418;
  --color-accent-hover: #5c0f12;

  --color-text-primary: #121212;
  --color-text-secondary: #3d3a3a;
  --color-text-muted: #6b5f5c;
  --color-text-inverse: #ffffff;

  --color-background: #faf8f7;
  --color-background-alt: #f3ebe8;
  --color-background-tint: #f6ece7;
  --color-background-muted: #ebe3e0;
  --color-surface: #ffffff;
  --color-surface-dark: #140f0f;
  --color-surface-dark-soft: #1f1717;
  --color-chrome: #0c0a0a;

  --color-border: #e6ddda;
  --color-border-strong: #d2c5c1;
  --color-overlay: rgba(20, 15, 15, 0.55);
  --color-overlay-strong: rgba(20, 15, 15, 0.72);
  --color-overlay-soft: rgba(20, 15, 15, 0.22);
  --color-overlay-mid: rgba(20, 15, 15, 0.35);
  --color-chip-on-dark: rgba(255, 255, 255, 0.14);
  --color-focus-ring: #b31f24;
  --color-kicker-on-dark: #ffb4b6;
  --color-success-live: #7dffa3;
  --color-success-live-glow: rgba(125, 255, 163, 0.2);

  /* Hero proof metrics (laurel accent — not CTA red) */
  --color-laurel: #d8bf7a;
  --color-laurel-soft: rgba(216, 191, 122, 0.78);
  --color-laurel-border: rgba(216, 191, 122, 0.28);

  /* ---------- Typography ---------- */
  --font-display: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
  --font-primary: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --font-secondary: var(--font-display);

  /* Rem steps (not clamp) so static cascade + hierarchy checks resolve */
  --fs-display: 2.5rem;
  --fs-h1: var(--fs-display);
  --fs-h2: 2rem;
  --fs-h3: 1.25rem;
  --fs-h4: 1.125rem;
  --fs-body-lg: 1.125rem;
  --fs-body: 1.0625rem;
  --fs-body-sm: 0.9375rem;
  --fs-caption: 0.8125rem;
  --fs-label: 0.75rem;
  --fs-quote-mark: 2rem;
  /* Intentional mid-ramp steps for convert bands + hero stats */
  --fs-band: 1.25rem;
  --fs-band-lg: 1.4rem;
  --fs-stat-sm: 1.05rem;
  --fs-stat: 1.25rem;
  --fs-stat-md: 1.55rem;
  --fs-stat-lg: 1.65rem;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Slightly open display for multi-line hero titles (still athletic, not body) */
  --lh-display: 1.12;
  --lh-heading: 1.15;
  --lh-body: 1.6;

  --tracking-display: -0.03em;
  --tracking-heading: -0.02em;
  --tracking-label: 0.04em;

  /* ---------- Spacing Scale ---------- */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6rem;
  --space-section: 3.5rem;

  /* ---------- Border Radius ---------- */
  --radius-hairline: 1px;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  /* ---------- Container Widths ---------- */
  --container-max-width: 75rem;
  --container-padding-desktop: 4rem;
  --container-padding-tablet: 2rem;
  --container-padding-mobile: 1.25rem;

  /* ---------- Shadows ---------- */
  --shadow-sm: 0 1px 2px rgba(20, 15, 15, 0.05);
  --shadow-md: 0 4px 16px rgba(20, 15, 15, 0.08);
  --shadow-lg: 0 12px 36px rgba(20, 15, 15, 0.12);
  --shadow-card: 0 1px 2px rgba(20, 15, 15, 0.04),
    0 8px 24px rgba(20, 15, 15, 0.06);
  --shadow-button: 0 8px 20px -10px rgba(20, 15, 15, 0.28);
  --shadow-button-hover: 0 14px 32px -12px rgba(20, 15, 15, 0.32);
  --shadow-sticky: 0 -8px 28px rgba(20, 15, 15, 0.16);

  /* ---------- Transitions ---------- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);

  /* ---------- Scroll Reveal ---------- */
  --reveal-duration: 700ms;
  --reveal-duration-fast: 480ms;
  --reveal-distance: 28px;
  --reveal-distance-lg: 40px;
  --stagger-step: 80ms;

  /* ---------- Sticky / chrome ---------- */
  --header-height: 4.5rem;
  --sticky-cta-height: 4.25rem;
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  /* ---------- Z-Index Scale ---------- */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-header: 250;
  --z-sticky-cta: 300;
  --z-overlay: 350;
  --z-modal: 400;
  --z-toast: 500;
}

/* Fluid type + section rhythm at larger viewports (physical rem for cascade tools) */
@media (min-width: 768px) {
  :root {
    --fs-display: 3.25rem;
    --fs-h2: 2.25rem;
    --fs-h3: 1.35rem;
    --space-section: 4.5rem;
  }
}

@media (min-width: 1100px) {
  :root {
    --fs-display: 3.75rem;
    --fs-h2: 2.5rem;
    --fs-h3: 1.45rem;
    --space-section: 5.75rem;
  }
}


/* ==========================================================================
   Base Element Styles
   ========================================================================== */

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Native scrollbar fully hidden — overlay thumb is drawn in JS/CSS. */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
  background: transparent;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: var(--color-text-primary);
  background-color: var(--color-background);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   Overlay scrollbar — floating translucent thumb only (no track / gutter)
   -------------------------------------------------------------------------- */
.site-scrollbar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: calc(var(--z-header) + 1);
  width: 12px;
  pointer-events: auto;
  opacity: 1;
  transition: opacity var(--transition-base);
}

.site-scrollbar.is-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

.site-scrollbar__thumb {
  position: absolute;
  top: 0;
  right: 3px;
  width: 3px;
  border-radius: 999px;
  background-color: rgba(20, 15, 15, 0.32);
  pointer-events: auto;
  cursor: default;
  touch-action: none;
  will-change: transform, height;
  transition:
    width var(--transition-fast),
    background-color var(--transition-fast),
    right var(--transition-fast);
}

.site-scrollbar:hover .site-scrollbar__thumb,
.site-scrollbar.is-active .site-scrollbar__thumb,
.site-scrollbar.is-dragging .site-scrollbar__thumb {
  width: 6px;
  right: 2px;
  background-color: rgba(20, 15, 15, 0.5);
}

/* Sticky CTA clearance lives on the chrome footer (not page background),
   so the document never ends with a cream strip after the footer. */
body.has-sticky-cta,
.page-root.has-sticky-cta {
  padding-bottom: 0;
}

body.has-sticky-cta .footer,
.page-root.has-sticky-cta .footer {
  padding-bottom: calc(var(--space-xl) + var(--sticky-cta-height) + var(--safe-bottom) + 0.5rem);
}

@media (min-width: 900px) {
  body.has-sticky-cta,
  .page-root.has-sticky-cta {
    padding-bottom: 0;
  }

  body.has-sticky-cta .footer,
  .page-root.has-sticky-cta .footer {
    padding-bottom: var(--space-xl);
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  line-height: var(--lh-heading);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-heading);
  /* Inherit so dark bands can set color once on the section */
  color: inherit;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-display);
  letter-spacing: var(--tracking-display);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-h4);
}

p {
  font-size: var(--fs-body);
  max-width: 70ch;
}

a {
  color: inherit;
  transition: color var(--transition-fast);
}

button,
input,
select,
textarea {
  font-family: var(--font-primary);
}

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

::selection {
  background: rgba(179, 31, 36, 0.18);
  color: var(--color-text-primary);
}

/* Accessible focus state */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}


/* ==========================================================================
   Utilities
   ========================================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Skip link: on-system tokens; visible only when focused */
.skip-link {
  color: var(--color-text-primary);
  background: var(--color-background);
}

.skip-link:focus,
.skip-link:focus-visible {
  position: fixed !important;
  top: 0.75rem;
  left: 0.75rem;
  z-index: var(--z-toast);
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0.65rem 1rem !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text-primary);
  box-shadow: var(--shadow-md);
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
  text-decoration: none;
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semibold);
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding-mobile);
  padding-right: var(--container-padding-mobile);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--container-padding-tablet);
    padding-right: var(--container-padding-tablet);
  }
}

@media (min-width: 1100px) {
  .container {
    padding-left: var(--container-padding-desktop);
    padding-right: var(--container-padding-desktop);
  }
}

.section-pad {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.placeholder-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: var(--space-sm);
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(179, 31, 36, 0.08);
  color: var(--color-primary-deep);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.placeholder-note--on-dark {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

.text-center {
  text-align: center;
}

.text-center p {
  margin-inline: auto;
}



/* ==========================================================================
   Instatic bridge — page-root maps to body semantics
   ========================================================================== */
.page-root {
  min-height: 100vh;
  min-height: 100svh;
  color: var(--color-text-primary);
  background-color: var(--color-background);
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Never pad the cream page background after the chrome footer.
     Sticky-CTA clearance is applied on .footer (see base sticky rules above). */
  padding-bottom: 0;
}

.page-root.has-sticky-cta {
  padding-bottom: 0;
}



/* src/styles/hero-viewport.css */
/* Hero: exact first-viewport band (desktop + mobile)
   Priority 200 — wins over theme/foundation. */

/* Idle success/status must not inflate hero height (canvas + published) */
[hidden],
.enquiry-success[hidden],
.enquiry-form-status[hidden],
[data-enquiry-success][hidden],
[data-enquiry-form-status][hidden] {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  width: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
}

.hero {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding-top: 5rem;
  padding-bottom: 1.25rem;
  color: #fff;
  background-color: var(--color-surface-dark);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-surface-dark);
  background-image: url("/uploads/n7XU0sIJE2Mz_9_nlAnZa-hero-banner.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image:
    linear-gradient(
      105deg,
      rgba(20, 15, 15, 0.92) 0%,
      rgba(20, 15, 15, 0.7) 48%,
      rgba(179, 31, 36, 0.42) 100%
    ),
    linear-gradient(0deg, rgba(20, 15, 15, 0.62) 0%, transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: center;
  width: 100%;
}

.hero__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__aside {
  min-width: 0;
  width: 100%;
  max-width: 28rem;
}

.hero__title {
  margin: 0 0 0.55rem;
  max-width: 16ch;
}

.hero__description {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--fs-body-lg);
  max-width: 36ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.hero__metrics {
  width: 100%;
  max-width: 42rem;
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-laurel-border, rgba(216, 191, 122, 0.28));
}

.hero__metrics-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 0.55rem;
  padding: 0;
}

.hero__accreditations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 42rem;
}

.hero__accreditation {
  padding: 0.35rem 0.55rem;
}

.hero-form {
  position: relative;
  width: 100%;
  padding: 0.85rem 0.9rem 0.95rem;
  border-radius: var(--radius-xl, 22px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: rgba(20, 15, 15, 0.55);
  background-image: none;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.hero-form__kicker {
  margin: 0 0 0.1rem;
}

.hero-form__lead {
  margin: 0 0 0.45rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-body-sm);
}

.hero-form__helper {
  margin: 0.35rem 0 0;
}

.hero .field {
  margin-bottom: 0.4rem;
  row-gap: 0.15rem;
  column-gap: 0.15rem;
}

.hero .contact-form__row {
  gap: 0.45rem;
  margin: 0;
}

.hero .contact-form__input,
.hero .contact-form__select,
.hero .contact-form__textarea,
.hero .custom-select__trigger {
  padding: 0.5rem 0.7rem;
}

.hero .contact-form__textarea {
  min-height: 2.75rem;
  max-height: 3.5rem;
  height: 2.75rem;
  resize: vertical;
}

.hero .contact-form__submit {
  margin-top: 0.05rem;
}

.hero .btn--light {
  padding: 0.7rem 1.15rem;
}

/* From tablet (768) up: side-by-side fits one viewport */
@media (min-width: 768px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: 5.25rem;
    padding-bottom: 1.5rem;
    justify-content: center;
  }

  .hero__content {
    justify-content: center;
  }

  .hero__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.95fr);
    gap: var(--space-xl);
    align-items: center;
  }

  .hero__aside {
    max-width: none;
    justify-self: end;
    width: 100%;
  }

  .hero__title {
    max-width: 20ch;
  }

  .hero__description {
    max-width: 40ch;
  }
}

@media (min-width: 1100px) {
  .hero {
    padding-top: 5.75rem;
    padding-bottom: 1.75rem;
  }

  .hero__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    gap: var(--space-2xl);
  }

  .hero__title {
    max-width: 24ch;
  }

  .hero__description {
    max-width: 48ch;
  }

  .hero-form {
    padding: 1rem 1.05rem 1.05rem;
  }
}

/* Short viewports: denser so copy + form stay in-band */
@media (max-height: 860px) {
  .hero {
    padding-top: 4.5rem;
    padding-bottom: 0.85rem;
  }

  .hero__layout {
    gap: 0.75rem;
  }

  .hero__title {
    margin-bottom: 0.35rem;
  }

  .hero__description {
    margin-bottom: 0.5rem;
  }

  .hero__actions {
    margin-bottom: 0.5rem;
  }

  .hero__metrics {
    padding-top: 0.5rem;
  }

  .hero-form {
    padding: 0.7rem 0.75rem 0.8rem;
  }

  .hero-form__lead {
    margin-bottom: 0.35rem;
  }

  .hero .field {
    margin-bottom: 0.3rem;
  }

  .hero .contact-form__input,
  .hero .contact-form__select,
  .hero .contact-form__textarea,
  .hero .custom-select__trigger {
    padding: 0.45rem 0.6rem;
  }

  .hero .contact-form__textarea {
    min-height: 2.5rem;
    max-height: 3rem;
    height: 2.5rem;
  }

  .hero .btn--light {
    padding: 0.6rem 1rem;
  }
}

/* Phones: fill first paint; denser stack for form below headline band */
@media (max-width: 767px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: 4.5rem;
    padding-bottom: 1rem;
    justify-content: flex-start;
  }

  .hero__content {
    justify-content: flex-start;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
  }

  .hero__layout {
    gap: 0.85rem;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .hero__aside {
    max-width: none;
  }

  .hero-form {
    padding: 0.75rem 0.8rem 0.85rem;
  }
}

@media (max-width: 767px) and (max-height: 720px) {
  .hero {
    padding-top: 4.15rem;
    padding-bottom: 0.65rem;
  }

  .hero__metrics {
    padding-top: 0.4rem;
  }

  .hero__accreditation {
    padding: 0.28rem 0.45rem;
  }

  .hero-form__lead {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero__actions .btn {
    width: 100%;
  }

  .hero__accreditation {
    min-width: 0;
    flex: 1 1 calc(50% - 0.35rem);
  }
}
