@layer warmth;

@layer warmth {
  body { background: #faf2e5; }
  h1, h2, h3, h4 { overflow-wrap: break-word; }
  .site-header { padding-block: 1.35rem; }
  .hero { gap: 3rem; padding-block: 3rem 4rem; }
  .hero-copy { padding-block: 1.5rem; }
  .hero .eyebrow { color: var(--rust-dark); }
  .hero-description { max-width: 29rem; }
  .hero-highlights { display: flex; flex-wrap: wrap; gap: .5rem .8rem; padding: 0; margin: 2rem 0 0; list-style: none; }
  .hero-highlights li { padding: .4rem .8rem; border: 1px solid #d6bd98; border-radius: 2rem; background: #f1e1c6; color: #68503a; font-size: .875rem; }
  .hero-visual.hero-visual--logo { padding: 1rem; border: 1px solid #d2b688; border-radius: 48% 48% 12px 12px; background: #fff9ed; box-shadow: 12px 14px 0 #e8d4b3; }
  .hero-logo { border-radius: 46% 46% 0 0; }
  .mood-strip { background: var(--olive); border-color: var(--olive); color: var(--cream); }
  .mood-strip .separator { color: #e1b772; }
  .mood-strip-inner { padding-block: 1.05rem; }
  .collection { padding-block: 4.5rem 5rem; }
  .section-intro { margin-bottom: 2rem; }
  .section-intro .eyebrow { color: var(--rust-dark); }
  .collection-layout--catalog { display: flex; flex-direction: column; gap: 3rem; }
  .collection-layout--catalog .candle-catalog { order: 0; width: 100%; }
  .catalog-heading { padding-bottom: .6rem; }
  .catalog-heading > span { padding: .35rem .7rem; border-radius: 2rem; background: #ebdcc3; color: #68503a; font-size: .8125rem; letter-spacing: .04em; }
  .shop-preview-note { margin-bottom: 1.1rem; }
  .catalog-tools { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; column-gap: 2rem; padding: 1.3rem 1.5rem; margin-bottom: 1.5rem; border: 1px solid #d9c4a5; border-radius: 12px; background: #f1e4cf; }
  .quick-size { grid-row: span 2; margin-bottom: 0; }
  .quick-size-option { min-width: 0; background: #fffaf0; border-color: #c9b38f; }
  .quick-size-option span { min-width: 0; overflow-wrap: anywhere; }
  .quick-size-option:has(input:checked) { background: var(--olive); color: var(--cream); }
  .quick-size-option:has(input:checked) small { color: #e6dfd1; }
  .quick-size-option input { accent-color: var(--rust); }
  .search-control { background: #fffaf0; }
  .scent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
  .scent-grid .shop-product { display: flex; flex-direction: column; position: relative; align-items: stretch; gap: 0; padding: 0; overflow: hidden; border: 1px solid #dcc7a7; border-radius: 14px; background: #fffaf1; box-shadow: 0 4px 12px #67432108; transition: box-shadow 180ms ease, border-color 180ms ease; }
  .scent-grid .shop-product:hover { border-color: #b49365; box-shadow: 0 8px 20px #67432112; }
  .scent-art { position: relative; width: 100%; height: clamp(145px, 15vw, 205px); overflow: hidden; background: #f5ead7; border-bottom: 1px solid #eadcc7; }
  .scent-illustration { width: 100%; height: 100%; object-fit: cover; object-position: center; mix-blend-mode: multiply; }
  .shop-product .scent-index { position: absolute; left: .8rem; top: .8rem; display: grid; place-items: center; min-width: 2rem; height: 2rem; padding: 0 .4rem; border: 1px solid #dfc49b; border-radius: 50%; background: #fff9eeeb; color: #8a633c; font-size: .875rem; }
  .product-details { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.2rem .9rem; }
  .product-kind { margin-bottom: .45rem; color: #897053; font-size: .875rem; }
  .scent-grid h4 { min-height: 2.65em; font-size: 1.45rem; line-height: 1.3; letter-spacing: -.025em; }
  .product-price { color: var(--rust-dark); font-size: 1rem; margin-top: .45rem; }
  .product-size-select { margin-top: .9rem; background: #fffdf7; border-color: #c9b38f; border-radius: 6px; }
  .add-to-cart { align-self: stretch; margin: 0 1.2rem 1.15rem; min-height: 46px; border-color: var(--olive); background: var(--olive); color: var(--cream); text-align: center; font-size: .9375rem; }
  .add-to-cart:disabled { opacity: 1; background: #eee1cb; border-color: #d9c4a5; color: #7c6a53; }
  .add-to-cart:not(:disabled):hover, .add-to-cart.just-added { background: #293421; border-color: #293421; }
  .collection-photo.collection-photo--real { order: 1; display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); align-items: center; gap: 2.5rem; width: 100%; padding: 1.2rem 2.5rem 1.2rem 1.2rem; border: 1px solid #d6bd98; border-radius: 14px; background: #efdfc7; }
  .collection-photo--real img { width: 100%; height: auto; max-height: 440px; aspect-ratio: 3 / 4; object-fit: contain; border-radius: 8px; background: #dac4a5; }
  .collection-photo--real figcaption { display: block; padding: .5rem 0; font-size: 1rem; letter-spacing: normal; }
  .collection-photo--real figcaption > .eyebrow { color: var(--rust-dark); font-size: .8125rem; letter-spacing: .08em; }
  .collection-photo--real figcaption > h3 { margin-top: .8rem; color: var(--ink); font-size: clamp(2rem, 3vw, 3rem); line-height: 1.15; }
  .collection-photo--real figcaption > h3 em { color: var(--rust); }
  .collection-photo--real figcaption > p:not(.eyebrow) { margin-top: 1rem; max-width: 31rem; line-height: 1.8; }
  .collection-photo--real .availability-note { padding: 1.1rem 0 0; margin-top: 1.4rem; border: 0; border-top: 1px solid #cbb18b; background: transparent; }
  .art-collection { background: #e7d2b8; border-block: 1px solid #cfb18b; }
  .art-inner { gap: 4rem; padding-block: 4rem; }
  .art-copy > .eyebrow { color: var(--rust-dark); }
  .art-copy > p:not(.eyebrow) { color: #69513d; }
  .art-photo { padding: .9rem .9rem 1rem; border: 1px solid #d4bfa1; background: #fff7e9; box-shadow: 10px 12px 0 #d3b48e; transform: rotate(1.5deg); }
  .art-photo img { border-radius: 0; }
  .art-photo figcaption { padding-inline: .2rem; }
  .collection-status { background: #fcf3e4; border-color: #bba07c; color: #655037; }
  .world-inner { grid-template-columns: .9fr 1.6fr; column-gap: 4rem; padding-block: 4.5rem; }
  .story-art { width: 100%; height: auto; margin-top: 2rem; border: .6rem solid #fcf5e8; border-radius: 45% 45% 4px 4px; transform: rotate(-4deg); }
  .world-copy h2 { font-size: clamp(2.8rem, 4vw, 3.8rem); }
  .world-copy p { max-width: 36rem; }
  .world-signoff { display: none; }
  .site-footer { gap: 2rem 1.5rem; padding-top: 2.5rem; }
  .footer-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 1.5rem 2rem; padding: 2rem 2.3rem; border: 1px solid #d8bc94; border-radius: 12px; background: #f0dfc0; text-align: left; }
  .footer-contact h2 { margin-top: .5rem; font-size: 2rem; line-height: 1.2; letter-spacing: -.035em; }
  .footer-contact .eyebrow { color: var(--rust-dark); }
  .footer-contact p:not(.eyebrow) { margin-top: .65rem; color: #70563d; font-size: 1rem; line-height: 1.7; }
  .footer-contact a { display: block; justify-self: stretch; min-height: 48px; padding: .85rem 1rem; border: 1px solid #b39770; border-radius: 6px; background: #fff8eb; line-height: 1.6; text-align: center; }
  .footer-contact a span { margin-left: .5rem; }
  .footer-bottom { font-size: .875rem; }
  @media (max-width: 1000px) {
    .hero { gap: 2rem; }
    .scent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .scent-art { height: 180px; }
    .catalog-tools { column-gap: 1.25rem; padding: 1.2rem; }
    .collection-photo.collection-photo--real { gap: 1.5rem; padding-right: 1.2rem; }
    .art-inner { gap: 2.5rem; }
    .world-inner { column-gap: 2rem; }
    .footer-contact { grid-template-columns: 1fr; padding: 1.5rem; }
    .footer-contact a { justify-self: start; }
  }
  @media (max-width: 740px) {
    .hero { padding-block: 2rem 3rem; gap: 2rem; }
    .hero-copy { padding: 0; }
    .hero-highlights { justify-content: center; margin-top: 1.4rem; gap: .45rem; }
    .hero-highlights li { font-size: .875rem; padding-inline: .6rem; }
    .hero-visual.hero-visual--logo { max-width: 390px; width: calc(100% - 1rem); padding: .65rem; box-shadow: 8px 9px 0 #e8d4b3; }
    .collection { padding-block: 3rem; }
    .catalog-heading { align-items: center; }
    .catalog-heading > span { font-size: .75rem; }
    .catalog-tools { grid-template-columns: 1fr; row-gap: 1rem; }
    .quick-size { grid-row: auto; }
    #scent-results { margin-top: -.55rem; }
    .scent-grid { gap: 1rem; }
    .scent-grid h4 { font-size: 1.3rem; }
    .product-details { padding: 1rem .9rem .8rem; }
    .add-to-cart { margin-inline: .9rem; }
    .collection-photo.collection-photo--real { grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: 1.2rem; }
    .collection-photo--real figcaption > h3 { font-size: 1.8rem; }
    .art-inner { grid-template-columns: 1fr; gap: 2rem; padding-block: 3rem; }
    .art-photo { margin-right: .5rem; }
    .world-inner { grid-template-columns: 1fr; padding-block: 3rem; }
    .world-label { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; padding-top: 0; }
    .story-art { width: 7rem; margin-top: 0; border-width: .3rem; }
    .world-label .eyebrow { max-width: 11rem; }
    .footer-contact { text-align: center; }
    .footer-contact a { justify-self: stretch; }
  }
  @media (max-width: 520px) {
    .scent-grid { grid-template-columns: 1fr; }
    .scent-grid .shop-product { display: grid; grid-template-columns: 84px minmax(0, 1fr); }
    .scent-art { grid-row: 1 / 3; width: 100%; height: 100%; border-bottom: 0; border-right: 1px solid #eadcc7; }
    .scent-illustration { object-fit: cover; }
    .shop-product .scent-index { top: .55rem; left: .55rem; min-width: 1.8rem; height: 1.8rem; }
    .product-details { grid-column: 2; padding: .9rem .85rem .75rem; }
    .scent-grid h4 { min-height: 0; font-size: 1.35rem; }
    .product-kind { font-size: .8125rem; margin-bottom: .25rem; }
    .product-price { margin-top: .3rem; }
    .product-size-select { margin-top: .65rem; }
    .add-to-cart { grid-column: 2; margin: 0 .85rem .9rem; }
    .collection-photo.collection-photo--real { grid-template-columns: 1fr; padding: 1rem; }
    .collection-photo--real img { max-height: 370px; }
    .collection-photo--real figcaption { padding: .5rem .3rem; }
    .footer-contact { padding: 1.4rem 1rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    .scent-grid .shop-product { transition: none; }
  }
}
