/* =========================================================================
   Coffee section — WANTOK / ONCA
   ========================================================================= */

/* —— Brand cards —— */
.coffee-brands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(48px, 7vh, 88px);
}
.brand-card {
  border: 1px solid var(--line-deep);
  display: flex;
  flex-direction: column;
}
.brand-card .b-media image-slot { display: block; aspect-ratio: 16 / 10; }
.brand-card .b-body { position: relative; padding: clamp(26px, 3vw, 44px); display: flex; flex-direction: column; flex: 1; }
.brand-card .b-bird {
  position: absolute;
  top: clamp(20px, 2.4vw, 36px);
  right: clamp(26px, 3vw, 44px);
  width: clamp(58px, 6vw, 86px);
  height: auto;
}
.brand-card .b-bird + .b-origin,
.brand-card .b-bird ~ .b-name { padding-right: clamp(76px, 7.4vw, 106px); }
.brand-card .b-origin {
  font-family: var(--font-meta);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--deep-mist);
}
.brand-card .b-name {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  color: var(--deep-fg);
  line-height: 1.15;
  margin: 0.35em 0 0.1em;
  white-space: nowrap;
}
.brand-card .b-sub {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  color: var(--deep-mist);
  margin-bottom: 1.4em;
}
.brand-card p.body { margin-bottom: 1.8em; }
.brand-facts { margin-top: auto; border-top: 1px solid var(--line-deep); }
.brand-facts .bf-row {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 1em;
  padding: 0.85em 0;
  border-bottom: 1px solid var(--line-deep);
  font-size: 0.88rem;
  line-height: 1.7;
}
.brand-facts .bf-row dt { color: var(--deep-mist); letter-spacing: 0.12em; }
.brand-facts .bf-row dd { color: var(--deep-fg); }

/* —— Typica heritage —— */
.typica-strip {
  margin-top: clamp(56px, 9vh, 110px);
  padding-top: clamp(40px, 6vh, 72px);
  border-top: 1px solid var(--line-deep);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.typica-strip h3 {
  color: var(--deep-fg);
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.7;
}
.typica-strip h3 .en { font-family: var(--font-en); font-style: italic; }
.typica-side { display: flex; flex-direction: column; gap: clamp(1.6em, 3vh, 2.4em); }
.typica-side .typica-media image-slot { display: block; aspect-ratio: 4 / 3; }
.typica-points { display: flex; flex-direction: column; gap: 1.6em; }
.typica-points .tp {
  display: grid;
  grid-template-columns: 2.2em 1fr;
  gap: 1.2em;
}
.typica-points .tp .tp-num {
  font-family: var(--font-meta);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  color: var(--deep-mist);
  padding-top: 0.45em;
}
.typica-points .tp h4 {
  color: var(--deep-fg);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 0.35em;
}
.typica-points .tp p { font-size: 0.92rem; color: var(--deep-mist); line-height: 1.95; }

/* —— Roots No.1 story —— */
.roots-story {
  margin-top: clamp(56px, 9vh, 110px);
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.roots-story .rs-media image-slot { display: block; aspect-ratio: 4 / 3; }
.roots-story h3 {
  color: var(--deep-fg);
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.7;
  margin-bottom: 0.9em;
}
.roots-story .rs-cap {
  font-family: var(--font-meta);
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--deep-mist);
  display: block;
  margin-bottom: 1.6em;
}

/* —— Community photo —— */
.community-photo { margin-top: clamp(28px, 4.5vh, 52px); }
.community-photo image-slot { display: block; aspect-ratio: 12 / 5; }
.community-photo figcaption {
  margin-top: 1.1em;
  font-family: var(--font-meta);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  color: var(--deep-mist);
}

/* —— Traceability —— */
.trace {
  margin-top: clamp(56px, 9vh, 110px);
  padding-top: clamp(40px, 6vh, 72px);
  border-top: 1px solid var(--line-deep);
}
.trace .trace-title {
  font-family: var(--font-meta);
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--deep-mist);
  margin-bottom: 2.4em;
  display: flex;
  align-items: center;
  gap: 1.2em;
}
.trace .trace-title::after { content: ""; flex: 1; height: 1px; background: var(--line-deep); }
.trace-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 2vw, 28px);
}
.trace-steps .ts {
  position: relative;
  padding-top: 1.2em;
  border-top: 1px solid var(--line-deep);
}
.trace-steps .ts::before {
  content: "";
  position: absolute;
  top: -3.5px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--deep-fg);
}
.trace-steps .ts .ts-num {
  font-family: var(--font-meta);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  color: var(--deep-mist);
  display: block;
  margin-bottom: 0.6em;
}
.trace-steps .ts h4 {
  color: var(--deep-fg);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 0.4em;
  line-height: 1.6;
}
.trace-steps .ts p { font-size: 0.82rem; color: var(--deep-mist); line-height: 1.8; }

/* —— Tasting bands —— */
.taste {
  margin-top: clamp(56px, 9vh, 110px);
  padding-top: clamp(40px, 6vh, 72px);
  border-top: 1px solid var(--line-deep);
}
.taste-scale {
  display: flex;
  align-items: center;
  gap: 1.4em;
  margin: 2.2em 0 2.6em;
  font-family: var(--font-meta);
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  color: var(--deep-mist);
}
.taste-scale .ts-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #d3b285 0%, #8a5a33 50%, #46291a 100%);
}
.taste-bands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.taste-bands .band { border-top: 1px solid var(--line-deep); padding-top: 1.4em; }
.taste-bands .band .band-pack image-slot {
  display: block;
  aspect-ratio: 1 / 1;
  margin-bottom: 1.3em;
}
.taste-bands .band .bd-roast {
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin-bottom: 1.2em;
}
.taste-bands .band .bd-roast .dot { width: 12px; height: 12px; border-radius: 50%; }
.taste-bands .band:nth-child(1) .dot { background: #d3b285; }
.taste-bands .band:nth-child(2) .dot { background: #8a5a33; }
.taste-bands .band:nth-child(3) .dot { background: #46291a; border: 1px solid rgba(239,233,221,0.25); }
.taste-bands .band .bd-roast h4 {
  color: var(--deep-fg);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.taste-bands .band ul { list-style: none; display: flex; flex-direction: column; gap: 0.7em; margin-bottom: 1em; }
.taste-bands .band ul li {
  color: var(--deep-fg);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: baseline;
  gap: 0.7em;
  flex-wrap: wrap;
}
.taste-bands .band ul li .pop {
  font-family: var(--font-meta);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-deep);
  background: var(--deep-fg);
  padding: 0.25em 0.8em;
  border-radius: 999px;
  white-space: nowrap;
}
.taste-bands .band p { font-size: 0.84rem; color: var(--deep-mist); line-height: 1.9; }

/* —— Cherry tea feature —— */
.cherry-feature {
  margin-top: clamp(56px, 9vh, 110px);
  border: 1px solid var(--line-deep);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: stretch;
  overflow: hidden;
}
.cherry-feature .cf-media image-slot { display: block; height: 100%; min-height: 260px; overflow: hidden; }
.cherry-feature .cf-body { padding: clamp(26px, 3.4vw, 52px); }
.cherry-feature .cf-kicker {
  font-family: var(--font-meta);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--deep-mist);
  display: block;
  margin-bottom: 1.2em;
}
.cherry-feature h3 {
  color: var(--deep-fg);
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 0.8em;
}
.cherry-notes { display: flex; flex-wrap: wrap; gap: 0.6em; margin-top: 1.6em; }
.cherry-notes span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--deep-mist);
  border: 1px solid var(--line-deep);
  padding: 0.4em 1.1em;
  border-radius: 999px;
  white-space: nowrap;
}

/* —— Lineup —— */
.lineup {
  margin-top: clamp(56px, 9vh, 110px);
  padding-top: clamp(40px, 6vh, 72px);
  border-top: 1px solid var(--line-deep);
}
.lineup-table { width: 100%; border-collapse: collapse; margin-top: 2em; }
.lineup-table th, .lineup-table td {
  text-align: left;
  vertical-align: top;
  padding: 1.1em 1.4em 1.1em 0;
  border-bottom: 1px solid var(--line-deep);
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.9;
}
.lineup-table thead th {
  font-family: var(--font-meta);
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--deep-mist);
  padding-bottom: 0.9em;
}
.lineup-table tbody th { color: var(--deep-fg); letter-spacing: 0.1em; white-space: nowrap; }
.lineup-table tbody td { color: var(--deep-mist); }
.lineup-note { font-size: 0.82rem; color: var(--deep-mist); margin-top: 1.4em; }

/* —— CTA —— */
.coffee-cta {
  margin-top: clamp(56px, 8vh, 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-deep);
  padding-top: clamp(36px, 5vh, 60px);
}
.coffee-cta .cta-line {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  letter-spacing: 0.1em;
  color: var(--deep-fg);
  line-height: 1.8;
}

/* —— Responsive —— */
@media (max-width: 880px) {
  .coffee-brands { grid-template-columns: 1fr; }
  .typica-strip { grid-template-columns: 1fr; }
  .roots-story { grid-template-columns: 1fr; }
  .community-photo image-slot { aspect-ratio: 16 / 10; }
  .trace-steps { grid-template-columns: repeat(2, 1fr); row-gap: 2em; }
  .taste-bands { grid-template-columns: 1fr; }
  .cherry-feature { grid-template-columns: 1fr; border-radius: 4px; }
  .cherry-feature .cf-media { overflow: hidden; border-radius: 4px 4px 0 0; clip-path: inset(0 0 0 0 round 4px 4px 0 0); }
  .cherry-feature .cf-media image-slot { min-height: 220px; aspect-ratio: 16 / 9; height: auto; overflow: hidden; }
  .lineup-table { display: block; overflow-x: auto; }
}
