@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/newsreader.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/newsreader-italic.woff2") format("woff2");
}

:root {
  --bg: #f3efe6;
  --bg-header: #f6f3eb;
  --ink: #1c1915;
  --ink-soft: #3f3a33;
  --muted: #6f685c;
  --muted-2: #8d867a;
  --soon: #b4aea2;
  --rule: #d8d1c4;
  --rule-strong: #c9c2b4;
  --font: "Newsreader", "Liberation Serif", Georgia, "Times New Roman", serif;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2.25rem;
  --space-7: 3.25rem;
  --space-8: 4.5rem;
  --measure: 38rem;
  --motion-fast: 180ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}

button:not(:disabled),
[role="button"]:not(:disabled),
a { cursor: pointer; }

img { display: block; max-width: 100%; height: auto; }

.site-header {
  background: var(--bg-header);
  border-bottom: 1px solid var(--rule);
}

.site-header .inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.05rem 1.4rem 0.95rem;
}

.brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  height: 3.15rem;
  width: auto;
  flex-shrink: 0;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.brand-name {
  font-size: 1.01rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand-tag {
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.005em;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.4rem 1.4rem 4.25rem;
}

.lede {
  font-size: 1.28rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.38;
  color: #6a6358;
  max-width: 28ch;
  text-wrap: balance;
  margin-bottom: 2.6rem;
}

.library-title {
  font-size: 2.65rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  text-wrap: balance;
}

.library-rule {
  width: 3.25rem;
  height: 1px;
  background: var(--rule-strong);
  border: 0;
  margin: 0 0 1.75rem;
}

.catalog {
  list-style: none;
}

.work {
  padding: 1.15rem 0 1.2rem;
  border-bottom: 1px solid var(--rule);
}

.work:first-child {
  border-top: 1px solid var(--rule);
}

.work a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.work.live a:hover h2 {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.year-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.year {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.status {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--soon);
}

.work h2 {
  font-size: 1.95rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0.2rem 0 0.35rem;
}

.subtitle {
  font-size: 1.02rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}

.opening {
  font-size: 1.02rem;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}

.work .meta {
  font-size: 0.86rem;
  color: var(--muted-2);
}

.work.soon h2 {
  color: #4a453e;
}

@media (max-width: 480px) {
  body { font-size: 17px; }
  .lede { font-size: 1.18rem; }
  .library-title { font-size: 2.25rem; }
  .work h2 { font-size: 1.75rem; }
  .wrap { padding: 1.7rem 1.15rem 3.5rem; }
  .brand-mark { height: 2.55rem; }
  .brand-name { font-size: 0.91rem; letter-spacing: 0.11em; }
}

.doc-class,
.chip-class {
  font-style: italic;
  font-weight: 400 !important;
  font-size: 0.85em;
}

.folder-count {
  font-style: normal;
  font-weight: 400 !important;
  font-size: 0.85em;
  font-variant-numeric: tabular-nums;
  color: var(--muted, #5c564c);
}

.tap-mark {
  background: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
}

.site-header .inner {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.fmp-back {
  flex-shrink: 0;
  color: #f3efe6;
  text-decoration: none;
  font-size: 1.55rem;
  line-height: 1;
  padding: 0.2rem 0.15rem 0.2rem 0;
  font-weight: 400;
}
.fmp-back:hover { color: #fff; }
.result-trail {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.1rem 0 0.3rem;
  font-size: 0.88rem;
  color: #333;
}
.result-trail[hidden] { display: none !important; }
.result-trail button {
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
}
.result-trail .trail-q { font-style: italic; }
.result-trail .trail-nav {
  font-size: 1.15rem;
  min-width: 1.4rem;
}
.result-trail .trail-nav:disabled { opacity: 0.35; cursor: default; }
