:root {
  color-scheme: light;
  --paper: #f9f8f3;
  --ink: #202a23;
  --muted: #526056;
  --green: #203d30;
  --line: #dcded4;
  --serif: "Songti SC", "Noto Serif CJK SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 4.5vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--sans);
}
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
button:focus-visible, a:focus-visible, select:focus-visible, .type-filters input:focus-visible + span {
  outline: 2px solid #926831;
  outline-offset: 5px;
}
.skip-link {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  padding: .6rem 1rem;
  color: white;
  background: var(--green);
  transform: translateY(-175%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only, .type-filters input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
[hidden] { display: none !important; }

.header { border-bottom: 1px solid #e0e2d8; }
.header-inner, .section-wrap, .hero-inner {
  margin-inline: auto;
  width: min(100% - var(--gutter) * 2, 76rem);
}
.header-inner {
  min-height: 5.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.wordmark {
  display: grid;
  place-items: center;
  width: 5.5rem;
  min-height: 2.75rem;
  flex-shrink: 0;
}
.wordmark img { width: 100%; }
.header nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2.5rem); }
.header nav a {
  display: inline-grid;
  place-items: center;
  min-height: 2.75rem;
  font-size: .9375rem;
  white-space: nowrap;
}
.story-link:hover, .footer-shop:hover { text-decoration: underline; text-underline-offset: .35em; }
.header-shop {
  border: 1px solid #b3bcaf;
  border-radius: .2rem;
  padding: 0 .95rem;
}
.header-shop:hover { background: #e9ede5; }
.header-shop[aria-current="page"] { color: #fff; background: var(--green); border-color: var(--green); }

.hero { background: #f0f1e9; overflow: hidden; }
.hero-inner {
  min-height: clamp(34rem, 43vw, 44rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.hero-copy { padding: 3.75rem 0; position: relative; z-index: 1; }
.hero-label {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: #3a5746;
  letter-spacing: .18em;
  margin-bottom: 1.25rem;
}
.hero-label::before {
  content: "";
  width: 1.75rem;
  border-top: 1px solid #5e795e;
}
h1, h2 { font-family: var(--serif); font-weight: 600; }
h1 {
  font-size: clamp(2.5rem, 5.4vw, 5.25rem);
  letter-spacing: .035em;
  line-height: 1.23;
}
h1 span { display: block; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: .68rem 1.25rem;
  border: 1px solid var(--green);
  border-radius: .2rem;
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s, color .18s;
}
.button-solid { background: var(--green); color: #fff; }
.button-solid:hover { background: #2f5745; }
.hero-copy .button { margin-top: 2.15rem; }
.hero-product {
  min-width: 0;
  min-height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  isolation: isolate;
  position: relative;
  padding: 2.25rem 0 1.6rem;
}
.hero-halo {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(90%, 31rem);
  aspect-ratio: 1;
  transform: translate(-50%, -56%);
  border: 1px solid #cdd6c8;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #f7f7ed 2%, #e5eadf 55%, #d5dfd1 100%);
}
.hero-halo::after {
  content: "";
  position: absolute;
  inset: -.7rem;
  border: 1px solid #d9e0d5;
  border-radius: 50%;
}
.hero-stage {
  display: grid;
  place-items: center;
  width: min(64%, 20.5rem);
  position: relative;
}
.hero-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -.85rem;
  width: 95%;
  height: 2.5rem;
  border-radius: 50%;
  background: #263629;
  opacity: .22;
  filter: blur(18px);
}
.hero-stage img { width: 100%; filter: drop-shadow(10px 14px 13px #1d352342); }
.hero-product figcaption {
  margin-top: 2rem;
  color: #334b3b;
  border-top: 1px solid #a9b8aa;
  padding-top: .55rem;
  font-size: .875rem;
}
.hero-product figcaption span { margin-left: .65rem; color: var(--muted); }

.products { padding-block: clamp(3rem, 6.2vw, 6rem); scroll-margin-top: 1.25rem; }
.section-heading { margin-bottom: 1.7rem; }
h2 { font-size: clamp(1.85rem, 3.1vw, 3rem); line-height: 1.25; letter-spacing: .045em; }
.section-heading p { color: var(--muted); margin-top: .6rem; }
.catalog { padding-top: clamp(2.75rem, 5.6vw, 5rem); }
.catalog-title { font-size: clamp(2.2rem, 5vw, 4.25rem); }
.catalog .section-heading { margin-bottom: 1rem; }
.store-note { color: var(--muted); margin-bottom: 1.1rem; font-size: .9375rem; }
.tea-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .7rem 1rem;
  padding-block: 1rem;
  margin-bottom: 1.5rem;
  border-block: 1px solid var(--line);
}
.type-filters {
  display: inline-flex;
  gap: .25rem;
  margin: 0;
  padding: .25rem;
  border: 0;
  border-radius: .35rem;
  background: #e8ece3;
}
.type-filters label { position: relative; }
.type-filters span {
  display: grid;
  min-height: 2.5rem;
  min-width: 3.25rem;
  place-items: center;
  padding-inline: .6rem;
  border-radius: .22rem;
  color: var(--green);
  cursor: pointer;
  font-size: .9375rem;
}
.type-filters label:hover span { background: #dbe4da; }
.type-filters input:checked + span { color: white; background: var(--green); }
.extra-filters { display: flex; flex-wrap: wrap; gap: .55rem; }
.extra-filters label { display: grid; align-items: center; position: relative; }
.extra-filters label::after {
  content: "";
  position: absolute;
  right: .75rem;
  width: .45rem;
  height: .45rem;
  border-right: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
  transform: translateY(-25%) rotate(45deg);
  pointer-events: none;
}
.extra-filters select {
  appearance: none;
  min-height: 2.75rem;
  padding: .45rem 1.75rem .45rem .7rem;
  border: 1px solid #bbc4b8;
  border-radius: .25rem;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font: inherit;
  font-size: .875rem;
}
.filter-results { margin-left: auto; color: var(--muted); font-size: .875rem; }
.product-group + .product-group { margin-top: clamp(2.25rem, 4vw, 4rem); }
.product-group[hidden] + .product-group { margin-top: 0; }
.product-group h2 {
  margin-bottom: 1rem;
  font: 600 clamp(1.35rem, 2.4vw, 1.9rem)/1.4 var(--serif);
}
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.8vw, 1.6rem); }
.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: #fcfbf7;
}
.product[id] { scroll-margin-block-start: 1rem; }
.product:target { border-color: #718a76; box-shadow: 0 0 0 2px #d7e1d5; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.85rem, 2vw, 1.65rem);
}
.feature-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.product-image {
  height: clamp(9.5rem, 15vw, 15rem);
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  padding: clamp(.65rem, 1.8vw, 1.5rem);
}
.product-image-tin { background: radial-gradient(ellipse at 45% 32%, #f2f4ea, #e0e7da); }
.product-image-gift { background: radial-gradient(ellipse at 45% 32%, #f7f3e5, #ebe4d2); }
.product-image img { width: auto; height: 100%; max-height: 100%; object-fit: contain; }
.product-image-tin img { filter: drop-shadow(7px 10px 9px #233f2940); }
.product-image-gift img {
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 93%;
  box-shadow: 6px 8px 14px #38331b33;
}
.feature-card .product-image { height: auto; min-height: 12rem; grid-template-rows: 1fr; }
.feature-card .product-image img { height: auto; max-height: 10rem; }
.product-detail {
  display: grid;
  grid-template-rows: auto auto 1fr;
  flex: 1;
  gap: .35rem;
  padding: clamp(.7rem, 1.65vw, 1.25rem);
}
.product-detail h3 { font-size: clamp(1rem, 1.65vw, 1.25rem); font-weight: 600; line-height: 1.4; }
.feature-card .product-detail { grid-template-rows: auto auto 1fr auto; padding: clamp(.85rem, 2vw, 1.6rem); }
.product-spec {
  display: flex;
  flex-wrap: wrap;
  column-gap: .55rem;
  color: var(--muted);
  font-size: .875rem;
}
.product-spec span { white-space: nowrap; }
.price { color: var(--green); font-size: 1.25rem; font-variant-numeric: tabular-nums; line-height: 1.4; margin-top: .25rem; align-self: end; }
.price span { font-size: .9rem; margin-right: .14rem; }
.price-pending { color: var(--muted); font-size: .875rem; line-height: 1.75rem; }
.button-outline { justify-self: start; background: transparent; color: var(--green); }
.button-outline:hover { background: var(--green); color: #fff; }
.feature-card .button {
  min-height: 2.75rem;
  margin-top: .4rem;
  padding: .4rem .6rem;
  font-size: .875rem;
}
.empty-products { padding: 1.75rem 0; color: var(--muted); }
.empty-products button { margin-top: .75rem; }

.origin { background: var(--green); color: #f8f7ed; }
.origin-inner {
  min-height: 18rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1.75rem, 6vw, 7rem);
  padding-block: clamp(2.75rem, 5.4vw, 5.75rem);
}
.origin-list { margin-top: 1.1rem; }
.origin-list > div {
  padding: .72rem 0;
  display: grid;
  grid-template-columns: 5rem 1fr;
  border-bottom: 1px solid #63806f;
}
.origin-list dt { color: #cbd9ce; }
.brand-motto { width: min(100%, 24rem); justify-self: center; }
.footer {
  min-height: 6.3rem;
  display: flex;
  align-items: center;
  gap: .8rem 1.25rem;
  padding-block: 1.15rem;
  color: var(--muted);
  font-size: .875rem;
}
.footer .wordmark { width: 4rem; }
.footer-shop { margin-left: auto; white-space: nowrap; }

@media (max-width: 60rem) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 44rem) {
  .header-inner { min-height: 4.35rem; }
  .wordmark { width: 4.55rem; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 2.1rem 0 .3rem; }
  .hero-label { margin-bottom: .65rem; font-size: .9375rem; }
  h1 { font-size: clamp(2.2rem, 8.35vw, 3.85rem); }
  .hero-copy .button { margin-top: 1.2rem; }
  .hero-product { padding: 1.4rem 0 1.45rem; }
  .hero-stage { width: min(53%, 14rem); }
  .hero-halo { width: min(70%, 21rem); }
  .hero-product figcaption { margin-top: 1.05rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-image { height: clamp(9.5rem, 31vw, 13.5rem); }
  .origin-inner { grid-template-columns: 1fr; }
  .brand-motto { width: min(95%, 19rem); justify-self: start; }
}

@media (max-width: 35rem) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card .product-image { min-height: 9.5rem; }
  .type-filters { flex-basis: 100%; }
  .type-filters label { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
