:root {
  --ink: #211811;
  --cream: #f4efe7;
  --paper: #faf7f1;
  --terracotta: #c96c4a;
  --sage: #707b67;
  --gold: #c79b58;
  --line: rgba(43, 31, 22, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { font: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 94px;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fffdf8;
  text-shadow: 0 1px 14px rgba(16, 10, 6, .72);
  background: linear-gradient(180deg, rgba(20, 13, 9, .24), transparent);
}
.brand { display: flex; flex-direction: column; gap: 3px; }
.brand b { font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif; font-size: 23px; font-weight: 500; letter-spacing: .34em; }
.brand span { font-size: 8px; letter-spacing: .26em; opacity: .76; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.3vw, 40px); }
.nav a {
  position: relative;
  color: #fffdf8;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .11em;
}
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -8px;
  height: 1px; background: currentColor; transition: right .35s ease;
}
.nav a:hover::after { right: 0; }
.nav-cta {
  border: 1px solid rgba(255, 253, 248, .78);
  border-radius: 100px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}
.menu-toggle { display: none; }

.chapter-dots {
  position: fixed; right: 28px; top: 50%; z-index: 40;
  transform: translateY(-50%); display: grid; gap: 13px;
}
.chapter-dots a {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(20,15,10,.18);
  transition: transform .3s, background .3s;
}
.chapter-dots a.active { transform: scale(1.8); background: var(--terracotta); }

section { position: relative; overflow: hidden; }
.section-dark { color: #fff; background: var(--ink); }
.eyebrow { margin: 0 0 22px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.eyebrow.warm { color: #a25b3e; }
h1, h2, h3 {
  margin: 0;
  font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "STSong", Georgia, serif;
  font-weight: 500;
}
h2 { font-size: clamp(42px, 5vw, 78px); line-height: 1.16; letter-spacing: -.035em; }

.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding: 130px clamp(24px, 8vw, 130px) 80px;
}
.hero-media, .connect-bg {
  position: absolute; inset: -3%;
  background: url("./assets/static-home/images/hero-team-hd.png") center 38% / cover no-repeat;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(1.06);
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18,12,8,.94) 0%, rgba(18,12,8,.74) 38%, rgba(18,12,8,.08) 76%);
}
.hero-copy { position: relative; z-index: 2; width: min(780px, 64vw); }
.hero h1 {
  font-size: clamp(52px, 5.25vw, 78px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.hero h1 span { display: block; white-space: nowrap; }
.lead { max-width: 510px; margin: 30px 0 0; font-size: 16px; line-height: 2; opacity: .82; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 42px; }
.button {
  min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center;
  justify-content: center; gap: 28px; border-radius: 100px; font-size: 14px;
  transition: transform .3s, background .3s, color .3s;
}
.button:hover { transform: translateY(-3px); }
.primary { background: var(--terracotta); color: #fff; }
.primary:hover { background: #df7b57; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; }
.play {
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  border: 1px solid rgba(255,255,255,.65); border-radius: 50%; font-size: 9px;
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .24em; opacity: .72;
}
.scroll-cue i { width: 1px; height: 32px; background: currentColor; animation: pulse 1.8s infinite; }

.impact {
  min-height: clamp(560px, 72svh, 760px); display: grid; grid-template-columns: 42% 58%;
  background: var(--paper);
}
.impact-copy {
  padding: clamp(72px, 9vh, 110px) clamp(28px, 5vw, 92px);
  display: flex; flex-direction: column; justify-content: center;
}
.impact-copy h2 { font-size: clamp(40px, 4vw, 66px); white-space: nowrap; }
.impact-copy > p:not(.eyebrow) { max-width: 470px; margin: 28px 0 32px; color: #63584f; line-height: 1.9; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2px; }
.facts article {
  min-height: 145px; display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end; padding: 10px 8px 0; text-align: center;
}
.facts strong { margin-top: 10px; font-family: Georgia, serif; font-size: clamp(20px, 1.75vw, 30px); font-weight: 400; }
.facts sup { color: var(--terracotta); }
.facts span { margin-top: 6px; color: #756a61; font-size: 11px; }
.cert-mark {
  width: 52px; height: 52px; display: grid; place-items: center;
  border: 2px solid #39312b; border-radius: 50%; color: #39312b;
  font-family: Georgia, serif; font-size: 24px; font-style: normal;
}
.well-mark { font-size: 10px; letter-spacing: .03em; box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px #39312b; }
.people-mark { position: relative; width: 60px; height: 52px; display: block; }
.people-mark b {
  position: absolute; top: 4px; width: 15px; height: 15px;
  border: 1.6px solid #39312b; border-radius: 50%;
}
.people-mark b:first-child { left: 12px; }
.people-mark b:last-child { right: 12px; }
.people-mark::before, .people-mark::after {
  content: ""; position: absolute; bottom: 2px; width: 25px; height: 26px;
  border: 1.6px solid #39312b; border-bottom: 0; border-radius: 16px 16px 0 0;
}
.people-mark::before { left: 3px; }
.people-mark::after { right: 3px; }
.impact-media {
  position: relative; min-height: 100%; border-radius: 46% 0 0 0; overflow: hidden;
  background: #e9ddca;
}
.impact-media > img {
  position: absolute; right: 0; top: 0; width: 145%; max-width: none; height: 100%;
  object-fit: cover; object-position: right center;
}

.products { min-height: 100svh; padding: 12vh clamp(24px, 5vw, 80px); }
.products::before {
  content: ""; position: absolute; inset: 0; opacity: .08;
  background: radial-gradient(circle at 15% 20%, var(--terracotta), transparent 30%), radial-gradient(circle at 80% 70%, var(--sage), transparent 34%);
}
.section-heading { position: relative; z-index: 1; max-width: 580px; }
.section-heading > p:not(.eyebrow) { margin: 24px 0 30px; opacity: .67; }
.ghost { border: 1px solid rgba(255,255,255,.35); }
.ghost:hover { background: #fff; color: var(--ink); }
.product-rail {
  position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px; margin-top: 58px;
}
.product-card {
  position: relative; height: clamp(290px, 34vw, 520px); overflow: hidden;
  border-radius: 6px; background: #34281f;
}
.product-card img { height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s; }
.product-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(17,11,7,.82)); }
.product-card span { position: absolute; z-index: 2; left: 20px; right: 46px; bottom: 22px; font-family: "Songti SC", serif; font-size: 18px; }
.product-card i {
  position: absolute; z-index: 2; right: 18px; bottom: 18px; width: 28px; height: 28px;
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; font-style: normal;
}
.product-card:hover img { transform: scale(1.07); filter: brightness(.75); }
.product-2, .product-4 { transform: translateY(-28px); }

.people { min-height: 100svh; padding: 12vh clamp(24px, 6vw, 100px); background: var(--cream); }
.section-heading.dark > p:not(.eyebrow) { color: #6b6159; opacity: 1; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 54px; }
.person-card { position: relative; height: min(55vw, 610px); min-height: 420px; overflow: hidden; background: #d8ccbd; }
.person-card img { height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.person-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(20,13,8,.87)); }
.person-card > div { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 28px; color: #fff; }
.person-card h3 { font-size: 30px; }
.person-card p { margin: 8px 0 18px; opacity: .78; }
.person-card a { font-size: 12px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.35); padding-top: 14px; }
.person-card:hover img { transform: scale(1.045); }
.qualification {
  margin-top: 28px; padding: 22px 0; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; color: #6a6057; font-size: 13px;
}
.qualification span { color: var(--terracotta); }

.connect {
  min-height: 100svh; display: flex; align-items: stretch;
  padding: 13vh clamp(24px, 6vw, 100px) 30px;
}
.connect-bg { background-image: url("./assets/static-home/images/hero.jpg"); background-position: center; }
.connect-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,15,10,.88), rgba(22,15,10,.48)), linear-gradient(0deg, rgba(22,15,10,.8), transparent 60%); }
.connect-inner { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; }
.connect-title { max-width: 700px; }
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: auto 0 4vh; }
.action-grid a {
  min-height: 230px; padding: 28px; display: flex; flex-direction: column;
  border-radius: 20px; color: var(--ink); background: rgba(249,246,240,.91);
  backdrop-filter: blur(12px); transition: transform .35s, background .35s;
}
.action-grid a:hover { transform: translateY(-8px); background: #fff; }
.action-grid span { color: var(--terracotta); font-family: Georgia, serif; font-size: 13px; }
.action-grid h3 { margin-top: 34px; font-size: 27px; }
.action-grid p { color: #71675f; line-height: 1.8; font-size: 13px; max-width: 260px; }
.action-grid a > span:last-child { margin-top: auto; align-self: flex-end; font-size: 24px; }
.project-line { display: flex; align-items: center; justify-content: center; gap: 15px; font-size: 11px; letter-spacing: .06em; opacity: .64; }
.project-line i { width: 3px; height: 3px; border-radius: 50%; background: var(--terracotta); }
footer {
  margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.24);
  display: flex; justify-content: space-between; align-items: end;
}
footer > div:first-child { display: flex; flex-direction: column; }
footer strong { font-family: Georgia, serif; font-size: 24px; font-weight: 400; }
footer span { margin-top: 5px; letter-spacing: .18em; font-size: 12px; }
.footer-links { display: flex; gap: 24px; font-size: 12px; opacity: .72; }

[data-reveal] .reveal-copy, [data-reveal] .reveal-media {
  opacity: 0; transform: translateY(42px); transition: opacity .9s ease, transform 1s cubic-bezier(.2,.7,.2,1);
}
[data-reveal] .reveal-media { transition-delay: .14s; }
[data-reveal].is-visible .reveal-copy, [data-reveal].is-visible .reveal-media { opacity: 1; transform: none; }
.hero .reveal-copy { opacity: 1; transform: none; animation: hero-in 1s .15s both cubic-bezier(.2,.7,.2,1); }
@keyframes pulse { 0%,100% { transform: scaleY(.35); transform-origin: top; } 50% { transform: scaleY(1); } }
@keyframes hero-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

@media (min-width: 1000px) {
  body { scroll-snap-type: y proximity; }
  section { scroll-snap-align: start; }
}

@media (max-width: 900px) {
  .site-header { height: 76px; padding: 0 20px; background: rgba(27,19,14,.86); backdrop-filter: blur(14px); }
  .brand b { font-size: 17px; }
  .nav {
    position: fixed; inset: 76px 0 auto; padding: 28px 24px 36px;
    display: grid; background: rgba(27,19,14,.96); color: #fff;
    transform: translateY(-130%); opacity: 0; transition: transform .4s ease, opacity .3s;
  }
  .nav.open { transform: none; opacity: 1; }
  .nav a {
    font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", serif;
    font-size: 24px;
    font-weight: 500;
    color: #fffdf8;
  }
  .nav-cta { margin-top: 8px; text-align: center; font-family: inherit !important; font-size: 14px !important; }
  .menu-toggle { display: grid; width: 42px; height: 42px; place-content: center; gap: 7px; border: 0; border-radius: 50%; background: #fff; }
  .menu-toggle i { width: 17px; height: 1px; background: var(--ink); transition: transform .3s; }
  .menu-toggle.active i:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle.active i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .chapter-dots { display: none; }
  .hero { min-height: 100svh; padding: 120px 24px 70px; align-items: end; }
  .hero-media { background-position: 62% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(18,12,8,.94), rgba(18,12,8,.14) 75%); }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 52px); line-height: 1.18; }
  .lead { margin-top: 22px; font-size: 14px; line-height: 1.85; }
  .hero-actions { align-items: stretch; gap: 16px; margin-top: 28px; }
  .button { min-height: 50px; }
  .text-link { font-size: 12px; }
  .scroll-cue { display: none; }
  .impact { display: flex; flex-direction: column; }
  .impact-copy { padding: 100px 24px 54px; }
  .impact-copy h2 { font-size: clamp(38px, 10.5vw, 54px); }
  .facts { overflow-x: auto; }
  .facts article { min-width: 150px; min-height: 116px; }
  .impact-media { min-height: 56vh; border-radius: 38% 0 0; }
  .impact-media > img { width: 182%; object-position: right center; }
  .products, .people { min-height: auto; padding: 100px 24px 80px; }
  .product-rail {
    grid-template-columns: repeat(5, minmax(74vw, 310px)); overflow-x: auto;
    margin: 44px -24px 0; padding: 24px; scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .product-card { height: 56vh; min-height: 410px; scroll-snap-align: center; }
  .product-2, .product-4 { transform: none; }
  .people-grid { grid-template-columns: 1fr; }
  .person-card { height: 68vh; min-height: 470px; }
  .qualification { flex-direction: column; gap: 8px; line-height: 1.7; }
  .connect { min-height: 100svh; padding: 100px 24px 24px; }
  .connect-bg { background-position: 55% center; }
  .connect-inner { gap: 42px; }
  .action-grid { grid-template-columns: 1fr; margin: 0; }
  .action-grid a { min-height: 190px; }
  .project-line { display: none; }
  footer { margin-top: 0; align-items: start; gap: 24px; flex-direction: column; }
}

@media (max-width: 480px) {
  h2 { font-size: 42px; }
  .hero-actions { flex-direction: column; }
  .text-link { justify-content: center; }
  .facts strong { font-size: 24px; }
  .product-rail { grid-template-columns: repeat(5, 82vw); }
}

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