/* vidurgupta.com. One static stylesheet, no external fonts or scripts. Light theme only. */

:root {
  color-scheme: light;
  --bg: #faf9f6;
  --surface: #ffffff;
  --ink: #17181c;
  --body: #3b3d44;
  --muted: #6d6f77;
  --line: #e6e3dc;
  --soft: #d8d5cd;
  --blue: #2c4a73;
  --red: #8c1515;
  --orange: #b0611f;
  --teal: #2f6f5a;
  --amber: #a16207;
  --sky: #0369a1;
  --grad: #8c1515;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(11, 16, 38, 0.04), 0 14px 34px -18px rgba(11, 16, 38, 0.22);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wide: 70rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.62;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -0.02em; }
a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
a:hover { color: var(--red); }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.5rem 0.9rem; z-index: 50; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }

/* Scroll progress and background colour wash */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 40; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
.aurora {
  position: absolute; inset: 0 0 auto 0; height: 52rem; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42rem 28rem at 10% 6%, rgba(44, 74, 115, 0.13), transparent 62%),
    radial-gradient(36rem 26rem at 90% 2%, rgba(176, 97, 31, 0.13), transparent 62%),
    radial-gradient(32rem 26rem at 70% 60%, rgba(47, 111, 90, 0.10), transparent 62%);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.aurora::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(11, 16, 38, 0.10) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 80%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 80%);
}

/* Floating navigation */
.nav {
  position: fixed; top: 0.85rem; left: 50%; transform: translateX(-50%); z-index: 30;
  width: min(var(--wide), calc(100% - 1.6rem)); margin: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.45rem 0.5rem 0.45rem 0.55rem;
  background: rgba(255, 255, 255, 0.76);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border: 1px solid rgba(227, 230, 243, 0.95); border-radius: 999px; box-shadow: var(--shadow);
}
.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; flex: none; }
.logo-tile { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--grad); color: #fff; font-size: 0.86rem; letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 0.1rem; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { padding: 0.42rem 0.8rem; border-radius: 999px; color: var(--muted); font-size: 0.9rem; font-weight: 650; text-decoration: none; white-space: nowrap; transition: background-color 0.15s, color 0.15s; }
.nav-links a:hover { color: var(--ink); background: rgba(44, 74, 115, 0.09); }
.nav-links a.active { color: #fff; background: var(--ink); }

main { width: min(var(--wide), calc(100% - 2.4rem)); margin: 0 auto; padding-top: 4.1rem; }
section { padding: 2.6rem 0; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 3.5rem; align-items: center; padding: 4.2rem 0 2.2rem; }
.chip { display: inline-flex; align-items: center; gap: 0.55rem; margin: 0 0 1.1rem; padding: 0.38rem 0.85rem 0.38rem 0.7rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 0.86rem; font-weight: 650; color: var(--ink); box-shadow: var(--shadow); }
.dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(47, 111, 90, 0.5); }
h1 { font-size: clamp(3rem, 8.4vw, 5.6rem); font-weight: 850; line-height: 0.98; letter-spacing: -0.05em; margin: 0 0 1.2rem; }
.lede { font-size: clamp(1.22rem, 2.3vw, 1.58rem); line-height: 1.36; font-weight: 650; color: var(--ink); letter-spacing: -0.015em; margin: 0 0 1.25rem; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.kw { font-weight: 800; padding: 0 0.12em; border-radius: 0.3em; }
.kw.fair { color: var(--blue); background: linear-gradient(transparent 62%, rgba(44, 74, 115, 0.18) 0); }
.kw.secure { color: var(--red); background: linear-gradient(transparent 62%, rgba(140, 21, 21, 0.17) 0); }
.kw.private { color: var(--teal); background: linear-gradient(transparent 62%, rgba(47, 111, 90, 0.19) 0); }
.hero-text > p { margin: 0 0 0.9rem; max-width: 40rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.btn {
  font: inherit; font-size: 0.96rem; font-weight: 700; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; padding: 0.68rem 1.2rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow); }
.btn.primary { border: 0; background: var(--grad); color: #fff; box-shadow: 0 14px 28px -14px rgba(140, 21, 21, 0.6); }
.btn.primary:hover { color: #fff; box-shadow: 0 18px 32px -14px rgba(140, 21, 21, 0.75); }
.btn.revealed { font-family: var(--mono); font-weight: 600; font-size: 0.9rem; user-select: all; }
.note { color: var(--muted); font-size: 0.92rem; margin: 0.9rem 0 0 !important; }

.portrait { position: relative; margin: 0; justify-self: end; width: min(100%, 23rem); }
.frame { padding: 7px; border-radius: 34px; background: #fff; border: 1px solid var(--line); transform: rotate(2.2deg); box-shadow: 0 2px 4px rgba(11, 16, 38, 0.05), 0 34px 60px -32px rgba(11, 16, 38, 0.45); }
.frame img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 28px; }

/* Section headings */
.sec-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.1rem; }
.num { font-family: var(--mono); font-size: 0.78rem; font-weight: 700; color: #fff; background: var(--grad); padding: 0.22rem 0.6rem; border-radius: 999px; letter-spacing: 0.06em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 820; letter-spacing: -0.035em; line-height: 1.1; margin: 0; }
.intro { max-width: 46rem; margin: 0 0 1.2rem; font-size: 1.1rem; }

.ideas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.4rem; }
.idea { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.15rem 1.3rem 1.2rem 1.5rem; box-shadow: var(--shadow); overflow: hidden; }
.idea::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--c); }
.idea.one { --c: var(--blue); }
.idea.two { --c: var(--red); }
.idea h3 { margin: 0 0 0.3rem; font-size: 1.15rem; color: var(--c); font-style: italic; }
.idea p { margin: 0; font-size: 0.98rem; }

/* Project cards */
.projects { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.15rem; }
.card {
  grid-column: span 6; position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.25s;
  background: radial-gradient(16rem circle at var(--mx, 50%) var(--my, 0%), rgba(44, 74, 115, 0.10), transparent 62%);
}
.card:hover { transform: translateY(-4px); border-color: #cfccc4; box-shadow: 0 2px 4px rgba(11, 16, 38, 0.05), 0 30px 54px -30px rgba(11, 16, 38, 0.38); }
.card:hover::after { opacity: 1; }
.viz { padding: 1rem 1.1rem 0.75rem; background: linear-gradient(180deg, #f4f2ed 0%, #faf9f6 100%); border-bottom: 1px solid var(--line); }
.viz svg { display: block; width: 100%; height: auto; overflow: visible; }
.viz text { font-family: var(--mono); }
.card-body { padding: 1.15rem 1.35rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.16rem; line-height: 1.28; margin: 0.55rem 0 0; font-weight: 780; }
.card-body p { margin: 0.5rem 0 0; font-size: 0.96rem; }
.meta { font-size: 0.86rem !important; color: var(--muted); margin-top: 0.3rem !important; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 !important; }
.tag { font-size: 0.68rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.2rem 0.58rem; border-radius: 999px; }
.t-sys { color: #1e40af; background: #e4ecff; }
.t-sec { color: #9f1239; background: #fde8ec; }
.t-priv { color: #0f766e; background: #dff5f2; }
.t-net { color: #b45309; background: #fff0dc; }
.links { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: auto !important; padding-top: 0.9rem; }
.links a { font-size: 0.8rem; font-weight: 700; text-decoration: none; color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px; padding: 0.22rem 0.8rem; transition: border-color 0.15s, color 0.15s, background-color 0.15s; }
.links a::after { content: " \2197"; color: var(--muted); }
.links a:hover { border-color: var(--blue); color: var(--blue); background: #f2f0ea; }

@media (min-width: 900px) {
  .card.c3 { grid-column: span 3; }
  .card.c2 { grid-column: span 2; }
  .card.feature { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: stretch; }
  .card.feature .viz { border-bottom: 0; border-right: 1px solid var(--line); display: flex; align-items: center; padding: 1.4rem 1.5rem; }
  .card.feature .viz svg { width: 100%; flex: 1; }
  .card.feature .card-body { padding: 1.6rem 1.7rem; justify-content: center; }
  .card.feature h3 { font-size: 1.45rem; }
}

/* Path: four cards, each with its mark */
.path { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.pth { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.35rem 1.35rem; box-shadow: var(--shadow); transition: transform 0.22s ease, box-shadow 0.22s ease; }
.pth:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(11, 16, 38, 0.05), 0 30px 54px -30px rgba(11, 16, 38, 0.38); }
.pth:not(:last-child)::after { content: "\2192"; position: absolute; right: -1.15rem; top: 2.1rem; width: 0.9rem; text-align: center; color: #a39f96; font-size: 1.05rem; line-height: 1; }
.pth-logo { display: block; height: 3rem; width: auto; max-width: 6rem; margin-bottom: 1rem; object-fit: contain; object-position: left center; }
.when { font-family: var(--mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--red); }
.pth h3 { font-size: 1.12rem; margin: 0.2rem 0 0.15rem; font-weight: 780; }
.pth .role { font-weight: 650; color: var(--ink); font-size: 0.94rem; margin: 0 0 0.45rem; }
.pth p { margin: 0; font-size: 0.93rem; line-height: 1.5; }

.panel-foot { color: var(--muted); font-size: 0.9rem; margin: 1rem 0 0; }

/* Publications */
.pubs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.pubs li { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1.1rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.25rem; box-shadow: var(--shadow); transition: transform 0.2s, border-color 0.2s; }
.pubs li:hover { transform: translateX(4px); border-color: #cfccc4; }
.venue { font-family: var(--mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.03em; text-align: center; color: #fff; padding: 0.32rem 0.5rem; border-radius: 10px; margin-top: 0.15rem; }
.v1 { background: var(--blue); }
.v2 { background: var(--orange); }
.v3 { background: var(--teal); }
.v4 { background: var(--red); }
.pubs p { margin: 0; }
.title { font-size: 1.06rem; line-height: 1.35; font-weight: 750; color: var(--ink); }
.title a { color: inherit; text-decoration: none; }
.title a:hover { color: var(--blue); text-decoration: underline; }
.authors { font-size: 0.94rem; margin-top: 0.25rem !important; }
.authors strong { color: var(--ink); }
.where { font-size: 0.88rem; color: var(--muted); }
.pubs .links { padding-top: 0.6rem; }

/* Patent cards: a figure on top, like the research cards */
.patents { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.patent {
  --c: var(--blue); position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.patent::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.25s; background: radial-gradient(14rem circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 13%, transparent), transparent 64%); }
.patent:hover { color: var(--ink); transform: translateY(-5px); border-color: color-mix(in srgb, var(--c) 45%, var(--line)); box-shadow: 0 2px 4px rgba(11, 16, 38, 0.05), 0 28px 48px -30px var(--c); }
.patent:hover::after { opacity: 1; }
.pviz { padding: 1.1rem 1.1rem 0.7rem; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #f4f2ed 0%, #faf9f6 100%); }
.pviz svg { display: block; width: 100%; height: auto; overflow: visible; }
.p-body { display: flex; flex-direction: column; gap: 0.4rem; flex: 1; padding: 1rem 1.2rem 1.05rem; }
.p-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.p-tag { font-family: var(--mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--c); }
.p-first { font-family: var(--mono); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--red); border: 1.3px solid currentColor; padding: 0.08rem 0.48rem; border-radius: 999px; }
.p-title { font-size: 1.05rem; line-height: 1.3; font-weight: 780; letter-spacing: -0.01em; }
.p-note { font-size: 0.92rem; line-height: 1.5; color: var(--body); }
.p-foot { margin-top: auto; padding-top: 0.8rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.4rem; }
.p-num { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.p-go { font-size: 0.84rem; font-weight: 750; color: var(--c); }
.p-go::after { content: " \2197"; display: inline-block; transition: transform 0.2s; }
.patent:hover .p-go::after { transform: translate(3px, -3px); }

/* Patent figures: static look */
.pv text { font-family: var(--mono); font-size: 10px; font-weight: 700; fill: var(--muted); text-anchor: middle; }
.pv .ph-b { fill: #fff; stroke: var(--ink); stroke-width: 1.8; }
.pv .ph-s { fill: #eeece6; }
.pv .ph-n { fill: var(--ink); opacity: 0.5; }
.pv .sv { fill: #fff; stroke: var(--ink); stroke-width: 1.6; }
.pv .sd { fill: var(--teal); }
.pv .mt { fill: var(--ink); }
.pv .ln { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pv .fw { fill: #fff; }
.pv .ac { fill: var(--c); }
.pv .pin { stroke: #fff; stroke-width: 1.6; stroke-linecap: round; fill: none; }
.pv .slot { fill: none; stroke: #bdb9b0; stroke-width: 1.5; stroke-dasharray: 3 4; }
.pv .arc { fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; }
.pv .on { fill: #fff; font-size: 9px; }
.pv .sm { font-size: 8.5px; }
.pv .w { fill: #fff; }
.pv .req, .pv .lnk { opacity: 0; }

.pv-bind .bb { fill: #fff; stroke: var(--ink); stroke-width: 1.4; }
.pv-bind .tie { stroke-width: 2.2; stroke-linecap: round; fill: none; }
.pv-bind .ta { stroke: var(--teal); }
.pv-bind .tb { stroke: var(--red); stroke-dasharray: 3 4; opacity: 0.35; }
.pv-bind .ok circle { fill: var(--teal); }
.pv-bind .no circle { fill: var(--red); }
.pv-bind .ok path, .pv-bind .no path { stroke: #fff; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pv-bind .no { opacity: 0.35; }

.pv-call .voice { fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 5 6; }
.pv-call .vt { fill: var(--teal); }
.pv-call .vt2 { fill: var(--c); }
.pv-call .au rect { fill: var(--teal); }

.pv-lim .bars rect { fill: var(--soft); }
.pv-lim .ebox { fill: var(--c); stroke: var(--c); stroke-width: 1.6; }
.pv-lim .trig { opacity: 0; }
.pv-lim .trig circle { fill: var(--orange); }
.pv-lim .trig path { stroke: #fff; stroke-width: 2.2; stroke-linecap: round; fill: none; }
.pv-lim .svc { stroke: var(--c); stroke-width: 2; stroke-dasharray: 4 5; fill: none; }
.pv-lim .st { fill: var(--c); }
.pv-lim .dot { opacity: 0; }
.pv-lim .rcv rect { fill: var(--c); }
.pv-lim .rcv path { stroke: #fff; stroke-width: 2; stroke-linecap: round; fill: none; }

.pv-tok .keyi circle { fill: none; stroke: var(--teal); stroke-width: 2.3; }
.pv-tok .keyi path { stroke: var(--teal); stroke-width: 2.3; stroke-linecap: round; fill: none; }
.pv-tok .tok { opacity: 0; }
.pv-tok .tok rect { fill: var(--c); }
.pv-tok .oldsim { opacity: 0.28; }

.pv-dual .tl { fill: var(--ink); font-size: 10.5px; }
.pv-dual .half { fill: #fff; fill: color-mix(in srgb, var(--c) 20%, #fff); stroke: var(--c); stroke-width: 1.6; stroke-dasharray: 3 3; }
.pv-dual .pin2 { stroke: var(--c); stroke-width: 1.6; stroke-linecap: round; fill: none; }
.pv-dual .link { stroke: var(--c); stroke-width: 2.4; fill: none; stroke-linecap: round; }
.pv-dual .via { stroke: var(--orange); stroke-width: 2; stroke-dasharray: 4 5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pv-dual .p { fill: var(--c); }
.pv-dual .b1 { fill: var(--orange); }

.pv-quad .q rect { fill: #fff; stroke: var(--ink); stroke-width: 1.8; }
.pv-quad .q text { fill: var(--ink); font-size: 11px; }
.pv-quad .q1 rect, .pv-quad .q2 rect { fill: var(--c); stroke: var(--c); }
.pv-quad .q1 text, .pv-quad .q2 text { fill: #fff; }
.pv-quad .in { fill: none; stroke: #bdb9b0; stroke-width: 1.6; stroke-dasharray: 3 4; stroke-linejoin: round; stroke-linecap: round; }
.pv-quad .i1, .pv-quad .i2 { stroke: var(--c); stroke-width: 2.2; stroke-dasharray: none; }
.pv-quad .bus { stroke: var(--c); stroke-width: 2.2; fill: none; stroke-linecap: round; }
.pv-quad .p { fill: var(--c); }
.pv-quad .mux { fill: #fff; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; }

/* Teaching and service */
.pair { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2.4rem; align-items: start; }
.quad { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
.q { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem 1.3rem 1.25rem; box-shadow: var(--shadow); overflow: hidden; }
.q::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--c); }
.q.one { --c: var(--blue); } .q.two { --c: var(--red); } .q.three { --c: var(--orange); } .q.four { --c: var(--teal); }
.q h4 { margin: 0; font-size: 1.08rem; font-weight: 780; }
.q-where { margin: 0.15rem 0 0.5rem !important; font-family: var(--mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c); }
.q p { margin: 0; font-size: 0.95rem; }

/* Contact banner */
.cta { position: relative; overflow: hidden; border-radius: 30px; padding: clamp(1.8rem, 5vw, 3.2rem); color: #fff; background: linear-gradient(135deg, #17181c 0%, #17181c 100%); box-shadow: 0 34px 60px -36px rgba(11, 16, 38, 0.8); }
.cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1.3px); background-size: 20px 20px; -webkit-mask-image: linear-gradient(110deg, transparent 35%, #000); mask-image: linear-gradient(110deg, transparent 35%, #000); }
.cta > * { position: relative; }
.cta h2 { color: #fff; }
.cta p { max-width: 38rem; margin: 0.7rem 0 0; font-size: 1.08rem; color: rgba(255, 255, 255, 0.94); }
.btn.light { border: 0; background: #fff; color: var(--ink); }
.btn.light:hover { color: var(--red); }
.btn.ghost { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.24); border-color: #fff; color: #fff; }

footer { width: min(var(--wide), calc(100% - 2.4rem)); margin: 0 auto; padding: 1.4rem 0 2.6rem; color: var(--muted); font-size: 0.86rem; }
footer p { margin: 0; }

/* Reveal on scroll. The class is added by the script, so the page is complete without it. */
.rv { opacity: 0; transform: translateY(18px); }
.rv.in { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }

/* ---------- Project figures: static look ---------- */
.ca { --c: #2c4a73; } .cb { --c: #8c1515; } .cc { --c: #2f6f5a; }

.a-seq .lanes line { stroke: #cfccc4; stroke-width: 1.5; stroke-dasharray: 3 6; }
.a-seq .lbl text { font-size: 12px; font-weight: 700; fill: var(--c); }
.a-seq .ev circle { fill: #fff; fill: color-mix(in srgb, var(--c) 13%, #fff); stroke: var(--c); stroke-width: 2; }
.a-seq .ev text, .a-seq .o text { font-size: 13px; font-weight: 700; text-anchor: middle; }
.a-seq .ev text { fill: var(--c); }
.a-seq .box rect { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.a-seq .box text { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; fill: var(--muted); text-anchor: middle; transform-box: fill-box; transform-origin: center; transform: rotate(-90deg); }
.a-seq .out line { stroke: #cfccc4; stroke-width: 2; }
.a-seq .o circle { fill: var(--c); }
.a-seq .o text { fill: #fff; }
.a-seq .cap text { font-size: 11px; fill: var(--muted); text-anchor: middle; }

.a-census .hd { font-size: 19px; font-weight: 800; fill: var(--ink); }
.a-census .hs { font-size: 10.5px; font-weight: 700; fill: var(--muted); }
.a-census .lb { font-size: 10.5px; font-weight: 700; fill: var(--ink); }
.a-census .vl { font-size: 10.5px; font-weight: 700; fill: var(--red); text-anchor: end; }
.a-census .tr { fill: #e3e0d9; }
.a-census .fl { fill: var(--red); }
.a-census .sweep { fill: var(--blue); opacity: 0; }

.a-stripe .paths line { stroke: #cfccc4; stroke-width: 1.5; stroke-dasharray: 3 6; }
.a-stripe .ends rect { fill: #fff; stroke: var(--ink); stroke-width: 1.8; }
.a-stripe .ends text { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; fill: var(--muted); text-anchor: middle; transform-box: fill-box; transform-origin: center; transform: rotate(-90deg); }
.a-stripe .cut path { stroke: var(--red); stroke-width: 2.8; stroke-linecap: round; fill: none; }
.a-stripe .pk { fill: var(--blue); }
.a-stripe .pk.par { fill: var(--orange); }
.a-stripe .done circle { fill: var(--teal); }
.a-stripe .done path { stroke: #fff; stroke-width: 2.3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.a-stripe .cap { font-size: 10.5px; fill: var(--muted); text-anchor: middle; }

.a-log .key circle:first-child { fill: #fff; stroke: var(--ink); stroke-width: 1.8; }
.a-log .key circle:nth-child(2) { fill: var(--ink); }
.a-log .key path { stroke: var(--ink); stroke-width: 2.2; fill: none; stroke-linecap: round; }
.a-log .pulse { fill: var(--teal); opacity: 0; }
.a-log .sheet rect { fill: #fff; stroke: var(--soft); stroke-width: 1.5; }
.a-log .sheet text { font-size: 10px; font-weight: 700; letter-spacing: 0.05em; fill: var(--muted); }
.a-log .sheet line { stroke: var(--line); stroke-width: 1.5; }
.a-log .row circle { fill: var(--teal); }
.a-log .row path { stroke: #fff; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.a-log .tm { fill: var(--soft); }
.a-log .mask { fill: #17181c; }
.a-log .heads text { font-size: 9.5px; fill: var(--muted); text-anchor: middle; }

.a-radio .towers path { stroke: var(--ink); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.a-radio .towers .arc { stroke: var(--orange); }
.a-radio .hole { fill: #eceae4; stroke: #c9c5bc; stroke-width: 1.5; stroke-dasharray: 4 4; }
.a-radio .hole-t { font-size: 10px; font-weight: 700; fill: var(--muted); text-anchor: middle; }
.a-radio .ground { stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.a-radio .warn line { stroke: var(--red); stroke-width: 1.5; stroke-dasharray: 3 4; }
.a-radio .warn text { font-size: 9.5px; font-weight: 700; fill: var(--red); }
.a-radio .paused rect { fill: var(--teal); }
.a-radio .paused text { font-size: 9.5px; font-weight: 700; fill: #fff; text-anchor: middle; }
.a-radio .phone > rect { fill: var(--ink); }
.a-radio .rings circle { fill: none; stroke: var(--orange); stroke-width: 1.7; }

.a-gpc .edges line { stroke: #cfccc4; stroke-width: 1.6; stroke-dasharray: 3 5; }
.a-gpc text { font-size: 10px; font-weight: 700; fill: var(--muted); text-anchor: middle; }
.a-gpc .user circle:first-child { fill: #fff; stroke: var(--ink); stroke-width: 1.8; }
.a-gpc .user circle:nth-child(2), .a-gpc .user path { fill: var(--ink); }
.a-gpc .agent rect { fill: var(--ink); }
.a-gpc .agent circle { fill: #fff; }
.a-gpc .agent path { stroke: #fff; stroke-width: 2; stroke-linecap: round; fill: none; }
.a-gpc .tool rect { fill: #e4efe9; stroke: var(--teal); stroke-width: 1.8; }
.a-gpc .tool text { fill: var(--ink); }
.a-gpc .sig rect { fill: var(--teal); }
.a-gpc .sig text { font-size: 8.5px; fill: #fff; }
.a-gpc .s1, .a-gpc .s2, .a-gpc .s3 { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pth::after { display: none; }
  .patents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; padding: 2.6rem 0 1.4rem; }
  .portrait { order: -1; justify-self: start; width: 13.5rem; margin-left: 0.4rem; }
      .ideas { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; gap: 0; }
  .pair > div + div { margin-top: 4rem; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  main, footer { width: calc(100% - 1.8rem); }
  section { padding: 2rem 0; }
  .nav { padding: 0.35rem 0.4rem; }
  .nav-links a { padding: 0.4rem 0.62rem; font-size: 0.85rem; }
  .portrait { width: 11.5rem; }
        .pubs li { grid-template-columns: 1fr; gap: 0.6rem; }
  .venue { width: fit-content; }
  .patents, .path { grid-template-columns: 1fr; }
  .cta { border-radius: 24px; }
}
@media print {
  .nav, .progress, .aurora, .actions { display: none !important; }
  body { background: #fff; }
}

/* ---------- Motion. Everything below runs only when the visitor has not asked for reduced motion. ---------- */
@media (prefers-reduced-motion: no-preference) {
  .dot { animation: dot-pulse 2.2s ease-out infinite; }
  @keyframes dot-pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 111, 90, 0.55); } 100% { box-shadow: 0 0 0 0.6rem rgba(47, 111, 90, 0); } }
  .frame { animation: float-y 7s ease-in-out infinite; }
  @keyframes float-y { 0%, 100% { transform: rotate(2.2deg) translateY(0); } 50% { transform: rotate(1.2deg) translateY(-8px); } }

  /* Fair ordering: arrivals are out of order, releases are in creation order. One loop is 9 seconds. */
  .a-seq .e1 { animation: seq-e1 9s linear infinite; }
  @keyframes seq-e1 { 0%, 4% { transform: translateX(0); opacity: 1; } 35.28% { transform: translateX(252px); opacity: 1; } 35.78%, 94% { transform: translateX(252px); opacity: 0; } 94.01% { transform: translateX(0); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } }
  .a-seq .e4 { animation: seq-e4 9s linear infinite; }
  @keyframes seq-e4 { 0%, 4% { transform: translateX(0); opacity: 1; } 21.63% { transform: translateX(142px); opacity: 1; } 22.13%, 94% { transform: translateX(142px); opacity: 0; } 94.01% { transform: translateX(0); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } }
  .a-seq .e2 { animation: seq-e2 9s linear infinite; }
  @keyframes seq-e2 { 0%, 4% { transform: translateX(0); opacity: 1; } 40.0% { transform: translateX(290px); opacity: 1; } 40.5%, 94% { transform: translateX(290px); opacity: 0; } 94.01% { transform: translateX(0); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } }
  .a-seq .e5 { animation: seq-e5 9s linear infinite; }
  @keyframes seq-e5 { 0%, 4% { transform: translateX(0); opacity: 1; } 13.68% { transform: translateX(78px); opacity: 1; } 14.18%, 94% { transform: translateX(78px); opacity: 0; } 94.01% { transform: translateX(0); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } }
  .a-seq .e3 { animation: seq-e3 9s linear infinite; }
  @keyframes seq-e3 { 0%, 4% { transform: translateX(0); opacity: 1; } 27.59% { transform: translateX(190px); opacity: 1; } 28.09%, 94% { transform: translateX(190px); opacity: 0; } 94.01% { transform: translateX(0); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } }
  .a-seq .e6 { animation: seq-e6 9s linear infinite; }
  @keyframes seq-e6 { 0%, 4% { transform: translateX(0); opacity: 1; } 17.66% { transform: translateX(110px); opacity: 1; } 18.16%, 94% { transform: translateX(110px); opacity: 0; } 94.01% { transform: translateX(0); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } }
  .a-seq .o1 { animation: seq-o1 9s ease-out infinite; }
  @keyframes seq-o1 { 0%, 46% { opacity: 0; transform: translateX(-14px); } 47% { opacity: 1; } 51%, 92% { opacity: 1; transform: translateX(0); } 96%, 100% { opacity: 0; transform: translateX(0); } }
  .a-seq .o2 { animation: seq-o2 9s ease-out infinite; }
  @keyframes seq-o2 { 0%, 52% { opacity: 0; transform: translateX(-48px); } 53% { opacity: 1; } 57%, 92% { opacity: 1; transform: translateX(0); } 96%, 100% { opacity: 0; transform: translateX(0); } }
  .a-seq .o3 { animation: seq-o3 9s ease-out infinite; }
  @keyframes seq-o3 { 0%, 58% { opacity: 0; transform: translateX(-82px); } 59% { opacity: 1; } 63%, 92% { opacity: 1; transform: translateX(0); } 96%, 100% { opacity: 0; transform: translateX(0); } }
  .a-seq .o4 { animation: seq-o4 9s ease-out infinite; }
  @keyframes seq-o4 { 0%, 64% { opacity: 0; transform: translateX(-116px); } 65% { opacity: 1; } 69%, 92% { opacity: 1; transform: translateX(0); } 96%, 100% { opacity: 0; transform: translateX(0); } }
  .a-seq .o5 { animation: seq-o5 9s ease-out infinite; }
  @keyframes seq-o5 { 0%, 70% { opacity: 0; transform: translateX(-150px); } 71% { opacity: 1; } 75%, 92% { opacity: 1; transform: translateX(0); } 96%, 100% { opacity: 0; transform: translateX(0); } }
  .a-seq .o6 { animation: seq-o6 9s ease-out infinite; }
  @keyframes seq-o6 { 0%, 76% { opacity: 0; transform: translateX(-184px); } 77% { opacity: 1; } 81%, 92% { opacity: 1; transform: translateX(0); } 96%, 100% { opacity: 0; transform: translateX(0); } }
  .a-seq .box rect { animation: seq-box 9s ease-in-out infinite; }
  @keyframes seq-box { 0%, 42%, 84%, 100% { stroke-width: 2.5; } 46%, 80% { stroke-width: 4; } }

  /* Census: the scan passes, then each finding fills in. */
  .a-census .sweep { animation: cen-sweep 7s ease-in-out infinite; }
  @keyframes cen-sweep { 0%, 3% { opacity: 0; transform: translateX(0); } 6% { opacity: 0.6; } 50% { opacity: 0.6; transform: translateX(298px); } 54%, 100% { opacity: 0; transform: translateX(298px); } }
  .a-census .fl { transform-box: fill-box; transform-origin: left center; }
  .a-census .r1 .fl { animation: cen-f1 7s ease-out infinite; }
  .a-census .r2 .fl { animation: cen-f2 7s ease-out infinite; }
  .a-census .r3 .fl { animation: cen-f3 7s ease-out infinite; }
  @keyframes cen-f1 { 0%, 8% { transform: scaleX(0); } 26%, 93% { transform: scaleX(1); } 98%, 100% { transform: scaleX(0); } }
  @keyframes cen-f2 { 0%, 22% { transform: scaleX(0); } 40%, 93% { transform: scaleX(1); } 98%, 100% { transform: scaleX(0); } }
  @keyframes cen-f3 { 0%, 36% { transform: scaleX(0); } 54%, 93% { transform: scaleX(1); } 98%, 100% { transform: scaleX(0); } }
  .a-census .r1 .vl { animation: cen-v1 7s linear infinite; }
  .a-census .r2 .vl { animation: cen-v2 7s linear infinite; }
  .a-census .r3 .vl { animation: cen-v3 7s linear infinite; }
  @keyframes cen-v1 { 0%, 22% { opacity: 0; } 27%, 94% { opacity: 1; } 98%, 100% { opacity: 0; } }
  @keyframes cen-v2 { 0%, 36% { opacity: 0; } 41%, 94% { opacity: 1; } 98%, 100% { opacity: 0; } }
  @keyframes cen-v3 { 0%, 50% { opacity: 0; } 55%, 94% { opacity: 1; } 98%, 100% { opacity: 0; } }

  /* Striped Tunnels: five shares leave, two paths fail, three arrive, the block is rebuilt. */
  .a-stripe .pk { animation: st-ok 3.6s linear infinite; }
  .a-stripe .pk.lost { animation-name: st-lost; }
  .a-stripe .pk.lost2 { animation-name: st-lost2; }
  .a-stripe .p1 { animation-delay: 0s; }
  .a-stripe .p2 { animation-delay: 0.12s; }
  .a-stripe .p3 { animation-delay: 0.28s; }
  .a-stripe .p4 { animation-delay: 0.06s; }
  .a-stripe .p5 { animation-delay: 0.2s; }
  @keyframes st-ok { 0% { transform: translateX(0); opacity: 0; } 6% { opacity: 1; } 58% { transform: translateX(198px); opacity: 1; } 64%, 100% { transform: translateX(198px); opacity: 0; } }
  @keyframes st-lost { 0% { transform: translateX(0); opacity: 0; } 6% { opacity: 1; } 27% { transform: translateX(80px); opacity: 1; } 33%, 100% { transform: translateX(88px); opacity: 0; } }
  @keyframes st-lost2 { 0% { transform: translateX(0); opacity: 0; } 6% { opacity: 1; } 37% { transform: translateX(118px); opacity: 1; } 43%, 100% { transform: translateX(126px); opacity: 0; } }
  .a-stripe .done { transform-box: fill-box; transform-origin: center; animation: st-done 3.6s ease-out infinite; }
  @keyframes st-done { 0%, 64% { opacity: 0; transform: scale(0.4); } 72% { opacity: 1; transform: scale(1.18); } 78%, 94% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
  .a-stripe .cut path { animation: st-cut 3.6s ease-in-out infinite; }
  @keyframes st-cut { 0%, 20%, 60%, 100% { opacity: 0.55; } 34%, 44% { opacity: 1; } }

  /* Authentication log: each login adds a verified row, with the user and site masked. */
  .a-log .r1 { animation: log-r1 6.4s ease-out infinite; }
  @keyframes log-r1 { 0%, 8% { opacity: 0; transform: translateY(-7px); } 13%, 92% { opacity: 1; transform: translateY(0); } 97%, 100% { opacity: 0; transform: translateY(0); } }
  .a-log .r2 { animation: log-r2 6.4s ease-out infinite; }
  @keyframes log-r2 { 0%, 28% { opacity: 0; transform: translateY(-7px); } 33%, 92% { opacity: 1; transform: translateY(0); } 97%, 100% { opacity: 0; transform: translateY(0); } }
  .a-log .r3 { animation: log-r3 6.4s ease-out infinite; }
  @keyframes log-r3 { 0%, 48% { opacity: 0; transform: translateY(-7px); } 53%, 92% { opacity: 1; transform: translateY(0); } 97%, 100% { opacity: 0; transform: translateY(0); } }
  .a-log .r4 { animation: log-r4 6.4s ease-out infinite; }
  @keyframes log-r4 { 0%, 68% { opacity: 0; transform: translateY(-7px); } 73%, 92% { opacity: 1; transform: translateY(0); } 97%, 100% { opacity: 0; transform: translateY(0); } }
  .a-log .pulse { animation: log-pulse 6.4s linear infinite; }
  @keyframes log-pulse { 0% { opacity: 0; transform: translateX(0); } 3% { opacity: 0; transform: translateX(0); } 4% { opacity: 1; transform: translateX(0); } 8% { opacity: 1; transform: translateX(26px); } 9% { opacity: 0; transform: translateX(26px); } 23% { opacity: 0; transform: translateX(0); } 24% { opacity: 1; transform: translateX(0); } 28% { opacity: 1; transform: translateX(26px); } 29% { opacity: 0; transform: translateX(26px); } 43% { opacity: 0; transform: translateX(0); } 44% { opacity: 1; transform: translateX(0); } 48% { opacity: 1; transform: translateX(26px); } 49% { opacity: 0; transform: translateX(26px); } 63% { opacity: 0; transform: translateX(0); } 64% { opacity: 1; transform: translateX(0); } 68% { opacity: 1; transform: translateX(26px); } 69% { opacity: 0; transform: translateX(26px); } 100% { opacity: 0; transform: translateX(0); } }
  .a-log .key { transform-box: fill-box; transform-origin: center; animation: log-key 1.6s ease-in-out infinite; }
  @keyframes log-key { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }

  /* Predictive radio control: the phone stops scanning just before the tunnel and resumes after it. */
  .a-radio .phone { animation: rad-ride 8s linear infinite; }
  @keyframes rad-ride { from { transform: translateX(0); } to { transform: translateX(216px); } }
  .a-radio .rings { animation: rad-rings 8s linear infinite; }
  @keyframes rad-rings { 0%, 22% { opacity: 1; } 24%, 73% { opacity: 0; } 75%, 100% { opacity: 1; } }
  .a-radio .rings circle { transform-box: fill-box; transform-origin: center; animation: rad-ring 1.3s ease-out infinite; }
  .a-radio .rings .r2 { animation-delay: 0.65s; }
  @keyframes rad-ring { 0% { transform: scale(0.5); opacity: 0.95; } 100% { transform: scale(2.5); opacity: 0; } }
  .a-radio .warn { animation: rad-warn 8s linear infinite; }
  @keyframes rad-warn { 0%, 9% { opacity: 0; } 13%, 25% { opacity: 1; } 29%, 100% { opacity: 0; } }
  .a-radio .paused { animation: rad-paused 8s linear infinite; }
  @keyframes rad-paused { 0%, 23% { opacity: 0; } 26%, 71% { opacity: 1; } 74%, 100% { opacity: 0; } }
  .a-radio .towers .arc { animation: rad-arc 2s ease-in-out infinite; }
  @keyframes rad-arc { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

  /* Agentic privacy: one opt-out signal travels from the user to the agent, then to everything it calls. */
  .a-gpc .s0 { animation: gpc-s0 6s ease-in-out infinite; }
  @keyframes gpc-s0 { 0% { opacity: 0; transform: translate(0, 0); } 4% { opacity: 1; } 26% { opacity: 1; transform: translate(72px, 0); } 30%, 100% { opacity: 0; transform: translate(72px, 0); } }
  .a-gpc .s1 { animation: gpc-s1 6s ease-in-out infinite; }
  @keyframes gpc-s1 { 0%, 32% { opacity: 0; transform: translate(0, 0); } 36% { opacity: 1; } 60% { opacity: 1; transform: translate(107px, -47px); } 64%, 100% { opacity: 0; transform: translate(107px, -47px); } }
  .a-gpc .s2 { animation: gpc-s2 6s ease-in-out infinite; }
  @keyframes gpc-s2 { 0%, 32% { opacity: 0; transform: translate(0, 0); } 36% { opacity: 1; } 60% { opacity: 1; transform: translate(107px, 0px); } 64%, 100% { opacity: 0; transform: translate(107px, 0px); } }
  .a-gpc .s3 { animation: gpc-s3 6s ease-in-out infinite; }
  @keyframes gpc-s3 { 0%, 32% { opacity: 0; transform: translate(0, 0); } 36% { opacity: 1; } 60% { opacity: 1; transform: translate(107px, 47px); } 64%, 100% { opacity: 0; transform: translate(107px, 47px); } }
  .a-gpc .tool rect { animation: gpc-tool 6s ease-in-out infinite; }
  @keyframes gpc-tool { 0%, 60% { fill: #fff; stroke: #c9c5bc; } 66%, 94% { fill: #e4efe9; stroke: #2f6f5a; } 100% { fill: #fff; stroke: #c9c5bc; } }
  .a-gpc .agent rect { animation: gpc-agent 6s ease-in-out infinite; }
  @keyframes gpc-agent { 0%, 24%, 40%, 100% { fill: #17181c; } 28%, 36% { fill: #2f6f5a; } }

  /* Patent figures */
  .pv-bind .chip { animation: pb-chip 8s ease-in-out infinite; }
  @keyframes pb-chip { 0%, 28% { transform: translateX(0); } 40%, 70% { transform: translateX(170px); } 82%, 100% { transform: translateX(0); } }
  .pv-bind .ok, .pv-bind .ta { animation: pb-ok 8s linear infinite; }
  @keyframes pb-ok { 0%, 26% { opacity: 1; } 30%, 84% { opacity: 0; } 88%, 100% { opacity: 1; } }
  .pv-bind .no, .pv-bind .tb { animation: pb-no 8s linear infinite; }
  @keyframes pb-no { 0%, 42% { opacity: 0; } 46%, 68% { opacity: 1; } 72%, 100% { opacity: 0; } }
  .pv-call .voice { animation: pc-dash 1.2s linear infinite; }
  .pv-call .au rect { transform-box: fill-box; transform-origin: center bottom; animation: pc-bar 0.9s ease-in-out infinite; }
  .pv-call .au rect:nth-child(2) { animation-delay: -0.3s; }
  .pv-call .au rect:nth-child(3) { animation-delay: -0.6s; }
  @keyframes pc-bar { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }
  @keyframes pc-dash { to { stroke-dashoffset: -22; } }
  .pv-call .req { animation: pc-req 8s ease-in-out infinite; }
  @keyframes pc-req { 0%, 5% { opacity: 0; transform: translate(0, 0); } 7% { opacity: 1; } 20% { opacity: 1; transform: translate(64px, -20px); } 23%, 100% { opacity: 0; transform: translate(64px, -20px); } }
  .pv-call .lnk { animation: pc-lnk 8s ease-in-out infinite; }
  @keyframes pc-lnk { 0%, 24% { opacity: 0; transform: translate(0, 0); } 27% { opacity: 1; transform: translate(0, 0); } 40%, 45% { opacity: 1; transform: translate(-109px, 24px); } 60% { opacity: 1; transform: translate(109px, 24px); } 64%, 100% { opacity: 0; transform: translate(109px, 24px); } }
  .pv-call .vid { transform-box: fill-box; transform-origin: center; animation: pc-vid 8s ease-out infinite; }
  @keyframes pc-vid { 0%, 62% { opacity: 0; transform: scale(0.7); } 68%, 93% { opacity: 1; transform: scale(1); } 98%, 100% { opacity: 0; transform: scale(1); } }
  .pv-call .vt2 { animation: pc-vt2 8s linear infinite; }
  @keyframes pc-vt2 { 0%, 62% { opacity: 0; } 68%, 93% { opacity: 1; } 98%, 100% { opacity: 0; } }
  .pv-lim .trig { transform-box: fill-box; transform-origin: center; animation: pl-trig 8s ease-out infinite; }
  @keyframes pl-trig { 0%, 3% { opacity: 0; transform: scale(0.5); } 8%, 28% { opacity: 1; transform: scale(1); } 33%, 100% { opacity: 0; transform: scale(1); } }
  .pv-lim .ebox { animation: pl-ebox 8s linear infinite; }
  @keyframes pl-ebox { 0%, 14% { fill: #fff; } 18%, 95% { fill: var(--c); } 100% { fill: #fff; } }
  .pv-lim .esim .pin { animation: pl-pin 8s linear infinite; }
  @keyframes pl-pin { 0%, 14% { stroke: var(--c); } 18%, 95% { stroke: #fff; } 100% { stroke: var(--c); } }
  .pv-lim .req { animation: pl-req 8s ease-in-out infinite; }
  @keyframes pl-req { 0%, 21% { opacity: 0; transform: translate(0, 0); } 23% { opacity: 1; } 34% { opacity: 1; transform: translate(58px, -26px); } 37%, 100% { opacity: 0; transform: translate(58px, -26px); } }
  .pv-lim .lnk { animation: pl-lnk 8s ease-in-out infinite; }
  @keyframes pl-lnk { 0%, 36% { opacity: 0; transform: translate(0, 0); } 39% { opacity: 1; transform: translate(0, 0); } 52% { opacity: 1; transform: translate(-56px, 16px); } 56%, 100% { opacity: 0; transform: translate(-56px, 16px); } }
  .pv-lim .svc, .pv-lim .st { animation: pl-svc 8s linear infinite; }
  .pv-lim .rcv rect { animation: pl-rcv 8s linear infinite; }
  @keyframes pl-rcv { 0%, 72% { fill: #d0cdc5; } 77%, 94% { fill: var(--c); } 100% { fill: #d0cdc5; } }
  @keyframes pl-svc { 0%, 54% { opacity: 0; } 60%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
  .pv-lim .d1 { animation: pl-d1 8s linear infinite; }
  .pv-lim .d2 { animation: pl-d2 8s linear infinite; }
  @keyframes pl-d1 { 0%, 58% { opacity: 0; transform: translateX(0); } 60% { opacity: 1; } 74% { opacity: 1; transform: translateX(148px); } 76%, 100% { opacity: 0; transform: translateX(148px); } }
  @keyframes pl-d2 { 0%, 74% { opacity: 0; transform: translateX(0); } 76% { opacity: 1; } 90% { opacity: 1; transform: translateX(148px); } 92%, 100% { opacity: 0; transform: translateX(148px); } }
  .pv-tok .keyi { animation: pt-key 9s ease-in-out infinite; }
  @keyframes pt-key { 0%, 6% { opacity: 1; transform: translate(0, 0); } 20%, 44% { opacity: 1; transform: translate(6px, 68px); } 48%, 92% { opacity: 0; transform: translate(6px, 68px); } 93% { opacity: 0; transform: translate(0, 0); } 100% { opacity: 1; transform: translate(0, 0); } }
  .pv-tok .tok { animation: pt-tok 9s ease-in-out infinite; }
  @keyframes pt-tok { 0%, 22% { opacity: 0; transform: translateX(0); } 25% { opacity: 1; transform: translateX(0); } 40%, 50% { opacity: 1; transform: translateX(91px); } 64% { opacity: 1; transform: translateX(197px); } 68%, 100% { opacity: 0; transform: translateX(197px); } }
  .pv-tok .tok rect { animation: pt-lock 9s linear infinite; }
  @keyframes pt-lock { 0%, 43% { fill: var(--ink); } 47%, 100% { fill: var(--c); } }
  .pv-tok .newsim { transform-box: fill-box; transform-origin: center; animation: pt-new 9s ease-out infinite; }
  @keyframes pt-new { 0%, 70% { opacity: 0; transform: scale(0.6); } 76%, 94% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
  .pv-tok .oldsim { animation: pt-old 9s linear infinite; }
  @keyframes pt-old { 0%, 70% { opacity: 1; } 76%, 94% { opacity: 0.28; } 100% { opacity: 1; } }
  .pv-dual .a1, .pv-dual .a2 { animation: pd-a 3.2s linear infinite; }
  .pv-dual .a2 { animation-delay: -1.6s; }
  @keyframes pd-a { 0% { opacity: 0; transform: translateX(0); } 8%, 88% { opacity: 1; } 100% { opacity: 0; transform: translateX(100px); } }
  .pv-dual .b1 { animation: pd-b 4.8s linear infinite; }
  @keyframes pd-b { 0% { opacity: 0; transform: translate(0, 0); } 6% { opacity: 1; } 20% { transform: translate(28px, 0); } 52% { transform: translate(28px, -54px); } 94% { opacity: 1; } 100% { opacity: 0; transform: translate(100px, -54px); } }
  .pv-quad .q rect { animation: pq-box 6s linear infinite; }
  .pv-quad .q text { animation: pq-txt 6s linear infinite; }
  .pv-quad .in { animation: pq-in 6s linear infinite; }
  .pv-quad .q3 rect, .pv-quad .q4 rect, .pv-quad .q3 text, .pv-quad .q4 text, .pv-quad .i3, .pv-quad .i4 { animation-delay: -3s; }
  @keyframes pq-box { 0%, 45% { fill: var(--c); stroke: var(--c); } 50%, 95% { fill: #fff; stroke: var(--ink); } 100% { fill: var(--c); stroke: var(--c); } }
  @keyframes pq-txt { 0%, 45% { fill: #fff; } 50%, 95% { fill: var(--ink); } 100% { fill: #fff; } }
  @keyframes pq-in { 0%, 45% { stroke: var(--c); stroke-width: 2.2; stroke-dasharray: 0 0; } 50%, 95% { stroke: #bdb9b0; stroke-width: 1.6; stroke-dasharray: 3 4; } 100% { stroke: var(--c); stroke-width: 2.2; stroke-dasharray: 0 0; } }
  .pv-quad .p { animation: pq-p 1.5s linear infinite; }
  .pv-quad .p2 { animation-delay: -0.75s; }
  @keyframes pq-p { 0% { opacity: 0; transform: translateX(0); } 10%, 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(64px); } }
}

/* ---------- Restrained theme: one accent, flat surfaces, serif headings ---------- */
:root { --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; --radius: 14px; --shadow: 0 1px 2px rgba(23, 24, 28, 0.05); }
.aurora { display: none; }
h1, h2, .lede, .card-body h3, .p-title, .title, .pth h3, .idea h3, .q h4, .cta h2 { font-family: var(--serif); letter-spacing: -0.01em; }
h1 { font-weight: 600; letter-spacing: -0.02em; }
h2 { font-weight: 600; }
.lede { font-weight: 400; }
.card-body h3, .p-title, .title, .pth h3, .q h4 { font-weight: 600; }

.nav { top: 0; left: 0; transform: none; width: 100%; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; background: rgba(250, 249, 246, 0.94); padding: 0.55rem max(1.2rem, calc((100% - var(--wide)) / 2)); }
.logo-tile { background: var(--red); }
.nav-links a { border-radius: 6px; }
.nav-links a:hover { background: transparent; color: var(--ink); }
.nav-links a.active { background: transparent; color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.progress span { background: var(--red); }

.chip { box-shadow: none; background: transparent; padding-left: 0; border: 0; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.dot { display: none; }
.grad { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--red); font-weight: inherit; font-style: italic; }
.kw, .kw.fair, .kw.secure, .kw.private { color: inherit; background: none; font-weight: inherit; padding: 0; }
.btn { border-radius: 8px; border-color: var(--ink); }
.btn:hover { transform: none; box-shadow: none; border-color: var(--red); color: var(--red); }
.btn.primary { background: var(--red); box-shadow: none; }
.btn.primary:hover { box-shadow: none; filter: brightness(1.12); color: #fff; }
.frame { transform: none; animation: none !important; padding: 0; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 18px 40px -26px rgba(23, 24, 28, 0.45); overflow: hidden; }
.frame img { border-radius: 0; }

.sec-head { gap: 0.7rem; align-items: baseline; }
.num { background: none; color: var(--red); padding: 0; font-size: 0.85rem; }
.idea { box-shadow: none; }
.idea.one, .idea.two { --c: var(--red); }
.idea h3 { color: var(--ink); }
.idea::before { width: 3px; }

.card, .pth, .patent, .pubs li, .q, .idea { box-shadow: none; }
.card:hover, .pth:hover, .patent:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: 0 14px 30px -22px rgba(23, 24, 28, 0.45); }
.card::after, .patent::after { display: none; }
.pubs li:hover { transform: none; border-color: var(--ink); }
.tag, .t-sys, .t-sec, .t-priv, .t-net { color: var(--muted); background: none; border: 1px solid var(--line); font-family: var(--mono); font-weight: 600; }
.links a { border-radius: 6px; border-width: 1px; }
.links a:hover { border-color: var(--red); color: var(--red); background: none; }
.venue, .v1, .v2, .v3, .v4 { background: none; color: var(--red); border: 1px solid currentColor; border-radius: 6px; }
.title a:hover { color: var(--red); }
a { color: var(--ink); text-decoration-color: var(--red); }
a:hover { color: var(--red); }
.q::before { display: none; }
.q.one, .q.two, .q.three, .q.four { --c: var(--red); }
.p-tag { color: var(--muted); }
.p-go, .when { color: var(--red); }
.pth:not(:last-child)::after { color: var(--muted); }
.cta { background: var(--ink); box-shadow: none; border-radius: var(--radius); }
.cta::before { display: none; }
.btn.light { border-radius: 8px; }
.btn.ghost { border-radius: 8px; }
.tl-logo, .rv { box-shadow: none; }
@media (max-width: 600px) { .nav { padding: 0.4rem 0.8rem; } }

/* Patent cards: the whole card opens the patent, and a second link points to the shipped feature or standard. */
.p-go { text-decoration: none; }
.p-go::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.p-rel { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.55rem; margin-top: 0.5rem; padding-top: 0.6rem; border-top: 1px dashed var(--line); font-size: 0.88rem; }
.p-rel-l { font-family: var(--mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.p-feat { font-weight: 650; color: var(--ink); text-decoration-color: var(--red); }
.p-feat::after { content: " \2197"; color: var(--muted); }
.p-feat:hover { color: var(--red); }
.p-foot { padding-top: 0.7rem; }

/* The top bar shows the name only, with no monogram. */
.logo { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
@media (max-width: 600px) { .logo { font-size: 0.95rem; } }
