/* November collection. Existing logo, forest palette and semantic page flow. */
:root { --berry: #82485c; }
.forest-hero { overflow: hidden; background: #f4f1e8; }
.hero-grid { grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr); gap: 60px; padding-block: 48px 40px; }
.hero-copy { position: relative; z-index: 2; }
.forest-hero h1 { font-size: clamp(3.2rem,5.15vw,5rem); line-height: 1.06; max-width: 12ch; }
.forest-hero .hero-copy > p { max-width: 37ch; }
.hero-actions { gap: 20px; }
.hero-actions .button { min-height: 54px; padding-inline: 26px; }
.harvest-mark { width: auto; height: 46px; padding: 10px 14px; border-radius: 100px; flex-direction: row; gap: 8px; transform: none; box-shadow: none; background: #e6eadc; border-color: #c7d0b8; white-space: nowrap; font-size: .8rem; }
.harvest-icon svg { width: 19px; height: 19px; }
.hero-origin { font-size: .75rem !important; letter-spacing: .04em; margin-top: 36px; }
.forest-hero .hero-copy > .hero-origin { max-width: none; }
.tea-carousel { max-width: 600px; container: tea-carousel / inline-size; }
.forest-scene { height: 555px; border-radius: 180px 180px 22px 22px; background: #dedfcd; outline: none; overflow: visible; isolation: isolate; box-shadow: none; }
.hero-story { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; box-shadow: 0 28px 50px -36px #1d302d99; }
.scene-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.hero-story::after { content: ''; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(0deg,#152c2399,transparent); }
.hero-story img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 100% 22%; transform: scale(1.03) translate(var(--forest-x,0px),var(--forest-y,0px)); transition: transform 700ms ease-out; }
.tea-slide { z-index: 2; }
.pack-print,.pack-print.is-original { inset: auto auto -10px -36px; width: 285px; height: 425px; overflow: visible; transform: rotate(-6deg) translate(calc(var(--forest-x,0px) * -.45),calc(var(--forest-y,0px) * -.5)); transition: transform 700ms ease-out; }
.pack-print img,.pack-print.is-original img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 0; transform: none; filter: drop-shadow(14px 22px 15px #10251c55); }
.pack-print:not(.is-original) { width: 240px; left: -20px; height: 340px; bottom: 20px; }
.pack-print:not(.is-original) img { border-radius: 22px; }
.pack-print:not(.is-original) .pack-glint { border-radius: 22px; }
.tea-slide .pack-caption { inset: auto 18px 24px auto; width: 230px; padding: 18px; border-radius: 16px; gap: 5px 14px; background: #faf8f0f5; box-shadow: 0 10px 28px #16372924; }
.pack-category { font-size: .65rem; letter-spacing: .09em; }
.pack-caption strong { font-size: 1.9rem; }
.pack-details { font-size: .8rem; padding-left: 12px; min-width: 58px; }
.pack-concept { top: auto; left: 32px; bottom: 30px; transform: none; }
.forest-motes { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; z-index: 1; }
.forest-motes i { position: absolute; width: 5px; height: 5px; background: #f4e5b5; border-radius: 50%; opacity: 0; animation: forest-mote 14s ease-in-out infinite; }
.forest-motes i:nth-child(1) { left: 12%; top: 55%; }
.forest-motes i:nth-child(2) { left: 76%; top: 75%; animation-delay: 4s; width: 3px; height: 3px; }
.forest-motes i:nth-child(3) { left: 42%; top: 24%; animation-delay: 9s; width: 4px; height: 4px; }
@keyframes forest-mote { 0%,100% { opacity: 0; transform: translate3d(0,20px,0); } 35%,65% { opacity: .6; } 80% { opacity: 0; transform: translate3d(28px,-65px,0); } }
.carousel-controls { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 5px; margin-top: 25px; padding: 7px; border: 1px solid #d4d9c8; border-radius: 100px; background: #faf8f1; box-shadow: 0 8px 20px -15px #183b3055; }
.carousel-tabs { justify-content: center; gap: 4px; }
.carousel-tabs a { min-width: 40px; min-height: 44px; padding: 8px 12px; font-size: .8rem; transition: color 250ms,background-color 250ms,box-shadow 250ms; }
.tab-index { font-variant-numeric: tabular-nums; font-size: .75rem; }
.carousel-prev,.carousel-next { display: flex; justify-content: center; align-items: center; min-height: 44px; padding: 0; border-radius: 50%; font-size: 1.25rem; }
.carousel-prev:hover,.carousel-next:hover { background: #e8ecdf; text-decoration: none; }
.nav-word { display: none; }
.product-art:has(img[src*="pouch-"]) { padding: 20px 26px; background: #eceee3; }
.product-art:has(img[src*="pouch-"]) img { filter: drop-shadow(5px 10px 8px #2335262e); transition: transform 500ms; }
.product-info :is(h2,h3) { hyphens: none; overflow-wrap: normal; }
.product-info .button { border-radius: 100px; }
.product-specs { margin-block: 24px; border-block: 1px solid var(--line); }
.product-specs > div { display: flex; justify-content: space-between; gap: 20px; padding-block: 13px; border-bottom: 1px solid #dbe0d6; }
.product-specs > div:last-child { border: 0; }
.product-specs dt { color: var(--muted); }
.product-specs dd { margin: 0; text-align: right; }
.cart-row { display: grid; grid-template-columns: 90px minmax(0,1fr) auto 44px; gap: 22px; align-items: center; }
.cart-photo { height: 115px; display: grid; place-items: center; background: #eef0e7; border-radius: 12px; position: relative; overflow: hidden; }
.cart-photo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.cart-photo .image-note { display: none; }
.cart-row h2 { font-size: 1.65rem; margin-bottom: 10px; }
.cart-row p { margin: 0; font-size: .875rem; }
.home-library { background: #f7f5ed; }
.journal-preview,.journal-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.journal-card { display: flex; flex-direction: column; padding: 30px; background: var(--paper); border: 1px solid #d6dcce; border-radius: 18px; transition: border-color 250ms,transform 250ms,box-shadow 250ms; }
.journal-category { color: var(--berry); text-transform: uppercase; letter-spacing: .09em; font-size: .7rem; margin-bottom: 24px; }
.journal-card h3 { font-size: 1.65rem; line-height: 1.2; }
.journal-card p { font-size: .9375rem; }
.journal-read { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--green); }
.article-detail { max-width: 800px; }
.article-meta { font-size: .8rem; color: var(--muted); }
.article-detail h1 { font-size: clamp(2.3rem,4.3vw,4rem); }
.article-intro { font-size: 1.2rem; line-height: 1.65; color: #354e3e; }
.article-detail section { padding-top: 26px; scroll-margin-top: 125px; }
.article-detail section h2 { font-size: clamp(1.7rem,3vw,2.35rem); margin-bottom: 20px; }
.article-detail section p,.article-detail li { font-size: 1.0625rem; line-height: 1.8; }
.article-detail ul { padding-left: 23px; color: var(--muted); }
.article-detail li { padding-left: 5px; margin-bottom: 12px; }
.article-toc { display: flex; flex-direction: column; align-items: start; gap: 9px; padding: 24px 28px; border-left: 2px solid #95a880; background: #eff1e7; margin: 30px 0 20px; }
.article-toc strong { margin-bottom: 5px; font-weight: 600; }
.article-toc a { text-decoration: underline; font-size: .9375rem; padding-block: 3px; }
.article-sources { padding-block: 22px; border-block: 1px solid var(--line); margin-block: 35px; }
.article-sources summary { cursor: pointer; padding-block: 6px; color: var(--green); }
.article-sources a { text-decoration: underline; overflow-wrap: anywhere; }
.article-sources li { font-size: .875rem; }
.article-related { border-radius: 18px; background: #eef0e5; padding: 26px 30px; margin: 30px 0; }
.article-related h2 { font-size: 2rem; }
.article-related .text-link { display: block; }
dialog { max-width: 660px; width: calc(100% - 40px); padding: 42px 38px 30px; border: 1px solid #d1d8c8; border-radius: 24px; box-shadow: 0 30px 90px #0924194d; }
dialog::backdrop { background: #0a211b85; backdrop-filter: blur(6px); }
dialog h2 { font-size: 2.65rem; padding-right: 14px; }
.checkout-kicker { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--berry); margin: 0 0 16px; }
.delivery-choices { display: grid; gap: 12px; margin-block: 28px 20px; }
.delivery-choices .carrier-option { display: grid; grid-template-columns: 46px 1fr 22px; gap: 16px; text-align: left; align-items: center; border: 1px solid #d2dac9; border-radius: 16px; padding: 18px; color: var(--green); background: #f9faf4; min-height: 90px; }
.carrier-option strong,.carrier-option small { display: block; }
.carrier-option strong { font-size: 1rem; margin-bottom: 3px; }
.carrier-option small { font-size: .8rem; color: var(--muted); }
.carrier-symbol { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #e0e8d5; font-size: 1.4rem; font-weight: 700; }
.checkout-back { display: inline-block; margin: 0 0 22px; min-height: 32px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: .8rem; text-decoration: underline; }
[data-checkout-form] fieldset { display: block; padding: 0; border: 0; margin: 28px 0 20px; }
[data-checkout-form] legend { font-size: 1.1rem; color: var(--green); font-weight: 600; padding: 0 0 14px; }
.checkout-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.field-wide { grid-column: 1/-1; }
[data-checkout-form] label { display: block; font-size: .8125rem; margin: 0 0 6px; color: #314b3b; }
[data-checkout-form] label small { font-size: .75rem; color: var(--muted); }
[data-checkout-form] :is(input:not([type=radio]),textarea) { display: block; width: 100%; min-height: 48px; padding: 12px 14px; margin-top: 7px; border: 1px solid #bcc9b7; border-radius: 10px; background: #fefefb; color: var(--ink); font-size: 1rem; box-shadow: none; }
[data-checkout-form] textarea { resize: vertical; }
[data-checkout-form] input::placeholder,[data-checkout-form] textarea::placeholder { color: #6b786d; font-size: .875rem; }
.receiving-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.receiving-toggle label { position: relative; }
.receiving-toggle input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.receiving-toggle span { display: flex; justify-content: center; align-items: center; min-height: 46px; border: 1px solid #bdc9b6; border-radius: 100px; }
.receiving-toggle input:checked + span { background: var(--green); border-color: var(--green); color: var(--paper); }
.receiving-toggle input:focus-visible + span { outline: 3px solid #32694b; outline-offset: 3px; }
.field-hint { font-size: .75rem; line-height: 1.5; margin: 8px 0 0; }
.carrier-note { background: #edf0e5; padding: 14px 16px; border-radius: 10px; font-size: .8125rem; line-height: 1.6; margin-block: 16px 0; }
.checkout-submit { margin: 18px 0 12px; width: 100%; border-radius: 100px; }
.checkout-error { color: #913a36; padding: 12px 16px; background: #f7e8df; border-radius: 10px; margin-top: 16px; font-size: .875rem; }
.order-review { border: 1px solid #d3dbca; border-radius: 16px; padding: 8px 22px 0; margin-block: 26px; }
.review-item { display: flex; justify-content: space-between; gap: 20px; padding-block: 16px; border-bottom: 1px solid #dde2d6; font-size: .9375rem; }
.review-item strong { white-space: nowrap; font-weight: 500; }
.order-review dl { margin-block: 12px 0; }
.order-review dl > div { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 20px; padding-block: 14px; font-size: .875rem; }
.order-review dt { color: var(--muted); }
.order-review dd { margin: 0; overflow-wrap: anywhere; }
.order-review .review-total { border-top: 1px solid var(--line); padding-block: 20px; }
.order-handoff { display: grid; gap: 10px; }
.order-handoff .button { width: 100%; border-radius: 100px; }
.copy-fallback { width: 100%; min-height: 220px; padding: 15px; background: #f8faf3; border: 1px solid var(--line); color: var(--ink); border-radius: 12px; }
@media(hover:hover) and (pointer:fine) {
 .product-art:hover img[src*="pouch-"] { transform: translateY(-5px) rotate(1deg); }
 .journal-card:hover { transform: translateY(-4px); border-color: #8c9e7c; box-shadow: 0 12px 25px -16px #133d2f55; }
 .carrier-option:hover { border-color: #658352; background: #f0f3e8; }
}
@media(max-width:1100px) {
 .hero-grid { gap: 34px; }.forest-scene { height: 505px; }.pack-print,.pack-print.is-original { width: 245px; height: 365px; left: -18px; }
 .tea-slide .pack-caption { width: 205px; right: 10px; padding: 15px; }.pack-caption strong { font-size: 1.65rem; }
 .hero-actions { gap: 12px; }.harvest-mark { padding-inline: 11px; }.hero-actions .button { padding-inline: 21px; }
 .journal-card { padding: 24px; }
}
@media(max-width:850px) {
 .hero-grid { gap: 24px; }.forest-hero h1 { font-size: clamp(2.75rem,5.3vw,3.6rem); }
 .forest-scene { height: 460px; border-radius: 125px 125px 18px 18px; }
 .pack-print,.pack-print.is-original { width: 210px; height: 310px; left: -10px; }
 .tea-slide .pack-caption { grid-template-columns: 1fr; width: 148px; right: 8px; bottom: 16px; padding: 14px; }
 .pack-details { grid-row: auto; grid-column: 1; border: 0; border-top: 1px solid #d3dcc8; padding: 8px 0 0; margin-top: 6px; min-height: 30px; place-items: start; }
 .pack-caption strong { font-size: 1.5rem; }.pack-category { font-size: .6rem; }
 .carousel-tabs a { min-width: 30px; padding-inline: 8px; }.carousel-controls { grid-template-columns: 32px minmax(0,1fr) 32px; padding: 5px; }.carousel-tabs { gap: 0; }
 .hero-actions { align-items: start; flex-direction: column; gap: 14px; }.hero-actions .button { min-height: 52px; }
 .journal-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.journal-preview { grid-template-columns: 1fr; }
 .home-library .section-title { align-items: start; flex-direction: column; gap: 22px; }
}
@media(max-width:600px) {
 .hero-grid { grid-template-columns: 1fr; padding-block: 26px 30px; gap: 30px; }.forest-hero h1 { font-size: clamp(2.65rem,10.6vw,3.9rem); margin-bottom: 18px; }
 .forest-hero .hero-copy > p { font-size: .9375rem; line-height: 1.65; max-width: 38ch; }
 .hero-actions { flex-direction: row; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: nowrap; }.hero-actions .button { font-size: .8125rem; min-height: 50px; padding-inline: 19px; gap: 12px; }
 .harvest-mark { min-height: 44px; font-size: .7rem; gap: 5px; padding: 7px 10px; }.harvest-icon svg { width: 17px; height: 17px; }
 .tea-carousel { width: 100%; max-width: 450px; }.forest-scene { height: 440px; border-radius: 145px 145px 20px 20px; }
 .pack-print,.pack-print.is-original { width: 230px; height: 340px; bottom: -10px; left: -12px; }
 .hero-story img { object-position: 85% 20%; }.tea-slide .pack-caption { width: 158px; right: 12px; bottom: 16px; padding: 16px; }
 .carousel-controls { margin-top: 20px; padding: 5px; grid-template-columns: 36px minmax(0,1fr) 36px; }.carousel-tabs a { min-width: 39px; padding-inline: 10px; }.carousel-tabs { gap: 2px; }.tab-name { font-size: .75rem; }
 .product-art:has(img[src*="pouch-"]) { padding: 13px 17px; }.product-info :is(h2,h3) { font-size: 1.3rem; }.product-info p { font-size: .8125rem; }
 .cart-row { grid-template-columns: 62px minmax(0,1fr) 32px; gap: 14px; padding-block: 20px; }.cart-photo { height: 90px; grid-row: 1/3; }.cart-row h2 { font-size: 1.35rem; margin: 0 0 8px; }.cart-row p { font-size: .75rem; }.cart-row .quantity { grid-column: 2; justify-self: start; }.cart-row > .icon-button { grid-column: 3; grid-row: 1; width: 32px; }
 .journal-grid { grid-template-columns: 1fr; gap: 16px; }.journal-preview { gap: 16px; }.journal-card { padding: 25px; }.journal-category { margin-bottom: 18px; }.journal-card h3 { font-size: 1.6rem; }
 .article-detail h1 { font-size: 2.5rem; }.article-detail .article-intro { font-size: 1.08rem; }.article-detail section p,.article-detail li { font-size: 1rem; line-height: 1.75; }.article-toc { padding: 22px; }.article-related { padding: 24px; }
 dialog { width: calc(100% - 24px); max-height: calc(100dvh - 32px); padding: 40px 22px 26px; border-radius: 22px; }.checkout-kicker { font-size: .65rem; }dialog h2 { font-size: 2.1rem; }#dialog-description { font-size: .9rem; }
 .delivery-choices .carrier-option { padding: 15px; gap: 12px; grid-template-columns: 42px 1fr 14px; }.carrier-option strong { font-size: .9375rem; }.carrier-option small { font-size: .7rem; }.carrier-symbol { width: 40px; height: 40px; }
 .checkout-fields { grid-template-columns: 1fr; gap: 14px; }.order-review { padding-inline: 16px; }.order-review dl > div { grid-template-columns: 1fr; gap: 6px; }.review-item { font-size: .875rem; gap: 14px; }.receiving-toggle { gap: 8px; }.receiving-toggle span { font-size: .75rem; }
}
@media(max-width:370px) {
 .hero-actions { gap: 8px; }.harvest-mark { padding-inline: 7px; font-size: .65rem; }.hero-actions .button { padding-inline: 17px; }
 .forest-scene { height: 415px; }.pack-print,.pack-print.is-original { width: 208px; height: 310px; }.tea-slide .pack-caption { width: 140px; right: 8px; padding: 14px; }.carousel-tabs a { min-width: 34px; padding-inline: 8px; }
}
@media(prefers-reduced-motion:reduce) {
 .hero-story img,.pack-print,.journal-card,.product-art img { transition: none !important; transform: none !important; }.forest-motes { display: none; }
 .journal-card:hover,.product-art:hover img { transform: none; }
}

/* Give the caption its own row when a pouch and its name cannot fit side by side. */
@container tea-carousel (max-width: 29rem) {
  .tea-carousel .forest-scene {
    --scene-height: clamp(16rem, 92cqw, 23rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    background: transparent;
  }
  .forest-scene > :is(.hero-story, .scene-atmosphere) {
    inset: 0 0 auto;
    height: var(--scene-height);
    border-radius: min(38cqw, 8.5rem) min(38cqw, 8.5rem) 0 0;
    box-shadow: none;
  }
  .forest-scene .tea-slide {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    display: grid;
    grid-template: var(--scene-height) auto / minmax(0, 1fr);
    pointer-events: none;
  }
  .tea-slide .pack-print,
  .tea-slide .pack-print.is-original {
    grid-area: 1 / 1;
    align-self: end;
    justify-self: start;
    position: relative;
    inset: auto;
    margin: 0 0 .1rem .3rem;
    width: clamp(8.5rem, 55cqw, 14rem);
    height: auto;
    aspect-ratio: 3 / 4;
  }
  .tea-slide .pack-print:not(.is-original) { width: clamp(7rem, 42cqw, 10rem); }
  .forest-scene .tea-slide .pack-caption {
    grid-area: 2 / 1;
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 4.7rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: center;
    align-items: center;
    gap: .16rem .75rem;
    padding: .8rem 1rem;
    background: #fdfbf2;
    border: 1px solid #d7d9c8;
    border-top: 0;
    border-radius: 0 0 16px 16px;
    box-shadow: none;
    pointer-events: auto;
  }
  .pack-caption .pack-category, .pack-caption strong { grid-column: 1; }
  .tea-slide .pack-caption .pack-details {
    grid-area: 1 / 2 / span 2;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .3rem .75rem;
    border: 1px solid #c8cfb9;
    border-radius: 2rem;
    font-size: .8rem;
    white-space: nowrap;
  }
  .forest-scene .pack-concept { bottom: auto; top: calc(var(--scene-height) - 2rem); }
}
