.home-main {
  padding-top: clamp(1rem, 1.9vw, 2rem);
  padding-bottom: clamp(1.75rem, 3vw, 3.4rem);
}
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(26rem, 34vw, 34rem);
  color: #f5f7fa;
  background: #101b2a;
  border: 1px solid #344356;
  border-radius: 1rem;
  box-shadow: 0 12px 36px -24px #15243c52;
}
.hero-stage {
  position: absolute; inset: 0 0 0 auto; height: 100%; width: auto; aspect-ratio: 1.72;
  max-width: 68%; z-index: -4;
  mask-image: linear-gradient(90deg, transparent, #000 16%);
}
.plate-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  opacity: 0;
  transition: opacity .5s ease;
}
.plate-photo.is-shown { opacity: 1; }
.home-hero::before, .home-hero::after { position: absolute; inset: 0; pointer-events: none; content: ""; }
.home-hero::before {
  z-index: -3;
  background: linear-gradient(90deg, #101b2a 0% 31%, #101b2afa 35%, #101b2a9c 44%, #101b2a00 61%),
              linear-gradient(0deg, #0a1321a3, transparent 26%);
}
.home-hero::after {
  z-index: -2;
  width: 53%;
  background-image: radial-gradient(circle at 1px 1px, #b4c8e130 .7px, transparent 1px);
  background-size: 15px 15px;
  mask-image: radial-gradient(ellipse at 13% 110%, #0008, transparent 57%), radial-gradient(ellipse at 0 0, #0009, transparent 48%);
}
.hero-content { position: relative; width: 59%; padding: clamp(2rem, 3.7vw, 3.9rem) clamp(2rem, 4.3vw, 4.5rem); }
.hero-kicker {
  margin: 0 0 clamp(1.15rem, 1.65vw, 1.8rem);
  display: flex; align-items: center; gap: .75rem;
  color: #c3ccda;
  font: 500 .76rem/1.2 var(--mono);
  letter-spacing: .16em; text-transform: uppercase;
}
.hero-kicker svg { color: #99bddb; }
.home-hero h1 { margin: 0; font: 700 clamp(3rem, 4.3vw, 4.9rem)/1.23 var(--display); letter-spacing: -.065em; }
.hero-title-zh, .hero-title-en { display: block; }
.home-hero h1 em { color: #d4e2ef; font-style: normal; }
.hero-title-zh em { font: 500 1.03em/1.32 var(--serif); letter-spacing: -.055em; }
.hero-summary { margin: 1.05rem 0 0; color: #c9d2de; font-size: clamp(1rem, 1.11vw, 1.13rem); line-height: 1.84; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: clamp(1.35rem, 2vw, 2rem); }
.hero-action {
  display: inline-flex; align-items: center; justify-content: center; gap: .25rem;
  min-height: 2.75rem; padding: .62rem 1.25rem;
  border: 1px solid transparent; border-radius: .38rem;
  font-size: .93rem; line-height: 1.35; font-weight: 650; text-decoration: none;
  transition: background .18s, border-color .18s, box-shadow .18s;
}
.hero-action.primary { background: #e1eaf4; color: #17283b; box-shadow: inset 0 1px #ffffff80; }
.hero-action.primary:hover { background: #f4f8fd; box-shadow: 0 3px 16px #b0cce928; }
.hero-action.secondary { border-color: #71839b; background: #19263790; color: #f2f5fa; }
.hero-action.secondary:hover { border-color: #c3d3e4; background: #293a4e; }
.home-hero :focus-visible { outline-color: #a7cbed; }
.plate-notation {
  position: absolute; top: 1.15rem; right: 1.25rem;
  display: flex; align-items: center; gap: .4rem; padding: .15rem .5rem;
  border-radius: .25rem; background: #0e1b2aab; color: #e7edf6;
  font-size: .76rem; letter-spacing: .04em;
}
.plate-notation i { position: relative; width: .72rem; height: .72rem; border: 1px solid #c8daeb; border-radius: 50%; }
.plate-notation i::after { content: ""; position: absolute; inset: 27%; border: 1px solid #c8daeb; border-radius: 50%; }
.plate-switches {
  position: absolute; right: 1.3rem; bottom: 1.2rem; display: flex; align-items: stretch; gap: .15rem;
  padding: .22rem; background: #101b2bea; color: #eef2f7;
  border: 1px solid #b8cbe160; border-radius: .5rem; backdrop-filter: blur(12px);
}
.plate-switches button {
  display: flex; align-items: center; justify-content: center; gap: .35rem;
  padding: .43rem .67rem; min-height: 2rem;
  background: transparent; color: #dce4ef; border: 0; border-radius: .29rem;
  font-size: .83rem; line-height: 1.32;
}
.plate-switches button:hover { background: #d4e2f31c; }
.plate-switches button[aria-pressed="true"] { background: #d7e3f0; color: #172a40; font-weight: 600; }
.explore { margin-top: clamp(1.55rem, 2.35vw, 2.65rem); }
.explore-head { display: flex; align-items: center; gap: 1.2rem; margin: 0 0 1rem; }
.explore-head::after { content: ""; flex: 1; height: 1px; order: 1; background: linear-gradient(90deg, var(--line), transparent); }
.explore-head h2 { font: 700 clamp(1.35rem, 1.65vw, 1.75rem)/1.25 var(--display); letter-spacing: -.035em; margin: 0; }
.home-location { order: 2; display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .8rem; }
.home-location i { width: 1.2rem; height: 1px; background: var(--line); margin-inline: .2rem; }
.founded { font: 500 .76rem/1.2 var(--mono); text-transform: uppercase; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.7rem, 1.3vw, 1.4rem); }
.feature {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; min-height: clamp(7.5rem, 10vw, 10.25rem);
  border: 1px solid var(--line); border-radius: .65rem;
  background: linear-gradient(120deg, var(--surface), color-mix(in srgb, var(--paper) 75%, var(--surface)));
  text-decoration: none; box-shadow: inset 0 1px 0 #ffffff30;
  transition: border-color .22s, box-shadow .22s;
}
.feature:hover,.feature:focus-visible { border-color: var(--signal); box-shadow: 0 7px 20px -15px #20364b66; }
.feature-img { position: absolute; z-index: -1; right: 0; top: 0; height: 100%; width: 50%; mask-image: linear-gradient(90deg, transparent, #000 40%); }
.feature-img::before {
  content: ""; position: absolute; width: 100%; min-width: 10rem; height: auto; aspect-ratio: 1; right: 0; top: 50%;
  transform: translateY(-50%); background: url("studies-platinum.webp") 0 50% / 300% 100% no-repeat;
  filter: saturate(.72); transition: transform .4s;
}
.feature:hover .feature-img::before,.feature:focus-visible .feature-img::before { transform: translateY(-50%) scale(1.04); }
.feature-img.plate-study::before { background-position-x: 50%; }
.feature-img.binding-study::before { background-position-x: 100%; }
.feature-copy { width: 67%; min-width: 0; padding: 1.1rem clamp(1rem, 1.5vw, 1.65rem); }
.feature-kicker { display: flex; align-items: center; gap: .5rem; font: 500 .75rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--signal); }
.feature-kicker::before { content: ""; width: .85rem; height: 1.5px; background: currentColor; }
.feature h3 { font: 700 clamp(1.16rem, 1.48vw, 1.55rem)/1.33 var(--display); margin: .42rem 0 .28rem; letter-spacing: -.03em; }
.feature p { margin: 0; font-size: .89rem; line-height: 1.55; color: var(--muted); }
[data-theme="dark"] .feature-img { mask-image: linear-gradient(90deg, transparent, #000 49%); }
[data-theme="dark"] .feature-img::before { height: 100%; width: 100%; min-width: 0; background-size: auto 160%; filter: saturate(.72); }
[data-theme="dark"] .chip-study::before { background-image: url("stack-platinum.webp"); background-position: 75% 54%; }
[data-theme="dark"] .plate-study::before { background-image: url("assay-platinum.webp"); background-position: 72% 73%; }
[data-theme="dark"] .binding-study::before { background-image: url("binding-platinum.webp"); background-position: 75% 58%; }
[data-lang="en"] .home-hero h1 { font-size: clamp(2.25rem, 3.15vw, 3.65rem); line-height: 1.05; letter-spacing: -.05em; }
[data-lang="en"] .hero-title-en em { font: italic 500 1em/1.08 Georgia,serif; letter-spacing: -.025em; }
[data-lang="en"] .hero-summary { max-width: 32rem; line-height: 1.6; }
[data-lang="en"] .feature-kicker,[data-lang="both"] .feature-kicker { display: none; }
[data-lang="both"] .home-hero .hero-title-en { margin: .65rem 0 0; font: 500 clamp(1.05rem, 1.35vw, 1.35rem)/1.27 Georgia,serif; letter-spacing: -.01em; }
[data-lang="both"] .hero-summary span,[data-lang="both"] .feature-copy .en { display: block; margin-left: 0; }
[data-lang="both"] .hero-summary .en { font-size: .89rem; line-height: 1.43; margin-top: .3rem; }
[data-lang="both"] .feature h3 .en { font-size: .94rem; line-height: 1.35; margin-top: .15rem; letter-spacing: 0; }
[data-lang="both"] .feature-copy p .en { font-size: .82rem; }
[data-lang="both"] .plate-switches button { flex-direction: column; gap: .1rem; }
[data-lang="both"] .plate-switches button .en { margin: 0; font-size:.75rem; }
@media (min-width:761px) and (max-height:800px) {
  body[data-page="home"] .mast { min-height: 4.15rem; }
  .home-main { padding-block: 1.05rem 1.4rem; }
  .home-hero { min-height: clamp(21rem, 50vh, 25rem); }
  .hero-content { padding-block: 1.65rem; }
  .hero-kicker { margin-bottom: .95rem; }
  .home-hero h1 { font-size: clamp(2.75rem, 3.9vw, 3.8rem); }
  .hero-summary { margin-top:.75rem; }
  .hero-actions { margin-top:1.12rem; }
  .explore { margin-top:1.35rem; }
  .explore-head { margin-bottom: .8rem; }
  .feature { min-height:6.8rem; }
  .feature-copy { padding-block:.78rem; }
  body[data-page="home"] .foot-inner { min-height:2.95rem; }
}
@media (max-width:1000px) {
  .hero-content { padding-inline: 2rem; width: 62%; }
  .home-hero h1 { font-size: clamp(2.55rem, 4.7vw, 3.25rem); }
  .feature-copy { padding-inline: 1rem; width: 70%; }
}
@media (max-width:760px) {
  .hero-content { padding: 2.4rem 1.65rem 4.3rem; width: 70%; }
  .home-hero { min-height: 22.5rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 6.15rem; }
  .feature-img { width: 39%; }
  .feature-img::before { width: 100%; min-width: 7rem; }
  .feature-copy { padding: .8rem 1.25rem; }
  .feature h3 { font-size: 1.25rem; margin-block: .2rem; }
  .feature p { font-size: .92rem; }
  .plate-switches { right:.85rem; bottom:.85rem; }
  .hero-stage { width:70%; max-width:none; }
}
@media (max-width:540px) {
  .home-main { padding-top: .9rem; }
  .home-hero { display: block; border-radius: .8rem; padding-bottom: 13.2rem; }
  .hero-stage { inset: auto 0 0; width:100%; height: 54%; mask-image:none; }
  .plate-photo { object-position: center 51%; }
  .home-hero::before { background: linear-gradient(180deg, #101b2a 0% 46%, #101b2aed 50%, #101b2a5e 61%, transparent 72%); }
  .home-hero::after { width: 100%; height: 55%; }
  .hero-content { width: 100%; padding: 1.6rem 1.25rem .15rem; }
  .home-hero h1 { font-size: clamp(2.12rem, 8.1vw, 2.9rem); }
  .hero-kicker { margin-bottom: .9rem; font-size:.73rem; gap:.5rem; }
  .hero-summary { font-size: 1rem; margin-top:.8rem; line-height:1.7; }
  .desktop-break { display:none; }
  .hero-actions { margin-top: 1rem; }
  .hero-action { min-height:2.55rem; padding:.54rem .86rem; }
  .plate-notation { display:flex; top:auto; bottom:3.65rem; right:.8rem; }
  .plate-switches { right:.7rem; bottom:.65rem; }
  .plate-switches button { padding:.4rem .52rem; font-size:.8rem; }
  .explore { margin-top:1.45rem; }
  .explore-head { margin-bottom:.75rem; gap:.7rem; }
  .home-location { font-size:.78rem; }
  .home-location i,.home-location .founded { display:none; }
  [data-lang="en"] .home-hero h1 { font-size:2rem; }
  [data-lang="both"] .hero-action { flex-direction:column; align-items:flex-start; }
  [data-lang="both"] .hero-action .en { margin-left:0; font-size:.78rem; }
  [data-lang="both"] .plate-notation { bottom:4.85rem; }
  [data-lang="both"] .home-hero { padding-bottom:15.2rem; }
  [data-lang="both"] .hero-stage { height:45%; }
  [data-lang="both"] .home-hero::before { background:linear-gradient(180deg,#101b2a 0% 54%,#101b2ad4 59%,transparent 73%); }
}
