:root {
  --paper: #f4ebdc;
  --paper-2: #eadcc6;
  --ink: #1f1a15;
  --muted: #6d6256;
  --line: #c9b89d;
  --line-soft: rgba(98, 81, 57, .22);
  --brass: #9a600c;
  --brass-dark: #744707;
  --walnut: #3e2b1c;
  --note: #efcf7d;
  --card: rgba(255, 250, 239, .44);
  --max: 1840px;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 15% 0%, rgba(255,255,255,.62), transparent 34rem),
    radial-gradient(circle at 100% 20%, rgba(160,111,42,.08), transparent 30rem),
    var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  border-bottom: 1px solid var(--line-soft);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 42px 28px;
  display: grid;
  grid-template-columns: 185px 250px 1fr 40px;
  align-items: center;
  gap: 30px;
}

.brand {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.4rem, 1.85vw, 2.15rem);
  letter-spacing: -.04em;
  line-height: .98;
}

.tagline {
  margin: 0;
  padding-left: 30px;
  border-left: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: .98rem;
  line-height: 1.7;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2vw, 42px);
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.main-nav a {
  transition: color .18s ease;
}

.main-nav a:hover {
  color: var(--brass);
}

.search-button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.search-button span {
  position: absolute;
  inset: 7px;
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.search-button span::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 2px;
  background: var(--ink);
  right: -6px;
  bottom: -3px;
  transform: rotate(45deg);
}

.page-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 42px 36px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 44px;
}

.main-column {
  min-width: 0;
}

.section-block {
  padding: 38px 0;
  border-bottom: 1px solid var(--line-soft);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(280px, .72fr) minmax(260px, .65fr);
  gap: 0;
}

.hero-feature {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--walnut);
}

.hero-feature img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.hero-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.12) 56%, transparent);
}

.hero-feature__overlay {
  position: absolute;
  z-index: 2;
  left: 36px;
  bottom: 34px;
  max-width: 480px;
  color: #fff8ed;
}

.hero-feature__overlay h1 {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 3.1vw, 4.2rem);
  line-height: 1.18;
  letter-spacing: -.055em;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brass-dark);
}

.hero-feature__overlay .eyebrow {
  color: #fff0d4;
}

.hero-feature__overlay a,
.desk-note a,
.long-read a,
.around-web a,
.rail-card a {
  color: var(--brass-dark);
  font-weight: 700;
}

.hero-feature__overlay a {
  color: #fff3dc;
}

.desk-note {
  background: rgba(255, 248, 237, .58);
  padding: 34px 36px;
  border-right: 1px solid var(--line-soft);
}

.desk-note h2,
.rail-feature h2,
.long-read h2,
.subscribe-panel h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.22;
}

.desk-note h2 {
  margin: 0 0 24px;
  font-size: clamp(1.85rem, 2.1vw, 3rem);
}

.desk-note p:not(.eyebrow) {
  font-size: 1rem;
}

.visual-note img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}

.section-heading h2,
.section-label {
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.entry-grid {
  display: grid;
  gap: 26px;
}

.entry-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.entry-card img {
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  margin-bottom: 16px;
}

.entry-card h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.25vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -.04em;
  font-weight: 400;
}

.meta {
  color: var(--muted);
  font-size: .86rem;
}

.lower-section {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, .82fr) minmax(280px, 1fr);
  gap: 34px;
}

.long-read__inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 26px;
}

.long-read img {
  aspect-ratio: 1 / 1.3;
  object-fit: cover;
}

.long-read h2 {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 2vw, 2.75rem);
}

.stacked-list,
.around-web {
  border-left: 1px solid var(--line-soft);
  padding-left: 28px;
}

.stacked-list article {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.stacked-list h3,
.around-web h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: 400;
}

.around-web article {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.around-web img {
  aspect-ratio: 1 / .78;
  object-fit: cover;
}

.right-rail {
  border-left: 1px solid var(--line-soft);
  padding-left: 40px;
}

.rail-card {
  padding: 36px 0;
  border-bottom: 1px solid var(--line-soft);
}

.rail-card:first-child {
  padding-top: 38px;
}

.rail-feature img {
  margin: 16px 0 22px;
  aspect-ratio: 1.52 / 1;
  object-fit: cover;
}

.rail-feature h2 {
  margin: 0 0 22px;
  font-size: clamp(1.35rem, 1.55vw, 2.1rem);
}

.rail-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line-soft);
}

.sticky-note {
  background: var(--note);
  padding: 22px 20px;
  transform: rotate(-1.3deg);
  box-shadow: 0 12px 22px rgba(71, 51, 24, .14);
}

.sticky-note h3,
.clipboard-note h3,
.reply-note h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.38;
  margin: 0 0 22px;
}

.clipboard-note {
  padding: 22px 20px;
  background:
    linear-gradient(transparent 95%, rgba(68,49,30,.12) 95%) 0 0 / 100% 34px,
    #efe6d7;
  border: 1px solid rgba(64, 51, 39, .14);
  box-shadow: 0 10px 18px rgba(71, 51, 24, .1);
}

.reader-note blockquote {
  margin: 10px 0 16px;
  padding: 0;
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.45;
}

.subscribe-panel {
  margin: 36px 0 28px;
  padding: 34px 44px;
  display: grid;
  grid-template-columns: 120px 1fr minmax(320px, 520px) 115px;
  gap: 36px;
  align-items: center;
  background: rgba(231, 211, 177, .55);
}

.coffee-icon {
  font-size: 4rem;
}

.subscribe-panel h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2vw, 2.6rem);
}

.subscribe-panel form,
.footer-subscribe div {
  display: flex;
}

input,
button {
  font: inherit;
}

.subscribe-panel input,
.footer-subscribe input {
  flex: 1;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.38);
}

.subscribe-panel button,
.footer-subscribe button {
  padding: 16px 24px;
  border: 1px solid var(--brass);
  background: var(--brass);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.stamp,
.footer-mark {
  width: 88px;
  height: 88px;
  border: 1px solid rgba(31,26,21,.48);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: .08em;
  justify-self: end;
  opacity: .76;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 42px 42px;
  display: grid;
  grid-template-columns: 90px 1.15fr 1.4fr 1fr;
  gap: 30px;
  align-items: center;
}

.footer-mark {
  border-radius: 0;
  height: 50px;
  width: 80px;
  font-size: 1.4rem;
  justify-self: start;
}

.footer-line {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-family: var(--serif);
  font-size: .9rem;
}

.footer-subscribe label {
  display: block;
  margin-bottom: 8px;
  font-size: .88rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 1380px) {
  .content-layout {
    grid-template-columns: 1fr;
  }

  .right-rail {
    border-left: 0;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
  }

  .rail-card,
  .rail-split,
  .rail-card:first-child {
    padding: 0;
    border-bottom: 0;
  }

  .site-header__inner {
    grid-template-columns: 180px 230px 1fr 40px;
  }

  .main-nav {
    gap: 18px;
  }
}

@media (max-width: 1080px) {
  .site-header__inner {
    grid-template-columns: 1fr 40px;
  }

  .tagline,
  .main-nav {
    display: none;
  }

  .hero-section,
  .lower-section,
  .subscribe-panel,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .visual-note {
    display: none;
  }

  .entry-grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .long-read__inner {
    grid-template-columns: 1fr;
  }

  .right-rail {
    grid-template-columns: 1fr;
  }

  .stacked-list,
  .around-web {
    border-left: 0;
    padding-left: 0;
  }

  .stamp {
    justify-self: start;
  }

  .footer-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .page-shell,
  .site-header__inner,
  .site-footer__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-feature__overlay {
    left: 24px;
    right: 24px;
  }

  .entry-grid--five,
  .rail-split {
    grid-template-columns: 1fr;
  }

  .subscribe-panel {
    padding: 26px 22px;
  }

  .subscribe-panel form,
  .footer-subscribe div {
    flex-direction: column;
  }

  .subscribe-panel button,
  .footer-subscribe button {
    width: 100%;
  }
}
