:root {
  --paper: #f2f0eb;
  --panel: #fbfaf7;
  --ink: #1d2030;
  --muted: #6b6e78;
  --line: #dcddd8;
  --clay: #b2674b;
  --sage: #9aa786;
  --steel: #9db3c7;
  --night: #11131d;
}

* {
  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;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 13px 18px;
  background: rgba(251, 250, 247, 0.84);
  border: 1px solid rgba(220, 221, 216, 0.84);

  backdrop-filter: blur(20px);
}

.brand {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.main-nav a,
.menu-button {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  z-index: 10000;
  letter-spacing: -0.02em;
}

.main-nav a:hover,
.menu-button:hover {
  color: var(--clay);
}

.menu-button {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: black;
  color: #fff;
}

main {
  max-width: 2000px;
  margin: 0 auto;
  padding: 20px 18px 0;
}

.hero {
  margin-bottom: 200px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: end;
  gap: 34px;
  padding: 48px 0 24px;
}

.hero-copy {
  align-self: center;
  padding-bottom: 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.85rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.45rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 520px;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  background: var(--night);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-actions span {
  max-width: 220px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-board {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-auto-rows: minmax(145px, auto);
  gap: 8px;
}

.hero-board article {
  min-height: 150px;
  border: 1px solid rgba(29, 32, 48, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.image-tile {
  grid-row: span 2;
  background: var(--panel);
}

.image-tile img {
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center;
}

.stat-tile,
.detail-tile,
.color-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}
.color-tile {
  width: 225%;
}

.stat-tile {
  background: var(--night);
}

.stat-tile span {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.stat-tile p {
  color: rgba(255, 255, 255, 0.72);
}

.detail-tile {
  background: var(--panel);
}

.detail-tile span,
.color-tile span,
.info-card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.color-tile {
  background:
    linear-gradient(135deg, var(--night), rgb(67, 67, 67));
    border:none;
}

.color-tile span,
.color-tile p {
  color: #fff;
}

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.text-stack p {
  max-width: 650px;
  font-size: 1.05rem;
}

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

.link-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
}

.link-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--clay);
  border-radius: 50%;
}

.section-head {
  max-width: 700px;
  margin-bottom: 34px;
}

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

.info-card,
.challenge-list article,
.education-grid article {
  min-height: 210px;
  padding: 20px;
  background: var(--panel);
  border-radius: 8px;
}

.info-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-card p,
.challenge-list p,
.education-grid p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.compact-band {
  margin-inline: -18px;
  padding-inline: 18px;
  background: #e8e4dc;
}

.challenge-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline li:last-child {
  border-bottom: none;
}
.timeline li:hover {
  border-bottom: none;
  background: var(--panel);
  border-bottom: 3px solid var(--line);
}


.timeline time {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
}

.timeline span {
  color: var(--ink);
  font-weight: 600;
}

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

.skill-grid span {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 18px;
  background: var(--panel);
  border: none;
  font-weight: 800;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

}
.skill-grid span:hover {
  z-index: 100;
  scale: 1.05;
  background: var(--clay);
}

.salary-table {
  border-top: 1px solid var(--line);
}

.salary-table div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.salary-table div:hover {
  background: var(--panel);
}
.salary-table div:nth-child(odd) {
  background: var(--panel);
}

.salary-table strong {
  letter-spacing: -0.02em;
}

.salary-table span {
  color: var(--muted);
  font-weight: 600;
}

.education {
  margin-inline: -18px;
  padding: 88px 18px;
  color: #fff;
  background: var(--night);
}

.education .section-head,
.education-grid {
  max-width: 2000px;
  margin-inline: auto;
}

.education h2 {
  color: #fff;
}

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

.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.education-grid article {
  background: rgba(255, 255, 255, 0.06);
  border: none;
}

.education-grid h3 {
  color: #fff;
}

.outlook {
  padding-bottom: 110px;
}

.outlook h2 {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.outlook-grid p {
  min-height: 120px;
  margin: 0;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.outlook-grid strong {
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-width: 2000px;
  margin: 0 auto;
  padding: 26px 18px 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer span {
  color: var(--ink);
  font-weight: 800;
}

.site-footer p {
  margin: 0;
  font-size: inherit;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-board,
  .card-grid,
  .challenge-list,
  .skill-grid,
  .outlook-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    margin-top: 10px;
  }

  main {
    padding-inline: 12px;
  }

  h1 {
    font-size: clamp(3.1rem, 18vw, 4.7rem);
  }

  .hero {
    padding-top: 34px;
  }

  .hero-board,
  .card-grid,
  .challenge-list,
  .skill-grid,
  .education-grid,
  .outlook-grid {
    grid-template-columns: 1fr;
  }

  .image-tile {
    grid-row: auto;
  }

  .image-tile img {
    min-height: 270px;
  }

  .section,
  .education {
    padding-block: 64px;
  }

  .timeline li,
  .salary-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    flex-direction: column;
  }
}
img {
  font-size: 10rem;
}
.logoBtn {
  border: none;
  background: transparent;
  cursor: pointer;
}