/* =========================================================
   FYCA — shared product page styles
   Layout is built in "design units" from the 1080-wide PDF:
   --u = 1/1080 of the page column width.
   Text uses fixed px minimums so it stays readable on phones.
   ========================================================= */

@font-face { font-family: 'Poppins'; font-weight: 100; font-style: normal; font-display: swap; src: url(../fonts/Poppins-Thin.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 200; font-style: italic; font-display: swap; src: url(../fonts/Poppins-ExtraLightItalic.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 300; font-style: normal; font-display: swap; src: url(../fonts/Poppins-Light.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 300; font-style: italic; font-display: swap; src: url(../fonts/Poppins-LightItalic.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/Poppins-Regular.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/Poppins-SemiBold.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/Poppins-Bold.woff2) format('woff2'); }
@font-face { font-family: 'Gilda Display'; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/GildaDisplay.woff2) format('woff2'); }

:root {
  --W: min(100vw, 480px);
  --u: calc(var(--W) / 1080);
  --k: var(--u);               /* unit used by placed images; tiles override it */

  --orange: #FFA200;
  --brown: #8C7358;
  --brown-dk: #5B4633;
  --ink: #1A1A1A;
  --tile: #ECEAE4;
  --band: #EEE5DE;
  --line: #D3D2CA;
  --grey: #FAFAFA;
  --desk: #E9E3DC;             /* desktop background around the column */

  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 300;
  color: var(--brown);
  background: var(--desk);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
ol { list-style: none; }

/* Phone-width column, centred on desktop */
.page {
  position: relative;
  width: var(--W);
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
}
@media (min-width: 481px) {
  .page { box-shadow: 0 0 60px rgba(90, 70, 50, .12); }
}

/* Image placed with the matrix from the design file */
.placed { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; user-select: none; }
.sachet-in, .sachets, .band-img { position: absolute; inset: 0; pointer-events: none; }

/* =========================================================
   SCROLL ANIMATIONS
   .rv = hidden until it scrolls into view, then .in is added
   ========================================================= */
.rv {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.rv.rv-r     { transform: translate3d(36px, 0, 0); }
.rv.rv-l     { transform: translate3d(-36px, 0, 0); }
.rv.rv-soft  { transform: translate3d(0, 14px, 0) scale(.97); transition-duration: 1.4s; }
.rv.rv-pop   { transform: scale(.82); transform-origin: left center; transition-timing-function: cubic-bezier(.3, 1.4, .5, 1); transition-duration: .7s; }
.rv.rv-float { transform: translate3d(0, 70px, 0) rotate(-3deg); transition-duration: 1.3s; }
.rv.rv-fade  { transform: none; }
.rv.rv-line  { transform: translate3d(40px, 0, 0); }
.rv.in { opacity: 1; transform: none; }
.rv.now { transition: none; }

/* meter bars draw in one by one */
.rv-meter { transform: none; }
.rv-meter .bars i { transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); transition-delay: calc(var(--d) + .2s + var(--i) * 90ms); }
.rv-meter.in .bars i { transform: scaleX(1); }

/* how-to icons draw in */
.step .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease); transition-delay: calc(var(--d) + .2s); }
.step .solid, .step .dot { opacity: 0; transition: opacity .6s ease; transition-delay: calc(var(--d) + .9s); }
.step .dot:nth-of-type(2) { transition-delay: calc(var(--d) + 1.05s); }
.step .dot:nth-of-type(3) { transition-delay: calc(var(--d) + 1.2s); }
.step .dot:nth-of-type(4) { transition-delay: calc(var(--d) + 1.35s); }
.step.in .draw { stroke-dashoffset: 0; }
.step.in .solid, .step.in .dot { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .rv-meter .bars i { opacity: 1 !important; transform: none !important; transition: none !important; }
  .step .draw { stroke-dashoffset: 0; transition: none; }
  .step .solid, .step .dot { opacity: 1; transition: none; }
}

/* ---------------- HERO ---------------- */
.hero { position: relative; height: calc(2096 * var(--u)); background: #E4E2DD; }
.hero-bg {
  position: absolute; left: 0; top: 0; width: 100%; height: calc(2030 * var(--u)); object-fit: cover;
  translate: 0 var(--py, 0px); will-change: translate;
}
.hero-fade { position: absolute; inset: 0; opacity: var(--fade, 1); translate: 0 var(--ty, 0px); pointer-events: none; }
.hero-fade a { pointer-events: auto; }
.hero-logo { position: absolute; z-index: 5; left: calc(454 * var(--u)); top: calc(154 * var(--u)); width: calc(172 * var(--u) + 12px); min-width: 76px; padding: 6px; margin: -6px; -webkit-tap-highlight-color: transparent; }
.hero-logo img { width: 100%; transition: transform .25s var(--ease), opacity .25s; }
.hero-logo:active img { transform: scale(.94); opacity: .8; }
.hero-title {
  position: absolute; left: 0; right: 0; top: calc(262 * var(--u));
  text-align: center;
  font-weight: 100;
  font-size: calc(322 * var(--u));
  line-height: 1;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.15) 92%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-text {
  position: absolute; left: 0; right: 0; top: calc(552 * var(--u));
  display: flex; flex-direction: column; align-items: center;
}
.hero-sub, .hero-tag {
  text-align: center; padding: 0 16px;
  font-size: max(13px, calc(30 * var(--u))); line-height: max(1.35em, calc(52 * var(--u)));
  color: #000; font-weight: 300;
}
.hero-cta { margin-top: max(6px, calc(60 * var(--u) - 17px)); display: flex; justify-content: center; }
.btn-discover {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: calc(265 * var(--u)); height: max(34px, calc(68 * var(--u)));
  padding: 0 16px 0 18px;
  background: var(--orange); color: #fff; border-radius: 999px;
  font-size: 12px; font-weight: 300; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.btn-discover:active { transform: scale(.96); }
.btn-discover svg { width: 12px; height: 12px; }

.hero-tile {
  position: absolute; top: calc(1390 * var(--u));
  width: calc(430 * var(--u)); height: calc(405 * var(--u));
  border-radius: calc(88 * var(--u)); overflow: hidden;
}
.hero-tile.photo { left: calc(94 * var(--u)); }
.hero-tile.photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-tile .ph, .ing-slide .ph {
  position: absolute; z-index: 3; right: 10px; bottom: 8px; font-size: 9px; letter-spacing: .05em;
  background: rgba(255,162,0,.14); color: #b36f00; padding: 2px 6px; border-radius: 4px;
}
.hero-tile .ph { right: auto; left: 50%; transform: translateX(-50%); bottom: 12px; background: rgba(255,255,255,.85); white-space: nowrap; }
.hero-tile.info {
  left: calc(555 * var(--u));
  background: rgba(250, 244, 236, .9);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: calc(26 * var(--u));
}
.hero-tile.info .icon { width: calc(100 * var(--u)); min-width: 30px; }
.hero-tile.info p { font-size: max(15px, calc(39 * var(--u))); line-height: 1.2; color: var(--brown); padding: 0 8px; }
.dot-btn {
  width: max(26px, calc(45 * var(--u))); height: max(26px, calc(45 * var(--u)));
  border: 1px solid var(--orange); border-radius: 50%;
  display: grid; place-items: center;
}
.dot-btn::after { content: ''; width: 4px; height: 4px; background: var(--orange); border-radius: 50%; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.8); } }
.chevron { position: absolute; left: calc(496 * var(--u)); top: calc(1834 * var(--u)); width: calc(88 * var(--u)); min-width: 34px; animation: nudge 2.2s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 0 6px; } }
@media (prefers-reduced-motion: reduce) { .chevron, .dot-btn::after { animation: none; } }

/* ---------------- DETAIL (switchable) ---------------- */
.detail { position: relative; margin-top: calc(-100 * var(--u)); transition: opacity .25s ease; }
.detail.is-switching { opacity: 0; }

.intro {
  position: relative; background: #fff;
  border-radius: calc(100 * var(--u)) calc(100 * var(--u)) 0 0;
  padding-top: calc(80 * var(--u));
  padding-bottom: calc(110 * var(--u));
}

/* Flavour toggle */
.flavour-toggle { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.flavour-toggle .label { font-size: 11px; font-style: italic; font-weight: 200; letter-spacing: .02em; }
.flavour-toggle .seg {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line); border-radius: 999px; padding: 3px;
  background: #fff;
}
.flavour-toggle .seg::before {
  content: ''; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
  background: var(--orange); border-radius: 999px; transition: transform .35s var(--ease);
}
.flavour-toggle .seg[data-active="1"]::before { transform: translateX(100%); }
.flavour-toggle button {
  position: relative; z-index: 1; padding: 8px 18px; min-width: 128px;
  font-size: 12px; font-weight: 400; color: var(--brown); border-radius: 999px; transition: color .3s;
}
.flavour-toggle button[aria-selected="true"] { color: #fff; }

.intro-head { position: relative; height: calc(230 * var(--u)); margin-top: calc(40 * var(--u)); }
.intro-head h2 {
  position: absolute; left: calc(110 * var(--u)); top: calc(48 * var(--u)); z-index: 2;
  font-family: 'Gilda Display', serif; font-weight: 400;
  font-size: max(30px, calc(84 * var(--u))); line-height: 1; color: var(--orange);
}
.intro-head .flav {
  position: absolute; left: calc(110 * var(--u)); top: calc(152 * var(--u)); z-index: 2;
  font-family: 'Gilda Display', serif; font-size: max(16px, calc(38 * var(--u))); color: var(--brown); white-space: nowrap;
}
.intro-desc { margin: calc(40 * var(--u)) calc(110 * var(--u)) 0; font-size: 13px; line-height: 1.65; }

/* Feature tiles — horizontal swipe row */
.tiles {
  --tw: calc(var(--W) * 0.37);
  display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  padding: calc(90 * var(--u)) calc(67 * var(--u)) 6px;
  scroll-padding-inline: calc(67 * var(--u));
  scrollbar-width: none;
}
.tiles::-webkit-scrollbar { display: none; }
.tile {
  --t: calc(var(--tw) / 220); --k: var(--t);
  position: relative; flex: 0 0 var(--tw); height: calc(315 * var(--t));
  background: var(--tile); border-radius: calc(46 * var(--t)); overflow: hidden;
  scroll-snap-align: start;
}
.tile .num { position: absolute; left: calc(22 * var(--t)); top: calc(30 * var(--t)); font-size: 12px; font-weight: 200; font-style: italic; }
.tile .lab { position: absolute; right: calc(18 * var(--t)); top: calc(34 * var(--t)); font-size: 10px; font-style: italic; color: var(--orange); }
.tile .txt { position: absolute; left: calc(21 * var(--t)); right: calc(14 * var(--t)); top: calc(86 * var(--t)); z-index: 2; font-size: 12px; line-height: 1.3; }
.tile .placed { z-index: 1; }

.see-other {
  display: flex; justify-content: flex-end; align-items: center; gap: 10px;
  margin: calc(60 * var(--u)) calc(70 * var(--u)) 0 calc(100 * var(--u));
  padding-bottom: 10px; border-bottom: 1px solid var(--tile);
  font-size: 12px; font-weight: 200; font-style: italic; color: var(--orange);
}
.see-other svg { width: calc(65 * var(--u)); min-width: 30px; height: 6px; transition: transform .3s var(--ease); }
.see-other:active svg { transform: translateX(6px); }

/* Stats band — dark brown text for contrast */
.band { position: relative; height: calc(708 * var(--u)); background: var(--band); overflow: hidden; }
.band h3 { z-index: 2;
  position: absolute;
  font-weight: 600; color: var(--brown-dk); line-height: 1.15;
  font-size: max(21px, calc(55 * var(--u)));
}
.stat { z-index: 2;
  position: absolute;
  display: flex; justify-content: flex-end; align-items: center; gap: 8px;
  padding-right: calc(40 * var(--u));
  border-bottom: 1px solid rgba(91, 70, 51, .35); color: var(--brown-dk);
}
.stat b { font-weight: 100; font-size: max(24px, calc(60 * var(--u))); line-height: 1.1; color: var(--orange); font-weight: 200; min-width: .7em; text-align: right; }
.stat span { font-size: 10.5px; line-height: 1.25; font-weight: 400; white-space: nowrap; }

/* Grey area: meters + benefits + spec */
.benefits { background: var(--grey); padding-top: calc(150 * var(--u)); padding-bottom: calc(160 * var(--u)); }
.meters { padding: 0 calc(104 * var(--u)); display: grid; gap: 14px; }
.meter { display: grid; grid-template-columns: 34% 1fr; align-items: center; }
.meter b { font-weight: 600; font-size: 14px; }
.meter .bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.meter .bars i { height: 2px; background: var(--line); border-radius: 2px; }
.meter .bars i.on { background: var(--orange); height: 3px; }

.stage { position: relative; }
.band-left .stat { justify-content: flex-start; padding-right: 0; padding-left: calc(16 * var(--u)); }
.band-left .stat b { text-align: left; }
.frame { position: absolute; border: 1px solid var(--line); }
.frame-h, .frame-v { position: absolute; background: var(--line); }
.cards-row {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: calc(420 * var(--u)) calc(440 * var(--u)); column-gap: calc(80 * var(--u));
  align-items: start; padding: 0 0 0 calc(80 * var(--u));
}
.cards-row .col { display: grid; gap: calc(14 * var(--u)); }
.cards-row .col:last-child { margin-top: calc(21 * var(--u)); }

.pill {
  position: absolute; z-index: 3;
  display: flex; align-items: center;
  min-height: calc(73 * var(--u));
  padding: 6px 12px 6px 16px;
  background: var(--tile); border-radius: 8px;
  font-size: 10.5px; font-weight: 600; color: var(--ink); line-height: 1.25;
  box-shadow: 0 4px 14px rgba(90, 70, 50, .06);
}
.arrow-dot {
  position: absolute; left: -9px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%; background: var(--orange);
  display: grid; place-items: center;
}
.arrow-dot svg { width: 8px; height: 8px; }
.card {
  position: relative; padding: 8px 12px 9px 18px; background: var(--tile); border-radius: 8px;
  box-shadow: 0 4px 14px rgba(90, 70, 50, .06);
}
.card h4 { font-size: 13px; font-weight: 600; color: var(--orange); line-height: 1.2; }
.card p { margin-top: 4px; font-size: 10px; font-weight: 400; line-height: 1.35; text-align: right; }
.card .arrow-dot { top: 18px; }

.spec { margin: calc(110 * var(--u)) calc(45 * var(--u)) 0; display: grid; gap: 12px; }
.spec-row { position: relative; padding: 12px calc(40 * var(--u)) 0; display: grid; grid-template-columns: 34% 1fr; gap: 10px; font-size: 11.5px; }
.spec-row::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px;
  border: .7px solid var(--brown); border-bottom: 0; border-radius: 10px 10px 0 0;
}
.spec-row dt { font-weight: 700; }
.spec-row dd { text-align: right; line-height: 1.5; }

/* Shared section heading */
.eyebrow { font-size: 11px; font-weight: 200; font-style: italic; color: var(--orange); letter-spacing: .03em; }
.howto h3, .ing-head h3 {
  margin-top: 4px;
  font-family: 'Gilda Display', serif; font-weight: 400; color: var(--brown-dk);
  font-size: max(26px, calc(70 * var(--u))); line-height: 1.1;
}

/* How to use */
.howto { background: #fff; padding: calc(150 * var(--u)) calc(70 * var(--u)) calc(130 * var(--u)); text-align: center; }
.steps { position: relative; margin-top: calc(80 * var(--u)); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.steps::before {
  content: ''; position: absolute; top: 36px; left: 16%; right: 16%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 4px, transparent 4px 8px);
}
.step { position: relative; display: flex; flex-direction: column; align-items: center; }
.step .ico {
  position: relative; width: 72px; height: 72px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center;
}
.step .ico svg { width: 44px; height: 44px; }
.step .no { margin-top: 12px; font-size: 11px; font-weight: 200; font-style: italic; color: var(--orange); }
.step h4 { margin-top: 2px; font-family: 'Gilda Display', serif; font-weight: 400; font-size: 18px; color: var(--brown-dk); }
.step p { margin-top: 6px; font-size: 11px; line-height: 1.5; padding: 0 2px; }

/* Ingredients carousel */
.ingredients { position: relative; background: #fff; padding: calc(40 * var(--u)) 0 calc(150 * var(--u)); border-top: 1px solid var(--line); }
.ing-head { padding: calc(110 * var(--u)) calc(90 * var(--u)) 0; }
.ing-chips {
  display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
  padding: calc(60 * var(--u)) calc(90 * var(--u)) 4px;
}
.ing-chips::-webkit-scrollbar { display: none; }
.ing-chips button {
  flex: none; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 11.5px; font-weight: 400; color: var(--brown); white-space: nowrap;
  transition: background .35s var(--ease), color .35s, border-color .35s;
}
.ing-chips button[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }

.ing-track {
  display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-top: calc(50 * var(--u));
  overscroll-behavior-x: contain;
}
.ing-track::-webkit-scrollbar { display: none; }
.ing-slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.ing-slide .vis {
  position: relative; height: calc(680 * var(--u)); overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.ing-slide .vis::before, .ing-slide .vis::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line);
}
.ing-slide .vis::before { left: calc(150 * var(--u)); }
.ing-slide .vis::after { right: calc(150 * var(--u)); }
.ing-slide .circle {
  position: absolute; left: 50%; top: 50%; width: calc(600 * var(--u)); height: calc(600 * var(--u));
  margin: calc(-300 * var(--u)) 0 0 calc(-300 * var(--u));
  border: 1.1px solid var(--line); border-radius: 50%;
  transform: scale(.9); transition: transform .6s var(--ease);
}
.ing-slide .pic {
  position: absolute; left: 50%; bottom: 0; width: calc(640 * var(--u)); height: calc(610 * var(--u));
  margin-left: calc(-320 * var(--u));
  object-fit: contain; object-position: center bottom; z-index: 1;
  transform: scale(.94);
  transition: transform .6s var(--ease);
}
.ing-slide .text { padding: 22px calc(110 * var(--u)) 0; }
.ing-slide.active .circle, .ing-slide.active .pic { transform: none; }
.ing-slide h5 { font-size: 17px; font-weight: 600; color: var(--orange); line-height: 1.2; }
.ing-slide .sub { font-size: 11.5px; font-weight: 200; font-style: italic; color: var(--orange); }
.ing-slide p.body { margin-top: 10px; font-size: 12.5px; font-weight: 400; line-height: 1.6; }
.ing-slide p.fn { margin-top: 10px; font-size: 11.5px; font-weight: 200; font-style: italic; color: var(--orange); line-height: 1.4; }
.ing-slide .pic-empty {
  display: grid; place-items: center; height: calc(560 * var(--u)) !important; bottom: calc(60 * var(--u)) !important;
  font-family: 'Gilda Display', serif; font-size: 20px; color: var(--line);
}
@media (prefers-reduced-motion: reduce) {
  .ing-slide .circle, .ing-slide .pic, .ing-slide .text > * { transform: none; opacity: 1; transition: none; }
}

.ing-nav { display: flex; align-items: center; gap: 12px; padding: 26px calc(90 * var(--u)) 0; }
.nav-btn {
  flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--brown);
  transition: background .25s, color .25s, border-color .25s, transform .2s;
}
.nav-btn svg { width: 18px; height: 18px; }
.nav-btn:active { transform: scale(.92); background: var(--orange); border-color: var(--orange); color: #fff; }
.progress { position: relative; flex: 1; height: 1px; background: var(--line); overflow: hidden; }
.progress i { position: absolute; left: 0; top: -1px; height: 3px; background: var(--orange); border-radius: 2px; transition: transform .5s var(--ease); }
.count { flex: none; font-size: 11px; font-style: italic; font-weight: 200; }
.count b { font-weight: 400; font-style: normal; color: var(--brown-dk); }

/* Footer */
.foot { background: var(--band); padding: 36px calc(90 * var(--u)) 30px; text-align: center; }
.foot-home { display: block; width: 84px; margin: 0 auto 10px; -webkit-tap-highlight-color: transparent; }
.foot .logo { display: block; width: 100%; margin: 0; }
.foot .tag { font-size: 11px; letter-spacing: .08em; }
.foot h6 { margin-top: 26px; font-size: 11px; font-weight: 400; font-style: italic; color: var(--brown); }
.foot .more { margin-top: 10px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.foot .more a {
  padding: 8px 18px; border: 1px solid var(--brown); border-radius: 999px; font-size: 12px; font-weight: 400;
  transition: background .25s, color .25s;
}
.foot .more a:active { background: var(--brown); color: #fff; }
.foot .disc { margin-top: 26px; font-size: 10px; line-height: 1.5; opacity: .8; }
.foot .copy { margin-top: 8px; font-size: 10px; opacity: .7; }

.pill-r.rv-pop { transform-origin: right center; }

/* Placeholder tags inside intro, band, stage and tiles */
.intro-head > .ph, .band > .ph, .stage > .ph, .tile > .ph {
  position: absolute; z-index: 4; font-size: 9px; letter-spacing: .05em;
  background: rgba(255,255,255,.9); color: #b36f00; padding: 2px 6px; border-radius: 4px; white-space: nowrap;
}
.intro-head > .ph { right: 14px; top: 0; }
.band > .ph { right: 12px; bottom: 10px; }
.band-right > .ph { right: auto; left: 12px; }
.stage > .ph { left: 50%; top: calc(140 * var(--u)); transform: translateX(-50%); }
.tile > .ph { left: 50%; bottom: 14px; transform: translateX(-50%); font-size: 8px; }
.foot .more { max-width: 330px; margin-left: auto; margin-right: auto; }
.foot .more a { padding: 7px 14px; font-size: 11.5px; }

/* Small print ("Good to know") under the spec table */
.notes { margin: 26px calc(45 * var(--u)) 0; padding: 16px calc(40 * var(--u)) 4px; border-top: .7px solid var(--line); }
.notes h4 { font-size: 11.5px; font-weight: 700; color: var(--brown); }
.notes ul { margin-top: 8px; padding-left: 14px; }
.notes li { font-size: 10.5px; line-height: 1.55; margin-bottom: 3px; color: var(--brown); }
.notes li::marker { color: var(--orange); }

/* ---------- Language switch (top right of the hero) ---------- */
.lang-switch {
  position: absolute; z-index: 6; right: calc(56 * var(--u)); top: calc(160 * var(--u));
  display: flex; padding: 2px; border-radius: 999px;
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .7);
}
.lang-switch button {
  min-width: 34px; height: 24px; padding: 0 8px; border-radius: 999px;
  font-size: 10.5px; font-weight: 400; color: var(--brown-dk); letter-spacing: .02em;
  transition: background .25s, color .25s;
}
.lang-switch button[aria-pressed="true"] { background: var(--orange); color: #fff; }

/* ---------- Chinese typography ----------
   Poppins and Gilda have no Chinese glyphs, so Chinese falls back to the
   phone's own fonts (PingFang on iPhone, Noto on Android). Serif headings
   use Songti where the phone has it. Chinese never gets faux italics. */
html:lang(zh) body { font-family: 'Poppins', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Noto Sans CJK SC', 'Microsoft YaHei', sans-serif; }
html:lang(zh) .intro-head h2, html:lang(zh) .intro-head .flav, html:lang(zh) .howto h3, html:lang(zh) .ing-head h3,
html:lang(zh) .step h4 { font-family: 'Gilda Display', 'Songti SC', 'STSong', 'Noto Serif SC', 'Noto Serif CJK SC', serif; }
html:lang(zh) .flavour-toggle .label, html:lang(zh) .tile .num, html:lang(zh) .tile .lab, html:lang(zh) .see-other,
html:lang(zh) .eyebrow, html:lang(zh) .step .no, html:lang(zh) .ing-slide .sub, html:lang(zh) .ing-slide p.fn,
html:lang(zh) .count, html:lang(zh) .foot h6 { font-style: normal; }
html:lang(zh) .intro-desc { line-height: 1.85; letter-spacing: .02em; }
html:lang(zh) .ing-slide p.body, html:lang(zh) .notes li, html:lang(zh) .spec-row dd { line-height: 1.75; }
html:lang(zh) .hero-tile.info p { letter-spacing: .08em; }
html:lang(zh) .band h3, html:lang(zh) .card h4 { letter-spacing: .02em; }
html:lang(zh) .tile .txt { line-height: 1.45; }

/* =========================================================
   TEMPORARY HOMEPAGE (index.html + home.js)
   ========================================================= */
.h-hero {
  position: relative; text-align: center; overflow: hidden;
  padding: calc(150 * var(--u)) 0 calc(150 * var(--u));
  background: linear-gradient(180deg, #E6DACD 0%, #EFE7DF 55%, #F7F3EE 100%);
}
.h-hero .lang-switch { top: calc(160 * var(--u)); }
.h-logo { width: calc(172 * var(--u)); min-width: 64px; margin: 0 auto; }
.h-title {
  margin-top: calc(40 * var(--u));
  font-weight: 100; font-size: calc(330 * var(--u)); line-height: .95; letter-spacing: -0.05em;
  background: linear-gradient(180deg, #8C7358 25%, rgba(140,115,88,.18) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h-tag { margin-top: 6px; font-size: 13px; color: #000; }
.h-brandline {
  margin: 18px auto 0; max-width: 300px; padding: 0 12px;
  font-family: 'Gilda Display', 'Songti SC', 'STSong', 'Noto Serif SC', serif;
  font-size: 15px; line-height: 1.6; color: var(--brown-dk);
}
.h-cta { margin-top: 22px; display: flex; justify-content: center; }
.h-strip { margin-top: calc(110 * var(--u)); overflow: hidden; }
.h-strip-track { display: flex; gap: 12px; width: max-content; animation: h-marquee 48s linear infinite; }
.h-strip-track img { width: calc(var(--W) * 0.62); height: calc(var(--W) * 0.62); border-radius: 28px; object-fit: cover; }
@keyframes h-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }

.h-types {
  position: relative; margin-top: calc(-70 * var(--u)); background: #fff;
  border-radius: calc(100 * var(--u)) calc(100 * var(--u)) 0 0;
  padding: calc(130 * var(--u)) calc(60 * var(--u)) calc(140 * var(--u));
  text-align: center;
}
.h-types h2 {
  margin-top: 4px; font-family: 'Gilda Display', 'Songti SC', 'STSong', 'Noto Serif SC', serif;
  font-weight: 400; font-size: max(28px, calc(76 * var(--u))); color: var(--brown-dk); line-height: 1.1;
}
.h-sub { margin: 8px auto 0; max-width: 280px; font-size: 12px; line-height: 1.6; }

.h-list { margin-top: 26px; display: grid; gap: 12px; text-align: left; }
.h-card, .h-duo {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 12px 14px 12px 12px; border-radius: 18px; background: var(--grey);
  border: 1px solid var(--tile);
  transition: transform .25s var(--ease), border-color .25s;
}
.h-card:active, .h-half:active { transform: scale(.98); border-color: var(--orange); }
.h-thumb { flex: none; width: 84px; height: 84px; border-radius: 14px; object-fit: cover; }
.h-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.h-tier { font-size: 10.5px; font-weight: 400; color: var(--orange); letter-spacing: .04em; }
.h-name { font-family: 'Gilda Display', serif; font-size: 20px; color: var(--brown-dk); line-height: 1.15; }
.h-line { font-size: 11px; line-height: 1.45; color: var(--brown); }
.h-bars { display: inline-flex; gap: 3px; margin-top: 5px; }
.h-bars i { width: 14px; height: 2px; border-radius: 2px; background: var(--line); }
.h-bars i.on { background: var(--orange); height: 3px; }
.h-go {
  flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--brown);
}
.h-go svg { width: 16px; height: 16px; }

.h-duo { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 12px 12px; }
.h-duo-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 0 2px; }
.h-duo-head .h-bars { margin-top: 0; }
.h-q { width: 100%; font-family: 'Gilda Display', 'Songti SC', 'STSong', 'Noto Serif SC', serif; font-size: 17px; color: var(--brown-dk); }
.h-duo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.h-half {
  display: flex; flex-direction: column; gap: 3px; padding: 10px; border-radius: 14px;
  background: #fff; border: 1px solid var(--tile); transition: transform .25s var(--ease), border-color .25s;
}
.h-half .h-thumb { width: 100%; height: auto; aspect-ratio: 1; margin-bottom: 6px; }
.h-team { font-size: 10.5px; color: var(--orange); letter-spacing: .04em; }
.h-view { margin-top: 4px; display: inline-flex; align-items: center; gap: 2px; font-size: 11px; color: var(--brown-dk); }
.h-view svg { width: 14px; height: 14px; }
.h-daynight { margin-top: 4px; font-size: 11px; font-style: italic; font-weight: 200; color: var(--orange); }

.h-promise {
  list-style: none; margin-top: 34px; display: flex; justify-content: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.h-promise li {
  flex: 1; padding: 14px 4px;
  font-family: 'Gilda Display', 'Songti SC', 'STSong', 'Noto Serif SC', serif; font-size: 14px; color: var(--brown-dk);
}
.h-promise li + li { border-left: 1px solid var(--line); }

html:lang(zh) .h-daynight, html:lang(zh) .eyebrow { font-style: normal; }
html:lang(zh) .h-brandline { letter-spacing: .04em; line-height: 1.8; }
@media (prefers-reduced-motion: reduce) { .h-strip-track { animation: none; } }
html:lang(zh) .h-daynight { font-weight: 300; }

/* Besoft — its own line, shown last and set apart from the slimming menu */
.h-care { margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--line); }
.h-care h3 { margin-top: 4px; font-family: 'Gilda Display', 'Songti SC', 'STSong', 'Noto Serif SC', serif; font-weight: 400; font-size: max(22px, calc(60 * var(--u))); color: var(--brown-dk); }
.h-care .h-sub { margin-bottom: 18px; }
.h-card.h-besoft { background: #FBF4F3; border-color: #F1E1DF; text-align: left; }
.h-card.h-besoft .h-tier { color: #C9827C; }

/* ---------- page transitions ----------
   Chrome / Edge / Safari 18.2+: the browser cross-fades between pages (View Transitions).
   Other browsers: product.js / home.js add .pt-in on load and .pt-out before leaving. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: fyca-page-out .28s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: fyca-page-in .5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes fyca-page-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes fyca-page-in { from { opacity: 0; transform: translateY(18px); } }
.pt-in .page { animation: fyca-page-in .5s cubic-bezier(.2, .7, .2, 1) both; }
.pt-out .page { animation: fyca-page-out .24s cubic-bezier(.4, 0, 1, 1) both; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .pt-in .page, .pt-out .page { animation: none; }
}
/* launch: hide placeholder tags and art until the real photos arrive */ .ph { display: none !important; } img[src*="/ph-"] { visibility: hidden; }