/* ============================================================
   Fortitude Fabrics — styles.css  (Light theme · multi-page)
   ============================================================ */

:root {
  /* ---- Brand palette ---- */
  --navy-900: #0d2244;
  --navy-800: #11305c;
  --navy-700: #163a6e;
  --blue-600: #1f6fc0;
  --blue-500: #2f86d8;
  --sky-400:  #5fb0ea;
  --sky-100:  #e7f1fb;
  --sky-50:   #f2f7fd;

  /* ---- Surfaces & text ---- */
  --bg:        #ffffff;
  --bg-soft:   #f5f8fc;
  --bg-tint:   #eef4fb;
  --surface:   #ffffff;
  --ink:       #11233f;   /* headings */
  --text:      #3a4860;   /* body */
  --muted:     #66748c;   /* secondary */
  --muted-2:   #8a95a8;
  --line:      rgba(13, 34, 68, 0.10);
  --line-soft: rgba(13, 34, 68, 0.06);

  --accent:    var(--blue-600);
  --accent-2:  var(--sky-400);
  --shadow-sm: 0 2px 10px -4px rgba(13, 34, 68, 0.14);
  --shadow:    0 18px 50px -24px rgba(13, 34, 68, 0.34);
  --shadow-lg: 0 30px 70px -28px rgba(13, 34, 68, 0.40);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --container: 1240px;
  --radius: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }
::selection { background: var(--sky-400); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.bg-soft { background: var(--bg-soft); }

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
}
.eyebrow--center { justify-content: center; }
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(31, 111, 192, 0.14);
}
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5.5vw, 70px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4.2vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.section__title em { font-style: normal; color: var(--blue-600); }
.section__sub { color: var(--muted); font-size: 18px; margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .4s;
  will-change: transform;
}
.btn svg { transition: transform .4s var(--ease); }
.btn--primary {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: #fff;
  box-shadow: 0 14px 32px -14px rgba(13, 34, 68, 0.6);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -16px rgba(13, 34, 68, 0.55); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--accent {
  background: var(--sky-100);
  color: var(--navy-800);
  border-color: rgba(31, 111, 192, 0.18);
}
.btn--accent:hover { background: var(--sky-400); color: #fff; transform: translateY(-3px); }
.btn--ghost {
  background: #fff;
  color: var(--navy-800);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-3px); }

/* ============================================================
   Intro loader (once per session, built by main.js)
   ============================================================ */
.loader { position: fixed; inset: 0; z-index: 300; background: linear-gradient(160deg, #11305c, #0b1f3d); display: grid; place-items: center; transition: opacity .7s ease, visibility .7s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__box { text-align: center; }
.loader__logo { height: 60px; width: auto; margin: 0 auto 26px; filter: brightness(0) invert(1); opacity: 0; animation: loaderIn .8s var(--ease) forwards; }
.loader__bar { width: 168px; height: 2px; background: rgba(255,255,255,0.16); border-radius: 2px; overflow: hidden; margin: 0 auto; }
.loader__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-600), var(--sky-400)); transition: width .25s ease; }
.loader__txt { margin-top: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.4em; color: #8fb4dc; }
@keyframes loaderIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

/* ============================================================
   Scroll progress
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--blue-600), var(--sky-400));
  z-index: 120;
}

/* ============================================================
   Header  (injected by main.js)
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, backdrop-filter .4s, border-color .4s, box-shadow .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 24px -18px rgba(13, 34, 68, 0.5);
}
.header__row {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px;
  transition: height .4s;
}
.header.is-scrolled .header__row { height: 72px; }

/* Brand / logo */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo-img { height: 42px; width: auto; transition: height .4s; }
.header.is-scrolled .brand__logo-img { height: 38px; }
.footer .brand__logo-img { height: 46px; }
.brand__logo { width: 38px; height: 38px; flex: none; color: var(--blue-600); }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 21px;
  letter-spacing: 0.02em;
  color: var(--navy-900);
  line-height: 1;
}
.brand__name span { color: var(--blue-600); }

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  font-size: 15px; font-weight: 500;
  color: var(--text);
  padding: 10px 16px;
  border-radius: 9px;
  transition: color .25s;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav__link:hover, .nav__link.is-active { color: var(--navy-900); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px;
  background: var(--blue-600); border-radius: 2px;
}
.nav__chev { width: 12px; height: 12px; transition: transform .3s; }

/* Mega dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 540px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 26px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 10;
}
.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.has-dropdown:hover .nav__chev { transform: rotate(180deg); }
.dropdown__col-title {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
}
.dropdown__link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 11px;
  color: var(--ink); font-weight: 500; font-size: 15px;
  transition: background .2s, color .2s, transform .2s;
}
.dropdown__link:hover { background: var(--sky-50); color: var(--blue-600); transform: translateX(3px); }
.dropdown__ico {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  border-radius: 8px; background: var(--sky-100); color: var(--blue-600);
}
.dropdown__ico svg { width: 16px; height: 16px; }

/* Burger */
.burger {
  display: none;
  width: 46px; height: 46px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 11px;
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.burger span { width: 18px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(130px, 16vw, 180px) 0 clamp(60px, 8vw, 110px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(95, 176, 234, 0.16), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(31, 111, 192, 0.08), transparent 60%);
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}
.hero__chip {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-600);
  background: var(--sky-100);
  padding: 9px 16px; border-radius: 100px;
  margin-bottom: 26px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6.4vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--navy-900);
  margin-bottom: 26px;
}
.hero__title em { font-style: normal; color: var(--blue-600); }
.hero__lead { font-size: clamp(16px, 1.7vw, 19px); color: var(--muted); max-width: 540px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 54px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: clamp(20px, 4vw, 46px);
  border-top: 1px solid var(--line); padding-top: 32px;
}
.stat__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -0.02em; color: var(--navy-900); line-height: 1;
}
.stat__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-2); margin-top: 9px;
}

/* Hero visual card with woven canvas */
.hero__visual {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 5 / 5.4;
  background: linear-gradient(160deg, #0f2c57, #0a1c3a 70%);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.06);
}
.hero__weave { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__visual::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,20,40,0.12) 0%, rgba(8,20,40,0.18) 45%, rgba(8,20,40,0.62) 100%); }
.hero__visual-label {
  position: absolute; left: 24px; bottom: 24px; z-index: 2;
  color: #eaf3fc;
}
.hero__visual-label strong {
  display: block; font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em;
}
.hero__visual-label span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8fb4dc;
}
.hero__badge {
  position: absolute; top: 22px; right: 22px; z-index: 2;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  padding: 14px 18px; color: #fff; text-align: center;
}
.hero__badge b { font-family: var(--font-display); font-size: 22px; display: block; }
.hero__badge span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #aacaf0; }

/* ============================================================
   Trust marquee
   ============================================================ */
.marquee {
  overflow: hidden; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  padding: 24px 0; background: var(--bg-soft);
}
.marquee__track { display: flex; align-items: center; gap: 38px; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 2.3vw, 26px); color: var(--muted); white-space: nowrap; letter-spacing: -0.01em; }
.marquee__track .dot { color: var(--sky-400); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Intro strip
   ============================================================ */
.intro__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 5vw, 86px); align-items: start; }
.intro__head { font-family: var(--font-display); font-weight: 600; font-size: clamp(25px, 3.3vw, 42px); line-height: 1.16; letter-spacing: -0.02em; color: var(--ink); }
.intro__right p { color: var(--muted); font-size: 17px; margin-bottom: 20px; }
.intro__signature { font-family: var(--font-display); color: var(--blue-600) !important; font-size: 18px !important; font-weight: 600; }

/* ============================================================
   Industries
   ============================================================ */
.industry-list { border-top: 1px solid var(--line); }
.industry {
  display: grid; grid-template-columns: 84px 48px 1.1fr 1.3fr 40px;
  align-items: center; gap: 26px;
  padding: 22px 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding .45s var(--ease), background .45s;
}
.industry::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--blue-600); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.industry:hover { background: var(--bg-soft); padding-left: 26px; padding-right: 26px; }
.industry:hover::before { transform: scaleY(1); }
.industry__thumb { width: 84px; height: 66px; border-radius: 13px; overflow: hidden; box-shadow: var(--shadow-sm); }
.industry__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.industry:hover .industry__thumb img { transform: scale(1.08); }
.industry__index { font-family: var(--font-mono); font-size: 14px; color: var(--muted-2); }
.industry__body h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 2.2vw, 26px); letter-spacing: -0.015em; color: var(--ink); line-height: 1.15; }
.industry__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-600); margin-top: 7px; display: inline-block; }
.industry__desc { color: var(--muted); font-size: 15.5px; }
.industry__arrow { font-size: 22px; color: var(--muted-2); justify-self: end; transition: transform .4s var(--ease), color .4s; }
.industry:hover .industry__arrow { color: var(--blue-600); transform: translateX(6px); }

/* ============================================================
   Cards grid (capabilities)
   ============================================================ */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
.cap:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(31,111,192,0.3); }
.cap__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: var(--sky-100); color: var(--blue-600); margin-bottom: 22px; }
.cap__icon svg { width: 27px; height: 27px; }
.cap h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin-bottom: 11px; letter-spacing: -0.01em; color: var(--ink); }
.cap p { color: var(--muted); font-size: 14.5px; }

/* ---- Capabilities: expanding "fiber" accordion ---- */
.caps-acc { display: flex; gap: 14px; height: clamp(340px, 42vw, 440px); }
.capx { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 20px; cursor: pointer; background: linear-gradient(160deg, #11305c, #0b1f3d); box-shadow: var(--shadow); transition: flex-grow .6s var(--ease); }
.capx.is-active { flex-grow: 4.2; }
.capx .threadwave--oem { opacity: 0.45; }
.capx__inner { position: absolute; inset: 0; z-index: 1; padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; }
.capx__no { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 42px); color: rgba(255,255,255,0.22); line-height: 1; letter-spacing: -0.03em; }
.capx__ico { width: 48px; height: 48px; border-radius: 12px; background: rgba(95,176,234,0.16); border: 1px solid rgba(255,255,255,0.14); display: grid; place-items: center; color: var(--sky-400); margin-bottom: 18px; flex: none; }
.capx__ico svg { width: 24px; height: 24px; }
.capx__text { margin-top: auto; }
.capx__title { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2vw, 25px); letter-spacing: -0.01em; white-space: nowrap; }
.capx:not(.is-active) .capx__title { writing-mode: vertical-rl; transform: rotate(180deg); }
.capx__desc { color: #b9cce4; font-size: 15px; margin-top: 14px; max-width: 380px; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease) .1s, transform .45s var(--ease) .1s; }
.capx.is-active .capx__desc { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .caps-acc { flex-direction: column; height: auto; }
  .capx { flex: none; }
  .capx__inner { position: relative; }
  .capx__title { writing-mode: horizontal-tb !important; transform: none !important; white-space: normal; }
  .capx__desc { opacity: 1 !important; transform: none !important; max-width: none; }
  .capx__ico { margin-top: 16px; }
}

/* ============================================================
   Products grid (cards that link to pages)
   ============================================================ */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod-grid--2 { grid-template-columns: repeat(2, 1fr); }
.prod {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
.prod:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(31,111,192,0.3); }
.prod__art {
  aspect-ratio: 16 / 10; position: relative; overflow: hidden;
  background: linear-gradient(155deg, #133663, #0c2347);
}
.prod__art canvas, .prod__art .pattern { position: absolute; inset: 0; width: 100%; height: 100%; }
.prod__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.prod:hover .prod__art img { transform: scale(1.07); }
.prod__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,20,40,0.22), transparent 45%); }
.prod__cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #cfe4fa; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.16);
  padding: 6px 12px; border-radius: 100px;
}
.prod__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.prod__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 10px; }
.prod__body p { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.prod__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 500; font-size: 14.5px; color: var(--blue-600); }
.prod__more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.prod:hover .prod__more svg { transform: translateX(5px); }

/* ---- Full catalog (products page) ---- */
.pcat-nav { position: sticky; top: 70px; z-index: 40; background: rgba(255,255,255,0.9); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line-soft); }
.pcat-nav__row { display: flex; gap: 6px; flex-wrap: wrap; padding: 14px 0; }
.pcat-btn { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 9px 16px; border-radius: 100px; border: 1px solid transparent; background: transparent; cursor: pointer; transition: color .25s, background .25s, border-color .25s; }
.pcat-btn:hover { color: var(--ink); }
.pcat-btn.is-active { color: var(--blue-600); border-color: rgba(31,111,192,0.35); background: var(--sky-50); }

.pcat-section { padding-top: clamp(40px, 6vw, 76px); }
.pcat-section__head { display: flex; align-items: center; gap: 22px; margin-bottom: 34px; }
.pcat-section__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 5vw, 64px); color: rgba(13,34,68,0.12); line-height: 1; }
.pcat-section__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 3vw, 34px); color: var(--ink); text-transform: uppercase; letter-spacing: 0.02em; }
.pcat-section__bar { height: 4px; width: 88px; background: var(--blue-600); border-radius: 4px; margin-top: 8px; }

.pcat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(31,111,192,0.3); }
.pcard__art { aspect-ratio: 1 / 1; background: linear-gradient(180deg, #eef4fb, #dde8f4); display: grid; place-items: center; padding: 14px; overflow: hidden; }
.pcard__art img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.pcard:hover .pcard__art img { transform: scale(1.05); }
.pcard__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard__cat { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky-400); margin-bottom: 8px; }
.pcard__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); margin-bottom: 14px; letter-spacing: -0.01em; }
.pcard__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.pcard__tags span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); padding: 5px 10px; border-radius: 100px; }
.pcard__more { margin-top: auto; font-family: var(--font-display); font-weight: 500; font-size: 14px; color: var(--blue-600); display: inline-flex; align-items: center; gap: 7px; }
.pcard__more svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.pcard:hover .pcard__more svg { transform: translateX(5px); }

/* tag chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips span, .chips a {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--text);
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 100px; background: #fff;
  transition: border-color .3s, color .3s, background .3s;
}
.chips a:hover { border-color: var(--blue-600); color: var(--blue-600); background: var(--sky-50); }

/* ============================================================
   Quality
   ============================================================ */
.quality__grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(38px, 5vw, 90px); align-items: center; }
.metrics { margin-top: 40px; display: flex; flex-direction: column; gap: 28px; }
.metric__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 11px; }
.metric__top > span:first-child { font-size: 15px; color: var(--ink); font-weight: 500; }
.metric__val { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--blue-600); }
.metric__val::after { content: "%"; font-size: 15px; margin-left: 1px; }
.bar { height: 8px; border-radius: 8px; background: var(--bg-tint); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--blue-600), var(--sky-400)); transition: width 1.4s var(--ease); }
.process { display: flex; flex-direction: column; }
.process li { display: flex; gap: 22px; padding: 24px 0; border-top: 1px solid var(--line); }
.process li:last-child { border-bottom: 1px solid var(--line); }
.process__num { font-family: var(--font-mono); font-size: 13px; color: var(--blue-600); padding-top: 3px; }
.process h4 { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin-bottom: 4px; color: var(--ink); }
.process p { color: var(--muted); font-size: 14.5px; }

/* ---- Quality reimagined: spool gauges + stitched timeline ---- */
.gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: clamp(56px, 8vw, 96px); }
.gauge { display: flex; flex-direction: column; align-items: center; text-align: center; }
.gauge__ring { position: relative; width: clamp(150px, 18vw, 196px); aspect-ratio: 1; }
.gauge__svg { width: 100%; height: 100%; }
.gauge__track { fill: none; stroke: var(--bg-tint); stroke-width: 8; }
.gauge__dots { fill: none; stroke: rgba(31,111,192,0.18); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0.5 6; }
.gauge__fill { fill: none; stroke-width: 8; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.7s var(--ease); }
.gauge__center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: var(--navy-900); font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.02em; }
.gauge__center i { font-style: normal; font-size: 0.5em; color: var(--blue-600); margin-left: 2px; align-self: flex-start; margin-top: 0.7em; }
.gauge__label { margin-top: 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); max-width: 190px; }

.stitch { position: relative; }
.stitch__thread { position: absolute; left: 0; right: 0; top: 27px; height: 8px; z-index: 0; }
.stitch__thread svg { width: 100%; height: 100%; }
.thread-track { stroke: rgba(31,111,192,0.22); stroke-width: 2; stroke-dasharray: 1 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.thread-draw { stroke: url(#threadGrad); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.9s var(--ease); }
.stitch.is-on .thread-draw { stroke-dashoffset: 0; }
.stitch__nodes { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stitch__node { text-align: center; padding: 0 8px; }
.stitch__dot { width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--blue-600); font-family: var(--font-mono); font-size: 14px; box-shadow: var(--shadow-sm); transition: border-color .5s var(--ease), transform .5s var(--ease), box-shadow .5s; transition-delay: var(--d, 0ms); }
.stitch.is-on .stitch__dot { border-color: var(--blue-600); transform: translateY(-3px); box-shadow: 0 12px 26px -14px rgba(31,111,192,0.55); }
.stitch__nodes .stitch__node:nth-child(1) .stitch__dot { --d: .15s; }
.stitch__nodes .stitch__node:nth-child(2) .stitch__dot { --d: .45s; }
.stitch__nodes .stitch__node:nth-child(3) .stitch__dot { --d: .75s; }
.stitch__nodes .stitch__node:nth-child(4) .stitch__dot { --d: 1.05s; }
.stitch__node h4 { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); margin-bottom: 7px; }
.stitch__node p { color: var(--muted); font-size: 14px; }

@media (max-width: 760px) {
  .stitch__thread { display: none; }
  .stitch__nodes { grid-template-columns: 1fr; gap: 0; }
  .stitch__node { display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; text-align: left; padding: 12px 0 24px; position: relative; }
  .stitch__dot { margin: 0; grid-row: span 2; }
  .stitch__node:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 60px; bottom: 4px; border-left: 2px dashed rgba(31,111,192,0.25); }
}
@media (max-width: 520px) {
  .gauges { grid-template-columns: 1fr; gap: 38px; }
}

/* ============================================================
   OEM / feature band
   ============================================================ */
.oem { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--navy-800), var(--navy-900)); color: #fff; border-radius: 0; }
.oem::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 70% at 88% 30%, rgba(95,176,234,0.22), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 24px, rgba(255,255,255,0.03) 24px 25px);
  pointer-events: none;
}
.oem .eyebrow { color: var(--sky-400); }
.oem .eyebrow__dot { background: var(--sky-400); box-shadow: 0 0 0 4px rgba(95,176,234,0.2); }
.oem__inner { position: relative; z-index: 1; max-width: 700px; }
.oem__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 0.82fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.oem__media { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.2; border: 1px solid rgba(255,255,255,0.08); }
.oem__media img { width: 100%; height: 100%; object-fit: cover; }
.oem__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.025em; color: #fff; }
.oem__lead { color: #b9cce4; font-size: 18px; margin: 18px 0 32px; }
.oem__features { display: flex; flex-direction: column; gap: 13px; margin-bottom: 36px; }
.oem__feat { font-family: var(--font-display); font-weight: 500; font-size: 19px; display: flex; align-items: center; gap: 14px; color: #eaf2fb; }
.oem__feat-mark { color: var(--sky-400); }
.oem .btn--accent { background: #fff; color: var(--navy-900); border-color: transparent; }
.oem .btn--accent:hover { background: var(--sky-400); color: #fff; }

/* ============================================================
   CTA
   ============================================================ */
.cta { text-align: center; }
.cta__inner { max-width: 760px; margin: 0 auto; }
.cta__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.03em; color: var(--navy-900); margin-bottom: 20px; }
.cta__lead { color: var(--muted); font-size: 19px; max-width: 540px; margin: 0 auto 36px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Page header (sub-pages)
   ============================================================ */
.page-hero { position: relative; padding: clamp(140px, 16vw, 190px) 0 clamp(50px, 6vw, 80px); overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line-soft); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 90% 0%, rgba(95,176,234,0.16), transparent 60%); pointer-events: none; }
.page-hero__inner { position: relative; z-index: 2; max-width: 820px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted-2); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--blue-600); }
.breadcrumb span { color: var(--line); }
.page-hero__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 5.5vw, 66px); line-height: 1.04; letter-spacing: -0.03em; color: var(--navy-900); margin-bottom: 20px; }
.page-hero__lead { font-size: clamp(16px, 1.8vw, 20px); color: var(--muted); max-width: 600px; }

/* ============================================================
   Product detail page
   ============================================================ */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.pd-visual { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/3.4; background: linear-gradient(160deg, #133663, #0a1c3a); box-shadow: var(--shadow-lg); }
.pd-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pd-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,20,40,0.2), transparent 40%); }
.pd-visual__tag { position: absolute; top: 20px; left: 20px; z-index: 2; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #cfe4fa; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); padding: 8px 14px; border-radius: 100px; }
.pd-visual--light { background: linear-gradient(180deg, #eef4fb, #dde8f4); }
.pd-visual--light::after { display: none; }
.pd-visual--light img { object-fit: contain; mix-blend-mode: multiply; padding: clamp(20px, 4vw, 46px); }
.pd-visual--light .pd-visual__tag { color: var(--navy-800); background: rgba(13,34,68,0.06); border-color: var(--line); }
.pd-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pd-feature { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); }
.pd-feature__ico { width: 44px; height: 44px; border-radius: 11px; background: var(--sky-100); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 16px; }
.pd-feature__ico svg { width: 22px; height: 22px; }
.pd-feature h4 { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); margin-bottom: 7px; }
.pd-feature p { font-size: 14px; color: var(--muted); }

.spec-table { width: 100%; border-top: 1px solid var(--line); }
.spec-table .row { display: grid; grid-template-columns: 240px 1fr; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.spec-table .row dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.spec-table .row dd { color: var(--ink); font-size: 15.5px; }

.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.app-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.app-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.app-card p { font-size: 14px; color: var(--muted); }
.app-card .num { font-family: var(--font-mono); font-size: 12px; color: var(--blue-600); }

/* ============================================================
   About page
   ============================================================ */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); }
.value h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--ink); margin: 18px 0 10px; }
.value p { color: var(--muted); font-size: 14.5px; }
.value__ico { width: 50px; height: 50px; border-radius: 13px; background: var(--sky-100); color: var(--blue-600); display: grid; place-items: center; }
.value__ico svg { width: 25px; height: 25px; }

/* Auto-rotating principles showcase */
.principles { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.principles__stage { position: relative; overflow: hidden; border-radius: 24px; min-height: clamp(310px, 36vw, 400px); padding: clamp(28px, 4vw, 46px); background: linear-gradient(160deg, #11305c, #0b1f3d); box-shadow: var(--shadow-lg); }
.principles__stage .threadwave--oem { opacity: 0.5; }
.pp-panel { position: absolute; inset: clamp(28px, 4vw, 46px); z-index: 1; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.pp-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.pp-panel__no { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6vw, 66px); color: rgba(255,255,255,0.16); letter-spacing: -0.03em; line-height: 1; }
.pp-panel__ico { width: 56px; height: 56px; border-radius: 14px; background: rgba(95,176,234,0.16); border: 1px solid rgba(255,255,255,0.14); display: grid; place-items: center; color: var(--sky-400); margin: clamp(12px, 3vw, 24px) 0 22px; }
.pp-panel__ico svg { width: 28px; height: 28px; }
.pp-panel h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.8vw, 30px); color: #fff; letter-spacing: -0.02em; margin-bottom: 12px; }
.pp-panel p { color: #b9cce4; font-size: 16px; max-width: 430px; }

.principles__list { display: flex; flex-direction: column; justify-content: center; }
.pp-tab { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; background: transparent; border: 0; border-top: 1px solid var(--line); padding: clamp(16px, 2.2vw, 24px) 6px; cursor: pointer; position: relative; color: var(--muted); transition: color .3s, padding-left .35s var(--ease); }
.pp-tab:last-child { border-bottom: 1px solid var(--line); }
.pp-tab:hover { color: var(--ink); }
.pp-tab.is-active { color: var(--navy-900); padding-left: 14px; }
.pp-tab__no { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }
.pp-tab.is-active .pp-tab__no { color: var(--blue-600); }
.pp-tab__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 2vw, 22px); letter-spacing: -0.01em; }
.pp-tab__prog { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: linear-gradient(90deg, var(--blue-600), var(--sky-400)); }

@media (max-width: 900px) { .principles { grid-template-columns: 1fr; } .pp-panel p { max-width: none; } }

.bigstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bigstat { text-align: center; padding: 30px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.bigstat b { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4.5vw, 52px); color: var(--navy-900); display: block; letter-spacing: -0.02em; margin-bottom: 10px; }
.bigstat b .count { font-size: inherit; color: inherit; font-family: inherit; }
.bigstat > span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 8px; }
.contact-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-item:first-of-type { border-top: 1px solid var(--line); }
.contact-item__ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--sky-100); color: var(--blue-600); display: grid; place-items: center; }
.contact-item__ico svg { width: 22px; height: 22px; }
.contact-item .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.contact-item .val { color: var(--ink); font-size: 16px; font-weight: 500; }
.contact-item .val a:hover { color: var(--blue-600); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft);
  transition: border-color .25s, background .25s, box-shadow .25s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgba(31,111,192,0.1); }
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: 13px; color: var(--muted-2); margin-top: 14px; text-align: center; }
.form__success { display: none; padding: 14px 18px; border-radius: 12px; background: #e8f6ec; color: #1f7a44; font-size: 14px; margin-bottom: 18px; }
.form__success.show { display: block; }

/* Map placeholder */
.map { margin-top: 26px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/7; position: relative; background: linear-gradient(160deg, #133663, #0a1c3a); display: grid; place-items: center; }
.map canvas { position: absolute; inset: 0; }
.map__pin { position: relative; z-index: 2; text-align: center; color: #eaf3fc; }
.map__pin svg { width: 34px; height: 34px; margin: 0 auto 8px; color: var(--sky-400); }
.map__pin b { font-family: var(--font-display); }
.map__pin span { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: #8fb4dc; }

/* ============================================================
   Blog page
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post__art { aspect-ratio: 16/9; position: relative; background: linear-gradient(155deg, #133663, #0c2347); overflow: hidden; }
.post__art canvas { position: absolute; inset: 0; }
.post__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post:hover .post__art img { transform: scale(1.07); }
.post__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,20,40,0.18), transparent 50%); }
.post__cat { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #cfe4fa; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.16); padding: 6px 12px; border-radius: 100px; }
.post__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post__date { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); margin-bottom: 12px; }
.post__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.25; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.01em; }
.post__body p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.post__more { margin-top: auto; font-family: var(--font-display); font-weight: 500; font-size: 14px; color: var(--blue-600); display: inline-flex; align-items: center; gap: 7px; }

/* ============================================================
   Footer  (injected)
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding-top: 70px; background: var(--bg-soft); }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 54px; }
.footer__brand p { color: var(--muted); font-size: 14.5px; margin-top: 18px; max-width: 320px; }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 7px; }
.footer__col a, .footer__col span:not(.footer__col-title) { color: var(--muted); font-size: 14.5px; transition: color .25s; }
.footer__col a:hover { color: var(--blue-600); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 24px 0; }
.footer__bottom span { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); letter-spacing: 0.03em; }
.footer__tag { color: var(--blue-600) !important; }

/* ============================================================
   Thread waves (woven motif) — built by main.js
   ============================================================ */
.threadwave { position: relative; width: 100%; line-height: 0; overflow: hidden; pointer-events: none; }
.threadwave svg { display: block; width: 100%; height: 100%; }
.tw-strand { will-change: transform; }
@keyframes tw-l { from { transform: translateX(0); } to { transform: translateX(-1200px); } }
@keyframes tw-r { from { transform: translateX(-1200px); } to { transform: translateX(0); } }

/* Signature divider at the bottom of every hero */
.threadwave--edge { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(64px, 9vw, 100px); z-index: 1; opacity: 0.9; }

/* Interactive woven thread-field behind the home hero */
.hero__threads { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__threads svg { display: block; width: 100%; height: 100%; }
.hero__cursor-glow { position: absolute; top: 0; left: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .5s ease; will-change: transform; background: radial-gradient(circle, rgba(95,176,234,0.22), rgba(31,111,192,0.06) 45%, transparent 68%); }
.hero.is-cursor .hero__cursor-glow { opacity: 1; }

/* Standalone "thread by thread" band on the home page */
.threadband { position: relative; text-align: center; overflow: hidden; padding-bottom: 0 !important; }
.threadband__inner { position: relative; z-index: 2; }
.threadband__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 4vw, 46px); letter-spacing: -0.025em; color: var(--navy-900); }
.threadwave--band { height: clamp(130px, 17vw, 200px); margin-top: clamp(18px, 4vw, 40px); }

/* Wave inside the navy OEM band */
.threadwave--oem { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 0; opacity: 0.7; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(20px, 2.4vw, 26px) 4px; font-family: var(--font-display); font-weight: 600; font-size: clamp(16px, 2vw, 21px); color: var(--ink); transition: color .25s; }
.faq__q:hover { color: var(--blue-600); }
.faq__icon { position: relative; flex: none; width: 22px; height: 22px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--blue-600); transform: translate(-50%, -50%); border-radius: 2px; transition: transform .3s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding: 0 4px clamp(22px, 2.4vw, 28px); color: var(--muted); font-size: 15.5px; max-width: 720px; }

/* ============================================================
   Testimonials + clients
   ============================================================ */
.tmonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tmonial { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s; }
.tmonial:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tmonial__mark { font-family: var(--font-display); font-weight: 700; font-size: 52px; line-height: 0.6; color: var(--sky-400); height: 26px; }
.tmonial__quote { color: var(--ink); font-size: 16px; line-height: 1.6; margin: 16px 0 24px; }
.tmonial__who { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.tmonial__av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--navy-700), var(--blue-600)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 16px; flex: none; }
.tmonial__name { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 15px; }
.tmonial__role { font-size: 13px; color: var(--muted); }
.clients { margin-top: clamp(44px, 5vw, 64px); border-top: 1px solid var(--line); padding-top: clamp(28px, 3vw, 40px); }
.clients__label { text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 24px; }
.clients__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(22px, 4vw, 54px); }
.clients__row span { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 2.3vw, 25px); color: var(--muted-2); opacity: 0.65; letter-spacing: -0.01em; transition: opacity .3s, color .3s; }
.clients__row span:hover { opacity: 1; color: var(--blue-600); }

/* ============================================================
   Certifications + capacity
   ============================================================ */
.certs { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cert { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 13px 22px; box-shadow: var(--shadow-sm); transition: border-color .3s, transform .3s var(--ease); }
.cert:hover { border-color: rgba(31,111,192,0.4); transform: translateY(-3px); }
.cert svg { width: 22px; height: 22px; color: var(--blue-600); flex: none; }
.cert span { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--ink); white-space: nowrap; }
.capstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(44px, 5vw, 64px); text-align: center; }
.capstrip b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.6vw, 44px); color: var(--navy-900); letter-spacing: -0.02em; }
.capstrip span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-top: 8px; display: block; }
@media (max-width: 600px) { .capstrip { grid-template-columns: 1fr 1fr; gap: 28px 18px; } }

@media (max-width: 900px) { .tmonials { grid-template-columns: 1fr; } }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0ms); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .oem__grid { grid-template-columns: 1fr; }
  .oem__media { max-width: 520px; }
  .hero__visual { max-width: 520px; order: -1; aspect-ratio: 16/10; }
  .intro__grid, .quality__grid, .pd-grid, .contact-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .pcat-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid, .blog-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 0 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 104px 28px 36px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    transition: transform .5s var(--ease);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { padding: 15px 12px; font-size: 18px; border-bottom: 1px solid var(--line-soft); border-radius: 0; justify-content: space-between; }
  .nav__link.is-active::after { display: none; }
  .nav__cta { background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); color: #fff !important; border-radius: 100px !important; text-align: center; justify-content: center; margin-top: 16px; border: none; padding: 16px !important; }
  .dropdown {
    position: static; transform: none; width: 100%;
    opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: none; border-radius: 0;
    padding: 8px 0 8px 14px; grid-template-columns: 1fr; gap: 4px;
    display: none;
  }
  .has-dropdown.is-open .dropdown { display: grid; }
  .has-dropdown:hover .dropdown { transform: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .cap-grid, .prod-grid, .app-grid, .blog-grid, .values-grid, .bigstats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
  .industry { grid-template-columns: 64px 1fr; gap: 6px 16px; align-items: start; padding: 22px 14px; }
  .industry__thumb { grid-row: span 2; width: 64px; height: 64px; }
  .industry__index { display: none; }
  .industry__desc { grid-column: 2; }
  .industry__arrow { display: none; }
  .spec-table .row { grid-template-columns: 1fr; gap: 4px; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
