/* ============================================================
   ScienceWorxs — flagship site
   Palette: laboratory navy, scientific teal, restrained gold
   ============================================================ */

:root {
  --navy: #081623;
  --navy-2: #0d2233;
  --navy-3: #123049;
  --ink: #16232e;
  --body: #3d4c58;
  --muted: #6b7a86;
  --teal: #0f9fb8;
  --teal-bright: #17c3de;
  --teal-dark: #0b7e93;
  --gold: #c2a566;
  --paper: #f5f8fa;
  --white: #ffffff;
  --line: rgba(13, 34, 51, 0.10);
  --line-light: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 60px -24px rgba(8, 22, 35, 0.28);
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --nav-h: 78px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; font-weight: 600; letter-spacing: -0.015em; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ---------- kicker + headings ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 22px;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--teal); }
.on-dark .kicker { color: var(--teal-bright); }
.section-title { font-size: clamp(30px, 4vw, 46px); margin-bottom: 24px; max-width: 20em; }
.on-dark .section-title, .on-dark h3 { color: var(--white); }
.lede { font-size: clamp(17px, 1.5vw, 20px); max-width: 46em; color: var(--body); }
.on-dark .lede, .on-dark p { color: rgba(255, 255, 255, 0.78); }

section { padding: 110px 0; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, 0.97); }
.nav-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a {
  font-family: var(--font-display); font-size: 15px; font-weight: 500;
  color: var(--ink); letter-spacing: 0.01em; padding: 8px 0;
}
.nav-links a:hover { color: var(--teal-dark); }
.nav-cta {
  border: 1px solid var(--ink); border-radius: 3px; padding: 10px 22px !important;
  transition: background 0.25s, color 0.25s;
}
.nav-cta:hover { background: var(--ink); color: var(--white) !important; }

/* dropdown */
.has-drop > a::after {
  content: ""; display: inline-block; margin-left: 8px; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.drop {
  position: absolute; top: calc(100% + 14px); left: -22px; min-width: 300px;
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: var(--shadow); padding: 12px 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a { display: block; padding: 10px 24px !important; font-size: 15px; }
.drop a:hover { background: var(--paper); }
.drop a span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 1px; }

/* burger */
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform 0.3s, opacity 0.3s; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 80; background: var(--navy);
  display: none; flex-direction: column; justify-content: center; padding: 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { display: block; font-family: var(--font-display); font-size: 26px; color: var(--white); padding: 12px 0; }
.mobile-menu .sub a { font-size: 17px; color: rgba(255,255,255,0.72); padding: 7px 0 7px 18px; }
body.menu-locked { overflow: hidden; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero slider ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; max-height: 1040px; overflow: hidden; background: var(--navy); padding: 0; }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; z-index: 1;
}
.slide.active { opacity: 1; z-index: 2; }
.slide-media { position: absolute; inset: 0; overflow: hidden; }
.slide-media img, .slide-media video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1); }
.slide.active .slide-media img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(75deg, rgba(8, 22, 35, 0.86) 0%, rgba(8, 22, 35, 0.55) 38%, rgba(8, 22, 35, 0.08) 70%),
    linear-gradient(to top, rgba(8, 22, 35, 0.65), transparent 42%);
}
.slide-content {
  position: absolute; z-index: 3; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 150px;
}
.slide-kicker {
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--teal-bright);
  margin-bottom: 20px; display: flex; align-items: center; gap: 14px;
}
.slide-kicker::before { content: ""; width: 36px; height: 1px; background: var(--teal-bright); }
.slide-title {
  color: var(--white); font-size: clamp(38px, 5.6vw, 72px);
  max-width: 11.5em; margin-bottom: 22px; letter-spacing: -0.02em;
}
.slide-sub { color: rgba(255, 255, 255, 0.82); font-size: clamp(16px, 1.6vw, 20px); max-width: 34em; margin-bottom: 36px; }
.slide-content > * { opacity: 0; transform: translateY(26px); }
.slide.active .slide-content > * { animation: rise 0.9s cubic-bezier(0.2, 0.6, 0.2, 1) forwards; }
.slide.active .slide-content > *:nth-child(2) { animation-delay: 0.12s; }
.slide.active .slide-content > *:nth-child(3) { animation-delay: 0.24s; }
.slide.active .slide-content > *:nth-child(4) { animation-delay: 0.36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; font-family: var(--font-display); font-weight: 500; font-size: 15.5px;
  padding: 15px 34px; border-radius: 3px; letter-spacing: 0.02em;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--teal); color: var(--white); }
.btn-solid:hover { background: var(--teal-dark); color: var(--white); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); color: var(--white); }
.btn-dark { border: 1px solid var(--ink); color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: var(--white); }

/* hero chrome */
.hero-chrome {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 56px;
  display: flex; align-items: center; justify-content: space-between;
}
.dots { display: flex; gap: 10px; }
.dot {
  width: 42px; height: 3px; border: 0; cursor: pointer; padding: 0;
  background: rgba(255, 255, 255, 0.28); transition: background 0.3s; position: relative; overflow: hidden;
}
.dot.active::after {
  content: ""; position: absolute; inset: 0; background: var(--teal-bright);
  transform-origin: left; animation: dotfill var(--slide-ms, 7000ms) linear forwards;
}
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.arrows { display: flex; gap: 10px; }
.arrow {
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(8, 22, 35, 0.25);
  color: var(--white); font-size: 18px; display: grid; place-items: center;
  transition: background 0.25s, border-color 0.25s; backdrop-filter: blur(6px);
}
.arrow:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--white); }
.arrow svg { width: 20px; height: 20px; }

/* ---------- credibility strip ---------- */
.cred { background: var(--navy); padding: 0; }
.cred-inner {
  display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center;
  border-left: 1px solid var(--line-light);
}
.cred-item {
  flex: 1 1 200px; padding: 34px 28px; border-right: 1px solid var(--line-light);
  display: flex; flex-direction: column; gap: 6px; justify-content: center;
}
.cred-item strong { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; color: var(--white); letter-spacing: 0.01em; line-height: 1.35; }
.cred-item span { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }

/* ---------- molecule / positioning ---------- */
.molecule { background: var(--white); }
.mol-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 90px; align-items: center; }
.mol-copy p + p { margin-top: 18px; }
.mol-facts { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.mol-fact { padding: 24px 26px 24px 0; border-bottom: 1px solid var(--line); }
.mol-fact:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 26px; }
.mol-fact:nth-child(even) { padding-left: 26px; }
.mol-fact b { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.mol-fact small { font-size: 13.5px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.mol-visual { position: relative; }
.mol-visual img { border-radius: 6px; box-shadow: var(--shadow); }
.chain-svg { width: 100%; height: auto; margin-top: 34px; }

/* ---------- science band ---------- */
.science { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); position: relative; overflow: hidden; }
.science::before {
  content: ""; position: absolute; right: -220px; top: -220px; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(23, 195, 222, 0.13), transparent 65%);
}
.sci-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.sci-card {
  border: 1px solid var(--line-light); border-radius: 6px; padding: 34px 30px;
  background: rgba(255, 255, 255, 0.03); transition: border-color 0.3s, background 0.3s;
}
.sci-card:hover { border-color: rgba(23, 195, 222, 0.5); background: rgba(23, 195, 222, 0.05); }
.sci-card h3 { font-size: 19px; color: var(--white); margin: 18px 0 10px; }
.sci-card p { font-size: 15px; color: rgba(255, 255, 255, 0.68); }
.sci-num {
  font-family: var(--font-display); font-size: 14px; letter-spacing: 0.2em;
  color: var(--gold);
}

/* ---------- heritage ---------- */
.heritage { background: var(--paper); }
.her-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: end; margin-bottom: 64px; }
.her-head .lede { margin-top: 0; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case {
  background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column;
}
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-img { aspect-ratio: 16 / 10; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.case:hover .case-img img { transform: scale(1.06); }
.case-body { padding: 26px 28px 30px; }
.case-body h3 { font-size: 19px; margin-bottom: 8px; }
.case-body p { font-size: 15px; color: var(--body); }
.case-tag { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-dark); font-weight: 600; display: block; margin-bottom: 10px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 70px; padding-top: 54px; border-top: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(34px, 3.4vw, 48px); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- applications grid ---------- */
.apps { background: var(--white); }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.app-card {
  position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 4.6;
  display: flex; align-items: flex-end; color: var(--white);
}
.app-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.app-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 22, 35, 0.88) 0%, rgba(8, 22, 35, 0.25) 55%, rgba(8, 22, 35, 0.12) 100%);
  transition: background 0.4s;
}
.app-card:hover img { transform: scale(1.06); }
.app-body { position: relative; z-index: 2; padding: 30px; }
.app-body h3 { color: var(--white); font-size: 22px; margin-bottom: 8px; }
.app-body p { font-size: 14.5px; color: rgba(255, 255, 255, 0.8); margin-bottom: 14px; }
.app-link {
  font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--teal-bright);
  display: inline-flex; align-items: center; gap: 8px;
}
.app-link::after { content: "\2192"; transition: transform 0.25s; }
.app-card:hover .app-link::after { transform: translateX(5px); }

/* ---------- products ---------- */
.products { background: var(--paper); }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 56px; }
.prod {
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  padding: 30px 26px; text-align: center; transition: transform 0.3s, box-shadow 0.3s;
}
.prod:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.prod-img { height: 210px; display: grid; place-items: center; margin-bottom: 22px; }
.prod-img img { max-height: 210px; max-width: 100%; width: auto; object-fit: contain; }
.prod h3 { font-size: 17px; margin-bottom: 6px; }
.prod p { font-size: 14px; color: var(--muted); }

/* ---------- pathway timeline ---------- */
.pathway { background: var(--white); }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 70px; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 10px; left: 4%; right: 4%; height: 1px;
  background: linear-gradient(to right, var(--teal), var(--line));
}
.tl-step { position: relative; padding: 44px 22px 0 0; }
.tl-step::before {
  content: ""; position: absolute; top: 3px; left: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--teal);
}
.tl-step.done::before { background: var(--teal); }
.tl-step.now::before { box-shadow: 0 0 0 6px rgba(15, 159, 184, 0.18); background: var(--teal); }
.tl-step h3 { font-size: 16.5px; margin-bottom: 8px; }
.tl-step p { font-size: 14px; color: var(--muted); }
.tl-step small { display: block; font-family: var(--font-display); font-size: 11.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 10px; }
.tl-step.now small { color: var(--gold); }

/* ---------- market band ---------- */
.market { background: linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 90%); position: relative; overflow: hidden; }
.market::before {
  content: ""; position: absolute; left: -200px; bottom: -260px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(194, 165, 102, 0.10), transparent 65%);
}
.mkt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 60px; }
.mkt {
  border-left: 1px solid var(--line-light); padding-left: 28px;
}
.mkt b { display: block; font-family: var(--font-display); font-size: clamp(36px, 3.6vw, 52px); font-weight: 600; color: var(--white); letter-spacing: -0.02em; }
.mkt b em { font-style: normal; color: var(--teal-bright); }
.mkt span { font-size: 14px; color: rgba(255, 255, 255, 0.62); display: block; margin-top: 8px; }
.mkt-note { margin-top: 54px; font-size: 13px; color: rgba(255, 255, 255, 0.4); max-width: 56em; }

/* ---------- contact ---------- */
.contact { background: var(--white); }
.contact-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center;
}
.contact-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 46px;
}
.contact-card h3 { font-size: 20px; margin-bottom: 10px; }
.contact-card p { font-size: 15px; margin-bottom: 26px; }
.contact-card .email {
  font-family: var(--font-display); font-size: clamp(18px, 2vw, 24px); font-weight: 500; color: var(--teal-dark);
  border-bottom: 2px solid var(--teal); padding-bottom: 4px;
}
.contact-note { margin-top: 26px; font-size: 13.5px; color: var(--muted); }

/* ---------- signup band ---------- */
.signup { background: linear-gradient(160deg, var(--navy-3) 0%, var(--navy) 85%); padding: 78px 0; }
.signup-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; flex-wrap: wrap; }
.signup-copy h2 { color: var(--white); font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.signup-copy p { color: rgba(255, 255, 255, 0.66); font-size: 15.5px; max-width: 32em; }
.signup-form { display: flex; gap: 12px; flex: 1 1 420px; max-width: 560px; }
.signup-form input[type="email"] {
  flex: 1; padding: 15px 18px; border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.06);
  color: var(--white); font-family: var(--font-body); font-size: 15px; outline: none;
  transition: border-color 0.25s;
}
.signup-form input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.45); }
.signup-form input[type="email"]:focus { border-color: var(--teal-bright); }
.signup-form .btn-solid { white-space: nowrap; }
.signup-msg { margin-top: 14px; font-size: 14px; color: var(--teal-bright); min-height: 20px; width: 100%; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- chat assistant ---------- */
.cw-launch {
  position: fixed; right: 26px; bottom: 26px; z-index: 95;
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--teal); color: var(--white); display: grid; place-items: center;
  box-shadow: 0 12px 32px -8px rgba(8, 22, 35, 0.5); transition: background 0.25s, transform 0.2s;
}
.cw-launch:hover { background: var(--teal-dark); transform: translateY(-2px); }
.cw-launch svg { width: 26px; height: 26px; }
.cw-panel {
  position: fixed; right: 26px; bottom: 100px; z-index: 96;
  width: min(370px, calc(100vw - 40px)); max-height: min(560px, calc(100vh - 130px));
  background: var(--white); border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(8, 22, 35, 0.45);
  display: none; flex-direction: column; border: 1px solid var(--line);
}
.cw-panel.open { display: flex; }
.cw-head { background: var(--navy); padding: 18px 48px 18px 20px; position: relative; }
.cw-head strong { display: block; font-family: var(--font-display); color: var(--white); font-size: 16px; }
.cw-head span { font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.cw-close {
  position: absolute; top: 14px; right: 12px; width: 34px; height: 34px;
  border: 0; border-radius: 6px; background: transparent; color: rgba(255, 255, 255, 0.75);
  cursor: pointer; display: grid; place-items: center; transition: background 0.2s, color 0.2s;
}
.cw-close:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.cw-close svg { width: 18px; height: 18px; }
.cw-msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); min-height: 220px; }
.cw-msg { max-width: 86%; padding: 11px 14px; border-radius: 10px; font-size: 14px; line-height: 1.55; }
.cw-msg.bot { background: var(--white); border: 1px solid var(--line); color: var(--body); align-self: flex-start; border-bottom-left-radius: 3px; }
.cw-msg.user { background: var(--teal); color: var(--white); align-self: flex-end; border-bottom-right-radius: 3px; }
.cw-msg a { color: var(--teal-dark); font-weight: 600; }
.cw-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; background: var(--paper); }
.cw-chip {
  border: 1px solid var(--teal); color: var(--teal-dark); background: var(--white);
  border-radius: 999px; font-size: 12.5px; font-family: var(--font-display);
  padding: 7px 13px; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.cw-chip:hover { background: var(--teal); color: var(--white); }
.cw-inrow { display: flex; border-top: 1px solid var(--line); background: var(--white); }
.cw-inrow input {
  flex: 1; border: 0; outline: none; padding: 15px 16px;
  font-family: var(--font-body); font-size: 14px; color: var(--ink);
}
.cw-inrow button {
  border: 0; background: none; color: var(--teal-dark); cursor: pointer;
  padding: 0 18px; display: grid; place-items: center;
}
.cw-inrow button svg { width: 20px; height: 20px; }
.cw-note { font-size: 10.5px; color: var(--muted); text-align: center; padding: 6px 10px 10px; background: var(--white); }
@media (max-width: 560px) {
  .cw-launch { right: 16px; bottom: 16px; }
  .cw-panel { right: 16px; bottom: 88px; }
}

/* ---------- footer ---------- */
footer { background: var(--navy); padding: 80px 0 44px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 60px; padding-bottom: 54px; border-bottom: 1px solid var(--line-light); }
.foot-logo img { height: 36px; width: auto; opacity: 0.94; }
.foot-tag { margin-top: 18px; font-size: 14.5px; color: rgba(255, 255, 255, 0.6); max-width: 30em; }
footer h4 { color: var(--white); font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 20px; font-weight: 500; }
footer ul { list-style: none; }
footer ul a { display: block; padding: 6px 0; font-size: 15px; color: rgba(255, 255, 255, 0.68); }
footer ul a:hover { color: var(--teal-bright); }
.foot-legal { padding-top: 34px; font-size: 12.5px; color: rgba(255, 255, 255, 0.42); line-height: 1.8; }
.foot-legal p + p { margin-top: 10px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .slide.active .slide-media img { animation: none; }
}

/* ---------- category pages ---------- */
.page-hero { position: relative; height: 62vh; min-height: 440px; display: flex; align-items: flex-end; background: var(--navy); padding: 0 0 70px; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(75deg, rgba(8, 22, 35, 0.85) 0%, rgba(8, 22, 35, 0.45) 45%, rgba(8, 22, 35, 0.1) 75%), linear-gradient(to top, rgba(8, 22, 35, 0.6), transparent 45%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(36px, 4.6vw, 60px); max-width: 14em; }
.crumb { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 18px; display: block; }
.page-body { padding: 90px 0; }
.page-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; }
.page-grid h2 { font-size: 26px; margin: 36px 0 14px; }
.page-grid h2:first-child { margin-top: 0; }
.page-grid p + p { margin-top: 16px; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 36px; position: sticky; top: calc(var(--nav-h) + 30px); }
.side-card h3 { font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; margin-bottom: 18px; }
.side-card ul { list-style: none; }
.side-card li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--body); }
.side-card li:last-child { border-bottom: 0; }
.side-card .btn { margin-top: 24px; width: 100%; text-align: center; }
.placeholder-note {
  margin-top: 44px; border: 1px dashed rgba(15, 159, 184, 0.5); border-radius: 6px;
  padding: 22px 26px; font-size: 14px; color: var(--muted); background: rgba(15, 159, 184, 0.04);
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .mol-grid, .her-head, .contact-inner, .page-grid { grid-template-columns: 1fr; gap: 50px; }
  .sci-grid, .case-grid, .app-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid, .mkt-grid, .stat-row { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .timeline { grid-template-columns: 1fr; gap: 8px; }
  .timeline::before { top: 0; bottom: 0; left: 7px; right: auto; width: 1px; height: auto; background: linear-gradient(to bottom, var(--teal), var(--line)); }
  .tl-step { padding: 0 0 34px 40px; }
  .tl-step::before { top: 4px; }
  .side-card { position: static; }
}
@media (max-width: 800px) {
  section { padding: 76px 0; }
  .wrap { padding: 0 22px; }
  .nav-links { display: none; }
  .burger { display: block; }
  .sci-grid, .case-grid, .app-grid { grid-template-columns: 1fr; }
  .slide-content { padding-bottom: 130px; }
  .hero-chrome { bottom: 44px; }
  .arrows { display: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 40px; }
  .cred-inner { border-left: 0; }
  .cred-item { flex: 1 1 46%; border-top: 1px solid var(--line-light); }
  .mol-fact:nth-child(odd) { border-right: 0; padding-right: 0; }
  .mol-fact:nth-child(even) { padding-left: 0; }
  .mol-facts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .prod-grid, .mkt-grid, .stat-row { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
}
