



:root {
  color-scheme: light;
  --ink: #14243d;
  --porcelain: #fafaf6;
  --blue: #526c91;
  --gold: #c49736;
  --gold-ink: #765316;
  --paper: #f1eee6;
  --rule: #d8d4c8;
  --muted: #4e5968;
  --serif: "Silk Serif", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font: 1rem/1.6 var(--sans);
}

a { color: inherit; }
button { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; }
h2 { font-size: clamp(2.75rem, 6vw, 5.2rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.65rem, 2.8vw, 2.35rem); letter-spacing: -.02em; }
:focus-visible { outline: 2px solid #9b2535; outline-offset: 5px; }
::selection { background: #d8e3f4; color: var(--ink); }

.shell { width: min(100% - 7vw, 1270px); margin-inline: auto; }
.section { padding-block: clamp(4.25rem, 9vw, 8.5rem); }
section[id] { scroll-margin-top: 1.5rem; }

.skip-link {
  position: absolute;
  z-index: 5;
  inset: .75rem auto auto .75rem;
  transform: translateY(-180%);
  background: var(--porcelain);
  color: var(--ink);
  padding: .65rem 1rem;
}

.skip-link:focus { transform: none; }

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

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 90px;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  justify-self: start;
  gap: .35rem;
  color: inherit;
  text-decoration: none;
  line-height: 1;
}

.wordmark span { font: 400 clamp(1.5rem, 3vw, 2.12rem)/1 var(--serif); letter-spacing: .15em; }
.wordmark small { font-size: .6rem; line-height: 1.45; letter-spacing: .125em; text-transform: uppercase; }

.masthead nav, .section-nav .shell { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 3.5vw, 3.75rem); }

.masthead nav a, .section-nav a, .bag-button {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .105em;
  text-transform: uppercase;
  text-decoration: none;
}

.masthead nav a, .section-nav a { display: flex; align-items: center; min-height: 44px; }
.masthead nav a:hover, .section-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.bag-button {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: .65rem;
  min-height: 42px;
  padding: .3rem .75rem;
  border: 1px solid var(--rule);
  background: transparent;
}

.bag-button:hover { border-color: var(--ink); }
#bag-count { display: grid; min-width: 1.4rem; min-height: 1.4rem; place-items: center; background: var(--ink); border-radius: 50%; color: var(--porcelain); letter-spacing: 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .77fr) minmax(0, 1fr);
  min-height: clamp(540px, 44vw, 710px);
  background: var(--paper);
}

.hero-story { display: grid; align-items: center; justify-items: end; padding: clamp(2rem, 5vw, 5rem) clamp(1.7rem, 4.75vw, 4.6rem); }
.hero-inner { width: min(100%, 520px); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--gold-ink);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.diamond { width: .53rem; height: .53rem; border: 1px solid var(--gold-ink); transform: rotate(45deg); }
.hero h1 { margin-top: 1.3rem; font-size: clamp(4.2rem, 7.6vw, 7.75rem); line-height: .95; letter-spacing: -.055em; }
.hero h1 em { color: var(--blue); }
.hero-story p:not(.eyebrow) { color: var(--muted); max-width: 34ch; margin-top: 1.6rem; }
.hero-story .button { margin-top: 1.65rem; }

.hero-image, .watch-photo { position: relative; }
.hero-image img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 67% center; }
figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  color: #fff;
  background: #14243de8;
  padding: .35rem .65rem;
  font-size: .66rem;
  letter-spacing: .055em;
}

.button {
  width: fit-content;
  min-height: 48px;
  padding: .7rem 1.05rem;
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.12rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}

.button-dark { color: var(--porcelain); background: var(--ink); }
.button-dark:hover { background: #2a4266; }
.button span { font-size: .95rem; }

.section-nav { border-block: 1px solid var(--rule); }
.section-nav a { padding-block: .5rem; }
.section-head { max-width: 760px; }
.section-head h2 { margin-block: .7rem .85rem; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.25rem, 2.75vw, 2.8rem);
  margin-top: clamp(1.6rem, 3vw, 2.5rem);
}

.feature { border-bottom: 1px solid var(--rule); }
.feature > img { height: auto; aspect-ratio: 1.24; object-fit: cover; }
.coffee-image { object-position: center 62%; }
.onion-image { object-position: center 43%; filter: saturate(.8); }
.feature-kind { margin-top: 1.15rem; }
.feature h3 { margin-top: .55rem; }
.feature > p:not(.eyebrow) { margin-block: .75rem .9rem; color: var(--muted); }
.ethiopic { color: var(--blue); font: .72em/1.4 "Abyssinica SIL", "Noto Sans Ethiopic", system-ui, sans-serif; }

details summary {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-block: .75rem;
  list-style: none;
  min-height: 44px;
}

summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--sans); font-size: 1rem; }
details[open] > summary::after { content: "−"; }
details p, details ol { margin-block: .65rem .95rem; }
details ol { padding-left: 1.3rem; }
details li { padding-left: .2rem; }
.feature summary { font-size: .86rem; font-weight: 700; }
.feature details p, .feature details ol { font-size: .92rem; }
.text-link { font-size: .9rem; font-weight: 700; text-underline-offset: .24em; }

.ingredients {
  padding-block: clamp(3.2rem, 7vw, 6.25rem);
  background: var(--ink);
  color: var(--porcelain);
}

.ingredients-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
}

.ingredients-photo { border: 1px solid #c497368c; padding: clamp(.55rem, 1.1vw, 1.2rem); }
.ingredients-photo img { aspect-ratio: 1.16; object-fit: cover; object-position: center; }
.ingredients-copy .eyebrow { color: #e2c482; }
.ingredients-copy h2 { margin-bottom: clamp(1.5rem, 4vw, 2.6rem); }
.ingredients-copy details { border-top: 1px solid #788495; }
.ingredients-copy details:last-of-type { border-bottom: 1px solid #788495; }
.ingredients-copy summary { justify-content: flex-start; font: clamp(1.5rem, 2.8vw, 2.15rem)/1.2 var(--serif); }
.ingredients-copy summary::after { margin-left: auto; }
.ingredients-copy p:not(.eyebrow), .ingredients-copy .ethiopic { color: #e4e9f2; }
.ingredients-copy .ingredient-sources { margin-top: 1.2rem; font-size: .78rem; }
.ingredients-copy a { text-underline-offset: .17em; }
.ingredients :focus-visible, .site-footer :focus-visible { outline-color: #f1d590; }

.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
}

.watch-copy h2, .pantry h2 { margin-block: .65rem 1.2rem; }
.watch-copy > p:not(.eyebrow), .pantry-copy > p:not(.eyebrow, .bag-status) { max-width: 42ch; color: var(--muted); }
.watch-copy .button { margin-block: 1.4rem .95rem; }
.watch-copy .cookbook { display: block; width: fit-content; }
.watch-note { color: var(--muted); margin-top: 1rem; font-size: .82rem; }
.watch-photo img { aspect-ratio: 1.14; object-fit: cover; object-position: 50% 48%; }

.pantry { background: var(--paper); padding-block: clamp(3.2rem, 7vw, 6.25rem); }
.pantry-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: stretch; gap: clamp(2rem, 7vw, 8rem); }
.pantry-image { height: 100%; max-height: 640px; object-fit: cover; object-position: center 51%; }

.products { list-style: none; margin: 1.35rem 0 0; padding: 0; border-top: 1px solid #c9c3b5; }
.products li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .75rem;
  padding-block: .85rem;
  border-bottom: 1px solid #c9c3b5;
}
.products h3 { font-size: clamp(1.44rem, 3vw, 1.88rem); }
.products p { color: var(--muted); margin-top: .2rem; font-size: .88rem; }
.products button, .bag-items button {
  min-height: 44px;
  border: 1px solid var(--ink);
  background: transparent;
  padding-inline: .65rem;
  font-size: .73rem;
  font-weight: 700;
}
.products button span { margin-left: .15rem; }
.products button:hover, .bag-items button:hover { background: var(--ink); color: var(--porcelain); }
.pantry-actions { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 1rem; margin-top: .4rem; }
.bag-status { min-height: 1.5rem; padding-block: .5rem; font-size: .88rem; }
.text-button { min-height: 44px; border: 0; background: transparent; padding-inline: 0; text-decoration: underline; text-underline-offset: .24em; font-size: .85rem; font-weight: 700; }

.site-footer { background: var(--ink); color: var(--porcelain); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; padding-block: 2.35rem; }
.footer-inner p { font-size: .78rem; }

dialog {
  width: min(90vw, 510px);
  max-height: min(85vh, 720px);
  padding: 0;
  color: var(--ink);
  background: var(--porcelain);
  border: 1px solid var(--gold);
}
dialog::backdrop { background: #14243da6; }
.bag-layout { padding: clamp(1.25rem, 4vw, 2rem); }
.bag-head { display: flex; gap: .5rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.bag-head h2 { font-size: clamp(2rem, 6vw, 2.75rem); }
.close-button { border: 1px solid var(--rule); background: transparent; min-width: 44px; min-height: 44px; padding: 0; font-size: 1.6rem; }
.bag-items { list-style: none; padding: 0; margin: 0; }
.bag-items li { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .65rem 0; border-bottom: 1px solid var(--rule); }
.bag-layout .button { margin-top: 1.25rem; }

@media (max-width: 950px) {
  .hero { min-height: clamp(400px, 60vw, 530px); }
  .hero h1 { font-size: clamp(3.6rem, 8vw, 6rem); }
  .feature h3 > .ethiopic { display: block; margin-top: .2rem; }
}

@media (max-width: 660px) {
  .shell { width: calc(100% - 2.2rem); }
  .masthead { grid-template-columns: minmax(0, 1fr) auto; gap: 0 .7rem; min-height: 0; padding-top: 1rem; }
  .masthead nav { grid-column: 1 / -1; grid-row: 2; margin-top: .2rem; justify-content: flex-start; }
  .bag-button { grid-column: 2; grid-row: 1; }
  .wordmark small { font-size: .52rem; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-story { justify-items: start; padding: 3.2rem 1.1rem 2.7rem; }
  .hero h1 { font-size: clamp(3.6rem, 12vw, 5.65rem); }
  .hero-image { min-height: 265px; aspect-ratio: 1.37; }
  .hero-image img { object-position: 62% center; }
  .section-nav .shell { justify-content: flex-start; flex-wrap: wrap; gap: 0 1rem; }
  .section-nav a { font-size: .69rem; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .feature h3 > .ethiopic { display: inline; }
  .ingredients-layout, .watch-layout, .pantry-layout { grid-template-columns: minmax(0, 1fr); }
  .ingredients-photo { order: 1; }
  .pantry-image { height: auto; max-height: 440px; aspect-ratio: 1; }
  .watch-photo img { aspect-ratio: 1.2; }
}
#youtube-channel[hidden],#youtube-pending[hidden]{display:none}
:root{--journal-red:#9b2535;--journal-rosemary:#546951;--journal-blossom:#b5a8cc}
#ingredients .eyebrow{color:var(--journal-rosemary)}
#watch .eyebrow{color:var(--journal-red)}
#watch .watch-note{border-left:2px solid var(--journal-blossom);padding-left:.8rem}
@media (max-width:660px){.hero-image{width:100%;min-width:0}}


/* Fit the merged site navigation into the original journal masthead. */
.masthead nav { flex-wrap: wrap; column-gap: clamp(.75rem, 1.5vw, 1.65rem); row-gap: 0; }
.masthead nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.journal-order { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; white-space: nowrap; }
@media (max-width: 46rem) { .masthead nav { row-gap: 0; } }

.coffee-ceremony-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}
.coffee-ceremony-grid figure { margin: 0; }
.coffee-ceremony-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.coffee-ceremony-grid figcaption { margin-top: .5rem; }
@media (max-width: 640px) {
  .coffee-ceremony-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ingredients-layout { grid-template-columns: minmax(0, 46rem); }
.ingredients-copy { grid-column: 1; }
