:root {
  --paper: #f7f2e9;
  --paper-2: #fffaf1;
  --forest: #064236;
  --forest-2: #022c26;
  --gold: #b69158;
  --stone: #d8ccb8;
  --ink: #131816;
  --muted: #65706a;
  --line: rgba(6, 66, 54, .18);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", "Noto Serif SC", serif;
  --sans: "Avenir Next", "Helvetica Neue", "Microsoft YaHei", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 118px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-active { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 100; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 102px;
  display: grid; grid-template-columns: 230px 1fr 230px; align-items: center;
  padding: 0 3.4vw; border-bottom: 1px solid var(--line);
  background: rgba(247,242,233,.88); backdrop-filter: blur(18px);
  transition: height .45s var(--ease), background .3s ease;
}
.site-header.compact { height: 76px; background: rgba(247,242,233,.97); }
.logo-wordmark { display:inline-flex; align-items:flex-start; color:var(--forest); font:800 16px/1 var(--sans); letter-spacing:.16em; white-space:nowrap; }
.logo-wordmark sup { margin-left:2px; font-size:7px; line-height:1; letter-spacing:0; }
.brand .logo-wordmark { font-size:16px; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(32px, 4vw, 76px); }
.desktop-nav a { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.header-tools { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.header-tools select { border: 0; background: transparent; color: var(--forest); font-size: 12px; font-weight: 700; outline: none; }
.icon-link { position:relative; width:25px; height:25px; padding:0; border:0; background:transparent; }
.icon-link svg { fill: none; stroke: var(--forest); stroke-width: 1.45; }
.cart-count { position:absolute; right:-9px; top:-9px; min-width:18px; height:18px; padding:0 5px; display:grid; place-items:center; border-radius:20px; color:white; background:var(--forest); font-size:9px; font-weight:800; }
.cart-count[hidden] { display:none; }
.menu-toggle { display: none; width: 32px; height: 32px; padding: 6px 2px; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 1px; margin: 7px 0; background: var(--forest); }
.mobile-nav { display: none; }
.hero { padding: 102px 4.2vw 64px; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-stage { position: relative; max-width: 1440px; margin: 0 auto; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); background: #eee8dd; }
.hero-stage[data-link-type="internal"], .hero-stage[data-link-type="external"] { cursor: pointer; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: opacity .55s var(--ease), transform 1.1s var(--ease); }
.hero-image.pending { visibility: hidden; opacity: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2; display: block; text-align: center;
  pointer-events: none;
}
.hero-overlay.hidden { display: none; }
.hero-overlay .section-index { display: none; }
.hero-overlay h1 {
  position: absolute; left: var(--hero-title-x, 50%); top: var(--hero-title-y, 12%);
  width: min(980px, 86%); margin: 0; color: var(--hero-title-color, var(--forest)); font-family: var(--hero-title-font, var(--serif));
  font-size: clamp(34px, 6.2vw, var(--hero-title-size, 112px)); font-weight: 400; line-height: .92; letter-spacing: -.055em;
  transform: translate(-50%, 0);
  text-shadow: 0 1px 24px rgba(255,250,241,.68);
}
.hero-overlay p:not(.section-index) {
  position: absolute; left: var(--hero-subtitle-x, 50%); top: var(--hero-subtitle-y, 34%);
  width: min(720px, 78%); margin: 0; color: var(--hero-subtitle-color, #1f2a27); font-family: var(--hero-subtitle-font, var(--sans));
  font-size: clamp(13px, 1.35vw, var(--hero-subtitle-size, 23px)); line-height: 1.45;
  transform: translate(-50%, 0);
  text-shadow: 0 1px 18px rgba(255,250,241,.9);
}
.hero-panel {
  position: absolute; right: 0; bottom: 0; z-index: 3; min-width: min(330px, 38vw); padding: 22px 30px;
  display: none; gap: 18px; color: #fffaf1; background: var(--forest);
}
.hero-panel span { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1.35; }
.hero-panel strong { font-size: 13px; letter-spacing: .16em; }
.hero-dots { position: absolute; left: 30px; bottom: 26px; display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 3px; padding: 0; border: 0; background: rgba(255,250,241,.55); }
.hero-dots button.active { background: var(--gold); }
.section { padding: 104px 4.2vw; }
.section-index { margin: 0 0 22px; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-heading { display: block; max-width: 1180px; }
.section-heading h1, .science h1, .story h1, .journal h1 {
  margin: 0; color: var(--forest); font-family: var(--serif); font-size: clamp(42px, 3.65vw, 66px);
  font-weight: 400; line-height: 1.04; letter-spacing: -.035em;
}
.section-heading h1 { max-width: 900px; }
.section-heading p:not(.section-index) { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.gateway { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.gateway-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 8vw; align-items: end; }
.gateway-head h1 {
  margin: 0; max-width: 760px; color: var(--forest); font-family: var(--serif);
  font-size: clamp(42px, 3.45vw, 62px); font-weight: 400; line-height: 1.05; letter-spacing: -.035em;
}
.gateway-head > p { margin: 0 0 10px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.gateway-grid { margin-top: 62px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.gateway-card {
  min-height: 270px; display: flex; flex-direction: column; justify-content: space-between; padding: 30px;
  border: 1px solid var(--line); background: #f4eee3; color: var(--ink);
  transition: transform .45s var(--ease), background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.gateway-card span, .gateway-card em { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-style: normal; }
.gateway-card b { margin-top: auto; color: inherit; font-size: 30px; line-height: 1.1; }
.gateway-card p { margin: 18px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.gateway-card:hover, .gateway-card.active { transform: translateY(-8px); border-color: rgba(6,66,54,.4); background: var(--forest); color: #fffaf1; }
.gateway-card:hover p, .gateway-card.active p { color: rgba(255,250,241,.74); }
html:lang(zh) .section-heading h1,
html:lang(zh) .science h1,
html:lang(zh) .story h1,
html:lang(zh) .journal h1 {
  font-size: clamp(42px, 3.4vw, 60px);
  line-height: 1.14;
  letter-spacing: -.025em;
}
.systems { color: #f8f4ec; background: var(--forest); }
.systems .section-heading h1 { color: #fffaf1; max-width: 900px; }
.system-grid {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  border: 0;
}
.system-card {
  min-height: 280px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  color: #eef3ef;
  background: #0d4b41;
  box-shadow: 0 16px 34px rgba(2,25,22,.12);
  text-align: left;
  transform: none;
  transition: background .24s var(--ease), border-color .24s var(--ease), color .24s var(--ease), box-shadow .24s var(--ease), transform .24s var(--ease);
}
.system-card span { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.system-card b { font-size: 26px; font-weight: 600; line-height: 1.2; }
.system-card em { color: rgba(235,243,239,.76); font-style: normal; line-height: 1.62; }
.system-card:hover:not(.active) {
  background: #1b6658;
  border-color: rgba(196,151,83,.78);
  box-shadow: 0 20px 42px rgba(2,25,22,.2);
  transform: translateY(-3px);
}
.system-card.active {
  color: var(--forest);
  background: #dbe8d0;
  border-color: #dbe8d0;
  box-shadow: 0 18px 38px rgba(2,25,22,.16);
  transform: none;
}
.system-card.active em { color: rgba(6,66,54,.72); }
.system-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.system-card.is-selecting {
  animation: system-card-select .42s cubic-bezier(.22,.9,.28,1);
  transform-origin: center;
}
@keyframes system-card-select {
  0% { transform: scale(1); }
  28% { transform: scale(.985); }
  64% { transform: scale(1.015); }
  100% { transform: scale(1); }
}
.products { background: var(--paper-2); }
.filters { margin: 46px 0 30px; display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.filters button {
  flex: 0 0 auto; padding: 0 30px 18px 0; margin-right: 24px; border: 0; border-bottom: 2px solid transparent;
  background: transparent; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.filters button.active { color: var(--forest); border-color: var(--gold); }
.product-catalog-status {
  margin: 18px 0 30px; padding: 28px 32px; display: grid; justify-items: center; gap: 14px;
  border: 1px solid var(--line); background: rgba(255,255,255,.5); color: var(--forest); text-align: center;
}
.product-catalog-status[hidden] { display: none; }
.product-catalog-status p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.product-catalog-status .text-button { width: auto; margin: 0; color: var(--forest); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(310px, 25vw); gap: 24px; overflow-x: auto; padding: 12px 0 36px; scroll-snap-type: x mandatory; }
.product-card { position:relative; min-height: 590px; display: flex; flex-direction: column; background: #f8f4eb; border: 1px solid var(--line); scroll-snap-align: start; overflow: hidden; transition: transform .5s var(--ease), background .3s ease; }
.product-card:hover { transform: translateY(-10px); background: white; }
.product-activity-badge {
  position:absolute; z-index:3; top:16px; left:13px; max-width:calc(100% - 26px); padding:8px 12px;
  background:var(--badge-bg, #b5332e); color:var(--badge-color, #fff); font-size:10px; font-weight:800;
  line-height:1.25; letter-spacing:.11em; text-align:left; text-transform:uppercase; overflow-wrap:anywhere;
  box-shadow:0 6px 16px rgba(32,22,14,.11); transform:rotate(-3.5deg); transform-origin:left top;
}
.first-purchase-badge{display:grid;gap:3px;max-width:min(270px,calc(100% - 26px));padding:11px 14px;background:#7b252b;color:#fffaf1;line-height:1.25;text-align:left;overflow-wrap:anywhere;box-shadow:0 8px 20px rgba(55,24,24,.14)}
.product-card>.first-purchase-badge{position:absolute;z-index:3;top:14px;left:13px}
.first-purchase-badge__headline{color:#f4d8ab;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.first-purchase-badge__price{font-family:var(--serif);font-size:15px;font-weight:600;letter-spacing:.01em}
.first-purchase-badge__rate{font-size:11px;font-weight:750;letter-spacing:.06em}
.product-card-link { display: block; color: inherit; text-decoration: none; }
.product-media { position: relative; height: 382px; display: grid; place-items: center; padding: 36px; }
.product-media::after { content:""; position:absolute; left:18%; right:18%; bottom:28px; height:18px; border-radius:50%; background:rgba(44,34,22,.13); filter: blur(11px); }
.product-media img { position: relative; z-index:1; width:100%; height:100%; object-fit: contain; filter: drop-shadow(0 22px 18px rgba(55,36,21,.15)); }
.product-info { padding: 28px; border-top: 1px solid var(--line); }
.product-meta { display:flex; justify-content:space-between; color:var(--gold); font-size:10px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.product-info h3 { margin: 22px 0 14px; color: var(--forest); font-family: var(--serif); font-size: 31px; font-weight: 400; line-height: 1.04; }
.product-info p { margin:0; color:var(--muted); font-size:13px; line-height:1.65; }
.product-actions { margin-top:auto; padding:0 28px 28px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.product-price-display { display:grid; justify-items:start; gap:3px; }
.product-price-original { color:var(--muted); font-size:12px; font-weight:500; text-decoration-thickness:1px; text-decoration-color:#a24a3f; }
.product-price-sale { color:var(--forest); font-size:18px; line-height:1.1; }
.product-price-saving { color:#a24a3f; font-size:9px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.dialog-price-display { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px 12px; margin-top:20px; }
.dialog-price-display .product-price-saving { flex-basis:100%; }
.add-button, .checkout-button { min-height:48px; padding:0 22px; border:1px solid var(--forest); color:#fffaf1; background:var(--forest); font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; transition:background .25s,color .25s; }
.add-button:hover, .checkout-button:hover { color:var(--forest); background:transparent; }
.science { min-height: 860px; display: grid; grid-template-columns: 1fr 1fr; padding: 0; color: #f9f5ec; background: var(--forest-2); }
.science-copy { padding: 128px 6vw 118px 4.2vw; }
.science h1 { color: #fffaf1; max-width: 760px; }
.science-copy > p:not(.section-index) { max-width: 540px; margin: 38px 0 54px; color: #c6d4cf; font-size: 18px; line-height: 1.75; }
.science dl { margin: 0; border-top: 1px solid rgba(255,255,255,.22); }
.science dl div { display:grid; grid-template-columns: 70px 1fr; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.science dt { color: var(--gold); font-size: 11px; font-weight: 800; }
.science dd { margin:0; letter-spacing:.06em; }
.science-media { position: relative; display:grid; place-items:center; background: #d8e5ca; overflow:hidden; }
.science-media::before { content:""; position:absolute; inset: 8%; border:1px solid rgba(6,66,54,.24); border-radius:50%; }
.science-media::after { content:""; position:absolute; left:17%; right:12%; bottom:13%; height:24%; background: linear-gradient(135deg,#e3d9c8,#bfb39f); clip-path: polygon(5% 8%, 96% 0, 100% 76%, 12% 100%, 0 64%); box-shadow:0 34px 42px rgba(39,32,21,.18); }
.science-media img { position:relative; z-index:2; width:min(44%,420px); filter: drop-shadow(0 34px 28px rgba(38,28,18,.22)); }
.story { display:grid; grid-template-columns: 1.15fr .85fr; padding:0; background: var(--paper); }
.story-media {
  min-height: 720px;
  display: grid;
  place-items: center;
  padding: clamp(28px, 4vw, 72px);
  background: linear-gradient(135deg, #eef0e8 0%, #e3ded3 100%);
  overflow: hidden;
}
.story-hero-image {
  width: min(94%, 1120px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(0,61,48,.18);
  box-shadow: 0 36px 82px rgba(38, 31, 20, .18);
}
.story-copy { display:flex; flex-direction:column; justify-content:center; padding:100px 5vw; }
.story h1 { font-size: clamp(42px, 3.55vw, 64px); }
.story-copy p:not(.section-index) { max-width:520px; color:var(--muted); font-size:17px; line-height:1.75; }
.service-gateway { background: var(--paper); border-top: 1px solid var(--line); padding-top: 86px; padding-bottom: 88px; }
.service-gateway .section-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .55fr);
  gap: 8vw;
  align-items: end;
}
.service-gateway .section-heading h1 {
  max-width: 680px;
  font-size: clamp(40px, 3.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.service-gateway .section-heading p:not(.section-index) { margin: 0; max-width: 520px; }
.service-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card {
  min-height: 220px; padding: 30px 32px; display: flex; flex-direction: column; justify-content: space-between;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255,250,241,.34); transition: background .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
}
.service-card:hover { background: #fffaf1; border-color: rgba(6,66,54,.32); transform: translateY(-6px); }
.service-card span { color: var(--gold); font-size: 12px; font-weight: 800; }
.service-card b { color: var(--forest); font-size: 23px; }
.service-card p { margin: 32px 0 0; color: var(--muted); line-height: 1.7; max-width: 340px; }
.journal { display:grid; grid-template-columns:minmax(0,.85fr) minmax(360px,1fr); gap:9vw; padding-top:96px; padding-bottom:96px; background: #ba9861; color: var(--forest); }
.journal h1 { max-width:680px; font-size:clamp(42px,3.55vw,64px); }
.journal-form { align-self:center; }
.journal-form p { margin:0 0 34px; }
.journal-form label { display:grid; grid-template-columns:1fr 48px; border-bottom:1px solid var(--forest); }
.journal-form input { min-height:56px; border:0; background:transparent; outline:none; }
.journal-form button { border:0; background:transparent; font-size:22px; }
footer { display:grid; grid-template-columns: 360px 1fr; gap:80px; padding:78px 4.2vw 36px; color:#d8e0dc; background:#101612; }
footer .logo-wordmark { margin-bottom:24px; color:#f7f2e9; font-size:17px; }
footer p { color:#aebbb5; line-height:1.7; }
footer nav { display:flex; justify-content:flex-end; align-items:center; gap:34px; color:#d8e0dc; font-size:12px; letter-spacing:.12em; text-transform:uppercase; }
.footer-copyright {
  grid-column: 1 / -1;
  margin: 24px 0 0;
  padding-top: 24px;
  max-width: none;
  border-top: 1px solid rgba(216, 224, 220, .16);
  color: #82918a;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .08em;
}
.product-dialog { width:min(1040px,92vw); padding:0; border:0; background:var(--paper-2); color:var(--forest); box-shadow:0 40px 120px rgba(0,0,0,.35); }
.product-dialog::backdrop { background:rgba(2,44,38,.72); backdrop-filter:blur(10px); }
.dialog-close { position:absolute; top:18px; right:22px; z-index:3; width:40px; height:40px; border:1px solid var(--line); border-radius:50%; background:var(--paper); font-size:24px; }
.dialog-layout { display:grid; grid-template-columns:1fr 1fr; min-height:610px; }
.dialog-media { display:grid; place-items:center; padding:60px; background:white; }
.dialog-media img { width:100%; height:480px; object-fit:contain; }
.dialog-copy { display:flex; flex-direction:column; justify-content:center; padding:70px; }
.dialog-copy h2 { margin:18px 0 20px; font-family:var(--serif); font-size:52px; font-weight:400; line-height:1; }
.dialog-copy p { color:var(--muted); line-height:1.75; }
.dialog-copy strong { margin-top:20px; color:var(--gold); font-size:22px; }
.dialog-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.external-button { min-height:48px; padding:0 20px; display:inline-flex; align-items:center; border:1px solid var(--forest); font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }

.cart-backdrop { position:fixed; inset:0; z-index:79; background:rgba(2,44,38,.48); backdrop-filter:blur(4px); }
.cart-drawer { position:fixed; inset:0 0 0 auto; z-index:80; width:min(480px,100vw); display:flex; flex-direction:column; color:var(--ink); background:var(--paper-2); box-shadow:-28px 0 90px rgba(2,44,38,.25); transform:translateX(102%); transition:transform .55s var(--ease); }
.cart-drawer.open { transform:none; }
.cart-head { min-height:138px; padding:34px 36px 26px; display:flex; align-items:flex-start; justify-content:space-between; border-bottom:1px solid var(--line); }
.cart-head .section-index { margin-bottom:10px; }
.cart-head h2 { margin:0; color:var(--forest); font-family:var(--serif); font-size:42px; font-weight:400; }
.drawer-close { width:40px; height:40px; border:1px solid var(--line); border-radius:50%; background:transparent; font-size:24px; }
.cart-lines { flex:1; overflow:auto; padding:0 36px; }
.cart-empty { padding:80px 0; text-align:center; color:var(--muted); line-height:1.7; }
.cart-line { display:grid; grid-template-columns:88px 1fr auto; gap:18px; padding:24px 0; border-bottom:1px solid var(--line); }
.cart-line img { width:88px; height:108px; object-fit:contain; background:white; }
.cart-line h3 { margin:3px 0 8px; color:var(--forest); font-family:var(--serif); font-size:20px; font-weight:400; line-height:1.05; }
.cart-line p { margin:0; color:var(--muted); font-size:12px; }
.cart-unit-price { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:11px; }
.cart-product-price { display:flex; align-items:baseline; gap:6px; }
.cart-product-price .product-price-original { font-size:10px; }
.cart-product-price .product-price-sale { font-size:12px; }
.cart-product-price .product-price-saving { display:none; }
.cart-line-price { display:grid; justify-items:end; align-content:start; gap:3px; color:var(--forest); font-size:13px; }
.cart-line-price s { color:var(--muted); font-size:10px; text-decoration-color:#a24a3f; }
.quantity { display:flex; align-items:center; gap:10px; margin-top:18px; }
.quantity button { width:28px; height:28px; border:1px solid var(--line); background:transparent; }
.quantity .remove-line { width:auto; margin-left:8px; border:0; color:var(--muted); font-size:11px; text-decoration:underline; }
.points-line-control{display:grid;gap:6px;margin-top:14px;padding:12px;border:1px solid var(--line);background:rgba(255,255,255,.48)}
.points-line-control label{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--forest);font-size:11px;font-weight:750}
.points-line-control input{width:86px;min-height:34px;padding:6px 8px;border:1px solid var(--line);background:#fff;color:var(--forest);font:inherit;text-align:right}
.points-line-control small{color:var(--muted);font-size:10px;line-height:1.45}
.points-line-control .points-line-note{margin:0;color:var(--muted);font-size:10px;line-height:1.45}
.cart-summary { padding:26px 36px 34px; border-top:1px solid var(--line); background:var(--paper); }
.cart-summary > div { display:flex; justify-content:space-between; color:var(--forest); font-size:18px; }
.cart-summary p { margin:12px 0 22px; color:var(--muted); font-size:12px; }
.cart-summary .checkout-button { width:100%; }
.cart-preview-error { margin:14px 0; color:#9e3228; font-size:12px; line-height:1.5; }
.text-button { width:100%; margin-top:14px; border:0; background:transparent; color:var(--muted); font-size:11px; text-decoration:underline; }
body.cart-open { overflow:hidden; }

.checkout-dialog { width:min(1120px,94vw); max-height:92vh; padding:0; border:0; color:var(--ink); background:var(--paper-2); box-shadow:0 40px 120px rgba(0,0,0,.35); }
.checkout-dialog::backdrop { background:rgba(2,44,38,.72); backdrop-filter:blur(10px); }
.checkout-shell { display:grid; grid-template-columns:minmax(0,1fr) 390px; min-height:680px; }
.checkout-main { padding:64px 6vw 54px; }
.checkout-main .section-index { margin-bottom:16px; }
.checkout-main h2, .order-success h2 { max-width:520px; margin:0 0 14px; color:var(--forest); font-family:var(--serif); font-size:clamp(34px,3vw,48px); font-weight:400; line-height:1.04; letter-spacing:-.025em; }
.checkout-main > p { margin:0 0 34px; color:var(--muted); line-height:1.7; }
.checkout-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.checkout-field { display:grid; gap:7px; }
.checkout-field.full { grid-column:1/-1; }
.checkout-field label { color:var(--forest); font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.checkout-field input, .checkout-field textarea, .checkout-field select { width:100%; min-height:48px; padding:12px 14px; border:1px solid var(--line); border-radius:0; background:white; outline:none; }
.checkout-field input:focus, .checkout-field textarea:focus { border-color:var(--forest); box-shadow:0 0 0 2px rgba(6,66,54,.08); }
.checkout-submit { margin-top:26px; width:100%; }
.membership-notice { display:grid; gap:14px; margin-top:24px; padding:20px; border:1px solid rgba(181,135,73,.45); background:#fbf7ef; color:var(--forest); font-size:13px; line-height:1.55; }
.membership-notice > strong { font-family:var(--serif); font-size:20px; font-weight:500; }
.membership-notice label { display:flex; align-items:flex-start; gap:10px; color:var(--muted); }
.membership-notice input { margin-top:3px; accent-color:var(--forest); }
.checkout-error { min-height:20px; margin:14px 0 0; color:#9e3228; font-size:12px; }
.checkout-sidebar { padding:64px 34px; color:#f8f4ec; background:var(--forest-2); }
.checkout-sidebar h3 { margin:0 0 26px; font-family:var(--serif); font-size:32px; font-weight:400; }
.checkout-review-line { display:grid; grid-template-columns:54px 1fr auto; gap:12px; align-items:center; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.16); }
.checkout-review-line img { width:54px; height:64px; object-fit:contain; background:#fff; }
.checkout-review-line b { display:block; font-size:12px; line-height:1.35; }
.checkout-review-line small { color:#afc3bc; }
.checkout-line-price { display:grid; justify-items:end; gap:4px; white-space:nowrap; }
.checkout-line-price s { color:#91aaa1; font-size:10px; text-decoration-color:#e4c088; }
.checkout-line-price strong { color:#fffaf1; font-size:13px; }
.checkout-total { margin-top:28px; padding-top:20px; display:grid; gap:12px; border-top:1px solid rgba(255,255,255,.34); }
.checkout-total div { display:flex; justify-content:space-between; }
.checkout-total .checkout-discount-row { color:#f0cf99; }
.checkout-total .checkout-discount-row span { max-width:70%; font-size:12px; line-height:1.4; }
.checkout-total .checkout-sale-subtotal { margin-bottom:4px; padding-bottom:12px; border-bottom:1px solid rgba(255,255,255,.16); }
.checkout-total div:last-child { margin-top:8px; color:#e4c088; font-size:20px; }
.payment-reserved { margin-top:28px; padding:18px; border:1px solid rgba(228,192,136,.5); color:#dce8e3; font-size:12px; line-height:1.65; }
.order-success { min-height:650px; display:grid; place-items:center; padding:70px 8vw; text-align:center; }
.order-success > div { max-width:720px; }
.order-success .success-mark { width:74px; height:74px; margin:0 auto 28px; display:grid; place-items:center; border:1px solid var(--gold); border-radius:50%; color:var(--gold); font-size:28px; }
.order-success p { color:var(--muted); line-height:1.75; }
.order-number { display:block; margin:26px 0; color:var(--forest); font-size:18px; letter-spacing:.1em; }
body[data-theme="editorial-mineral"] { --paper:#eeeae2; --paper-2:#f8f5ef; --gold:#a17d4f; --stone:#c9c1b5; }
body[data-theme="editorial-mineral"] .product-card { background:#f1ede6; }
body[data-theme="clinical-light"] { --paper:#f7f8f4; --paper-2:#fff; --forest:#124e43; --forest-2:#0b332d; --gold:#aa8b5b; }
body[data-theme="clinical-light"] .site-header { background:rgba(255,255,255,.9); }
.reveal { opacity:0; transform:translateY(36px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.reveal.visible { opacity:1; transform:none; }
@media (max-width: 1100px) {
  .site-header { grid-template-columns:180px 1fr 170px; }
  .desktop-nav { gap:24px; }
  .hero { padding-inline: 3vw; }
  .hero-overlay { top: 42px; }
  .hero-overlay h1 { font-size: clamp(48px, 6vw, 84px); }
  .gateway-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-gateway .section-heading { grid-template-columns: 1fr; gap: 28px; }
  .system-grid { grid-template-columns:repeat(2,1fr); }
  .product-rail { grid-auto-columns:minmax(300px,34vw); }
}
@media (max-width: 820px) {
  html { scroll-padding-top: 92px; }
  .site-header { height:76px; grid-template-columns:1fr auto; padding:0 22px; }
  .brand .logo-wordmark { font-size:14px; }
  .desktop-nav { display:none; }
  .menu-toggle { display:block; }
  .mobile-nav { position:fixed; inset:76px 0 auto; height:calc(100svh - 76px); display:flex; flex-direction:column; justify-content:center; gap:28px; padding:38px; color:#fffaf1; background:var(--forest-2); transform:translateX(100%); transition:transform .55s var(--ease); }
  .site-header.menu-open .mobile-nav { transform:none; }
  .mobile-nav a { font-family:var(--serif); font-size:42px; }
  .hero { padding:76px 0 0; }
  .hero-stage { width:100%; border-left:0; border-right:0; }
  .hero-overlay { inset: 26px 20px auto; }
  .hero-overlay h1 { font-size: clamp(34px, 10vw, 56px); }
  .hero-overlay p:not(.section-index) { margin-top:12px; font-size:14px; }
  .hero-panel { min-width: 58vw; padding:18px 20px; }
  .hero-dots { left:20px; bottom:18px; }
  .section, .science-copy, .story-copy, .journal { padding:82px 22px; }
  .service-gateway { padding:76px 22px; }
  .section-heading, .gateway-head, .science, .story, .journal { grid-template-columns:1fr; }
  .section-heading h1, .science h1, .story h1, .journal h1 { font-size: clamp(34px, 9vw, 44px); line-height:1.08; }
  .service-gateway .section-heading h1 { font-size: clamp(34px, 8.8vw, 44px); line-height:1.08; }
  .gateway-head h1 { font-size: clamp(36px, 9.5vw, 46px); line-height:1.08; }
  html:lang(zh) .section-heading h1,
  html:lang(zh) .science h1,
  html:lang(zh) .story h1,
  html:lang(zh) .journal h1 { font-size:clamp(34px,9vw,40px); line-height:1.16; letter-spacing:-.02em; }
  .gateway-grid, .service-grid { grid-template-columns:1fr; }
  .gateway-card, .service-card { min-height:190px; }
  .system-grid { grid-template-columns:1fr; gap:8px; margin-top:48px; }
  .system-card { min-height:210px; }
  .product-rail { grid-auto-columns:82vw; }
  .product-activity-badge { transform:rotate(-2deg); }
  .science-media { min-height:560px; }
  .science-media img { width:54%; }
  .story-media { min-height:520px; }
  .journal { gap:38px; }
  footer { grid-template-columns:1fr; gap:32px; }
  footer nav { justify-content:flex-start; flex-wrap:wrap; }
  .footer-copyright { margin-top:8px; text-align:center; }
  .dialog-layout { grid-template-columns:1fr; }
  .dialog-media img { height:320px; }
  .dialog-copy { padding:42px; }
  .cart-drawer { width:100vw; }
  .checkout-dialog { width:100vw; max-width:none; max-height:100vh; height:100vh; }
  .checkout-shell { grid-template-columns:1fr; }
  .checkout-main { padding:70px 22px 36px; }
  .checkout-main h2, .order-success h2 { font-size:clamp(34px,9.5vw,42px); line-height:1.06; }
  .checkout-grid { grid-template-columns:1fr; }
  .checkout-field.full { grid-column:auto; }
  .checkout-sidebar { padding:36px 22px; }
  .reveal { opacity:1; transform:none; }
}
/* SKU merchandising: semantic red is reserved for real pre-orders. */
.product-presale-badge{position:absolute;top:18px;left:18px;z-index:4;padding:11px 14px;background:#b5332e;color:#fff;font-size:11px;font-weight:800;letter-spacing:.11em;line-height:1;text-transform:uppercase;box-shadow:0 8px 20px rgba(181,51,46,.16)}
.product-presale-badge.top-right{left:auto;right:18px}.product-presale-badge.top-left{left:18px;right:auto}
.product-inventory-status{display:flex;align-items:center;gap:7px;margin:14px 0 0;color:#53635e;font-size:11px;font-weight:700}
.product-inventory-status span{width:6px;height:6px;border-radius:50%;background:#4d7b59}
.product-inventory-status.status-low_stock span,.product-inventory-status.status-presale span,.product-inventory-status.status-backorder span{background:#b88a48}
.product-inventory-status.status-sold_out span{background:#8b746d}
.cart-sku-meta,.cart-bundle-meta{margin:5px 0 0;color:#52635e;font-size:11px;line-height:1.45}
.cart-bundle-meta{color:#7b6d56}
.cart-line{position:relative}
.presale-disclosure{display:grid;gap:3px;margin:12px 0 0;color:#8e302d;font-size:11px;line-height:1.45}
.presale-disclosure strong{font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.presale-late-gift-promise{display:block;margin-top:5px;padding-left:9px;border-left:2px solid currentColor;font-weight:650;line-height:1.5}
.card-presale-disclosure{padding:10px 12px;border-left:3px solid #b5332e;background:#fcf1ed}
.cart-presale-disclosure{margin-top:9px}
.first-purchase-cart-disclosure{display:grid;gap:4px;margin:10px 0 0;padding:10px 12px;border-left:3px solid #7b252b;background:#f8eee5;color:#5d2428;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.first-purchase-cart-disclosure strong{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.checkout-line-presale-disclosure{margin-top:7px;color:#f0cf99}
.checkout-line-presale-disclosure strong{font-size:9px}
.home-presale-dialog{width:min(560px,92vw)}
.home-presale-dialog-copy{padding:62px 58px 52px}
.home-presale-dialog-copy h2{margin:12px 0 16px;color:var(--forest);font-family:var(--serif);font-size:42px;font-weight:400;line-height:1.05}
.home-presale-dialog-copy>p:not(.section-index){color:var(--muted);line-height:1.7}
.home-presale-acceptance,.checkout-presale-notice label{display:flex;align-items:flex-start;gap:10px;color:var(--muted);font-size:13px;line-height:1.55}
.home-presale-acceptance{margin-top:26px;padding:16px;border:1px solid rgba(181,51,46,.34);background:#fcf1ed}
.home-presale-acceptance input,.checkout-presale-notice input{margin-top:3px;accent-color:#8e302d}
.home-presale-dialog .text-button{width:auto;margin:0;padding:0 8px}
.checkout-presale-notice{display:grid;gap:13px;margin-top:18px;padding:20px;border:1px solid rgba(181,51,46,.42);background:#fcf1ed;color:var(--forest)}
.checkout-presale-notice strong{font-family:var(--serif);font-size:20px;font-weight:500}
@media(max-width:560px){.product-presale-badge{top:12px;left:12px}.product-presale-badge.top-right{right:12px}.product-inventory-status{font-size:10px}}
@media (max-width: 560px) {
  .first-purchase-badge{max-width:calc(100% - 24px);padding:10px 12px}
  .product-card>.first-purchase-badge{top:12px;left:12px}
  .first-purchase-badge__price{font-size:14px}
  .first-purchase-cart-disclosure{max-width:100%}
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
  .system-card.is-selecting { animation:none !important; }
  .reveal { opacity:1; transform:none; }
}
