:root {
  --ink: #172126;
  --muted: #5b676d;
  --quiet: #7b878d;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --line: #d9d2c7;
  --accent: #1b6b75;
  --accent-deep: #124e55;
  --warm: #b65f3a;
  --shadow: 0 24px 70px rgba(23, 33, 38, 0.13);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  background: rgba(247, 244, 238, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.72fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) 0 clamp(52px, 8vw, 96px);
}

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

.eyebrow,
.section-kicker,
.project-type,
.timeline-date {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.75rem, 5.2vw, 4.35rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-summary {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

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

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

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-deep);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 33, 38, 0.12);
  border-radius: 8px;
  background: #e7dfd5;
  box-shadow: var(--shadow);
}

.hero-image-wrap::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(23, 33, 38, 0), rgba(23, 33, 38, 0.18));
  content: "";
  pointer-events: none;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 92px) 0;
  border-top: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.43fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.85rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-body {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-body p {
  margin: 0;
}

.section-body p + p {
  margin-top: 20px;
}

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

.strength-card,
.project-card,
.resume-panel {
  min-width: 0;
  border: 1px solid rgba(23, 33, 38, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.strength-card {
  min-height: 260px;
  padding: 24px;
}

.card-number {
  display: block;
  margin-bottom: 24px;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.strength-card h3,
.project-card h3,
.timeline-item h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.25;
}

.strength-card p,
.project-card p,
.timeline-item p,
.resume-panel p {
  color: var(--muted);
}

.strength-card p,
.project-card p {
  margin: 14px 0 0;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.timeline-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.timeline-date {
  margin-bottom: 8px;
}

.timeline-org {
  margin: 6px 0 0;
  color: var(--quiet);
  font-weight: 650;
}

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

.project-card {
  min-height: 290px;
  padding: 24px;
}

.project-type {
  color: var(--warm);
}

.resume-panel {
  padding: 26px;
}

.resume-panel p {
  margin: 0 0 20px;
  font-size: 1.02rem;
}

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

.resume-links a,
.contact-links a,
.contact-links span {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.resume-links a:hover,
.resume-links a:focus-visible,
.contact-links a:hover,
.contact-links a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-section {
  padding-bottom: clamp(64px, 9vw, 104px);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
  padding: clamp(28px, 5vw, 46px);
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
}

.contact-card h2 {
  color: #ffffff;
}

.contact-card .section-kicker {
  color: #8cc6ca;
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links a,
.contact-links span {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.contact-links span {
  color: rgba(255, 255, 255, 0.74);
}

.contact-links a:hover,
.contact-links a:focus-visible {
  border-color: #8cc6ca;
  color: #8cc6ca;
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

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

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .section-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-image-wrap {
    width: min(420px, 100%);
  }

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

@media (max-width: 680px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .site-nav {
    gap: 8px 13px;
    font-size: 0.84rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.1rem);
  }

  .hero-actions,
  .resume-links {
    grid-template-columns: 1fr;
  }

  .button,
  .resume-links a {
    width: 100%;
  }

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

  .strength-card,
  .project-card {
    min-height: auto;
    padding: 22px;
  }

  .contact-card {
    padding: 24px;
  }
}
