/* DEMO Atelier — Content UX refinement | Nov 2026
   Scoped to the existing HOME, COLLECTION and PRODUCT views.
   Preserve all photos, fragrance identities, functional scripts and brand colors. */

/* Readable, restrained functional labels; bottle imprint stays decorative. */
body[data-page="home"] .eyebrow,
body[data-page="collection"] .eyebrow,
body[data-page="product"] .eyebrow{
  font-size:12px;
  line-height:1.55;
  letter-spacing:.12em;
}
body[data-page="home"] .line-link,
body[data-page="collection"] .line-link,
body[data-page="product"] .line-link{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  font-size:12px;
  line-height:1.45;
  letter-spacing:.085em;
}
body[data-page="home"] .product-number,
body[data-page="collection"] .product-number{
  font-size:12px;
  line-height:1.5;
  letter-spacing:.08em;
}
body[data-page="home"] .product-size,
body[data-page="collection"] .product-size,
body[data-page="home"] .product-notes,
body[data-page="collection"] .product-notes{
  font-size:13px;
  line-height:1.6;
}
body[data-page="home"] .product-link,
body[data-page="collection"] .product-link{
  min-height:48px;
  font-size:12px;
  line-height:1.4;
}
body[data-page="home"] .card-overline,
body[data-page="collection"] .card-overline{
  font-size:11.5px;
  letter-spacing:.10em;
}
body[data-page="collection"] .filter-tab {
  font-size:13px;
  line-height:1.35;
  letter-spacing:.075em;
  min-height:44px;
  padding:12px 4px;
}
body[data-page="collection"] .count{
  font-size:12px;
  line-height:1.5;
  letter-spacing:.08em;
}

/* Product hierarchy: make details, saving, and two other scents legible. */
body[data-page="product"] .product-info .breadcrumb {
  font-size:12px;
  line-height:1.55;
}
body[data-page="product"] .product-info p{
  line-height:1.75;
}
body[data-page="product"] .product-info .detail-notes span {
  font-size:13px;
  line-height:1.4;
}
body[data-page="product"] .product-info .detail-attr,
body[data-page="product"] .product-info .detail-attr span{
  font-size:13px;
}
body[data-page="product"] .s05-related-meta{
  font-size:12px;
  line-height:1.55;
}

/* Mobile-first: premium photography remains, but the journey is less long. */
@media (max-width:800px){
  body[data-page="home"] .story-image { min-height:350px; }
  body[data-page="home"] .story-text { padding:50px 26px 56px; }
  body[data-page="home"] .story-text h2{
    font-size:clamp(54px,9vw,78px);
    margin:15px 0 14px;
  }
  body[data-page="home"] .dark-feature-image { min-height:330px; }
  body[data-page="home"] .dark-art { padding:54px 30px 57px; }
  body[data-page="home"] .quote-section { padding:58px 24px; }
  body[data-page="home"] .quote-section blockquote {
    font-size:clamp(47px,8.3vw,76px);
    line-height:1;
    margin:13px auto 18px;
  }
  body[data-page="home"] .ed-triptych { padding:60px 0 68px; }
  body[data-page="home"] .ed-triptych-head h2 { font-size:clamp(55px,9vw,84px); }
  body[data-page="home"] .ed-wide-photo { height:460px; }
  body[data-page="home"] .cta-band { padding:57px 22px 61px; }
  body[data-page="home"] .section:not(#collection) { padding-top:72px; padding-bottom:72px; }
  body[data-page="product"] .product-page-main { padding-bottom:42px; }
  body[data-page="product"] .s05-related { padding:35px 0 52px; gap:23px; }
  body[data-page="product"] .ed-product-essay { padding:65px 25px; }
  body[data-page="product"] .cta-band { padding:58px 24px 62px; }
}

@media (max-width:540px){
  /* Intro and cards: reduce excessive travel without removing product images. */
  body[data-page="home"] .hero-content { padding:26px 24px 24px; }
  body[data-page="home"] .hero h1{ margin:12px 0 13px; }
  body[data-page="home"] .hero .desc { margin-bottom:15px; }
  body[data-page="home"] .section#collection {
    padding-top:47px;
    padding-bottom:47px;
  }
  body[data-page="home"] .section#collection .section-header { margin-bottom:21px; }
  body[data-page="home"] .product-card .product-media {
    aspect-ratio:auto;
    height:clamp(290px,79vw,330px);
  }
  body[data-page="home"] .product-card .product-details{
    padding-top:14px;
  }
  body[data-page="home"] .product-card .product-link{margin-top:12px;}
  body[data-page="home"] .ed-campaign-image { height:292px; }
  body[data-page="home"] .ed-campaign-copy { padding:42px 25px 50px; }
  body[data-page="home"] .ed-campaign-copy h2{
    font-size:clamp(58px,14vw,72px);
  }
  body[data-page="home"] .dark-feature-image { min-height:290px; }
  body[data-page="home"] .dark-art{ padding:44px 24px 49px; }
  body[data-page="home"] .dark-art h2 { font-size:clamp(57px,14vw,72px); }
  body[data-page="home"] .quote-section { padding:41px 23px 45px; }
  body[data-page="home"] .quote-section blockquote { font-size:clamp(44px,11.8vw,62px); }
  body[data-page="home"] .quote-section small {
    font-size:12px;
    line-height:1.5;
    letter-spacing:.09em;
  }
  body[data-page="home"] .story-image { min-height:305px; }
  body[data-page="home"] .story-text{ padding:42px 25px 48px; }
  body[data-page="home"] .story-text h2{ font-size:clamp(54px,14vw,71px); }
  body[data-page="home"] .section#notes{
    padding-top:51px;
    padding-bottom:52px;
  }
  body[data-page="home"] .ed-triptych {padding:47px 0 53px;}
  body[data-page="home"] .ed-triptych-head { margin-bottom:19px; }
  body[data-page="home"] .ed-triptych-head h2{font-size:clamp(55px,13vw,69px);}
  body[data-page="home"] .section#ritual {padding-top:42px;padding-bottom:48px;}
  body[data-page="home"] .ritual {gap:24px;}
  body[data-page="home"] .ritual-visual{aspect-ratio:1 / .83;}
  body[data-page="home"] .ed-wide-photo{height:410px;}
  body[data-page="home"] .cta-band{padding:48px 23px 54px;}
  body[data-page="home"] .cta-band h2{font-size:clamp(52px,13vw,66px);}

  /* Product: actual 444px block is RELATED FRAGRANCES, not empty white space.
     Keep both cross-links, but make this a concise, scannable subsection. */
  body[data-page="product"] .product-page-main {
    padding-top:20px;
    padding-bottom:29px;
    gap:16px;
  }
  body[data-page="product"] .product-art {min-height:285px;}
  body[data-page="product"] .product-info{
    padding:16px 1px 21px;
  }
  body[data-page="product"] .product-info h1{
    font-size:clamp(62px,16vw,78px);
    line-height:.98;
    margin:13px 0 9px;
  }
  body[data-page="product"] .product-info .subtitle {
    font-size:25px;
    line-height:1.25;
    margin-bottom:14px;
  }
  body[data-page="product"] .product-info .detail-divider{margin:16px 0;}
  body[data-page="product"] .product-info .detail-attr{margin:9px 0;}
  body[data-page="product"] .product-info .detail-notes{padding:19px 0;gap:8px;}
  body[data-page="product"] .product-info .detail-notes strong{
    font-size:clamp(22px,6.2vw,27px);
    line-height:1.12;
  }
  body[data-page="product"] .product-info .btn{margin-top:11px;}
  body[data-page="product"] .product-info .product-notice{margin-top:8px;}
  body[data-page="product"] .s05-thumbs .detail-shot{height:164px;}
  body[data-page="product"] .s05-related{
    grid-template-columns:minmax(0,1fr);
    padding:24px 0 37px;
    gap:16px;
  }
  body[data-page="product"] .s05-related h2{
    font-size:clamp(41px,11.5vw,52px);
    line-height:1;
    margin:6px 0 0;
  }
  body[data-page="product"] .s05-related-links{gap:10px;}
  body[data-page="product"] .s05-related-links a{
    min-height:111px;
    padding:17px 26px 15px 12px;
    gap:7px;
  }
  body[data-page="product"] .s05-related-name{
    font-size:clamp(23px,6.8vw,32px);
    line-height:1.02;
  }
  body[data-page="product"] .s05-related-meta{font-size:12px;}
  body[data-page="product"] .s05-related-arrow{top:12px;right:9px;font-size:19px;}
  body[data-page="product"] .ed-product-essay{padding:48px 23px 53px;}
  body[data-page="product"] .ed-product-essay h2{
    font-size:clamp(53px,13vw,75px);
    line-height:.98;
    margin:17px auto 21px;
  }
  body[data-page="product"] .ed-product-essay p{
    font-size:14px;
    line-height:1.75;
  }
  body[data-page="product"] .cta-band{
    padding:49px 23px 54px;
  }

  /* Collection: ensure filters and metadata are genuinely readable on phones. */
  body[data-page="collection"] .collection-hero{padding:52px 0 57px;}
  body[data-page="collection"] .section{
    padding-top:52px;
    padding-bottom:60px;
  }
  body[data-page="collection"] .filter-tabs{gap:10px 13px;}
  body[data-page="collection"] .filter-tab{
    font-size:13px;
    min-height:46px;
    padding:12px 3px;
  }
  body[data-page="collection"] .product-card .product-media{aspect-ratio:1/1.02;}
  body[data-page="collection"] .product-card .product-details{padding-top:15px;}
  body[data-page="collection"] .product-card .product-link{margin-top:12px;}
  body[data-page="collection"] .ed-collection-interlude h2{
    font-size:clamp(54px,13vw,73px);
  }
  body[data-page="collection"] .ed-collection-interlude p{
    font-size:14px;
    line-height:1.76;
  }
}
@media(prefers-reduced-motion:reduce){
  body[data-page="home"] .product-card .bottle{transition:none!important;}
}

/* Hero image fallback prevents a blank cream panel during asynchronous decode
   in Chrome; the exact same source URL as the semantic IMG is reused from cache. */
body[data-page="home"] .hero-image{
  background-image:url("assets/images/pexels-8450259.webp");
  background-repeat:no-repeat;
  background-size:cover;
  background-position:48% 52%;
}
@media(max-width:800px){
 body[data-page="home"] .hero-image{background-position:50% 47%;}
}
@media(max-width:540px){
 body[data-page="home"] .hero-image{background-position:100% 50%;}
 body[data-page="home"] .hero-image img{object-position:100% 50%!important;}
}
