/* Original artwork, consistent framing, and responsive media. */
.hero-atmosphere {
  background-image: linear-gradient(90deg,rgba(16,12,24,.48),rgba(16,12,24,.1) 53%,transparent 74%),linear-gradient(0deg,rgba(19,15,23,.65),transparent 26%),url('images/floraluna-v2/hero-desktop.webp');
  background-position: center,center,center 58%;
  background-size: cover;
}
.hero-content { z-index: 1; }
.hero-side-note { text-shadow: 0 2px 14px #110c18; }
.realm-grid { align-items: stretch; }
.realm-card {
  min-height: 0;
  padding: 0;
  justify-content: flex-start;
  border-color: #6b5545;
  background: #1c1720;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
.realm-card:after { display: none; }
.realm-card .realm-image {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #241c26;
}
.realm-card .realm-image:after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(transparent,#1c1720);
  pointer-events: none;
}
.realm-card .realm-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 57%; }
.realm-caption { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; align-items: center; width: 100%; padding: 2px 12px 20px; }
.realm-card h3 { display: flex; align-items: center; justify-content: center; min-height: 58px; margin: 8px 0 13px; font-size: clamp(23px,1.9vw,28px); line-height: 1.12; overflow-wrap: anywhere; }
.realm-caption .round-arrow { margin-top: auto; width: 32px; height: 32px; }
.product-photo.product-photo-img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center; background: #251e28; }
.cart-row .product-photo.product-photo-img { width: 90px; height: 90px; }
.story-photo { background-image: url('images/floraluna-v2/atelier.webp'); background-position: 66% center; }
.about-hero { background-image: linear-gradient(90deg,rgba(15,11,22,.3),transparent),url('images/floraluna-v2/atelier.webp'); background-position: center; }
.shop-hero { background-image: linear-gradient(90deg,rgba(20,13,25,.93) 12%,rgba(20,13,25,.22) 75%),url('images/floraluna-v2/pantry.webp'); background-position: center,center 52%; }
.knowledge-card > .journal-image { position: relative; overflow: hidden; min-height: 0; height: 245px; background: #251e28; }
.journal-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1700px) { .realm-card .realm-image { aspect-ratio: 4/5; } }
@media (max-width: 1250px) { .cart-row .product-photo.product-photo-img { width: 70px; height: 70px; } }
@media (max-width: 1050px) { .realm-card .realm-image { aspect-ratio: 4/5; } .realm-card h3 { font-size: 29px; } }
@media (max-width: 800px) {
  .hero-atmosphere { background-image: linear-gradient(90deg,rgba(16,12,24,.7),rgba(16,12,24,.1) 85%),linear-gradient(0deg,#17131c,transparent 20%),url('images/floraluna-v2/hero-mobile.webp'); background-position: center,center,center 65%; background-size: cover; }
  .realm-card h3 { font-size: 26px; }
  .cart-row .product-photo.product-photo-img { width: 80px; height: 80px; }
  .knowledge-card > .journal-image { height: 100%; min-height: 300px; }
}
@media (max-width: 500px) {
  .hero-atmosphere { background-image: linear-gradient(180deg,rgba(16,12,24,.34),rgba(16,12,24,.34) 47%,transparent 76%,#17131c),url('images/floraluna-v2/hero-mobile.webp'); background-position: center,center bottom; background-size: cover; }
  .hero-content { padding-top: 43px; }
  .hero h1 { font-size: clamp(42px,12vw,55px); }
  .hero-description { text-shadow: 0 1px 8px #100c18; }
  .realm-card .realm-image { aspect-ratio: 4/5; }
  .realm-card h3 { font-size: 25px; min-height: 57px; margin: 5px 0 12px; }
  .realm-caption { padding: 0 9px 18px; }
  .cart-row .product-photo.product-photo-img { width: 60px; height: 60px; }
  .knowledge-card > .journal-image { height: auto; min-height: 0; aspect-ratio: 3/2; }
  .about-hero { background-position: 65% center; }
}
@media (max-width: 360px) {
  .header-inner { gap: 5px; }
  .header-inner .brand { gap: 4px; }
  .header-inner .brand-name { font-size: 25px; }
  .header-inner .brand-mark { width: 32px; font-size: 44px; }
  .header-inner .brand-mark .icon { left: 12px; top: 15px; width: 25px; }
  .header-inner .brand-tagline { font-size: 5px; }
  .header-actions { gap: 3px; }
  .header-actions .icon-button { width: 26px; }
}
