/* KronoLife — site styles. Built from the Figma "Kronolife Website" frames
   (Home 1:56 · About 1:91 · Products 70:713 · Awards 54:1036 · Contact 54:1315).
   Fonts in Figma: Athelas (display) → Crimson Pro here · Mitr (Thai) · Inter (UI). */

:root {
  --ink: #1b120d;
  --text: #2c2622;
  --muted: #6d645d;
  --gold: #c99a36;            /* gold text, large sizes only */
  --gold-deep: #9a7220;       /* gold text at small sizes (AA on white) */
  --gold-1: #edbd5f;
  --gold-2: #f2d892;
  --gold-soft: #f0d68c;
  --cream: #fcf8ee;
  --sky: #edf4fc;
  --line: #e7d5aa;
  --card-line: #efefef;
  --teal: #2a9d97;
  --white: #ffffff;

  --serif: "Crimson Pro", "Athelas", Georgia, serif;
  --thai: "Mitr", "Noto Sans Thai", sans-serif;
  --ui: "Inter", "Mitr", system-ui, sans-serif;

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(60, 40, 10, .08);
  --shadow-sm: 0 4px 16px rgba(60, 40, 10, .07);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--thai);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--ink); line-height: 1.25; }
ul, ol { margin: 0; padding: 0; }
nb { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.center { text-align: center; }

/* ---------- type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.2vw, 88px);
  line-height: 1.04;
  letter-spacing: -.005em;
  color: var(--ink);
}
.title-serif {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.15;
}
.title-caps { text-transform: uppercase; letter-spacing: .01em; }
.title-th { font-family: var(--thai); font-weight: 400; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.45; color: var(--ink); }
.title-th--sm { font-size: clamp(19px, 1.9vw, 24px); }
.eyebrow-gold { font-family: var(--ui); color: var(--gold); font-weight: 400; font-size: clamp(17px, 1.6vw, 22px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); }
.muted { color: var(--muted); }
.note { font-size: 14px; color: var(--muted); line-height: 1.6; }
.mark {
  display: inline-block;
  background: var(--gold-soft);
  padding: 2px 10px;
  font-weight: 400;
  color: var(--ink);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.rule-title { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); justify-content: center; }
.rule-title::before, .rule-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line)); }
.rule-title::after { background: linear-gradient(90deg, var(--line), transparent); }
.rule-title > * { flex: none; }
.gold-rule { width: min(900px, 100%); height: 1px; background: var(--line); margin: 14px auto; border: 0; }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h);
  padding: 0 28px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  color: var(--ink);
  font-family: var(--thai);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(201, 154, 54, .28); filter: saturate(1.08); }
.btn--sm { --h: 36px; padding: 0 16px; font-family: var(--ui); font-size: 15px; }
.btn--ghost { background: #fff; border: 1px solid var(--line); }
.btn--teal { background: linear-gradient(90deg, #22a7a0, #63d7d1); color: #05322f; }
.btn--sky { background: linear-gradient(90deg, #7fb2ec, #b4d3f5); color: #0d2b4d; }
.btn--shopee { background: #fff; border: 1px solid #ee4d2d; color: #ee4d2d; padding: 0 22px; }
.btn--shopee img { height: 26px; width: auto; }
.btn--line { background: #06c755; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-family: var(--ui); font-size: 14px; color: var(--muted); text-decoration: none; }
.link-arrow:hover { color: var(--ink); }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 2px 18px rgba(0, 0, 0, .06); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand img { height: 60px; width: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); margin-left: auto; }
.main-nav__list { list-style: none; display: flex; gap: clamp(18px, 3.2vw, 50px); }
.main-nav__list a {
  font-family: var(--ui); font-size: 16px; font-weight: 400; color: var(--ink); text-decoration: none;
  position: relative; padding: 6px 0;
}
.main-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--gold-1); transform: scaleX(0); transition: transform .25s;
}
.main-nav__list a:hover::after, .main-nav__list a[aria-current]::after { transform: scaleX(1); }
.main-nav__aside { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; font-family: var(--ui); font-size: 14px; }
.lang__item { padding: 0 6px; color: var(--muted); text-decoration: none; }
.lang__item + .lang__item { border-left: 1px solid var(--ink); }
.lang__item.is-active { color: var(--ink); font-weight: 500; }
a.lang__item:hover { color: var(--gold-deep); }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .brand img { height: 48px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px;
  }
  .nav-toggle__bar { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-top: 1px solid #f1ece2; box-shadow: 0 18px 30px rgba(0, 0, 0, .08);
    padding: 8px var(--gutter) 22px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav__list { flex-direction: column; gap: 0; }
  .main-nav__list a { display: block; padding: 14px 2px; font-size: 18px; border-bottom: 1px solid #f3eee4; }
  .main-nav__list a::after { display: none; }
  .main-nav__list a[aria-current] { color: var(--gold-deep); }
  .main-nav__aside { justify-content: space-between; padding-top: 18px; }
  .main-nav__aside .btn { --h: 44px; font-size: 16px; padding: 0 22px; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: #fbf9f6; }
.hero__media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: var(--hero-pos, 70% center);
}
.hero__media::after { /* soft white fade at the bottom like the Figma frames */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%;
  background: linear-gradient(transparent, #fff);
}
.hero__inner {
  position: relative;
  min-height: clamp(560px, 58vw, 820px);
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 40px; padding-bottom: 80px;
}
.hero__text { max-width: 880px; }
.hero__text .eyebrow-gold { margin: 22px 0 10px; }
.hero__text .tagline { font-family: var(--ui); font-weight: 400; font-size: clamp(16px, 1.45vw, 21px); color: #2a2522; margin: 0 0 34px; }
.dot-list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; list-style: none; }
.dot-list li + li::before { content: "·"; margin-right: 18px; color: var(--gold); }
.hero--short .hero__inner { min-height: clamp(380px, 34vw, 520px); }
.hero--fade .hero__media::before { /* keeps headline readable over busy photos */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.7) 38%, rgba(255,255,255,0) 68%);
}
@media (max-width: 760px) { .hero--fade .hero__media::before { display: none; } }
.hero--banner { height: clamp(180px, 22vw, 320px); }

@media (max-width: 760px) {
  .hero { display: flex; flex-direction: column-reverse; background: #fff; }
  .hero__media { position: relative; inset: auto; aspect-ratio: 4 / 3; background-position: var(--hero-pos-m, 80% center); }
  .hero__media::after { top: 0; bottom: auto; height: 30%; background: linear-gradient(#fff, transparent); }
  .hero__inner { min-height: 0; padding-top: 36px; padding-bottom: 0; }
  .hero--short .hero__inner { min-height: 0; }
  .hero__text .tagline { margin-bottom: 24px; }
  .dot-list { font-size: 15px; gap: 4px 10px; }
  .dot-list li + li::before { margin-right: 10px; }
}

/* ---------- generic layouts ---------- */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split--top { align-items: start; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}
.stack > * + * { margin-top: 18px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 32px); }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards-3, .cards-2 { grid-template-columns: 1fr; } }
.section-head { max-width: 860px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head > * + * { margin-top: 12px; }

/* ---------- home: intro ---------- */
.intro-title { text-align: center; }
.intro-title .title-serif { text-transform: uppercase; font-weight: 400; letter-spacing: .01em; }
.intro-title .title-th { font-weight: 300; }
.intro-media { border-radius: 4px; overflow: hidden; background: #fbf3df; }
.intro-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- home: products teaser ---------- */
.pcat { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.pcat + .pcat { margin-top: clamp(40px, 6vw, 72px); }
.pcat__media { border-radius: 60px 4px 60px 4px; overflow: hidden; box-shadow: var(--shadow-sm); }
.pcat__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pcat--rev .pcat__media { order: 2; border-radius: 4px 60px 4px 60px; background: linear-gradient(135deg, #f4f8fd, #dfe9f6); }
.pcat--rev .pcat__media img { object-fit: contain; padding: 6% 8%; }
.pcat__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.pcat__head img { width: 56px; height: 56px; }
.pcat__head .title-th { font-size: clamp(22px, 2.2vw, 28px); }
.pcat--rev .pcat__head .title-th { color: var(--gold); }
@media (max-width: 860px) {
  .pcat { grid-template-columns: 1fr; }
  .pcat--rev .pcat__media { order: 0; }
}

/* ---------- principles ---------- */
.principles { position: relative; }
.principles::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 64%;
  background: url("../img/bg-principles.webp") center / cover no-repeat;
}
.principles > .container { position: relative; }
.pcard {
  background: #fff; box-shadow: var(--shadow);
  padding: 34px 26px 30px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.pcard img { width: 112px; height: 112px; object-fit: contain; }
.pcard h3 { font-family: var(--thai); font-weight: 400; font-size: 19px; }
.pcard p { margin: 0; font-size: 16px; line-height: 1.7; color: #3b3430; }

/* ---------- evidence steps ---------- */
.evidence { position: relative; overflow: hidden; }
.evidence__dna { position: absolute; right: -4%; top: 0; bottom: 0; width: 48%; background: url("../img/bg-dna-white.webp") center / contain no-repeat; pointer-events: none; }
.evidence .container { position: relative; }
.evidence__body { max-width: 560px; }
.evidence__rule { width: 140px; height: 1px; background: var(--ink); margin-bottom: 28px; }
.steps { list-style: none; display: grid; gap: 20px; margin-top: 30px; }
.step { display: grid; grid-template-columns: 170px 1fr; align-items: center; background: linear-gradient(90deg, transparent 0 34%, #fff 34%); }
.step img { width: 100%; height: 132px; object-fit: cover; }
.step__body { background: #fff; margin-left: -1px; padding: 14px 20px; box-shadow: -12px 0 24px rgba(0,0,0,.04); }
.step__num { font-family: var(--ui); font-size: 26px; line-height: 1; color: var(--ink); margin-bottom: 6px; display: block; }
.step__body p { margin: 0; line-height: 1.45; font-size: 17px; }
@media (max-width: 860px) {
  .evidence__dna { opacity: .35; width: 80%; right: -30%; }
  .step { grid-template-columns: 120px 1fr; }
  .step img { height: 110px; }
}

/* ---------- awards teaser (home) ---------- */
.awards-teaser { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.awards-teaser__art { background: url("../img/bg-dna-gold.webp") 72% center / cover no-repeat; min-height: 420px; }
.awards-teaser__body { padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px); text-align: center; }
.award-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 18px; }
.award-pics img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 860px) {
  .awards-teaser { grid-template-columns: 1fr; }
  .awards-teaser__art { min-height: 200px; }
}

/* ---------- partners ---------- */
.partners { background: #f6f6f7 url("../img/bg-partners.webp") center / cover no-repeat; }
.logo-grid { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 34px; align-items: center; justify-items: center; margin-top: clamp(28px, 4vw, 44px); }
.logo-grid li { height: 78px; display: flex; align-items: center; justify-content: center; width: 100%; }
.logo-grid img { max-height: 78px; max-width: 100%; width: auto; object-fit: contain; }
.logo-grid img.is-wide { max-height: 54px; }
.logo-grid img.is-tall { max-height: 84px; }
@media (max-width: 860px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 16px; } .logo-grid li { height: 52px; } .logo-grid img, .logo-grid img.is-tall { max-height: 52px; } .logo-grid img.is-wide { max-height: 36px; } }

/* ---------- article / news cards ---------- */
.acard { background: #fff; border-radius: 6px; box-shadow: 0 2px 14px rgba(0,0,0,.07); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.acard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.acard__img { aspect-ratio: 16 / 10; overflow: hidden; background: #f1ede6; }
.acard__img img { width: 100%; height: 100%; object-fit: cover; }
.acard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tag { align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; font-family: var(--ui); font-size: 13px; padding: 3px 12px; border-radius: 999px; background: #fbf1da; color: var(--gold-deep); }
.tag--research { background: #e8f1fb; color: #2f6db0; }
.tag--video { background: #fde9e7; color: #b8402b; }
.acard h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.2; }
.acard h3.th { font-family: var(--thai); font-weight: 400; font-size: 18px; line-height: 1.5; }
.acard p { margin: 0; font-size: 15px; line-height: 1.6; color: #4b4440; }
.acard .link-arrow { margin-top: auto; padding-top: 10px; }
.acard a.stretched::before { content: ""; position: absolute; inset: 0; }
.acard { position: relative; }

/* ---------- collaboration ---------- */
.collab-head { display: grid; grid-template-columns: .9fr 1.6fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.collab-head p { margin: 0; }
@media (max-width: 860px) { .collab-head { grid-template-columns: 1fr; } }
.ccard { position: relative; }
.ccard img.ccard__photo { width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; }
.ccard__label { position: relative; margin: -48px 16px 0; background: #fff; display: flex; gap: 14px; align-items: center; padding: 12px 16px; box-shadow: var(--shadow-sm); }
.ccard__label img { width: 46px; height: 46px; flex: none; }
.ccard__label p { margin: 0; font-weight: 400; color: var(--ink); line-height: 1.35; font-size: 17px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 32px; padding-top: 40px; padding-bottom: 40px; align-items: start; }
.footer__nav { display: flex; flex-direction: column; gap: 12px; font-family: var(--ui); font-size: 15px; padding-left: clamp(0px, 6vw, 80px); }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { color: var(--gold-deep); }
.footer__brand { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer__brand img { width: 260px; }
.footer__company { font-weight: 400; color: var(--ink); font-size: 19px; margin: 0; }
.social { display: flex; gap: 14px; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: var(--gold-1); display: grid; place-items: center; transition: transform .2s; }
.social a:hover { transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; fill: #fff; }
.footer__contact { font-family: var(--ui); font-size: 14.5px; line-height: 1.5; }
.footer__company-sm { font-family: var(--thai); font-weight: 400; color: var(--ink); margin: 10px 0 8px; font-size: 15px; }
.contact-list { list-style: none; display: grid; gap: 10px; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.ico { width: 22px; height: 22px; fill: var(--gold-1); margin-top: 1px; }
.footer__contact .contact-list span { font-family: var(--thai); font-weight: 300; }
.footer__bar { background: var(--gold-soft); text-align: center; padding: 12px var(--gutter); font-family: var(--ui); font-size: 14px; }
.footer__bar p { margin: 0; }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr; text-align: left; }
  .footer__brand { order: -1; }
  .footer__nav { padding-left: 0; display: grid; grid-template-columns: 1fr 1fr; }
}

/* ---------- about ---------- */
.label-box { display: inline-block; background: var(--gold-soft); padding: 4px 40px; font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); letter-spacing: .02em; color: var(--ink); }
.banner-img { border-radius: 22px; overflow: hidden; margin: 28px 0 26px; }
.banner-img img { width: 100%; aspect-ratio: 1195 / 305; object-fit: cover; }
@media (max-width: 640px) { .banner-img img { aspect-ratio: 16 / 7; object-position: 38% center; } }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 14px 0; list-style: none; }
.chips li { background: var(--gold-soft); padding: 4px 16px; color: var(--ink); font-weight: 300; }
.chips li.arrow { background: none; padding: 0; font-family: var(--ui); }
.quote { font-size: clamp(20px, 2.1vw, 27px); line-height: 1.55; color: var(--ink); font-weight: 300; margin: 6px 0 14px; }

.founder { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #fff 55%, #f2efeb 100%); }
.founder__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: end; }
.founder__name { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 6.4vw, 92px); line-height: .98; color: #d5ab4a; text-transform: uppercase; letter-spacing: .01em; }
.founder__role { font-family: var(--ui); font-weight: 400; font-size: clamp(17px, 1.75vw, 24px); line-height: 1.45; color: var(--ink); margin: 16px 0 22px; }
.founder__photo img { width: 100%; max-width: 520px; margin-left: auto; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 26px; list-style: none; }
.stats li { background: #fff; border: 1px solid #f0e6cf; padding: 12px 10px; text-align: center; }
.stats strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.1; color: var(--ink); }
.stats span { font-size: 13.5px; line-height: 1.35; display: block; color: var(--muted); }
@media (max-width: 860px) {
  .founder__grid { grid-template-columns: 1fr; }
  .founder__photo { order: -1; }
  .founder__photo img { max-width: 360px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
.bullets { list-style: none; display: grid; gap: 10px; }
.bullets li { position: relative; padding-left: 22px; }
.bullets li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-1); }

/* pillars (pill-shaped cards) */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 70px); }
.pill {
  border-radius: 999px; overflow: hidden;
  background: #fff; box-shadow: 0 0 0 1px #ececec, 0 18px 30px rgba(0,0,0,.04);
  text-align: center; display: flex; flex-direction: column;
  min-height: 600px;
}
.pill__img { position: relative; aspect-ratio: 620 / 454; }
.pill__img img { width: 100%; height: 100%; object-fit: cover; }
.pill__img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(transparent, #fff); }
.pill__title { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: -42px; position: relative; padding: 0 18px; text-align: left; }
.pill__num { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--ink); font-variant-numeric: oldstyle-nums; }
.pill__title h3 { font-family: var(--serif); font-weight: 500; font-size: 27px; line-height: 1.12; }
.pill__body { padding: 18px 34px 70px; font-size: 16px; line-height: 1.7; color: #3e3733; }
.pill__body p { margin: 0; }
.pill__body dl { margin: 0; text-align: left; font-size: 15px; }
.pill__body dt { font-weight: 400; color: var(--ink); margin-top: 8px; }
.pill__body dd { margin: 0; }
@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pill { border-radius: 200px 200px 40px 40px; min-height: 0; }
  .pill__body { padding-bottom: 40px; }
}

/* ---------- products page ---------- */
.prod-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.prod-hero__img img { width: 100%; height: 100%; aspect-ratio: 725 / 818; object-fit: cover; }
.prod-hero__body { padding: clamp(36px, 5vw, 72px) var(--gutter) clamp(36px, 5vw, 72px) clamp(28px, 3vw, 44px); max-width: 680px; }
.prod-hero__body .display { font-size: clamp(40px, 4.9vw, 70px); text-transform: uppercase; }
.prod-hero__body .title-th { color: var(--gold); margin: 14px 0 12px; }
@media (max-width: 860px) {
  .prod-hero { grid-template-columns: 1fr; }
  .prod-hero__img img { aspect-ratio: 4 / 3; }
}
.tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.tabs a, .tabs button { font-family: var(--thai); font-size: 16px; padding: 8px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; cursor: pointer; }
.tabs [aria-selected="true"], .tabs a:hover, .tabs button:hover { background: var(--gold-soft); border-color: var(--gold-soft); }

.product { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; background: #fff; border-radius: 6px; box-shadow: 0 2px 18px rgba(0,0,0,.07); overflow: hidden; }
.product + .product { margin-top: 36px; }
.product__img { background: #faf6ef; height: 100%; }
.product__img img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.product__body { padding: clamp(24px, 3.4vw, 44px) clamp(22px, 3.4vw, 44px) clamp(24px, 3.4vw, 40px) 0; }
.product__body h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.8vw, 36px); line-height: 1.1; margin: 10px 0 12px; }
.product__body h4 { font-family: var(--thai); font-weight: 400; font-size: 17px; margin: 16px 0 6px; color: var(--ink); }
.product__body .note { margin-top: 14px; }
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; }
  .product__img img { min-height: 0; aspect-ratio: 16 / 10; }
  .product__body { padding: 0 22px 26px; }
}
.supp-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.supp-pair .product__body { padding: 28px 30px 32px; }
.supp-pair .product__body + .product__body { border-left: 1px solid #f0ece4; }
@media (max-width: 860px) { .supp-pair { grid-template-columns: 1fr; } .supp-pair .product__body + .product__body { border-left: 0; border-top: 1px solid #f0ece4; } }
.supp-box { background: #fff; border-radius: 6px; box-shadow: 0 2px 18px rgba(0,0,0,.07); overflow: hidden; }
.supp-box__img { background: linear-gradient(135deg, #f5f8fd, #e2ebf6); display: flex; justify-content: center; }
.supp-box__img img { max-width: 595px; width: 100%; }

.cta-band { background: var(--cream); border-top: 1px solid #f3e7c9; border-bottom: 1px solid #f3e7c9; }
.cta-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.cta-card { background: #fff; padding: 28px 30px; border-radius: 6px; box-shadow: var(--shadow-sm); }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- technology page ---------- */
.frame3 { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; }
.frame3__item { background: #fff; padding: 28px 24px; text-align: center; box-shadow: var(--shadow); }
.frame3__item img { width: 88px; height: 88px; margin: 0 auto 10px; }
.frame3__item h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; }
.frame3__item .th { font-family: var(--thai); font-size: 17px; color: var(--gold-deep); margin-bottom: 8px; display: block; }
.frame3__item p { margin: 0; font-size: 16px; line-height: 1.65; }
.frame3__arrow { align-self: center; font-family: var(--ui); font-size: 26px; color: var(--gold); }
@media (max-width: 860px) { .frame3 { grid-template-columns: 1fr; } .frame3__arrow { transform: rotate(90deg); justify-self: center; } }

.platform { background: #fff; border: 1px solid #efe6d2; padding: 30px 28px; position: relative; }
.platform::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold-1), var(--gold-2)); }
.platform h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; }
.platform .sub { font-family: var(--ui); color: var(--gold-deep); font-size: 15px; margin: 2px 0 12px; display: block; }
.platform p { margin: 0; font-size: 16px; line-height: 1.7; }

.biomarkers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bm { padding: 22px 22px 20px; background: #fff; border-left: 3px solid var(--gold-1); box-shadow: var(--shadow-sm); }
.bm h3 { font-family: var(--ui); font-weight: 500; font-size: 18px; line-height: 1.35; }
.bm .th { display: block; font-family: var(--thai); font-weight: 300; font-size: 15px; color: var(--gold-deep); }
.bm p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.65; }
@media (max-width: 900px) { .biomarkers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .biomarkers { grid-template-columns: 1fr; } }

.levels { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: lv; }
.level { background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.level img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.level__body { padding: 16px 18px 20px; }
.level__no { font-family: var(--ui); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }
.level h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.2; margin: 4px 0 8px; }
.level p { margin: 0; font-size: 15.5px; line-height: 1.6; }
@media (max-width: 900px) { .levels { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .levels { grid-template-columns: 1fr; } }

.ev-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 22px; align-items: center; padding: 18px 0; border-bottom: 1px solid #efe8da; }
.ev-row img { width: 120px; height: 90px; object-fit: cover; border-radius: 4px; }
.ev-row h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; }
.ev-row p { margin: 2px 0 0; font-size: 15.5px; line-height: 1.6; }
@media (max-width: 700px) { .ev-row { grid-template-columns: 84px 1fr; } .ev-row img { width: 84px; height: 72px; } .ev-row .btn { grid-column: 1 / -1; justify-self: start; } }

/* ---------- awards page ---------- */
.award-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.award { border: 1px solid #f1f1f1; padding: 18px 18px 16px; background: #fff; display: flex; flex-direction: column; position: relative; transition: box-shadow .25s; }
.award:hover { box-shadow: var(--shadow); }
.award__img { aspect-ratio: 343 / 240; overflow: hidden; background: #f3f1ec; cursor: zoom-in; border: 0; padding: 0; display: block; width: 100%; }
.award__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.award:hover .award__img img { transform: scale(1.03); }
.award__date { font-family: var(--thai); font-size: 15px; color: var(--teal); margin: 14px 0 2px; }
.award h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.18; }
.award p { font-size: 15px; line-height: 1.6; margin: 8px 0 0; color: #3e3733; }
.award .link-arrow { margin-top: auto; padding-top: 12px; align-self: flex-end; }
@media (max-width: 900px) { .award-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .award-grid { grid-template-columns: 1fr; } }
.timeline { list-style: none; display: grid; gap: 0; max-width: 860px; margin: 0 auto; }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid #efe8da; }
.timeline .yr { font-family: var(--serif); font-size: 26px; color: var(--gold); line-height: 1.2; }
.timeline strong { font-family: var(--ui); font-weight: 500; color: var(--ink); display: block; line-height: 1.4; }
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; }
.highlights li { background: #fff; border: 1px solid #f0e6cf; padding: 20px 18px; text-align: center; font-weight: 400; color: var(--ink); line-height: 1.45; }
.highlights li span { display: block; font-family: var(--ui); font-weight: 400; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .highlights { grid-template-columns: 1fr 1fr; } }
.talks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.talk { background: #fff; padding: 22px 22px 20px; border-top: 3px solid var(--gold-1); box-shadow: var(--shadow-sm); }
.talk h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.25; }
.talk p { margin: 10px 0 0; font-size: 15px; line-height: 1.65; color: #3e3733; }
@media (max-width: 900px) { .talks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .talks { grid-template-columns: 1fr; } }
.gallery { columns: 4 220px; column-gap: 12px; }
.gallery button { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: none; cursor: zoom-in; break-inside: avoid; }
.gallery img { width: 100%; border-radius: 4px; }

/* ---------- news page ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }
.acard[hidden] { display: none; }
.play { position: absolute; inset: 0; display: grid; place-items: center; }
.play::before { content: ""; width: 60px; height: 60px; border-radius: 50%; background: rgba(0,0,0,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% center / 26px no-repeat; }
.acard__img { position: relative; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 84px); align-items: start; }
.contact-title { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 5vw, 66px); line-height: 1.05; }
.contact-title em { font-style: normal; color: #e2b55a; }
.form { display: grid; gap: 18px; margin-top: 26px; }
.field label { display: block; font-family: var(--ui); font-size: 14px; color: var(--muted); margin-bottom: 2px; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid #9c9690; background: transparent;
  font: inherit; font-size: 17px; color: var(--ink); padding: 8px 2px; border-radius: 0;
}
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23777' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") right center / 22px no-repeat; padding-right: 26px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--gold-1); }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__msg { font-size: 15px; color: var(--teal); margin: 0; }
.office { background: var(--gold-soft); padding: clamp(28px, 4vw, 52px); }
.office h3 { font-family: var(--thai); font-weight: 400; font-size: 22px; display: flex; gap: 14px; align-items: center; }
.office h3 svg { width: 30px; height: 30px; fill: var(--ink); flex: none; }
.office p { margin: 6px 0 22px 44px; font-size: 17px; line-height: 1.75; }
.office a { text-decoration: none; }
.office a:hover { text-decoration: underline; }
.map-link { display: block; position: relative; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-sm); }
.map-link img { width: 100%; aspect-ratio: 2386 / 1000; object-fit: cover; }
.map-link span { position: absolute; right: 14px; bottom: 14px; background: #fff; font-family: var(--ui); font-size: 14px; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .map-link img { aspect-ratio: 4 / 3; } }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(15, 10, 6, .88); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 82vh; width: auto; border-radius: 4px; }
.lightbox__cap { color: #f3ead6; text-align: center; margin: 12px 0 0; font-size: 15px; }
.lightbox__close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; font-size: 32px; line-height: 1; color: #fff; background: transparent; border: 0; cursor: pointer; }

/* ---------- reveal on scroll ---------- */
/* content stays visible at rest (thumbnails, no-JS, slow observers); only a short rise plays in */
.js .reveal { transform: translateY(14px); transition: transform .7s ease; }
.js .reveal.is-in { transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { transform: none; transition: none; } }

/* ---------- small helpers ---------- */
.zoom-btn { display: block; border: 0; padding: 0; background: none; cursor: zoom-in; }
.hero--banner .hero__media { position: absolute; inset: 0; aspect-ratio: auto; }
.hero--banner .hero__media::after { top: auto; bottom: 0; height: 40%; background: linear-gradient(transparent, #fff); }
