:root {
  --grape-black: #171315;
  --cumin-gold: #c89545;
  --ember-red: #a5422d;
  --grape-purple: #5c355e;
  --lake-blue: #2e6f78;
  --pomegranate: #a51f3d;
  --paper: #f3ebdd;
  --ink: #221d1f;
  --line: color-mix(in srgb, var(--ink) 18%, transparent);
  --serif: "Songti SC", STSong, "Noto Serif CJK SC", serif;
  --sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.75 var(--sans); }
img { display: block; max-width: 100%; }
a, summary { min-height: 44px; }
a { color: inherit; overflow-wrap: anywhere; }
:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--ink) !important;
}
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--paper); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

body {
  min-width: 0;
}

main,
section,
article,
header,
footer,
nav,
div {
  min-width: 0;
}

h1,
h2,
p,
ul {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

ul {
  padding-left: 1.25rem;
}

.site-header {
  --header-ink: var(--ink);
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
  padding: .75rem clamp(1rem, 4vw, 4.5rem);
  border-bottom: 1px solid color-mix(in srgb, var(--header-ink) 16%, transparent);
  background: color-mix(in srgb, var(--paper) 95%, transparent);
  color: var(--header-ink);
  backdrop-filter: blur(14px);
}

.page--home .site-header {
  --header-ink: var(--paper);
  margin-bottom: -72px;
  border-bottom-color: rgba(243, 235, 221, .22);
  background: rgba(23, 19, 21, .56);
}

.site-name,
.desktop-nav a,
.mobile-nav a,
.mobile-nav summary {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-name {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(.15rem, 1vw, 1.2rem);
}

.desktop-nav a {
  padding: .45rem .6rem;
  font-size: .88rem;
  white-space: nowrap;
}

.desktop-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px currentColor;
}

.mobile-nav {
  display: none;
}

.hero-harvest {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--grape-black);
  color: var(--paper);
}

.hero-harvest__media,
.hero-harvest__media img,
.hero-harvest__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-harvest__media {
  z-index: -2;
}

.hero-harvest__media img {
  max-width: none;
  object-fit: cover;
  object-position: center center;
  animation: harvest-breathe 24s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-harvest__veil {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(23, 19, 21, .94) 0%, rgba(23, 19, 21, .78) 48%, rgba(23, 19, 21, .65) 100%),
    linear-gradient(0deg, rgba(23, 19, 21, .84) 0%, transparent 48%);
}

.hero-harvest__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  min-height: 100svh;
  width: min(100%, 96rem);
  padding: clamp(8rem, 18vh, 13rem) clamp(1rem, 6vw, 7rem) clamp(8rem, 15vh, 11rem);
}

.hero-harvest__eyebrow,
.eyebrow,
.section-label {
  margin-bottom: 1.1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero-harvest h1 {
  max-width: 7em;
  margin-bottom: .3rem;
  color: #fffaf0;
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: .92;
  text-wrap: balance;
}

.hero-harvest__question {
  margin-bottom: 2.25rem;
  color: var(--cumin-gold);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 3.4rem);
  letter-spacing: .08em;
}

.hero-harvest__down,
.chapter-link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  width: fit-content;
  padding: .6rem 0;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  text-decoration: none;
}

.hero-harvest__down::after,
.chapter-link::after {
  content: "→";
  font-size: 1.3em;
}

.hero-harvest__down::after {
  content: "↓";
}

.hero-harvest__disclosure {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  z-index: 2;
  max-width: 32rem;
  margin: 0;
  color: rgba(243, 235, 221, .82);
  font-size: .76rem;
  letter-spacing: .04em;
  text-align: right;
}

@keyframes harvest-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

.home-chapters {
  background: var(--paper);
}

.scent-chapter {
  --chapter-background: var(--paper);
  --chapter-ink: var(--ink);
  display: grid;
  align-items: center;
  min-height: 78vh;
  min-height: 78svh;
  padding: clamp(5rem, 11vw, 10rem) clamp(1rem, 6vw, 7rem);
  overflow: hidden;
  background: var(--chapter-background);
  color: var(--chapter-ink);
}

.scent-chapter--spices {
  --chapter-background: var(--cumin-gold);
  --chapter-ink: var(--grape-black);
}

.scent-chapter--fire {
  --chapter-background: var(--ember-red);
  --chapter-ink: #fff6e9;
}

.scent-chapter--fruit {
  --chapter-background: var(--grape-purple);
  --chapter-ink: #fff6e9;
}

.scent-chapter--city {
  --chapter-background: var(--lake-blue);
  --chapter-ink: #f8f3e9;
}

.scent-chapter--life {
  --chapter-background: var(--pomegranate);
  --chapter-ink: #fff6e9;
}

.scent-chapter--route {
  --chapter-background: var(--paper);
  --chapter-ink: var(--ink);
}

.scent-chapter__inner {
  display: grid;
  grid-template-columns: minmax(9rem, 15rem) minmax(0, 64rem);
  column-gap: clamp(2rem, 7vw, 8rem);
  width: min(100%, 90rem);
  margin: 0 auto;
}

.scent-chapter:nth-child(even) .scent-chapter__inner {
  grid-template-columns: minmax(0, 64rem) minmax(9rem, 15rem);
}

.scent-chapter__ordinal {
  grid-column: 1;
  grid-row: 1 / 6;
  align-self: start;
  margin: -.14em 0 0;
  font-family: var(--serif);
  font-size: clamp(7rem, 16vw, 15rem);
  font-weight: 700;
  letter-spacing: -.1em;
  line-height: .8;
  opacity: .18;
}

.scent-chapter .section-label,
.scent-chapter h2,
.scent-chapter .chapter-prose,
.scent-chapter .chapter-link {
  grid-column: 2;
}

.scent-chapter:nth-child(even) .scent-chapter__ordinal {
  grid-column: 2;
}

.scent-chapter:nth-child(even) .section-label,
.scent-chapter:nth-child(even) h2,
.scent-chapter:nth-child(even) .chapter-prose,
.scent-chapter:nth-child(even) .chapter-link {
  grid-column: 1;
}

.scent-chapter h2 {
  max-width: 15em;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  font-size: clamp(2.6rem, 6.4vw, 6.8rem);
}

.scent-chapter .chapter-prose {
  width: min(100%, 58ch);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
}

.scent-chapter .chapter-prose p:last-child {
  margin-bottom: 1.75rem;
}

.article-shell {
  --accent: var(--cumin-gold);
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 6vw, 7rem) clamp(6rem, 10vw, 10rem);
}

.page--spices .article-shell { --accent: var(--cumin-gold); }
.page--fire-and-table .article-shell { --accent: var(--ember-red); }
.page--grapes-and-fruit .article-shell { --accent: var(--grape-purple); }
.page--her-life .article-shell { --accent: var(--pomegranate); }
.page--city-scents .article-shell { --accent: var(--lake-blue); }
.page--scent-route .article-shell { --accent: var(--cumin-gold); }

.breadcrumb,
.article-header,
.reading-column {
  width: min(100%, 76rem);
  margin-right: auto;
  margin-left: auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  margin-bottom: clamp(3rem, 7vw, 7rem);
  color: color-mix(in srgb, var(--ink) 68%, transparent);
  font-size: .86rem;
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
}

.article-header {
  margin-bottom: clamp(5rem, 11vw, 11rem);
}

.article-header .eyebrow,
.article-header h1,
.article-header .intro,
.article-header .updated {
  width: min(100%, 52rem);
}

.article-header .eyebrow,
.section-label {
  color: var(--accent);
}

.article-header h1 {
  margin-bottom: 2rem;
  font-size: clamp(3rem, 8vw, 7.5rem);
}

.article-header .intro {
  margin-bottom: 2rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.1vw, 1.75rem);
  line-height: 1.7;
}

.updated {
  color: color-mix(in srgb, var(--ink) 64%, transparent);
  font-size: .86rem;
}

.article-sections {
  display: flow-root;
}

.chapter {
  width: min(100%, 68ch);
  margin-bottom: clamp(5rem, 9vw, 9rem);
  padding-top: 1.5rem;
  border-top: 4px solid var(--accent);
}

.chapter:nth-child(even) {
  margin-left: auto;
}

.chapter .section-label {
  margin-bottom: 1.5rem;
}

.chapter h2,
.sources h2,
.related h2 {
  margin-bottom: 1.8rem;
  font-size: clamp(2rem, 4vw, 4rem);
}

.chapter-prose {
  overflow-wrap: anywhere;
}

.chapter-prose p {
  margin-bottom: 1.4rem;
}

.sources,
.related {
  width: min(100%, 68ch);
  overflow-wrap: anywhere;
}

.sources {
  margin: 0 0 clamp(5rem, 9vw, 9rem) auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-left: 5px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--paper));
}

.sources h2,
.related h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.sources li + li,
.related li + li {
  margin-top: 1.25rem;
}

.sources p {
  margin-bottom: .35rem;
}

.sources a,
.related a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
}

.related {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 3rem;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 6vw, 7rem);
  background: var(--grape-black);
  color: var(--paper);
}

.site-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
}

.page--not-found main {
  display: grid;
  align-content: center;
  min-height: 100vh;
  min-height: 100svh;
  width: min(100% - 2rem, 46rem);
  margin: 0 auto;
}

.page--not-found h1 {
  font-size: clamp(3rem, 10vw, 7rem);
}

.page--not-found a {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
    margin-left: auto;
  }

  .mobile-nav summary {
    justify-content: center;
    padding: .35rem .2rem .35rem .8rem;
    cursor: pointer;
    font-weight: 700;
    list-style-position: inside;
  }

  .mobile-nav nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    padding: .75rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
  }

  .mobile-nav nav a {
    padding: .5rem 0;
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav nav a[aria-current="page"] {
    color: var(--ember-red);
    font-weight: 700;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
    padding: .6rem 1rem;
  }

  .page--home .site-header {
    margin-bottom: -64px;
  }

  .hero-harvest__media img {
    object-position: 58% center;
  }

  .hero-harvest__copy {
    justify-content: flex-end;
    padding: 8rem 1rem 7rem;
  }

  .hero-harvest h1 {
    max-width: 5.1em;
    font-size: clamp(3.25rem, 17vw, 5.5rem);
    line-height: .9;
  }

  .hero-harvest__question {
    font-size: clamp(1.55rem, 8vw, 2.4rem);
  }

  .hero-harvest__disclosure {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    max-width: none;
    text-align: left;
  }

  .scent-chapter {
    min-height: auto;
    padding: 5rem 1rem;
  }

  .scent-chapter__inner,
  .scent-chapter:nth-child(even) .scent-chapter__inner {
    display: block;
  }

  .scent-chapter__ordinal {
    margin-bottom: 2rem;
    font-size: clamp(7rem, 42vw, 10rem);
  }

  .scent-chapter h2 {
    margin-bottom: 2rem;
    font-size: clamp(2.55rem, 13vw, 4.5rem);
  }

  .article-shell {
    padding: 2.5rem 1rem 6rem;
  }

  .article-header h1 {
    font-size: clamp(2.8rem, 14vw, 4.75rem);
  }

  .chapter:nth-child(even),
  .sources {
    margin-left: 0;
  }

  .sources {
    padding: 1.5rem 1rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 3rem 1rem;
  }

  .site-footer nav ul {
    display: grid;
    justify-content: stretch;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .hero-harvest__media img {
    animation: none;
    transform: none;
    will-change: auto;
  }
}
