:root {
  --ink: #0a0a0a;
  --ink-soft: #171717;
  --paper: #f2efe7;
  --paper-deep: #e5e0d5;
  --white: #fffefa;
  --muted: #77756e;
  --amber: #c48a3a;
  --rust: #9f4f45;
  --teal: #4e8178;
  --line-dark: rgba(255, 255, 255, 0.18);
  --line-light: rgba(10, 10, 10, 0.18);
  --page-gutter: clamp(22px, 4vw, 72px);
  --header-height: 72px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  padding: 0 var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-color: var(--line-dark);
  backdrop-filter: blur(14px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.wordmark-mark {
  display: block;
  font-family: var(--serif);
  font-size: 23px;
}

.wordmark-name {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--amber);
  transition: right 180ms ease;
}

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

.site-nav a:hover::after,
.site-nav a.is-active::after {
  right: 0;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid var(--line-dark);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: min(900px, 100svh);
  padding: calc(var(--header-height) + 70px) var(--page-gutter) 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(36px, 7vw, 120px);
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: var(--header-height) 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}

.hero::after {
  content: "";
  position: absolute;
  left: 43%;
  top: 18%;
  bottom: 12%;
  width: 1px;
  background: var(--line-dark);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.signal {
  margin: 0 0 20px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.signal-dark {
  color: var(--rust);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(72px, 9vw, 138px);
  font-weight: 400;
  line-height: 0.88;
}

.hero-thesis {
  margin: 0 0 30px;
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 0.98;
}

.hero-thesis span {
  display: block;
}

.hero-title-muted {
  color: rgba(255, 255, 255, 0.48);
  font-style: italic;
}

.hero-summary {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.55;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  content: "↗";
  font-size: 15px;
  transition: transform 160ms ease;
}

.text-link[href^="#"]::after {
  content: "↓";
}

.text-link:hover::after {
  transform: translate(3px, -3px);
}

.text-link[href^="#"]:hover::after {
  transform: translateY(3px);
}

.text-link-light {
  color: var(--white);
}

.portrait-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  margin: 0 auto;
}

.portrait-wrap img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(0.72) contrast(1.04);
}

.portrait-wrap::before {
  content: "";
  position: absolute;
  inset: -15px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.portrait-wrap::after {
  content: "";
  position: absolute;
  right: -16px;
  bottom: 48px;
  width: 80px;
  height: 80px;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
}

.portrait-index {
  position: absolute;
  top: 6%;
  left: -22px;
  z-index: 3;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.portrait-wrap figcaption {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
}

.hero-coordinate {
  position: absolute;
  right: var(--page-gutter);
  bottom: 22px;
  display: flex;
  gap: 24px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.status-rail {
  min-height: 92px;
  padding: 20px var(--page-gutter);
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  color: var(--ink);
  background: var(--amber);
}

.status-label {
  margin: 0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.status-item {
  min-height: 44px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(10, 10, 10, 0.35);
  font-family: var(--serif);
  font-size: 17px;
}

.section {
  padding: 120px var(--page-gutter);
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  column-gap: clamp(30px, 5vw, 90px);
  border-bottom: 1px solid var(--line-light);
}

.section-marker {
  grid-column: 1;
  grid-row: 1 / span 5;
}

.section-marker span {
  display: block;
  margin-bottom: 12px;
  color: var(--rust);
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
}

.section-marker p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.section-heading {
  grid-column: 2;
  max-width: 960px;
  margin-bottom: 68px;
}

.section-heading h2,
.startup-intro h2,
.notes-intro h2,
.contact-section h2 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(42px, 5.5vw, 82px);
  font-weight: 400;
  line-height: 1.02;
}

.section-heading > p:last-child {
  max-width: 740px;
  margin: 0;
  color: #52514d;
  font-size: 18px;
}

.startup-section {
  grid-template-columns: 120px minmax(0, 0.95fr) minmax(320px, 0.75fr);
}

.startup-intro {
  grid-column: 2;
  padding-right: clamp(0px, 3vw, 50px);
}

.startup-intro h2 {
  max-width: 760px;
}

.startup-lede {
  max-width: 690px;
  margin: 0;
  color: #4f4e49;
  font-size: 20px;
}

.startup-body {
  grid-column: 3;
  padding: 12px 0 0 clamp(30px, 4vw, 64px);
  border-left: 1px solid var(--line-light);
}

.startup-body > p {
  margin: 0 0 24px;
  font-size: 17px;
}

.support-note {
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
}

.focus-list {
  margin-top: 36px;
  border-top: 1px solid var(--line-light);
}

.focus-item {
  padding: 16px 0;
  display: grid;
  grid-template-columns: 36px 1fr;
  border-bottom: 1px solid var(--line-light);
  font-size: 14px;
}

.focus-item span:first-child {
  color: var(--rust);
  font-family: var(--serif);
}

.research-themes {
  grid-column: 2;
  margin-bottom: 94px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.theme {
  min-height: 270px;
  padding: 30px;
  border-right: 1px solid var(--line-light);
}

.theme:last-child {
  border-right: 0;
}

.theme-index,
.column-index {
  margin: 0 0 48px;
  color: var(--rust);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.theme h3 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
  line-height: 1.1;
}

.theme p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.subsection-heading {
  grid-column: 2;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.subsection-heading > p {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
}

.publication-list {
  grid-column: 2;
  border-top: 1px solid var(--ink);
}

.publication {
  padding: 34px 0;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 180px;
  gap: 30px;
  border-bottom: 1px solid var(--line-light);
}

.publication-year {
  margin: 0;
  color: var(--rust);
  font-family: var(--serif);
  font-size: 22px;
}

.publication h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 35px);
  font-weight: 400;
  line-height: 1.18;
}

.publication-authors,
.publication-detail,
.publication-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.publication-detail {
  margin-top: 16px;
  color: #44433f;
}

.publication-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.publication-status {
  padding-left: 10px;
  border-left: 3px solid var(--teal);
}

.sisyphus-section {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #000;
}

.sisyphus-section img {
  width: 100%;
  height: 100%;
  max-height: 880px;
  object-fit: contain;
  object-position: left center;
}

.sisyphus-copy {
  z-index: 2;
  max-width: 700px;
  padding: 80px var(--page-gutter) 80px 30px;
}

.sisyphus-copy blockquote {
  margin: 0 0 34px;
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 92px);
  font-style: italic;
  line-height: 1;
}

.sisyphus-copy > p:last-child {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 18px;
}

.work-section {
  grid-template-columns: 120px minmax(300px, 0.78fr) minmax(0, 1.22fr);
}

.work-image {
  grid-column: 2;
  position: sticky;
  top: calc(var(--header-height) + 30px);
  align-self: start;
}

.work-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(0.74) contrast(1.05);
}

.work-image p {
  margin: 18px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
}

.project-list {
  grid-column: 3;
  padding-left: clamp(36px, 6vw, 92px);
}

.project {
  padding: 10px 0 40px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--line-light);
}

.project-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.project-index {
  margin: 0;
  color: var(--rust);
  font-family: var(--serif);
}

.project-type {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project h3 {
  margin: 20px 0 14px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 400;
  line-height: 1;
}

.project > p {
  max-width: 720px;
  margin: 0 0 22px;
  color: #4e4d48;
}

.tag-list {
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-list span::before {
  content: "•";
  margin-right: 8px;
  color: var(--teal);
}

.timeline {
  grid-column: 2;
  border-top: 1px solid var(--ink);
}

.timeline-item {
  padding: 30px 0;
  display: grid;
  grid-template-columns: 150px minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  border-bottom: 1px solid var(--line-light);
}

.timeline-date {
  margin: 0;
  color: var(--rust);
  font-family: var(--serif);
  font-size: 17px;
}

.timeline-item h3 {
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.timeline-role,
.timeline-item > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.notes-section {
  padding: 120px var(--page-gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(60px, 10vw, 170px);
  color: var(--white);
  background: var(--rust);
}

.notes-intro {
  max-width: 790px;
}

.notes-intro .signal {
  color: #f2c989;
}

.notes-intro > p:not(.signal) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
}

.notes-intro .text-link {
  margin-top: 24px;
}

.question-list {
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.question {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--serif);
  font-size: 21px;
}

.question span:first-child {
  color: #f2c989;
  font-size: 13px;
}

.question p {
  margin: 0;
}

.personal-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.personal-column {
  min-width: 0;
  padding: 34px;
  border-right: 1px solid var(--line-light);
}

.personal-column:last-child {
  border-right: 0;
}

.personal-column h3 {
  min-height: 96px;
  margin-bottom: 34px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-list a {
  padding: 5px 8px;
  border: 1px solid var(--line-light);
  color: #4e4d48;
  font-size: 12px;
  text-decoration: none;
}

.inline-list a:hover {
  color: var(--paper);
  background: var(--ink);
}

.playlist-links {
  margin-top: 30px;
  display: grid;
  gap: 10px;
}

.playlist-links a {
  font-family: var(--serif);
  font-style: italic;
}

.book-list {
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

.book-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line-light);
  color: #44433f;
  font-family: var(--serif);
}

.book-list span {
  display: block;
  padding-left: 24px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
}

.returning-list {
  border-top: 1px solid var(--line-light);
}

.returning-list p {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--serif);
  font-size: 19px;
}

.contact-section {
  padding: 110px var(--page-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(50px, 9vw, 150px);
  color: var(--white);
  background: var(--ink);
}

.contact-section h2 {
  margin: 0;
  max-width: 900px;
}

.contact-actions {
  align-self: end;
}

.contact-email {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 36px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 32px);
  overflow-wrap: anywhere;
  text-decoration: none;
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.social-list a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.social-list a:hover {
  color: var(--amber);
}

footer {
  min-height: 84px;
  padding: 24px var(--page-gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.38);
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  font-size: 11px;
}

footer p {
  margin: 0;
}

footer p:nth-child(2) {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
}

footer a {
  justify-self: end;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  }

  .hero::after {
    display: none;
  }

  .startup-section {
    grid-template-columns: 90px 1fr;
  }

  .startup-body {
    grid-column: 2;
    margin-top: 54px;
    padding: 0;
    border-left: 0;
  }

  .work-section {
    grid-template-columns: 90px minmax(270px, 0.7fr) minmax(0, 1fr);
  }

  .project-list {
    padding-left: 42px;
  }

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

  .personal-column:nth-child(2) {
    border-right: 0;
  }

  .personal-column:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line-light);
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 66px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    padding: 50px var(--page-gutter);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    visibility: hidden;
    opacity: 0;
    background: rgba(10, 10, 10, 0.98);
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .site-nav a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-dark);
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
  }

  .site-nav a::after {
    display: none;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 70px);
    padding-bottom: 30px;
    grid-template-columns: 1fr;
  }

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

  .portrait-wrap {
    position: absolute;
    top: 104px;
    right: var(--page-gutter);
    width: clamp(118px, 23vw, 180px);
    margin: 0;
  }

  .portrait-wrap::before {
    inset: -7px;
  }

  .portrait-wrap::after,
  .portrait-index,
  .portrait-wrap figcaption {
    display: none;
  }

  .hero-coordinate {
    display: none;
  }

  .status-rail {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .status-list {
    grid-template-columns: 1fr;
  }

  .status-item {
    padding: 12px 0;
    border-left: 0;
    border-top: 1px solid rgba(10, 10, 10, 0.35);
  }

  .section,
  .startup-section,
  .work-section {
    padding-top: 86px;
    padding-bottom: 86px;
    grid-template-columns: 1fr;
  }

  .section-marker {
    grid-column: 1;
    grid-row: auto;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .section-marker span {
    margin: 0;
  }

  .section-marker p {
    writing-mode: horizontal-tb;
  }

  .section-heading,
  .startup-intro,
  .startup-body,
  .research-themes,
  .subsection-heading,
  .publication-list,
  .work-image,
  .project-list,
  .timeline,
  .personal-grid {
    grid-column: 1;
  }

  .work-image {
    position: static;
    margin-bottom: 70px;
  }

  .work-image img {
    aspect-ratio: 16 / 10;
  }

  .project-list {
    padding-left: 0;
  }

  .research-themes {
    grid-template-columns: 1fr;
  }

  .theme {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .theme:last-child {
    border-bottom: 0;
  }

  .theme-index {
    margin-bottom: 24px;
  }

  .publication {
    grid-template-columns: 80px 1fr;
  }

  .publication-meta {
    grid-column: 2;
  }

  .sisyphus-section {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .sisyphus-section img {
    height: 76svh;
    max-height: 760px;
    object-position: center;
  }

  .sisyphus-copy {
    padding: 20px var(--page-gutter) 90px;
  }

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

  .timeline-item > p:last-child {
    grid-column: 2;
  }

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

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

  .personal-column,
  .personal-column:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .personal-column:last-child {
    grid-column: auto;
    border-top: 0;
    border-bottom: 0;
  }

  .personal-column h3 {
    min-height: auto;
  }
}

@media (max-width: 540px) {
  .wordmark-name {
    display: none;
  }

  h1 {
    font-size: 68px;
  }

  .hero .signal {
    max-width: 190px;
  }

  .hero-thesis {
    font-size: 36px;
  }

  .hero-summary {
    font-size: 17px;
  }

  .portrait-wrap {
    width: 118px;
  }

  .section-heading h2,
  .startup-intro h2,
  .notes-intro h2,
  .contact-section h2 {
    font-size: 42px;
  }

  .publication {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .publication-meta {
    grid-column: 1;
  }

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

  .timeline-item > p:last-child {
    grid-column: 1;
  }

  .sisyphus-section img {
    height: 64svh;
  }

  .notes-section,
  .contact-section {
    padding: 86px var(--page-gutter);
  }

  .personal-column {
    padding: 30px 0;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: left;
  }

  footer p:nth-child(2) {
    text-align: left;
  }

  footer a {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/*
  ============================================================================
  FIRST SCREEN - WORKSPACE HERO
  The words and image paths are edited in src/content.js, not in this file.
  ============================================================================
*/

.hero {
  position: relative;
  height: calc(100svh - 48px);
  min-height: 660px;
  max-height: 960px;
  padding: calc(var(--header-height) + 46px) var(--page-gutter) 54px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero::before,
.hero::after {
  content: none;
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
  filter: saturate(0.88) contrast(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.96) 0%,
      rgba(5, 5, 5, 0.9) 20%,
      rgba(5, 5, 5, 0.68) 39%,
      rgba(5, 5, 5, 0.06) 66%
    ),
    linear-gradient(
      0deg,
      rgba(4, 4, 4, 0.4) 0%,
      transparent 30%,
      rgba(4, 4, 4, 0.2) 100%
    );
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(43vw, 680px);
  max-width: 680px;
  padding-top: 18px;
}

.hero h1 {
  margin-bottom: 18px;
  font-size: clamp(72px, 7.2vw, 116px);
  line-height: 0.9;
}

.hero-thesis {
  max-width: 640px;
  margin: 0 0 24px;
  font-size: clamp(28px, 3.1vw, 49px);
  line-height: 1.02;
}

.hero-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--serif);
  font-size: clamp(15px, 1.2vw, 19px);
}

.identity-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #8be3ad;
  box-shadow: 0 0 18px rgba(139, 227, 173, 0.45);
}

.identity-divider {
  width: 18px;
  height: 1px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.36);
}

.hero-wave {
  width: min(100%, 520px);
  height: 56px;
  margin: 24px 0 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  color: #8ca991;
}

.hero-wave::before,
.hero-wave::after {
  content: "";
  height: 1px;
  flex: 1;
  background: currentColor;
  opacity: 0.65;
}

.hero-wave span {
  width: 1px;
  height: 8px;
  flex: 0 0 auto;
  background: currentColor;
  transform: skewX(-20deg);
  opacity: 0.75;
}

.hero-wave span:nth-child(3n) {
  height: 24px;
}

.hero-wave span:nth-child(5n) {
  height: 42px;
}

.hero-wave span:nth-child(7n) {
  height: 15px;
}

.hero-person {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-person img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 4px;
  filter: saturate(0.8);
}

.hero-person p {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
}

.hero-scroll {
  position: absolute;
  left: var(--page-gutter);
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-line {
  position: relative;
  width: 44px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
}

.scroll-line::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  transform: rotate(-45deg);
}

.text-link::after {
  content: "\2197";
}

.text-link[href^="#"]::after {
  content: "\2193";
}

.tag-list span::before {
  content: "\2022";
}

@media (max-width: 1080px) {
  .hero-copy {
    width: min(49vw, 590px);
  }

  .hero h1 {
    font-size: clamp(66px, 8.5vw, 96px);
  }

  .hero-thesis {
    font-size: clamp(28px, 3.8vw, 42px);
  }

  .hero-background {
    object-position: 56% bottom;
  }
}

@media (max-width: 820px) {
  .hero {
    height: calc(100svh - 44px);
    min-height: 590px;
    max-height: none;
    padding: calc(var(--header-height) + 42px) var(--page-gutter) 48px;
    align-items: flex-start;
  }

  .hero-background {
    object-position: 69% bottom;
  }

  .hero-shade {
    background:
      linear-gradient(
        90deg,
        rgba(5, 5, 5, 0.95) 0%,
        rgba(5, 5, 5, 0.82) 55%,
        rgba(5, 5, 5, 0.18) 100%
      ),
      linear-gradient(
        0deg,
        rgba(4, 4, 4, 0.58) 0%,
        rgba(4, 4, 4, 0.08) 54%,
        rgba(4, 4, 4, 0.25) 100%
      );
  }

  .hero-copy {
    width: min(76vw, 570px);
    max-width: 570px;
    padding-top: 0;
  }

  .hero h1 {
    font-size: clamp(60px, 13vw, 88px);
  }

  .hero-thesis {
    max-width: 500px;
    font-size: clamp(27px, 6vw, 39px);
  }

  .hero-wave {
    width: min(82%, 430px);
    height: 42px;
    margin: 16px 0 14px;
  }

  .hero-person img {
    width: 70px;
    height: 70px;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 540px) {
  .hero {
    min-height: 560px;
    padding-top: calc(var(--header-height) + 34px);
  }

  .hero-background {
    object-position: 72% bottom;
  }

  .hero-copy {
    width: 88vw;
  }

  .hero .signal {
    max-width: 230px;
    margin-bottom: 14px;
    font-size: 9px;
  }

  .hero h1 {
    margin-bottom: 14px;
    font-size: clamp(54px, 16vw, 72px);
  }

  .hero-thesis {
    max-width: 380px;
    margin-bottom: 18px;
    font-size: clamp(25px, 7.6vw, 34px);
  }

  .hero-identity {
    flex-wrap: wrap;
    gap: 7px;
    max-width: 320px;
    font-size: 14px;
  }

  .hero-wave {
    width: 75%;
    margin: 11px 0;
  }

  .hero-person {
    gap: 13px;
  }

  .hero-person img {
    width: 62px;
    height: 62px;
  }

  .hero-person p {
    margin-bottom: 5px;
    font-size: 11px;
  }

  .hero-person .text-link {
    font-size: 10px;
  }
}

/*
  ============================================================================
  CONTENT REFINEMENT V2
  Research interests, quote viewer, writing, personal archive, and gallery.
  All words and list items remain editable in src/content.js.
  ============================================================================
*/

.status-list {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(64px, 6.2vw, 102px);
}

.hero-thesis {
  max-width: 590px;
  font-size: clamp(27px, 2.75vw, 44px);
}

.research-interests {
  grid-column: 2;
  margin-bottom: 94px;
  border-top: 1px solid var(--ink);
}

.research-interest {
  min-height: 150px;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  border-bottom: 1px solid var(--line-light);
}

.interest-index {
  margin: 3px 0 0;
  color: var(--rust);
  font-family: var(--serif);
  font-size: 19px;
}

.research-interest h3 {
  max-width: 900px;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(25px, 3.3vw, 48px);
  font-weight: 400;
  line-height: 1.08;
}

.research-interest div > p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.quote-viewer {
  z-index: 2;
  max-width: 760px;
  padding: 80px var(--page-gutter) 80px 34px;
}

.quote-viewer > h2 {
  max-width: 650px;
  margin: 0 0 54px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 400;
  line-height: 1;
}

.quote-stage {
  min-height: 290px;
}

.quote-stage.is-entering {
  animation: quote-enter 420ms ease both;
}

.quote-stage blockquote {
  max-width: 720px;
  margin: 0 0 32px;
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 64px);
  font-style: italic;
  line-height: 1.03;
}

.quote-credit {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.quote-credit span:first-child {
  color: var(--amber);
  font-weight: 800;
  text-transform: uppercase;
}

.quote-navigation {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote-button {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.38);
  cursor: pointer;
}

.quote-button:hover,
.quote-button:focus-visible {
  color: var(--ink);
  background: var(--white);
}

.quote-button span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.quote-previous span {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.quote-next span {
  transform: translate(-65%, -50%) rotate(45deg);
}

.quote-count {
  width: 64px;
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
}

.writing-section {
  color: var(--white);
  background: var(--rust);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.writing-section .section-marker span,
.writing-section .signal {
  color: #f2c989;
}

.writing-section .section-marker p,
.writing-section .section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.64);
}

.writing-section .section-heading {
  margin-bottom: 54px;
}

.writing-section .text-link {
  margin-top: 24px;
  color: var(--white);
}

.medium-list {
  grid-column: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.medium-post {
  position: relative;
  padding: 32px 0;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 54px;
  gap: 24px;
  color: inherit;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  text-decoration: none;
}

.medium-post-index {
  color: #f2c989;
  font-family: var(--serif);
  font-size: 18px;
}

.medium-post-meta {
  margin-bottom: 17px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.medium-post h3 {
  max-width: 980px;
  margin-bottom: 9px;
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 50px);
  font-weight: 400;
  line-height: 1.05;
}

.medium-post-subtitle {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}

.medium-post-summary {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.medium-post-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 18px;
  transition: color 160ms ease, background-color 160ms ease;
}

.medium-post:hover .medium-post-arrow,
.medium-post:focus-visible .medium-post-arrow {
  color: var(--rust);
  background: var(--white);
}

.elsewhere-section {
  color: var(--white);
  background: #0c0c0c;
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.elsewhere-section .section-marker span,
.elsewhere-section .signal {
  color: var(--amber);
}

.elsewhere-section .section-marker p,
.elsewhere-section .section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.55);
}

.personal-stage {
  grid-column: 2;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.listening-room,
.reading-room,
.returning-room {
  min-width: 0;
  padding: clamp(34px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(34px, 7vw, 100px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.personal-title-block h3 {
  max-width: 420px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 400;
  line-height: 1;
}

.artist-flow {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 10px 18px;
}

.artist-flow a {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--serif);
  font-size: clamp(19px, 2.4vw, 34px);
  text-decoration: none;
}

.artist-flow a::after {
  content: "/";
  margin-left: 18px;
  color: var(--amber);
}

.artist-flow a:hover {
  color: var(--amber);
}

.listening-room .playlist-links {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
}

.listening-room .playlist-links a {
  color: var(--amber);
  font-size: 15px;
  text-decoration: none;
}

.reading-room {
  color: var(--ink);
  background: #d3bd55;
}

.reading-room .column-index {
  color: var(--rust);
}

.book-shelf {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  list-style: none;
}

.book-shelf li {
  position: relative;
  min-height: 84px;
  padding: 17px 14px 15px 22px;
  border-bottom: 1px solid rgba(10, 10, 10, 0.34);
  font-family: var(--serif);
  font-size: 18px;
}

.book-shelf li::before {
  content: "";
  position: absolute;
  inset: 16px auto 16px 0;
  width: 5px;
  background: var(--rust);
}

.book-shelf li:nth-child(3n + 2)::before {
  background: var(--teal);
}

.book-shelf li:nth-child(3n)::before {
  background: var(--ink);
}

.book-shelf span {
  display: block;
  margin-top: 4px;
  color: rgba(10, 10, 10, 0.62);
  font-family: var(--sans);
  font-size: 11px;
}

.returning-room {
  color: var(--white);
  background: var(--rust);
}

.returning-room .column-index {
  color: #f2c989;
}

.returning-room .returning-list {
  border-top: 1px solid rgba(255, 255, 255, 0.36);
}

.returning-room .returning-list p {
  padding: 19px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  font-size: clamp(20px, 2.5vw, 34px);
  line-height: 1.08;
}

.returning-room .returning-list span {
  color: #f2c989;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.gallery-section {
  background: var(--paper);
}

.gallery-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(18px, 2vw, 32px);
}

.gallery-item {
  min-width: 0;
  margin: 0;
}

.gallery-item:nth-child(1) {
  grid-column: span 5;
}

.gallery-item:nth-child(2) {
  grid-column: span 7;
  align-self: end;
}

.gallery-item:nth-child(3) {
  grid-column: span 7;
}

.gallery-item:nth-child(4) {
  grid-column: span 5;
}

.gallery-media {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
  background: var(--ink-soft);
}

.gallery-portrait .gallery-media {
  aspect-ratio: 4 / 5;
}

.gallery-landscape .gallery-media {
  aspect-ratio: 16 / 10;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-media:hover img {
  transform: scale(1.025);
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  border: 1px solid rgba(10, 10, 10, 0.14);
}

.gallery-item:nth-child(1) .gallery-placeholder {
  color: rgba(255, 255, 255, 0.68);
  background: #171717;
}

.gallery-item:nth-child(2) .gallery-placeholder {
  color: rgba(255, 255, 255, 0.75);
  background: var(--teal);
}

.gallery-item:nth-child(3) .gallery-placeholder {
  color: rgba(10, 10, 10, 0.7);
  background: var(--amber);
}

.gallery-item:nth-child(4) .gallery-placeholder {
  color: rgba(255, 255, 255, 0.72);
  background: var(--rust);
}

.gallery-placeholder span {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 110px);
}

.gallery-item figcaption {
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 11px;
}

.gallery-item figcaption span:first-child {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
}

@keyframes quote-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero h1 {
    font-size: clamp(58px, 7.4vw, 82px);
  }

  .research-interest h3 {
    font-size: clamp(25px, 3.8vw, 42px);
  }

  .listening-room,
  .reading-room,
  .returning-room {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 820px) {
  .hero h1 {
    max-width: 520px;
    font-size: clamp(53px, 11.5vw, 76px);
  }

  .research-interests,
  .medium-list,
  .personal-stage,
  .gallery-grid {
    grid-column: 1;
  }

  .research-interest {
    grid-template-columns: 60px 1fr;
  }

  .quote-viewer {
    padding: 10px var(--page-gutter) 86px;
  }

  .quote-viewer > h2 {
    margin-bottom: 38px;
  }

  .quote-stage {
    min-height: 240px;
  }

  .medium-post {
    grid-template-columns: 48px minmax(0, 1fr) 42px;
    gap: 14px;
  }

  .listening-room,
  .reading-room,
  .returning-room {
    padding: 42px var(--page-gutter);
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .book-shelf {
    grid-template-columns: 1fr;
  }

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

  .gallery-item:nth-child(n) {
    grid-column: span 1;
    align-self: start;
  }
}

@media (max-width: 540px) {
  .hero h1 {
    max-width: 330px;
    font-size: clamp(48px, 14.5vw, 62px);
    line-height: 0.92;
  }

  .hero-thesis {
    max-width: 330px;
    font-size: clamp(22px, 7vw, 30px);
  }

  .research-interest {
    min-height: 0;
    padding: 24px 0;
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .research-interest h3 {
    font-size: 26px;
  }

  .quote-stage blockquote {
    font-size: 34px;
  }

  .medium-post {
    grid-template-columns: 1fr 38px;
  }

  .medium-post-index {
    display: none;
  }

  .medium-post-meta {
    gap: 7px 14px;
  }

  .medium-post h3 {
    font-size: 29px;
  }

  .medium-post-arrow {
    width: 36px;
    height: 36px;
  }

  .personal-title-block h3 {
    font-size: 38px;
  }

  .artist-flow a {
    font-size: 22px;
  }

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

  .gallery-item:nth-child(n) {
    grid-column: 1;
  }

  .gallery-portrait .gallery-media {
    aspect-ratio: 4 / 4.5;
  }
}

/*
  ============================================================================
  DESKTOP TYPE + LAYOUT TUNING
  EDIT HERE: These values control the large section headings and final contact
  layout. Change only the clamp() values if you want them larger or smaller.
  ============================================================================
*/

.hero-thesis-row {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-thesis-row .hero-thesis {
  margin: 0;
}

.hero-thesis-row .identity-dot {
  width: 11px;
  height: 11px;
  box-shadow: 0 0 18px rgba(139, 227, 173, 0.42);
}

.section-heading h2,
.startup-intro h2,
.notes-intro h2 {
  font-size: clamp(40px, 4.15vw, 64px);
  line-height: 1.04;
}

.startup-intro h2 {
  max-width: 700px;
  font-size: clamp(39px, 3.85vw, 58px);
  line-height: 1.08;
}

.startup-body {
  grid-column: 3;
  grid-row: 2;
  align-self: start;
  margin-top: 22px;
  padding-top: 0;
}

.startup-body > p:empty {
  display: none;
}

.startup-body .focus-list {
  margin-top: 0;
}

.quote-viewer {
  max-width: 720px;
}

.quote-viewer > h2 {
  max-width: 600px;
  margin-bottom: 42px;
  font-size: clamp(36px, 3.7vw, 56px);
  line-height: 1.04;
}

.quote-stage {
  min-height: 250px;
}

.quote-stage blockquote {
  max-width: 680px;
  font-size: clamp(30px, 3.35vw, 49px);
  line-height: 1.08;
}

.medium-post h3 {
  font-size: clamp(25px, 2.75vw, 40px);
  line-height: 1.1;
}

.personal-title-block h3 {
  font-size: clamp(28px, 3.15vw, 46px);
  line-height: 1.06;
}

.contact-section {
  min-height: 560px;
  padding-top: 88px;
  padding-bottom: 88px;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(60px, 10vw, 170px);
}

.contact-section > div:first-child {
  max-width: 650px;
}

.contact-section h2 {
  max-width: 640px;
  font-size: clamp(40px, 4.25vw, 64px);
  line-height: 1.04;
}

.contact-actions {
  width: 100%;
  padding: 42px 0 42px clamp(34px, 5vw, 76px);
  align-self: center;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.contact-email {
  margin-bottom: 30px;
  font-size: clamp(21px, 2vw, 29px);
}

@media (max-width: 1080px) {
  .startup-body {
    grid-column: 2;
    grid-row: auto;
    align-self: auto;
    margin-top: 40px;
  }

  .contact-section {
    min-height: 520px;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  }
}

@media (max-width: 820px) {
  .hero-thesis-row {
    gap: 12px;
  }

  .startup-body {
    grid-column: 1;
    grid-row: auto;
    margin-top: 40px;
  }

  .contact-section {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .contact-actions {
    padding: 34px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
  }
}

@media (max-width: 540px) {
  .hero-thesis-row {
    margin-bottom: 18px;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-thesis-row .identity-dot {
    width: 9px;
    height: 9px;
    margin-top: 9px;
  }

  .section-heading h2,
  .startup-intro h2,
  .notes-intro h2,
  .contact-section h2 {
    font-size: 38px;
  }

  .quote-viewer > h2 {
    font-size: 36px;
  }

  .quote-stage blockquote {
    font-size: 30px;
  }

  .medium-post h3 {
    font-size: 27px;
  }

  .personal-title-block h3 {
    font-size: 34px;
  }
}

/*
  ============================================================================
  QUOTE, NEUROEVE FACTS, AND VAULT ORDER REFINEMENT
  EDIT HERE: Adjust the quote accent and startup fact typography below.
  ============================================================================
*/

.startup-body {
  grid-column: 2;
  grid-row: 2;
  width: min(100%, 700px);
  margin-top: 28px;
  padding: 0;
  border-left: 0;
}

.startup-body .focus-list {
  border-top: 1px solid rgba(10, 10, 10, 0.46);
}

.startup-body .focus-item {
  min-height: 66px;
  padding: 18px 0;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.42;
}

.startup-body .focus-item span:first-child {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.quote-stage {
  position: relative;
  min-height: 0;
  margin-bottom: 34px;
  padding: 42px 40px 34px;
  color: var(--white);
  background: #111;
  border-top: 1px solid rgba(196, 138, 58, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--amber);
}

.quote-stage::before {
  content: "\201C";
  position: absolute;
  top: 4px;
  left: 24px;
  color: var(--amber);
  font-family: var(--serif);
  font-size: 58px;
  line-height: 1;
}

.quote-stage blockquote {
  max-width: 640px;
  margin: 0 0 28px;
  color: rgba(255, 254, 250, 0.94);
  font-size: clamp(29px, 3vw, 44px);
  line-height: 1.12;
}

.quote-credit {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 1080px) {
  .startup-body {
    grid-column: 2;
    width: min(100%, 700px);
  }
}

@media (max-width: 820px) {
  .startup-body {
    grid-column: 1;
    grid-row: auto;
    margin-top: 34px;
  }

  .quote-stage {
    padding: 40px 28px 30px;
  }
}

@media (max-width: 540px) {
  .startup-body .focus-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
    font-size: 16px;
  }

  .quote-stage {
    margin-bottom: 26px;
    padding: 38px 22px 26px;
  }

  .quote-stage::before {
    left: 16px;
    font-size: 50px;
  }

  .quote-stage blockquote {
    font-size: 28px;
  }
}

/*
  ============================================================================
  PHOTOGRAPHY CONTACT SHEET
  EDIT HERE: Gallery images and captions live in src/content.js. These rules
  control only the alternating portrait/landscape composition.
  ============================================================================
*/

.gallery-grid {
  gap: 34px clamp(18px, 2vw, 30px);
  padding-top: 28px;
  border-top: 1px solid rgba(10, 10, 10, 0.34);
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(5) {
  grid-column: 1 / span 4;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(6) {
  grid-column: 5 / span 8;
}

.gallery-item:nth-child(3) {
  grid-column: 9 / span 4;
}

.gallery-item:nth-child(4) {
  grid-column: 1 / span 8;
}

.gallery-media,
.gallery-portrait .gallery-media,
.gallery-landscape .gallery-media {
  height: clamp(420px, 34vw, 590px);
  aspect-ratio: auto;
}

.gallery-media img {
  filter: saturate(0.92) contrast(1.02);
}

.gallery-item:nth-child(1) img {
  object-position: center 50%;
}

.gallery-item:nth-child(2) img {
  object-position: center 44%;
}

.gallery-item:nth-child(3) img {
  object-position: center 52%;
}

.gallery-item:nth-child(4) img,
.gallery-item:nth-child(5) img,
.gallery-item:nth-child(6) img {
  object-position: center 50%;
}

.gallery-item figcaption {
  padding-top: 14px;
  border-top: 1px solid rgba(10, 10, 10, 0.12);
}

.gallery-item figcaption span:first-child {
  font-size: 18px;
}

@media (max-width: 820px) {
  .gallery-grid {
    gap: 30px 18px;
  }

  .gallery-item:nth-child(n) {
    grid-column: auto;
  }

  .gallery-media,
  .gallery-portrait .gallery-media,
  .gallery-landscape .gallery-media {
    height: clamp(300px, 52vw, 440px);
  }
}

@media (max-width: 540px) {
  .gallery-item:nth-child(n) {
    grid-column: 1;
  }

  .gallery-media,
  .gallery-portrait .gallery-media,
  .gallery-landscape .gallery-media {
    height: auto;
  }

  .gallery-portrait .gallery-media {
    aspect-ratio: 3 / 4;
  }

  .gallery-landscape .gallery-media {
    aspect-ratio: 4 / 3;
  }
}
