:root {
  --cream: #faf9f6;
  --ink: #16202b;
  --ink-soft: #5b6b7a;
  --line: #e4e1da;
  --navy: #11345c;
  --navy-deep: #0a2340;
  --orange: #fc6200;
  --orange-soft: #ffe4cc;
  --paper: #ffffff;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cream);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--orange-soft);
  outline-offset: 3px;
}

.site-shell {
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px clamp(22px, 4vw, 64px) 28px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 207px;
  height: auto;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switch a {
  color: var(--ink-soft);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-decoration: none;
  opacity: 0.62;
}

.language-switch a[aria-current="page"] {
  color: var(--orange);
  opacity: 1;
}

.language-switch span {
  color: var(--line);
}

.experience {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(560px, 1.15fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: stretch;
  padding: clamp(48px, 7vh, 88px) 0 48px;
}

.intro-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 710px;
}

.eyebrow,
.question-kicker,
.result-eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Outfit", sans-serif;
}

h1 {
  max-width: 650px;
  font-size: clamp(42px, 4.3vw, 68px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.01;
}

h1 em {
  color: var(--orange);
  font-style: normal;
}

.intro-copy {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.speaker-card {
  position: relative;
  width: min(430px, 100%);
  margin: 54px 0 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: 0 24px 70px rgba(17, 52, 92, 0.16);
}

.speaker-card::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(10, 35, 64, 0.92));
  content: "";
}

.speaker-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.7 / 1;
  object-fit: cover;
  object-position: center 36%;
}

.speaker-card figcaption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 18px;
  left: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  color: white;
}

.speaker-card figcaption span:first-child {
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  font-weight: 600;
}

.speaker-card figcaption span:last-child {
  max-width: 190px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.4;
  text-align: right;
  text-transform: uppercase;
}

.matcher-card {
  min-height: 710px;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(17, 52, 92, 0.09);
}

.progress-topline {
  display: flex;
  justify-content: space-between;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.progress-topline span:last-child {
  color: #a5adb5;
}

.progress-track {
  height: 2px;
  margin: 12px 0 10px;
  overflow: hidden;
  background: var(--line);
}

.progress-track span {
  display: block;
  height: 100%;
  background: var(--orange);
  transition: width 320ms ease;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  color: #abb1b7;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.progress-labels .is-active {
  color: var(--navy);
}

.question-block {
  min-height: 492px;
  padding: 48px 0 28px;
  animation: rise 320ms ease both;
}

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

.question-block h2,
.result-view h2 {
  max-width: 660px;
  font-size: clamp(31px, 3vw, 43px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 34px;
}

.choice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-height: 108px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.choice:hover {
  border-color: #bfc7cf;
  transform: translateY(-1px);
}

.choice.is-selected {
  border-color: var(--orange);
  background: #fffaf6;
}

.choice-marker {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  place-items: center;
  border: 1.5px solid #aeb6be;
  border-radius: 50%;
}

.choice.is-selected .choice-marker {
  border: 6px solid var(--orange);
}

.choice strong,
.choice small {
  display: block;
}

.choice strong {
  color: var(--navy);
  font-size: 14px;
  line-height: 1.35;
}

.choice small {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.matcher-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.back-button,
.restart-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.back-button {
  padding: 12px 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

.back-button:disabled {
  cursor: default;
  opacity: 0;
}

.next-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 14px 25px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  background: var(--orange);
  color: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.next-button:hover {
  background: #dd5600;
  transform: translateY(-1px);
}

.next-button:disabled {
  border-color: #d6d9dc;
  background: #d6d9dc;
  cursor: not-allowed;
  transform: none;
}

.event-fields {
  display: grid;
  gap: 26px;
  margin-top: 38px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pills button {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--navy);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.pills button:hover {
  border-color: var(--navy);
}

.pills button.is-selected {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

.result-view {
  animation: rise 420ms ease both;
}

.result-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.fit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.fit-badge::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.restart-button {
  padding: 4px 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.result-eyebrow {
  margin-top: 32px;
  margin-bottom: 8px;
}

.result-view h2 {
  max-width: none;
  font-size: clamp(38px, 3.4vw, 52px);
}

.result-summary {
  max-width: 700px;
  margin: 16px 0 24px;
  color: var(--ink-soft);
  font-size: 15px;
}

.tailored-angle {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-left: 3px solid var(--orange);
  background: #fff8f2;
}

.tailored-angle span,
.session-summary span,
.blend-note span {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tailored-angle strong {
  color: var(--navy);
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.result-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 32px;
  margin-top: 26px;
}

.result-grid h3 {
  font-size: 15px;
}

.result-grid ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.result-grid li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.result-grid li::before {
  position: absolute;
  top: 8px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.session-summary {
  display: grid;
  align-content: start;
  gap: 2px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.session-summary strong {
  margin-bottom: 11px;
  color: var(--navy);
  font-size: 12px;
}

.blend-note {
  display: grid;
  gap: 2px;
  margin-top: 20px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.blend-note strong {
  color: var(--navy);
  font-size: 13px;
}

.blend-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.result-accent {
  margin: 18px 0;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.result-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.linkedin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.linkedin-button:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-1px);
}

.privacy-note {
  margin: 10px 0 0;
  color: #8f989f;
  font-size: 10px;
}

.no-script {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink-soft);
}

footer a {
  color: var(--navy);
  text-decoration: none;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
}

@media (max-width: 1040px) {
  .experience {
    grid-template-columns: 1fr;
  }

  .intro-panel {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
    align-items: end;
    min-height: 0;
  }

  .speaker-card {
    margin: 0;
  }

  .matcher-card {
    min-height: 680px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    padding: 16px 16px 24px;
  }

  .site-header {
    min-height: 62px;
  }

  .brand img {
    width: 164px;
  }

  .header-meta > span:first-child {
    display: none;
  }

  .experience {
    gap: 28px;
    padding: 36px 0 28px;
  }

  .intro-panel {
    display: block;
  }

  h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .intro-copy {
    margin-top: 20px;
    font-size: 15px;
  }

  .speaker-card {
    margin-top: 28px;
  }

  .speaker-card figcaption span:last-child {
    display: none;
  }

  .matcher-card {
    min-height: 0;
    padding: 24px 18px;
    border-radius: 20px;
  }

  .progress-labels {
    display: none;
  }

  .question-block {
    min-height: 0;
    padding: 36px 0 28px;
  }

  .question-block h2 {
    font-size: 31px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .choice {
    min-height: 90px;
  }

  .matcher-actions {
    margin-top: 18px;
  }

  .next-button {
    min-height: 49px;
    padding: 12px 19px;
  }

  .linkedin-button {
    min-height: 49px;
  }

  .result-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .session-summary {
    grid-template-columns: 0.8fr 1.2fr;
    padding: 16px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .result-actions {
    align-items: stretch;
    flex-direction: column;
  }

  footer {
    flex-direction: column;
  }
}

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