/* Editorial presentation for Home / Shop and product pages only.
   Loaded by those templates; cart, checkout and professional forms are untouched. */
@media screen {
  .storefront { background: #f6f4ef; }
  .hero { background: #101110; }
  .hero::before { background: radial-gradient(ellipse at 78% 45%, #302b24 0%, transparent 55%), #101110; }
  .hero__layout { min-height: 600px; padding-top: 40px; padding-bottom: 48px; gap: 2.5rem; }
  .hero h1 { line-height: 1.03; letter-spacing: -.055em; text-wrap: balance; }
  .hero h1 em { color: #cfc6b7; }
  .hero__lede { max-width: 390px; color: #c2beb7; font-size: 1.05rem; }
  .hero-media { height: clamp(300px, 65vw, 480px); margin: 0; }
  .hero-media__espresso { object-fit: contain; transform: scale(1.12); mask-image: radial-gradient(ellipse 76% 74% at 50% 48%, #000 38%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse 76% 74% at 50% 48%, #000 38%, transparent 78%); }
  .hero-media__caption { width: 190px; bottom: 0; font-size: .7rem; letter-spacing: .06em; line-height: 1.6; }
  .principles, .occasions, .coffee-showcase, .professional, .sets { padding-block: clamp(4rem, 8vw, 7rem); }
  .brand-philosophy h2 { font-size: clamp(2.8rem, 6.3vw, 5.5rem); line-height: 1.08; text-wrap: balance; }
  .brand-philosophy > p:last-child { max-width: 580px; margin-top: 2rem; }
  .section-heading h2, .sets h2, .professional h2 { line-height: 1.08; text-wrap: balance; }
  .section-heading { margin-bottom: 3rem; gap: 1.5rem; }
  .occasions { background: #eeebe5; }
  .occasion-list a { transition: background-color .2s ease; }
  .occasion-list a:hover { background: rgba(255,255,255,.28); }
  .coffee-showcase { background: #fbfaf7; }
  .coffee-grid { gap: 3rem 1.5rem; }
  .coffee-card__media { min-height: 0; aspect-ratio: 4 / 5; padding: 1.5rem; background: #eae7e0; }
  .coffee-card__media::before { width: 80%; height: 70%; border: 0; border-radius: 50%; background: radial-gradient(ellipse, rgba(255,255,255,.48), transparent 70%); }
  .coffee-card__media img { width: 90%; height: 100%; max-height: 360px; filter: drop-shadow(0 18px 14px rgba(39,31,22,.15)); }
  .coffee-card__body { padding-top: 1.4rem; }
  .coffee-card h3 { font-size: clamp(1.7rem, 2.4vw, 2.15rem); letter-spacing: -.025em; }
  .coffee-card__origin { color: #615d56; font-size: .7rem; line-height: 1.6; }
  .coffee-card__roast, .coffee-card__description { color: #615d56; font-size: .82rem; line-height: 1.65; }
  .coffee-card__notes { font-size: .84rem; }
  .coffee-card__price { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
  .sets__visual { height: clamp(300px, 36vw, 440px); }
  .professional__visual { min-height: 0; aspect-ratio: 1 / 1.12; background: radial-gradient(ellipse at 50% 35%, #efede6, #d5d0c7); }
  .professional__visual img { max-height: 100%; }
  .product-page { padding-top: 2.5rem; }
  .product-gallery { min-height: 0; aspect-ratio: 1 / 1.12; padding: 2rem; }
  .product-gallery img { width: min(86%, 420px); max-height: 100%; filter: drop-shadow(0 22px 18px rgba(39,31,22,.16)); }
  /* Preserve the approved PNGs. Match their white canvas instead of editing bags. */
  .product-gallery:has(img[src$="-2lb.png"]) { background: #fff; }
  .product-gallery img[src$="-2lb.png"] { filter: none; }
  .product-copy h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); letter-spacing: -.035em; line-height: 1.1; }
  .product-copy__description { max-width: 520px; font-size: 1rem; }
  .product-facts dd { font-size: .9rem; line-height: 1.6; }
  .product-facts dt { font-size: .72rem; }
  .product-story__editorial h2 { line-height: 1.1; }
  .product-story__guide dt { font-size: .72rem; }
  .closing-statement h2 { font-size: clamp(2.2rem, 10vw, 7.4rem); line-height: 1.05; }
  .store-footer__bottom { color: #aaa69e; font-size: .8125rem; line-height: 1.7; }
  .storefront a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
}
@media screen and (min-width: 700px) and (max-width: 1023px) {
  .hero__layout { min-height: 0; padding-top: 40px; }
  .hero h1 { font-size: clamp(3.5rem, 8vw, 5rem); }
  .hero-media { height: 430px; }
}
@media screen and (min-width: 1024px) {
  .hero, .hero__layout { min-height: 600px; }
  .hero__layout { grid-template-columns: 1fr 1.05fr; gap: 1rem; align-content: center; }
  .hero h1 { font-size: clamp(3.2rem, 4.7vw, 4.8rem); }
  .hero h1 em { white-space: nowrap; }
  .hero-media { height: 560px; }
  .hero-media__caption { right: 1rem; bottom: 1.5rem; }
  .coffee-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-detail { gap: 3rem; }
  .product-copy { padding: 1rem 0 0; }
}
@media screen and (max-width: 699px) {
  .store-container { width: calc(100% - 40px); }
  .hero, .hero__layout { min-height: 0; }
  .hero__layout { padding-top: 32px; padding-bottom: 36px; gap: 2rem; }
  .hero h1 { font-size: clamp(2.7rem, 11vw, 4.2rem); }
  .hero__lede { font-size: .95rem; margin-top: 1.3rem; }
  .hero__actions { gap: 1.2rem; margin-top: 1.5rem; }
  .hero-media { height: 330px; }
  .hero-media__caption { bottom: -.25rem; font-size: .65rem; }
  .section-heading h2 { font-size: clamp(2.5rem, 9vw, 3.5rem); }
  .coffee-card__media { aspect-ratio: 1 / 1; }
  .coffee-card__media img { max-height: 290px; }
  .product-page { padding-top: 2rem; }
  .product-detail { gap: 2rem; }
  .product-gallery { aspect-ratio: 1 / 1; padding: 1.5rem; }
  .product-gallery img { max-height: 330px; }
  .product-story { margin-top: 4rem; }
}
