:root {
  color-scheme: dark;
  --deep: #151515;
  --gold: #e7c978;
  --copper: #d9987d;
  --silver: #d2d0cd;
  --leaf: #bbce83;
  --ink: #f5efe5;
  --muted: #d0c9bf;
  --border: #4b4b4b;
  --shadow: 0 15px 44px #0005;
}

body { background: #181818; }
.topbar { background: #101010; color: var(--silver); }
.topbar b, .section-head .eyebrow, .editorial-kicker,
.eyebrow, .hero .eyebrow { color: var(--gold); }
.header { background: #1b1b1bfa; border-color: var(--border); }
.official-header-logo {
  box-sizing: content-box;
  height: calc(58px + 2pt);
  padding-block: 5px;
}
.official-footer-tile {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.official-header-logo,
.official-footer-tile img { filter: url("#fulvika-white-wordmark"); }
.header .nav {
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-evenly;
  gap: clamp(8px, 1vw, 14px);
  font-size: clamp(14px, 1.3vw, 16px);
}
.header .nav a { white-space: nowrap; }
@media (min-width: 1001px) {
  .header .head-inner { gap: clamp(12px, 1.5vw, 22px); }
  .header .brand-official { flex: none; min-width: 0; }
  .header .actions { flex: none; }
}
.nav a:hover, .mobile-nav a:hover, .footer a:hover { color: var(--gold); }
.iconbtn, .iconbtn:hover { background: #2a2a2a; color: var(--silver); border-color: var(--border); }
@media (min-width: 741px) and (max-width: 1000px) {
  .header .nav { display: none; }
  .header .brand-official { min-width: 0; }
  .header .mobilemenu { display: grid; }
  .header .mobile-nav {
    position: absolute;
    inset: 100% 0 auto;
    padding: 15px 25px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .header .mobile-nav.open { display: grid; gap: 15px; }
}
.count { background: var(--leaf); border-color: #2a2a2a; color: #161b11; }
.header .mobile-nav {
  top: 100%;
  max-height: calc(100dvh - var(--site-header-height, 88px));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #222222;
  border-color: var(--border);
}

.hero {
  color: var(--ink);
  background: linear-gradient(112deg, #171717, #292929 66%, #393939);
}
.hero h1 { color: var(--ink); }
.hero h1 em { color: var(--gold); }
.hero p, .hero-note, .story-copy p, .editorial p, .cta p { color: var(--muted); }
.hero-note span:before, .story-point span, .faq summary:after { color: var(--leaf); }
.float-label { background: #202020f2; border: 1px solid var(--border); color: var(--silver); }
.float-label b { color: var(--gold); }

.btn.gold, .btn.dark, .add {
  background: linear-gradient(126deg, #efd58d, #ceaa5b);
  color: #241b0c;
}
.btn.gold:hover, .btn.dark:hover, .add:hover { background: #f4d98e; color: #241b0c; }
.btn.line, .outline { color: var(--ink); border-color: #a5937b; background: #21212170; }
.btn.line:hover, .outline:hover { background: #393939; }
#benefits .ingredient-benefit-title {
  font-family: "Noto Sans Thai", "Noto Sans", sans-serif;
  font-weight: 700;
}

.benefit, .benefit:last-child { border-color: var(--border); }
.bicon { background: #333826; color: var(--leaf); }
.feature-banner { background: linear-gradient(120deg, #262a20, #363b2b); color: #f2eddf; }
.feature-care { background: linear-gradient(120deg, #303030, #484848); color: #f5ebe1; }
.feature-link { color: var(--leaf); }
.feature-care .feature-link { color: #f0b9a1; }

.shop { background: #222222; }
.toolbar, .product-foot { border-color: var(--border); }
.chip, .search { background: #2b2b2b; border-color: #717171; color: var(--ink); }
.chip.active { background: var(--leaf); color: #202716; border-color: var(--leaf); }
.search input { color: var(--ink); }
.search input::placeholder { color: var(--muted); opacity: 1; }
.product { background: #2b2b2b; border: 1px solid var(--border); }
.product:hover { box-shadow: var(--shadow); }
.product-art { background: #4e4e4e !important; }
.product:nth-child(2) .product-art { background: #555555 !important; }
.product:nth-child(3) .product-art { background: #464646 !important; }
.tag { background: #252525ef; color: var(--silver); }
.product-body .category { color: var(--copper); }
.price, .cart-price { color: var(--gold); }
.shop-note, .totalnote { color: var(--muted); }

.editorial, .video-section { background: #292929; }
#video-heading { color: var(--white); }
.editorial h2 { color: var(--ink); }
.editorial h2 i {
  --headline-shine-base: var(--copper);
  --headline-shine-highlight: #ffceb8;
  --headline-shine-glow: #d9987db3;
  color: var(--copper);
  font-style: normal;
}
.video-links .video-watch-link { color: var(--gold); }
.story { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin-inline: auto; }
.story-point, .faq { border-color: var(--border); }
.faq-section { background: #222222; }
.cta { background: #343434; border: 1px solid #866346; }
.footer { background: #111111; color: var(--silver); }
.footer p, .footer a, .footbottom { color: var(--silver); }
.footbottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
.visitor-count strong { color: var(--gold); font-variant-numeric: tabular-nums; }
.footer h4 { color: var(--gold); }

.overlay { background: #101010cc; }
.drawer { background: #222222; color: var(--ink); }
.drawer-head, .cartline, .carttotal { border-color: var(--border); }
.close, .cart-thumb, .qty button { background: #343434; color: var(--ink); }
.remove { color: var(--copper); }
.toast { background: #333d27; color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible,
summary:focus-visible, .video-links a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 740px) {
  .official-header-logo { height: calc(54px + 2pt); padding-block: 4px; }
}

/* Share the hero's height with the two sections immediately below it. */
main { --home-panel-height: clamp(320px, 54vw, 700px); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-snap-type: y proximity; }
  html.shop-jump { scroll-snap-type: none; scroll-behavior: auto; }
  main > section,
  main > .obrien-categories,
  #contact {
    scroll-snap-align: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Full-width landscape and spacious editorial sections. */
.hero { background: #242424; }
.hero-landscape {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  --landscape-position: center;
}
.hero-landscape video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--landscape-position);
}
.hero-landscape::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #111111 2%, #141414ed 28%, #17171759 68%, #14141430),
    linear-gradient(0deg, #181818 0%, transparent 36%);
}
.hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  min-height: clamp(620px, 82svh, 860px);
  padding-block: 40px 90px;
  gap: 28px;
}
.hero h1 {
  font-size: clamp(43px, 6.1vw, 90px);
  line-height: 1.22;
  letter-spacing: -.045em;
  margin-block: 22px;
}
.hero p { color: #eee9df; }
.hero-note { color: #ded9cf; }
.hero-product { height: clamp(400px, 43vw, 560px); }
.hero-product svg { height: 100%; filter: drop-shadow(16px 28px 26px #0008); }
.float-label { bottom: 6%; }
.hero h1 em { display: inline-block; }

.editorial {
  display: grid;
  align-items: center;
  min-height: var(--home-panel-height);
  padding-block: clamp(24px, 5vw, 72px);
  background: linear-gradient(120deg, #1d1d1d, #303030);
  border-block: 1px solid var(--border);
}
.editorial-inner { width: 100%; max-width: 1240px; }
.editorial h2,
.editorial .editorial-kicker { font-size: clamp(29.4px, 4.2vw, 57.4px); line-height: 1.2; }
.editorial .editorial-kicker { display: block; letter-spacing: normal; text-wrap: balance; }
.editorial-inner { container-type: inline-size; }
.editorial p {
  max-width: 100%;
  margin-inline: auto;
  font-size: min(28.8px, 3.2cqi);
  white-space: nowrap;
}
main > .obrien-categories {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1.5vw, 16px);
  padding-block: clamp(18px, 3vw, 32px) 12px;
}
.obrien-categories > .feature-banner {
  min-height: clamp(100px, 12vw, 154px);
  padding: clamp(11px, 2.5vw, 25px);
  justify-content: center;
}
main > .benefits {
  margin-block: 0;
  padding-block: 4px clamp(20px, 3vw, 36px);
}
.feature-banner {
  min-height: clamp(250px, 29vw, 390px);
  border: 1px solid #5e6650;
}
.feature-care { border-color: #696159; }
.section { padding-block: clamp(72px, 9vw, 132px); }
.section-head { margin-bottom: clamp(34px, 4.5vw, 68px); }
.section-head h2 { font-size: clamp(36px, 5vw, 66px); line-height: 1.22; }
.video-section .section-head { margin-bottom: 42px; }

@media (max-width: 740px) {
  .hero-landscape { --landscape-position: 62% center; }
  .hero-landscape::after {
    background: linear-gradient(180deg, #141414df, #151515ad 58%, #181818);
  }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); min-height: auto; padding-block: 32px 24px; gap: 4px; }
  .hero h1 { font-size: clamp(37px, 8.8vw, 58px); }
  .hero-product { height: clamp(270px, 72vw, 380px); }
  .float-label { bottom: 4%; right: 0; }
}

.hero-packshot {
  display: block;
  width: auto;
  max-width: 100%;
  height: min(100%, 540px);
  object-fit: contain;
  filter: drop-shadow(0 18px 24px #0008);
}
.product-packshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-product .float-label { right: 1%; bottom: 5%; }
@media (max-width: 740px) {
  .hero-packshot { height: 100%; }
  .hero-product .float-label { right: 0; bottom: 3%; }
}

/* Keep the warm light steady at first paint, then bring up the clouds. */
.hero { isolation: isolate; }
.hero::after {
  content: "";
  position: absolute;
  inset: -8% 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 43% 42% at 87% 26%,
    rgb(255 222 157 / 60%), rgb(249 180 101 / 31%) 38%, transparent 100%);
  opacity: .36;
}
.hero-grid { z-index: 1; }
.hero .cloud-bank {
  position: absolute;
  inset: 15% auto auto 18%;
  width: 90%;
  height: 71%;
  pointer-events: none;
  object-fit: fill;
  opacity: 0;
}
@media (max-width: 740px) {
  .hero .cloud-bank { inset: 18% auto auto -9%; width: 141%; height: 78%; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero.is-dawn-ready::after { animation: mountain-sunrise 16.386s ease-in-out infinite; }
  @keyframes mountain-sunrise {
    0%, 100% { opacity: .36; }
    58% { opacity: .72; }
  }
  .hero.is-dawn-ready .cloud-bank {
    --cloud-cycle: 13.655s;
    animation: rising-clouds var(--cloud-cycle) linear infinite, cloud-fade var(--cloud-cycle) ease-in-out infinite;
  }
  .hero.is-dawn-ready .cloud-bank + .cloud-bank { animation-delay: calc(var(--cloud-cycle) / 2); }
  @keyframes rising-clouds {
    from { transform: translate3d(-1%, 11%, 0); }
    to { transform: translate3d(1%, -8%, 0); }
  }
  @keyframes cloud-fade {
    0%, 4%, 96%, 100% { opacity: 0; }
    48% { opacity: .64; }
  }
}

#product-info { margin:auto; width:min(92vw,880px); height:85vh; height:85dvh; padding:0; color:#fff; background:#202020; border:1px solid #756849; border-radius:14px; overflow:hidden; }
#product-info[open] { display:flex; flex-direction:column; }
#product-info::backdrop { background:#000b; }
.info-controls { display:flex; gap:16px; align-items:center; padding:12px 16px; }
.info-controls strong { margin-right:auto; }
.info-controls a { color:var(--gold); }
.info-controls button { padding:8px 14px; color:white; background:#343434; border:1px solid #777; border-radius:5px; cursor:pointer; }
.info-pages { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; }
.info-pages img { display:block; width:100%; height:auto; margin:0 auto 8px; }
@media (prefers-reduced-motion:no-preference) {
  #product-info[open] { animation:info-open .36s ease-out; }
  #product-info[open]::backdrop { animation:info-dim .36s ease-out; }
  @keyframes info-open { from { opacity:0; transform:translateY(9px); } to { opacity:1; transform:translateY(0); } }
  @keyframes info-dim { from { opacity:0; } to { opacity:1; } }
}

@media (min-width: 741px) and (max-width: 1000px) {
  .header .brand-official { margin-inline-start: clamp(8px, 1.5vw, 22px); }
}

#products .product { display: flex; flex-direction: column; padding: 0; }
#products .product-art { width: 100%; height: auto; aspect-ratio: 4 / 5; }
#products .product-art > svg { width: 100%; height: 100%; }
#products .product > .add { width: 100%; justify-content: center; }

#product-drink .product-art > .product-packshot {
  position: absolute;
  z-index: 1;
  inset: 9% 7%;
  width: 86%;
  height: 82%;
  object-fit: contain;
  object-position: center;
}

#products .product-art > .sunscreen-photo,
#products .product-art > .lipbalm-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#products .product-art:has(> .lipbalm-photo) {
  background: #f3e3d7 !important;
}
#products .product-art:has(> .lipbalm-photo) > .maple-shadow {
  z-index: 1;
}
#products .product-art > .lipbalm-photo {
  inset: 7.5%;
  width: 85%;
  height: 85%;
  object-fit: contain;
}

@media (min-width: 741px) {
  #products:has(> #product-drink):has(> #product-serum) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  #products:has(> #product-drink):has(> #product-serum) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

#product-serum .product-art {
  isolation: isolate;
  background:
    radial-gradient(ellipse at 25% 20%, #fff5ec, transparent 68%),
    #f3e3d7 !important;
}
#product-serum .product-art::after {
  content: "";
  position: absolute;
  inset: 81% 20% 10%;
  pointer-events: none;
  background: radial-gradient(ellipse, #6d493481 0%, #6d493435 34%, transparent 70%);
}
#products .product-art > .serum-photo {
  position: absolute;
  z-index: 1;
  inset: 12% 8% 14%;
  width: 84%;
  height: 74%;
  object-fit: contain;
  object-position: center;
}

#product-drink .product-art {
  isolation: isolate;
  background:
    radial-gradient(ellipse at 24% 20%, #fff5ec 0%, transparent 64%),
    linear-gradient(180deg, #f3e2d5 50%, #eed9c8 80%, #f6e7d9 100%) !important;
}
#products .maple-shadow {
  position: absolute;
  inset: -7% -5% auto auto;
  width: 54%;
  aspect-ratio: 1;
  transform: rotate(34deg);
  opacity: .12;
  filter: blur(clamp(5px, .65vw, 10px));
  pointer-events: none;
}
#products .maple-shadow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #72533c;
  clip-path: polygon(50% 1%, 57% 21%, 64% 15%, 61% 40%, 83% 24%, 80% 36%,
    98% 34%, 92% 49%, 99% 55%, 77% 69%, 80% 77%, 53% 74%, 53% 100%,
    48% 100%, 49% 74%, 20% 77%, 23% 69%, 1% 55%, 8% 48%, 2% 34%,
    21% 36%, 17% 24%, 39% 40%, 36% 15%, 43% 21%);
}
#product-drink .product-art::after {
  content: "";
  position: absolute;
  inset: 77% 8% 5%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 33% 9% at 40% 27%, #4930247d, transparent 100%),
    radial-gradient(ellipse 17% 10% at 71% 35%, #49302482, transparent 100%),
    radial-gradient(ellipse 48% 34% at 58% 37%, #6d493454, transparent 100%);
}

.hero h1.brand-headline {
  font-size: clamp(31.5px, 3.57vw, 56.7px);
  position: relative;
  inset-block-start: .725em;
  inset-inline-end: var(--hero-copy-offset);
  line-height: 1.45;
  letter-spacing: normal;
  text-wrap: balance;
  text-align: center;
}
.hero .brand-headline em {
  display: block;
  color: var(--gold);
  position: relative;
  inset-block-start: .5in;
}

.hero .headline-intro {
  display: grid;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  font-size: min(1em, 7vw);
  text-align: end;
}
.hero .headline-opening {
  font-size: min(1em, 5.32vw);
}
.hero .brand-headline { margin-block-start: 0; }
.hero .hero-grid { padding-block-start: 10px; }
@media (min-width: 741px) {
  .hero .hero-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    padding-block-end: 145px;
  }
}

.hero { --hero-copy-offset: clamp(0px, calc((100vw - 1200px) / 2), 1in); }
.hero .hero-buttons .btn { transition-duration: .154s; }
.hero .hero-buttons {
  margin-block-start: calc(29px + clamp(40px, 4vw, 56px));
  justify-content: center;
  position: relative;
  inset-inline-end: var(--hero-copy-offset);
  inset-block-start: 1in;
}
.hero { padding-block-end: 1in; }
@media (min-width: 741px) {
  .hero .hero-grid {
    padding-block-end: calc(145px - clamp(40px, 4vw, 56px));
  }
}

.hero .headline-phrase { white-space: nowrap; }

.story-copy .story-paragraph {
  font-size: calc(19.5px + 3pt);
  line-height: 1.75;
  margin-block: 0 0.9em;
}
#about .story-copy h2 {
  color: var(--copper);
  font-size: min(39px, 5.65cqi);
  white-space: nowrap;
}
#about .story-paragraph { color: var(--silver); }
.feature-information .story-point { color: var(--silver); }
.feature-information .story-point span { color: var(--gold); }
#about .story-copy .story-tagline {
  color: var(--gold);
  font-size: min(calc(29.9px + 4.6pt), calc(5.5vw - 2.64px));
  font-weight: 400;
  line-height: 1.5;
  text-wrap: balance;
}

#shop { padding-block-start: clamp(16px, 2vw, 28px); }
#shop .section-head {
  --shop-heading-offset: calc(2pt + 1.10cm);
  margin-block-end: max(clamp(40px, 5vw, 70px), calc(var(--shop-heading-offset) + 12px));
}
#shop .section-head h2 {
  font-size: clamp(25.2px, 3.5vw, 46.2px);
  margin-block: 0;
  color: var(--gold);
  position: relative;
  inset-block-start: var(--shop-heading-offset);
}

.shop-order {
  box-sizing: border-box;
  width: min(420px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #292929;
  color: var(--silver);
  text-align: center;
}
.shop-order::backdrop { background: #000a; }
.shop-order h3 { margin: 0 0 8px; color: var(--gold); }
.shop-order p { margin: 0 0 16px; }
.shop-order > a { display: inline-block; }
.shop-order img { display: block; width: 184px; max-width: 100%; height: auto; }
.shop-order form { margin-top: 12px; }
.shop-order .btn { margin: 0; }
#products .order-link { font-size: calc(12px + 2pt); height: auto; min-height: 44px; }

/* Clip the moving highlight to the Thai letterforms. */
.hero .brand-headline em,
#about .story-copy .story-tagline,
#shop .section-head h2,
.editorial h2 i {
  filter: drop-shadow(0 0 7px var(--headline-shine-glow, #f4bc52b3));
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .hero .brand-headline em,
  #about .story-copy .story-tagline,
  #shop .section-head h2,
  .editorial h2 i {
    background-image: linear-gradient(110deg, var(--headline-shine-base, var(--gold)) 35%, var(--headline-shine-highlight, #fff5c7) 50%, var(--headline-shine-base, var(--gold)) 65%);
    background-size: 240% 100%;
    background-position: 50% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero .brand-headline em {
    background-image: linear-gradient(110deg, transparent 39%, #fff5c7 50%, transparent 61%),
      linear-gradient(var(--gold), var(--gold));
    background-size: 240% 100%, 100% 100%;
    background-position: 145% 50%, center;
    background-repeat: no-repeat;
  }
  @media (prefers-reduced-motion: no-preference) {
    .hero.is-dawn-ready .brand-headline em { animation: hero-letter-shine 12.308s linear infinite; }
    @keyframes hero-letter-shine {
      from { background-position: 145% 50%, center; }
      to { background-position: -45% 50%, center; }
    }
    #about .story-copy .story-tagline,
    #shop .section-head h2,
    .editorial h2 i { animation: headline-letter-shine 16s linear infinite; }
    @keyframes headline-letter-shine {
      from { background-position: 100% 50%; }
      to { background-position: 0% 50%; }
    }
  }
}
.hero .headline-herbs { font-size: min(1em, 7vw); }

.nature-panel {
  background: #20211c;
}
.nature-panel > .container {
  max-width: none;
  padding-inline: 0;
}
.nature-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: var(--home-panel-height);
  overflow: hidden;
  background: #26301e;
}
#rhythm:target .nature-frame {
  min-height: calc(100svh - var(--site-header-height, 88px));
}
.nature-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nature-copy {
  position: relative;
  container-type: inline-size;
  z-index: 1;
  width: min(100%, 1140px);
  padding: clamp(22px, 5vw, 58px);
  font-family: "Noto Sans Thai", "Noto Sans", sans-serif;
  font-size: clamp(39.6px, 5.4vw, 68.4px);
  font-weight: 400;
  line-height: 1.65;
  text-align: center;
  text-shadow: 0 1px 3px #10150b, 0 2px 9px #10150be6, 0 0 18px #10150bb3;
  -webkit-text-stroke: 1px #10150b;
  paint-order: stroke fill;
}
.nature-line {
  min-width: 0;
  margin: 0;
  font: inherit;
  color: #fff;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.nature-line + .nature-line { margin-block-start: .7em; }
.nature-line strong { font-weight: inherit; }
.nature-rows > span {
  display: block;
  font-size: min(1em, var(--row-fit-size, 6.65cqi));
  white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .nature-animated .nature-copy { display: grid; align-items: center; }
  .nature-animated .nature-line {
    grid-area: 1 / 1;
    margin: 0;
    opacity: 0;
  }
  .nature-sequence-active .nature-line {
    animation: nature-text-loop 60s ease-in-out infinite backwards paused;
  }
  .nature-in-view .nature-line { animation-play-state: running; }
  .nature-sequence-active .nature-line:nth-child(2) { animation-delay: 10s; }
  .nature-sequence-active .nature-line:nth-child(3) { animation-delay: 20s; }
  .nature-sequence-active .nature-line:nth-child(4) { animation-delay: 30s; }
  .nature-sequence-active .nature-line:nth-child(5) { animation-delay: 40s; }
  .nature-sequence-active .nature-line:nth-child(6) { animation-delay: 50s; }
  .nature-sequence-active .nature-quote > span {
    animation: nature-quote-reveal 60s ease-in-out infinite backwards paused;
    animation-delay: calc(50s + var(--part) * 650ms);
  }
  .nature-in-view .nature-quote > span { animation-play-state: running; }
  @keyframes nature-quote-reveal {
    from { opacity: 0; }
    1.5%, to { opacity: 1; }
  }
  @keyframes nature-text-loop {
    0%, 16.6667%, 100% { opacity: 0; }
    1.5%, 15.17% { opacity: 1; }
  }
}

.editorial-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.editorial-copy {
  --editorial-line-gap: clamp(10px, 1.35vw, 20px);
  container-type: inline-size;
  display: grid;
  gap: var(--editorial-line-gap);
  text-align: end;
}
.editorial .editorial-kicker,
.editorial h2 {
  font-size: min(44.965px, 6.6125cqi);
  line-height: 1.35;
}
.editorial .editorial-kicker { white-space: nowrap; text-wrap: nowrap; }
.editorial h2 {
  display: grid;
  gap: var(--editorial-line-gap);
  margin: 0;
}
.editorial .editorial-copy p {
  margin: 0;
  font-size: min(26.45px, 3.795cqi);
  line-height: 1.35;
}
.editorial .editorial-copy .editorial-slogan {
  position: relative;
  inset-block-start: 0.50cm;
  color: var(--gold);
  font-family: "Noto Sans", sans-serif;
  font-size: min(44px, 7.9cqi);
  font-weight: 400;
}
.slogan-letters, .slogan-word, .slogan-letter { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .editorial-slogan.slogan-pending .slogan-letters { opacity: 0; }
  .editorial-slogan.slogan-visible .slogan-letters {
    animation: slogan-cycle 16s ease-in-out infinite;
  }
  .editorial-slogan.slogan-visible .slogan-letter {
    animation: slogan-letter-in 16s ease-out infinite backwards;
    animation-delay: calc(var(--letter) * 220ms);
  }
  @keyframes slogan-letter-in {
    0% { opacity: 0; }
    4%, 72% { opacity: 1; }
    73%, 100% { opacity: 0; }
  }
  @keyframes slogan-cycle {
    0%, 58% { opacity: 1; }
    71%, 100% { opacity: 0; }
  }
}
.editorial-video {
  display: block;
  width: 100%;
  height: auto;
  justify-self: center;
  background: #141710;
  border: 1px solid #ad8858;
  border-radius: 14px;
  box-shadow: 0 16px 38px #0006;
}
@media (max-width: 740px) {
  .editorial { padding-block: 24px; }
  .editorial-inner { grid-template-columns: minmax(0, 1fr); }
  .editorial-video {
    max-width: 620px;
  }
}

#about {
  display: grid;
  align-items: center;
  min-height: var(--home-panel-height);
  padding-block: clamp(18px, 4vw, 64px);
  background: #000;
}
#about > .story {
  width: 100%;
  max-width: 1640px;
  gap: clamp(12px, 2vw, 32px);
}
.story-visual {
  min-width: 0;
  width: min(100%, 820px);
  margin-inline: auto;
  align-self: center;
}
.story-visual video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: clamp(8px, 1vw, 16px);
  background: #000;
}
@media (min-width: 960px) {
  #about > .story { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
}
#about .story-copy {
  position: relative;
  display: grid;
  container-type: inline-size;
  gap: clamp(16px, 2vw, 28px);
  width: min(100%, 720px);
  margin-inline: auto;
  text-align: center;
}
#about .story-copy > :is(h2, p) { margin: 0; }
#about .story-copy .story-paragraph {
  font-size: clamp(19px, 2vw, 27.5px);
  text-wrap: balance;
}
html[lang="th"] #about .story-copy .story-experience {
  text-align: end;
  translate: calc(-1 * var(--experience-end-inset, 0px)) 0;
}
@container (min-width: 29rem) {
  html[lang="en"] #about .story-copy .story-experience {
    inline-size: max-content;
    justify-self: center;
  }
  .story-experience > :is(.story-aligned-line, .story-closing-line) {
    display: block;
  }
  .story-experience > .story-aligned-line {
    /* Let the centered closing line set the shared right edge. */
    contain: inline-size;
    white-space: nowrap;
    text-align: end;
  }
  .story-experience > .story-centered-line {
    text-align: center;
  }
}
#about .story-origin > span { white-space: nowrap; }

:is(.feature-information, .feature-news) .story-video-link { text-decoration: underline; text-underline-offset: .2em; }
.feature-information .story-video-link:hover,
.feature-information .story-video-link:focus-visible { color: var(--gold); }

.feature-information h2,
.feature-news h2 {
  margin: 0;
  color: var(--gold);
  max-width: 100%;
  font-size: clamp(18px, 3.5vw, 34px);
  line-height: 1.25;
}
.feature-news h2 {
  color: var(--copper);
  font-weight: 400;
}
.feature-news .story-video-link:hover,
.feature-news .story-video-link:focus-visible {
  color: var(--copper);
}
.feature-information { --topic-accent: var(--gold); }
.feature-news { --topic-accent: var(--copper); }
.topic-trigger, .topic-dialog-header button {
  min-height: 44px;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.topic-trigger {
  display: flex;
  align-items: center;
  gap: .45em;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: start;
  overflow-wrap: anywhere;
}
.topic-trigger span { font-size: .64em; }
.topic-trigger:hover span { text-decoration: underline; }
.topic-trigger:focus-visible, .topic-dialog button:focus-visible,
.topic-dialog a:focus-visible {
  outline: 2px solid var(--topic-accent);
  outline-offset: 3px;
}
.topic-count { margin: 4px 0 8px; font-size: 1rem; color: var(--silver); }
.topic-dialog {
  width: min(650px, calc(100% - 28px));
  max-height: 84vh;
  max-height: 84dvh;
  margin: auto;
  padding: 0;
  overscroll-behavior: contain;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #222221;
  color: var(--silver);
}
.topic-dialog::backdrop { background: #000b; }
.topic-dialog-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px clamp(16px, 4vw, 28px);
  border-bottom: 1px solid var(--border);
  background: #222221;
}
.topic-dialog-header h3 { margin: 0; color: var(--topic-accent); font-size: clamp(21px, 4vw, 30px); }
.topic-dialog-header button {
  min-width: 52px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
}
.topic-options { padding: 6px clamp(16px, 4vw, 28px) 16px; }
.topic-options :is(.story-video-link, .topic-pending) {
  display: block;
  min-height: 44px;
  padding: 10px 0;
  color: var(--silver);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.topic-options :is(.story-video-link, .topic-pending):last-child { border-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .topic-dialog[open] { animation: info-open .24s ease-out; }
}

/* Shared corner sizes for panels and their controls. */
.feature-banner, .product, .cta, .editorial-video, #product-info {
  border-radius: 16px;
}
.btn, .iconbtn, .chip, .search, .add, .tag, .float-label, .info-controls button {
  border-radius: 8px;
}
.mobile-nav { border-radius: 0 0 12px 12px; }
.drawer { border-radius: 16px 0 0 16px; }

.footer .footer-brand-cell { align-self: center; }

.faq-line-order { padding: 0 5px 23px; }
.faq-line-order p { padding: 0; margin-bottom: 12px; }
.faq-line-order a { display: inline-block; }
.faq-line-order img {
  display: block;
  width: 222px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.language-switch {
  display: inline-flex;
  flex: none;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
}
.language-switch a {
  display: grid;
  min-width: 28px;
  min-height: 28px;
  place-items: center;
  border-radius: 999px;
  color: var(--silver);
  font: 700 .75rem/1 "Noto Sans", sans-serif;
  text-decoration: none;
}
.language-switch a[aria-current="page"],
.language-switch a:hover { color: #171717; background: var(--gold); }
.language-switch a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
html[lang="en"] .hero .headline-phrase,
html[lang="en"] .nature-rows > span,
html[lang="en"] #about .story-origin > span { white-space: normal; }
html[lang="en"] .nature-copy { font-size: clamp(21px, 4.4vw, 54px); }
html[lang="en"] .topic-options small {
  display: block;
  color: var(--muted);
  font-size: .875rem;
}
.info-language-note { margin: 0; padding: .75rem 1rem; }

.music-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--copper);
  background: #241b18;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.music-toggle[aria-pressed="true"] { background: var(--copper); color: #241b18; border-color: var(--copper); }
.music-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.music-toggle-icon { position: relative; width: 25px; height: 24px; color: inherit; }
.music-toggle-icon::before, .music-toggle-icon::after {
  position: absolute;
  content: "";
}
.music-toggle-icon::before {
  inset: 3px 10px 3px 2px;
  background: currentColor;
  clip-path: polygon(0 32%, 39% 32%, 100% 0, 100% 100%, 39% 68%, 0 68%);
}
.music-toggle-icon::after {
  top: 6px;
  right: 1px;
  width: 8px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-radius: 50%;
}
.music-toggle[aria-pressed="false"] .music-toggle-icon::after {
  top: 5px;
  right: 3px;
  width: 2px;
  height: 14px;
  background: currentColor;
  border: 0;
  border-radius: 1px;
  transform: rotate(-36deg);
}
@media (max-width: 380px) {
  .header .head-inner { gap: 6px; }
  .header .actions { gap: 5px; }
  .header .official-header-logo { height: clamp(42px, 15vw, 56px); }
}
