/* Great Northeast Nanofab — site styles (website v2, 12 Nov 2026)
   Mobile first. Brand palette from the GNN house style (gnn_brand.py) plus one cyan accent.
   No external libraries. Font: Inter (Google Fonts) with a system fallback. */

/* ── 1. Tokens ─────────────────────────────────────────────────────────── */
:root {
  --deep: #0b2a6f;
  --deep-2: #071d4f;
  --deep-card: #123585;
  --deep-line: #3b63c4;
  --deep-accent: #9dbcf7;
  --deep-light: #d3e0fb;
  --blue: #1d4ed8;
  --blue-2: #2563eb;
  --ink: #1a2332;
  --muted: #64748b;
  --tint: #eff6ff;
  --rule: #dbe4f3;
  --accent: #22d3ee;
  --accent-2: #67e8f9;
  --accent-ink: #0e7490;
  --bg: #ffffff;
  --white: #ffffff;

  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 111, .06), 0 2px 10px rgba(11, 42, 111, .05);
  --shadow: 0 14px 34px -14px rgba(11, 42, 111, .28);
  --shadow-lg: 0 28px 60px -22px rgba(11, 42, 111, .42);
  --ease: cubic-bezier(.2, .75, .25, 1);

  --container: 1200px;
  --gutter: 16px;
  --hh: 64px;                 /* header height, kept in sync by site.js */
  --section-y: clamp(56px, 9vw, 112px);

  --grad-brand: linear-gradient(120deg, var(--blue) 0%, #3b82f6 55%, var(--accent) 100%);
  --grad-deep: linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 100%);
  --grad-line: linear-gradient(90deg, rgba(34, 211, 238, 0) 0%, var(--accent) 22%, var(--blue) 62%, rgba(29, 78, 216, 0) 100%);
  --grid-lines: linear-gradient(rgba(157, 188, 247, .09) 1px, transparent 1px),
                linear-gradient(90deg, rgba(157, 188, 247, .09) 1px, transparent 1px);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --hh: 76px; } }

/* ── 2. Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
@media (min-width: 1024px) { body { font-size: 1.0625rem; } }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--deep); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; color: var(--deep); font-weight: 750; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.9rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.6rem); }
h3 { font-size: 1.18rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
strong { font-weight: 650; }
main { display: block; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .page-hero :focus-visible, .hero :focus-visible, .cta-band :focus-visible,
.site-footer :focus-visible, .quote-band :focus-visible, .feature-card--dark :focus-visible, .inv--feature :focus-visible,
.site-nav.is-open :focus-visible { outline-color: var(--accent-2); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300; padding: 12px 18px; border-radius: 10px;
  background: var(--deep); color: #fff; font-weight: 700; text-decoration: none; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ── 3. Type helpers ───────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad-brand); }
.eyebrow--dark { color: var(--accent-2); }
.eyebrow--dark::before { background: linear-gradient(90deg, var(--accent), var(--deep-accent)); }
.lead { font-size: clamp(1.06rem, 1rem + .35vw, 1.22rem); line-height: 1.6; color: #44526a; max-width: 62ch; }
.grad-text {
  background: linear-gradient(100deg, var(--accent-2) 0%, var(--accent) 40%, var(--deep-accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── 4. Buttons and links ──────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--blue); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); font: inherit; font-size: 1rem; font-weight: 650; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: normal; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: linear-gradient(120deg, var(--blue), var(--blue-2)); box-shadow: 0 8px 22px -8px rgba(29, 78, 216, .65); }
.btn--primary:hover { box-shadow: 0 14px 30px -10px rgba(29, 78, 216, .75); }
.btn--accent { --btn-fg: var(--deep-2); background: linear-gradient(120deg, var(--accent-2), var(--accent)); box-shadow: 0 10px 28px -10px rgba(34, 211, 238, .75); }
.btn--accent:hover { box-shadow: 0 16px 36px -12px rgba(34, 211, 238, .9); }
.btn--ghost { --btn-fg: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn--outline { --btn-fg: var(--deep); background: transparent; border-color: rgba(11, 42, 111, .35); }
.btn--outline:hover { --btn-fg: #fff; background: var(--deep); border-color: var(--deep); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-row--center { justify-content: center; margin-top: 36px; }
@media (max-width: 479px) { .btn-row > .btn { width: 100%; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 650; color: var(--blue); text-decoration: none;
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: var(--accent-2); }
.link-arrow--light:hover { color: #fff; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--tint); color: var(--blue); border: 1px solid rgba(29, 78, 216, .18);
}
.pill--accent { background: rgba(34, 211, 238, .14); color: var(--accent-ink); border-color: rgba(14, 116, 144, .25); }
.pill--glass { background: rgba(255, 255, 255, .08); color: var(--accent-2); border-color: rgba(103, 232, 249, .35); }

/* ── 5. Header ─────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .82); border-bottom: 1px solid rgba(11, 42, 111, .08);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled::before { background: rgba(255, 255, 255, .92); box-shadow: 0 10px 30px -18px rgba(11, 42, 111, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--hh); transition: height .3s var(--ease); }
.site-header.is-scrolled .header-inner { height: calc(var(--hh) - 12px); }

.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; text-decoration: none; color: var(--deep); min-width: 0; }
.brand-mark { width: 40px; height: 40px; flex: none; border-radius: 10px; box-shadow: 0 6px 16px -6px rgba(29, 78, 216, .7); transition: transform .3s var(--ease), width .3s, height .3s; }
.brand:hover .brand-mark { transform: rotate(-4deg) scale(1.04); }
.site-header.is-scrolled .brand-mark { width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-size: 1rem; font-weight: 750; letter-spacing: -.01em; color: var(--deep); white-space: nowrap; }
.brand-text span { font-size: .72rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 389px) { .brand-text span { display: none; } }
@media (min-width: 1024px) { .brand-mark { width: 44px; height: 44px; } .brand-text strong { font-size: 1.06rem; } .brand-text span { font-size: .78rem; } }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-width: 48px; min-height: 48px; padding: 0 12px;
  border: 1.5px solid rgba(11, 42, 111, .16); border-radius: 12px; background: #fff; color: var(--deep);
  font: inherit; font-weight: 650; cursor: pointer; flex: none;
}
.menu-toggle__label { display: none; }
@media (min-width: 480px) { .menu-toggle__label { display: inline; } }
.menu-toggle__bars { position: relative; width: 20px; height: 14px; display: inline-block; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 6px; }
.menu-toggle__bars span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Mobile menu: full-width panel under the header bar */
.site-nav {
  position: fixed; inset: 0; z-index: -2; overflow-y: auto; overscroll-behavior: contain;
  padding: calc(var(--hh-live, var(--hh)) + 12px) var(--gutter) 32px;
  background: radial-gradient(600px 400px at 100% 0%, rgba(34, 211, 238, .16), transparent 60%), var(--grad-deep);
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
.nav-list { list-style: none; display: grid; gap: 2px; max-width: 640px; margin-inline: auto; }
.nav-list a {
  position: relative; display: flex; align-items: center; min-height: 56px; padding: 8px 4px;
  border-bottom: 1px solid rgba(157, 188, 247, .16); color: #fff; text-decoration: none;
  font-size: 1.3rem; font-weight: 650; letter-spacing: -.01em;
}
.nav-list a:hover { color: var(--accent-2); }
.nav-list a[aria-current="page"] { color: var(--accent-2); }
.nav-list a[aria-current="page"]::after { content: ""; width: 8px; height: 8px; margin-left: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(34, 211, 238, .2); }
.nav-actions { max-width: 640px; margin: 28px auto 0; display: grid; gap: 14px; }
.nav-actions .btn { width: 100%; min-height: 54px; }
.nav-note { margin: 0; font-size: .9rem; color: var(--deep-light); }
.nav-note a { color: var(--accent-2); word-break: break-all; }
body.nav-open { overflow: hidden; }

@media (min-width: 1180px) {
  .menu-toggle { display: none; }
  .site-nav {
    position: static; z-index: auto; overflow: visible; padding: 0; background: none;
    visibility: visible; opacity: 1; transform: none; transition: none;
    display: flex; align-items: center; gap: 14px;
  }
  .nav-list { display: flex; gap: 2px; max-width: none; margin: 0; }
  .nav-list a {
    min-height: 44px; padding: 8px 10px; border: 0; border-radius: 10px;
    color: var(--ink); font-size: .95rem; font-weight: 550;
  }
  .nav-list a:hover { color: var(--blue); background: rgba(29, 78, 216, .06); }
  .nav-list a[aria-current="page"] { color: var(--blue); }
  .nav-list a[aria-current="page"]::after {
    position: absolute; left: 10px; right: 10px; bottom: 3px; width: auto; height: 2.5px; margin: 0;
    border-radius: 3px; background: var(--grad-brand); box-shadow: none;
  }
  .nav-actions { margin: 0; display: block; }
  .nav-actions .btn { width: auto; min-height: 44px; }
  .nav-note { display: none; }
}
@media (min-width: 1180px) and (max-width: 1359px) { .site-header .brand-text span { display: none; } }

/* Without JavaScript the menu is a plain wrapped list */
html:not(.js) .menu-toggle { display: none; }
html:not(.js) .header-inner { height: auto; flex-wrap: wrap; padding-block: 10px; }
html:not(.js) .site-nav { position: static; visibility: visible; opacity: 1; transform: none; padding: 0; background: none; width: 100%; }
html:not(.js) .nav-list { display: flex; flex-wrap: wrap; gap: 4px 6px; max-width: none; }
html:not(.js) .nav-list a { min-height: 44px; font-size: .95rem; color: var(--deep); border: 0; padding: 8px; }
html:not(.js) .nav-actions { display: none; }

/* ── 6. Sections and layout ────────────────────────────────────────────── */
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--tint { background: linear-gradient(180deg, var(--tint) 0%, #f7faff 100%); --muted: #475569; }
.section--dark { background: var(--grad-deep); color: var(--deep-light); overflow: hidden; isolation: isolate; }
.section--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grid-lines); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: var(--deep-light); }

.section-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 780px; }
.section-head .lead { margin-bottom: 0; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .lead { margin-inline: auto; }
.section-head--row { max-width: none; display: grid; gap: 12px 48px; align-items: end; }
@media (min-width: 900px) { .section-head--row { grid-template-columns: 1fr 1fr; } }
.section-head--row h2 { margin-bottom: 0; }
.section-link { margin: 28px 0 0; }

.divider { height: 2px; max-width: 900px; margin-inline: auto; background: var(--grad-line); opacity: .7; border-radius: 2px; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4, .grid--tools, .grid--areas, .grid--markets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4, .grid--areas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--tools, .grid--markets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1240px) { .grid--tools { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .split--media-left { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .split--top { align-items: start; }
  .split--center { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.split__text > :last-child { margin-bottom: 0; }

/* ── 7. Cards ──────────────────────────────────────────────────────────── */
.card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: clamp(20px, 2.4vw, 28px); border-radius: var(--radius); background: #fff;
  border: 1px solid var(--rule); box-shadow: var(--shadow-sm);
}
.card h2, .card h3 { margin-bottom: 4px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card--lift { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card--lift::after {
  content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card--lift:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(29, 78, 216, .25); }
.card--lift:hover::after { transform: scaleX(1); }
.card--accent { border-color: rgba(29, 78, 216, .35); box-shadow: 0 0 0 4px rgba(29, 78, 216, .06), var(--shadow); }

.icon-tile {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; flex: none;
  border-radius: 14px; color: var(--blue);
  background: linear-gradient(140deg, #e0ebff 0%, #eef9fd 100%); border: 1px solid rgba(29, 78, 216, .12);
}
.icon-tile .icon { width: 24px; height: 24px; }
.icon-tile--lg { width: 60px; height: 60px; border-radius: 18px; }
.icon-tile--lg .icon { width: 28px; height: 28px; }
.icon-tile--glass { color: var(--accent-2); background: rgba(255, 255, 255, .08); border-color: rgba(157, 188, 247, .25); }

a.card { text-decoration: none; color: inherit; }
.teaser h3 { color: var(--deep); }
.teaser__go { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--blue); }
.teaser__go .icon { transition: transform .25s var(--ease); }
.teaser:hover .teaser__go .icon { transform: translateX(4px); }
.teaser--feature { background: var(--grad-deep); border-color: transparent; color: var(--deep-light); overflow: hidden; isolation: isolate; }
.teaser--feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px 220px at 100% 0%, rgba(34, 211, 238, .25), transparent 70%); }
.teaser--feature h3 { color: #fff; }
.teaser--feature p { color: var(--deep-light); }
.teaser--feature .icon-tile { color: var(--accent-2); background: rgba(255, 255, 255, .08); border-color: rgba(157, 188, 247, .25); }
.teaser--feature .teaser__go { color: var(--accent-2); }
.teaser--feature .pill { position: absolute; top: 22px; right: 22px; background: rgba(34, 211, 238, .16); color: var(--accent-2); border-color: rgba(103, 232, 249, .35); }

/* ── 8. Home hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 520px at 88% 18%, rgba(34, 211, 238, .20), transparent 62%),
    radial-gradient(800px 600px at -5% 105%, rgba(29, 78, 216, .55), transparent 60%),
    var(--grad-deep);
  padding-block: clamp(48px, 9vw, 112px) clamp(96px, 12vw, 160px);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad-line); opacity: .8; }
.hero__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__inner { position: relative; display: grid; gap: 40px; align-items: center; }
.hero__copy { position: relative; z-index: 1; max-width: 680px; }
.hero__title { color: #fff; margin-bottom: 22px; }
.hero__lead { font-size: clamp(1.06rem, 1rem + .45vw, 1.26rem); color: var(--deep-light); max-width: 60ch; margin-bottom: 28px; }
.hero__note { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; font-size: .92rem; color: var(--deep-accent); }
.hero__note .icon { color: var(--accent-2); }
.hero__visual { position: absolute; z-index: 0; top: -40px; right: -150px; width: 340px; opacity: .28; pointer-events: none; }
.wafer { display: block; width: 100%; height: auto; overflow: visible; }
.float-chip { display: none; }
@media (min-width: 640px) { .hero__visual { right: -110px; width: 400px; opacity: .3; } }
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .hero__visual { position: relative; top: auto; right: auto; width: 100%; max-width: 460px; justify-self: center; opacity: 1; }
  .float-chip {
    position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
    font-size: .82rem; font-weight: 600; color: #fff; white-space: nowrap;
    background: rgba(18, 53, 133, .72); border: 1px solid rgba(157, 188, 247, .35);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5);
    animation: float 7s ease-in-out infinite;
  }
  .float-chip .icon { width: 16px; height: 16px; color: var(--accent-2); }
  .float-chip--1 { top: 6%; left: -8%; }
  .float-chip--2 { top: 30%; right: -10%; animation-delay: -2s; }
  .float-chip--3 { bottom: 22%; left: -12%; animation-delay: -4s; }
  .float-chip--4 { bottom: 2%; right: 4%; animation-delay: -1s; }
}
.wafer-orbit { transform-origin: 210px 210px; animation: spin 60s linear infinite; }
.wafer .die { opacity: .12; animation: die 5.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.wafer-scan { animation: scan 6s var(--ease) infinite; }

.trace-pulses .pulse { stroke-dasharray: 60 940; stroke-dashoffset: 1000; opacity: .9; animation: trace 6.5s linear infinite; animation-delay: var(--d, 0s); }
.trace-pulses .pulse--short { stroke-dasharray: 140 860; animation-duration: 3.6s; }
.trace-pulses .pulse--d1 { --d: .9s; }
.trace-pulses .pulse--d2 { --d: 1.8s; }
.trace-pulses .pulse--d3 { --d: 2.7s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes die { 0%, 100% { opacity: .1; } 45%, 55% { opacity: .95; } }
@keyframes scan { 0% { transform: translateY(0); } 100% { transform: translateY(520px); } }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ── 9. Key facts ──────────────────────────────────────────────────────── */
.facts-wrap { position: relative; z-index: 2; margin-top: clamp(-72px, -6vw, -48px); }
.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow-lg); overflow: hidden;
}
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact { padding: clamp(18px, 2.6vw, 30px); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.fact:nth-child(-n+2) { border-top: 0; }
.fact:nth-child(2n+1) { border-left: 0; }
@media (min-width: 900px) {
  .fact { border-top: 0; }
  .fact:nth-child(2n+1) { border-left: 1px solid var(--rule); }
  .fact:first-child { border-left: 0; }
}
.fact__value {
  margin: 0 0 6px; font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem); font-weight: 800; line-height: 1; letter-spacing: -.03em;
  background: linear-gradient(110deg, var(--deep) 0%, var(--blue) 60%, #0891b2 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.fact__label { margin: 0; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.fact__label strong { display: block; color: var(--deep); font-size: .95rem; margin-bottom: 2px; }
.facts-source { margin: 12px 4px 0; font-size: .8rem; color: var(--muted); text-align: right; }
.facts-source--left { text-align: left; margin-top: 24px; }

/* ── 10. Page hero (inner pages) ───────────────────────────────────────── */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: radial-gradient(800px 420px at 92% 0%, rgba(34, 211, 238, .18), transparent 60%), var(--grad-deep);
  padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 96px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(7, 29, 79, .88) 0%, rgba(11, 42, 111, .62) 45%, rgba(11, 42, 111, .12) 100%),
    var(--grid-lines);
  background-size: auto, 44px 44px, 44px 44px;
}
.page-hero--plain::before { background: var(--grid-lines); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 75%); }
.page-hero--plain::after {
  content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 1.5px dashed rgba(103, 232, 249, .3); box-shadow: inset 0 0 0 40px rgba(157, 188, 247, .04), inset 0 0 0 80px rgba(157, 188, 247, .03);
  display: none;
}
.page-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.page-hero__img--bright { opacity: 1; }
.page-hero__inner { position: relative; max-width: calc(var(--container) + 2 * var(--gutter)); }
.page-hero h1 { color: #fff; max-width: 18ch; margin-bottom: 16px; }
.page-hero__lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.24rem); color: var(--deep-light); max-width: 60ch; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 26px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; margin: -10px 0 8px; font-size: .86rem; color: var(--deep-accent); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: rgba(157, 188, 247, .6); }
.breadcrumb a { color: var(--deep-light); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--accent-2); }
.status-pill {
  display: flex; align-items: flex-start; gap: 10px; margin: 24px 0 0; padding: 12px 16px; max-width: 720px;
  border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(157, 188, 247, .28);
  font-size: .92rem; color: var(--deep-light); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.status-pill .icon { color: var(--accent-2); margin-top: 2px; }
.meta-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.meta-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .92rem; font-weight: 600; background: rgba(255, 255, 255, .08); border: 1px solid rgba(157, 188, 247, .3); }
.meta-chips .icon { color: var(--accent-2); }

/* gradient divider under every dark hero */
.page-hero:not(.page-hero--plain)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad-line); opacity: .8;
}

/* In-page sub navigation (capabilities) */
.subnav { position: sticky; top: calc(var(--hh) - 12px); z-index: 50; background: rgba(255, 255, 255, .9); border-bottom: 1px solid var(--rule); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.subnav ul { list-style: none; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 8px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; font-size: .92rem; font-weight: 600; color: var(--deep); text-decoration: none; }
.subnav a:hover { background: var(--tint); color: var(--blue); }
@media (min-width: 1024px) { .subnav ul { -webkit-mask-image: none; mask-image: none; } }

/* ── 11. Home: outcomes, photo stack, chips ────────────────────────────── */
.outcome h3 { margin-top: 2px; }
.photo-stack { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.photo--a { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.photo--b { grid-column: 1 / 3; aspect-ratio: 3 / 4; }
.photo--c { grid-column: 3 / -1; aspect-ratio: 16 / 10.6; align-self: end; }
.photo-caption { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-size: .85rem; color: var(--muted); }
.photo-caption .icon { color: var(--blue); width: 16px; height: 16px; }

.chip-cloud { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin-inline: auto; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow-sm);
  color: var(--deep); font-weight: 600; font-size: .95rem; text-decoration: none; line-height: 1.25;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s, background-color .25s;
}
.chip .icon { color: var(--blue); width: 20px; height: 20px; }
.chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(29, 78, 216, .35); color: var(--blue); }

/* ── 12. CTA band ──────────────────────────────────────────────────────── */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; color: var(--deep-light);
  padding-block: clamp(56px, 8vw, 96px);
  background: radial-gradient(700px 360px at 90% 10%, rgba(34, 211, 238, .28), transparent 60%),
              radial-gradient(600px 400px at 0% 100%, rgba(37, 99, 235, .55), transparent 60%), var(--grad-deep);
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grid-lines); background-size: 44px 44px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%, transparent); mask-image: linear-gradient(90deg, transparent, #000 50%, transparent); }
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad-line); }
.cta-band__inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .cta-band__inner { grid-template-columns: minmax(0, 1.3fr) auto; gap: 48px; } }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 60ch; font-size: 1.06rem; }

/* ── 13. About ─────────────────────────────────────────────────────────── */
.media-frame { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--tint); }
.media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-frame--wide img { aspect-ratio: 16 / 10; }
.media-badge { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--deep); background: rgba(255, 255, 255, .92); }
.media-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(11, 42, 111, .08); pointer-events: none; }

.quote-band {
  position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(56px, 8vw, 104px);
  background: radial-gradient(600px 340px at 15% 0%, rgba(34, 211, 238, .22), transparent 60%), var(--grad-deep); color: #fff;
}
.quote-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grid-lines); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 70%); }
.big-quote { margin: 0 auto; max-width: 900px; text-align: center; }
.big-quote__mark { width: 52px; height: 52px; color: var(--accent); margin: 0 auto 10px; display: block; }
.big-quote blockquote { margin: 0; }
.big-quote blockquote p { margin: 0 0 22px; font-size: clamp(1.45rem, 1.1rem + 1.8vw, 2.4rem); line-height: 1.3; font-weight: 650; letter-spacing: -.02em; color: #fff; }
.big-quote figcaption strong { display: block; color: #fff; }
.big-quote figcaption span { color: var(--deep-accent); font-size: .95rem; }

.status-card { display: flex; flex-direction: column; gap: 14px 22px; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow-sm); }
@media (min-width: 720px) { .status-card { flex-direction: row; align-items: flex-start; } }
.status-card h2 { font-size: 1.5rem; }
.status-card p { color: #44526a; }
.status-card__source { font-size: .9rem; margin: 0; }

/* ── 14. Capabilities ──────────────────────────────────────────────────── */
.area { gap: 8px; }
.area__head { display: flex; align-items: center; gap: 14px; }
.area__head .icon-tile { margin: 0; }
.area__head h3 { margin: 0; }
.area > p { color: var(--ink); font-weight: 500; margin-top: 6px; }
.ticks { list-style: none; display: grid; gap: 8px; margin-top: 6px; }
.ticks li { position: relative; padding-left: 26px; font-size: .94rem; line-height: 1.5; color: var(--muted); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat;
  border: 1px solid rgba(29, 78, 216, .2);
}

.tool { gap: 8px; }
.tool h3 { font-size: 1.1rem; }
.tool p { font-size: .95rem; }
.tool__tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; margin: 0 0 6px !important; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tool__tag .icon { width: 14px; height: 14px; }
.tag--litho { background: #e0ebff; color: #1e40af !important; }
.tag--etch { background: #dff7fb; color: #0e7490 !important; }
.tag--film { background: #ede9fe; color: #5b21b6 !important; }
.tag--thermal { background: #ffedd5; color: #9a3412 !important; }
.tag--pack { background: #dcfce7; color: #166534 !important; }
.tag--metro { background: #e2e8f0; color: #334155 !important; }

.gallery { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery__item--wide { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 210px; }
  .gallery__item--wide { grid-column: span 2; grid-row: span 2; }
  .gallery__item--tall { grid-row: span 2; }
}
.gallery__item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--deep); box-shadow: var(--shadow); min-height: 240px; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
@media (max-width: 1023px) { .gallery__item img { aspect-ratio: 4 / 3; height: auto; } .gallery__item { min-height: 0; } }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: .8rem; font-weight: 600; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(7, 29, 79, .88));
}

.coming { list-style: none; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .coming { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .coming { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.coming__item {
  position: relative; padding: 20px 20px 22px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, rgba(18, 53, 133, .85), rgba(11, 42, 111, .6)); border: 1px solid rgba(59, 99, 196, .7);
  transition: transform .35s var(--ease), border-color .35s;
}
.coming__item::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad-line); }
.coming__item:hover { transform: translateY(-4px); border-color: var(--accent); }
.coming__item h3 { margin: 12px 0 4px; font-size: 1.06rem; }
.coming__item p { margin: 0; font-size: .93rem; color: var(--deep-light); }

.outcomes { list-style: none; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); counter-reset: none; }
@media (min-width: 640px) { .outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .outcomes { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.outcomes__item { position: relative; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow-sm); overflow: hidden; }
.outcomes__item::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 238, .14), transparent 70%); }
.outcomes__num { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; margin-bottom: 10px; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.outcomes__item h3 { font-size: 1.06rem; }
.outcomes__item p { margin: 0; font-size: .94rem; color: var(--muted); }
.partner-note { display: flex; align-items: flex-start; gap: 12px; margin: 28px 0 0; padding: 16px 18px; border-radius: 14px; background: var(--tint); color: #3b4a62; font-size: .95rem; }
.partner-note .icon { color: var(--blue); margin-top: 2px; }

.list-cta { display: grid; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow); }
@media (min-width: 760px) { .list-cta { grid-template-columns: auto minmax(0, 1fr); gap: 44px; } }
.list-cta__text h2 { margin-bottom: 8px; }
.list-cta__text p { color: #44526a; }
.list-cta__doc { position: relative; width: 130px; height: 160px; margin-inline: auto; }
.list-cta__sheet { position: absolute; inset: 0; border-radius: 12px; background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow); }
.list-cta__sheet:first-child { transform: rotate(-8deg) translate(-10px, 6px); background: var(--tint); }
.list-cta__sheet:nth-child(2) { background: repeating-linear-gradient(180deg, transparent 0 22px, var(--rule) 22px 24px) 18px 52px / calc(100% - 36px) 80px no-repeat, #fff; }
.list-cta__icon { position: absolute; top: 14px; left: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: var(--grad-brand); }
.list-cta__icon .icon { width: 22px; height: 22px; }

/* ── 15. Markets ───────────────────────────────────────────────────────── */
.market { padding: 0; overflow: hidden; gap: 0; }
.market__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--deep); }
.market__media img, .market__media svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.market:hover .market__media img, .market:hover .market__media svg { transform: scale(1.05); }
.market__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7, 29, 79, .55)); pointer-events: none; }
.market__icon {
  position: absolute; z-index: 1; left: 14px; bottom: 14px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  color: #fff; background: var(--grad-brand); box-shadow: 0 10px 22px -8px rgba(7, 29, 79, .9); border: 1.5px solid rgba(255, 255, 255, .75);
}
.market__body { padding: 20px clamp(20px, 2.4vw, 26px) 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.market__body h3 { margin-bottom: 2px; }
.market__how { font-size: .92rem; padding-top: 12px; margin-top: auto !important; border-top: 1px dashed var(--rule); }
.market__how strong { color: var(--deep); }

.else-box { display: grid; gap: 18px 28px; align-items: center; margin-top: clamp(32px, 4vw, 48px); padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-lg); border: 1.5px dashed rgba(29, 78, 216, .35); background: linear-gradient(120deg, var(--tint), #fff); }
@media (min-width: 900px) { .else-box { grid-template-columns: auto minmax(0, 1fr) auto; } }
.else-box h2 { font-size: 1.45rem; margin-bottom: 6px; }
.else-box p { margin: 0; color: #44526a; }
.else-box .icon-tile { margin: 0; }

/* ── 16. Work with us ──────────────────────────────────────────────────── */
.steps { list-style: none; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); position: relative; }
.step { position: relative; padding: 22px 22px 24px 76px; border-radius: var(--radius); background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow-sm); }
.step .icon-tile { display: none; }
.step__num {
  position: absolute; left: 20px; top: 20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  font-weight: 800; color: #fff; background: var(--grad-brand); box-shadow: 0 0 0 6px rgba(29, 78, 216, .1);
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 899px) {
  .steps::before { content: ""; position: absolute; left: 39px; top: 40px; bottom: 40px; width: 2px; background: linear-gradient(180deg, var(--accent), var(--blue)); opacity: .5; }
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding-top: 28px; }
  .steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 48px; height: 2px; background: var(--grad-line); }
  .step { padding: 54px 22px 24px; text-align: left; }
  .step__num { left: 22px; top: -2px; width: 46px; height: 46px; font-size: 1.1rem; }
  .step .icon-tile { display: inline-grid; position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 12px; }
  .step .icon-tile .icon { width: 20px; height: 20px; }
}

.uses { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
@media (min-width: 560px) { .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.use { padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--rule); transition: transform .3s var(--ease), box-shadow .3s; }
.use:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.use__num { font-size: .8rem; font-weight: 800; letter-spacing: .12em; color: var(--accent-ink); }
.use h3 { margin: 4px 0 4px; font-size: 1.06rem; }
.use p { margin: 0; color: var(--muted); font-size: .94rem; }
.media-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.media-pair .media-frame img { aspect-ratio: 3 / 4; }
.media-pair .media-frame:last-of-type { margin-top: 40px; }
.media-pair__note { grid-column: 1 / -1; margin: 0; font-size: .82rem; color: var(--muted); }
@media (min-width: 960px) { .media-pair { position: sticky; top: calc(var(--hh) + 24px); } }

.feature-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow-sm); overflow: hidden; isolation: isolate; }
.feature-card h2, .feature-card h3 { font-size: 1.45rem; margin-bottom: 4px; }
.feature-card p { color: #44526a; }
.feature-card .btn { margin-top: auto; }
.feature-card--dark { background: var(--grad-deep); border-color: transparent; color: var(--deep-light); }
.feature-card--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px 260px at 100% 0%, rgba(34, 211, 238, .22), transparent 70%); }
.feature-card--dark h2, .feature-card--dark h3 { color: #fff; }
.feature-card--dark p { color: var(--deep-light); }

.fineprint { display: flex; align-items: flex-start; gap: 12px; margin: clamp(24px, 3vw, 36px) 0 0; padding: 16px 18px; border-radius: 14px; background: #f5f3ee; color: #4a4f5c; font-size: .92rem; }
.fineprint .icon { color: #8a6d3b; margin-top: 2px; }

/* ── 17. Network ───────────────────────────────────────────────────────── */
.map-wrap { position: relative; }
.hubmap { display: block; width: 100%; height: auto; max-width: 560px; margin-inline: auto; overflow: visible; }
.hub-ring { transform-box: fill-box; transform-origin: center; animation: ring 3.2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }
.unis { display: grid; gap: 12px; }
.uni { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(157, 188, 247, .22); transition: transform .3s var(--ease), border-color .3s, background-color .3s; }
.uni:hover { transform: translateX(4px); border-color: rgba(103, 232, 249, .55); background: rgba(255, 255, 255, .09); }
.uni h3 { margin: 0 0 2px; font-size: 1.06rem; color: #fff; }
.uni p { margin: 0; font-size: .94rem; color: var(--deep-light); }
.uni__tag { flex: none; margin-top: 2px; padding: 4px 10px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); background: rgba(34, 211, 238, .12); border: 1px solid rgba(103, 232, 249, .3); }
.uni--hub { background: linear-gradient(120deg, rgba(29, 78, 216, .55), rgba(18, 53, 133, .5)); border-color: rgba(103, 232, 249, .5); }
.uni--hub .uni__tag { color: var(--deep-2); background: var(--accent); border-color: var(--accent); }

/* ── 18. Events ────────────────────────────────────────────────────────── */
.agenda { list-style: none; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .agenda { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.agenda__item { position: relative; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.agenda__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.agenda__item::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--grad-brand); }
.agenda__when { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: .9rem; font-weight: 600; color: var(--deep); }
.agenda__item h3 { margin-bottom: 6px; }
.agenda__item p { color: var(--muted); }
.agenda__item p:last-child { margin: 0; font-size: .96rem; }

/* ── 19. Get involved and contact ──────────────────────────────────────── */
.inv h2 { font-size: 1.2rem; }
.inv .link-arrow { margin-top: auto; padding-top: 10px; }
.inv--feature {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--radius); background: var(--grad-deep); color: var(--deep-light); overflow: hidden; isolation: isolate; box-shadow: var(--shadow);
}
.inv--feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(380px 240px at 100% 0%, rgba(34, 211, 238, .3), transparent 70%); }
.inv--feature h2 { color: #fff; }
.inv--feature p { color: var(--deep-light); }
.inv--feature .btn { margin-top: auto; }

.event-strip { display: grid; gap: 16px 28px; align-items: center; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow-sm); }
@media (min-width: 860px) { .event-strip { grid-template-columns: auto minmax(0, 1fr) auto; } }
.event-strip h2 { font-size: 1.4rem; margin-bottom: 4px; }
.event-strip p { margin: 0; color: #44526a; }
.event-strip .eyebrow { margin-bottom: 6px; }
.event-strip .icon-tile { margin: 0; }

.person h2 { font-size: 1.25rem; }
.person__role { color: var(--muted); margin: 0 0 12px; }
.person__link { margin-top: auto; font-weight: 650; overflow-wrap: anywhere; min-height: 44px; display: inline-flex; align-items: center; }
.person__note { font-size: .88rem; margin-top: 10px !important; }
.person .btn { margin-top: auto; }

.quick-links { list-style: none; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quick-links a {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--rule);
  color: var(--deep); font-weight: 600; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.quick-links a > .icon:first-child { color: var(--blue); width: 22px; height: 22px; }
.quick-links a span { flex: 1; }
.quick-links .arrow { color: var(--muted); transition: transform .25s var(--ease), color .25s; }
.quick-links a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(29, 78, 216, .3); }
.quick-links a:hover .arrow { transform: translateX(4px); color: var(--blue); }

/* ── 20. Footer ────────────────────────────────────────────────────────── */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--deep-2); color: #c7d4ef; padding-top: clamp(48px, 7vw, 80px); font-size: .95rem; }
.footer-glow { position: absolute; z-index: -1; left: 50%; top: -220px; width: 900px; height: 440px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(29, 78, 216, .45), transparent); pointer-events: none; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad-line); }
.footer-grid { display: grid; gap: 32px 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.2fr); } .footer-brand { grid-column: auto; } }
.brand--footer { margin-bottom: 14px; }
.brand--footer .brand-text strong { color: #fff; }
.brand--footer .brand-text span { color: var(--deep-accent); display: inline; }
.footer-brand p { max-width: 46ch; }
.footer-small { display: block; font-size: .82rem; color: #9fb2da; margin-top: 2px; }
.footer-h { margin: 0 0 12px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.footer-col ul { list-style: none; display: grid; gap: 0; }
.footer-col a { display: inline-flex; align-items: center; min-height: 44px; color: #e3eafb; text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: clamp(32px, 5vw, 56px); padding-block: 22px 28px; border-top: 1px solid rgba(157, 188, 247, .16); }
.credits { margin: 0 0 14px; font-size: .78rem; line-height: 1.6; color: #93a6cf; }
.credits a { color: #b9c9ec; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 0; font-size: .82rem; color: #93a6cf; }
.to-top { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--accent-2); text-decoration: none; font-weight: 600; }
.to-top .icon { transform: rotate(-90deg); width: 16px; height: 16px; }

/* ── 21. Scroll reveal (only once site.js has started) ─────────────────── */
html.reveal-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
html.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

/* ── 22. Reduced motion: everything still, nothing hidden ─────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .trace-pulses { display: none; }
  .wafer .die { opacity: .55; }
  .wafer-scan { display: none; }
  .card--lift:hover, .btn:hover, .chip:hover, .coming__item:hover, .uni:hover, .use:hover, .quick-links a:hover, .agenda__item:hover { transform: none; }
  .photo:hover img, .gallery__item:hover img, .market:hover .market__media img, .market:hover .market__media svg { transform: none; }
}

/* ── 23. Print ─────────────────────────────────────────────────────────── */
@media print {
  .site-header, .menu-toggle, .subnav, .hero__bg, .hero__visual, .to-top { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero, .page-hero, .section--dark, .cta-band, .quote-band, .site-footer { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .card, .market, .tool, .area, .step, .use, .uni, .agenda__item, .gallery__item { break-inside: avoid; }
}

/* ── Real-photo hero (home) + quieter cards ───────────────────────────── */
.hero { background: radial-gradient(800px 600px at -5% 105%, rgba(29, 78, 216, .45), transparent 60%), var(--grad-deep); }
.hero__photo { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); border: 1px solid rgba(157, 188, 247, .25); }
.hero__photo img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 1024px) { .hero__photo { max-width: 520px; justify-self: end; width: 100%; } }
.icon-tile { display: none !important; }
@media (min-width: 860px) { .event-strip { grid-template-columns: minmax(0, 1fr) auto; } }
