:root {
  color-scheme: light;
  --bg: #f7f6f1;
  --ink: #18201c;
  --muted: #657068;
  --line: rgb(24 32 28 / 0.16);
  --soft-line: rgb(24 32 28 / 0.09);
  --accent: #276b4d;
  --accent-soft: #dfeee5;
  --panel: rgb(255 255 255 / 0.58);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

.site-shell {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 30px 0 72px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 52px;
  color: var(--muted);
  font-size: 0.92rem;
}

.brand {
  color: var(--ink);
  font-weight: 820;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a {
  text-decoration-thickness: 1px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 34px;
  align-items: end;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

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

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.7rem, 10vw, 9.2rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.section {
  padding: 34px 0;
  border-bottom: 1px solid var(--soft-line);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1;
}

h3 {
  font-size: 1.05rem;
}

.lede {
  max-width: 800px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.split-list,
.experience-list,
.note-list {
  display: grid;
  gap: 14px;
}

.experience {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid var(--soft-line);
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.experience p,
.note p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.bullet-list {
  margin: 14px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
  line-height: 1.72;
}

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

.skill {
  padding-top: 16px;
  border-top: 1px solid var(--soft-line);
}

.skill p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.contact-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--accent);
  color: white;
  padding: 0 16px;
  font: inherit;
  font-weight: 820;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

button:disabled {
  cursor: wait;
  opacity: 0.68;
}

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

.status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.redacted {
  display: inline-flex;
  align-items: center;
  min-height: 1.5em;
  border-radius: 4px;
  background: var(--accent-soft);
  color: transparent;
  padding: 0 0.45em;
  user-select: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100vw - 28px, 680px);
    padding-top: 22px;
  }

  .site-header,
  .hero,
  .experience,
  .contact-panel {
    display: block;
  }

  .site-nav {
    margin-top: 12px;
  }

  .hero-copy,
  .contact-panel button {
    margin-top: 20px;
  }

  .skills {
    grid-template-columns: 1fr;
  }
}
