:root {
  --ink: #102027;
  --muted: #63727a;
  --line: #d9e3e4;
  --paper: #f7faf9;
  --white: #ffffff;
  --teal: #007d7c;
  --teal-dark: #005b5d;
  --lime: #c9e265;
  --steel: #243b4a;
  --shadow: 0 24px 70px rgba(16, 32, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(247, 250, 249, 0.86);
  border-bottom: 1px solid rgba(217, 227, 228, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.hero-actions,
.contact-links,
.site-footer {
  display: flex;
  align-items: center;
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-size: 0.82rem;
}

.main-nav {
  gap: clamp(14px, 2.4vw, 32px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--teal-dark);
}

.nav-call {
  padding: 10px 15px;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 8px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  min-height: calc(100svh - 72px);
  border-bottom: 1px solid var(--line);
}

.hero-media {
  min-height: 560px;
  background: var(--steel);
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 24%;
}

.hero-content {
  align-self: center;
  padding: clamp(42px, 7vw, 92px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 6.4vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 760px;
  color: var(--steel);
  font-size: clamp(1.03rem, 1.3vw, 1.25rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 42px 0 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.signal-strip div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.signal-strip dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-strip dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 4vw, 56px);
}

.intro-band,
.split-band {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: start;
}

.intro-copy {
  color: var(--steel);
  font-size: 1.08rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 800;
  white-space: nowrap;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(280px, 1fr);
  gap: 24px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(16, 32, 39, 0.06);
}

.timeline-meta {
  display: grid;
  align-content: start;
  gap: 6px;
  color: var(--muted);
}

.timeline-meta span,
.education-list span {
  color: var(--teal-dark);
  font-weight: 800;
}

.timeline-meta strong {
  color: var(--ink);
}

.timeline-body p,
.skill-card p,
.education-list p,
.contact-copy p,
.legal-note p,
.form-note {
  color: var(--muted);
}

.timeline-body ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.timeline-body li + li {
  margin-top: 8px;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
}

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

.skill-card {
  min-height: 188px;
  padding: 24px;
  background: #eef5f3;
  border: 1px solid #dce9e7;
  border-radius: 8px;
}

.skill-card:nth-child(2) {
  background: #f4f6ea;
}

.skill-card:nth-child(3) {
  background: #eef3f9;
}

.skill-card:nth-child(4) {
  background: #f5f0ea;
}

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

.education .section-kicker {
  color: var(--lime);
}

.education-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.education-list article {
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.education-list span {
  color: var(--lime);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 82px);
  background:
    linear-gradient(135deg, rgba(0, 125, 124, 0.1), rgba(201, 226, 101, 0.16)),
    var(--paper);
}

.contact-copy {
  align-self: center;
}

.contact-links {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  font-weight: 800;
}

.contact-links a {
  color: var(--teal-dark);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--steel);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(0, 125, 124, 0.16);
}

.hidden {
  display: none;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.legal-note {
  padding: 28px clamp(20px, 4vw, 56px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.legal-note details {
  max-width: 980px;
}

.legal-note summary {
  cursor: pointer;
  font-weight: 800;
}

.legal-note p {
  margin: 12px 0 0;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 4vw, 56px);
  color: var(--muted);
  background: var(--white);
}

@media (max-width: 960px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .intro-grid,
  .split-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    order: 1;
  }

  .hero-media {
    order: 2;
    min-height: 420px;
  }

  .hero-content {
    padding: 40px 24px 54px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .education-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .brand span:last-child {
    display: none;
  }

  .nav-call {
    padding-inline: 12px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .signal-strip,
  .skill-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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