:root {
  --ink: #10120f;
  --ink-soft: #252a24;
  --paper: #fbf7eb;
  --paper-strong: #fffdf7;
  --muted: #6e726b;
  --line: rgba(16, 18, 15, 0.14);
  --lime: #d7ff38;
  --coral: #ff6d42;
  --cyan: #58d9e7;
  --violet: #7f65ff;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(16, 18, 15, 0.16);
  --radius: 8px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 247, 235, 0.9);
  border-bottom: 1px solid rgba(16, 18, 15, 0.12);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.header-actions,
.button,
.hero-points,
.format-top,
.footer-inner {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: block;
}

.brand-name {
  font-size: 18px;
}

.nav {
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.nav a,
.ghost-link {
  opacity: 0.88;
  transition: opacity 160ms ease;
}

.nav a:hover,
.ghost-link:hover {
  opacity: 1;
}

.header-actions {
  gap: 12px;
}

.ghost-link {
  font-size: 14px;
  font-weight: 700;
}

.button {
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--lime);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(215, 255, 56, 0.24);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(215, 255, 56, 0.32);
}

.button svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.4;
}

.button-small {
  min-height: 42px;
  padding: 0 14px;
  font-size: 14px;
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.button-secondary:hover {
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}

.menu-button {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-button svg {
  width: 21px;
  height: 21px;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #12130f;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/hhup-hero.jpg");
  background-size: cover;
  background-position: 54% center;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(6, 7, 5, 0.9) 0%,
      rgba(6, 7, 5, 0.62) 44%,
      rgba(6, 7, 5, 0.14) 100%
    ),
    linear-gradient(
      180deg,
      rgba(6, 7, 5, 0.2) 0%,
      rgba(6, 7, 5, 0.05) 45%,
      rgba(6, 7, 5, 0.76) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 118px 0 64px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--coral);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(64px, 12vw, 156px);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 30px;
  font-size: clamp(20px, 2.6vw, 32px);
  line-height: 1.12;
  font-weight: 700;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-points {
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 800;
}

.hero-points span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
}

.intro-band {
  position: relative;
  z-index: 2;
  padding: 24px 0 74px;
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: -56px;
}

.intro-card,
.process-card,
.format-card,
.brief-form,
.diagnostic {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-strong);
}

.intro-card {
  min-height: 236px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.card-kicker {
  display: inline-flex;
  margin-bottom: 42px;
  font-size: 13px;
  font-weight: 900;
}

.intro-card h2 {
  margin-bottom: 14px;
  font-size: 27px;
  line-height: 1;
}

.intro-card p,
.route-step p,
.dark-card p,
.startup-card p,
.process-card p,
.format-card p,
.brief-copy p,
.startup-section p,
.companies-section p {
  margin-bottom: 0;
  color: var(--muted);
}

.accent-lime {
  border-top: 6px solid var(--lime);
}

.accent-coral {
  border-top: 6px solid var(--coral);
}

.accent-cyan {
  border-top: 6px solid var(--cyan);
}

.accent-violet {
  border-top: 6px solid var(--violet);
}

.section {
  padding: 104px 0;
}

.split,
.startup-layout,
.companies-grid,
.brief-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 68px;
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 110px;
}

.section-copy p,
.section-lead,
.brief-copy p {
  max-width: 620px;
  font-size: 20px;
}

.route-panel {
  position: relative;
  display: grid;
  gap: 16px;
}

.route-line {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 25px;
  width: 2px;
  background: linear-gradient(var(--coral), var(--lime), var(--cyan));
}

.route-step {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  min-height: 150px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.78);
  backdrop-filter: blur(16px);
}

.route-step span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-weight: 900;
}

.route-step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.route-step p {
  grid-column: 2;
}

.black-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(127, 101, 255, 0.18), transparent 34%),
    linear-gradient(225deg, rgba(88, 217, 231, 0.14), transparent 42%),
    var(--ink);
}

.student-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 54px;
  align-items: start;
}

.black-section h2 {
  max-width: 520px;
}

.section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.student-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.dark-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.dark-card svg {
  width: 32px;
  height: 32px;
  margin-bottom: 58px;
  color: var(--lime);
}

.dark-card p {
  color: rgba(255, 255, 255, 0.68);
}

.startup-section {
  background: var(--paper);
}

.startup-layout {
  align-items: center;
}

.startup-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.startup-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.startup-card svg {
  width: 32px;
  height: 32px;
  margin-bottom: 50px;
  color: var(--violet);
}

.featured-startup {
  color: var(--white);
  background: var(--ink);
}

.featured-startup p {
  color: rgba(255, 255, 255, 0.7);
}

.featured-startup svg {
  color: var(--lime);
}

.companies-section {
  background: var(--paper-strong);
}

.company-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.company-metrics div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 126px;
  padding: 24px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
}

.company-metrics div:nth-child(2) {
  background: var(--coral);
}

.company-metrics div:nth-child(3) {
  color: var(--ink);
  background: var(--cyan);
}

.company-metrics strong {
  font-size: 56px;
  line-height: 0.9;
}

.company-metrics span {
  font-size: 18px;
  font-weight: 800;
}

.process-section {
  background: #ece8de;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.process-grid,
.formats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-card {
  min-height: 278px;
  padding: 24px;
}

.process-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 58px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.formats-section {
  background: var(--paper);
}

.formats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.format-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.format-card.featured {
  color: var(--ink);
  background: var(--lime);
}

.format-top {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 56px;
}

.format-top svg {
  width: 34px;
  height: 34px;
}

.format-card a {
  margin-top: auto;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.brief-section {
  background: var(--paper-strong);
}

.brief-copy {
  position: sticky;
  top: 110px;
}

.diagnostic {
  margin-top: 30px;
  padding: 24px;
  border-left: 6px solid var(--coral);
  box-shadow: var(--shadow);
}

.diagnostic-label {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.diagnostic strong {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
}

.brief-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.brief-form label {
  display: grid;
  gap: 8px;
}

.brief-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brief-form input,
.brief-form select {
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  outline: none;
}

.brief-form input:focus,
.brief-form select:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 109, 66, 0.14);
}

.form-button {
  width: 100%;
  margin-top: 8px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-note.is-success {
  color: #16785d;
  font-weight: 800;
}

.footer {
  padding: 28px 0;
  color: var(--white);
  background: var(--ink);
}

.footer-inner {
  justify-content: space-between;
  gap: 20px;
}

.footer-inner div {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer a,
.footer span {
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 980px) {
  .nav,
  .ghost-link,
  .header-actions .button-small {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .site-header.is-open .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: grid;
    gap: 0;
    padding: 12px 20px 24px;
    color: var(--ink);
    background: rgba(251, 247, 235, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
  }

  .site-header.is-open .nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 22px;
  }

  .intro-grid,
  .split,
  .student-layout,
  .startup-layout,
  .companies-grid,
  .brief-grid {
    grid-template-columns: 1fr;
  }

  .section-copy,
  .brief-copy {
    position: static;
  }

  .student-grid,
  .startup-panel,
  .process-grid,
  .formats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 68px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 0 14px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-bg {
    background-position: 74% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(6, 7, 5, 0.94), rgba(6, 7, 5, 0.56)),
      linear-gradient(180deg, rgba(6, 7, 5, 0.04), rgba(6, 7, 5, 0.82));
  }

  .hero-inner {
    padding: 96px 0 42px;
  }

  h1 {
    font-size: clamp(58px, 22vw, 108px);
  }

  h2 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .hero-lead {
    font-size: 21px;
  }

  .hero-cta .button {
    width: 100%;
  }

  .intro-band {
    padding-bottom: 58px;
  }

  .intro-grid {
    margin-top: -24px;
  }

  .section {
    padding: 74px 0;
  }

  .intro-card,
  .route-step,
  .dark-card,
  .process-card,
  .format-card,
  .brief-form,
  .diagnostic {
    padding: 20px;
  }

  .student-grid,
  .startup-panel,
  .process-grid,
  .formats-grid {
    grid-template-columns: 1fr;
  }

  .route-step {
    grid-template-columns: 46px 1fr;
    min-height: 0;
  }

  .route-step span {
    width: 46px;
    height: 46px;
  }

  .route-step p {
    grid-column: 1 / -1;
  }

  .route-line {
    left: 42px;
  }

  .dark-card,
  .startup-card,
  .process-card,
  .format-card {
    min-height: 0;
  }

  .dark-card svg,
  .startup-card svg,
  .process-card span,
  .format-top {
    margin-bottom: 28px;
  }

  .company-metrics div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
