:root {
  --paper: #f0eadf;
  --ink: #493b34;
  --body-text: #62554a;
  --muted: #75665a;
  --accent: #815447;
  --surface: #e1d7c7;
  --mat: #f8f2e7;
  --sans: "Manrope", Arial, sans-serif;
  --display: "Newsreader", Georgia, serif;
  --page-gutter: clamp(24px, 4vw, 64px);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
::selection {
  background: var(--accent);
  color: var(--paper);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 16px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  height: 112px;
  margin: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.wordmark {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.7px;
}
.nav-projects {
  font-size: 16px;
  padding: 12px 0;
}
.nav-projects,
.text-link,
.experience-actions a,
.story-brand,
.reading-heading h1,
.projects-heading h1,
.project h2,
.chapter-copy h1,
.chapter-copy h2 {
  color: var(--accent);
}
.text-link {
  font-size: 15px;
  padding: 15px 0;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.6px;
  line-height: 1.5;
  color: var(--muted);
}
.site-footer {
  margin: 0 6%;
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}
.site-footer a {
  color: var(--ink);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.reading-page {
  padding: 70px 6% 100px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12%;
  max-width: 1400px;
  margin: auto;
}
.reading-heading h1 {
  font-size: clamp(48px, 5.1vw, 72px);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
}
.reading-intro {
  line-height: 1.8;
  color: var(--muted);
  font-size: 17px;
  margin: 0;
  max-width: 340px;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline li {
  padding: 0 0 58px;
  scroll-margin-top: 40px;
}
.timeline li:last-child {
  padding-bottom: 0;
}
.timeline .eyebrow {
  margin: 0 0 14px;
}
.timeline h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.7px;
  margin: 0 0 20px;
}
.timeline li p:not(.eyebrow) {
  color: var(--body-text);
  font-size: 17px;
  line-height: 1.85;
  margin: 0 0 17px;
}
.timeline .text-link {
  font-size: 14px;
  padding-top: 0;
}
.projects-page {
  padding: 65px 6% 80px;
  width: 100%;
  max-width: 1400px;
  margin: auto;
}
.projects-heading {
  margin-bottom: 75px;
}
.projects-heading h1 {
  font-size: clamp(52px, 6vw, 90px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}
.projects-heading > p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin: 25px 0 0;
}
.project {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12%;
  margin-bottom: 60px;
  scroll-margin-top: 35px;
}
.project h2 {
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.8px;
  margin: 0;
}
.project p {
  max-width: 570px;
  font-size: 18px;
  line-height: 1.8;
  margin: 0 0 12px;
  color: var(--muted);
}
.redirect-page {
  padding: 10%;
}
@media (max-width: 1050px) {
  .reading-page,
  .project {
    gap: 7%;
  }
}
@media (max-width: 720px) {
  .site-header {
    height: 84px;
  }
  .wordmark {
    font-size: 17px;
    letter-spacing: -0.6px;
  }
  .nav-projects {
    font-size: 14px;
  }
  .text-link {
    font-size: 14px;
  }
  .site-footer {
    flex-wrap: wrap;
    padding: 24px 0;
  }
  .reading-page {
    display: block;
    padding: 40px 6% 55px;
  }
  .reading-heading h1 {
    font-size: 48px;
  }
  .reading-intro {
    max-width: 450px;
  }
  .timeline-wrap {
    margin-top: 60px;
  }
  .timeline h2 {
    font-size: 27px;
  }
  .timeline li p:not(.eyebrow) {
    font-size: 16px;
  }
  .projects-page {
    padding: 42px 6% 20px;
  }
  .projects-heading {
    margin-bottom: 50px;
  }
  .projects-heading h1 {
    font-size: 54px;
  }
  .project {
    display: block;
    margin-bottom: 45px;
  }
  .project h2 {
    font-size: 27px;
    margin-bottom: 18px;
  }
  .project p {
    font-size: 16px;
  }
}

/* Empty photo slots stay in place until Teja supplies the event images. */
.photo-placeholder {
  background: var(--surface);
  color: var(--body-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
}
.photo-placeholder > span {
  font-size: 18px;
  line-height: 1.4;
  max-width: 280px;
}
.photo-placeholder > small {
  font-size: 12px;
  color: var(--body-text);
}
button {
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
#explore {
  transition: transform 0.25s;
}
#explore:hover {
  transform: translateY(-3px);
}
@media (prefers-reduced-motion: reduce) {
  #explore { transition: none; }
  #explore:hover { transform: none; }
}

h1, h2 { font-family: var(--display); }
.wordmark, .story-brand { font-family: var(--sans); }

.site-nav, .footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.site-nav { font-size: 15px; color: var(--accent); }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 400px) {
  .site-header, .home-page .site-header { height: auto; min-height: 92px; padding-block: 14px; flex-wrap: wrap; gap: 0 16px; }
  .site-nav { font-size: 13px; }
}
