/* The page keeps its paper-and-ink palette while giving each section a clear measure. */
.section-pad {
  padding: clamp(76px, 7vw, 112px) max(4vw, calc((100vw - 1380px) / 2));
}

.section-heading { margin-bottom: 32px; }
.section-heading h2 { max-width: 850px; }

.quick { gap: 30px 5vw; }
.quick-feature { height: 295px; }
.quick-grid a { min-height: 215px; transition: background-color .2s ease; }
.quick-grid strong { font-size: clamp(1.5rem, 2vw, 2rem); }
.quick-icon { width: 82px; height: 82px; }

.featured .section-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 30px;
}
.featured .section-heading p:last-child { max-width: 600px; }
.catalogue-tools {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px;
  margin: 0 0 18px;
}
.catalogue-tools input,
.catalogue-tools select {
  background: var(--white);
  min-height: 49px;
}
.catalogue-tools button { background: var(--white); }
.results-bar {
  margin: 0 0 18px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.coffee-card {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  min-height: 290px;
  border: 1px solid var(--line);
}
.coffee-art { height: auto; min-height: 100%; }
.coffee-art::before {
  width: 165px;
  height: 165px;
  border-radius: 50%;
  transform: none;
  background: #fffdf766;
}
.coffee-art::after { display: none; }
.coffee-bean-image { width: 79%; height: 175px; position: relative; z-index: 1; }
.art-kind { bottom: 15px; left: 17px; }
.card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px 25px;
}
.card-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 1.9vw, 2.1rem);
  font-weight: 400;
  line-height: 1.08;
  margin: 6px 0 10px;
}
.card-body > p:not(.eyebrow) { min-height: 0; margin-bottom: 0; line-height: 1.5; }
.tags { margin: 13px 0 14px; }
.coffee-card details { width: 100%; margin: auto 0 0; }
.coffee-card .text-link { margin-top: 12px; }
.coffee-card:last-child {
  grid-column: 1 / -1;
  grid-template-columns: minmax(240px, .38fr) 1fr;
  min-height: 270px;
}
.coffee-card:last-child .card-body { max-width: 680px; }
.coffee-card:last-child .coffee-bean-image { width: 68%; }
.source-note { max-width: 760px; line-height: 1.6; }

.editorial-band {
  grid-template-columns: 110px minmax(0, 1fr) minmax(290px, 390px);
  gap: 35px;
  align-items: center;
  padding: 80px max(4vw, calc((100vw - 1380px) / 2));
}
.editorial-band .band-art { height: 300px; min-height: 0; }
.editorial-band h2 { max-width: 620px; }

.roaster-grid { gap: 16px; }
.roaster-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  min-height: 245px;
  border: 1px solid var(--line);
  background: #f0f1e9;
}
.roaster-art {
  height: 100%;
  min-height: 0;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.roaster-art.art-coral { background: #eeddd1; }
.roaster-art.art-lime { background: #e5ead8; }
.roaster-art.art-blue { background: #dfe9e4; }
.roaster-art span {
  display: block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 400;
  line-height: 1;
  transform: none;
}
.roaster-art img { width: 100%; height: 95px; object-fit: contain; }
.roaster-card > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}
.roaster-card h3 { margin: 4px 0 14px; line-height: 1.1; }
.roaster-card p:not(.eyebrow) { min-height: 0; margin-bottom: auto; }
.roaster-card .text-link { margin-top: 18px; }

.guide-grid { gap: 16px; }
.guide-card {
  position: relative;
  min-height: 0;
  padding: 35px 38px 38px;
  border: 1px solid var(--line);
}
.guide-card:nth-child(2) { background: #eee8df; }
.guide-icon {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 100px;
  height: 82px;
  object-fit: contain;
}
.guide-card h3 { max-width: 520px; margin: 65px 0 20px; }
.guide-card p { line-height: 1.7; }
.guide-card .text-link {
  display: inline-block;
  width: max-content;
  min-height: 0;
  margin-top: 12px;
  padding: 0 0 6px;
  background: transparent;
}

.places { gap: clamp(45px, 6vw, 110px); }
.places-art {
  height: 380px;
  border: 1px solid var(--line);
  background: #e8ebdf;
}
.places-art::before,
.places-art::after { display: none; }
.places-art > img {
  position: absolute;
  left: 8%;
  top: 28%;
  width: 84%;
  height: 46%;
  object-fit: contain;
}
.places-art .places-kicker,
.places-art .places-caption {
  position: absolute;
  left: 25px;
  color: var(--ink);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .13em;
}
.places-art .places-kicker { top: 25px; bottom: auto; }
.places-art .places-caption { bottom: 22px; }
.places-art .places-city {
  position: absolute;
  z-index: 1;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  padding: 8px 13px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.places-art .places-city-one { top: 31%; left: 11%; }
.places-art .places-city-two { right: 9%; bottom: 29%; }
.place-list li { padding: 17px 0; }

.contact-section { gap: clamp(45px, 7vw, 120px); }
.contact-form {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 30px;
}
.contact-form input,
.contact-form textarea { background: var(--white); }
.about-section,
.privacy-section { padding-top: 75px; padding-bottom: 75px; }
.about-section h2,
.privacy-section h2 { font-size: clamp(2.5rem, 3.4vw, 4.2rem); }

@media (max-width: 1200px) {
  .card-grid { grid-template-columns: 1fr; }
  .coffee-card:last-child { grid-column: auto; grid-template-columns: 205px minmax(0, 1fr); }
  .coffee-card:last-child .card-body { max-width: none; }
  .roaster-grid { grid-template-columns: 1fr 1fr; }
  .roaster-card:last-child { grid-column: 1 / -1; }
  .editorial-band { grid-template-columns: 90px minmax(0, 1fr) 290px; }
}

@media (max-width: 1000px) {
  .editorial-band { grid-template-columns: 78px minmax(0, 1fr) 250px; gap: 24px; }
  .editorial-band .band-art { display: block; height: 250px; }
  .guide-card h3 { margin-top: 55px; }
}

@media (max-width: 700px) {
  .section-pad { padding: 68px 20px; }
  .quick { gap: 22px; }
  .quick-feature { height: 220px; }
  .quick-grid a { min-height: 185px; }
  .quick-icon { width: 38px; height: 38px; }
  .featured .section-heading { padding-bottom: 20px; }
  .catalogue-tools { padding: 16px; }
  .coffee-card,
  .coffee-card:last-child { grid-template-columns: 1fr; min-height: 0; }
  .coffee-art { height: 225px; min-height: 0; }
  .coffee-bean-image,
  .coffee-card:last-child .coffee-bean-image { width: 60%; height: 170px; }
  .card-body { padding: 22px; }
  .card-body h3 { font-size: 1.8rem; }
  .editorial-band { display: block; padding: 68px 20px; }
  .editorial-band .band-art { display: block; height: 240px; margin-top: 35px; }
  .roaster-grid { grid-template-columns: 1fr; }
  .roaster-card:last-child { grid-column: auto; }
  .roaster-card { grid-template-columns: 105px minmax(0, 1fr); min-height: 210px; }
  .roaster-art { padding: 18px 9px; }
  .roaster-art img { height: 70px; }
  .roaster-card > div:last-child { padding: 19px; }
  .roaster-card h3 { font-size: 1.8rem; }
  .guide-card { padding: 27px 25px; }
  .guide-icon { width: 70px; height: 60px; top: 18px; right: 18px; }
  .guide-card h3 { margin: 57px 0 18px; }
  .places-art { height: 290px; }
  .places-art .places-city { font-size: .75rem; }
  .contact-form { padding: 20px; }
  .about-section,
  .privacy-section { padding-top: 65px; padding-bottom: 65px; }
}

@media (prefers-reduced-motion: reduce) {
  .quick-grid a { transition: none; }
}
