:root {
  --afs-cream: #f6f0e6;
  --afs-paper: #fffaf2;
  --afs-ink: #2a2923;
  --afs-muted: #6e6a60;
  --afs-line: #d8d0c2;
  --afs-olive: #59634c;
  --afs-red: #a84e3d;
  --afs-red-deep: #86392c;
  --afs-serif: "DM Serif Display", Georgia, serif;
  --afs-sans: "DM Sans", Arial, sans-serif;
  --afs-page: min(1320px, calc(100vw - 112px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.afs {
  margin: 0;
  overflow-x: hidden;
  background: var(--afs-cream);
  color: var(--afs-ink);
  font-family: var(--afs-sans);
  font-size: 16px;
  line-height: 1.55;
}

body.afs * { box-sizing: border-box; }

body.afs a { color: inherit; text-decoration: none; }

body.afs img { display: block; max-width: 100%; }

body.afs button,
body.afs input { color: inherit; font: inherit; }

.afs a:focus-visible,
.afs button:focus-visible,
.afs input:focus-visible {
  outline: 3px solid var(--afs-red);
  outline-offset: 4px;
}

.afs .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.afs-header {
  width: var(--afs-page);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--afs-line);
}

.afs-brand {
  flex: 0 0 auto;
  font-family: var(--afs-serif);
  font-size: 1.74rem;
  letter-spacing: -0.045em;
  line-height: 1;
}

.afs-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(15px, 2.2vw, 32px);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.afs-nav a { padding: 8px 0; }

.afs-nav a:hover,
.afs-nav a[aria-current="page"] { color: var(--afs-red-deep); }

.afs-shell { width: var(--afs-page); margin: 0 auto; }

.afs-kicker {
  margin: 0 0 13px;
  color: var(--afs-red-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.afs-display {
  margin: 0;
  font-family: var(--afs-serif);
  font-size: clamp(3.25rem, 6.2vw, 6.35rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.afs-heading {
  margin: 0;
  font-family: var(--afs-serif);
  font-size: clamp(2.1rem, 4.15vw, 4.05rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.afs-subheading {
  margin: 0;
  font-family: var(--afs-serif);
  font-size: clamp(1.72rem, 2.9vw, 2.65rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.afs-copy {
  color: var(--afs-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.afs-button,
.afs-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

body.afs .afs-button {
  min-height: 47px;
  padding: 12px 20px;
  border: 1px solid var(--afs-ink);
  background: var(--afs-ink);
  color: var(--afs-paper);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.afs-button:hover { background: var(--afs-red-deep); border-color: var(--afs-red-deep); }

.afs-link-arrow {
  color: var(--afs-red-deep);
  font-size: 0.9rem;
}

.afs-link-arrow::after { content: "→"; font-size: 1.05em; transition: transform 160ms ease; }
.afs-link-arrow:hover::after { transform: translateX(4px); }

.afs-hero {
  display: grid;
  grid-template-columns: minmax(330px, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(42px, 6vw, 96px);
  align-items: center;
  min-height: 610px;
  padding: 64px 0 82px;
}

.afs-hero-copy { position: relative; z-index: 1; max-width: 540px; }
.afs-hero-copy .afs-copy { max-width: 460px; margin: 28px 0 32px; }

.afs-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

.afs-hero-image {
  position: relative;
  min-height: 528px;
  overflow: hidden;
  background: #d5b593;
}

.afs-hero-image img { width: 100%; height: 100%; min-height: 528px; object-fit: cover; object-position: 58% center; }

.afs-hero-image::after {
  position: absolute;
  inset: 0;
  width: 42%;
  background: linear-gradient(90deg, var(--afs-cream) 0%, rgba(246, 240, 230, 0.88) 30%, rgba(246, 240, 230, 0) 100%);
  content: "";
  pointer-events: none;
}

.afs-section { padding: 96px 0; border-top: 1px solid var(--afs-line); }

.afs-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.58fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 42px;
}

.afs-section-heading .afs-copy { max-width: 430px; margin: 0; }

.afs-journal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(270px, 0.68fr);
  gap: 22px;
}

.afs-story-feature,
.afs-story-secondary,
.afs-recipe-card,
.afs-bar-card,
.afs-panel { background: var(--afs-paper); }

.afs-story-feature { display: grid; grid-template-columns: minmax(210px, 0.88fr) minmax(250px, 1.12fr); min-height: 360px; }
.afs-story-feature--text-only { grid-template-columns: 1fr; }
.afs-story-feature img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.afs-story-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(28px, 4vw, 58px); }
.afs-story-content .afs-subheading { margin-bottom: 18px; }
.afs-story-content .afs-copy { margin: 0 0 26px; }

.afs-story-secondary { display: flex; flex-direction: column; justify-content: space-between; min-height: 360px; padding: clamp(28px, 3vw, 40px); border-top: 4px solid var(--afs-olive); }
.afs-story-secondary .afs-subheading { margin: 30px 0 14px; }
.afs-story-secondary .afs-copy { margin: 0; }

.afs-recipe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.afs-recipe-card { overflow: hidden; }
.afs-recipe-card img { width: 100%; aspect-ratio: 1 / 0.9; object-fit: cover; }
.afs-recipe-card-copy { padding: 20px 20px 24px; }
.afs-recipe-card h3,
.afs-bar-card h3 { margin: 0; font-family: var(--afs-serif); font-size: 1.7rem; font-weight: 400; letter-spacing: -0.035em; line-height: 1; }
.afs-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.afs-meta span { border: 1px solid var(--afs-line); color: var(--afs-muted); font-size: 0.72rem; font-weight: 700; padding: 4px 7px; }

.afs-bars-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.afs-bar-card { display: flex; flex-direction: column; align-items: stretch; min-height: 255px; overflow: hidden; border-left: 4px solid var(--afs-red); }
.afs-bar-card-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.afs-bar-card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; min-height: 255px; padding: 32px; }
.afs-bar-city { margin: 0 0 56px; color: var(--afs-olive); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.afs-bar-card h3 { margin-bottom: 13px; }
.afs-bar-card .afs-copy { margin: 0 0 22px; }
.afs-bar-card .afs-link-arrow { margin-top: auto; }

.afs-close { margin: 0 0 96px; padding: clamp(46px, 7vw, 96px); background: var(--afs-olive); color: #fffaf0; }
.afs-close .afs-heading { max-width: 650px; }
.afs-close .afs-copy { max-width: 670px; margin: 26px 0 0; color: #edf0e4; }
.afs-close .afs-link-arrow { margin-top: 28px; color: #fffaf0; }

.afs-page-intro { max-width: 760px; padding: 82px 0 58px; }
.afs-page-intro .afs-copy { max-width: 650px; margin: 23px 0 0; }

.afs-journal-tools { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; }
.afs-journal-tools .afs-search { flex: 0 1 320px; max-width: 320px; }
.afs-journal-search-status { min-height: 1.5em; margin: 0; color: var(--afs-muted); font-size: 0.84rem; }

.afs-list { display: grid; gap: 18px; padding-bottom: 96px; }
.afs-list-story { display: grid; grid-template-columns: minmax(180px, 0.5fr) minmax(0, 1fr); min-height: 232px; background: var(--afs-paper); }
.afs-list-story img { width: 100%; height: 100%; min-height: 232px; object-fit: cover; }
.afs-list-story-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(25px, 4vw, 48px); }
.afs-list-story-copy h2 { margin: 0 0 13px; font-family: var(--afs-serif); font-size: clamp(2rem, 3.5vw, 3.1rem); font-weight: 400; letter-spacing: -0.045em; line-height: 1; }
.afs-list-story-copy .afs-copy { margin: 0 0 21px; }

.afs-article { width: min(780px, 100%); padding: 78px 0 100px; }
.afs-article .afs-display { font-size: clamp(3rem, 6vw, 5.45rem); }
.afs-article-summary { max-width: 630px; margin: 26px 0 36px; color: var(--afs-muted); font-size: 1.24rem; line-height: 1.58; }
.afs-article-image { margin: 0 0 48px; }
.afs-article-image img { width: 100%; max-height: 620px; object-fit: cover; }
.afs-article-image figcaption,
.afs-inline-image figcaption,
.afs-gallery-image figcaption { padding: 12px 14px 15px; color: var(--afs-muted); font-size: 0.82rem; line-height: 1.4; background: var(--afs-paper); }
.afs-article-body { max-width: 690px; font-size: 1.06rem; line-height: 1.75; }
.afs-article-body p { margin: 0 0 24px; }
.afs-article-body h2 { margin: 44px 0 16px; font-family: var(--afs-serif); font-size: 2.25rem; font-weight: 400; letter-spacing: -0.04em; line-height: 1.04; }
.afs-inline-recipe-link { color: var(--afs-red-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.afs-inline-recipe-link:hover { color: var(--afs-olive); }
.afs-inline-image { margin: 40px 0 46px; background: var(--afs-paper); }
.afs-inline-image img { width: 100%; max-height: 570px; object-fit: cover; }
.afs-article-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 46px 0 0; }
.afs-gallery-image { margin: 0; background: var(--afs-paper); }
.afs-gallery-image img { width: 100%; aspect-ratio: 0.86; object-fit: cover; }
.afs-article-recipes { margin-top: 62px; padding-top: 42px; border-top: 1px solid var(--afs-line); }
.afs-article-recipes .afs-subheading { margin-top: 4px; }
.afs-journal-recipe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.afs-journal-recipe-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--afs-line); background: var(--afs-paper); }
.afs-journal-recipe-card img { width: 100%; aspect-ratio: 1 / 0.82; object-fit: cover; }
.afs-journal-recipe-card span { padding: 13px 13px 2px; font-family: var(--afs-serif); font-size: 1.28rem; letter-spacing: -0.03em; line-height: 1; }
.afs-journal-recipe-card small { padding: 5px 13px 14px; color: var(--afs-red-deep); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.afs-journal-recipe-card:hover { border-color: var(--afs-red); }
.afs-related { margin-top: 54px; padding: 24px; border-left: 4px solid var(--afs-red); background: var(--afs-paper); }
.afs-share { display: flex; align-items: center; margin: 0 0 34px; }
.afs-share-button { display: inline-flex; min-height: 40px; align-items: center; gap: 8px; border: 1px solid var(--afs-line); border-radius: 999px; background: transparent; color: var(--afs-red-deep); cursor: pointer; padding: 8px 13px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; }
.afs-share-button:hover { border-color: var(--afs-red); background: var(--afs-paper); }
.afs-share-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }

.afs-recipe-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 36px; }
.afs-search { flex: 1 1 280px; min-height: 48px; border: 1px solid var(--afs-line); background: var(--afs-paper); padding: 0 14px; }
.afs-filter { min-height: 42px; border: 1px solid var(--afs-line); background: transparent; cursor: pointer; padding: 0 13px; font-size: 0.84rem; }
.afs-filter[aria-pressed="true"] { border-color: var(--afs-red); background: var(--afs-red); color: #fffaf0; }
.afs-recipe-archive { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 96px; }
.afs-recipe-archive .afs-recipe-card { border: 1px solid var(--afs-line); }

.afs-detail { display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(290px, 0.7fr); gap: 64px; padding: 76px 0 100px; }
.afs-detail-media img { width: 100%; aspect-ratio: 1 / 1.07; object-fit: cover; }
.afs-detail-copy .afs-copy { margin: 22px 0 35px; }
.afs-detail-section { margin-top: 37px; padding-top: 28px; border-top: 1px solid var(--afs-line); }
.afs-detail-section h2 { margin: 0 0 15px; font-family: var(--afs-serif); font-size: 2rem; font-weight: 400; letter-spacing: -0.04em; }
.afs-detail-section ul { padding-left: 21px; }
.afs-detail-section li { margin-bottom: 8px; }
.afs-detail-section p { white-space: pre-line; }
.afs-recipe-credit { margin-top: 37px; padding-top: 26px; border-top: 1px solid var(--afs-line); }
.afs-recipe-credit .afs-kicker { margin: 0 0 10px; color: var(--afs-red-deep); }
.afs-recipe-credit-copy { max-width: 480px; margin: 0; color: var(--afs-muted); font-size: 0.9rem; line-height: 1.55; }
.afs-recipe-credit-copy + .afs-recipe-credit-copy { margin-top: 5px; }
.afs-recipe-credit-copy a { color: var(--afs-red-deep); text-decoration-color: var(--afs-red); text-underline-offset: 3px; }

.afs-bar-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-bottom: 96px; }
.afs-bar-list .afs-bar-card { border: 1px solid var(--afs-line); border-left: 4px solid var(--afs-red); }

.afs-note-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 46px 0 0; }
.afs-note-grid .afs-panel { padding: 26px; }
.afs-note-grid h2 { margin: 0 0 13px; font-family: var(--afs-serif); font-size: 1.8rem; font-weight: 400; letter-spacing: -0.04em; line-height: 1.05; }
.afs-note-grid p { margin: 0; color: var(--afs-muted); }
.afs-bar-narrative { max-width: 760px; margin: 40px 0 0; color: var(--afs-ink); font-size: 1.08rem; line-height: 1.74; }
.afs-bar-narrative p { margin: 0 0 22px; }
.afs-bar-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 42px 0 0; }
.afs-bar-gallery figure { margin: 0; background: var(--afs-paper); }
.afs-bar-gallery img { display: block; width: 100%; aspect-ratio: 0.75; object-fit: cover; }
.afs-bar-gallery figcaption { padding: 12px 14px 15px; color: var(--afs-muted); font-size: 0.82rem; line-height: 1.4; }

.afs-about { max-width: 740px; padding: 84px 0 100px; }
.afs-about .afs-copy { margin: 26px 0 0; font-size: 1.12rem; }
.afs-about-rule { width: 100%; margin: 45px 0; border: 0; border-top: 1px solid var(--afs-line); }

.afs-empty { padding: 40px; background: var(--afs-paper); color: var(--afs-muted); }

.afs-footer { width: var(--afs-page); margin: 0 auto; padding: 34px 0 42px; border-top: 1px solid var(--afs-line); display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; color: var(--afs-muted); font-size: 0.83rem; }
.afs-footer strong { display: block; margin-bottom: 6px; color: var(--afs-ink); font-family: var(--afs-serif); font-size: 1.3rem; font-weight: 400; }
.afs-footer p { max-width: 550px; margin: 0; }
.afs-footer a { color: var(--afs-red-deep); font-weight: 700; white-space: nowrap; }

@media (max-width: 820px) {
  :root { --afs-page: min(100% - 40px, 680px); }
  .afs-header { min-height: 64px; gap: 18px; }
  .afs-brand { font-size: 1.52rem; }
  .afs-nav { gap: 15px; overflow-x: auto; font-size: 0.67rem; }
  .afs-hero { grid-template-columns: 1fr; gap: 36px; min-height: 0; padding: 56px 0 64px; }
  .afs-hero-image, .afs-hero-image img { min-height: 420px; }
  .afs-hero-image::after { inset: 0 0 auto 0; width: 100%; height: 22%; background: linear-gradient(180deg, var(--afs-cream), rgba(246, 240, 230, 0)); }
  .afs-section { padding: 66px 0; }
  .afs-section-heading, .afs-journal-grid, .afs-story-feature, .afs-recipe-grid, .afs-bars-grid, .afs-list-story, .afs-recipe-archive, .afs-detail, .afs-bar-list, .afs-note-grid, .afs-bar-gallery, .afs-article-gallery, .afs-journal-recipe-grid { grid-template-columns: 1fr; }
  .afs-section-heading { gap: 18px; margin-bottom: 28px; }
  .afs-story-feature img, .afs-list-story img { min-height: 280px; }
  .afs-story-feature { min-height: 0; }
  .afs-story-secondary { min-height: 260px; }
  .afs-close { margin-bottom: 66px; }
  .afs-detail { gap: 36px; padding-top: 56px; }
  .afs-share { margin-bottom: 28px; }
  .afs-footer { display: block; }
  .afs-footer a { display: inline-block; margin-top: 18px; }
}

@media (max-width: 500px) {
  :root { --afs-page: calc(100% - 40px); }
  .afs-header { align-items: flex-start; flex-direction: column; gap: 4px; padding: 18px 0 12px; }
  .afs-nav { justify-content: flex-start; width: 100%; padding-bottom: 5px; }
  .afs-display { font-size: clamp(3rem, 15vw, 4.35rem); }
  .afs-hero-image, .afs-hero-image img { min-height: 340px; }
  .afs-hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .afs-journal-tools { align-items: stretch; flex-direction: column; gap: 8px; }
  .afs-journal-tools .afs-search { flex: 0 0 48px; width: 100%; max-width: none; }
  .afs-section { padding: 54px 0; }
  .afs-story-content, .afs-story-secondary, .afs-bar-card { padding: 25px; }
  .afs-list-story-copy { padding: 27px 25px 30px; }
  .afs-recipe-card-copy { padding: 18px; }
  .afs-close { padding: 36px 25px; }
  .afs-article { padding: 58px 0 76px; }
}
