:root {
  --ink: #1d2927;
  --ink-soft: #52605d;
  --paper: #f3f0e8;
  --mist: #e8ece6;
  --white: #fffefa;
  --line: rgba(29, 41, 39, 0.18);
  --moss: #61735b;
  --moon: #30385f;
  --jasmine: #728c58;
  --fog: #5c718a;
  --rose: #a8586c;
  --display: "Newsreader", "Iowan Old Style", "Songti TC", serif;
  --body: "DM Sans", "Noto Sans TC", system-ui, sans-serif;
  --shadow: 0 24px 70px rgba(25, 36, 33, 0.14);
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid #c27e36;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-180%);
  color: white;
  background: var(--ink);
}

.skip-link:focus {
  transform: none;
}

.announcement {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 7px 24px;
  color: #f8f4e9;
  background: var(--ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
}

.announcement__mark {
  color: #d9bd72;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  display: grid;
  min-height: var(--header-height);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid transparent;
  background: rgba(243, 240, 232, 0.9);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(29, 41, 39, 0.05);
}

.wordmark {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 11px;
}

.wordmark__seal {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 27px;
  line-height: 1;
}

.wordmark strong,
.wordmark small {
  display: block;
}

.wordmark strong {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 500;
  line-height: 0.9;
}

.wordmark small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  font-size: 13px;
  font-weight: 500;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.language-toggle,
.cart-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.language-toggle {
  padding: 10px;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 13px;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.cart-count {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--ink);
  font-size: 11px;
}

.hero {
  --hero-accent: var(--moon);
  --hero-tint: #dfe2ec;
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: min(790px, calc(100vh - 112px));
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  background:
    radial-gradient(circle at 78% 45%, color-mix(in srgb, var(--hero-tint) 82%, transparent), transparent 30%),
    linear-gradient(135deg, var(--mist), var(--paper) 62%);
  transition: background-color 420ms ease;
}

.hero::before {
  position: absolute;
  top: 13%;
  left: 3%;
  color: rgba(29, 41, 39, 0.035);
  content: "MOODVERA";
  font-family: var(--display);
  font-size: clamp(100px, 13vw, 230px);
  line-height: 0.8;
  pointer-events: none;
  writing-mode: vertical-rl;
}

.hero__copy {
  z-index: 2;
  width: min(570px, 88%);
  margin-left: clamp(24px, 8vw, 128px);
  padding: 72px 0 90px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--moss);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.site-footer h2,
.product-dialog h2,
.drawer-header h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(70px, 9.4vw, 148px);
  line-height: 0.77;
}

.hero__intro {
  max-width: 490px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.3vw, 20px);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--solid {
  color: white;
  background: var(--ink);
}

.button--solid:hover {
  background: var(--hero-accent, #31463e);
}

.button--text {
  min-height: auto;
  padding: 8px 0;
  border-bottom-color: var(--ink);
  background: transparent;
}

.button--outline {
  border-color: var(--ink);
  background: transparent;
}

.button--outline:hover {
  color: white;
  background: var(--ink);
}

.tea-clock {
  position: relative;
  z-index: 1;
  width: min(620px, 47vw);
  aspect-ratio: 1;
  justify-self: center;
}

.tea-clock::before,
.tea-clock::after {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--hero-accent) 32%, transparent);
  border-radius: 50%;
  content: "";
  inset: 4%;
}

.tea-clock::after {
  border-style: dashed;
  inset: 14%;
  opacity: 0.45;
  animation: slow-spin 32s linear infinite;
}

.tea-clock__halo {
  position: absolute;
  border-radius: 50%;
  background: color-mix(in srgb, var(--hero-tint) 64%, white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), var(--shadow);
  inset: 20%;
}

.tea-clock__time {
  position: absolute;
  z-index: 3;
  top: 5%;
  left: 50%;
  margin: 0;
  color: var(--hero-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  transform: translateX(-50%);
}

.tea-clock__product {
  position: absolute;
  z-index: 2;
  right: 24%;
  bottom: 16%;
  width: 52%;
  height: 68%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 30px 50px color-mix(in srgb, var(--hero-accent) 25%, transparent);
  transform: rotate(2deg);
  transition: opacity 180ms ease, transform 380ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.tea-clock__product.is-changing {
  opacity: 0;
  transform: translateY(18px) rotate(-2deg);
}

.tea-clock__botanical {
  position: absolute;
  z-index: 3;
  right: 6%;
  bottom: 9%;
  width: 40%;
  filter: drop-shadow(0 16px 18px rgba(29, 41, 39, 0.14));
  transform: rotate(13deg);
  transition: opacity 180ms ease, transform 380ms ease;
}

.tea-clock__botanical.is-changing {
  opacity: 0;
  transform: rotate(20deg) scale(0.92);
}

.tea-clock__label {
  position: absolute;
  z-index: 4;
  bottom: 10%;
  left: 1%;
  display: grid;
  min-width: 190px;
  padding: 18px 22px;
  border-left: 3px solid var(--hero-accent);
  background: rgba(255, 254, 250, 0.9);
  box-shadow: 0 15px 40px rgba(29, 41, 39, 0.08);
  backdrop-filter: blur(10px);
}

.tea-clock__label > span {
  color: var(--hero-accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tea-clock__label strong {
  margin-top: 3px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
}

.tea-clock__label small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 11px;
}

.moment-picker {
  position: relative;
  z-index: 3;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.46);
}

.moment-button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 20px clamp(14px, 2.4vw, 38px);
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background-color 180ms ease;
}

.moment-button:last-child {
  border-right: 0;
}

.moment-button[aria-selected="true"] {
  color: white;
  background: var(--button-accent);
}

.moment-button__time {
  font-family: var(--display);
  font-size: 26px;
}

.moment-button__copy {
  display: grid;
}

.moment-button__copy strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
}

.moment-button__copy small {
  color: currentColor;
  font-size: 10px;
  opacity: 0.72;
}

.moment-button__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--button-accent);
}

.moment-button[aria-selected="true"] .moment-button__dot {
  background: white;
}

.provenance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 22px clamp(24px, 5vw, 80px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.provenance p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
}

.provenance p:last-child {
  border-right: 0;
}

.provenance p span:first-child {
  color: var(--moss);
  font-size: 18px;
}

.section {
  padding: clamp(80px, 10vw, 150px) clamp(24px, 6vw, 96px);
}

.section-heading {
  display: grid;
  max-width: 1340px;
  grid-template-columns: 1.1fr 0.7fr;
  align-items: end;
  gap: 60px;
  margin: 0 auto 52px;
}

.section-heading h2,
.story-copy h2,
.brew-copy h2 {
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.98;
}

.section-heading > p {
  max-width: 500px;
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: 15px;
}

.shop-section {
  background: var(--paper);
}

.product-grid {
  display: grid;
  max-width: 1340px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto;
}

.product-card {
  --card-accent: var(--moon);
  position: relative;
  display: flex;
  min-height: 590px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
  z-index: 2;
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.product-card__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.91;
  background: var(--card-tint);
  cursor: pointer;
}

.product-card__visual::after {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--card-accent) 30%, transparent);
  border-radius: 50%;
  content: "";
  inset: 12%;
}

.product-card__visual > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-card__visual > img:first-child {
  transform: scale(1.035);
}

.product-card__botanical {
  position: absolute;
  z-index: 2;
  right: -4%;
  bottom: -2%;
  width: 46%;
  transform: rotate(11deg);
  transition: transform 360ms ease;
}

.product-card:hover .product-card__botanical {
  transform: translate(-5px, -8px) rotate(7deg);
}

.product-card__badge {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  padding: 6px 9px;
  color: white;
  background: var(--card-accent);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.product-card__mood {
  margin: 0 0 4px;
  color: var(--card-accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.product-card__description {
  min-height: 42px;
  margin: 11px 0 20px;
  color: var(--ink-soft);
  font-size: 12px;
}

.product-card__buy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: auto;
}

.size-select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.product-card__add {
  min-width: 93px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  color: white;
  background: var(--ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
}

.product-card__add:hover {
  background: var(--card-accent);
}

.product-card__details {
  align-self: flex-start;
  margin-top: 14px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.75fr);
  align-items: stretch;
  gap: clamp(46px, 7vw, 120px);
  color: #f5f1e8;
  background: #20352f;
}

.story-visual {
  position: relative;
  min-height: 570px;
  overflow: hidden;
}

.story-visual::after {
  position: absolute;
  background: linear-gradient(to top, rgba(18, 35, 30, 0.42), transparent 40%);
  content: "";
  inset: 0;
}

.story-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-label {
  position: absolute;
  z-index: 2;
  display: grid;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(32, 53, 47, 0.76);
  backdrop-filter: blur(8px);
}

.route-label span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.route-label strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
}

.route-label--start {
  top: 10%;
  left: 8%;
}

.route-label--end {
  right: 8%;
  bottom: 10%;
}

.story-copy {
  align-self: center;
}

.story-copy .eyebrow {
  color: #bdca9e;
}

.story-copy p:not(.eyebrow) {
  max-width: 550px;
  color: rgba(245, 241, 232, 0.74);
}

.story-copy h2 + p {
  margin-top: 34px;
}

.text-link {
  display: inline-flex;
  gap: 38px;
  margin-top: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 600;
}

.brew-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(42px, 8vw, 130px);
  background: #dfe8da;
}

.brew-photo {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.brew-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brew-photo__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 12px 18px;
  color: white;
  background: var(--ink);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brew-copy {
  align-self: center;
}

.brew-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--ink-soft);
}

.brew-guides {
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.brew-guides article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.brew-guides article > span {
  color: var(--moss);
  font-family: var(--display);
  font-size: 18px;
}

.brew-guides h3,
.brew-guides p {
  margin: 0;
}

.brew-guides h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
}

.brew-guides p {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 12px;
}

.faq-section {
  background: var(--white);
}

.section-heading--faq {
  align-items: center;
}

.section-heading--faq > .button {
  justify-self: end;
}

.faq-list {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 26px 50px 26px 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(22px, 2.3vw, 32px);
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  content: "+";
  font-family: var(--body);
  font-size: 22px;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 720px;
  margin: -4px 0 28px;
  color: var(--ink-soft);
}

.site-footer {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  padding: 70px clamp(24px, 6vw, 96px) 26px;
  color: #eee9dd;
  background: #17221f;
}

.wordmark--footer .wordmark__seal {
  border-color: currentColor;
}

.site-footer > div:first-child > p {
  max-width: 290px;
  color: rgba(238, 233, 221, 0.58);
  font-family: var(--display);
  font-size: 20px;
}

.site-footer h2 {
  margin-bottom: 15px;
  font-family: var(--body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
}

.site-footer button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.site-footer a:hover,
.site-footer button:hover {
  color: #d7c78c;
}

.site-footer p {
  margin: 0;
}

.site-footer__legal {
  grid-column: 1 / -1;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(238, 233, 221, 0.48);
  font-size: 10px;
}

.drawer-backdrop {
  position: fixed;
  z-index: 70;
  background: rgba(16, 26, 23, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
  inset: 0;
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  display: flex;
  width: min(100%, 480px);
  height: 100dvh;
  flex-direction: column;
  padding: 28px;
  background: var(--white);
  box-shadow: -20px 0 70px rgba(14, 24, 21, 0.16);
  transform: translateX(105%);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cart-drawer.is-open {
  transform: none;
}

.drawer-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.drawer-header .eyebrow {
  margin-bottom: 4px;
}

.drawer-header h2 {
  font-size: 42px;
  line-height: 1;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.shipping-progress {
  padding: 18px 0 16px;
}

.shipping-progress p {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 11px;
}

.shipping-progress > div {
  overflow: hidden;
  height: 4px;
  background: #dfe4df;
}

.shipping-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--moss);
  transition: width 240ms ease;
}

.cart-items {
  overflow-y: auto;
  flex: 1;
  margin-right: -12px;
  padding-right: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 86px;
  height: 106px;
  object-fit: cover;
}

.cart-item h3,
.cart-item p {
  margin: 0;
}

.cart-item h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
}

.cart-item p {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 11px;
}

.cart-item__quantity {
  display: inline-grid;
  grid-template-columns: repeat(3, 30px);
  margin-top: 13px;
  border: 1px solid var(--line);
}

.cart-item__quantity button,
.cart-item__quantity span {
  display: grid;
  height: 30px;
  place-items: center;
  border: 0;
  background: transparent;
  font-size: 11px;
}

.cart-item__quantity button {
  cursor: pointer;
}

.cart-item__price {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.cart-empty {
  display: grid;
  flex: 1;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.cart-empty p {
  font-family: var(--display);
  font-size: 26px;
}

.cart-footer {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.cart-footer > p {
  margin: 7px 0 17px;
  color: var(--ink-soft);
  font-size: 10px;
}

.button--checkout {
  width: 100%;
  justify-content: space-between;
}

.button--checkout[disabled] {
  cursor: wait;
  opacity: 0.58;
}

.cart-footer .secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 0;
}

.product-dialog {
  width: min(1040px, calc(100% - 32px));
  max-width: none;
  max-height: min(850px, calc(100dvh - 32px));
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-dialog::backdrop {
  background: rgba(17, 27, 24, 0.68);
  backdrop-filter: blur(4px);
}

.product-dialog__close {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  background: rgba(255, 254, 250, 0.86);
}

.dialog-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.dialog-visual {
  min-height: 680px;
  background: var(--dialog-tint);
}

.dialog-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-copy {
  overflow-y: auto;
  max-height: min(850px, calc(100dvh - 32px));
  padding: clamp(42px, 6vw, 76px);
}

.dialog-copy h2 {
  color: var(--dialog-accent);
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.9;
}

.dialog-copy__lead {
  margin: 24px 0;
  color: var(--ink-soft);
}

.dialog-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dialog-facts div {
  padding: 15px 12px;
  border-right: 1px solid var(--line);
}

.dialog-facts div:first-child {
  padding-left: 0;
}

.dialog-facts div:last-child {
  border-right: 0;
}

.dialog-facts span,
.dialog-section h3 {
  display: block;
  margin-bottom: 4px;
  color: var(--dialog-accent);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dialog-facts strong {
  font-size: 11px;
}

.dialog-section {
  margin-top: 22px;
}

.dialog-section p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.dialog-warning {
  margin-top: 20px;
  padding: 13px 15px;
  border-left: 3px solid #a4604c;
  background: #f4e7df;
  font-size: 11px;
}

.dialog-buy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1fr;
  gap: 8px;
  margin-top: 28px;
}

.toast {
  position: fixed;
  z-index: 120;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100% - 48px));
  padding: 14px 18px;
  color: white;
  background: var(--ink);
  box-shadow: var(--shadow);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

.policy-layout {
  display: grid;
  max-width: 1320px;
  grid-template-columns: minmax(270px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(60px, 10vw, 150px);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 130px) clamp(24px, 6vw, 96px);
}

.policy-index {
  position: sticky;
  top: calc(var(--header-height) + 36px);
  height: max-content;
}

.policy-index h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(54px, 6vw, 84px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.policy-index nav {
  display: grid;
  gap: 8px;
  margin-top: 40px;
  font-size: 13px;
}

.policy-index nav a {
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}

.policy-index > p:last-child {
  margin-top: 32px;
  color: var(--ink-soft);
  font-size: 10px;
}

.policy-content section {
  padding: 0 0 70px;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.policy-content section + section {
  padding-top: 70px;
  border-top: 1px solid var(--line);
}

.policy-content h2 {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.policy-content h3 {
  margin: 32px 0 8px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
}

.policy-content p,
.policy-content li {
  max-width: 760px;
  color: var(--ink-soft);
}

.policy-content a {
  border-bottom: 1px solid currentColor;
  color: var(--ink);
}

.policy-footer {
  grid-template-columns: 2fr 1fr;
}

@media (max-width: 1050px) {
  .hero {
    min-height: auto;
    grid-template-columns: 0.85fr 1.15fr;
  }

  .hero__copy {
    margin-left: 48px;
  }

  .hero h1 {
    font-size: clamp(65px, 10vw, 100px);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    min-height: 620px;
  }

  .story-section,
  .brew-section {
    gap: 50px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

  .announcement {
    gap: 8px;
    min-height: 31px;
    padding: 6px 12px;
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .announcement [data-i18n="processing"],
  .announcement__mark {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: var(--header-height);
    padding: 8px 16px;
  }

  .wordmark__seal {
    width: 36px;
    height: 36px;
    font-size: 23px;
  }

  .wordmark strong {
    font-size: 20px;
  }

  .wordmark small {
    font-size: 7px;
  }

  .desktop-nav {
    display: none;
  }

  .language-toggle {
    padding: 8px 5px;
    font-size: 10px;
  }

  .cart-button {
    padding: 6px;
    border: 0;
  }

  .cart-button > span:first-child {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    background:
      radial-gradient(circle at 52% 53%, color-mix(in srgb, var(--hero-tint) 85%, transparent), transparent 31%),
      linear-gradient(150deg, var(--mist), var(--paper) 64%);
  }

  .hero::before {
    display: none;
  }

  .hero__copy {
    width: auto;
    margin: 0;
    padding: 48px 22px 10px;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(66px, 22vw, 94px);
    line-height: 0.81;
  }

  .hero__intro {
    max-width: 460px;
    margin: 23px auto 0;
    font-size: 14px;
  }

  .hero__actions {
    justify-content: center;
    margin-top: 24px;
  }

  .tea-clock {
    width: min(96vw, 520px);
    margin: 0 auto -6px;
  }

  .tea-clock__product {
    right: 25%;
    bottom: 17%;
  }

  .tea-clock__label {
    bottom: 9%;
    left: 3%;
    min-width: 162px;
    padding: 13px 15px;
  }

  .tea-clock__label strong {
    font-size: 21px;
  }

  .moment-picker {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .moment-button {
    min-width: 68vw;
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 15px 18px;
  }

  .provenance {
    grid-template-columns: 1fr;
    padding: 0 22px;
  }

  .provenance p {
    justify-content: flex-start;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .provenance p:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 76px 20px;
  }

  .section-heading {
    display: block;
    margin-bottom: 34px;
  }

  .section-heading h2,
  .story-copy h2,
  .brew-copy h2 {
    font-size: clamp(47px, 14vw, 66px);
  }

  .section-heading > p {
    margin-top: 20px;
  }

  .product-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    margin-right: -20px;
    padding-right: 20px;
    scroll-snap-type: x mandatory;
  }

  .product-card {
    width: 81vw;
    min-height: 580px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .story-section,
  .brew-section {
    grid-template-columns: 1fr;
  }

  .story-section {
    gap: 46px;
  }

  .story-visual,
  .brew-photo {
    min-height: 440px;
  }

  .brew-section {
    gap: 48px;
  }

  .section-heading--faq > .button {
    margin-top: 22px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
    padding: 55px 22px 24px;
  }

  .site-footer > div:first-child {
    grid-column: 1 / -1;
  }

  .site-footer > div:last-of-type {
    grid-column: 1 / -1;
  }

  .cart-drawer {
    padding: 22px 18px;
  }

  .product-dialog {
    width: 100%;
    max-height: 100dvh;
    margin: 0;
  }

  .dialog-layout {
    display: block;
  }

  .dialog-visual {
    min-height: auto;
    aspect-ratio: 1.05;
  }

  .dialog-copy {
    max-height: none;
    padding: 34px 22px 42px;
  }

  .dialog-copy h2 {
    font-size: 57px;
  }

  .dialog-facts {
    grid-template-columns: 1fr;
  }

  .dialog-facts div,
  .dialog-facts div:first-child {
    padding: 10px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dialog-facts div:last-child {
    border-bottom: 0;
  }

  .policy-page .site-header {
    grid-template-columns: 1fr auto;
  }

  .policy-page .header-actions .cart-button {
    display: inline-flex;
    padding: 8px 10px;
    border: 1px solid var(--ink);
    font-size: 9px;
  }

  .policy-layout {
    display: block;
    padding: 58px 20px 80px;
  }

  .policy-index {
    position: static;
    margin-bottom: 70px;
  }

  .policy-index nav {
    grid-template-columns: 1fr 1fr;
  }

  .policy-content section + section {
    padding-top: 55px;
  }

  .policy-footer {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
