:root {
  --bg: #f4f4ef;
  --surface: #e9e9e2;
  --surface-strong: #deded6;
  --ink: #202020;
  --muted: #555555;
  --line: #c9c9c0;
  --accent: #3157ff;
  --dark: #12130f;
  --light: #f5f5ef;
  --max: 1480px;
  --pad: clamp(24px, 5vw, 84px);
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
::selection { background: var(--accent); color: white; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }


.site-header {
  height: 88px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 50;
}
.brand {
  font-size: 20px;
  font-weight: 820;
  letter-spacing: -.04em;
}
.brand span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 34px; font-size: 14px; }
.nav a { position: relative; }
.nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -7px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-contact {
  border: 1px solid var(--ink);
  padding: 9px 14px 10px;
  border-radius: 999px;
  transition: .25s ease;
}
.nav-contact:hover { background: var(--ink); color: var(--bg); }
.menu-button, .mobile-nav { display: none; }

.section-pad {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.eyebrow {
  margin: 0 0 20px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
  padding-top: 32px;
  padding-bottom: 48px;
  position: relative;
}
.hero-copy { max-width: 800px; }
.hero-name {
  margin: 0 0 18px;
  font-size: clamp(26px, 2.4vw, 40px);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(58px, 7.3vw, 126px);
  line-height: .89;
  letter-spacing: -.065em;
  font-weight: 700;
}
.hero h1 em,
.about-copy h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.045em;
}
.hero-actions {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 650;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #fff; }
.button-outline { border: 1px solid var(--ink); margin-top: 38px; }
.button-outline:hover { background: var(--ink); color: var(--bg); }
.text-link { font-size: 14px; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.hero-index {
  position: absolute;
  bottom: 24px; right: var(--pad);
  font-size: 11px;
  letter-spacing: .15em;
}


.expertise {
  padding-top: 118px;
  padding-bottom: 140px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(48px, 8vw, 150px);
}
.section-heading h2,
.work-heading h2,
.publications h2 {
  margin: 0;
  font-size: clamp(48px, 5.1vw, 86px);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 650;
}
.expertise-list { border-top: 1px solid var(--ink); }
.expertise-item {
  display: grid;
  grid-template-columns: 52px minmax(180px, .85fr) 1.15fr;
  gap: 24px;
  align-items: start;
  padding: 27px 0 30px;
  border-bottom: 1px solid var(--line);
}
.item-index { font: 600 10px/1 ui-monospace, monospace; color: var(--muted); padding-top: 7px; }
.expertise-item h3 { margin: 0; font-size: 20px; letter-spacing: -.025em; }
.expertise-item p { margin: 0; color: var(--muted); max-width: 460px; }

.work {
  background: var(--surface-strong);
  max-width: none;
  padding-top: 130px;
  padding-bottom: 140px;
}
.work > * { max-width: calc(var(--max) - (var(--pad) * 2)); margin-left: auto; margin-right: auto; }
.work-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 48px;
  margin-bottom: 72px;
}
.section-note { max-width: 420px; margin: 0 0 4px; color: var(--muted); }
.project {
  background: var(--bg);
  border-radius: var(--radius);
  position: relative;
}
.project-featured { padding: clamp(24px, 3.2vw, 52px); }
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: .1em;
  font-weight: 700;
}
.project-body {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: end;
  margin-top: 80px;
}
.project-featured h3 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(38px, 4.1vw, 72px);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 650;
}
.project-featured p { max-width: 600px; margin: 30px 0 0; color: var(--muted); font-size: 17px; }
.project-links { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 34px; font-size: 13px; }
.project-links a { border-bottom: 1px solid; padding-bottom: 3px; }
.project-graphic {
  min-height: 500px;
  position: relative;
  overflow: hidden;
  background: #171815;
}
.graphic-events {
  background:
    linear-gradient(90deg, rgba(49,87,255,.16), transparent 40%),
    radial-gradient(circle at 60% 35%, rgba(255,255,255,.08), transparent 25%),
    #151612;
}
.event-field { position: absolute; inset: 0; }
.event-dot { position: absolute; width: 2px; height: 2px; background: #dce0ff; opacity: .65; }
.event-dot:nth-child(3n) { background: #3157ff; width: 3px; height: 3px; }
.bbox { position: absolute; border: 1px solid rgba(255,255,255,.72); }
.bbox::before {
  content: "OBJECT";
  position: absolute; left: -1px; top: -17px;
  color: rgba(255,255,255,.72);
  font: 600 8px/1 ui-monospace, monospace;
  letter-spacing: .08em;
}
.bbox-1 { left: 18%; top: 28%; width: 22%; height: 32%; }
.bbox-2 { left: 55%; top: 18%; width: 27%; height: 24%; }
.bbox-3 { left: 62%; top: 63%; width: 16%; height: 20%; }
.fps-badge {
  position: absolute; left: 16px; bottom: 16px;
  background: var(--accent); color: white;
  padding: 7px 9px;
  font: 700 9px/1 ui-monospace, monospace;
  letter-spacing: .08em;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.project-compact { min-height: 420px; padding: 30px; display: flex; flex-direction: column; }
.project-compact h3 { margin: auto 0 18px; max-width: 600px; font-size: clamp(29px, 2.7vw, 46px); line-height: 1.02; letter-spacing: -.045em; }
.project-compact p { margin: 0; max-width: 620px; color: var(--muted); }
.project-arrow { position: absolute; right: 28px; top: 70px; font-size: 24px; }
.project-dark { background: var(--dark); color: var(--light); }
.project-dark .project-meta, .project-dark p { color: #9a9b91; }

.about {
  padding-top: 150px;
  padding-bottom: 150px;
  display: grid;
  grid-template-columns: .55fr 1.2fr;
  column-gap: clamp(60px, 9vw, 180px);
  row-gap: 110px;
}
.about-kicker { min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; }
.monogram {
  width: 128px; height: 128px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: grid; place-items: center;
  font-size: 28px; font-weight: 750; letter-spacing: -.06em;
}
.about-copy h2 {
  margin: 0;
  font-size: clamp(48px, 5.5vw, 92px);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 620;
}
.about-copy p { margin: 48px 0 0; max-width: 720px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.timeline { grid-column: 2; border-top: 1px solid var(--ink); }
.timeline-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  padding: 24px 0 28px;
  border-bottom: 1px solid var(--line);
}
.timeline-year { font: 600 10px/1.4 ui-monospace, monospace; color: var(--muted); }
.timeline-row div { display: flex; justify-content: space-between; gap: 30px; }
.timeline-row strong { font-size: 18px; }
.timeline-row span:last-child { color: var(--muted); }

.research-banner {
  max-width: none;
  background: var(--accent);
  color: white;
  padding-top: 72px;
  padding-bottom: 72px;
  overflow: hidden;
}
.research-banner > .eyebrow { max-width: calc(var(--max) - (var(--pad) * 2)); margin-left: auto; margin-right: auto; }
.research-marquee {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: clamp(52px, 7.2vw, 120px);
  line-height: .9;
  letter-spacing: -.06em;
  white-space: nowrap;
}
.research-marquee i { font-family: Georgia, serif; font-weight: 400; }
.research-list { display: none; }

.publications {
  padding-top: 64px;
  padding-bottom: 56px;
  background: var(--surface);
}
.publications .section-heading { margin-bottom: 72px; }
.publication-list { border-top: 1px solid var(--ink); }
.publication-row {
  display: grid;
  grid-template-columns: 85px 1.5fr .65fr 30px;
  gap: 24px;
  align-items: center;
  min-height: 110px;
  border-bottom: 1px solid var(--line);
  transition: padding .25s ease, background .25s ease;
}
.publication-row:hover { padding-left: 14px; padding-right: 14px; background: rgba(255,255,255,.34); }
.pub-year, .pub-venue { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.pub-title { font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.02em; }
.pub-arrow { text-align: right; font-size: 19px; }

.contact {
  max-width: none;
  background: var(--dark);
  color: var(--light);
  padding-top: 125px;
  padding-bottom: 130px;
}
.contact > * { max-width: calc(var(--max) - (var(--pad) * 2)); margin-left: auto; margin-right: auto; }
.contact h2 {
  margin-top: 0;
  margin-bottom: 60px;
  font-size: clamp(52px, 6.4vw, 108px);
  line-height: .93;
  letter-spacing: -.06em;
  font-weight: 620;
}
.contact-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #3b3c37;
  border-bottom: 1px solid #3b3c37;
  padding: 22px 0;
  font-size: 18px;
}
.contact-link span { font-size: 26px; }

.footer {
  min-height: 86px;
  background: var(--dark);
  color: #83847b;
  border-top: 1px solid #2c2d28;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 0 var(--pad);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer a { justify-self: end; color: var(--light); }

.reveal { opacity: 1; transform: translateY(0); }
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.2,1);
}
.js .reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-button {
    display: flex;
    width: 42px; height: 42px;
    border: 0; background: transparent;
    flex-direction: column;
    align-items: center; justify-content: center;
    gap: 7px; cursor: pointer;
    position: relative; z-index: 70;
  }
  .menu-button span { width: 24px; height: 1px; background: var(--ink); transition: transform .25s ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav {
    display: flex;
    position: fixed;
    z-index: 45;
    inset: 0;
    background: var(--bg);
    padding: 130px var(--pad) 50px;
    flex-direction: column;
    gap: 8px;
    transform: translateY(-105%);
    transition: transform .45s cubic-bezier(.2,.75,.2,1);
  }
  .mobile-nav.open { transform: translateY(0); }
  .mobile-nav a { font-size: clamp(36px, 9vw, 64px); line-height: 1.15; letter-spacing: -.04em; padding: 8px 0; }

  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 20px; }
  .hero-visual { width: 100%; min-height: 620px; max-height: none; aspect-ratio: 1.05; margin-top: 18px; }
  .hero-index { display: none; }
  .expertise { grid-template-columns: 1fr; }
  .work-heading { align-items: start; flex-direction: column; }
  .project-body { grid-template-columns: 1fr; margin-top: 60px; }
  .project-graphic { min-height: 450px; }
  .about { grid-template-columns: 1fr; row-gap: 70px; }
  .about-kicker { min-height: 0; flex-direction: row; align-items: flex-end; }
  .timeline { grid-column: 1; }
}

@media (max-width: 700px) {
  .site-header { height: 74px; }
  .hero { padding-top: 16px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(54px, 17vw, 82px); }
  .hero-visual { min-height: 480px; }
  .visual-label-bottom span:nth-child(2) { display: none; }
  .expertise { padding-top: 88px; padding-bottom: 100px; gap: 48px; }
  .expertise-item { grid-template-columns: 38px 1fr; gap: 14px; }
  .expertise-item p { grid-column: 2; }
  .work { padding-top: 95px; padding-bottom: 100px; }
  .work-heading { margin-bottom: 48px; }
  .project-featured { padding: 22px; }
  .project-body { margin-top: 56px; }
  .project-graphic { min-height: 360px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-compact { min-height: 360px; }
  .about { padding-top: 100px; padding-bottom: 110px; }
  .monogram { width: 82px; height: 82px; font-size: 20px; }
  .timeline-row { grid-template-columns: 1fr; gap: 12px; }
  .timeline-row div { flex-direction: column; gap: 4px; }
  .research-marquee { display: none; }
  .research-list { display: flex; flex-direction: column; gap: 8px; font-size: clamp(38px, 12vw, 56px); line-height: 1; letter-spacing: -.05em; }
  .research-banner > .eyebrow, .research-list { max-width: calc(var(--max) - (var(--pad) * 2)); margin-left: auto; margin-right: auto; }
  .publications { padding-top: 56px; padding-bottom: 56px; }
  .publication-row { grid-template-columns: 54px 1fr 24px; padding: 22px 0; min-height: 0; }
  .pub-venue { grid-column: 2; }
  .pub-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .contact { padding-top: 95px; padding-bottom: 100px; }
  .footer { grid-template-columns: 1fr auto; padding-top: 28px; padding-bottom: 28px; }
  .footer span:nth-child(2) { display: none; }
}

/* V2: static visual system and GitHub section */


.research-banner { overflow: visible; }
.research-marquee { display: none !important; animation: none !important; }
.research-list-desktop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid rgba(255,255,255,.25);
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.research-list-desktop span {
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,.25);
  font-size: clamp(20px, 2vw, 31px);
  letter-spacing: -.035em;
}
.research-list-desktop span:first-child { padding-left: 0; }
.research-list-desktop span:last-child { border-right: 0; }

/* Keep content visible without scroll-triggered animation. */
.reveal,
.js .reveal,
.js .reveal.visible {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.github {
  padding-top: 56px;
  padding-bottom: 145px;
  background: var(--surface-strong);
  max-width: none;
}
.github > * {
  max-width: calc(var(--max) - (var(--pad) * 2));
  margin-left: auto;
  margin-right: auto;
}
.github-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 70px;
}
.github-heading h2 {
  margin: 0;
  font-size: clamp(48px, 5.1vw, 86px);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 650;
}
.github-profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 5px;
}
.github-handle {
  font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .02em;
  color: var(--muted);
}
.github-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.repo-card {
  min-height: 420px;
  padding: 30px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  transition: transform .25s ease, background .25s ease;
}
.repo-card:hover { transform: translateY(-4px); }
.repo-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.repo-card-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: .1em;
  font-weight: 700;
}
.repo-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.repo-card h3 {
  margin: 74px 0 18px;
  font-size: clamp(28px, 2.3vw, 42px);
  line-height: 1;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.repo-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.repo-card-link {
  margin-top: auto;
  padding-top: 30px;
  font-size: 12px;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.repo-card-dark {
  background: #171815;
  color: #f4f4ef;
}
.repo-card-dark p,
.repo-card-dark .repo-card-top { color: rgba(244,244,239,.62); }
.repo-card-dark .repo-card-link { border-top-color: rgba(244,244,239,.16); }
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(26px, 5vw, 70px);
  align-items: baseline;
}

@media (max-width: 900px) {
  .research-list-desktop { grid-template-columns: repeat(2, 1fr); }
  .research-list-desktop span:nth-child(2) { border-right: 0; }
  .research-list-desktop span:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.25); }
  .github-heading { align-items: flex-start; flex-direction: column; }
  .github-grid { grid-template-columns: 1fr; }
  .repo-card { min-height: 320px; }
}

@media (max-width: 620px) {
  .research-list-desktop { grid-template-columns: 1fr; }
  .research-list-desktop span {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.25);
    padding: 22px 0;
  }
  .research-list-desktop span:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.25); }
  .research-list-desktop span:last-child { border-bottom: 0; }
  .github { padding-top: 56px; padding-bottom: 105px; }
  .github-heading { margin-bottom: 46px; }
  .repo-card { min-height: 300px; padding: 24px; }
  .repo-card h3 { margin-top: 54px; }
}


/* V3: purely typographic layout; decorative SVG/event visuals removed. */
.hero {
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
.hero-copy {
  max-width: none;
}
.hero h1 {
  max-width: 1040px;
}
.hero-intro {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}
.project-body {
  grid-template-columns: minmax(0, 1fr);
  max-width: 980px;
}
.project-featured h3 {
  max-width: 900px;
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .project-body { grid-template-columns: 1fr; }
}

/* Shared persistent navigation */
.site-header {
  height: auto;
  min-height: 88px;
}
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-button,
.mobile-nav { display: none !important; }

@media (max-width: 980px) {
  .nav {
    display: flex;
    gap: clamp(12px, 3vw, 26px);
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 112px;
    padding-top: 18px;
    padding-bottom: 16px;
    flex-wrap: wrap;
    row-gap: 15px;
  }
  .brand { width: 100%; }
  .nav {
    width: 100%;
    justify-content: flex-end;
    gap: clamp(10px, 4vw, 18px);
    font-size: 12px;
  }
  .nav-contact { padding: 7px 10px 8px; }
}

/* Curriculum vitae */
.cv-main { padding-bottom: 140px; }
.cv-hero {
  padding-top: clamp(62px, 8vw, 118px);
  padding-bottom: clamp(82px, 11vw, 170px);
}
.cv-hero h1 {
  max-width: 1060px;
  margin: 0;
  font-size: clamp(18px, 5.5vw, 92px);
  line-height: .88;
  letter-spacing: -.065em;
  font-weight: 650;
  white-space: nowrap;
}
.cv-intro {
  max-width: 860px;
  margin: 48px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 1.8vw, 27px);
  line-height: 1.55;
  letter-spacing: -.02em;
}
.cv-section {
  display: grid;
  grid-template-columns: minmax(190px, .45fr) minmax(0, 1.55fr);
  gap: clamp(42px, 8vw, 140px);
  padding-top: 78px;
  padding-bottom: 92px;
  border-top: 1px solid var(--ink);
}
.cv-section-heading h2 {
  position: sticky;
  top: 28px;
  margin: 0;
  font-size: clamp(32px, 3vw, 50px);
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 650;
}
.cv-entries { border-top: 1px solid var(--line); }
.cv-entry {
  display: grid;
  grid-template-columns: minmax(130px, .34fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 76px);
  padding: 30px 0 36px;
  border-bottom: 1px solid var(--line);
}
.cv-date {
  color: var(--muted);
  font: 600 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.cv-entry h3 {
  margin: -3px 0 8px;
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 650;
}
.cv-place { margin: 0 0 20px; color: var(--muted); }
.cv-entry p { max-width: 780px; margin: 0 0 14px; }
.cv-entry p:last-child { margin-bottom: 0; }
.cv-entry ul { max-width: 780px; margin: 14px 0 0; padding-left: 20px; }
.cv-entry li + li { margin-top: 8px; }
.cv-entry strong { font-weight: 700; }
.cv-entry-wide { grid-template-columns: 1fr; }
.cv-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.cv-skill-list li {
  margin: 0;
  padding: 9px 13px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
}
.cv-skill-list li + li { margin-top: 0; }
.cv-footer-note { color: var(--muted); }

@media (max-width: 800px) {
  .cv-main { padding-bottom: 90px; }
  .cv-section { grid-template-columns: 1fr; gap: 38px; padding-top: 60px; padding-bottom: 72px; }
  .cv-section-heading h2 { position: static; }
}

@media (max-width: 560px) {
  .cv-hero { padding-top: 54px; padding-bottom: 88px; }
  .cv-intro { margin-top: 34px; }
  .cv-entry { grid-template-columns: 1fr; gap: 12px; }
}
