@font-face {
  font-family: "Work Sans";
  src: url("/work-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f3f0eb;
  --panel: #e8e5df;
  --ink: #201c1a;
  --muted: #4c4642;
  --bg: var(--paper);
  --accent: var(--wine);
  --font-display: "Work Sans", Arial, sans-serif;
  --display-weight: 630;
  --display-tracking: -.045em;
  --wine: #7d0c14;
  --wine-dark: #5d0a10;
  --rule: #c4bab1;
  --gutter: clamp(24px, 4.5vw, 70px);
  --frame: 1450px;
  font: 16px/1.55 "Work Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; }
p, ul, ol { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.049em; line-height: 1.01; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
::selection { background: var(--wine); color: var(--paper); }
.frame { width: min(calc(100% - 2 * var(--gutter)), var(--frame)); margin-inline: auto; }
.skip-link { position: absolute; top: 8px; left: var(--gutter); z-index: 2; padding: 9px 12px; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  gap: clamp(14px, 4vw, 62px);
}
.site-ident { justify-self: start; text-decoration: none; line-height: 1; }
.wordmark { display: inline-flex; align-items: baseline; font-size: 29px; font-weight: 750; letter-spacing: -.067em; }
.wordmark-dot { width: .19em; height: .19em; margin-inline: .11em .16em; background: currentColor; align-self: center; }
.wordmark-end { color: var(--wine); margin-left: .02em; }
.header-inner nav { display: flex; align-items: center; gap: clamp(20px, 4.5vw, 70px); }
.header-inner nav a, .header-project { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; font-weight: 580; text-decoration-color: transparent; text-underline-offset: .28em; transition: color 180ms, text-decoration-color 180ms; }
.header-inner nav a:hover, .header-inner nav a[aria-current], .header-project:hover { color: var(--wine); text-decoration-color: currentColor; }
.header-project { color: var(--wine); justify-self: end; }
.hero-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: stretch; gap: clamp(24px, 4vw, 60px); padding-block: clamp(23px, 4.1vh, 49px); min-height: calc(100svh - 77px); }
.hero-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 32px 51px; }
.eyebrow { font-size: .72rem; font-weight: 710; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; color: var(--wine); }
.hero .eyebrow { margin-bottom: clamp(24px, 4.8vh, 60px); }
.hero h1 { color: var(--wine); font-size: clamp(42px, 5.15vw, 86px); font-weight: 640; letter-spacing: -.061em; line-height: .98; }
.hero-em { font-weight: 740; }
.hero-description { margin-top: clamp(20px, 3.1vh, 41px); font-size: clamp(1.04rem, 1.48vw, 1.24rem); color: var(--muted); max-width: 35ch; line-height: 1.55; }
.hero-links { display: flex; flex-wrap: wrap; column-gap: 23px; row-gap: 16px; align-items: center; margin-top: clamp(22px, 4.3vh, 44px); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-align: center;
  padding: 10px 20px;
  border: 1px solid var(--wine);
  background: var(--wine);
  color: var(--paper);
  font-weight: 630;
  font-size: .88rem;
  line-height: 1.25;
  text-decoration: none;
  transition: background 180ms, color 180ms, border-color 180ms;
}
.button:hover { background: var(--wine-dark); border-color: var(--wine-dark); }
.button:focus-visible { outline-color: var(--wine); }
.text-link { color: var(--wine); font-size: .92rem; font-weight: 650; line-height: 1.3; text-underline-offset: .32em; text-decoration-thickness: 1px; transition: text-underline-offset 180ms; }
.text-link:hover { text-underline-offset: .48em; }
.hero-media { position: relative; min-height: 340px; overflow: hidden; background: #465661; }
.hero-photo { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: 52% center; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(24px, 4.3vw, 59px); }
.section-heading h2 { font-size: clamp(40px, 4.5vw, 65px); }
.section-heading .mo-wh .mo-w { color: var(--muted); }
.section-heading p { max-width: 31ch; text-wrap: pretty; color: var(--muted); }
.material-section { scroll-margin-top: 20px; padding-block: clamp(65px, 6.3vw, 112px) clamp(70px, 6.5vw, 120px); }
.material-list { border-top: 1px solid var(--ink); }
.material-row {
  display: grid;
  grid-template-columns: 1.2fr .9fr auto clamp(100px, 13vw, 175px);
  min-height: 103px;
  align-items: center;
  gap: clamp(15px, 3vw, 60px);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  transition: background-color 180ms, color 180ms;
}
.material-row:hover, .material-row:focus-visible { background: var(--panel); color: var(--wine); }
.material-name { font-size: clamp(22px, 3vw, 47px); font-weight: 640; letter-spacing: -.057em; line-height: 1.06; }
.material-desc { color: var(--muted); font-size: .9rem; }
.material-count { color: var(--wine); font-size: .78rem; font-weight: 620; white-space: nowrap; }
.row-image { height: 72px; overflow: hidden; background: var(--panel); }
.row-image img { height: 100%; width: 100%; object-fit: cover; transition: transform 300ms; }
.row-image img.contain { object-fit: contain; }
.material-row:hover img { transform: scale(1.06); }
.feature-band { padding-block: clamp(61px, 8vw, 125px); background: var(--panel); border-block: 1px solid var(--rule); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.2vw, 57px); }
.featured-guide a { text-decoration: none; display: block; }
.featured-guide a:hover h3 { color: var(--wine); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.feature-image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.feature-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 340ms; }
.featured-guide a:hover img { transform: scale(1.045); }
.featured-guide .eyebrow { margin-block: 22px 9px; }
.featured-guide h3 { font-size: clamp(26px, 3vw, 43px); text-wrap: balance; }
.featured-guide > p { color: var(--muted); margin-top: 11px; font-size: .94rem; max-width: 46ch; }
.project-note { padding-block: clamp(52px, 7vw, 98px); background: var(--wine); color: var(--paper); }
.project-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.project-inner.with-photo { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(165px, .43fr); }
.project-image { height: 148px; overflow: hidden; }
.project-image img { width: 100%; height: 100%; object-fit: cover; }
.project-note h2 { font-size: clamp(38px, 4.2vw, 61px); }
.project-note p { margin-top: 12px; max-width: 49ch; }
.button-light { background: var(--paper); color: var(--wine); border-color: var(--paper); flex-shrink: 0; }
.button-light:hover { background: var(--wine); border-color: var(--paper); color: var(--paper); }
.button-light:focus-visible { outline-color: var(--paper); }
.site-footer { padding-block: clamp(38px, 5vw, 72px); }
.footer-inner { display: grid; gap: 30px; grid-template-columns: 1.3fr 1fr auto; align-items: start; }
.footer-inner p { margin-top: 11px; color: var(--muted); font-size: .85rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 21px; }
.footer-inner nav a, .footer-project { font-size: .87rem; font-weight: 570; }
.footer-project { display: grid; gap: 4px; }
.footer-project span { color: var(--muted); }
.footer-project a { color: var(--wine); }
.breadcrumbs { color: var(--muted); font-size: .81rem; padding-block: 27px; }
.breadcrumbs ol { padding: 0; display: flex; flex-wrap: wrap; gap: 4px 9px; list-style: none; }
.breadcrumbs li::after { content: "/"; margin-left: 9px; color: var(--muted); }
.breadcrumbs li:last-child::after { content: none; }
.breadcrumbs a { text-underline-offset: .15em; text-decoration-color: var(--rule); }
.breadcrumbs a:hover { text-decoration-color: var(--wine); }
.index-page { padding-bottom: clamp(65px, 8vw, 133px); }
.page-intro { padding-block: clamp(29px, 6.6vw, 92px) clamp(33px, 6.4vw, 94px); }
.page-intro h1, .article-header h1 { color: var(--wine); font-size: clamp(53px, 7.6vw, 114px); text-wrap: balance; }
.page-intro p { color: var(--muted); margin-top: 23px; max-width: 46ch; font-size: clamp(1.02rem, 1.5vw, 1.28rem); }
.category-hero { display: grid; grid-template-columns: 1fr .73fr; gap: clamp(24px, 5vw, 80px); align-items: center; margin-bottom: clamp(20px, 5vw, 80px); }
.category-image { aspect-ratio: 1.47; background: var(--panel); }
.category-image img { height: 100%; width: 100%; object-fit: cover; }
.category-image img.contain { object-fit: contain; }
.library-filter { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; max-width: 780px; }
.library-filter label { display: grid; gap: 7px; font-size: .87rem; font-weight: 650; }
.library-filter input, .library-filter select { min-width: 0; width: 100%; min-height: 48px; border: 1px solid #9b8981; border-radius: 0; background: transparent; color: var(--ink); padding: 10px 13px; font: inherit; }
.library-filter input::placeholder { color: var(--muted); font-weight: 400; }
.filter-status { margin-block: 14px 50px; font-size: .85rem; color: var(--muted); }
.empty-state { padding-block: 24px; }
.library-group { margin-block: 0 62px; }
.library-group h2, .related-guides h2 { font-size: clamp(29px, 4vw, 57px); margin-bottom: 22px; }
.library-group h2 a { text-decoration-color: transparent; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.library-group h2 a:hover { color: var(--wine); text-decoration-color: var(--wine); }
.guide-list { padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.guide-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; border-bottom: 1px solid var(--rule); }
.guide-row a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .83fr); align-items: center; gap: 28px; min-height: 73px; padding-block: 15px; text-decoration: none; }
.guide-title { font-size: clamp(18px, 2vw, 26px); letter-spacing: -.035em; font-weight: 610; line-height: 1.2; }
.guide-summary { color: var(--muted); font-size: .91rem; max-width: 59ch; }
.guide-row a:hover .guide-title { color: var(--wine); text-decoration: underline; text-underline-offset: .19em; text-decoration-thickness: 1px; }
.guide-time { color: var(--muted); font-size: .77rem; white-space: nowrap; }
.article-page { padding-bottom: clamp(70px, 8.2vw, 133px); }
.article-header { max-width: 1130px; padding-block: clamp(22px, 5.2vw, 73px) clamp(24px, 4vw, 55px); }
.article-header .eyebrow { margin-bottom: 15px; }
.article-header .eyebrow a { text-underline-offset: .2em; text-decoration-color: transparent; }
.article-header .eyebrow a:hover { text-decoration-color: currentColor; }
.article-header h1 { font-size: clamp(45px, 6.7vw, 100px); text-wrap: pretty; }
.article-lede { margin-top: 20px; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--muted); max-width: 63ch; }
.article-image { height: clamp(300px, 51vw, 580px); background: var(--panel); overflow: hidden; }
.article-image img { height: 100%; width: 100%; object-fit: cover; object-position: center; }
.article-image.illustration img { object-fit: contain; }
.article-layout { display: grid; grid-template-columns: minmax(165px, .52fr) minmax(0, 1.8fr); gap: clamp(28px, 6vw, 110px); margin-block: clamp(48px, 7vw, 112px); }
.article-sidebar nav { border-top: 1px solid var(--ink); padding-top: 17px; position: sticky; top: 25px; max-width: 265px; }
.article-sidebar p { color: var(--wine); font-weight: 700; }
.article-sidebar ol { margin-top: 12px; list-style-type: none; padding: 0; font-size: .88rem; }
.article-sidebar li + li { margin-top: 9px; }
.article-sidebar a { color: var(--muted); text-decoration-color: var(--rule); text-underline-offset: .16em; }
.article-sidebar a:hover { color: var(--wine); text-decoration-color: var(--wine); }
.article-copy { max-width: 70ch; min-width: 0; }
.article-copy h2 { font-size: clamp(27px, 3.2vw, 46px); letter-spacing: -.055em; text-wrap: pretty; }
.article-copy p { font-size: clamp(1rem, 1.5vw, 1.19rem); line-height: 1.72; margin-top: 18px; }
.article-copy section { scroll-margin-top: 24px; }
.article-copy section + section { margin-top: clamp(40px, 5vw, 74px); }
.article-sources { border-top: 1px solid var(--rule); padding-top: 21px; }
.article-sources ul { margin-top: 15px; padding-left: 20px; font-size: .95rem; }
.article-sources li { margin-bottom: 6px; }
.article-sources a, .credits-list a { color: var(--wine); text-underline-offset: .16em; }
.credits-list { padding: 0; list-style: none; max-width: 76ch; }
.credits-list li { padding-block: 16px; border-top: 1px solid var(--rule); }
.credits-list h2 { font-size: 1.15rem; letter-spacing: -.03em; line-height: 1.3; overflow-wrap: anywhere; }
.credits-list p { margin-top: 7px; font-size: .9rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  [data-enter] { animation: appear .54s cubic-bezier(.2,.65,.26,1) both; }
  
  @keyframes appear {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (max-width: 940px) {
  .hero h1 { font-size: clamp(41px, 6.3vw, 67px); }
  .material-row { grid-template-columns: 1fr .7fr auto 106px; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 62px; gap: 10px; grid-template-columns: auto 1fr; }
  .header-inner nav { justify-self: end; gap: 18px; }
  .header-inner nav a { font-size: .81rem; }
  .header-project { display: none; }
  .wordmark { font-size: 25px; }
  .hero-layout { grid-template-columns: 1fr; min-height: auto; padding-block: clamp(21px, 6vw, 53px) 23px; gap: 25px; }
  .hero-text { padding: 14px 0 4px; }
  .hero .eyebrow { margin-bottom: 20px; }
  .hero h1 { font-size: clamp(48px, 10.5vw, 80px); }
  .hero-links { margin-top: 21px; }
  .hero-media { min-height: 0; height: min(86vw, 460px); }
  .section-heading { align-items: start; flex-direction: column; }
  .material-row { min-height: 80px; grid-template-columns: minmax(0, 1fr) auto 74px; gap: 9px 13px; }
  .material-name { font-size: clamp(20px, 4.6vw, 32px); }
  .material-desc { display: none; }
  .row-image { height: 54px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 39px; }
  .feature-image { aspect-ratio: 1.63; }
  .featured-guide .eyebrow { margin-top: 14px; }
  .project-inner.with-photo { grid-template-columns: 1fr; }
  .project-image { height: 210px; }
  .project-inner { flex-direction: column; align-items: start; gap: 23px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 19px; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
  .footer-inner nav { display: grid; gap: 8px; }
  .category-hero { grid-template-columns: 1fr; gap: 0; }
  .category-image { margin-bottom: 19px; }
  .library-filter { grid-template-columns: 1fr; gap: 14px; }
  .filter-status { margin-bottom: 35px; }
  .guide-row { gap: 13px; }
  .guide-row a { grid-template-columns: 1fr; gap: 6px; }
  .guide-time { align-self: start; margin-top: 18px; }
  .article-layout { grid-template-columns: 1fr; gap: 26px; }
  .article-sidebar nav { position: static; max-width: none; }
  .article-sidebar ol { display: flex; flex-wrap: wrap; gap: 6px 19px; }
  .article-sidebar li + li { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0ms !important; animation-duration: 0ms !important; }
}
