/* ============================================================
   Right Create Technology Ltd — Global Stylesheet
   Light · Minimal · Tech-Blue · PCB / Precision Manufacturing
   ============================================================ */

/* ---------- 1. Design Tokens ---------- */
:root {
  --blue-700: #0047cc;
  --blue-600: #0b5fff;
  --blue-500: #3d82ff;
  --blue-100: #dbe9ff;
  --blue-50:  #eef5ff;
  --cyan-400: #22b8e8;
  --ink-900: #0a1f3d;
  --ink-700: #243b5e;
  --slate-600: #47536b;
  --slate-500: #5f6f8c;
  --slate-400: #8494b0;
  --line: #e3eaf5;
  --bg: #ffffff;
  --bg-alt: #f5f8fd;
  --bg-blue: #f0f6ff;
  --gold: #d97706;
  --gold-100: #fff7ed;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(10, 31, 61, .06);
  --shadow-md: 0 8px 24px rgba(10, 31, 61, .08);
  --shadow-lg: 0 20px 50px rgba(10, 31, 61, .12);
  --glow-blue: 0 0 0 1px rgba(11, 95, 255, .15), 0 12px 40px rgba(11, 95, 255, .18);
  --font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --container: 1200px;
  --header-h: 76px;
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  color: var(--ink-900);
  margin: 0 0 .55em;
  font-weight: 700;
  letter-spacing: -.03em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em; }
h2 { font-size: clamp(1.6rem, 3.1vw, 2.35rem); line-height: 1.1; letter-spacing: -.035em; }
h3 { font-size: 1.28rem; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0 0 1em; color: var(--slate-600); line-height: 1.65; }
ul { padding-left: 1.2em; }
li { margin-bottom: .4em; color: var(--slate-600); }
strong { color: var(--ink-700); }
::selection { background: var(--blue-100); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--wide { width: 100%; max-width: max(1200px, 80vw); padding: 0 24px; }
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section--blue { background: linear-gradient(180deg, var(--bg-blue), #fff); }
.section__head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section__head p { font-size: 1.06rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .76rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); display: inline-block; }
.lead { font-size: 1.12rem; color: var(--slate-600); }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px; font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; transition: all .2s ease;
  white-space: nowrap;
}
.btn--primary { background: #2270c3; color: #fff; box-shadow: 0 6px 18px rgba(34, 112, 195, .28); }
.btn--primary:hover { background: #1b5a9c; color: #fff; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(34, 112, 195, .34); }
.btn--outline { background: #fff; color: var(--blue-600); border-color: var(--blue-600); }
.btn--outline:hover { background: var(--blue-50); color: var(--blue-700); }
.btn--ghost { background: #fff; color: var(--ink-700); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.btn--sm { padding: 9px 18px; font-size: .88rem; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- 4. Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; height: var(--header-h);
  background: #0a1f3d; backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08); transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { background: #0a1f3d; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__img { height: 40px; width: auto; display: block; border-radius: 4px; background: #fff; padding: 2px 4px; }
.logo__img--footer { height: 48px; background: #fff; padding: 4px 8px; border-radius: 6px; }
.logo__mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .82rem;
  font-family: var(--font-mono); letter-spacing: .02em;
  box-shadow: 0 6px 16px rgba(11, 95, 255, .3);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-weight: 800; font-size: 1.02rem; color: var(--ink-900); letter-spacing: -.01em; }
.logo__tag { font-size: .68rem; color: var(--slate-500); letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-mono); }

/* Desktop nav */
.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px;
  font-weight: 500; font-size: .95rem; color: rgba(255, 255, 255, .9); border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav-link:hover, .nav-item:focus-within > .nav-link { color: #fff; background: rgba(34, 112, 195, .35); }
.nav-link.is-active { color: #fff; font-weight: 600; background: rgba(34, 112, 195, .25); }
.nav-link .caret { width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.nav-item:hover .caret, .nav-item:focus-within .caret { transform: rotate(225deg) translateY(-1px); }

/* Dropdown submenu */
.submenu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 10px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transition: all .18s ease; z-index: 50;
}
.nav-item:hover > .submenu, .nav-item:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.submenu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.submenu li a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-radius: 8px; color: var(--ink-700); font-size: .92rem; font-weight: 500;
}
.submenu li a:hover { background: var(--blue-50); color: var(--blue-600); }
.submenu li a small { color: var(--slate-400); font-family: var(--font-mono); font-size: .68rem; }

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Hamburger */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px;
  background: transparent; cursor: pointer; padding: 0; place-items: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 2.5px auto; border-radius: 2px; transition: all .25s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 999; overflow-y: auto; padding: 16px 24px 40px;
  border-top: 1px solid var(--line);
}
.nav-mobile.is-open { display: block; }
.nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-mobile > ul > li { border-bottom: 1px solid var(--line); }
.m-nav-link, .m-nav-parent {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 15px 4px; font-weight: 600; color: var(--ink-900); font-size: 1rem;
  background: none; border: 0; cursor: pointer; text-align: left; font-family: inherit;
}
.m-nav-parent .caret { width: 9px; height: 9px; border-right: 1.8px solid var(--slate-500); border-bottom: 1.8px solid var(--slate-500); transform: rotate(45deg); transition: transform .2s ease; }
.m-nav-parent.is-open .caret { transform: rotate(225deg); }
.m-submenu { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.m-submenu.is-open { max-height: 500px; }
.m-submenu li a { display: block; padding: 11px 4px 11px 18px; color: var(--slate-600); font-size: .94rem; border-left: 2px solid var(--blue-100); margin-left: 6px; }
.m-submenu li a:hover { color: var(--blue-600); border-left-color: var(--blue-600); }
.nav-mobile .btn { width: 100%; margin-top: 20px; }

/* ---------- 5. Breadcrumbs ---------- */
.breadcrumbs { padding: 18px 0 0; font-size: .85rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--slate-500); }
.breadcrumbs li + li::before { content: "›"; color: var(--slate-400); }
.breadcrumbs a { color: var(--slate-500); }
.breadcrumbs a:hover { color: var(--blue-600); }
.breadcrumbs [aria-current] { color: var(--ink-700); font-weight: 600; }

/* ---------- 6. Hero (Homepage) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f6faff 0%, #ffffff 78%);
  padding: 84px 0 96px;
}
.hero__circuits { position: absolute; inset: 0; pointer-events: none; }
.hero__circuits svg { position: absolute; width: 100%; height: 100%; }
.trace { fill: none; stroke: var(--blue-100); stroke-width: 1.4; }
.trace--strong { stroke: #c9defc; }
.pad { fill: #d6e6ff; }
.via { fill: none; stroke: #c9defc; stroke-width: 1.4; }
.signal { fill: none; stroke: var(--blue-500); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 6 340; animation: signalFlow 7s linear infinite; opacity: .85;
  filter: drop-shadow(0 0 4px rgba(61, 130, 255, .8)); }
.signal--slow { animation-duration: 11s; stroke: var(--cyan-400); stroke-dasharray: 4 420; }
.signal--delay { animation-delay: -3.5s; }
@keyframes signalFlow { to { stroke-dashoffset: -346; } }
.signal--slow { animation-name: signalFlowSlow; }
@keyframes signalFlowSlow { to { stroke-dashoffset: -424; } }

.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero__badge {
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .06em;
  color: var(--blue-700); background: #fff; border: 1px solid var(--blue-100);
  padding: 6px 12px; border-radius: 100px; box-shadow: var(--shadow-sm);
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--blue-600); }
.hero__sub { font-size: 1.14rem; max-width: 540px; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 28px; }
.hero__proof .stat .num { font-size: 1.5rem; font-weight: 800; color: var(--ink-900); letter-spacing: -.02em; }
.hero__proof .stat .num em { font-style: normal; color: var(--blue-600); }
.hero__proof .stat .lbl { font-size: .8rem; color: var(--slate-500); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }

/* Hero visual card */
.hero__visual { position: relative; }
.hero__card {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--glow-blue); border: 1px solid rgba(11, 95, 255, .12);
}
.hero__card::after {
  content: ""; position: absolute; inset: -1px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(11,95,255,.18), transparent 40%, rgba(34,184,232,.15));
  z-index: -1; filter: blur(2px);
}
.hero__card img { border-radius: 12px; }
.hero__card .scanline {
  position: absolute; left: 12%; right: 12%; height: 1px; top: 30%;
  background: linear-gradient(90deg, transparent, rgba(11,95,255,.5), transparent);
  animation: scan 5s ease-in-out infinite; pointer-events: none;
}
@keyframes scan { 0%, 100% { top: 22%; opacity: 0; } 50% { top: 78%; opacity: 1; } }

.float-tag {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 9px 16px; font-size: .8rem; font-weight: 600; color: var(--ink-700);
  box-shadow: var(--shadow-md); animation: floaty 6s ease-in-out infinite;
}
.float-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 3px rgba(11,95,255,.18); }
.float-tag--1 { top: 6%; left: -34px; animation-delay: 0s; }
.float-tag--2 { top: 34%; right: -30px; animation-delay: -1.6s; }
.float-tag--3 { bottom: 26%; left: -44px; animation-delay: -3.1s; }
.float-tag--4 { bottom: -4%; right: 8%; animation-delay: -4.4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- 7. Trust Strip ---------- */
.trust-strip { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-card {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px;
  border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff;
  transition: all .2s ease;
}
.trust-card:hover { border-color: var(--blue-500); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.trust-card .icon {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px;
  background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center;
}
.trust-card h3 { font-size: 1rem; margin: 0 0 4px; }
.trust-card p { font-size: .86rem; margin: 0; }

/* ---------- 8. Cards & Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; transition: all .22s ease; position: relative; overflow: hidden;
}
.card:hover { border-color: var(--blue-500); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--blue-50), #e2f6fd);
  color: var(--blue-600); display: grid; place-items: center;
}
.card h3 { font-size: 1.18rem; }
.card p { font-size: .95rem; margin-bottom: 14px; }
.card .card-link { font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.card .card-link .arrow { transition: transform .2s ease; }
.card:hover .card-link .arrow { transform: translateX(4px); }
.card--img { padding: 0; }
.card--img .card__img { aspect-ratio: 16/10; overflow: hidden; }
.card--img .card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card--img:hover .card__img img { transform: scale(1.05); }
.card--img .card__body { padding: 24px 26px 28px; }

.benefit-card { text-align: left; border-top: 3px solid var(--blue-600); }
.benefit-card .num { font-family: var(--font-mono); font-size: .8rem; color: var(--blue-600); font-weight: 600; letter-spacing: .1em; margin-bottom: 12px; }

/* ---------- 9. Page Hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 96px 0 90px;
  min-height: 58vh;
  display: flex; align-items: center;
  background: linear-gradient(180deg, #f3f8ff 0%, #ffffff 100%);
  border-bottom: 1px solid #c8d8ef;
  box-shadow: 0 30px 100px rgba(11, 95, 255, .10);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--blue-600) 20%, var(--cyan-400) 50%, var(--blue-600) 80%, transparent 100%);
  opacity: .85;
}
.page-hero .hero__circuits { opacity: .55; }
.page-hero__inner { position: relative; width: 100%; max-width: 900px; margin: 0 auto; }
.page-hero h1 { margin-bottom: 18px; font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.page-hero .lead { max-width: 720px; margin-bottom: 32px; font-size: 1.08rem; }
.page-hero--split .page-hero__inner { max-width: none; display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.page-hero__img {
  position: relative; z-index: 1;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(11, 95, 255, .08);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  max-height: 520px;
}
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero__video {
  aspect-ratio: 16 / 10;
  /* Local on-brand still sits under the player: it is what visitors see if the
     YouTube thumbnail or the embed itself cannot be loaded. */
  background: #0a1f3d url("../assets/img/video-poster.jpg") center / cover no-repeat;
}
.page-hero__video iframe,
.page-hero__video .video-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; z-index: 1; }

/* Poster facade — stacked ABOVE the player and only removed from view once playback
   is confirmed. If the embed is blocked (referrer/origin stripped, file://, ad-block)
   visitors see the poster and a working link instead of YouTube's "Error 153" screen. */
.video-facade { position: absolute; inset: 0; display: block; overflow: hidden; z-index: 3; }
.video-facade__poster { width: 100%; height: 100%; object-fit: cover; display: block; background: transparent; color: transparent; }
.video-facade::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 31, 61, .18) 0%, rgba(10, 31, 61, .42) 100%);
}
.video-facade__play {
  position: absolute; inset: 0; z-index: 2; margin: auto;
  width: 78px; height: 78px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(10, 31, 61, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: grid; place-items: center; cursor: pointer; padding: 0;
  box-shadow: 0 12px 34px rgba(3, 12, 28, .45);
  transition: transform .28s cubic-bezier(.2, .8, .3, 1), background .28s ease, border-color .28s ease;
}
.video-facade__play svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }
.video-facade__play:hover, .video-facade__play:focus-visible { transform: scale(1.08); background: var(--blue-600); border-color: var(--blue-600); }
.video-facade__link {
  position: absolute; right: 14px; bottom: 12px; z-index: 2;
  padding: 6px 12px; border-radius: 999px; text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: .01em;
  color: #fff; background: rgba(10, 31, 61, .62); border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .25s ease, border-color .25s ease;
}
.video-facade__link:hover { background: var(--blue-600); border-color: var(--blue-600); }
.page-hero__video.is-ready .video-facade { opacity: 0; pointer-events: none; transition: opacity .5s ease; }
[data-video-facade] { transition: opacity .5s ease; }

/* ---------- 10. Spec Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.spec-table thead th {
  background: var(--ink-900); color: #fff; font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .06em;
}
.spec-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.spec-table tbody tr:hover { background: var(--blue-50); }
.spec-table td:first-child { font-weight: 600; color: var(--ink-700); white-space: nowrap; }
.spec-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- 11. Process / Workflow ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process__step { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); counter-increment: step; }
.process__step::before {
  content: "0" counter(step); display: block; font-family: var(--font-mono);
  font-size: .82rem; font-weight: 600; color: var(--blue-600); margin-bottom: 14px; letter-spacing: .1em;
}
.process__step h3 { font-size: 1.08rem; }
.process__step p { font-size: .9rem; margin: 0; }
.process__step::after {
  content: ""; position: absolute; top: 50%; right: -20px; width: 20px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue-500) 0 4px, transparent 4px 8px);
}
.process__step:last-child::after { display: none; }

/* ---------- 12. FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-md); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-item__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 1.02rem; font-weight: 600; color: var(--ink-900);
}
.faq-item__q .faq-icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; font-size: 1.1rem; transition: transform .25s ease; font-weight: 400; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--blue-600); color: #fff; }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item__a > div { padding: 0 24px 22px; }
.faq-item__a p { margin: 0; font-size: .95rem; }

/* ---------- 13. CTA Band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(10,31,61,.82) 0%, rgba(18,58,117,.78) 55%, rgba(11,95,255,.75) 100%),
              url("../assets/img/cta-bg-rigid-flex.jpg") center/cover no-repeat;
  color: #fff; padding: 64px 56px; text-align: center;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../assets/img/cta-bg-rigid-flex.jpg") center/cover no-repeat;
  opacity: .28;
  filter: saturate(1.1);
  z-index: 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .18;
  background-image: radial-gradient(circle at 2px 2px, #fff 1px, transparent 0);
  background-size: 26px 26px;
  z-index: 1;
}
.cta-band h2 { color: #fff; position: relative; z-index: 2; text-shadow: 0 2px 12px rgba(10,31,61,.45); }
.cta-band p { color: rgba(255, 255, 255, .92); max-width: 620px; margin: 0 auto 30px; position: relative; z-index: 2; text-shadow: 0 1px 8px rgba(10,31,61,.5); }
.cta-band .btn--primary { background: #fff; color: var(--blue-700); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); position: relative; }
.cta-band .btn--primary:hover { background: var(--blue-50); color: var(--blue-700); }
.cta-band .btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); position: relative; }
.cta-band .btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }
.cta-band .mono-note { font-family: var(--font-mono); font-size: .78rem; color: rgba(255,255,255,.75); margin-top: 22px; position: relative; z-index: 2; text-shadow: 0 1px 6px rgba(10,31,61,.5); }

/* ---------- 14. Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: .9rem; color: var(--ink-700); }
.form-field label .req { color: #d64545; }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit; font-size: .95rem; padding: 12px 14px; color: var(--ink-900);
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg-alt);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue-600); background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 95, 255, .12);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.file-drop {
  border: 1.6px dashed var(--blue-100); border-radius: 10px; background: var(--blue-50);
  padding: 26px; text-align: center; cursor: pointer; transition: all .2s ease;
}
.file-drop:hover { border-color: var(--blue-600); background: #fff; }
.file-drop strong { display: block; color: var(--blue-700); }
.file-drop small { color: var(--slate-500); }
.file-drop input { display: none; }
.form-note { font-size: .82rem; color: var(--slate-500); margin-top: 14px; }
.form-success { display: none; padding: 16px 20px; border-radius: 10px; background: #e8f8ef; border: 1px solid #b9e8cd; color: #166534; font-weight: 600; margin-bottom: 20px; }
.form-success.is-visible { display: block; }
.form-error { display: none; padding: 16px 20px; border-radius: 10px; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; font-weight: 600; margin-bottom: 20px; }
.form-error.is-visible { display: block; }
.form-error a { color: #991b1b; text-decoration: underline; }

/* ---------- 15. Blog ---------- */
.blog-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.blog-search { position: relative; flex: 1; min-width: 260px; max-width: 420px; }
.blog-search input {
  width: 100%; padding: 12px 16px 12px 42px; border: 1px solid var(--line); border-radius: 100px;
  font-family: inherit; font-size: .94rem; background: #fff;
}
.blog-search input:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(11,95,255,.12); }
.blog-search .icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--slate-400); }
.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip {
  padding: 8px 16px; border-radius: 100px; border: 1px solid var(--line); background: #fff;
  font-size: .85rem; font-weight: 500; color: var(--slate-600); cursor: pointer; transition: all .15s ease;
  font-family: inherit;
}
.tag-chip:hover { border-color: var(--blue-500); color: var(--blue-600); }
.tag-chip.is-active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }

.post-card { display: flex; flex-direction: column; padding: 0; }
.post-card .card__img { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.post-card .card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .card__img img { transform: scale(1.05); }
.post-card .cat-badge {
  position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.94); color: var(--blue-700);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 5px 12px; border-radius: 100px; box-shadow: var(--shadow-sm);
}
.post-card .card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.1rem; }
.post-card h3 a { color: var(--ink-900); }
.post-card h3 a:hover { color: var(--blue-600); }
.post-card p { font-size: .9rem; flex: 1; }
.post-meta { display: flex; gap: 14px; font-size: .8rem; color: var(--slate-500); font-family: var(--font-mono); margin-top: 6px; }

.featured-post { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; padding: 0; }
.featured-post .card__img { min-height: 320px; }
.featured-post .card__img img { width: 100%; height: 100%; object-fit: cover; }
.featured-post .card__body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px;
  border: 1px solid var(--line); color: var(--slate-600); font-weight: 600; font-size: .92rem; background: #fff;
}
.pagination a:hover { border-color: var(--blue-600); color: var(--blue-600); }
.pagination .is-current { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }

/* Blog post template */
.post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.post-content { max-width: 760px; }
.post-content h2 { margin-top: 1.6em; }
.post-content h3 { margin-top: 1.4em; }
.post-content img { border-radius: var(--radius-md); margin: 28px 0; border: 1px solid var(--line); }
.post-content blockquote {
  margin: 28px 0; padding: 20px 26px; border-left: 3px solid var(--blue-600);
  background: var(--blue-50); border-radius: 0 var(--radius-md) var(--radius-md) 0; color: var(--ink-700);
}
.post-hero-img { border-radius: var(--radius-lg); border: 1px solid var(--line); margin: 32px 0; box-shadow: var(--shadow-md); }
.post-head-meta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; font-size: .86rem; color: var(--slate-500); font-family: var(--font-mono); margin: 18px 0 8px; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; }
.toc h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-500); font-family: var(--font-mono); margin-bottom: 14px; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 7px 0; font-size: .9rem; color: var(--slate-600); border-left: 2px solid var(--line); padding-left: 14px; }
.toc a:hover, .toc a.is-active { color: var(--blue-600); border-left-color: var(--blue-600); }
.share-row { display: flex; gap: 10px; margin-top: 20px; }
.share-btn {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; color: var(--slate-600); cursor: pointer; transition: all .15s ease;
}
.share-btn:hover { border-color: var(--blue-600); color: var(--blue-600); }
.author-box { display: flex; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--bg-alt); margin: 44px 0; }
.author-box .avatar { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.2rem; }
.inline-cta { border-radius: var(--radius-md); background: linear-gradient(120deg, var(--blue-50), #e8f7fd); border: 1px solid var(--blue-100); padding: 32px; margin: 40px 0; text-align: center; }

/* ---------- 16. Misc Components ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--wide-l { grid-template-columns: 1.15fr .85fr; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-50) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230b5fff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/11px no-repeat;
}
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 8px 16px; background: #fff; border: 1px solid var(--line); border-radius: 100px; font-size: .87rem; font-weight: 500; color: var(--ink-700); }
.pill:hover { border-color: var(--blue-500); color: var(--blue-600); }

.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-band .num { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink-900); }
.stat-band .num em { font-style: normal; color: var(--blue-600); }
.stat-band .lbl { font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-500); }

.testimonial { padding: 34px; }
.testimonial .quote-mark { font-family: Georgia, serif; font-size: 3rem; line-height: 1; color: var(--blue-100); margin-bottom: 8px; }
.testimonial p { font-size: 1rem; color: var(--ink-700); }
.testimonial .who { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.testimonial .who .avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-500), var(--cyan-400)); display: grid; place-items: center; color: #fff; font-weight: 700; }
.testimonial .who .name { font-weight: 700; color: var(--ink-900); font-size: .94rem; }
.testimonial .who .role { font-size: .82rem; color: var(--slate-500); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); position: relative; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  background: linear-gradient(transparent, rgba(10, 31, 61, .78)); color: #fff;
  font-size: .8rem; font-weight: 600;
}
.gallery-heading { font-size: 1.15rem; font-weight: 700; margin: 40px 0 12px; color: var(--heading); }
.gallery-heading:first-of-type { margin-top: 0; }
.gallery-subtitle { font-size: .95rem; color: var(--muted); line-height: 1.6; margin: 0 0 20px; max-width: 720px; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { text-align: center; padding: 32px 24px; }
.contact-card .icon { margin: 0 auto 18px; }
.contact-card h3 { font-size: 1.05rem; }
.contact-card p, .contact-card a { font-size: .93rem; }
.contact-card a { font-weight: 600; }

.value-card { text-align: center; padding: 34px 26px; }
.value-card .icon { margin: 0 auto 20px; }

.related-links { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; background: var(--bg-alt); }
.related-links h3 { font-size: 1rem; }
.related-links ul { list-style: none; padding: 0; margin: 0; }
.related-links li { margin: 0; }
.related-links a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink-700); font-size: .94rem; }
.related-links li:last-child a { border-bottom: 0; }
.related-links a:hover { color: var(--blue-600); }

/* ---------- 17. Footer ---------- */
.site-footer { background: var(--ink-900); color: #b9c6dd; margin-top: 0; }
.footer-cta-strip { border-bottom: 1px solid rgba(255,255,255,.1); padding: 44px 0; }
.footer-cta-strip .inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-cta-strip h2 { color: #fff; font-size: 1.5rem; margin: 0; }
.footer-main { padding: 72px 0 48px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .logo__name { color: #fff; }
.footer-brand .logo__tag { color: #7e90b3; }
.footer-brand p { color: #8fa1c0; font-size: .9rem; margin-top: 18px; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-family: var(--font-mono); margin-bottom: 20px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: #9db0cf; font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; color: #9db0cf; font-size: .9rem; align-items: flex-start; }
.footer-contact .icon { color: var(--cyan-400); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: #7e90b3; }
.footer-bottom a { color: #7e90b3; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 18. Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; }
.mono { font-family: var(--font-mono); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue-600); color: #fff; padding: 10px 18px; z-index: 2000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; color: #fff; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 19. Responsive ---------- */
@media (max-width: 1080px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: grid; }
  .header-cta .btn { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 72px; }
  .hero__visual { max-width: 560px; margin: 0 auto; }
  .float-tag--1 { left: -8px; } .float-tag--3 { left: -8px; } .float-tag--2 { right: -8px; }
  .page-hero--split .page-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process__step::after { display: none; }
  .post-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-post { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .hero { padding: 56px 0 72px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .split, .split--wide-l { grid-template-columns: 1fr; gap: 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .cta-band { padding: 48px 26px; }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .float-tag { font-size: .72rem; padding: 7px 12px; }
  .float-tag--3 { display: none; }
  .author-box { flex-direction: column; }
}

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

/* ============================================================
   12. HOMEPAGE REBUILD — POSTER-STYLE
   Less AI-template. More breathing room. More interaction.
   ============================================================ */

/* ---------- 12a. Hero — poster layout ---------- */
.hero--poster {
  padding: 96px 0 120px;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #f6faff 0%, #ffffff 80%);
}
.hero__poster {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px;
  align-items: center;
}
.hero__poster-text { max-width: 620px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 32px;
  opacity: 0; transform: translateY(8px);
  animation: heroFadeUp .7s .1s ease forwards;
}
.hero__eyebrow::before { content:""; width:28px; height:1px; background: var(--gold); display:inline-block; }
.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -.025em;
  color: var(--ink-900);
  margin: 0 0 24px;
  opacity: 0; transform: translateY(20px);
  animation: heroFadeUp .85s .25s ease forwards;
}
.hero__title-accent {
  background: linear-gradient(180deg, transparent 62%, rgba(34, 112, 195, .22) 62%, rgba(34, 112, 195, .22) 92%, transparent 92%);
  padding: 0 .12em; color: #2270c3;
}
.hero__lead {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  max-width: 520px; color: var(--slate-600); line-height: 1.65;
  margin: 0 0 36px;
  opacity: 0; transform: translateY(20px);
  animation: heroFadeUp .85s .4s ease forwards;
}
.hero__poster-cta {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-bottom: 44px;
  opacity: 0; transform: translateY(20px);
  animation: heroFadeUp .85s .55s ease forwards;
}
.hero__poster-link {
  font-weight: 600; color: var(--ink-700); position: relative; padding-bottom: 4px;
}
.hero__poster-link::after {
  content: ""; position: absolute; left: 0; right: 28px; bottom: 0; height: 1px;
  background: var(--ink-700); transform-origin: left; transition: transform .3s ease, background .2s ease;
}
.hero__poster-link:hover { color: var(--blue-600); }
.hero__poster-link:hover::after { background: var(--blue-600); transform: scaleX(1.04); }
.hero__poster-link span { display: inline-block; margin-left: 6px; transition: transform .25s ease; }
.hero__poster-link:hover span { transform: translateX(4px); }

.hero__poster-meta {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 36px; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: heroFadeUp .85s .7s ease forwards;
}
.hero__poster-meta li {
  font-size: .85rem; color: var(--slate-500); font-family: var(--font-mono);
  letter-spacing: .04em; margin: 0;
}
.hero__poster-meta li span {
  display: block; font-family: var(--font-sans); font-size: 1.1rem;
  font-weight: 700; color: var(--ink-900); letter-spacing: -.02em; margin-bottom: 4px;
}

.hero__poster-visual {
  position: relative; perspective: 1200px;
  opacity: 0; transform: translateY(40px) scale(.98);
  animation: heroFadeUp 1s .35s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__poster-frame {
  position: relative; border-radius: 22px; overflow: hidden;
  background: #fff; padding: 18px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 24px 60px rgba(10, 31, 61, .14),
    0 6px 18px rgba(34, 112, 195, .08);
  transform: none;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), box-shadow .8s ease;
  animation: heroFloat 5s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero__poster-frame::before {
  content: ""; position: absolute; inset: 0; border-radius: 22px;
  background: linear-gradient(135deg, rgba(34,112,195,.1), transparent 50%);
  pointer-events: none; z-index: 1;
}
.hero__poster-frame img { border-radius: 14px; width: 100%; display: block; }
.hero__poster-visual:hover .hero__poster-frame {
  animation-play-state: paused;
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 30px 70px rgba(10, 31, 61, .2),
    0 10px 24px rgba(34, 112, 195, .14);
}

.float-tag--solo {
  position: absolute; bottom: 24px; left: -20px;
  background: var(--ink-900); color: #fff;
  padding: 11px 18px; border-radius: 100px;
  font-size: .82rem; font-weight: 600; letter-spacing: .01em;
  box-shadow: 0 14px 32px rgba(10, 31, 61, .28);
  display: inline-flex; align-items: center; gap: 8px;
  animation: floaty 5s ease-in-out infinite;
}
.float-tag--solo .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(34, 184, 232, .25); }

.hero__scroll-hint {
  position: absolute; bottom: -56px; right: 8px;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: .7rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--slate-500);
  writing-mode: vertical-rl; transform: rotate(180deg);
}
.hero__scroll-line {
  width: 1px; height: 36px; background: var(--slate-400); position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14px; background: var(--blue-600);
  animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: none; }
}
@keyframes scrollHint {
  0%   { top: -14px; }
  50%  { top: 100%; }
  100% { top: 100%; }
}

/* ---------- 12b. Marquee — infinite horizontal scroll ---------- */
.marquee {
  background: var(--ink-900); color: #fff;
  padding: 26px 0; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.marquee--muted { background: var(--bg-alt); color: var(--ink-700); border-color: var(--line); }
.marquee__track {
  display: flex; gap: 0; width: max-content;
  animation: marqueeScroll 38s linear infinite;
}
.marquee__track[data-marquee-reverse] { animation-direction: reverse; animation-duration: 52s; }
.marquee__row {
  display: flex; align-items: center; gap: 56px;
  padding-right: 56px;
}
.marquee__item {
  font-family: var(--font-sans); font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  letter-spacing: -.01em; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 56px;
}
.marquee__item::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-500); display: inline-block;
}
.marquee__item:last-child::after { display: none; }
.marquee__item--small {
  font-size: clamp(.85rem, 1.1vw, 1rem);
  font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  font-weight: 500; color: var(--slate-500);
}
.marquee__item--small::after { background: var(--slate-400); width: 5px; height: 5px; }
.marquee--muted .marquee__item--small { color: var(--slate-500); }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 12c. Editorial 3-up (Why RCT) ---------- */
.editorial { padding: 140px 0; }
.editorial__inner { max-width: 1180px; }
.editorial__head { max-width: 820px; margin: 0 0 72px; }
.editorial__head em { color: var(--blue-600); font-style: normal; }
.editorial__h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.12;
  color: var(--ink-900); margin: 0;
}
.editorial__row {
  display: grid;
  grid-template-columns: 88px 1fr 1.1fr;
  grid-template-areas: "num copy media";
  gap: 56px;
  align-items: center; padding: 56px 0;
  border-top: 1px solid var(--line);
}
.editorial__row:first-of-type { border-top: 1px solid var(--line); }
.editorial__row:last-of-type { border-bottom: 1px solid var(--line); }
.editorial__row--reverse {
  grid-template-columns: 1.1fr 1fr 88px;
  grid-template-areas: "media copy num";
  background: linear-gradient(135deg, #eef5ff 0%, #e2ecfb 100%);
  border-radius: 18px;
  padding: 56px 48px;
  margin: 8px -48px;
  border-top: 0;
  box-shadow: 0 8px 28px rgba(10, 31, 61, .06);
}
.editorial__row--reverse .editorial__media {
  box-shadow: 0 16px 40px rgba(10, 31, 61, .16);
}
.editorial__num {
  grid-area: num;
  font-family: var(--font-mono); font-size: 1.6rem; font-weight: 600;
  color: var(--blue-600); letter-spacing: -.02em;
}
.editorial__copy { grid-area: copy; }
.editorial__copy h3 {
  font-size: clamp(1.4rem, 1.9vw, 1.7rem); font-weight: 700;
  letter-spacing: -.02em; margin: 0 0 14px; color: var(--ink-900);
  font-family: var(--font-display);
}
.editorial__copy p { font-size: 1.05rem; color: var(--slate-600); max-width: 460px; margin: 0; }
.editorial__media {
  grid-area: media;
  aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px;
  background: #fff; box-shadow: var(--shadow-md);
}
.editorial__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.editorial__row:hover .editorial__media img { transform: scale(1.04); }

/* ---------- 12d-ter. LCP FPC section ---------- */
.lcp-fpc { padding: 120px 0; }
.lcp-fpc__hero {
  margin: 40px 0 56px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .12);
}
.lcp-fpc__hero img { width: 100%; height: auto; display: block; }
.lcp-fpc__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 72px;
}
.lcp-fpc__card {
  background: #fff; border-radius: 16px; padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .15);
}
.lcp-fpc__icon {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(135deg, #2270C3, #0a1f3d);
  color: #fff; font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em;
}
.lcp-fpc__card h3 { font-size: 1.25rem; margin: 0 0 10px; color: var(--ink-900); font-family: var(--font-display); }
.lcp-fpc__card p { font-size: .96rem; color: var(--slate-600); line-height: 1.65; margin: 0; }
.lcp-fpc__card p strong { color: var(--ink-900); }
.lcp-fpc__split {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; margin-bottom: 72px;
}
.lcp-fpc__split .media-frame {
  background: #fff; padding: 18px; border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .2);
}
.lcp-fpc__split .media-frame img { width: 100%; height: auto; border-radius: 8px; display: block; }
.lcp-fpc__split figcaption {
  margin-top: 10px; font-size: .8rem; color: var(--slate-500);
  font-family: var(--font-mono); text-align: center;
}
.lcp-fpc__compare { background: #fff; color: var(--ink-900); margin-top: 16px; }
.lcp-fpc__compare th, .lcp-fpc__compare td {
  color: var(--ink-900) !important; background: #fff !important;
  border-color: var(--line) !important;
}
.lcp-fpc__compare thead th {
  background: #0a1f3d !important; color: #fff !important;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
}
.lcp-fpc__apps {
  background: #fff; border-radius: 16px; padding: 40px 48px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .15);
}
.lcp-fpc__apps h3 {
  font-family: var(--font-display); font-size: 1.4rem;
  color: var(--ink-900); margin: 0 0 20px; letter-spacing: -.01em;
}
.lcp-fpc__applist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; margin: 0; padding: 0; list-style: none; }
.lcp-fpc__applist li { padding-left: 26px; position: relative; margin-bottom: 12px; color: var(--slate-700); font-size: .98rem; }
.lcp-fpc__applist li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 14px; height: 8px; border-left: 2px solid #2270C3; border-bottom: 2px solid #2270C3;
  transform: rotate(-45deg);
}
.lcp-fpc__applist li strong { color: var(--ink-900); font-weight: 700; }
@media (max-width: 1024px) {
  .lcp-fpc__grid { grid-template-columns: 1fr; }
  .lcp-fpc__split { grid-template-columns: 1fr; gap: 32px; }
  .lcp-fpc__applist { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lcp-fpc__apps { padding: 28px 24px; }
}

/* ---------- 12d. Services poster (A / B / C cards) ---------- */
.services-poster { padding: 120px 0; }
.services-poster__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 56px;
}
.services-poster__card {
  display: block; position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 32px 28px 28px; min-height: 380px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  will-change: transform;
}
.services-poster__card:hover {
  transform: translateY(-6px); border-color: var(--blue-100);
  box-shadow: 0 24px 50px rgba(10, 31, 61, .12);
}
.services-poster__index {
  font-family: var(--font-mono); font-size: .78rem; font-weight: 600;
  color: var(--blue-600); letter-spacing: .12em;
}
.services-poster__card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2vw, 1.9rem); font-weight: 700;
  letter-spacing: -.03em; margin: 18px 0 12px; line-height: 1.05;
}
.services-poster__card h3 em { color: var(--blue-600); font-style: normal; font-weight: 700; }
.services-poster__card p { color: var(--slate-600); font-size: .98rem; margin: 0 0 22px; max-width: 280px; }
.services-poster__more {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--blue-600); font-size: .95rem;
}
.services-poster__card:hover .services-poster__more .arrow { transform: translateX(4px); }
.services-poster__img {
  position: absolute; right: -32px; bottom: -36px; width: 200px; height: 130px;
  border-radius: 14px; overflow: hidden; opacity: .88;
  transform: rotate(-4deg); transition: transform .5s ease;
  box-shadow: 0 12px 28px rgba(10, 31, 61, .14);
}
.services-poster__card:hover .services-poster__img { transform: rotate(-2deg) scale(1.04); }
.services-poster__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 12d-bis. What-we-make — 6 product families (image-primary) ---------- */
.what-we-make { padding: 120px 0; }
.what-we-make__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 56px;
}
.what-we-make__card {
  display: block; position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  will-change: transform;
}
.what-we-make__card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-100);
  box-shadow: 0 28px 56px rgba(10, 31, 61, .14);
}
.what-we-make__img {
  aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(135deg, #eef3fb, #d9e6f5);
}
.what-we-make__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.what-we-make__card:hover .what-we-make__img img { transform: scale(1.08); }
.what-we-make__caption {
  padding: 20px 22px 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.what-we-make__caption h3 {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700;
  letter-spacing: -.02em; line-height: 1.15;
  color: var(--ink-900);
  margin: 0;
}
.what-we-make__caption span {
  font-family: var(--font-mono);
  font-size: .82rem; color: var(--slate-500); letter-spacing: .04em;
}

/* ---------- 12e. Industries strip — big images ---------- */
.industries-strip { padding: 120px 0; }
.industries-strip__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.industries-strip__grid--5 {
  grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.industries-strip__card { display: block; position: relative; overflow: hidden; border-radius: 18px; }
.industries-strip__media { aspect-ratio: 16 / 9; overflow: hidden; background: #fff; }
.industries-strip__grid--5 .industries-strip__media { aspect-ratio: 4 / 5; }
.industries-strip__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
}
.industries-strip__card:hover .industries-strip__media img { transform: scale(1.06); }
.industries-strip__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 26px;
  background: linear-gradient(180deg, transparent, rgba(10, 31, 61, .78));
  color: #fff; display: flex; align-items: baseline; gap: 14px;
}
.industries-strip__grid--5 .industries-strip__caption {
  padding: 16px 18px; gap: 10px;
}
.industries-strip__caption span {
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; opacity: .8;
}
.industries-strip__caption h3 {
  color: #fff; font-size: 1.2rem; font-weight: 700; margin: 0; letter-spacing: -.01em;
}
.industries-strip__grid--5 .industries-strip__caption h3 { font-size: 1.02rem; line-height: 1.2; }

/* ---------- 12f. Process timeline ---------- */
.process-timeline { padding: 120px 0 140px; }
.timeline {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative;
}
.timeline::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 32px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.timeline__item {
  padding: 0 24px; position: relative; text-align: left;
}
.timeline__num {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff; border: 1px solid var(--blue-100);
  font-family: var(--font-mono); font-size: 1.05rem; font-weight: 700;
  color: var(--blue-600); margin-bottom: 24px;
  position: relative; z-index: 1;
  transition: border-color .25s ease, transform .35s ease;
}
.timeline__item:hover .timeline__num { border-color: var(--blue-600); transform: scale(1.05); }
.timeline__body h3 {
  font-size: 1.18rem; font-weight: 700; color: var(--ink-900);
  margin: 0 0 8px; letter-spacing: -.01em;
}
.timeline__body p { color: var(--slate-600); font-size: .95rem; margin: 0; }

/* ---------- 12g. Quote poster — single big testimonial ---------- */
.quote-poster { padding: 130px 0; background: var(--ink-900); color: #fff; }
.quote-poster__inner { max-width: 920px; }
.quote-poster .eyebrow { color: var(--cyan-400); }
.quote-poster .eyebrow::before { background: var(--cyan-400); }
.quote-poster__quote {
  font-size: clamp(1.4rem, 2.6vw, 2.15rem); font-weight: 500; line-height: 1.3;
  letter-spacing: -.015em; margin: 24px 0 40px; padding: 0; border: 0;
  color: #fff;
}
.quote-poster__quote em {
  color: var(--blue-500); font-style: italic; font-weight: 600;
}
.quote-poster__who { display: flex; align-items: center; gap: 16px; }
.quote-poster__avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  display: grid; place-items: center; font-weight: 700; color: #fff;
  font-family: var(--font-mono); font-size: .95rem;
}
.quote-poster__name { font-weight: 700; font-size: 1rem; color: #fff; }
.quote-poster__role { font-size: .88rem; color: rgba(255,255,255,.6); margin-top: 2px; }

/* ---------- 12h. Stat strip — count-up ---------- */
.stat-strip { padding: 110px 0; }
.stat-strip__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat-strip__cell {
  padding: 44px 32px; border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
}
.stat-strip__cell:last-child { border-right: 1px solid var(--line); }
.stat-strip__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 800;
  color: var(--ink-900); letter-spacing: -.045em; line-height: 1;
}
.stat-strip__num em {
  font-style: normal; font-weight: 700; font-size: .55em;
  color: var(--blue-600); margin-left: 4px;
}
.stat-strip__lbl {
  font-family: var(--font-mono); font-size: .85rem; color: var(--slate-500);
  line-height: 1.5; max-width: 240px;
}

/* ---------- 12i. Responsive breaks for new sections ---------- */
@media (max-width: 1024px) {
  .hero__poster { grid-template-columns: 1fr; gap: 40px; }
  .hero__poster-text { max-width: none; }
  .hero__poster-visual { max-width: 520px; margin: 0 auto; }
  .hero__scroll-hint { display: none; }
  .editorial__row,
  .editorial__row--reverse {
    grid-template-columns: 64px 1fr;
    grid-template-areas: "num copy" "media media";
    gap: 32px;
  }
  .editorial__row--reverse { grid-template-areas: "num copy" "media media"; }
  .services-poster__grid { grid-template-columns: 1fr; }
  .what-we-make__grid { grid-template-columns: repeat(2, 1fr); }
  .industries-strip__grid--5 { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .stat-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip__cell { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .stat-strip__cell:nth-child(odd) { border-left: 0; }
  .stat-strip__cell:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 640px) {
  .hero--poster { padding: 64px 0 88px; min-height: auto; }
  .editorial { padding: 88px 0; }
  .editorial__row,
  .editorial__row--reverse {
    grid-template-columns: 1fr;
    grid-template-areas: "num" "media" "copy";
    gap: 18px; padding: 36px 0;
  }
  .editorial__row .editorial__num,
  .editorial__row--reverse .editorial__num { margin-bottom: 6px; }
  .services-poster,
  .industries-strip,
  .process-timeline,
  .quote-poster,
  .stat-strip { padding: 80px 0; }
  .services-poster__card { min-height: 320px; }
  .services-poster__img { width: 140px; height: 92px; right: -20px; bottom: -20px; }
  .what-we-make__grid { grid-template-columns: 1fr; }
  .industries-strip__grid--5 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; row-gap: 28px; }
  .stat-strip__grid { grid-template-columns: 1fr; }
  .stat-strip__cell { border-left: 0; border-bottom: 1px solid var(--line); padding: 28px 0; }
  .stat-strip__cell:last-child { border-bottom: 0; border-right: 0; }
  .industries-strip__grid { grid-template-columns: 1fr; }
  .float-tag--solo { left: 8px; bottom: 12px; }
}

/* ============================================================
   13. PRODUCT GALLERY — horizontal scroll (used on fab subpages)
   ============================================================ */
.product-gallery { padding: 100px 0; overflow: hidden; }
.product-gallery__head { max-width: var(--container); margin: 0 auto 40px; padding: 0 24px; }
.product-gallery__head h2 { margin: 0 0 8px; }
.product-gallery__head p { color: var(--slate-600); margin: 0; }

.product-gallery__rail {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--blue-100) transparent;
  padding: 8px 0 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.product-gallery__rail::-webkit-scrollbar { height: 8px; }
.product-gallery__rail::-webkit-scrollbar-track { background: transparent; }
.product-gallery__rail::-webkit-scrollbar-thumb { background: var(--blue-100); border-radius: 4px; }
.product-gallery__rail::-webkit-scrollbar-thumb:hover { background: var(--blue-500); }

.product-gallery__track {
  display: flex;
  gap: 24px;
  padding-inline: max(24px, calc((100vw - var(--container)) / 2));
  width: max-content;
}
.product-gallery__item {
  flex: 0 0 380px;
  scroll-snap-align: start;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s ease, box-shadow .4s ease;
  position: relative;
}
.product-gallery__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10, 31, 61, .12);
}
.product-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #f5f8fd;
}
.product-gallery__item figcaption {
  padding: 14px 20px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-700);
  border-top: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-gallery__item figcaption::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .product-gallery { padding: 72px 0; }
  .product-gallery__item { flex: 0 0 280px; }
  .product-gallery__track { gap: 16px; }
  .product-gallery__rail { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%); }
}

/* ============================================================
   14. AUTO GALLERY — auto-scrolling product showcase (PCBA)
   ============================================================ */
.auto-gallery {
  padding: 100px 0 88px;
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}
.auto-gallery::before,
.auto-gallery::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
  pointer-events: none;
}
.auto-gallery::before { left: 0; background: linear-gradient(90deg, var(--bg-alt), transparent); }
.auto-gallery::after { right: 0; background: linear-gradient(270deg, var(--bg-alt), transparent); }

.auto-gallery__head {
  max-width: var(--container); margin: 0 auto 56px; padding: 0 24px;
  text-align: center;
}
.auto-gallery__head h2 { margin: 0 0 10px; }
.auto-gallery__head p { color: var(--slate-600); margin: 0; max-width: 620px; margin-left: auto; margin-right: auto; }

.auto-gallery__row {
  display: flex; flex-wrap: nowrap; gap: 24px;
  width: max-content; min-width: 200vw;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}
/* Hover-pause is handled by JS so both CSS animation and JS paths behave the same */

.auto-gallery__item {
  flex: 0 0 340px; margin: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s ease, box-shadow .4s ease;
}
.auto-gallery__item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(10, 31, 61, .12);
}
.auto-gallery__item img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  background: #f5f8fd;
}
.auto-gallery__item figcaption {
  padding: 14px 18px; font-size: .88rem; font-weight: 600;
  color: var(--ink-700); border-top: 1px solid var(--line); background: #fff;
}

/* autoGalleryScroll keyframes removed — scrolling is driven by JS for reliability */

@media (max-width: 720px) {
  .auto-gallery { padding: 72px 0 64px; }
  .auto-gallery__item { flex: 0 0 240px; }
  .auto-gallery__row { gap: 16px; }
  .auto-gallery__row + .auto-gallery__row { margin-top: 16px; }
  .auto-gallery::before, .auto-gallery::after { width: 60px; }
}

/* ============================================================
   15. FAB / ASM SUBPAGE — deeper section--alt for visual hierarchy
   ============================================================ */
body.page-fab .section--alt,
body.page-asm .section--alt {
  background: rgba(10, 31, 61, .7);
}
body.page-fab .section--alt .section__head h2,
body.page-fab .section--alt .section__head p,
body.page-fab .section--alt h2,
body.page-fab .section--alt h3,
body.page-asm .section--alt .section__head h2,
body.page-asm .section--alt .section__head p,
body.page-asm .section--alt h2,
body.page-asm .section--alt h3 {
  color: #fff;
}
body.page-fab .section--alt .section__head p,
body.page-fab .section--alt p,
body.page-fab .section--alt li,
body.page-asm .section--alt .section__head p,
body.page-asm .section--alt p,
body.page-asm .section--alt li {
  color: rgba(255, 255, 255, .88);
}
body.page-fab .section--alt .eyebrow,
body.page-asm .section--alt .eyebrow {
  color: #ffc560;
}
body.page-fab .section--alt .card-link,
body.page-asm .section--alt .card-link {
  color: #b3d9ff;
}
body.page-fab .section--alt .pill,
body.page-asm .section--alt .pill {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
body.page-fab .section--alt .auto-gallery,
body.page-asm .section--alt .auto-gallery {
  background: rgba(10, 31, 61, .9);
}
body.page-fab .section--alt .auto-gallery .auto-gallery__head h2,
body.page-fab .section--alt .auto-gallery .auto-gallery__head p,
body.page-asm .section--alt .auto-gallery .auto-gallery__head h2,
body.page-asm .section--alt .auto-gallery .auto-gallery__head p {
  color: #fff;
}

/* White cards inside dark .section--alt must keep their DARK text */
body.page-fab .section--alt .card,
body.page-asm .section--alt .card { background: #fff; }
body.page-fab .section--alt .card h3,
body.page-fab .section--alt .card p,
body.page-fab .section--alt .card li,
body.page-asm .section--alt .card h3,
body.page-asm .section--alt .card p,
body.page-asm .section--alt .card li {
  color: var(--ink-900);
}
body.page-fab .section--alt .card p,
body.page-fab .section--alt .card li,
body.page-asm .section--alt .card p,
body.page-asm .section--alt .card li {
  color: var(--slate-600);
}
body.page-fab .section--alt .card .icon,
body.page-asm .section--alt .card .icon {
  color: var(--blue-600);
}
/* Process step cards (white) inside dark .section--alt */
body.page-fab .section--alt .process__step,
body.page-asm .section--alt .process__step { background: #fff; }
body.page-fab .section--alt .process__step h3,
body.page-fab .section--alt .process__step p,
body.page-asm .section--alt .process__step h3,
body.page-asm .section--alt .process__step p {
  color: var(--ink-900);
}
body.page-fab .section--alt .process__step p,
body.page-asm .section--alt .process__step p {
  color: var(--slate-600);
}

