/* =========================================================
   Homepage v2 — editorial / bento layout (loads after style.css)
   ========================================================= */

/* ---- hero ---- */
.h2hero { position: relative; overflow: hidden; padding: 36px 0 24px; background: var(--bg); }
.h2hero::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 70vw; height: 70vw; max-width: 720px; max-height: 720px; border-radius: 50%; background: radial-gradient(circle, var(--accent-glow), transparent 65%); pointer-events: none; }
.h2hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; }

/* ---- animated hero background: drifting orbs, dot grid, laser scan line ---- */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-bg::before { /* dot grid, faded at the edges */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--ink-3) 1px, transparent 1.4px); background-size: 26px 26px; opacity: .22;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 30%, transparent 75%);
  animation: hero-grid 24s linear infinite;
}
.hero-bg__orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.hero-bg__orb--1 { width: 420px; height: 420px; left: -120px; top: -80px; background: var(--accent-glow); animation: hero-drift-1 18s ease-in-out infinite alternate; }
.hero-bg__orb--2 { width: 360px; height: 360px; right: 8%; top: 20%; background: var(--accent-2); opacity: .22; animation: hero-drift-2 22s ease-in-out infinite alternate; }
.hero-bg__orb--3 { width: 300px; height: 300px; left: 35%; bottom: -140px; background: var(--accent); opacity: .16; animation: hero-drift-3 26s ease-in-out infinite alternate; }
.hero-bg__scan { /* thin laser line sweeping down */
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-2) 30%, var(--accent) 50%, var(--accent-2) 70%, transparent);
  box-shadow: 0 0 12px 2px var(--accent-glow); opacity: .5;
  animation: hero-scan 9s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes hero-grid { to { background-position: 26px 26px; } }
@keyframes hero-drift-1 { to { transform: translate(140px, 90px) scale(1.15); } }
@keyframes hero-drift-2 { to { transform: translate(-120px, 70px) scale(.9); } }
@keyframes hero-drift-3 { to { transform: translate(90px, -110px) scale(1.2); } }
@keyframes hero-scan { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .5; } 90% { opacity: .5; } 100% { transform: translateY(var(--scan-h, 760px)); opacity: 0; } }
@media (max-width: 899px) { .hero-bg__orb { filter: blur(44px); } .hero-bg__orb--1 { width: 280px; height: 280px; } .hero-bg__orb--2, .hero-bg__orb--3 { width: 220px; height: 220px; } .hero-bg { --scan-h: 1100px; } }
@media (prefers-reduced-motion: reduce) { .hero-bg::before, .hero-bg__orb, .hero-bg__scan { animation: none; } .hero-bg__scan { display: none; } }
.h2hero__tag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.h2hero__tag i { width: 28px; height: 2px; background: var(--accent); }
.h2hero h1 { font-size: clamp(2.4rem, 9vw, 5rem); font-weight: 800; line-height: .98; letter-spacing: -0.03em; }
.h2hero h1 .line { display: block; }
.h2hero h1 .thin { font-weight: 500; color: var(--ink-2); }
.h2hero h1 .hl { position: relative; white-space: nowrap; }
.h2hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .18em; background: var(--accent); opacity: .35; z-index: -1; border-radius: 4px; }
.h2hero__lead { font-size: 1.05rem; color: var(--ink-2); max-width: 46ch; }
.h2hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.h2hero__visual { position: relative; margin-top: 8px; }
.h2hero__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px rgba(19,26,46,.18); }
.h2hero__chip { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; box-shadow: var(--shadow); font-size: .78rem; display: flex; flex-direction: column; line-height: 1.2; }
.h2hero__chip b { font-family: var(--font-display); font-size: 1rem; }
.h2hero__chip small { color: var(--ink-3); }
.h2hero__chip--1 { left: 12px; top: 14px; }
.h2hero__chip--2 { right: 12px; bottom: 14px; }
.h2hero__chip--3 { right: 12px; top: 14px; }

/* ---- ticker ---- */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.ticker__track { display: flex; gap: 40px; width: max-content; padding: 12px 0; animation: marquee 40s linear infinite; font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--ink-2); }
.ticker__track span::before { content: "◆"; color: var(--accent); margin-right: 14px; font-size: .6rem; vertical-align: middle; }

/* ---- bento ---- */
.bento { display: grid; gap: 14px; }
.bcard { position: relative; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 260px; transition: transform .2s; }
.bcard:hover { transform: translateY(-3px); }
.bcard__img { flex: 1; min-height: 160px; display: grid; place-items: center; background: linear-gradient(160deg, var(--bg), var(--ph-1)); }
.bcard__img img { width: 100%; height: 100%; max-height: 260px; object-fit: contain; padding: 18px; }
/* highlighted cutout photo: soft blue spotlight + lifted shadow */
.bcard__img--hl { background: radial-gradient(60% 55% at 50% 55%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), linear-gradient(160deg, var(--bg), var(--ph-1)); }
.bcard__img--hl img { filter: drop-shadow(0 14px 18px rgba(10, 30, 80, .28)) drop-shadow(0 2px 4px rgba(10, 30, 80, .18)); transition: transform .3s ease; }
.bcard:hover .bcard__img--hl img { transform: scale(1.04); }
.bcard__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.bcard__num { font-family: var(--font-display); font-weight: 800; font-size: .8rem; color: var(--accent); letter-spacing: .1em; }
.bcard h3 { font-size: 1.35rem; }
.bcard p { color: var(--ink-2); font-size: .92rem; }
.bcard__meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.bcard__meta span { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--accent-tint); color: var(--accent); }
.bcard--dark { background: var(--dark); color: #fff; border-color: var(--dark-line); justify-content: space-between; padding: 22px; min-height: 200px; }
.bcard--dark .bcard__num { color: var(--accent-2); }
.bcard--accent .bcard__num { color: inherit; opacity: .85; }
.bcard--dark p { color: #c3cae0; }
.bcard--dark .btn { align-self: flex-start; margin-top: 16px; }
.bcard--dark > div, .bcard--accent > div { display: flex; flex-direction: column; gap: 6px; }
.bcard--accent { background: var(--accent); color: var(--accent-ink); border: 0; padding: 22px; min-height: 180px; justify-content: space-between; }
.bcard--accent h3 { color: inherit; }
.bcard--accent p { color: inherit; opacity: .85; }
.bcard--accent .btn { background: var(--ink); color: #fff; align-self: flex-start; margin-top: 16px; }
:root[data-theme="dark"] .bcard--accent .btn { background: #0c1020; }

/* ---- machine scroller ---- */
.scroller { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -20px; padding: 4px 20px 12px; }
.scroller::-webkit-scrollbar { display: none; }
.mcard { flex: 0 0 240px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.mcard__img { height: 180px; background: radial-gradient(60% 60% at 50% 58%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 72%), linear-gradient(160deg, var(--bg), var(--ph-1)); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); overflow: hidden; padding: 14px 16px; }
.mcard__img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(10, 30, 80, .22)) drop-shadow(0 2px 3px rgba(10, 30, 80, .14)); }
.mcard__body { padding: 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mcard__cat { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.mcard h3 { font-size: 1rem; }
.mcard small { color: var(--ink-3); font-size: .78rem; }
.mcard__spec { margin-top: auto; padding-top: 10px; font-size: .78rem; color: var(--ink-2); display: flex; gap: 8px; flex-wrap: wrap; }
.mcard__spec b { color: var(--ink); }
.scroller__nav { display: flex; gap: 8px; }
.scroller__nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; }
.scroller__nav svg { width: 18px; height: 18px; }

/* ---- laser picker ---- */
.picker { display: grid; gap: 12px; }
.pick { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.pick__wave { font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: var(--accent); text-align: center; line-height: 1.1; }
.pick__wave small { display: block; font-size: .65rem; color: var(--ink-3); font-weight: 600; letter-spacing: .08em; }
.pick h3 { font-size: 1.05rem; }
.pick p { font-size: .85rem; color: var(--ink-2); }
.pick__bar { height: 6px; border-radius: 6px; background: var(--tint); overflow: hidden; margin-top: 8px; }
.pick__bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* ---- process steps ---- */
.flow { display: grid; gap: 10px; counter-reset: f; }
.flow__step { position: relative; padding: 18px 18px 18px 64px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.flow__step::before { counter-increment: f; content: counter(f); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.flow__step strong { display: block; font-family: var(--font-display); margin-bottom: 4px; }
.flow__step p { color: var(--ink-2); font-size: .9rem; }

/* ---- samples grid: two photos per machine ---- */
.sgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sgrid__item { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.sgrid__img { aspect-ratio: 1 / 1; overflow: hidden; }
.sgrid__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sgrid__item span { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 10px; }
.sgrid__item em { font-style: normal; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.sgrid__item b { font-size: .8rem; font-weight: 600; color: var(--ink); }
.sgrid__item small { font-size: .72rem; color: var(--ink-3); }

/* ---- industries chips ---- */
.chips-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-wrap a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .88rem; }
.chips-wrap a i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chips-wrap a:hover { border-color: var(--accent); }

/* ---- proof / clients ---- */
.proof { display: grid; gap: 20px; }
.proof__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.proof__badges img { height: 64px; width: auto; background: #fff; border-radius: 12px; padding: 6px; border: 1px solid var(--line); }

/* ---- enquiry ---- */
.enq { display: grid; gap: 20px; }
.enq__card { background: var(--dark); color: #fff; border-radius: 24px; padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; }
.enq__card h2 { color: #fff; }
.enq__card p { color: #c3cae0; }
.enq__links { display: grid; gap: 8px; }
.enq__links a { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--dark-line); font-size: .9rem; }
.enq__links a b { color: var(--accent-2); }

/* ---- trusted by (highlight band) ---- */
.trust { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.trust::before { content: ""; position: absolute; left: -10%; top: -40%; width: 60vw; height: 60vw; max-width: 700px; max-height: 700px; border-radius: 50%; background: radial-gradient(circle, var(--accent-glow), transparent 65%); pointer-events: none; }
.trust .container { position: relative; }
.kicker--light { color: var(--accent-2); }
.trust h2 { color: #fff; max-width: 22ch; }
.trust__head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }
.trust__lead { color: #c3cae0; margin-top: 10px; max-width: 52ch; }
.trust__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.trust__stats div { background: rgba(255,255,255,.06); border: 1px solid var(--dark-line); border-radius: 14px; padding: 12px; }
.trust__stats b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--accent-2); line-height: 1; }
.trust__stats small { color: #9aa3c4; font-size: .72rem; }
.trust__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.trust__logo { background: #fff; border-radius: 14px; height: 84px; display: grid; place-items: center; padding: 12px; transition: transform .2s; }
.trust__logo:hover { transform: translateY(-3px); }
.trust__logo img { max-height: 56px; max-width: 100%; object-fit: contain; }
.trust__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.trust__badges { display: flex; gap: 10px; }
.trust__badges img { height: 60px; width: auto; background: #fff; border-radius: 12px; padding: 6px; }
.btn--onDark { color: #fff; border-color: rgba(255,255,255,.4); }

/* ---- formats ---- */
.fmt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fmt { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 2px; text-align: center; }
.fmt img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 10px; padding: 8px; margin-bottom: 6px; }
.fmt b { font-family: var(--font-display); font-size: .9rem; }
.fmt small { color: var(--ink-3); font-size: .72rem; display: none; }

/* ---- service / what you get ---- */
.svc { display: grid; gap: 12px; }
.svc__item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.svc__ico { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; margin-bottom: 4px; }
.svc__ico svg { width: 20px; height: 20px; }
.svc__item strong { font-family: var(--font-display); font-size: 1rem; }
.svc__item p { color: var(--ink-2); font-size: .9rem; }

/* ---- accessories strip ---- */
.accstrip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.accstrip__i { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.accstrip__i img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #fff; border-radius: 10px; padding: 8px; margin-bottom: 6px; }
.accstrip__i b { font-family: var(--font-display); font-size: .92rem; }
.accstrip__i small { color: var(--ink-3); font-size: .74rem; }
.accstrip__i:hover { border-color: var(--accent); }

.faq--2 { }

/* ---- desktop ---- */
@media (min-width: 900px) {
  .h2hero { padding: 72px 0 48px; }
  .h2hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
  .h2hero__left { display: flex; flex-direction: column; gap: 22px; }
  .h2hero__visual { margin: 0; }
  .h2hero__img { aspect-ratio: 1; }
  .h2hero__chip--1 { left: -20px; top: 40px; }
  .h2hero__chip--2 { right: -20px; bottom: 60px; }
  .h2hero__chip--3 { right: -10px; top: 30px; }

  /* four process cards (2 x 2, then 4 across on wide screens) · two equal banners below */
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .bento > .bcard { grid-column: span 2; }
  .bento > .bcard--dark, .bento > .bcard--accent { grid-column: span 2; }
  .bcard__img { flex: 0 0 260px; min-height: 0; }
  .bcard__img img, .bcard--big .bcard__img img { max-height: 240px; }
  .bcard__body { flex: 1; padding: 20px 22px 22px; }
  .bcard--dark, .bcard--accent { min-height: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 30px; }
  .bcard--dark .btn, .bcard--accent .btn { flex: 0 0 auto; align-self: center; margin: 0; }

  .scroller { margin: 0; padding: 4px 0 12px; }
  .mcard { flex-basis: 280px; }

  .picker { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .pick { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
  .pick__wave { text-align: left; font-size: 1.4rem; }

  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .flow__step { padding: 64px 20px 22px; }
  .flow__step::before { left: 20px; top: 20px; }

  .sgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

  .proof { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .trust__head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; }
  .trust__stats { flex: 0 0 380px; }
  .trust__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
  .trust__logo { height: 100px; }
  .fmt-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; }
  .fmt small { display: block; }
  .svc { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .accstrip { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
  .faq--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .enq { grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: stretch; }
  .enq__card { padding: 40px; }
}

/* ---- trusted by v3: big logo wall ---- */
.tb { background: var(--dark); color: #fff; overflow: hidden; position: relative; padding: 56px 0; }
.tb::before { content: ""; position: absolute; left: 50%; top: -30%; width: 90vw; height: 90vw; max-width: 900px; max-height: 900px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, var(--accent-glow), transparent 62%); pointer-events: none; }
.tb__top { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 28px; }
.tb__top .kicker { color: var(--accent-2); }
.tb h2 { color: #fff; max-width: 24ch; font-size: clamp(1.6rem, 6vw, 2.6rem); }
.tb__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 640px; margin-top: 6px; }
.tb__stats div { background: rgba(255,255,255,.06); border: 1px solid var(--dark-line); border-radius: 14px; padding: 12px 8px; }
.tb__stats b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--accent-2); line-height: 1; }
.tb__stats small { color: #9aa3c4; font-size: .72rem; line-height: 1.2; display: block; margin-top: 4px; }
.tb__wall { position: relative; display: grid; gap: 14px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tb__row { display: flex; gap: 14px; width: max-content; animation: marquee 50s linear infinite; }
.tb__row--rev { animation-direction: reverse; animation-duration: 62s; }
.tb:hover .tb__row { animation-play-state: paused; }
.tb__row span { flex: 0 0 auto; width: 180px; height: 96px; border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.tb__row img { height: 62px; width: auto; max-width: 150px; object-fit: contain; display: block; }
.tb__cert { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 18px; border: 1px solid var(--dark-line); background: rgba(255,255,255,.04); }
.tb__cert-text { display: flex; flex-direction: column; gap: 2px; }
.tb__cert-text strong { font-family: var(--font-display); }
.tb__cert-text span { color: #c3cae0; font-size: .88rem; }
.tb__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.tb__badges img { height: 52px; width: auto; max-width: 100%; background: #fff; border-radius: 12px; padding: 6px; }
@media (min-width: 900px) {
  .tb { padding: 88px 0; }
  .tb__top { margin-bottom: 44px; }
  .tb__stats { max-width: 720px; gap: 12px; }
  .tb__stats b { font-size: 2rem; }
  .tb__wall { gap: 18px; }
  .tb__row span { width: 240px; height: 128px; border-radius: 22px; padding: 18px; }
  .tb__row img { height: 84px; max-width: 200px; }
  .tb__cert { margin-top: 44px; flex-direction: row; align-items: center; justify-content: space-between; padding: 22px 28px; }
  .tb__badges img { height: 60px; }
}
/* =========================================================
   Homepage motion (scoped to body[data-page="home"])
   ========================================================= */
@keyframes home-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes home-pop { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes home-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes home-shine { 0%, 70% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(260%) skewX(-20deg); } }

/* 1. hero entrance, staggered */
body[data-page="home"] .h2hero__tag,
body[data-page="home"] .h2hero h1 .line,
body[data-page="home"] .h2hero__lead,
body[data-page="home"] .h2hero__cta { animation: home-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
body[data-page="home"] .h2hero__tag { animation-delay: .05s; }
body[data-page="home"] .h2hero h1 .line:nth-child(1) { animation-delay: .15s; }
body[data-page="home"] .h2hero h1 .line:nth-child(2) { animation-delay: .28s; }
body[data-page="home"] .h2hero h1 .line:nth-child(3) { animation-delay: .41s; }
body[data-page="home"] .h2hero__lead { animation-delay: .55s; }
body[data-page="home"] .h2hero__cta { animation-delay: .68s; }
body[data-page="home"] .h2hero__visual { animation: home-pop 1s cubic-bezier(.2, .7, .2, 1) .35s both; }
body[data-page="home"] .h2hero h1 .hl::after { transform-origin: left; animation: home-underline .7s ease-out .9s both; }
@keyframes home-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* 2. hero photo gently floats */
body[data-page="home"] .h2hero__img { animation: home-float 7s ease-in-out 1.4s infinite; }

/* 3. scroll reveal (html.anim is added by the page script, so no-JS visitors see everything) */
html.anim body[data-page="home"] .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
html.anim body[data-page="home"] .reveal.is-in { opacity: 1; transform: none; }

/* 4. laser-picker bars fill when revealed */
body[data-page="home"] .pick__bar i { transition: width 1.3s cubic-bezier(.2, .7, .2, 1) .25s; }
html.anim body[data-page="home"] .pick.reveal:not(.is-in) .pick__bar i { width: 0; }

/* 5. hover effects */
body[data-page="home"] .bcard__img img, body[data-page="home"] .mcard__img img, body[data-page="home"] .sgrid img,
body[data-page="home"] .fmt img, body[data-page="home"] .accstrip__i img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
body[data-page="home"] .bcard:hover .bcard__img img, body[data-page="home"] .mcard:hover .mcard__img img,
body[data-page="home"] .sgrid__item:hover img, body[data-page="home"] .fmt:hover img, body[data-page="home"] .accstrip__i:hover img { transform: scale(1.06); }
body[data-page="home"] .mcard, body[data-page="home"] .fmt, body[data-page="home"] .accstrip__i, body[data-page="home"] .svc__item, body[data-page="home"] .pick { transition: transform .25s, box-shadow .25s, border-color .25s; }
body[data-page="home"] .mcard:hover, body[data-page="home"] .fmt:hover, body[data-page="home"] .accstrip__i:hover, body[data-page="home"] .svc__item:hover, body[data-page="home"] .pick:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(19, 26, 46, .10); border-color: var(--accent); }
body[data-page="home"] .svc__ico { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
body[data-page="home"] .svc__item:hover .svc__ico { transform: scale(1.15) rotate(-8deg); }
body[data-page="home"] .chips-wrap a { transition: transform .2s, border-color .2s; }
body[data-page="home"] .chips-wrap a:hover { transform: translateY(-2px); }
body[data-page="home"] .chips-wrap a:hover i { box-shadow: 0 0 0 5px var(--accent-tint); }

/* 6. light sweep on primary buttons (hover), periodic shine on the hero CTA */
body[data-page="home"] .btn--primary { position: relative; overflow: hidden; }
body[data-page="home"] .btn--primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: translateX(-120%) skewX(-20deg); pointer-events: none; }
body[data-page="home"] .btn--primary:hover::after { animation: home-shine .9s ease-out; animation-delay: 0s; }
body[data-page="home"] .h2hero__cta .btn--primary::after { animation: home-shine 4.5s ease-in-out 2s infinite; }

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] *, body[data-page="home"] *::before, body[data-page="home"] *::after { animation: none !important; transition: none !important; }
  html.anim body[data-page="home"] .reveal { opacity: 1; transform: none; }
}

@media (min-width: 1200px) {
  .bento > .bcard:not(.bcard--dark):not(.bcard--accent) { grid-column: span 1; }
}
