/* ==========================================================================
   Wichii — Site Design System v2
   ========================================================================== */

:root {
  /* palette */
  --ink: #0d1526;
  --body: #4b5769;
  --muted: #7c899e;
  --line: #e3e9f2;
  --bg: #ffffff;
  --tint: #f6f8fc;
  --tint2: #eef3fb;
  --brand: #0b63f6;
  --brand-d: #0648c4;
  --cyan: #00b9c6;
  --warm: #ff7a45;
  --dark: #070d1b;
  --dark-2: #0d1930;
  --dark-line: #1d2a42;

  /* type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;

  /* layout */
  --wrap: 1200px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --sh-sm: 0 2px 10px rgba(13, 21, 38, .05);
  --sh: 0 10px 34px rgba(13, 21, 38, .09);
  --sh-lg: 0 20px 60px rgba(13, 21, 38, .14);
  --ease: cubic-bezier(.22, .68, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font: 16px/1.7 var(--font);
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-d); }
h1, h2, h3, h4, h5 {
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.18;
  margin: 0 0 .55em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); }

/* ---------- utilities ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--cyan));
}
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); line-height: 1.65; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: var(--r-sm);
  font: 700 .94rem/1 var(--font); letter-spacing: .005em;
  color: #fff; background: linear-gradient(120deg, var(--brand), #1478ff);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  box-shadow: 0 6px 18px rgba(11, 99, 246, .24);
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(11, 99, 246, .32); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line); box-shadow: none;
}
.btn-ghost:hover { color: var(--brand); border-color: var(--brand); box-shadow: none; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.btn-light:hover { color: var(--brand); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- header ----------
   Slate-gray bar matching the original wichii.com Shopify header
   (--color-base-alt-background-1: 65, 74, 87) with its frosted-glass feel. */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(65, 74, 87, .94);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled {
  background: rgba(65, 74, 87, .98);
  box-shadow: 0 8px 26px rgba(13, 21, 38, .22);
}
.hdr { display: flex; align-items: center; gap: 22px; height: 74px; }
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 38px; width: auto; object-fit: contain; }
.hdr nav { margin-left: auto; }
.hdr nav ul { display: flex; align-items: center; gap: 4px; }
.hdr nav a {
  display: block; padding: 9px 13px; border-radius: 8px;
  color: rgba(255, 255, 255, .88); font-size: .89rem; font-weight: 600;
  transition: color .2s, background .2s;
}
.hdr nav a:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.hdr nav a[aria-current="page"] { color: #fff; background: rgba(56, 198, 255, .26); }
.hdr-cta { flex: 0 0 auto; }
.menu-btn {
  display: none; margin-left: auto; width: 42px; height: 42px;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.15rem; cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(760px, 88vh);
  display: flex; align-items: center;
  background: var(--dark); color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; border-radius: 0;
  opacity: .62;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 12, 26, .93) 0%, rgba(6, 12, 26, .72) 42%, rgba(6, 12, 26, .22) 100%),
    linear-gradient(0deg, rgba(6, 12, 26, .85), transparent 45%);
}
.hero-inner { padding: 90px 0 100px; }
.hero-inner h1 { color: #fff; max-width: 15ch; margin-bottom: 18px; }
.hero-inner h1 .grad {
  background: linear-gradient(100deg, #57a6ff, #4fe6d2);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-inner .lead { color: #b9c7de; max-width: 52ch; font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.hero-inner .btn-row { margin-top: 34px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.07);
  color: #cfe0ff; font-size: .76rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; margin-bottom: 22px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #4fe6d2; box-shadow: 0 0 0 4px rgba(79,230,210,.18); }
.hero-meta {
  display: flex; gap: 34px; flex-wrap: wrap; margin-top: 58px;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14);
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta b { color: #fff; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.hero-meta span { color: #94a6c4; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.5); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint::after { content: ""; width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.6), transparent); }

/* compact hero used on inner pages */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--dark); color: #fff;
  padding: 76px 0 78px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 320px at 82% -10%, rgba(11,99,246,.38), transparent 70%),
    radial-gradient(600px 300px at 10% 120%, rgba(0,185,198,.2), transparent 70%);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 22ch; }
.page-hero .lead { color: #aab9d2; max-width: 62ch; }
.page-hero .eyebrow { color: #7fb4ff; }
.page-hero .eyebrow::before { background: linear-gradient(90deg, #4b9bff, #38e0d0); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 108px) 0; }
.section.tint { background: var(--tint); }
.section.tint2 { background: var(--tint2); }
.section.tight { padding: 44px 0; }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

/* stat bar */
.statbar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--dark); color: #fff; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-lg);
}
.statbar .stat { padding: 30px 26px; border-right: 1px solid var(--dark-line); }
.statbar .stat:last-child { border-right: 0; }
.statbar b { display: block; color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.statbar b .u { font-size: .95rem; color: #4fe6d2; margin-left: 3px; }
.statbar span { display: block; margin-top: 8px; color: #8ea0bd; font-size: .82rem; }

/* category cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.cat-card:hover { transform: translateY(-7px); box-shadow: var(--sh); border-color: #c9dcff; }
.cat-media {
  height: 250px; background: linear-gradient(150deg, #f2f6fd, #e9f0fb);
  display: grid; place-items: center; overflow: hidden; position: relative;
}
.cat-media img { width: 100%; height: 100%; object-fit: contain; padding: 24px; transition: transform .5s var(--ease); }
.cat-card:hover .cat-media img { transform: scale(1.06); }
.cat-media video { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.cat-media .tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.9);
  color: var(--brand); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.cat-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { font-size: 1.32rem; margin-bottom: 8px; }
.cat-body p { color: var(--muted); font-size: .94rem; margin-bottom: 18px; flex: 1; }
.cat-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; }
.cat-link::after { content: "→"; transition: transform .25s; }
.cat-card:hover .cat-link::after { transform: translateX(5px); }

/* product cards */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.prod-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: #c9dcff; text-decoration: none; }
.prod-media {
  aspect-ratio: 1 / 1; background: #f7f9fd;
  display: grid; place-items: center; overflow: hidden;
}
.prod-media img { width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: transform .5s var(--ease); }
.prod-card:hover .prod-media img { transform: scale(1.07); }
.prod-body { padding: 16px 18px 20px; border-top: 1px solid var(--line); }
.prod-body .name { color: var(--ink); font-weight: 700; font-size: .97rem; line-height: 1.4; display: block; }
.prod-body .sub { color: var(--muted); font-size: .8rem; margin-top: 6px; display: block; }

/* feature split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 78px); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-copy h2 { margin-bottom: 16px; }
.split-copy p { color: var(--body); }
.split-media { position: relative; }
.split-media img, .split-media video {
  width: 100%; border-radius: var(--r-lg); background: #f4f7fc;
  box-shadow: var(--sh); object-fit: contain;
}
.media-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.media-mosaic img {
  aspect-ratio: 1/1; width: 100%; object-fit: contain; background: #f4f7fc;
  border-radius: var(--r-sm); padding: 14px; box-shadow: var(--sh-sm);
}
.media-mosaic .wide { grid-column: 1 / -1; aspect-ratio: 2.2/1; }

/* feature / why grid */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px; box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.feat .num {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: 11px; background: #eaf1ff; color: var(--brand);
  font-weight: 800; font-size: .9rem; margin-bottom: 16px;
}
.feat h3 { font-size: 1.03rem; line-height: 1.4; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: .9rem; margin: 0; }

/* steps / timeline */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 28px 22px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-sm);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; color: var(--brand); font-size: 1.7rem; font-weight: 800;
  letter-spacing: -.04em; margin-bottom: 12px;
}
.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .88rem; margin: 0; }

/* chips / spec list */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0 0; }
.chip {
  padding: 8px 15px; border-radius: 999px; background: var(--tint2);
  border: 1px solid var(--line); color: #33405a; font-size: .85rem; font-weight: 600;
}
.speclist { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.speclist div { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .93rem; }
.speclist div:last-child { border-bottom: 0; }
.speclist div:nth-child(odd) { background: var(--tint); }
.speclist dt { color: var(--muted); font-weight: 600; }
.speclist dd { margin: 0; color: var(--ink); font-weight: 650; }

/* generic media grid (galleries) */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.gallery img, .gallery video {
  width: 100%; aspect-ratio: 1/1; object-fit: contain;
  background: #f6f8fc; border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px;
}
.gallery.people img { object-fit: cover; padding: 0; }
.gallery.video-strip { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.gallery.video-strip video { aspect-ratio: 16/9; object-fit: cover; padding: 0; }

/* full width media band */
.media-band { position: relative; background: var(--dark); padding: clamp(56px, 7vw, 90px) 0; text-align: center; }
.media-band h2 { color: #fff; }
.media-band .lead { color: #aab9d2; }
.media-band video, .media-band img {
  width: min(100%, 980px); margin: 34px auto 0; border-radius: var(--r-lg);
  box-shadow: 0 24px 70px rgba(0,0,0,.45); background: #000;
}

/* CTA band */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(115deg, #062a76, #0b63f6 52%, #0097b8);
  color: #fff; padding: clamp(58px, 7vw, 88px) 0; text-align: center;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(600px 240px at 15% 0%, rgba(255,255,255,.16), transparent 70%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 12px; }
.cta-band p { color: #d7e6ff; max-width: 60ch; margin: 0 auto 26px; font-size: 1.05rem; }
.cta-band .btn-row { justify-content: center; margin-top: 0; }

/* breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 22px 0 0; font-size: .83rem; color: var(--muted); }
.crumbs a { color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { color: #c3ccdb; }
.crumbs span[aria-current] { color: var(--ink); font-weight: 650; }

/* ---------- product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 68px); align-items: start; }
.pgal-main {
  aspect-ratio: 1/1; background: #f6f8fc; border: 1px solid var(--line);
  border-radius: var(--r-lg); display: grid; place-items: center; overflow: hidden;
}
.pgal-main img { width: 100%; height: 100%; object-fit: contain; padding: 34px; }
.pgal-main video { width: 100%; height: 100%; object-fit: contain; background: #000; border-radius: var(--r-lg); }
.pgal-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; margin-top: 12px; }
.pgal-thumbs button {
  aspect-ratio: 1/1; padding: 8px; background: #f6f8fc;
  border: 2px solid transparent; border-radius: var(--r-sm); cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.pgal-thumbs button:hover { transform: translateY(-2px); }
.pgal-thumbs button.active { border-color: var(--brand); background: #eaf1ff; }
.pgal-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pinfo h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 12px; }
.pinfo .pcat { color: var(--brand); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.price { font-size: 1.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: 16px 0 4px; }
.price small { font-size: .82rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pinfo .btn-row { margin-top: 24px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .84rem; }
.trust-row span::before { content: "✓"; color: var(--cyan); font-weight: 900; }

/* ---------- article ---------- */
.article-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 60px; align-items: start; }
.toc { position: sticky; top: 100px; }
.toc h4 { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc a { display: block; padding: 7px 0 7px 13px; border-left: 2px solid var(--line); color: var(--muted); font-size: .86rem; line-height: 1.4; }
.toc a:hover, .toc a.active { color: var(--brand); border-left-color: var(--brand); }
.article { max-width: 760px; }
.article h2 { font-size: 1.65rem; margin: 2.1em 0 .6em; scroll-margin-top: 100px; }
.article h3 { font-size: 1.18rem; margin: 1.7em 0 .5em; scroll-margin-top: 100px; }
.article p { font-size: 1.06rem; line-height: 1.85; color: #3d4a5f; }
.article .standfirst { font-size: 1.2rem; line-height: 1.7; color: var(--ink); font-weight: 550; border-left: 3px solid var(--brand); padding-left: 20px; margin-bottom: 2em; }
.article-meta { display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: .84rem; margin: 18px 0 34px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 26px; box-shadow: var(--sh-sm);
}
.contact-card .ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: #eaf1ff; color: var(--brand); font-size: 1.25rem; margin-bottom: 18px;
}
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.contact-card a { font-weight: 650; word-break: break-word; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: #93a3bd; padding: 72px 0 0; margin-top: 0; }
.fgrid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.3fr; gap: 34px; padding-bottom: 54px; }
.fbrand img { height: 40px; width: auto; margin-bottom: 18px; }
.fbrand p { font-size: .9rem; line-height: 1.7; max-width: 30ch; }
.site-footer h3 { color: #fff; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 800; }
.fcol li { margin: 9px 0; font-size: .9rem; }
.fcol a { color: #93a3bd; }
.fcol a:hover { color: #fff; }
.fsocial { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 16px; }
.fsocial a {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  border: 1px solid var(--dark-line); color: #93a3bd; font-size: .72rem; font-weight: 700;
}
.fsocial a:hover { border-color: var(--brand); color: #fff; }
.fmeta {
  border-top: 1px solid var(--dark-line); padding: 22px 0 30px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .79rem; color: #6d7d99;
}
.fmeta p { margin: 0; max-width: 78ch; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .fgrid { grid-template-columns: repeat(3, 1fr); }
  .fbrand, .site-footer .fcol:last-child { grid-column: span 3; }
  .article-wrap { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .hdr nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: rgba(65, 74, 87, .98);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 12px 28px rgba(13, 21, 38, .28); padding: 14px 20px 20px; margin: 0;
  }
  .nav-open .hdr nav { display: block; }
  .hdr nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .hdr-cta { display: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-media { height: 220px; }
  .split, .pdp { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 0; }
  .statbar { grid-template-columns: repeat(2, 1fr); }
  .statbar .stat:nth-child(2) { border-right: 0; }
  .statbar .stat:nth-child(-n+2) { border-bottom: 1px solid var(--dark-line); }
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .fbrand, .site-footer .fcol:last-child { grid-column: span 2; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, var(--wrap)); }
  .hero { min-height: 620px; }
  .hero-meta { gap: 20px; margin-top: 40px; }
  .hero-meta b { font-size: 1.25rem; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .statbar { grid-template-columns: 1fr 1fr; }
  .speclist div { grid-template-columns: 1fr; gap: 3px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .media-mosaic { grid-template-columns: 1fr 1fr; }
  .crumbs { font-size: .78rem; }
  .fgrid { grid-template-columns: 1fr; }
  .fbrand, .site-footer .fcol:last-child { grid-column: span 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
