/* ------------------------------------------------------------------ */
/* Reset & base                                                        */
/* ------------------------------------------------------------------ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  color: #1d1d1f;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
}

h1, h2, h3, p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid #0071e3;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------------------------------------------ */
/* Layout helpers                                                      */
/* ------------------------------------------------------------------ */
.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 24px;
}

.section-inner.narrow {
  max-width: 720px;
}

.section {
  background: #ffffff;
}

.section-alt {
  background: #f5f5f7;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6e6e73;
  font-weight: 500;
  margin-bottom: 12px;
}

h2 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.body-text, .prose p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: #6e6e73;
  max-width: 640px;
}

.prose p {
  margin-bottom: 20px;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------------ */
/* Nav                                                                 */
/* ------------------------------------------------------------------ */
#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#nav.scrolled {
  border-bottom-color: #ececec;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  color: #1d1d1f;
}

.nav-links a:hover {
  color: #0071e3;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: #1d1d1f;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 24px 64px;
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-text {
  flex: 1.1;
  min-width: 0;
}

.hero-text h1 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-text .subhead {
  font-size: 16px;
  line-height: 1.55;
  color: #6e6e73;
  margin-bottom: 28px;
}

.link-cta {
  color: #0071e3;
  font-size: 15px;
  font-weight: 500;
}

.link-cta:hover {
  text-decoration: underline;
}

.hero-photo {
  flex: 0.9;
  min-width: 0;
}

.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}

.path-cards {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.path-card {
  display: block;
  padding: 40px;
  background: #f5f5f7;
  border-radius: 18px;
  position: relative;
  transition: background 0.2s ease;
}

.path-card:hover {
  background: #ececec;
}

.path-card .eyebrow {
  margin-bottom: 16px;
}

.path-card-text {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  padding-right: 32px;
}

.path-card-arrow {
  position: absolute;
  bottom: 40px;
  right: 40px;
  font-size: 18px;
  color: #0071e3;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.btn-primary {
  display: inline-block;
  background: #1d1d1f;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-primary:hover {
  opacity: 0.85;
}

/* ------------------------------------------------------------------ */
/* Bullet lists                                                        */
/* ------------------------------------------------------------------ */
.bullet-list {
  list-style: none;
  margin-bottom: 32px;
  max-width: 640px;
}

.bullet-list li {
  position: relative;
  padding: 16px 0 16px 24px;
  font-size: 16px;
  line-height: 1.55;
  color: #6e6e73;
  border-bottom: 0.5px solid #ececec;
}

.bullet-list li:first-child {
  border-top: 0.5px solid #ececec;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1d1d1f;
}

.format-note {
  font-size: 14px;
  color: #6e6e73;
  margin-bottom: 32px;
  font-style: italic;
}

/* ------------------------------------------------------------------ */
/* How it works                                                        */
/* ------------------------------------------------------------------ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.step-number {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #6e6e73;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step p {
  font-size: 15px;
  color: #6e6e73;
  line-height: 1.55;
}

/* ------------------------------------------------------------------ */
/* Stats                                                                */
/* ------------------------------------------------------------------ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  text-align: center;
  padding: 24px;
  border-left: 0.5px solid #ececec;
}

.stat:first-child {
  border-left: none;
}

.stat-number {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.stat-caption {
  font-size: 13px;
  color: #6e6e73;
}

/* ------------------------------------------------------------------ */
/* Career list                                                         */
/* ------------------------------------------------------------------ */
.career-list {
  margin-top: 32px;
}

.career-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 0.5px solid #ececec;
}

.career-row:first-child {
  border-top: 0.5px solid #ececec;
}

.career-role {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.career-meta {
  font-size: 14px;
  color: #6e6e73;
  white-space: nowrap;
  text-align: right;
}

/* ------------------------------------------------------------------ */
/* Contact                                                              */
/* ------------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
  align-items: start;
}

.contact-calendly {
  min-width: 0;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #6e6e73;
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: #1d1d1f;
  background: #ffffff;
  border: 0.5px solid #ececec;
  border-radius: 10px;
  padding: 12px 14px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #0071e3;
}

.form-field textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
  text-align: center;
}

.form-status {
  margin-top: 16px;
  font-size: 14px;
  min-height: 20px;
}

.form-status.success {
  color: #1d7a2e;
}

.form-status.error {
  color: #d0342c;
}

/* ------------------------------------------------------------------ */
/* Footer                                                               */
/* ------------------------------------------------------------------ */
.footer {
  border-top: 0.5px solid #ececec;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.footer-inner a {
  font-size: 14px;
  color: #0071e3;
}

.footer-inner a:hover {
  text-decoration: underline;
}

.copyright {
  font-size: 13px;
  color: #6e6e73;
  margin-left: auto;
}

/* ------------------------------------------------------------------ */
/* Scroll-reveal animation                                              */
/* ------------------------------------------------------------------ */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ------------------------------------------------------------------ */
/* Responsive                                                           */
/* ------------------------------------------------------------------ */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column-reverse;
    gap: 40px;
    padding-top: 64px;
  }

  .hero-photo {
    width: 220px;
    margin: 0 auto;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .path-cards {
    grid-template-columns: 1fr;
    padding-bottom: 64px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .stat {
    border-left: none;
    border-top: 0.5px solid #ececec;
  }

  .stat:first-child {
    border-top: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section-inner {
    padding: 64px 24px;
  }

  .career-row {
    flex-direction: column;
    gap: 4px;
  }

  .career-meta {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 0.5px solid #ececec;
    flex-direction: column;
    gap: 0;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 16px 24px;
    border-top: 0.5px solid #ececec;
  }

  .nav-toggle {
    display: flex;
  }

  h2 {
    font-size: 28px;
  }

  .hero-text h1 {
    font-size: 30px;
  }
}
