@font-face {
  font-family: Bricolage;
  src: url("assets/bricolage-grotesque.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f4ee;
  --ink: #2e241f;
  --muted: #62524a;
  --line: #e0d6cc;
  --white: #fffdf9;
  --apricot: #ffcfae;
  --charcoal: #2b211d;
  --display: Bricolage, system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--body); }
[hidden] { display: none !important; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #9c542e; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
.shell { width: min(100% - 112px, 1312px); margin-inline: auto; }
.section { scroll-margin-top: 28px; }
.skip {
  position: fixed;
  z-index: 9;
  inset: 10px auto auto 10px;
  background: var(--apricot);
  padding: 10px 18px;
  transform: translateY(-150%);
}
.skip:focus { transform: translateY(0); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header { border-bottom: 1px solid #e6ddd3; }
.header-inner, .header-inner nav, .wordmark { display: flex; align-items: center; }
.header-inner { justify-content: space-between; min-height: 74px; gap: 12px; }
.wordmark { gap: 12px; text-decoration: none; font-family: var(--display); font-weight: 750; font-size: 1.25rem; letter-spacing: -.035em; }
.mark {
  background: var(--charcoal);
  width: 33px;
  height: 33px;
  flex: 0 0 33px;
  display: grid;
  place-content: center;
  gap: 3px;
  border-radius: 8px;
}
.mark i { background: var(--apricot); width: 15px; height: 3px; border-radius: 1px; transform: skewX(-23deg); }
.mark i:nth-child(2) { opacity: .8; }
.mark i:nth-child(3) { opacity: .6; }
.header-inner nav { gap: clamp(15px, 2.7vw, 37px); font-size: .875rem; font-weight: 600; }
.header-inner nav > a { text-decoration: none; }
.header-inner nav > a:hover { text-decoration: underline; }
.share {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #d1bfb0;
  border-radius: 7px;
  background: transparent;
  padding: 7px 13px;
  cursor: pointer;
}
.share:hover { background: #f4e8dc; border-color: #c5aa97; }

.hero {
  margin-top: 31px;
  min-height: 530px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  background: var(--charcoal);
  border-radius: 13px;
  overflow: hidden;
  color: var(--white);
}
.hero-copy { padding: clamp(40px, 5.5vw, 88px) clamp(33px, 5vw, 78px); align-self: center; }
.eyebrow { font-size: .8125rem; line-height: 1.4; letter-spacing: .135em; text-transform: uppercase; font-weight: 700; }
.hero-kicker { display: flex; align-items: center; gap: 9px; color: #f9d5bc; }
.hero-kicker span { width: 18px; height: 1px; background: #d6a58d; }
.hero h1 {
  font-weight: 750;
  font-size: clamp(3.25rem, 5.8vw, 6.6rem);
  letter-spacing: -.073em;
  line-height: .92;
  margin: 25px 0 25px;
}
.hero h1 em { font-style: normal; color: var(--apricot); }
.hero-intro { color: #efe1d5; max-width: 32rem; margin-bottom: 28px; line-height: 1.65; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-height: 43px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  text-decoration: none;
  white-space: normal;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.4;
}
.button-primary { background: var(--apricot); color: #2e211a; }
.button-primary:hover { background: #ffe5d2; }
.button-primary:focus-visible, .hero-visual a:focus-visible { outline-color: #ffdabd; }
.hero-visual { position: relative; min-width: 0; background: #39302b; isolation: isolate; display: flex; align-items: stretch; }
.hero-visual img { width: 100%; height: 100%; position: absolute; z-index: -2; inset: 0; object-fit: cover; object-position: 51% center; }
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgb(20 13 10 / 90%), transparent 37%);
}
.hero-visual figcaption {
  margin: auto 32px 28px;
  display: grid;
  gap: 1px;
  width: 100%;
  grid-template-columns: 1fr auto;
  align-items: end;
  font-size: .8125rem;
  color: #f4e9df;
}
.hero-visual figcaption strong { grid-column: 1 / -1; font-size: .975rem; color: white; }
.hero-visual figcaption a { font-size: .75rem; }
.frame-line { position: absolute; z-index: 0; width: 20px; height: 20px; border-color: #fff4e795; border-style: solid; pointer-events: none; }
.frame-top { inset: 23px 23px auto auto; border-width: 1px 1px 0 0; }
.frame-bottom { inset: auto auto 23px 23px; border-width: 0 0 1px 1px; }

.work { padding-top: 75px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 26px; }
.section-label { color: #864e34; }
.section h2 { font-size: clamp(2.4rem, 4.2vw, 4.25rem); letter-spacing: -.069em; line-height: .97; font-weight: 730; margin-top: 10px; }
.section-heading > p { color: var(--muted); margin-bottom: 3px; width: min(100%, 28rem); max-width: 40%; }
.tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f5ebe1;
  padding: 5px;
  gap: 5px;
}
.tab {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: clamp(.875rem, 1.4vw, 1.035rem);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}
.tab:hover { background: #efdfd1; }
.tab[aria-selected="true"] { background: var(--charcoal); color: var(--white); }


.chapter {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(25px, 4vw, 62px);
  align-items: center;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(16px, 2.25vw, 32px);
  background: var(--white);
}
.chapter:target { scroll-margin-top: 24px; }
.chapter-figure { min-width: 0; }
.photo { display: block; position: relative; border-radius: 7px; overflow: hidden; background: #eee5dc; aspect-ratio: 1.46; }
.photo img { height: 100%; object-fit: cover; transition: transform .35s ease; }
.photo:hover img { transform: scale(1.025); }
.photo-action {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border-radius: 5px;
  padding: 6px 10px;
  background: #2b211def;
  color: white;
  font-size: .75rem;
  font-weight: 650;
}
.chapter-figure figcaption { margin-top: 8px; color: var(--muted); font-size: .8125rem; line-height: 1.4; }
.chapter-copy { padding: 4px clamp(0px, 1vw, 14px) 4px 0; }
.chapter-date { color: #735746; letter-spacing: .091em; font-size: .75rem; }
.chapter h3 { font-size: clamp(2rem, 3.5vw, 3.5rem); font-weight: 720; letter-spacing: -.065em; line-height: 1; margin: 11px 0 15px; }
.chapter-copy > p:not(.eyebrow):not(.related) { color: #483a32; margin-bottom: 10px; }
.chapter-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.button-outline { border-color: #ceaa95; background: #f9e9d9; }
.button-outline:hover, .button-text:hover { background: #f3dfcd; }
.button-text { padding-inline: 10px; }
.play {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}
.related { display: flex; flex-wrap: wrap; gap: 2px 16px; color: #783e2a; font-size: .8125rem; margin-top: 12px; }

.sources {
  display: grid;
  grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr);
  gap: clamp(23px, 5vw, 65px);
  background: #f3e9df;
  border: 1px solid #e6d5c8;
  border-radius: 12px;
  padding: clamp(23px, 4vw, 50px);
  margin-top: 64px;
}
.sources-intro > p:not(.eyebrow) { margin: 16px 0 11px; max-width: 29ch; color: var(--muted); }
.source-links a { color: #783e2a; font-weight: 650; font-size: .875rem; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 11px; }
.filters button {
  border: 1px solid #c9ab97;
  border-radius: 18px;
  background: transparent;
  padding: 5px 13px;
  font-size: .875rem;
  font-weight: 650;
  cursor: pointer;
}
.filters button:hover { background: #ecddce; }
.filters button[aria-pressed="true"] { color: var(--white); background: var(--charcoal); border-color: var(--charcoal); }
.source-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #dfcdbd; }
.source-list li { border-bottom: 1px solid #dfcdbd; }
.source-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 10px 4px;
  line-height: 1.35;
}
.source-list a:hover strong { text-decoration: underline; }
.source-list strong { display: block; font-size: .96rem; font-weight: 650; }
.source-list small { display: block; font-size: .8125rem; color: var(--muted); margin-top: 2px; }
.source-type { font-size: .75rem; font-weight: 650; color: #705343; }

.site-footer {
  margin-top: 45px;
  padding: 27px 0 38px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  color: var(--muted);
  font-size: .875rem;
}
.footer-name { font-family: var(--display); font-weight: 750; font-size: 1.22rem; line-height: 1.2; color: var(--ink); margin-bottom: 5px; letter-spacing: -.03em; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 15px; color: #783e2a; }
.media-dialog {
  padding: 0;
  border: 1px solid #67524b;
  color: var(--white);
  background: var(--charcoal);
  border-radius: 13px;
  width: min(880px, calc(100% - 25px));
  max-height: 94dvh;
}
.media-dialog::backdrop { background: rgb(18 12 9 / 77%); }
.dialog-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 9px 14px; }
.dialog-head h2 { font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.3; }
.close {
  cursor: pointer;
  background: transparent;
  border: 1px solid #c3a99b;
  border-radius: 6px;
  font-size: 1.4rem;
  width: 34px;
  height: 34px;
  padding: 0;
  line-height: 1;
}
.close:hover { background: #5b4438; }
#media-content img { max-height: 72dvh; object-fit: contain; }
#media-content iframe { display: block; width: 100%; height: auto; border: 0; aspect-ratio: 16 / 9; }
.dialog-credit { padding: 10px 14px; font-size: .875rem; color: #f6e2d4; }
.toast {
  position: fixed;
  z-index: 5;
  inset: auto 20px 20px auto;
  padding: 9px 15px;
  background: var(--charcoal);
  color: white;
  border-radius: 6px;
  font-size: .875rem;
  box-shadow: 0 2px 8px #0002;
}
.toast:empty { display: none; }

@media (max-width: 1050px) {
  .shell { width: min(100% - 60px, 1312px); }
  .hero { min-height: 450px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-copy { padding: 43px 32px; }
  .hero h1 { font-size: clamp(3.3rem, 6.45vw, 5.6rem); }
  .hero-visual figcaption { margin: auto 22px 23px; }
  .frame-bottom { display: none; }
  .work { padding-top: 56px; }
  .related { margin-top: 9px; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 30px); }
  .header-inner { min-height: 60px; }
  .header-inner nav { gap: 12px; }
  .wordmark { gap: 7px; font-size: 1.08rem; }
  .mark { width: 28px; height: 28px; flex-basis: 28px; border-radius: 6px; }
  .share { padding: 7px; }
  .hero { margin-top: 16px; grid-template-columns: 1fr; }
  .hero-copy { padding: 36px 23px 28px; }
  .hero h1 { font-size: clamp(3.4rem, 11vw, 5.8rem); margin: 16px 0 19px; }
  .hero-intro { margin-bottom: 20px; }
  .hero-visual { min-height: clamp(220px, 53vw, 370px); }
  .hero-visual img { object-position: center 50%; }
  .hero-visual figcaption { margin: auto 15px 15px; }
  .frame-top { inset: 11px 11px auto auto; }
  .work { padding-top: 40px; }
  .section-heading { display: block; margin-bottom: 19px; }
  .section-heading > p { max-width: 100%; margin-top: 12px; }
  .desktop-break { display: none; }
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab { justify-content: center; align-items: center; flex-direction: column; text-align: center; gap: 2px; font-size: .85rem; padding: 5px; min-height: 69px; }
  .chapter { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 12px; }
  .chapter-copy { padding: 0; }
  .chapter h3 { margin: 8px 0 12px; }
  .sources { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .sources-intro > p:not(.eyebrow) { margin-top: 10px; max-width: 42ch; }
  .site-footer { flex-wrap: wrap; margin-top: 27px; padding: 19px 0 27px; }
}
@media (max-width: 365px) {
  .header-inner nav { gap: 8px; font-size: .81rem; }
  .wordmark { font-size: .98rem; }
  .hero h1 { font-size: 3rem; }
  .tab { font-size: .76rem; }
  .hero-visual figcaption { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


.diagram { background: #fbf8f2; }
.diagram img { object-fit: contain; }
.flavor-figure { background: #465140; }
.blend-figure { background: #d8e8ea; }
.source-links { display: grid; justify-items: start; gap: 7px; margin-top: 12px; }
.research-question {
  margin-block: 12px 4px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: .875rem;
}
.research-question summary { font-weight: 650; cursor: pointer; }
.research-question p { color: var(--muted); margin-top: 6px; }
