:root {
  color-scheme: dark;
  --bg: #35332f;
  --surface: #4a473f;
  --text: #f6f0e5;
  --muted: #d6d0c4;
  --line: rgb(246 240 229 / 20%);
  --yellow: #e6c95f;
  --clay: #d7a186;
  --sage: #aab49b;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f0e5;
  --surface: #ebe4d8;
  --text: #35332f;
  --muted: #706b61;
  --line: rgb(53 51 47 / 18%);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Nunito, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  transition:
    background 0.25s,
    color 0.25s;
}
a {
  color: inherit;
  text-decoration: none;
}
.page-shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}
.brand-mark {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 25px;
  background: var(--yellow);
  border-radius: 50% 50% 48% 10%;
  transform: rotate(-35deg);
}
.brand-mark i {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  right: 4px;
  top: 4px;
}
.brand-mark i + i {
  right: 9px;
  top: 11px;
}
.brand-mark.small {
  width: 20px;
  height: 20px;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  color: var(--text);
  padding: 7px 12px;
  font:
    700 0.78rem/1 Nunito,
    sans-serif;
}
.theme-toggle:hover {
  border-color: var(--yellow);
}
.hero {
  padding: 98px 0 116px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.eyebrow span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  max-width: 720px;
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  margin-bottom: 28px;
}
h1 em {
  color: var(--yellow);
  font-style: normal;
}
.hero-copy {
  max-width: 550px;
  color: var(--muted);
  font-size: 1.15rem;
}
.world-note {
  max-width: 550px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.world-note em,
.name-reference em {
  color: var(--text);
}
.text-link,
.card-link,
.back-link {
  font-weight: 800;
}
.text-link {
  display: inline-block;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 3px;
  margin-top: 16px;
}
.text-link span,
.card-link span,
.button-link span {
  color: var(--yellow);
  margin-left: 5px;
}
.projects {
  padding: 76px 0 120px;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 36px;
}
.section-heading .eyebrow {
  margin: 0;
}
.section-heading h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  letter-spacing: -0.04em;
  margin: 0;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.card-illustration,
.feature-art {
  position: relative;
  height: 266px;
  overflow: hidden;
}
.card-eve .card-illustration,
.eve-art {
  background: #705f57;
}
.card-lucien .card-illustration,
.lucien-art {
  background: #87917e;
}
.moon,
.sun {
  position: absolute;
  width: 104px;
  height: 104px;
  border-radius: 50%;
}
.moon {
  top: 36px;
  right: 15%;
  background: #f1d988;
}
.sun {
  top: 42px;
  right: 19%;
  background: #e6c95f;
}
.cave {
  position: absolute;
  bottom: -5px;
  border-radius: 50% 50% 0 0;
}
.cave-back {
  width: 140%;
  height: 180px;
  background: #4f453f;
  left: -15%;
}
.cave-front {
  width: 70%;
  height: 155px;
  background: #35332f;
  left: -13%;
}
.star {
  position: absolute;
  color: #f6f0e5;
}
.star-one {
  top: 42px;
  left: 22%;
  font-size: 24px;
}
.star-two {
  top: 90px;
  left: 45%;
  font-size: 28px;
}
.book {
  position: absolute;
  bottom: 0;
  border-radius: 5px 5px 0 0;
  box-shadow: inset -7px 0 rgb(0 0 0 / 10%);
}
.book-one {
  left: 16%;
  width: 82px;
  height: 160px;
  background: #d7a186;
}
.book-two {
  left: 34%;
  width: 95px;
  height: 207px;
  background: #f0dfaf;
  transform: rotate(-5deg);
}
.book-three {
  left: 54%;
  width: 75px;
  height: 130px;
  background: #4a473f;
}
.spark {
  position: absolute;
  color: #f6f0e5;
}
.spark-one {
  left: 19%;
  top: 46px;
}
.spark-two {
  right: 14%;
  top: 138px;
  font-size: 19px;
}
.card-content {
  padding: 27px 28px 30px;
}
.project-number {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.card-content h3 {
  font-size: 2rem;
  letter-spacing: -0.045em;
  margin-bottom: 8px;
}
.card-content > p:not(.project-number) {
  min-height: 75px;
  color: var(--muted);
}
.card-link {
  display: inline-block;
  margin-top: 10px;
}
.card-link:hover,
.site-footer a:hover {
  color: var(--yellow);
}
.site-footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer p {
  margin: 0;
}
.site-footer a {
  margin-left: auto;
  font-weight: 800;
  color: var(--text);
}
.project-page {
  padding-top: 48px;
}
.back-link {
  color: var(--muted);
}
.back-link:hover {
  color: var(--yellow);
}
.project-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 76px 0 100px;
}
.project-intro h1 {
  margin-bottom: 18px;
}
.project-lede {
  max-width: 425px;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1.4;
}
.feature-art {
  height: 360px;
  border-radius: 18px;
}
.feature-art .moon,
.feature-art .sun {
  transform: scale(1.35);
  top: 55px;
}
.feature-art .cave-front {
  height: 220px;
}
.feature-art .book-one {
  height: 215px;
}
.feature-art .book-two {
  height: 270px;
}
.feature-art .book-three {
  height: 190px;
}
.project-details {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  padding: 72px 0 118px;
  border-top: 1px solid var(--line);
}
.project-details h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}
.prose {
  color: var(--muted);
  font-size: 1.1rem;
}
.name-reference {
  border-left: 2px solid var(--yellow);
  padding-left: 16px;
  font-size: 0.98rem;
}
.button-link {
  display: inline-block;
  background: var(--yellow);
  color: #35332f;
  border-radius: 99px;
  padding: 11px 17px;
  font-weight: 800;
  font-size: 0.9rem;
  margin-top: 16px;
}
.button-link span {
  color: inherit;
}
@media (max-width: 700px) {
  .page-shell {
    width: min(100% - 32px, 1120px);
  }
  .hero {
    padding: 72px 0 86px;
  }
  .section-heading,
  .project-intro,
  .project-details {
    display: block;
  }
  .section-heading h2 {
    margin-top: 14px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-intro {
    padding: 56px 0 72px;
  }
  .feature-art {
    margin-top: 45px;
    height: 290px;
  }
  .project-details {
    padding: 55px 0 80px;
  }
  .prose {
    margin-top: 32px;
  }
  .site-footer {
    padding-block: 25px;
    flex-wrap: wrap;
  }
  .site-footer a {
    margin-left: 0;
    width: 100%;
  }
}
