:root {
  color-scheme: dark;
  --bg: #080a0c;
  --bg-soft: #0d1014;
  --surface: #12161b;
  --surface-strong: #181d23;
  --text: #f0f2f4;
  --muted: #8d969f;
  --line: #293038;
  --accent: #b4ce74;
  --accent-ink: #11150d;
  --font: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  --radius: 18px;
  --shadow: 0 34px 90px rgb(0 0 0 / .46);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  overflow-x: clip;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 8%, rgb(180 206 116 / .055), transparent 30rem),
    radial-gradient(circle at 14% 32%, rgb(255 255 255 / .025), transparent 34rem),
    var(--bg);
  font-family: var(--font);
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: .15;
  pointer-events: none;
  background-image: radial-gradient(rgb(255 255 255 / .22) .5px, transparent .5px);
  background-size: 5px 5px;
  mix-blend-mode: soft-light;
}

button { font: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.06em; text-wrap: balance; }
.shell { width: min(1440px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: clamp(110px, 12vw, 184px); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 11px max(32px, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid rgb(62 71 80 / .52);
  background: rgb(8 10 12 / .84);
  backdrop-filter: blur(22px) saturate(120%);
}

nav { display: flex; align-items: center; gap: 30px; }
nav a {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: color .22s ease;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--accent);
  transition: right .22s ease;
}
nav a:hover { color: var(--text); }
nav a:hover::after { right: 0; }

.brand {
  justify-self: start;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #f3f4f5;
  font-size: 13px;
  font-weight: 720;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand img { width: 118px; height: auto; object-fit: contain; }
.header-contact {
  justify-self: end;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #3a424a;
  border-radius: 3px;
  color: #f1f3f4;
  background: #14191e;
  cursor: pointer;
  font-size: 12px;
  font-weight: 720;
  transition: color .22s ease, border-color .22s ease, background .22s ease, transform .22s ease;
}
.header-contact:hover { color: var(--accent); border-color: rgb(180 206 116 / .55); background: #191f24; transform: translateY(-1px); }
.header-contact:active { transform: translateY(0) scale(.98); }

.hero {
  min-height: calc(100dvh - 72px);
  display: grid;
  grid-template-columns: minmax(390px, .78fr) minmax(600px, 1.22fr);
  align-items: center;
  gap: clamp(50px, 6vw, 96px);
  padding-block: clamp(64px, 7vw, 104px);
}

.hero-copy { position: relative; z-index: 3; }
.eyebrow {
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 9.6ch;
  margin-bottom: 28px;
  font-size: clamp(62px, 7vw, 108px);
  line-height: .96;
  font-weight: 800;
}
.hero h1 span { color: var(--accent); }
.hero-lead {
  max-width: 34ch;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.7;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.button {
  min-height: 52px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 23px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .24s ease, background .24s ease, color .24s ease, box-shadow .24s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button-primary { border: 1px solid var(--accent); color: var(--accent-ink); background: var(--accent); box-shadow: 0 18px 42px rgb(123 148 70 / .13); }
.button-primary:hover { background: #c1dc81; box-shadow: 0 22px 50px rgb(123 148 70 / .2); }
.text-action { color: #d9dde0; font-size: 13px; font-weight: 720; text-underline-offset: 6px; text-decoration-color: #4b545d; transition: color .2s ease; }
.text-action:hover { color: var(--accent); }

.hero-capabilities {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 520px;
  margin: 52px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.hero-capabilities li { display: grid; gap: 6px; padding: 16px 14px 0 0; }
.hero-capabilities strong { color: var(--accent); font-family: Consolas, "Courier New", monospace; font-size: 10px; letter-spacing: .12em; }
.hero-capabilities span { color: #d5d9dc; font-size: 13px; font-weight: 680; }

.hero-stack {
  min-width: 0;
  height: clamp(590px, 47vw, 720px);
  position: relative;
  isolation: isolate;
}
.hero-stack::before,
.hero-stack::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.hero-stack::before {
  width: 82%;
  aspect-ratio: 1;
  left: 9%;
  top: 6%;
  z-index: -2;
  border: 1px solid rgb(180 206 116 / .13);
  border-radius: 50%;
}
.hero-stack::after {
  width: 38%;
  height: 48%;
  right: 2%;
  bottom: 5%;
  z-index: -1;
  background: radial-gradient(circle, rgb(180 206 116 / .11), transparent 68%);
  filter: blur(24px);
}

.stack-card {
  --rotation: 0deg;
  position: absolute;
  overflow: hidden;
  border: 1px solid #323941;
  border-radius: 10px;
  color: #e9ecee;
  background: #0d1014;
  box-shadow: 0 26px 72px rgb(0 0 0 / .58);
  transform: rotate(var(--rotation)) scale(.98);
  transform-origin: center;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), filter .32s ease, opacity .32s ease, box-shadow .32s ease;
  cursor: default;
}
.hero-stack:has(.stack-card:hover) .stack-card:not(:hover) { filter: brightness(.5) saturate(.6); opacity: .64; }
.stack-card:hover {
  z-index: 30;
  transform: rotate(0deg) scale(1.075);
  box-shadow: 0 42px 110px rgb(0 0 0 / .78), 0 0 0 1px rgb(180 206 116 / .35);
}
.stack-card-scroll { width: 45%; left: 0; top: 5%; z-index: 8; --rotation: -7deg; }
.stack-card-video { width: 43%; right: 1%; top: 2%; z-index: 9; --rotation: 6.5deg; }
.stack-card-toy { width: 43%; right: 2%; bottom: 2%; z-index: 7; --rotation: 7deg; }
.stack-card-cosmetic { width: 43%; left: 1%; bottom: 3%; z-index: 8; --rotation: -6deg; }
.stack-card-head,
.stack-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 13px; }
.stack-card-head { border-bottom: 1px solid #2c333a; color: #7f8993; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.stack-card-head b { color: var(--accent); font-size: 9px; }
.stack-media { aspect-ratio: 16 / 10; background: #171c21; }
.stack-card-foot { min-height: 48px; border-top: 1px solid #2c333a; }
.stack-card-foot strong { font-size: 11px; letter-spacing: -.01em; }
.stack-card-foot span { color: #68727b; font-family: Consolas, "Courier New", monospace; font-size: 9px; }
.stack-hint { position: absolute; left: 2%; bottom: 1%; margin: 0; color: #69737c; font-size: 10px; letter-spacing: .08em; }

.trust-strip { overflow: hidden; border-block: 1px solid var(--line); background: #0b0e11; }
.trust-track { min-height: 76px; width: max-content; min-width: 100%; display: flex; align-items: center; justify-content: center; gap: clamp(24px, 4vw, 66px); padding-inline: 32px; }
.trust-track span { color: #7f8992; font-size: 12px; font-weight: 680; white-space: nowrap; }
.trust-track i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
  align-items: end;
  gap: 44px;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -18px; }
.section-heading h2,
.agent-copy h2,
.process-intro h2,
.contact-section h2 {
  margin-bottom: 0;
  font-size: clamp(48px, 6vw, 88px);
  line-height: .92;
}
.section-heading > p:last-child { max-width: 43ch; margin-bottom: 4px; color: var(--muted); font-size: 16px; line-height: 1.75; text-wrap: pretty; }

.work { border-bottom: 1px solid var(--line); }
.case-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; align-items: start; }
.case-card {
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), border-color .3s ease, background .3s ease;
}
.case-card.case-feature { grid-column: span 8; }
.case-card.case-wide { grid-column: span 6; }
.case-card:hover { transform: translateY(-6px); border-color: #505b64; background: #161b20; }
.case-card a { display: block; text-decoration: none; }
.case-media { aspect-ratio: 16 / 10; overflow: hidden; background: #171b20; }
.case-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .035); pointer-events: none; }
.case-media img { filter: saturate(.82) brightness(.86); transition: transform .8s cubic-bezier(.16, 1, .3, 1), filter .35s ease, opacity .3s ease; }
.case-card:hover .case-media img { transform: scale(1.03); filter: saturate(1) brightness(.98); }
.case-copy { min-height: 188px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 18px; padding: 25px; }
.case-copy span { grid-column: 1 / -1; color: #77818a; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.case-copy h3 { align-self: end; margin: 0; color: #eef0f2; font-size: clamp(25px, 3vw, 42px); line-height: .94; }
.case-copy b { align-self: end; color: var(--accent); font-size: 11px; white-space: nowrap; }

.agent-showcase { position: relative; color: var(--text); background: #0c0f13; border-bottom: 1px solid var(--line); }
.agent-showcase::before { content: "AI / 03"; position: absolute; top: 54px; right: 5vw; color: #20262c; font-family: Consolas, "Courier New", monospace; font-size: clamp(70px, 11vw, 170px); font-weight: 800; letter-spacing: -.08em; pointer-events: none; }
.agent-layout { position: relative; display: grid; grid-template-columns: minmax(320px, 4fr) minmax(0, 7fr); align-items: center; gap: clamp(50px, 7vw, 110px); }
.agent-copy h2 { margin-bottom: 28px; }
.agent-copy > p:not(.eyebrow) { max-width: 39ch; margin-bottom: 36px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.agent-facts { margin: 0 0 34px; border-top: 1px solid var(--line); }
.agent-facts div { display: grid; grid-template-columns: 100px 1fr; gap: 22px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.agent-facts dt { color: #e7eaec; font-size: 13px; font-weight: 720; }
.agent-facts dd { margin: 0; color: #7c8690; font-size: 13px; }
.agent-browser { overflow: hidden; display: block; border: 1px solid #343c44; border-radius: 11px; background: #12171c; box-shadow: 0 42px 110px rgb(0 0 0 / .5); text-decoration: none; transition: transform .36s cubic-bezier(.16, 1, .3, 1), border-color .3s ease; }
.agent-browser:hover { transform: translateY(-7px) rotate(.35deg); border-color: rgb(180 206 116 / .5); }
.agent-browser-bar { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 18px; color: #75808a; font-size: 10px; }
.agent-browser-bar b { color: var(--accent); }
.agent-demo-media { aspect-ratio: 16 / 10; background: #eff2f4; }
.agent-demo-media img { object-fit: contain; }

.delivery { border-bottom: 1px solid var(--line); }
.device-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.device-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.device-card { grid-column: span 3; min-height: 500px; }
.device-media { position: relative; flex: 1; aspect-ratio: 4 / 3; min-height: 0; background: #080a0c; }
.device-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(8 10 12 / .7), transparent 28%); pointer-events: none; }
.device-media img { transition: transform .65s cubic-bezier(.16, 1, .3, 1), filter .3s ease; }
.device-card:hover .device-media img { transform: scale(1.035); filter: brightness(1.08); }
.device-copy { min-height: 180px; display: flex; flex-direction: column; padding: 22px; border-top: 1px solid var(--line); }
.device-copy span { color: var(--accent); font-family: Consolas, "Courier New", monospace; font-size: 9px; letter-spacing: .08em; }
.device-copy h3 { margin: auto 0 8px; font-size: 29px; }
.device-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.process { display: grid; grid-template-columns: minmax(0, 5fr) minmax(420px, 6fr); gap: clamp(60px, 9vw, 140px); border-bottom: 1px solid var(--line); }
.process-intro .eyebrow { margin-bottom: 22px; }
.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 50px 1fr; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.process-list > li > span { color: var(--accent); font-family: Consolas, "Courier New", monospace; font-size: 10px; font-weight: 750; }
.process-list h3 { margin-bottom: 7px; font-size: 23px; }
.process-list p { margin: 0; color: var(--muted); font-size: 14px; }

.contact-section {
  min-height: 76dvh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-block: clamp(34px, 6vw, 86px);
  border: 1px solid #30383f;
  border-radius: 11px;
  background: #0e1216;
  text-align: center;
}
.contact-section::before { content: ""; position: absolute; z-index: -1; width: 52vw; aspect-ratio: 1; left: 50%; top: 50%; border: 1px solid rgb(180 206 116 / .14); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 100px rgb(180 206 116 / .035) inset; }
.contact-section::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 50% 50%, rgb(180 206 116 / .07), transparent 38%); }
.contact-section h2 { max-width: 13ch; }
.contact-section > p:not(.eyebrow) { max-width: 44ch; margin: 28px auto 32px; color: var(--muted); font-size: 16px; line-height: 1.75; }

.contact-dialog { width: min(880px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 12px; color: var(--text); background: transparent; overflow: visible; }
.contact-dialog[open] { position: fixed; inset: 50% auto auto 50%; display: block; margin: 0; transform: translate(-50%, -50%); }
.contact-dialog::backdrop { background: rgb(0 0 0 / .78); backdrop-filter: blur(12px); }
.dialog-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 46px; align-items: center; padding: clamp(28px, 5vw, 58px); border: 1px solid #353d45; border-radius: 12px; background: #11161b; box-shadow: 0 46px 130px rgb(0 0 0 / .72); }
.dialog-card > form { position: absolute; top: 0; right: 0; z-index: 3; margin: 0; }
.dialog-close { position: absolute; top: 15px; right: 15px; z-index: 2; width: 42px; height: 42px; border: 1px solid #384149; border-radius: 50%; color: var(--text); background: #191e24; cursor: pointer; font-size: 27px; line-height: 1; }
.dialog-copy { grid-column: 1; grid-row: 1; }
.dialog-copy h2 { margin-bottom: 22px; font-size: clamp(38px, 5vw, 60px); line-height: .96; }
.dialog-copy > p:last-child { max-width: 30ch; margin-bottom: 0; color: var(--muted); line-height: 1.65; }
.qr-frame { grid-column: 2; grid-row: 1; aspect-ratio: 951 / 1167; overflow: hidden; padding: 11px; border: 1px solid #313940; border-radius: 8px; background: #f4f5f6; }
.qr-frame img { object-fit: contain; border-radius: 4px; }
.dialog-tip { grid-column: 2; grid-row: 2; margin: -32px 0 0; color: var(--muted); font-size: 11px; text-align: center; }

.media { position: relative; overflow: hidden; }
.media.is-loading::before { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(100deg, #12171c 20%, #1d2329 45%, #12171c 70%); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }
.media.is-loading img { opacity: 0; }
.media.is-error::after { content: attr(data-error); position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; color: var(--muted); background: #151a1f; text-align: center; }
@keyframes shimmer { to { background-position: -220% 0; } }
.has-js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s cubic-bezier(.16, 1, .3, 1), transform .75s cubic-bezier(.16, 1, .3, 1); }
.has-js .reveal.is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid rgb(180 206 116 / .62); outline-offset: 3px; }

@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { max-width: 860px; }
  .hero h1 { max-width: 11ch; }
  .hero-lead { max-width: 42ch; }
  .hero-stack { width: min(920px, 94%); height: 680px; margin: 0 auto; }
  .agent-layout { grid-template-columns: 1fr; }
  .agent-copy { max-width: 760px; }
  .device-card { grid-column: span 6; min-height: 470px; }
  .case-card,
  .case-card.case-feature,
  .case-card.case-wide { grid-column: span 6; }
}

@media (max-width: 767px) {
  .shell { width: min(100% - 30px, 680px); }
  .section { padding-block: 96px; }
  .site-header { min-height: 64px; padding: 10px 15px; }
  nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .brand { gap: 9px; font-size: 11px; }
  .brand img { width: 100px; }
  .header-contact { min-height: 40px; padding-inline: 14px; font-size: 11px; }
  .hero { min-height: calc(100dvh - 64px); gap: 30px; padding-block: 54px 72px; }
  .hero h1 { max-width: 8.5ch; font-size: clamp(50px, 15.7vw, 74px); }
  .hero h1 br { display: none; }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .hero-actions .button { width: 100%; }
  .text-action { width: fit-content; }
  .hero-capabilities { margin-top: 38px; }
  .hero-capabilities li { padding-right: 8px; }
  .hero-stack { width: 100%; height: 520px; }
  .hero-stack::before { width: 100%; left: 0; top: 4%; }
  .stack-card-scroll { width: 56%; left: -1%; top: 8%; }
  .stack-card-video { width: 54%; right: -1%; top: 3%; }
  .stack-card-toy { width: 54%; right: 0; bottom: 1%; }
  .stack-card-cosmetic { width: 54%; left: 0; bottom: 1%; }
  .stack-card-head { padding: 8px 9px; }
  .stack-card-head span { display: none; }
  .stack-card-foot { min-height: 40px; padding: 8px 9px; }
  .stack-card-foot strong { font-size: 9px; }
  .stack-hint { display: none; }
  .trust-strip { overflow-x: auto; }
  .trust-track { justify-content: flex-start; min-height: 66px; padding-inline: 18px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading .eyebrow { margin-bottom: -4px; }
  .section-heading h2,
  .agent-copy h2,
  .process-intro h2,
  .contact-section h2 { font-size: clamp(42px, 12vw, 60px); }
  .case-grid { grid-template-columns: 1fr; }
  .case-card,
  .case-card.case-feature,
  .case-card.case-wide { grid-column: auto; }
  .case-copy { min-height: 168px; padding: 21px; }
  .agent-layout { gap: 54px; }
  .agent-showcase::before { display: none; }
  .agent-facts div { grid-template-columns: 90px 1fr; gap: 10px; }
  .agent-browser { border-radius: 7px; }
  .agent-browser-bar { min-height: 46px; }
  .agent-browser-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .device-grid { grid-template-columns: 1fr; gap: 16px; }
  .device-card { grid-column: auto; min-height: 0; }
  .device-media { aspect-ratio: 4 / 3; }
  .device-copy { min-height: 150px; }
  .process { grid-template-columns: 1fr; gap: 52px; }
  .contact-section { width: calc(100% - 30px); min-height: 70dvh; padding-inline: 24px; }
  .contact-section::before { width: 92vw; }
  .contact-dialog { width: min(100% - 20px, 540px); max-height: calc(100dvh - 20px); }
  .contact-dialog[open] { top: 50%; }
  .dialog-card { grid-template-columns: 1fr; gap: 24px; max-height: calc(100dvh - 20px); overflow-y: auto; padding: 30px 24px 24px; }
  .dialog-copy { grid-column: 1; grid-row: auto; }
  .dialog-copy h2 { max-width: none; font-size: 36px; }
  .dialog-copy > p:last-child { font-size: 14px; }
  .qr-frame { grid-column: 1; grid-row: auto; width: min(270px, 78vw); margin-inline: auto; }
  .dialog-tip { grid-column: 1; grid-row: auto; margin: -12px 0 0; }
}

@media (max-width: 390px) {
  .brand img { width: 92px; }
  .brand span { display: none; }
  .header-contact { padding-inline: 12px; }
  .hero h1 { font-size: clamp(47px, 15.3vw, 59px); }
  .hero-capabilities span { font-size: 12px; }
  .hero-stack { height: 470px; }
  .stack-card-scroll { width: 59%; }
  .stack-card-video,
  .stack-card-toy,
  .stack-card-cosmetic { width: 57%; }
}

@media (hover: none) {
  .hero-stack:has(.stack-card:hover) .stack-card:not(:hover) { filter: none; opacity: 1; }
  .stack-card:hover { transform: rotate(var(--rotation)) scale(.98); box-shadow: 0 26px 72px rgb(0 0 0 / .58); }
}

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

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--bg); backdrop-filter: none; }
  .contact-dialog::backdrop { backdrop-filter: none; }
}
