/* Client revisions from her Oct 26, 2026 page-by-page notes (client-feedback-2026-10-26/FEEDBACK.md).
   Loads after refinement.css. Where she asked for matching sizes or bigger photos, photos fill a fixed frame
   (object-fit: cover) instead of the full-artwork "contain" rule above. */

/* Home: six clean postcards, one size (no lettering baked into the photos) */
#app .strip-card img.strip-img { width: 100%; height: 150px; object-fit: cover; object-position: center 40%; }

/* Our Story + Coffee: bigger main picture that fills the right side */
.banner-hero { grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr); min-height: 520px; }
#app .banner-photo { height: 100%; min-height: 520px; object-fit: cover; align-self: stretch; }

/* Our Story bottom: like the original, sketch on the left and the coffee-cherry branch on the right */
.next-chapter { position: relative; grid-template-columns: 300px 1fr auto 170px; min-height: 230px; padding-right: 0; overflow: hidden; }
#app .next-chapter .next-art { height: 230px; object-fit: cover; }
#app .next-cherries { align-self: end; justify-self: end; width: 170px; height: auto; }

/* Coffee: the five journey photos share one size (the Americas photo no longer towers over the row) */
#app .timeline img { aspect-ratio: 2 / 1; height: auto; object-fit: cover; }
/* The Art of Brewing: six brews, same size, each with its country flag */
.brews { grid-template-columns: repeat(6, minmax(0, 1fr)); }
#app .brews img { aspect-ratio: 7 / 6; height: auto; object-fit: cover; }
.brews figcaption .flag { display: block; width: 26px; height: 18px; margin: 0 auto 6px; }
/* "Energizing Your Destination" at the end: bigger, very light pistachio */
.collection-cta { background: linear-gradient(135deg, #4a2c1d, var(--espresso, #3b1d18)); color: var(--paper, #fbf4ea); }
.collection-cta .h2, .collection-cta p { color: var(--paper, #fbf4ea); }
.collection-cta .stamp-script { font-size: clamp(44px, 4.6vw, 72px); color: #dff3cf; text-shadow: 0 2px 10px rgba(0,0,0,.35); }

/* Travel, Community and Shop: larger main picture */
.side-hero { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); min-height: 560px; }
.side-hero-text { min-width: 0; }
#app .side-hero-img { height: 100%; min-height: 560px; object-fit: cover; align-self: stretch; }
/* keep heads and hats in frame */
#app .side-hero-img[src*="shop-hero"] { object-position: center top; }
#app .side-hero-img[src*="travel-hero"] { object-position: center 35%; }

/* Travel: destination photos a little bigger, all the same size as the United States one */
#app .dest img { aspect-ratio: 16 / 10; height: auto; object-fit: cover; }

/* Travel bottom: one big photo across the page, like the original */
.wide-banner { position: relative; display: flex; min-height: 400px; background: #1d2a14; }
#app .wide-banner .wide-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; z-index: 0; }
.wide-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(16,24,10,.82) 0%, rgba(16,24,10,.45) 45%, rgba(16,24,10,.15) 75%, rgba(16,24,10,.35) 100%); }

/* Community: no video still; the four photos beside it get more room */
.voices { grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); }
.video-card { display: grid; place-content: center; gap: 18px; min-height: 0; padding: 28px; }
.video-card::before { display: none; }
.tiles.mini { gap: 8px; }
#app .tiles.mini .tile img { aspect-ratio: 1.6 / 1; height: auto; object-fit: cover; }

/* Community bottom: larger, one wide photo with the script and the sign-up box over it, like the original */
.join { min-height: 420px; }
#app .join-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.join { display: flex; align-items: center; justify-content: space-between; padding: 40px max(24px, calc((100% - 1280px) / 2)); }
.join::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,24,12,.62), rgba(20,24,12,.3) 50%, rgba(20,24,12,.05)); }
.join .join-script { position: relative; z-index: 2; color: #fff; text-shadow: 0 3px 14px rgba(0,0,0,.6); font-size: clamp(40px, 4.4vw, 68px); }
.join .join-card { position: relative; z-index: 2; }

@media (max-width: 900px) {
  .banner-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  #app .banner-photo { min-height: 0; height: 320px; }
  .side-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  #app .side-hero-img { min-height: 0; height: 360px; }
  .next-chapter { grid-template-columns: minmax(0, 1fr); padding: 0 24px 0; }
  #app .next-cherries { width: 140px; margin-top: -40px; }
  .brews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .voices { grid-template-columns: minmax(0, 1fr); }
  .wide-banner, .join { min-height: 0; padding: 40px 20px; }
}
@media (max-width: 540px) {
  .brews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #app .banner-photo { height: 240px; }
  #app .side-hero-img { height: 280px; }
}

/* the big page titles fit beside the larger photo */
.side-hero .display { font-size: clamp(44px, 5.4vw, 88px); }
.side-hero .display-script { font-size: clamp(34px, 3.6vw, 56px); }
@media (max-width: 900px) { .side-hero .display { font-size: clamp(40px, 11vw, 64px); } }

/* phones: the larger slogan wraps, and long German words can't push cards past the screen */
@media (max-width: 900px) {
  .collection-cta { grid-template-columns: minmax(0, 1fr); }
  #app .collection-cta > img { max-width: 100%; }
  .collection-cta .stamp-script { white-space: normal; text-align: center; font-size: clamp(38px, 11vw, 56px); padding: 0 16px; transform: none; max-width: 100%; box-sizing: border-box; }
}
@media (max-width: 420px) {
  .cups, .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cup, .tile { min-width: 0; }
  .cup h3, .tile figcaption { overflow-wrap: anywhere; hyphens: auto; }
}

/* home header: translated menu labels are longer, so tighten it on mid-size screens */
@media (min-width: 901px) and (max-width: 1400px) {
  html[data-page="home"] .header-inner { gap: 14px; padding: 4px 2%; }
  html[data-page="home"] .main-nav { gap: 14px; }
  html[data-page="home"] .main-nav a { font-size: 15px; }
  html[data-page="home"] .brand-logo { height: 72px; }
  html[data-page="home"]:not([lang="en"]) .btn-explore span { display: none; }
}
