:root {
  --pat-cream: #f0ece2;
  --pat-paper: #f8f5ee;
  --pat-ink: #17201c;
  --pat-moss: #58634d;
  --pat-rust: #c65332;
  --pat-yellow: #e1b64a;
  --pat-line: rgba(23, 32, 28, .2);
  --bs-body-font-family: "DM Sans", sans-serif;
  --bs-body-color: var(--pat-ink);
  --bs-body-bg: var(--pat-cream);
  --bs-border-radius: 0;
  --bs-link-color: inherit;
  --bs-link-hover-color: var(--pat-rust);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
body, button, input { font-family: "DM Sans", sans-serif; }
h1, h2, h3, h4, .serif {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.035em;
}
img { display: block; width: 100%; }
a { text-underline-offset: .22em; }
::selection { background: var(--pat-yellow); color: var(--pat-ink); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 0;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 1.7rem;
  height: 1px;
  background: currentColor;
  content: "";
}
.link-arrow {
  display: inline-flex;
  gap: .7rem;
  align-items: center;
  padding-bottom: .2rem;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: gap .2s ease, color .2s ease;
}
.link-arrow:hover { gap: 1rem; }

/* Full-bleed hero (homepage) */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 15, 12, .72) 0%, rgba(10, 15, 12, .32) 48%, rgba(10, 15, 12, .12) 100%),
    linear-gradient(0deg, rgba(10, 15, 12, .52), transparent 42%),
    var(--hero-image) center 52% / cover no-repeat;
}
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 55%, rgba(225, 182, 74, .12));
  content: "";
}
.site-nav {
  z-index: 2;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
}
.site-nav-solid {
  color: var(--pat-paper);
  background: var(--pat-ink);
  border-bottom-color: rgba(255, 255, 255, .12);
}
.wordmark {
  color: inherit;
  font-family: "Fraunces", serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: -.04em;
  text-decoration: none;
}
.wordmark small {
  display: inline-block;
  margin-left: .4rem;
  font-family: "DM Sans", sans-serif;
  font-size: .5rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  transform: translateY(-.55rem);
}
.nav-link-pat {
  position: relative;
  color: inherit;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-link-pat::after {
  position: absolute;
  right: 0;
  bottom: -.45rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}
.nav-link-pat:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-button {
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid rgba(255,255,255,.45);
  color: inherit;
  background: transparent;
}
.hero-copy {
  display: flex;
  flex: 1;
  align-items: flex-end;
  padding-top: 8rem;
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.hero h1 {
  max-width: 10ch;
  margin: 1.25rem 0 1.75rem;
  font-size: clamp(4.2rem, 11vw, 10rem);
  line-height: .77;
  text-wrap: balance;
}
.hero h1 em { color: #e9c864; font-weight: 300; }
.hero-lede {
  max-width: 36rem;
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}
.hero-index {
  display: flex;
  align-items: end;
  justify-content: space-between;
  height: 17rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid rgba(255,255,255,.42);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-credit {
  position: absolute;
  right: 1.25rem;
  bottom: 1.2rem;
  color: rgba(255,255,255,.62);
  font-size: .56rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right bottom;
}

/* Moving subject line */
.ticker {
  overflow: hidden;
  color: var(--pat-ink);
  background: var(--pat-yellow);
  border-block: 1px solid var(--pat-ink);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: drift 34s linear infinite;
}
.ticker-item {
  padding: 1rem 1.35rem;
  font-size: .71rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-item::after { margin-left: 2.7rem; content: "✳"; }
@keyframes drift { to { transform: translateX(-50%); } }

/* Feature story */
.feature {
  position: relative;
  padding: clamp(5rem, 10vw, 10rem) 0;
  background: var(--pat-paper);
}
.feature-number {
  color: var(--pat-rust);
  font-family: "Fraunces", serif;
  font-size: clamp(5rem, 11vw, 11rem);
  font-weight: 300;
  line-height: .7;
}
.feature h2 {
  max-width: 10ch;
  margin: 1.7rem 0 2rem;
  font-size: clamp(3rem, 6.8vw, 6.8rem);
  line-height: .91;
}
.feature h2 a { color: inherit; text-decoration: none; }
.feature h2 a:hover { color: var(--pat-rust); }
.feature-summary {
  max-width: 32rem;
  color: #48514c;
  font-family: "Fraunces", serif;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 300;
  line-height: 1.45;
}
.feature-aside {
  padding-top: 1.25rem;
  border-top: 1px solid var(--pat-line);
  font-size: .78rem;
  line-height: 1.7;
}
.loaf-detail {
  position: relative;
  min-height: 46rem;
  overflow: hidden;
  background: #3a3129;
}
.loaf-detail img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 58%;
}
.loaf-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 3rem 2rem 1.5rem;
  color: rgba(255,255,255,.78);
  background: linear-gradient(transparent, rgba(10,12,10,.86));
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.excerpt {
  max-width: 43rem;
  margin-top: 2.5rem;
  font-family: "Fraunces", serif;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 300;
  line-height: 1.6;
}
.excerpt::first-letter {
  float: left;
  padding: .05em .12em 0 0;
  color: var(--pat-rust);
  font-size: 4.4em;
  line-height: .75;
}

/* Editorial grid */
.stories { padding: clamp(5rem, 9vw, 9rem) 0; }
.section-title {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--pat-line);
}
.section-title h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.6rem);
  line-height: .9;
}
.story-card {
  position: relative;
  display: flex;
  min-height: 33rem;
  overflow: hidden;
  color: #fff;
  background: var(--pat-ink);
  text-decoration: none;
  isolation: isolate;
}
.story-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.65,.3,1);
}
.story-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(12, 17, 14, .85), transparent 72%);
  content: "";
}
.story-card:hover img { transform: scale(1.035); }
.story-card-content { align-self: flex-end; padding: clamp(1.5rem, 3vw, 2.7rem); }
.story-card h3 {
  max-width: 12ch;
  margin: .8rem 0;
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  line-height: .95;
}
.story-card-wide { min-height: 45rem; }
.story-card-tall { min-height: 54rem; }
.story-card-tall h3 { font-size: clamp(2.7rem, 4.6vw, 5rem); }
.story-description { max-width: 27rem; color: rgba(255,255,255,.78); }
.solid-card {
  display: flex;
  min-height: 33rem;
  padding: clamp(1.5rem, 3vw, 2.7rem);
  flex-direction: column;
  justify-content: space-between;
  color: var(--pat-paper);
  background: var(--pat-rust);
}
.solid-card .index {
  font-family: "Fraunces", serif;
  font-size: 7rem;
  font-weight: 300;
  line-height: .7;
  opacity: .55;
}
.solid-card h3 {
  max-width: 10ch;
  margin: 0 0 1rem;
  font-size: clamp(2.8rem, 4.6vw, 5rem);
  line-height: .9;
}

/* Quote / manifesto */
.manifesto {
  padding: clamp(5rem, 11vw, 11rem) 0;
  color: var(--pat-paper);
  background: var(--pat-ink);
}
.manifesto blockquote {
  max-width: 16ch;
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(3rem, 7vw, 7.5rem);
  font-weight: 300;
  letter-spacing: -.045em;
  line-height: .95;
}
.manifesto blockquote em { color: var(--pat-yellow); }

/* Notes */
.notes { padding: clamp(5rem, 9vw, 9rem) 0; background: var(--pat-paper); }
.note-row {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--pat-line);
  color: inherit;
  text-decoration: none;
}
.note-row:first-child { border-top: 1px solid var(--pat-line); }
.note-row time, .note-tag {
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.note-row h3 {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 400;
  letter-spacing: -.015em;
  transition: color .2s ease;
}
.note-row:hover h3 { color: var(--pat-rust); }

/* Letter */
.letter {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 10rem) 0;
  color: var(--pat-ink);
  background: var(--pat-yellow);
  isolation: isolate;
}
.letter::before {
  position: absolute;
  right: -4vw;
  bottom: -10vw;
  z-index: -1;
  color: rgba(23,32,28,.09);
  font-family: "Fraunces", serif;
  font-size: clamp(18rem, 45vw, 42rem);
  line-height: .7;
  content: "P";
}
.letter h2 {
  max-width: 9ch;
  margin: 1.4rem 0 2rem;
  font-size: clamp(3.6rem, 8.5vw, 8.5rem);
  line-height: .82;
}
.letter p { max-width: 38rem; font-size: clamp(1rem, 1.6vw, 1.25rem); }
.signup {
  display: flex;
  max-width: 45rem;
  margin-top: 3rem;
  border-bottom: 2px solid var(--pat-ink);
}
.signup input {
  min-width: 0;
  padding: 1rem 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--pat-ink);
  background: transparent;
  font-family: "Fraunces", serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}
.signup input::placeholder { color: rgba(23,32,28,.56); }
.signup button {
  border: 0;
  color: inherit;
  background: transparent;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

footer {
  padding: 4rem 0 2rem;
  color: var(--pat-paper);
  background: #0c120f;
}
footer .wordmark { font-size: clamp(2.4rem, 5vw, 5rem); }
.footer-link {
  color: rgba(248,245,238,.7);
  font-size: .72rem;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.footer-link:hover { color: var(--pat-yellow); }
.footer-fine {
  margin-top: 5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.18);
  color: rgba(248,245,238,.45);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.offcanvas { --bs-offcanvas-bg: var(--pat-ink); color: var(--pat-paper); }
.offcanvas .btn-close { filter: invert(1); }
.offcanvas-link {
  color: inherit;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 10vw, 3.5rem);
  letter-spacing: -.04em;
  line-height: 1.25;
  text-decoration: none;
}
.offcanvas-link:hover { color: var(--pat-yellow); }

/* Post pages */
.post-header {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: var(--pat-paper);
}
.post-header h1 {
  max-width: 14ch;
  margin: 1.4rem 0 1.6rem;
  font-size: clamp(2.9rem, 7vw, 6.8rem);
  line-height: .91;
  text-wrap: balance;
}
.post-description {
  max-width: 34rem;
  color: #48514c;
  font-family: "Fraunces", serif;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 300;
  line-height: 1.45;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--pat-line);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.post-figure {
  position: relative;
  max-height: 44rem;
  overflow: hidden;
  margin: 0;
  background: #3a3129;
}
.post-figure img { height: 100%; max-height: 44rem; object-fit: cover; }
.post-figure figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 3rem 2rem 1.5rem;
  color: rgba(255,255,255,.78);
  background: linear-gradient(transparent, rgba(10,12,10,.86));
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.post-body-wrap { padding: clamp(3.5rem, 7vw, 6.5rem) 0; background: var(--pat-cream); }
.post-body {
  max-width: 43rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.1rem, 1.55vw, 1.32rem);
  font-weight: 300;
  line-height: 1.65;
}
.post-body p { margin-bottom: 1.6rem; }
.post-body > p:first-child::first-letter {
  float: left;
  padding: .05em .12em 0 0;
  color: var(--pat-rust);
  font-size: 4.4em;
  line-height: .75;
}
.post-body h2, .post-body h3 {
  margin: 2.6rem 0 1.1rem;
  line-height: 1.05;
}
.post-body h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.post-body h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.post-body ul, .post-body ol { margin-bottom: 1.6rem; }
.post-body li { margin-bottom: .5rem; }
.post-body blockquote {
  margin: 2.2rem 0;
  padding-left: 1.4rem;
  border-left: 2px solid var(--pat-rust);
  color: #48514c;
}
.post-body img { margin: 2.2rem 0; }
.post-body a { color: inherit; }
.post-body a:hover { color: var(--pat-rust); }
.margin-note {
  padding: 1.1rem 0;
  border-block: 1px solid var(--pat-line);
  color: var(--pat-moss);
  font-family: "DM Sans", sans-serif;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.7;
}
@media (min-width: 992px) {
  .margin-note { position: sticky; top: 2rem; }
}
.post-footer-nav {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--pat-line);
  background: var(--pat-cream);
}

/* Listing page */
.listing-header {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(2rem, 4vw, 3rem);
  background: var(--pat-paper);
}
.listing-header h1 {
  margin: 1.2rem 0 0;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: .85;
}
.listing-body { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4rem, 8vw, 7rem); background: var(--pat-paper); }

@media (max-width: 991.98px) {
  .hero h1 { max-width: 8ch; }
  .hero-index { display: none; }
  .loaf-detail { min-height: 36rem; }
  .story-card-tall { min-height: 42rem; }
}
@media (max-width: 767.98px) {
  .hero {
    min-height: 92svh;
    background-position: 58% center;
  }
  .hero-copy { align-items: flex-end; padding-top: 7rem; }
  .hero h1 { margin-bottom: 1.25rem; }
  .feature-number { margin-bottom: 2rem; }
  .loaf-detail { min-height: 28rem; margin-top: 3rem; }
  .story-card, .solid-card, .story-card-wide, .story-card-tall { min-height: 34rem; }
  .note-row { grid-template-columns: 5rem minmax(0, 1fr); gap: 1rem; }
  .note-tag { display: none; }
  .signup { display: block; }
  .signup button { width: 100%; padding: 1rem 0; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
