:root {
  --bg: #faf6ef;
  --paper: #ffffff;
  --ink: #141414;
  --ink-soft: #3a3732;
  --muted: #78726a;
  --line: #e4ded2;
  --line-soft: #f0ebe0;
  --accent: #c4432b;
  --accent-dark: #8f2d18;
  --mustard: #d4a84a;
  --tag-bg: #efe9db;
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
hr.rule { border: 0; height: 1px; background: var(--line); margin: 0; }

.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.wrap-narrow { width: min(760px, calc(100% - 48px)); margin: 0 auto; }

/* ===== HEADER ===== */
.top {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.top-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.brand .mark { width: 36px; height: 36px; display: block; }
.brand .mark svg { width: 100%; height: 100%; display: block; }
.brand-text {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-text em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.top nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.top nav a:hover { color: var(--accent); }
.top .cta {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.top .cta:hover { background: var(--accent); }

/* ===== MASTHEAD ===== */
.mast {
  padding: 32px 0 20px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.mast .issue {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.mast .issue b { color: var(--accent); font-weight: 500; }
.mast .issue span.dot { width: 4px; height: 4px; background: var(--muted); border-radius: 50%; }

/* ===== HERO FEATURE ===== */
.feature { padding: 44px 0 56px; border-bottom: 1px solid var(--line); }
.feature .cat {
  text-align: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 18px;
}
.feature h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 6vw, 86px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 auto 20px;
  max-width: 920px;
}
.feature h1 em { font-style: italic; }
.feature .dek {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 20px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.feature .byline {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.feature .byline .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  overflow: hidden; border: 1px solid var(--line);
}
.feature .byline .avatar img { width: 100%; height: 100%; object-fit: cover; }
.feature .byline .sep { color: var(--line); }
.feature .byline b { color: var(--ink); font-weight: 600; }
.feature .photo {
  width: min(1100px, 100%);
  margin: 0 auto;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 2.4 / 1;
  background: var(--line-soft);
}
.feature .photo img { width: 100%; height: 100%; object-fit: cover; }

/* ===== ABOUT STRIP ===== */
.strip-about {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.strip-about-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  font-size: 15px;
  color: var(--ink-soft);
}
.strip-about .av {
  width: 46px; height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  flex: 0 0 46px;
}
.strip-about .av img { width: 100%; height: 100%; object-fit: cover; }
.strip-about b { color: var(--ink); font-weight: 600; }
.strip-about a.about-link {
  margin-left: 10px;
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

/* ===== SECTION BASE ===== */
.section { padding: 72px 0 20px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.section-head h2 em { font-style: italic; color: var(--accent); }
.section-head .link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-head .link:hover { color: var(--accent); }

/* ===== POST GRID ===== */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.post .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--line-soft);
  border-radius: 2px;
  margin-bottom: 16px;
}
.post .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.post:hover .thumb img { transform: scale(1.03); }
.post .meta-top {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.post .tag {
  color: var(--accent);
  font-weight: 600;
}
.post h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.post h3 a:hover { color: var(--accent); }
.post .dek {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}
.post .foot {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ===== FEATURE ARTICLE (long post inline) ===== */
.article-wrap { padding: 72px 0 48px; }
.article-head { text-align: center; margin-bottom: 36px; }
.article-head .cat {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}
.article-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.article-head .dek {
  max-width: 560px;
  margin: 0 auto 20px;
  font-size: 18px;
  color: var(--ink-soft);
}
.article-head .byline {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.article-head .byline b { color: var(--ink); font-weight: 600; }
.article-head .byline .sep { color: var(--line); }

.article-photo {
  width: min(900px, 100%);
  margin: 0 auto 36px;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--line-soft);
}
.article-photo img { width: 100%; height: 100%; object-fit: cover; }

.prose {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 400;
}
.prose > p { margin: 0 0 20px; }
.prose > p.lead::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 76px;
  line-height: 0.9;
  padding: 6px 10px 0 0;
  color: var(--accent);
  font-weight: 500;
}
.prose .pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.3;
  margin: 32px -20px;
  padding: 20px 32px;
  border-left: 3px solid var(--accent);
  color: var(--ink);
}

.recipe-box {
  margin: 36px 0;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.recipe-box h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 14px;
}
.recipe-box ul.ing { list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: 15px; color: var(--ink); }
.recipe-box ul.ing li { padding: 8px 0; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 20px; }
.recipe-box ul.ing li:first-child { border-top: 0; }
.recipe-box ul.ing li span.q { color: var(--muted); font-variant-numeric: tabular-nums; }
.recipe-box ol.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.recipe-box ol.steps li {
  counter-increment: step;
  padding: 10px 0 10px 36px;
  position: relative;
  border-top: 1px dashed var(--line);
}
.recipe-box ol.steps li:first-child { border-top: 0; }
.recipe-box ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 10px;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: var(--paper);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

.article-outro {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.article-outro .av {
  width: 42px; height: 42px; border-radius: 50%;
  overflow: hidden; border: 1px solid var(--line);
  flex: 0 0 42px;
}
.article-outro .av img { width: 100%; height: 100%; object-fit: cover; }
.article-outro b { color: var(--ink); font-weight: 600; }

/* ===== TAGS CLOUD ===== */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
}
.tags-cloud a {
  padding: 8px 14px;
  background: var(--tag-bg);
  border-radius: 2px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}
.tags-cloud a:hover { background: var(--accent); color: var(--paper); }

/* ===== AUTHOR BLOCK ===== */
.author-block {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
  padding: 32px 0 0;
}
.author-block .portrait {
  background: var(--line-soft);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.author-block .portrait img { width: 100%; height: 100%; object-fit: cover; }
.author-block h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.author-block h2 em { font-style: italic; color: var(--accent); }
.author-block p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 16px;
}
.author-block .timeline {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.author-block .timeline ul { list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--ink-soft); }
.author-block .timeline li { padding: 8px 0; display: grid; grid-template-columns: 90px 1fr; gap: 20px; border-top: 1px dashed var(--line); }
.author-block .timeline li:first-child { border-top: 0; }
.author-block .timeline li time { color: var(--muted); font-family: var(--mono); font-size: 12px; padding-top: 2px; }

/* ===== READER LETTERS ===== */
.letters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.letter {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.letter .av {
  width: 48px; height: 48px; border-radius: 50%;
  overflow: hidden; border: 1px solid var(--line);
  flex: 0 0 48px;
}
.letter .av img { width: 100%; height: 100%; object-fit: cover; }
.letter .body { flex: 1; min-width: 0; }
.letter p {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
}
.letter .who {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.letter .who b { color: var(--ink); font-weight: 600; }

/* ===== FAQ ===== */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 400;
  font-size: 24px;
  color: var(--accent);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .body {
  padding: 0 0 22px;
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 720px;
}
.faq-item .body p { margin: 0 0 10px; }

/* ===== SUBSCRIBE ===== */
.subscribe {
  background: var(--ink);
  color: var(--bg);
  padding: 72px 0;
  margin-top: 72px;
}
.subscribe .inner { max-width: 640px; margin: 0 auto; text-align: center; padding: 0 24px; }
.subscribe .label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mustard);
  font-weight: 600;
  margin-bottom: 16px;
}
.subscribe h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.subscribe h2 em { font-style: italic; color: var(--mustard); }
.subscribe p { color: rgba(250, 246, 239, 0.72); margin: 0 0 28px; font-size: 16px; }
.subscribe form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.subscribe form input {
  flex: 1;
  min-width: 220px;
  background: transparent;
  border: 1px solid rgba(250, 246, 239, 0.3);
  color: var(--bg);
  padding: 0 16px;
  height: 48px;
  font-size: 15px;
  border-radius: 2px;
}
.subscribe form input::placeholder { color: rgba(250, 246, 239, 0.4); }
.subscribe form input:focus { outline: 0; border-color: var(--mustard); }
.subscribe form button {
  background: var(--mustard);
  color: var(--ink);
  border: 0;
  padding: 0 24px;
  height: 48px;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 13px;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
}
.subscribe form button:hover { background: var(--accent); color: var(--paper); }
.subscribe .err { color: var(--mustard); font-size: 13px; margin: 16px 0 0; min-height: 1.2em; font-weight: 500; }
.subscribe .done { display: none; margin-top: 24px; }
.subscribe .done.show { display: block; }
.subscribe .done h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  margin: 0 0 8px;
  color: var(--mustard);
}
.subscribe .done p { color: rgba(250, 246, 239, 0.78); font-size: 15px; }
.subscribe form.hide { display: none; }
.subscribe .trust {
  margin-top: 20px;
  font-size: 12px;
  color: rgba(250, 246, 239, 0.5);
  letter-spacing: 0.04em;
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg);
  color: var(--ink-soft);
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
}
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
footer .about-f { color: var(--muted); font-size: 14px; max-width: 320px; }
footer .brand-f {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--ink);
}
footer h5 { margin: 0 0 12px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); font-weight: 700; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
footer a:hover { color: var(--accent); }
footer .legal {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .top nav { display: none; }
  .posts { grid-template-columns: 1fr 1fr; }
  .letters { grid-template-columns: 1fr; }
  .author-block { grid-template-columns: 1fr; gap: 32px; }
  .recipe-box { grid-template-columns: 1fr; gap: 24px; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .posts { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-head h2 { font-size: clamp(24px, 7vw, 32px); }
  .feature h1 { font-size: clamp(26px, 8vw, 36px); line-height: 1.05; }
  .feature .dek { font-size: 17px; }
  .article-head h2 { font-size: clamp(26px, 7.5vw, 34px); line-height: 1.1; }
  .author-block h2 { font-size: clamp(26px, 8vw, 36px); line-height: 1.1; }
  .subscribe h2 { font-size: clamp(26px, 8vw, 36px); line-height: 1.1; }
  .brand-text { font-size: 17px; }
  .top .cta { padding: 8px 12px; font-size: 11px; }
  .prose { font-size: 17px; }
  .prose .pullquote { font-size: 20px; margin: 24px 0; padding: 16px 20px; }
  .prose > p.lead::first-letter { font-size: 56px; }
  .recipe-box { padding: 20px 18px; }
  .wrap, .wrap-narrow { width: calc(100% - 28px); }
  .subscribe form { flex-direction: column; }
  .subscribe form button { width: 100%; }
  .subscribe form input { min-width: 0; }
  .top-inner { gap: 10px; padding: 12px 0; }
  .brand .mark { width: 30px; height: 30px; }
  h1, h2, h3 { overflow-wrap: break-word; }
}

.doc {
  width: min(720px, calc(100% - 40px));
  margin: 56px auto 80px;
}
.doc h1 { margin: 0 0 8px; }
.doc h2 { font-size: 22px; margin: 28px 0 8px; }
.doc .back { font-weight: 700; }
.doc p, .doc li { margin: 0 0 12px; }
.doc ul { padding-left: 18px; }
.doc a { text-decoration: underline; }
