:root {
  --ink: #111820;
  --muted: #62717d;
  --line: #dfe7ea;
  --paper: #f7faf9;
  --white: #ffffff;
  --blue: #1d5f8f;
  --green: #2c8b67;
  --gold: #d5a13b;
  --shadow: 0 20px 54px rgba(17, 24, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button {
  font: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(223, 231, 234, 0.8);
  background: rgba(247, 250, 249, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.header-cta,
.hero-actions,
.primary-btn,
.secondary-btn,
.copy-btn {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 900;
}

.brand span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
}

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

.nav-links {
  gap: clamp(18px, 3vw, 34px);
  color: #344551;
  font-size: 15px;
  font-weight: 800;
}

.nav-links a:hover {
  color: var(--blue);
}

.header-cta {
  min-height: 42px;
  padding: 0 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.96), rgba(17, 24, 32, 0.76) 42%, rgba(17, 24, 32, 0.2) 78%),
    linear-gradient(0deg, rgba(17, 24, 32, 0.55), transparent 34%);
}

.hero-content {
  width: min(780px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 88px);
  padding-top: 88px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

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

h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-content p {
  max-width: 650px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.85;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.primary-btn,
.secondary-btn,
.copy-btn {
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 18px 36px rgba(29, 95, 143, 0.26);
}

.secondary-btn,
.copy-btn {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.primary-btn:hover,
.secondary-btn:hover,
.copy-btn:hover {
  transform: translateY(-2px);
}

.profile,
.results,
.experience,
.skills,
.contact,
footer {
  padding: clamp(64px, 9vw, 106px) clamp(18px, 6vw, 88px);
}

.profile {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  background: var(--white);
}

.profile-copy h2,
.section-heading h2,
.story h2,
.case-section h2,
.contact h2 {
  margin-top: 10px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.18;
  letter-spacing: 0;
}

.profile-copy p,
.story p,
.case-section p,
.contact p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.info-card {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}

.info-card div {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.info-card div:last-child {
  border-bottom: 0;
}

.info-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.info-card strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.results {
  background: #eef5f4;
}

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

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.metric-grid article {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(17, 24, 32, 0.06);
}

.metric-grid strong {
  display: block;
  color: var(--blue);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
}

.metric-grid span {
  display: block;
  margin-top: 16px;
  color: #40515c;
  line-height: 1.6;
  font-weight: 800;
}

.story,
.case-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(64px, 9vw, 106px) clamp(18px, 6vw, 88px);
  background: var(--white);
}

.story img,
.case-section img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.case-section {
  background: #f8fbfb;
}

.experience {
  background: var(--paper);
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

.timeline article {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.time {
  color: var(--blue);
  font-weight: 900;
}

.timeline h3 {
  font-size: 23px;
}

.timeline p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.75;
}

.timeline ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: #40515c;
  line-height: 1.75;
}

.skills {
  background: var(--white);
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.skill-list span {
  padding: 12px 16px;
  border: 1px solid #cbdde2;
  border-radius: 8px;
  background: #f4f8f8;
  color: #263943;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  color: var(--white);
  background: var(--ink);
}

.contact p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-card .primary-btn,
.contact-card .copy-btn {
  width: 100%;
}

#copyStatus {
  min-height: 24px;
  color: rgba(255, 255, 255, 0.72);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 28px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 830px;
    align-items: flex-end;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(17, 24, 32, 0.16), rgba(17, 24, 32, 0.88) 46%, rgba(17, 24, 32, 0.98));
  }

  .hero-content {
    margin: 0 auto;
    padding: 118px 0 48px;
  }

  .profile,
  .metric-grid,
  .story,
  .timeline article,
  .case-section,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 66px;
    padding: 12px 16px;
  }

  .brand strong {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
  }

  .hero {
    min-height: 800px;
  }

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

  .primary-btn,
  .secondary-btn,
  .copy-btn {
    width: 100%;
  }

  .metric-grid article {
    min-height: auto;
  }

  .timeline article,
  .contact-card {
    padding: 22px;
  }

  footer {
    flex-direction: column;
  }
}
