/* Highline recruiting shares the portal's Midnight Navy dark palette.
   Layout, content, player gates and application flow remain in styles.css. */
:root {
  --bg: #1b2a49;
  --bg-soft: #14213b;
  --panel: #243653;
  --panel-2: #2c4163;
  --line: #3b5172;
  --line-strong: #7399cb;
  --text: #eff4fc;
  --muted: #c4d1e4;
  --muted-2: #a8bdd7;
  --accent: #a8ceff;
  --accent-soft: #2c4163;
  --gold: #a8ceff;
  --radius: 16px;
  --shadow: 0 5px 20px rgba(7,14,28,.16);
  --highline-primary: #36598c;
  --highline-navy: #14213b;
  color-scheme: dark;
}

body {
  color: var(--text);
  background: var(--bg);
  font-family: "Avenir Next", "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #446ba4; color: #fff; }
h1, h2, h3, .hero-metric strong, .photo-placeholder strong, .target-destination strong, .video-placeholder strong,
.system-destination strong, .application-thank-you h3, .fit-question {
  font-family: inherit;
  font-weight: 730;
  letter-spacing: -.035em;
  line-height: 1.18;
}
h1, h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(40px,4.6vw,60px); line-height: 1.05; }
h2 { font-size: clamp(32px,3.2vw,42px); line-height: 1.12; }
h3 { font-size: 21px; }
.section { padding-block: 54px; }
.section:not(.hero) { background: var(--bg); }
.section:not(.hero):nth-of-type(odd) { background: var(--bg-soft); }
.section-heading p, .split-copy p, .info-card p, .icon-grid p,
.roadmap-card p, .target-roadmap p, .fit-intro p, .application-step p,
.culture-copy p, .footer p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.eyebrow, .roadmap-kicker, .card-number, .step-topline,
.card-topline, .metric-label, .photo-kicker { color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .12em; }

/* The established mountain hero shares the portal's navy shell. */
.hero {
  --text: #eff4fc;
  --muted: #c4d1e4;
  --muted-2: #a8bdd7;
  --accent: #a8ceff;
  color: var(--text);
}
.hero::before {
  background: linear-gradient(90deg,rgba(20,33,59,.96),rgba(20,33,59,.84) 40%,rgba(20,33,59,.48)),
    linear-gradient(180deg,rgba(20,33,59,.25),rgba(27,42,73,.76));
}
.hero .eyebrow { color: #a6d9fa; }
.hero .lead { color: #d9e8f2; font-size: 16px; }
.hero-license-note { color: #d2e2ee; font-size: 15px; }
.hero-question { color: #f5faff; font-family: inherit; font-size: 16px; }
.hero-notes { color: #d9e8f2; font-size: 13px; }
.hero-notes i { background: #9bd0f2; box-shadow: none; }
.hero-real-photo { border-color: #719bb8; box-shadow: 0 12px 32px rgba(8,30,47,.2); }

/* One button treatment, shared with portal actions. */
.btn { min-height: 44px; padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
.btn:hover { transform: none; }
.btn-primary { color: #eff4fc; background: #36598c; border-color: #7399cb; box-shadow: 0 3px 9px rgba(7,14,28,.18); }
.btn-primary:hover { background: #446ba4; border-color: #a8ceff; }
.btn-ghost { color: var(--text); border-color: var(--line-strong); background: var(--panel); }
.btn-ghost:hover { color: #fff; background: var(--panel-2); border-color: #a8ceff; }
.hero .btn-ghost { color: #eef8ff; background: rgba(255,255,255,.08); border-color: rgba(179,216,241,.45); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-large { min-height: 48px; padding-inline: 22px; }
.step-button:disabled, .step-button.is-disabled { color: #a8bdd7; background: #1e2c46; border-color: #3b5172; box-shadow: none; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #68abe0;
  outline-offset: 3px;
}

.hero-card, .info-card, .fit-panel, .icon-grid article,
.roadmap-card, .target-roadmap, .application-step, .culture-block {
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.info-card, .icon-grid article, .roadmap-card { border-top: 3px solid #72acd5; }
.info-card h3 { margin-block: 12px; font-size: 21px; }
.info-card.accent-card, .target-roadmap { background: linear-gradient(130deg,var(--bg-soft),var(--panel)); border-color: var(--line-strong); }
.company-cards > .info-card { background: var(--panel); }
.icon-wrap { color: var(--accent); background: var(--bg-soft); border-color: var(--line-strong); }
.icon-grid article { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 12px; align-content: start; }
.icon-grid .icon-wrap { width: 40px; height: 40px; border-radius: 12px; align-self: center; }
.icon-grid h3 { margin: 0; min-height: 0; align-self: center; font-size: 20px; line-height: 1.25; }
.icon-grid p { grid-column: 1 / -1; margin-top: 0; }
.roadmap-number, .fit-checks span { color: #fff; background: var(--highline-primary); box-shadow: none; }
.roadmap-arrow { color: var(--accent); background: var(--bg-soft); border-color: var(--line-strong); box-shadow: none; }
.target-stage, .mini-grid div { color: var(--text); background: var(--panel-2); border-color: var(--line); }
.target-destination { color: #fff; background: var(--highline-primary); border-color: var(--line-strong); box-shadow: none; }
.system-section > .system-destination {
  width: min(100%,var(--content-wide));
  margin: 22px auto 0;
  min-width: 0;
  min-height: 0;
  height: auto;
  align-self: center;
  padding: 26px 24px;
  border: 1px solid #7399cb;
  border-radius: 18px;
  color: #f5faff;
  background: linear-gradient(135deg,#243653,#304b73);
  box-shadow: 0 8px 22px rgba(7,14,28,.2);
}
.system-destination::before { content: ""; width: 38px; height: 3px; margin-bottom: 14px; border-radius: 2px; background: #9bd0f2; }
.system-section > .system-destination .eyebrow { margin: 0 0 10px; color: #c2e1f7; font-size: 11px; letter-spacing: .14em; }
.system-section > .system-destination strong { max-width: 100%; margin: 0; color: #fff; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(48px,5vw,64px); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; white-space: nowrap; }
.system-section > .system-destination > span { width: auto; margin: 8px 0 0; color: #d5edfc; font-size: 12px; letter-spacing: .18em; }
.system-section > .system-destination .disclaimer { max-width: 34ch; margin: 18px auto 0; padding-top: 16px; border-top: 1px solid #507e9d; color: #d5e6f2; font-size: 13px; line-height: 1.55; }
.destination-arrow { color: var(--accent); }
.real-photo, .culture-photo { border-color: var(--line); box-shadow: var(--shadow); }
.culture-block { padding: 28px; }
.family-environment-note, .agent-environment-note { border-top-color: var(--line); }
.fit-panel { background: linear-gradient(135deg,var(--bg-soft),var(--panel) 65%); border-color: var(--line-strong); }
.fit-checks div { color: var(--text); background: var(--panel); border-color: var(--line); }
.fit-question { color: var(--accent); font-size: 23px; }
.application-step { border-top: 4px solid #7399cb; padding: clamp(22px,3vw,34px); }
.application-step h3 { color: var(--text); font-size: 24px; }
.step-topline { color: var(--accent); }
.completion-badge { color: var(--muted); font-size: 13px; }
.completion-badge.is-complete { color: #9ce3c4; }

/* Keep player controls readable on their navy media surface. */
.ha-video-player, .photo-lightbox {
  --text: #f5faff;
  --muted: #c5dcea;
  --muted-2: #acc9dd;
  --accent: #75b8e8;
}
.ha-video-player, .ha-video-frame, .ha-video { background-color: #14213b; border-color: #3b5172; }
.ha-video-controls { background: #14213b; border-top-color: #3b5172; }
.ha-video-button { color: #eff4fc; border-color: #7399cb; background: #36598c; }
.ha-video-button:hover { border-color: #a8ceff; background: #446ba4; }
.ha-video-time { color: #c4d1e4; }
.ha-video-volume { accent-color: #a8ceff; }
.ha-video-start .ha-video-start-pill {
  color: #fff !important;
  background: #36598c !important;
  border-color: #a8ceff !important;
  box-shadow: 0 5px 20px rgba(16,43,64,.24) !important;
}
.ha-video-start .ha-video-start-icon { color: #fff !important; }
.photo-lightbox { background: rgba(8,14,28,.95); }
.photo-lightbox-close, .photo-lightbox-nav { color: #eff4fc; background: #36598c; border-color: #7399cb; }
.photo-lightbox-close:hover, .photo-lightbox-nav:hover { background: #446ba4; border-color: #a8ceff; }

/* Application questions retain their existing flow with portal form styling. */
.screening-form { gap: 22px; margin-top: 26px; }
.screening-form label > span, .select-label > span { color: #c4d1e4; font-weight: 650; }
.screening-form input[type=text], .screening-form input[type=email],
.screening-form input[type=tel], .screening-form select {
  color: #eff4fc;
  background: #1b2a49;
  min-height: 48px;
  border-color: #3b5172;
  border-radius: 10px;
  color-scheme: dark;
}
.screening-form input::placeholder { color: var(--muted-2); }
.screening-form select { appearance: auto; padding-right: 12px; }
.screening-form select option { color: #eff4fc; background: #1b2a49; font-family: inherit; }
.screening-form input:focus, .screening-form select:focus { border-color: #a8ceff; box-shadow: 0 0 0 3px rgba(168,206,255,.2); }
.screening-form fieldset { padding: 20px; background: var(--bg); border-color: var(--line); border-radius: 12px; min-width: 0; }
.screening-form legend { color: #eff4fc; font-weight: 700; }
.screening-form .radio-option { padding: 10px 12px; margin-top: 8px; border: 1px solid transparent; border-radius: 9px; color: #c4d1e4; }
.screening-form .radio-option:hover { background: var(--panel-2); }
.screening-form .radio-option:has(input:checked) { background: #304b73; border-color: #8fb9ee; color: #eff4fc; }
.screening-form .radio-option input { accent-color: #8fb9ee; width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.form-submit-row { padding-top: 4px; }
.application-submit-error { padding: 12px 14px; border-radius: 10px; border: 1px solid #915464; background: #4c2835; color: #ffb4bd; font-size: 14px; }
.thank-you { background: var(--bg-soft); border-color: var(--line-strong); }
.application-thank-you h3 { color: #a8ceff; font-size: clamp(28px,3vw,36px); }

.footer {
  --text: #eff4fc;
  --muted: #c4d1e4;
  --muted-2: #a8bdd7;
  color: var(--text);
  background: #14213b;
  border-color: #3b5172;
  border-radius: 16px 16px 0 0;
  padding: 28px;
}
.footer p { font-size: 13px; }
.footer-links { color: #a8ceff; font-size: 14px; }
.instagram-link { color: #a8ceff; background: #243653; border-color: #7399cb; }
.instagram-link:hover { color: #fff; background: #2c4163; border-color: #a8ceff; }
.scroll-top { color: #fff; background: #36598c; border-color: #7399cb; box-shadow: 0 4px 14px rgba(7,14,28,.2); }

@media (max-width: 640px) {
  .section { padding-block: 36px; }
  h1 { font-size: 42px; }
  h2 { font-size: 34px; }
  h3 { font-size: 21px; }
  .hero .lead { font-size: 16px; }
  .hero-text-block { margin-top: 44px; }
  .hero .btn, .hero .btn-large { max-width: 100%; }
  .application-step { padding: 22px 18px; }
  .application-step h3 { font-size: 23px; }
  .screening-form { gap: 20px; }
  .screening-form fieldset { padding: 16px 12px; }
  .screening-form .radio-option { padding: 9px 8px; }
  .screening-form .application-submit { width: 100%; }
  .culture-block { padding: 20px; }
  .system-section > .system-destination { margin-top: 12px; padding: 24px 20px; }
  .system-section > .system-destination strong { font-size: clamp(42px,12vw,56px); }
  .footer { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
