/* Isolated Coffee buyer-path candidate. Loaded after the production category CSS. */
.coffee-candidate .coffee-candidate-hero {
  align-items: center;
  gap: clamp(30px, 4vw, 64px);
  padding-bottom: clamp(38px, 5vw, 64px);
}

.coffee-candidate .coffee-candidate-hero h1 {
  max-width: 660px;
}

.coffee-candidate .coffee-candidate-hero .hero-text {
  max-width: 620px;
}

.coffee-candidate .coffee-candidate-scope {
  max-width: 620px;
  margin: 18px 0 26px;
  padding: 12px 0 12px 16px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.coffee-candidate .coffee-candidate-scope strong {
  color: var(--ink);
}

.coffee-candidate .coffee-candidate-chat-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.coffee-candidate .coffee-candidate-hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  min-width: 0;
}

.coffee-candidate .coffee-candidate-proof {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.coffee-candidate .coffee-candidate-proof picture,
.coffee-candidate .coffee-candidate-proof img {
  display: block;
  width: 100%;
}

.coffee-candidate .coffee-candidate-proof picture {
  aspect-ratio: 1 / 1;
  background: var(--soft);
}

.coffee-candidate .coffee-candidate-proof img {
  height: 100%;
  object-fit: contain;
}

.coffee-candidate .coffee-candidate-proof figcaption {
  display: grid;
  gap: 4px;
  padding: 12px 14px 15px;
  font-size: 12px;
  line-height: 1.45;
}

.coffee-candidate .coffee-candidate-proof figcaption strong {
  color: var(--ink);
  font-size: 13px;
}

.coffee-candidate .coffee-candidate-proof figcaption span {
  color: var(--muted);
}

.coffee-candidate .coffee-candidate-lead {
  max-width: 760px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.coffee-candidate .coffee-candidate-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.coffee-candidate .coffee-candidate-path {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 2.5vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--soft);
}

.coffee-candidate .coffee-candidate-number {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.coffee-candidate .coffee-candidate-path h3,
.coffee-candidate .coffee-candidate-structure-grid h3,
.coffee-candidate .coffee-candidate-sample-grid h3 {
  margin: 16px 0 10px;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.2;
}

.coffee-candidate .coffee-candidate-path p,
.coffee-candidate .coffee-candidate-structure-grid p,
.coffee-candidate .coffee-candidate-sample-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.coffee-candidate .coffee-candidate-path .coffee-candidate-key {
  margin-top: auto;
  padding-top: 24px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.coffee-candidate .coffee-candidate-structures {
  background: var(--soft);
}

.coffee-candidate .coffee-candidate-structure-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.coffee-candidate .coffee-candidate-structure-grid article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 22px 22px 0;
  border-bottom: 1px solid var(--line);
}

.coffee-candidate .coffee-candidate-structure-grid article + article {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.coffee-candidate .coffee-candidate-structure-grid a {
  align-self: start;
  margin-top: auto;
  padding-top: 24px;
  color: var(--accent);
  font-weight: 700;
}

.coffee-candidate .coffee-candidate-range-note {
  max-width: 950px;
  margin: 26px 0 0;
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: var(--white);
  color: var(--muted);
  line-height: 1.6;
}

.coffee-candidate .coffee-candidate-range-note strong {
  color: var(--ink);
}

.coffee-candidate .coffee-candidate-reference {
  display: grid;
  grid-template-columns: minmax(0, 510px) minmax(0, 330px);
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
  scroll-margin-top: 110px;
}

.coffee-candidate .coffee-candidate-reference-copy h2 {
  margin: 12px 0 14px;
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.15;
}

.coffee-candidate .coffee-candidate-reference-copy p:not(.eyebrow) {
  max-width: 510px;
  color: var(--muted);
  line-height: 1.65;
}

.coffee-candidate .coffee-candidate-reference-copy .text-link {
  display: inline-block;
  margin-top: 12px;
}

.coffee-candidate .coffee-candidate-reference-image { margin: 0; min-width: 0; }
.coffee-candidate .coffee-candidate-reference-image picture {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}
.coffee-candidate .coffee-candidate-reference-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}
.coffee-candidate .coffee-candidate-reference-image figcaption {
  padding-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.coffee-candidate .coffee-candidate-sample {
  background: var(--soft);
}

.coffee-candidate .coffee-candidate-sample-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.coffee-candidate .coffee-candidate-sample-grid > div {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.coffee-candidate .coffee-candidate-sample-grid span {
  color: var(--accent);
  font-weight: 700;
}

.coffee-candidate .coffee-candidate-limits {
  max-width: 950px;
  margin: 26px 0 0;
  padding: 17px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--muted);
  line-height: 1.6;
}

.coffee-candidate .coffee-candidate-brief {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}

.coffee-candidate .coffee-candidate-brief h2 {
  max-width: 690px;
  margin: 14px 0 16px;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.13;
}

.coffee-candidate .coffee-candidate-brief p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.65;
}

.coffee-candidate .coffee-candidate-brief .hero-actions {
  margin-top: 26px;
}

.coffee-candidate .coffee-candidate-brief-list {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--soft);
}

.coffee-candidate .coffee-candidate-brief-list h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.coffee-candidate .coffee-candidate-brief-list ul {
  margin: 0;
  padding-left: 20px;
}

.coffee-candidate .coffee-candidate-brief-list li {
  margin: 0 0 9px;
  line-height: 1.5;
}

.coffee-candidate .coffee-candidate-brief-list p {
  margin: 16px 0 0;
  font-size: 13px;
}

.coffee-candidate .coffee-candidate-related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.coffee-candidate .coffee-candidate-related span:first-child {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.coffee-candidate .coffee-candidate-related a {
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .coffee-candidate .coffee-candidate-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coffee-candidate .coffee-candidate-path:last-child { grid-column: 1 / -1; }
  .coffee-candidate .coffee-candidate-structure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coffee-candidate .coffee-candidate-structure-grid article:nth-child(odd) { padding-left: 0; border-left: 0; }
  .coffee-candidate .coffee-candidate-structure-grid article:nth-child(3) { border-top: 1px solid var(--line); }
  .coffee-candidate .coffee-candidate-sample-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .coffee-candidate .coffee-candidate-reference { grid-template-columns: minmax(0, 1fr) minmax(0, 230px); }
  .coffee-candidate .coffee-candidate-brief { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .coffee-candidate .coffee-candidate-hero { gap: 24px; }
  .coffee-candidate .coffee-candidate-hero-proof { gap: 8px; }
  .coffee-candidate .coffee-candidate-proof figcaption { padding: 10px; }
  .coffee-candidate .coffee-candidate-proof figcaption strong { font-size: 12px; }
  .coffee-candidate .coffee-candidate-proof figcaption span { font-size: 11px; }
  .coffee-candidate .coffee-candidate-path-grid,
  .coffee-candidate .coffee-candidate-structure-grid,
  .coffee-candidate .coffee-candidate-sample-grid { grid-template-columns: 1fr; }
  .coffee-candidate .coffee-candidate-path:last-child { grid-column: auto; }
  .coffee-candidate .coffee-candidate-structure-grid article,
  .coffee-candidate .coffee-candidate-structure-grid article + article { padding-left: 0; border-left: 0; }
  .coffee-candidate .coffee-candidate-structure-grid article + article { border-top: 1px solid var(--line); }
  .coffee-candidate .coffee-candidate-reference { grid-template-columns: 1fr; }
  .coffee-candidate .coffee-candidate-reference-image { width: min(100%, 300px); }
  .coffee-candidate .coffee-candidate-sample-grid > div { padding: 16px 0 8px; }
  .coffee-candidate .coffee-candidate-brief .hero-actions { flex-direction: column; align-items: stretch; }
  .coffee-candidate .coffee-candidate-brief .hero-actions .button { width: 100%; }
}


/* Visible design range; photographed pouch references remain separate from paper cartons. */
.coffee-candidate .coffee-candidate-pouch-gallery { border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.coffee-candidate .coffee-candidate-pouch-gallery .section-heading { max-width: var(--reading-max); margin-bottom: 28px; }
.coffee-candidate .coffee-candidate-pouch-gallery .section-heading > p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.coffee-candidate .coffee-candidate-pouch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.coffee-candidate .coffee-candidate-pouch-grid figure { margin: 0; min-width: 0; }
.coffee-candidate .coffee-candidate-pouch-grid picture { display: block; aspect-ratio: 1; background: var(--soft); }
.coffee-candidate .coffee-candidate-pouch-grid img { display: block; width: 100%; height: 100%; object-fit: contain; }
.coffee-candidate .coffee-candidate-pouch-grid figcaption { padding-top: 16px; }
.coffee-candidate .coffee-candidate-pouch-grid h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.25; }
.coffee-candidate .coffee-candidate-pouch-grid p { margin: 0; color: var(--muted); line-height: 1.6; }
.coffee-candidate .coffee-candidate-pouch-note { max-width: var(--reading-max); margin: 24px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
@media (max-width: 600px) {
  .coffee-candidate .coffee-candidate-pouch-grid { grid-template-columns: 1fr; gap: 28px; }
}

.coffee-candidate .coffee-candidate-pouch-concept {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: clamp(16px, 4vw, 44px);
  align-items: center;
  max-width: min(100%, 800px);
  scroll-margin-top: 110px;
  margin: 32px 0 0;
  padding: clamp(16px, 2.5vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.coffee-candidate .coffee-candidate-pouch-concept h3 { margin: 8px 0; }
.coffee-candidate .coffee-candidate-pouch-concept figcaption p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.coffee-candidate .coffee-candidate-pouch-concept-views {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.coffee-candidate .coffee-candidate-pouch-concept-views img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 8;
  height: auto;
  object-fit: contain;
  background: var(--soft);
}
.coffee-candidate .coffee-candidate-pouch-concept-views span {
  display: block;
  margin-top: 6px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 650px) {
  .coffee-candidate .coffee-candidate-pouch-concept { grid-template-columns: 1fr; }
}
