:root {
  --ink: #243246;
  --muted: #6f7a86;
  --line: #e2e7eb;
  --paper: #fbfbfa;
  --soft: #f3f6f7;
  --panel: #ffffff;
  --accent: #f07f35;
  --accent-dark: #d76625;
  --amber: #f07f35;
  --blue: #33465d;
  --slate: #747f8b;
  --slate-dark: #243246;
  --peach: #f7c7a4;
  --shadow: 0 22px 60px rgba(36, 50, 70, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(251, 251, 250, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  white-space: nowrap;
}

.mark {
  position: relative;
  top: -0.45em;
  margin-left: 2px;
  font-size: 0.56em;
  line-height: 0;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0;
}

.brand-mark::after {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  content: "";
}

.nav-links {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 6px;
}

.nav-links a:hover {
  background: var(--soft);
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-weight: 720;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(240, 127, 53, 0.22);
}

.button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button-secondary {
  background: transparent;
  border-color: var(--slate-dark);
  color: var(--slate-dark);
  box-shadow: none;
}

.button-secondary:hover {
  background: var(--slate-dark);
  border-color: var(--slate-dark);
  color: #fff;
}

.button-small {
  min-height: 38px;
  padding: 9px 13px;
  font-size: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(34px, 5vw, 72px);
  min-height: min(760px, calc(100vh - 128px));
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 72px) 36px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(243, 246, 247, 0.9), rgba(251, 251, 250, 0.98) 58%),
    linear-gradient(135deg, rgba(247, 199, 164, 0.28), rgba(255, 255, 255, 0) 45%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero::before {
  position: absolute;
  top: 82px;
  right: 9%;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(116, 127, 139, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 24px rgba(116, 127, 139, 0.06),
    0 0 0 54px rgba(116, 127, 139, 0.045);
  content: "";
}

.hero::after {
  position: absolute;
  left: 45%;
  bottom: 88px;
  width: 96px;
  height: 96px;
  background-image: radial-gradient(var(--peach) 1.4px, transparent 1.4px);
  background-size: 9px 9px;
  opacity: 0.9;
  content: "";
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: 0;
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: 19px;
}

h1,
h2,
h3,
.button,
.mode-button,
.skill-cloud span {
  overflow-wrap: anywhere;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.vacancy-note {
  max-width: 680px;
  margin-top: 24px;
  padding: 18px;
  border-left: 4px solid var(--amber);
  background: rgba(255, 255, 255, 0.7);
}

.vacancy-note span {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

.vacancy-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.vacancy-note p {
  margin: 0;
  color: var(--muted);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 36px 0 0;
}

.signal-grid div {
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(36, 50, 70, 0.05);
}

.signal-grid dt {
  color: var(--slate-dark);
  margin-bottom: 8px;
  font-weight: 820;
}

.signal-grid dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  padding: 24px;
  border: 1px solid rgba(36, 50, 70, 0.12);
  border-radius: 8px;
  background: var(--slate);
  box-shadow: var(--shadow);
}

.hero-visual::before {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 20px rgba(255, 255, 255, 0.08),
    0 0 0 42px rgba(255, 255, 255, 0.05);
  content: "";
}

.hero-visual::after {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: 86px;
  height: 86px;
  background-image: radial-gradient(var(--peach) 1.3px, transparent 1.3px);
  background-size: 8px 8px;
  content: "";
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: 64vh;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(36, 50, 70, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(36, 50, 70, 0.24);
}

.section {
  scroll-margin-top: 88px;
  padding: clamp(64px, 8vw, 104px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

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

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.match-section {
  background: #fff;
}

.mode-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.mode-button {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 720;
}

.mode-button:hover,
.mode-button.is-active {
  border-color: var(--accent);
  background: #fff4ec;
  color: var(--slate-dark);
}

.match-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: 28px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, var(--soft));
}

.panel-label {
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.evidence-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.evidence-card,
.process-grid article {
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 28px rgba(36, 50, 70, 0.06);
}

.evidence-card {
  border-top: 3px solid var(--accent);
}

.evidence-card p,
.process-grid p {
  color: var(--muted);
}

.period {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 820;
}

.evidence-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.performance-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: start;
  background: #fff;
}

.performance-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.performance-list article {
  min-height: 240px;
  padding-top: 20px;
  border-top: 3px solid var(--amber);
}

.performance-list p {
  color: var(--muted);
}

.process-section {
  background: linear-gradient(90deg, rgba(243, 246, 247, 0.96), rgba(255, 255, 255, 0.94));
}

.process-grid article {
  min-height: 230px;
  background: #fff;
}

.step {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--amber);
  font-weight: 840;
}

.skills-section {
  background: #fff;
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--muted);
  font-weight: 680;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(36, 50, 70, 0.98), rgba(116, 127, 139, 0.96)),
    var(--ink);
  color: #fff;
}

.contact-section .eyebrow,
.contact-section p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-section h2 {
  max-width: 820px;
}

.footer {
  padding: 24px clamp(20px, 5vw, 72px);
  background: #1b2634;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

@media (max-width: 1020px) {
  .hero,
  .match-panel,
  .performance-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
    justify-content: flex-start;
  }

  .evidence-grid,
  .process-grid,
  .performance-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    min-height: auto;
    padding: 12px 20px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 4px;
    overflow-x: auto;
    font-size: 13px;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 7px 6px;
  }

  .button-small {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 18px;
  }

  .signal-grid,
  .evidence-grid,
  .process-grid,
  .performance-list {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 340px;
  }

  .hero-visual img {
    max-height: none;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 34px;
  }
}
