:root {
  --bg: #f6f1e8;
  --paper: #fffdf8;
  --panel: #fffaf2;
  --line: #e7dccd;
  --ink: #1e2430;
  --muted: #5e6470;
  --accent: #0d6b73;
  --accent-soft: #dff1f2;
  --sand: #efe3d1;
  --shadow: 0 20px 50px rgba(37, 32, 24, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Public Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(13, 107, 115, 0.08), transparent 24%),
    linear-gradient(180deg, #f9f5ee 0%, #f4eee4 100%);
}

.page-shell {
  width: min(1120px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.hero,
.hero-summary,
.two-column,
.skill-grid,
.project-grid,
.notes-grid {
  display: grid;
  gap: 18px;
}

.hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: end;
  margin-bottom: 20px;
}

.hero-copy,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-copy,
.panel {
  padding: 28px;
}

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

.summary-card,
.skill-card,
.project-card,
.note-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.summary-card {
  padding: 18px;
}

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

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Newsreader", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(3rem, 7vw, 5rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.intro,
.two-column p,
.skill-card p,
.project-card p,
.note-card p,
.essay-body p {
  color: var(--muted);
  line-height: 1.75;
}

.section-block {
  margin-bottom: 20px;
}

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

.two-column,
.notes-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.skill-grid,
.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.skill-card,
.project-card,
.note-card {
  padding: 20px;
}

.skill-card ul,
.project-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
}

.essay-body {
  columns: 2 320px;
  column-gap: 24px;
}

.essay-body p {
  margin: 0 0 16px;
  break-inside: avoid;
}

@media (max-width: 960px) {
  .hero,
  .two-column,
  .skill-grid,
  .project-grid,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .essay-body {
    columns: 1;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100vw - 16px, 100%);
    padding: 16px 0 28px;
  }

  .hero-copy,
  .panel {
    padding: 20px;
  }

  h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }
}
