:root {
  --paper:#f8f6ee; --ink:#25382d; --moss:#294536; --muted:#596658;
  --line:#d9dbcc; --lime:#dce7b7; --black:#20372b; --red:#9c5439;
  --serif:'Noto Serif TC','PMingLiU','Songti TC',serif;
  --sans:'Noto Sans TC','Microsoft JhengHei',system-ui,sans-serif;
}
.storefront {
  --paper:#fbf8f1; --blossom:#fffdf8; --ink:#211b22; --moss:#334326; --muted:#505442;
  --line:#d7d3c5; --lime:#c6e295; --black:#1e171e; --bark:#593d32;
  --mint:#e2edc9; --mint-soft:#f0f5e5; --red:#bd1b31; --red-hover:#991524;
  --brand-deep:var(--red); --brand-leaf:var(--red);
  --brand-mist:var(--mint-soft); --brand-ink:var(--ink);
  background:var(--paper);
  color:var(--ink);
  accent-color:var(--red);
}
.announcement { background:var(--mint); color:var(--ink); font-size:11px; letter-spacing:.12em; }
.site-header { height:83px; gap:20px; border-bottom:1px solid var(--line); }
.storefront .site-header,.storefront .mobile-nav { background:var(--blossom); }
.brand { gap:12px; flex:none; }
.brand img { width:51px; height:51px; }
.brand strong { display:block; font:700 23px/1.3 var(--serif); letter-spacing:.11em; }
.brand small { display:block; font:600 9px/1.7 var(--sans); letter-spacing:.24em; }
.storefront .brand small { color:var(--bark); }
.desktop-nav { gap:clamp(16px,2.5vw,39px); margin-right:16px; }
.desktop-nav a { font-weight:600; white-space:nowrap; }
.storefront .desktop-nav a:after { background:var(--red); }
.header-tools { gap:8px; }
.site-header .cart-link { border:1px solid var(--line); border-radius:50%; }
.storefront #cart-count,.storefront #toast { background:var(--red); color:var(--paper); }
.storefront :focus-visible { outline-color:var(--red); }
.storefront .site-footer :focus-visible { outline-color:var(--lime); }
.storefront .button.dark { background:var(--red); border-color:var(--red); color:var(--blossom); }
.storefront .button.dark:hover { background:var(--red-hover); border-color:var(--red-hover); }
.storefront .button:not(.dark,.light):hover { background:var(--mint); }
.hero.home-carousel {
  --hero-height:clamp(490px,43vw,670px);
  --portrait-width:calc(var(--hero-height) * .94);
  height:var(--hero-height);
  min-height:0;
  background:var(--black);
}
.hero-panel { background-color:var(--black); }
.hero-panel-framed {
  grid-template-columns:minmax(0,45fr) minmax(0,55fr);
  background:var(--paper) url('assets/contours.svg?v=spring-tea') left bottom / 46% auto no-repeat;
}
.hero-panel-framed .hero-content { padding:34px 7% 96px 11%; color:var(--ink); }
.hero-panel .hero-picture {
  object-fit:contain;
  object-position:center;
  background:linear-gradient(115deg,var(--mint-soft),var(--lime));
}
/* Keep the portrait crop within the scenery above and below the tea maker. */
.hero-panel-framed .hero-picture:is([src$="tea-pour.webp"],[src$="tea-serving.webp"]) {
  padding-inline:max(0px,calc((100% - var(--portrait-width)) / 2));
  object-fit:cover;
}
.hero-panel-framed .hero-picture[src$="tea-serving.webp"] {
  --portrait-width:calc(var(--hero-height) * 1.10);
  object-position:center 60%;
}
.hero-panel-framed .hero-picture:is([src$="plum-red-tea-hero.webp"],[src$="plum-red-tea-pour.webp"],[src$="plum-red-tea-tasting.webp"],[src$="plum-yellow-tea-wide.webp"]) {
  padding-inline:max(0px,calc((100% - var(--hero-height) * var(--photo-width-ratio)) / 2));
  object-fit:cover;
}
.hero-panel-framed .hero-picture[src$="plum-red-tea-hero.webp"] { --photo-width-ratio:1.25; object-position:center 26%; }
.hero-panel-framed .hero-picture[src$="plum-red-tea-pour.webp"] { --photo-width-ratio:1.30; object-position:center 29%; }
.hero-panel-framed .hero-picture:is([src$="plum-red-tea-tasting.webp"],[src$="plum-yellow-tea-wide.webp"]) { --photo-width-ratio:1.55; }
@media(min-width:961px){
  .hero-panel-framed .hero-picture[src$="red-tea-ceremony.jpg"] {
    padding-inline:max(0px,calc((100% - var(--hero-height) * 1.14) / 2));
    object-fit:cover;
  }
}
.hero-panel:not(.hero-panel-framed)::after { background:linear-gradient(90deg,#1e171ef0,#1e171eaa 45%,transparent); }
.hero .eyebrow { color:var(--lime); margin-bottom:20px; font-size:11px; letter-spacing:.21em; }
.hero-panel-framed .eyebrow { color:var(--bark); }
.hero-panel-framed .eyebrow:before { background:var(--red); }
.hero h1 { font-size:clamp(38px,4.35vw,73px); font-weight:600; line-height:1.27; letter-spacing:.085em; margin-bottom:24px; }
.hero-description { color:var(--mint-soft); font-size:14px; letter-spacing:.06em; max-width:29em; }
.hero-panel-framed .hero-description { color:var(--muted); }
.hero-buttons { flex-wrap:wrap; gap:13px 22px; }
.hero .button.light { background:var(--red); border-color:var(--red); color:var(--blossom); font-weight:700; }
.hero .button.light:hover { background:var(--red-hover); border-color:var(--red-hover); }
.hero .text-link { color:var(--paper); }
.hero-panel-framed .text-link { color:var(--bark); }
.hero-bottom { left:4.95%; right:4%; }
.hero-carousel-controls button { color:var(--ink); background:var(--blossom); border-color:var(--line); border-radius:50%; }
.hero-carousel-controls button[data-play] { border-radius:24px; padding-inline:13px; }
.hero-carousel-controls button:hover { background:var(--mint); border-color:var(--moss); color:var(--ink); }
.hero-carousel-controls button[aria-pressed="true"] { background:var(--red); border-color:var(--red); color:var(--blossom); }
.hero-stamp { border:1px solid var(--lime); color:var(--paper); background:var(--black); transform:rotate(-7deg); }
.hero-stamp strong { font-size:20px; }
.origin-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:0; padding:0 5%; background:var(--mint); }
.origin-strip span { justify-content:center; padding:16px 8px; gap:8px; font-weight:600; }
.origin-strip span + span { border-left:1px solid var(--line); }
.origin-strip em { color:var(--red); font:italic 15px Georgia,serif; }
.origin-strip b { color:var(--muted); }
.section-heading h2,.story-content h2,.page-heading h1,.detail-info h1 { font-weight:700; }
.section-heading .eyebrow,.story-content .eyebrow,.page-heading .eyebrow,.product-card .product-category { color:var(--red); }
.home-products .product-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.home-products .product-card:last-child { display:block; }
.product-card { background:var(--blossom); border:1px solid var(--line); padding:11px 11px 16px; min-width:0; }
.product-image { background:var(--mint-soft); }
.product-image img { object-fit:cover; }
.home-products .product-image { aspect-ratio:880/710; }
.product-card h3 { font-weight:700; }
.product-card .product-category { font-weight:700; }
.product-card-bottom { flex-wrap:wrap; gap:5px; }
.collection-tabs { gap:8px; flex-wrap:wrap; }
.collection-tabs button { border:1px solid var(--line); border-radius:25px; padding:5px 14px; min-height:36px; }
.collection-tabs button.active { background:var(--mint); border-color:var(--red); color:var(--red); }
.story-section,.page-heading { background:var(--mint-soft); }
.story-content h2,.story-content p,#footer-title,.detail-description,.prose { white-space:pre-line; }
.story-content p:not(.eyebrow) { color:var(--muted); }
.story-photo img { object-fit:contain; object-position:center; background:var(--mint); }
.story-section:has(.story-photo img:is([src$="plum-red-tea-tasting.webp"],[src$="plum-red-tea-hero.webp"])) { min-height:0; }
.story-photo:has(img:is([src$="plum-red-tea-tasting.webp"],[src$="plum-red-tea-hero.webp"])) { min-height:0; height:auto; align-self:center; }
.story-photo img[src$="plum-red-tea-tasting.webp"] { height:auto; aspect-ratio:3/2; }
.story-photo img[src$="plum-red-tea-hero.webp"] { height:auto; max-width:812px; aspect-ratio:5/4; object-fit:cover; object-position:center 26%; margin:auto; }
.craft-photo { margin:0; }
.craft-photo img,.about-hero img,.craft-step img {
  object-fit:contain;
  object-position:center;
  background:var(--mint);
}
.craft-photo img { aspect-ratio:5/4; }
.craft-photo img[src$="plum-yellow-tea-pour.webp"] { aspect-ratio:1.16; object-fit:cover; }
.about-hero img { height:clamp(420px,46vw,620px); }
.craft-step img { aspect-ratio:4/5; }
.craft-caption { background:var(--black); color:var(--paper); }
.editorial-photos { margin:32px 0; }
.editorial-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; gap:16px; margin:24px 0; }
.article .editorial-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
.editorial-gallery img { width:100%; height:auto; margin:0; }
.article .editorial-photo-caption { margin:-24px 0 28px; font-size:12px; color:var(--muted); }
.detail-main-image { background:var(--mint-soft); object-fit:contain; }
.summary-box,.payment-instructions,.purchase-notices,.status-box,.storefront .order-key { background:var(--mint-soft); }
.storefront .payment-option { background:var(--blossom); }
.storefront .payment-option:has(input:checked) { background:var(--mint); }
.variant-field { margin:15px 0; max-width:360px; }
.footer-links a:hover,.site-footer a:hover { color:var(--paper); }
.site-footer { background:var(--black); color:var(--paper); }
.site-footer .eyebrow,.footer-brand { color:var(--lime); }
.site-footer .round-link { border-color:var(--lime); color:var(--paper); }
.site-footer .round-link:hover { background:var(--lime); color:var(--ink); }
#footer-contact { display:grid; align-content:start; gap:8px; }
.site-footer .footer-social-icon {
  display:inline-grid;
  place-items:center;
  width:44px;
  height:44px;
  border:1px solid var(--lime);
  border-radius:50%;
  color:var(--lime);
}
.site-footer .footer-social-icon:hover { color:var(--black); background:var(--lime); }
.footer-social-icon svg { width:20px; height:20px; fill:currentColor; stroke:none; }
.site-footer .design-credit a,.site-footer .design-credit a:hover { text-decoration:none; }
@media(max-width:360px){
  .copyright > div { letter-spacing:0; }
}
.floating-contact { position:fixed; z-index:5; right:20px; bottom:22px; display:grid; gap:8px; }
.floating-contact a { display:grid; place-items:center; width:43px; height:43px; background:var(--red); border-radius:50%; color:var(--blossom); box-shadow:0 3px 14px #211b2222; font-size:10px; }
.floating-contact a:hover { background:var(--red-hover); }
@media(max-width:1100px){
  .desktop-nav { gap:14px; margin-right:0; }
  .desktop-nav a { letter-spacing:.03em; }
}
@media(max-width:960px){
  .hero.home-carousel { --hero-height:560px; --portrait-width:526px; height:auto; }
  .hero-panel,.hero-panel-framed { grid-template-rows:auto auto; grid-template-columns:1fr; }
  .hero-panel .hero-picture { width:100%; height:auto; aspect-ratio:4/5; max-height:var(--hero-height); }
  .hero-panel-framed .hero-picture { aspect-ratio:1; }
  .hero-panel .hero-content { padding:35px 7% 27px; }
  .hero .eyebrow { margin-bottom:10px; }
  .hero h1 { font-size:clamp(35px,6.4vw,56px); margin-bottom:13px; }
  .home-carousel .hero-bottom { background:var(--paper); padding:12px 7%; }
}
@media(max-width:760px){
  .site-header { height:69px; }
  .brand img { width:42px; height:42px; }
  .brand strong { font-size:18px; }
  .brand small { font-size:7px; }
  .header-tools { gap:3px; }
  .hero .hero-description { font-size:13px; }
  .origin-strip { padding:0 2%; }
  .origin-strip span { white-space:nowrap; font-size:10px; padding-inline:4px; }
  .origin-strip b { display:none; }
  .home-products .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
  .story-photo { height:clamp(340px,108vw,510px); }
  .story-photo img[src$="plum-red-tea-hero.webp"] { aspect-ratio:1; }
  .craft-photo img { aspect-ratio:4/5; }
  .craft-photo img[src$="plum-yellow-tea-pour.webp"] { aspect-ratio:4/5; }
  .craft-step img { aspect-ratio:4/5; max-height:480px; }
  .editorial-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .product-card h3 { font-size:17px; }
  .product-card .spec { display:block; margin:0; }
  .floating-contact { right:12px; bottom:14px; }
}

