* {
  box-sizing: border-box;
}

:root {
  --ink: #1f2937;
  --muted: #5f6b7a;
  --line: #cbd5e1;
  --light: #f6f8fb;
  --accent: #234e70;
  --accent-dark: #173650;
  --white: #ffffff;
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 12px;
}

nav a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 6px;
}

nav a:hover,
nav a.active {
  background: var(--accent);
  color: var(--white);
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
}

.photo-placeholder,
.wide-placeholder,
.experience-image,
.project-image,
.artifact-placeholder {
  border: 2px dashed #8ea0b3;
  background:
    linear-gradient(135deg, transparent 48%, #d8e0e9 49%, #d8e0e9 51%, transparent 52%),
    var(--light);
  color: #66788a;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.photo-placeholder {
  min-height: 360px;
  border-radius: 18px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.05;
  margin: 0 0 14px;
}

.hero h2,
.page-banner h1 {
  margin-top: 0;
}

.hero h2 {
  color: var(--muted);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 500;
}

.placeholder-copy {
  color: var(--muted);
  max-width: 760px;
}

.button-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.button {
  background: var(--accent);
  color: white;
  padding: 12px 18px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
}

.button-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.section {
  padding: 70px 0;
}

.light-section {
  background: var(--light);
}

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

.section-heading h2,
.split-panel h2 {
  font-size: 2rem;
  margin: 0;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  border: 1px solid var(--line);
  background: white;
  padding: 28px;
  border-radius: 12px;
}

.icon-placeholder {
  width: 52px;
  height: 52px;
  border: 1px dashed #8ea0b3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--accent);
}

.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.wide-placeholder {
  min-height: 240px;
  border-radius: 12px;
}

.page-banner {
  background: var(--accent-dark);
  color: white;
  padding: 72px 0;
}

.page-banner .eyebrow {
  color: #c6d8e8;
}

.page-banner h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  margin-bottom: 16px;
}

.page-banner p {
  max-width: 760px;
  color: #dce7ef;
}

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

.experience-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 32px;
}

.experience-card h2 {
  margin-bottom: 0;
}

.experience-card h3 {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 500;
}

.experience-image {
  min-height: 220px;
  border-radius: 10px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.tag {
  background: #e7eef5;
  color: var(--accent-dark);
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}

.project-image {
  min-height: 210px;
  border: none;
  border-bottom: 2px dashed #8ea0b3;
}

.project-body {
  padding: 24px;
}

.project-body h2 {
  margin: 12px 0 8px;
  font-size: 1.35rem;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.artifact-placeholder {
  min-height: 190px;
  border-radius: 10px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 850px) {
  .hero,
  .split-panel,
  .experience-card,
  .portfolio-grid,
  .card-grid.three,
  .card-grid.two {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 30px;
  }

  .photo-placeholder {
    min-height: 260px;
  }
}

@media (max-width: 600px) {
  .nav-wrap,
  .footer-wrap,
  .meta-row {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .site-header {
    position: static;
  }

  h1 {
    font-size: 2.6rem;
  }
}

@media print {
  .site-header {
    position: static;
  }

  nav a.active {
    color: white !important;
  }
}
