/* Beautech — page styles: Home. Loaded after assets/site.css. */
/* ---- Home-specific ---- */
.hero { padding: clamp(56px, 9vw, 124px) 0 clamp(44px, 6vw, 80px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero-head .display { margin: 22px 0 0; font-size: clamp(34px,5vw,58px); font-weight: 400; line-height: 1.06; letter-spacing: -.02em; }
.hero-head .lead { margin-top: 28px; max-width: 30ch; }
.hero-cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual image-slot { width: 100%; height: clamp(440px, 44vw, 600px); aspect-ratio: auto; }
.hero-spec { position: absolute; left: 0; bottom: 0; transform: translate(-14px, 14px); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; box-shadow: 0 18px 40px -22px rgba(0,0,0,.35); }
.hero-spec .k { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero-spec .v { font-family: var(--f-display); font-size: 30px; font-weight: 300; line-height: 1; margin-top: 3px; }
.hero-meta { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta .m { display: flex; flex-direction: column; gap: 2px; }
.hero-meta .m b { font-family: var(--f-display); font-size: clamp(28px,3vw,38px); font-weight: 300; line-height: 1; }
.hero-meta .m span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 880px){ .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: -1; max-width: 420px; } }

/* marquee certifications */
.certbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.certbar .wrap { display: flex; align-items: center; gap: clamp(24px,5vw,64px); flex-wrap: wrap; padding-block: 22px; }
.certbar .cl { display: flex; align-items: center; gap: 10px; font-family: var(--f-sans); font-size: 15px; font-weight: 400; letter-spacing: .08em; color: var(--ink-soft); text-transform: uppercase; }
.certbar .cl .df { color: var(--accent); font-size: 14px; flex: none; line-height: 1; }

/* section header */
.sec { padding: clamp(64px, 9vw, 128px) 0; }

/* capability list */
.cap { border-top: 1px solid var(--line); }
.cap-row { display: grid; grid-template-columns: 64px 1.1fr 1.4fr auto; gap: 28px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); transition: background .3s, padding .3s; }
.cap-row:hover { background: var(--surface); padding-inline: 18px; }
.cap-row .num { font-family: var(--f-mono); font-size: 12px; color: var(--accent); }
.cap-row h3 { font-size: clamp(22px,2.2vw,30px); font-weight: 400; }
.cap-row .zh-sub { font-family: var(--f-display); color: var(--muted); font-size: 15px; margin-top: 5px; }
.cap-row p { color: var(--ink-soft); font-size: 15.5px; }
.cap-row .go { font-family: var(--f-mono); font-size: 12px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; transition: color .2s; }
.cap-row:hover .go { color: var(--accent); }
@media (max-width: 820px){ .cap-row { grid-template-columns: 40px 1fr; } .cap-row p, .cap-row .go { grid-column: 2; } }

/* product categories */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.prod-cell { background: var(--surface-2); padding: 26px 22px 22px; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; transition: background .3s; }
.prod-cell:hover { background: var(--accent-tint); }
.prod-cell .pn { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.prod-cell h4 { font-family: var(--f-display); font-weight: 400; font-size: 23px; line-height: 1.1; }
.prod-cell h4 .zh { display:block; font-size: 14px; color: var(--ink-soft); margin-top:4px; }
.prod-cell .pl { font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 900px){ .prod-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .prod-grid { grid-template-columns: 1fr; } }

/* process */
.proc { background: var(--ink); color: var(--paper); }
:root[data-theme="dark"] .proc { background: var(--surface-dark); }
.proc .eyebrow { color: var(--accent-d); }
.proc .h-xl { color: var(--paper); }
.proc-steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 1px; margin-top: 56px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.13); }
.proc-step { background: var(--ink); padding: 26px 20px 30px; min-height: 200px; display: flex; flex-direction: column; gap: 14px; transition: background .3s; }
:root[data-theme="dark"] .proc-step { background: var(--surface-dark); }
.proc-step:hover { background: var(--surface-dark-hover); }
.proc-step .ps-n { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--accent-d); }
.proc-step h4 { font-family: var(--f-display); font-weight: 400; font-size: 21px; color: var(--paper); }
.proc-step p { font-size: 13.5px; color: rgba(255,255,255,.62); }
@media (max-width: 960px){ .proc-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .proc-steps { grid-template-columns: 1fr; } }

/* why / split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,76px); align-items: center; }
.split image-slot { width: 100%; height: clamp(440px, 42vw, 580px); aspect-ratio: auto; }
.why-list { margin-top: 28px; }
.why-list .wi { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.why-list .wi:last-child { border-bottom: 1px solid var(--line); }
.why-list .wi .wn { font-family: var(--f-mono); font-size: 12px; color: var(--accent); padding-top: 4px; }
.why-list .wi h4 { font-family: var(--f-sans); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.why-list .wi p { font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; } .split .split-media { max-width: 440px; } }

/* CTA band */
/* ===== July 14 edits ===== */
.hero-meta .m b .pl { color: var(--accent); }
.hero-meta .m .bottle { color: var(--accent); width: 15px; height: 21px; margin-bottom: 5px; }
.hero-meta .m .bottle svg { width: 100%; height: 100%; display: block; }
.certbar .cl svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
.cap-row .go:active, .cap-row .go:focus-visible { color: var(--accent); }
/* This band paints its own navy (#16255A), lighter than --ink, so the global
   --accent-on-dark (#5C8AE6) only reaches 4.31:1 here — fine for the large
   metric numerals, but a fail for the 12.5px .eyebrow label. Lift the token
   locally rather than lightening it site-wide: #7AA0EA gives 5.56:1 on this
   background. --focus-ring is remapped too, since site.css's dark-band remap
   list doesn't include .metrics and a navy ring would vanish against it. */
.metrics { background: #16255A; color: #fff; --accent-on-dark: #7AA0EA; --focus-ring: #7AA0EA; }
:root[data-theme="dark"] .metrics { background: #0f1a3a; }
.metrics .eyebrow { color: var(--accent-on-dark); }
.metrics .eyebrow .idx { color: rgba(255,255,255,.5); }
.metrics .h-xl { color: #fff; }
.metrics .sec-head p { color: rgba(255,255,255,.72); }
.metric-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1px; margin-top: clamp(36px,4vw,54px); background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.15); }
.metric-cell { background: #16255A; padding: 30px 24px; }
:root[data-theme="dark"] .metric-cell { background: #0f1a3a; }
.metric-cell b { display: block; font-family: var(--f-display); font-weight: 300; font-size: clamp(30px,3.4vw,46px); line-height: 1; letter-spacing: -.02em; }
.metric-cell b .u { color: var(--accent-on-dark); }
.metric-cell span { display: block; margin-top: 12px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.62); line-height: 1.5; }
@media (max-width: 900px){ .metric-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .metric-grid { grid-template-columns: 1fr; } }
.prod-cell { justify-content: flex-start; overflow: hidden; }
.prod-cell .macro { width: calc(100% + 44px); height: 116px; margin: -26px -22px 18px; display: flex; align-items: center; justify-content: center; background: var(--surface); transition: background .3s; }
.prod-cell .macro svg { width: 38px; height: 38px; color: var(--accent); stroke-linecap: round; stroke-linejoin: round; }
.prod-cell:hover .macro { background: var(--accent-tint); }
.prod-cell .pl { margin-top: auto; padding-top: 12px; }
.timeline .weeks { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin-top: clamp(36px,4vw,54px); background: var(--line); border: 1px solid var(--line); }
.wk { background: var(--surface-2); padding: 26px 22px 30px; display: flex; flex-direction: column; gap: 11px; }
.wk .wk-n { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.wk h4 { font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.wk p { font-size: 14px; color: var(--ink-soft); }
.timeline .tl-foot { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 22px; }
@media (max-width: 820px){ .timeline .weeks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px){ .timeline .weeks { grid-template-columns: 1fr; } }
/* accreditation panel (Why section) */
