:root {
  --ink: #172126;
  --muted: #59666d;
  --paper: #f7f3ec;
  --surface: #ffffff;
  --line: #d8d0c4;
  --sage: #52695b;
  --clay: #af5f47;
  --blue: #2d5f73;
  --gold: #c59a43;
  --shadow: 0 24px 70px rgba(28, 35, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 243, 236, 0.88);
  border-bottom: 1px solid rgba(216, 208, 196, 0.7);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.section,
.section-band {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: end;
  min-height: calc(100vh - 79px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(4.25rem, 14vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 880px;
  margin-bottom: 28px;
  font-size: clamp(2rem, 5vw, 4.7rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.intro {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

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

.profile-panel {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-label {
  margin-bottom: 4px;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.panel-value {
  margin-bottom: 22px;
  color: var(--ink);
  font-weight: 700;
}

.panel-value:last-child {
  margin-bottom: 0;
}

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

.section-muted {
  background: #ede5d9;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.value-grid article,
.project-card,
.credential-grid a,
.credential-grid div {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.value-grid p,
.project-card p,
.split-section p,
.contact-section p {
  color: var(--muted);
}

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

.timeline-item {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 0.55fr);
  gap: 22px;
  padding: 24px 0;
  border-top: 1px solid rgba(89, 102, 109, 0.28);
}

.timeline-item:last-child {
  border-bottom: 1px solid rgba(89, 102, 109, 0.28);
}

.timeline-item p {
  margin-bottom: 0;
}

.meta {
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 700;
}

.project-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
}

.project-card a,
.credential-grid a {
  color: var(--blue);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.project-card a {
  margin-top: auto;
}

.split-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

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

.skill-list span {
  padding: 10px 12px;
  color: #fff;
  background: var(--sage);
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 800;
}

.skill-list span:nth-child(3n) {
  background: var(--blue);
}

.skill-list span:nth-child(4n) {
  background: var(--clay);
}

.credential-grid a,
.credential-grid div {
  display: grid;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.credential-grid span {
  font-weight: 800;
  line-height: 1.25;
}

.credential-grid small {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-section {
  background: var(--ink);
  color: #fff;
}

.contact-section .eyebrow {
  color: var(--gold);
}

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

.contact-section .button.primary {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.contact-section .button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

footer {
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    min-height: auto;
  }

  .value-grid,
  .project-grid,
  .credential-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 6.5rem);
  }
}

@media (max-width: 520px) {
  nav {
    gap: 8px 14px;
  }

  .button {
    width: 100%;
  }
}
