:root {
  --bg: #050a12;
  --bg-soft: #081321;
  --panel: rgba(11, 24, 39, 0.72);
  --panel-strong: rgba(10, 20, 34, 0.92);
  --line: rgba(133, 241, 255, 0.17);
  --line-strong: rgba(133, 241, 255, 0.42);
  --text: #edf8ff;
  --muted: #93aabd;
  --cyan: #65f2ff;
  --blue: #5388ff;
  --violet: #a872ff;
  --lime: #c4ff66;
  --max-width: 1240px;
  --radius: 24px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(68, 102, 255, 0.12), transparent 30%),
    radial-gradient(circle at 85% 5%, rgba(101, 242, 255, 0.09), transparent 25%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  z-index: -2;
}

.noise {
  position: fixed;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101, 242, 255, 0.08), transparent 68%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 20px auto 0;
  padding: 14px 16px 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 10, 18, 0.76);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 16px;
  z-index: 50;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #031018;
  background: linear-gradient(135deg, var(--cyan), #d9fbff);
  box-shadow: 0 0 28px rgba(101, 242, 255, 0.42);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.25s ease;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.site-nav .nav-cta {
  color: #041018;
  background: var(--text);
}

.site-nav .nav-cta:hover {
  color: #041018;
  background: var(--cyan);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 17px;
  height: 1px;
  background: currentColor;
  margin: 5px auto;
}

.hero {
  min-height: 820px;
  padding: 120px 0 80px;
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 68px;
  align-items: center;
  position: relative;
}

.hero-orbit {
  position: absolute;
  width: 760px;
  height: 760px;
  left: -280px;
  top: 20px;
  opacity: 0.34;
  pointer-events: none;
}

.orbit,
.core {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.orbit {
  border: 1px solid var(--line-strong);
}

.orbit-one {
  width: 280px;
  height: 280px;
  animation: orbitPulse 7s ease-in-out infinite;
}

.orbit-two {
  width: 470px;
  height: 470px;
  animation: orbitPulse 9s ease-in-out infinite reverse;
}

.orbit-three {
  width: 700px;
  height: 700px;
}

.core {
  width: 12px;
  height: 12px;
  background: var(--cyan);
  box-shadow: 0 0 40px 12px rgba(101, 242, 255, 0.46);
}

@keyframes orbitPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.55; }
  50% { transform: translate(-50%, -50%) scale(1.04); opacity: 1; }
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.signal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  background: var(--lime);
  box-shadow: 0 0 16px var(--lime);
  margin-right: 9px;
}

.hero h1 {
  max-width: 840px;
  font-size: clamp(3.6rem, 7vw, 7.7rem);
  line-height: 0.93;
  letter-spacing: -0.065em;
  margin: 0;
  font-weight: 780;
}

.gradient-text {
  display: block;
  background: linear-gradient(90deg, #f3fbff 0%, var(--cyan) 35%, #8db7ff 70%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  margin: 32px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 38px 0 46px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-decoration: none;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  font-size: 0.9rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: #031017;
  background: linear-gradient(110deg, var(--cyan), #e5feff);
  box-shadow: 0 16px 35px rgba(101, 242, 255, 0.18);
}

.button-primary:hover {
  box-shadow: 0 20px 42px rgba(101, 242, 255, 0.28);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 22px;
  gap: 20px;
}

.hero-meta div {
  display: grid;
  gap: 5px;
}

.hero-meta span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-meta strong {
  font-size: 0.86rem;
}

.hero-interface {
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    linear-gradient(150deg, rgba(68, 119, 255, 0.08), transparent 30%),
    var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow), inset 0 0 80px rgba(101, 242, 255, 0.035);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-7deg) rotateX(2deg);
}

.interface-top,
.interface-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  padding: 16px 18px;
  font-size: 0.67rem;
  letter-spacing: 0.11em;
}

.status {
  color: var(--lime);
}

.interface-viewport {
  min-height: 500px;
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 46%, rgba(101, 242, 255, 0.2), transparent 4%),
    radial-gradient(circle at 50% 48%, rgba(83, 136, 255, 0.17), transparent 32%),
    #07111e;
}

.grid-plane {
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -130px;
  height: 400px;
  background-image:
    linear-gradient(rgba(101, 242, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 242, 255, 0.2) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(360px) rotateX(65deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(to top, black 30%, transparent 96%);
}

.holo-card {
  position: absolute;
  min-width: 142px;
  padding: 16px;
  border: 1px solid rgba(101, 242, 255, 0.42);
  border-radius: 12px;
  background: rgba(8, 24, 37, 0.64);
  box-shadow: 0 0 28px rgba(101, 242, 255, 0.08);
  backdrop-filter: blur(8px);
  animation: floatCard 5s ease-in-out infinite;
}

.holo-card span {
  display: block;
  color: var(--cyan);
  font-size: 0.7rem;
  margin-bottom: 5px;
}

.holo-card strong {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
}

.card-a { left: 8%; top: 20%; }
.card-b { right: 7%; top: 36%; animation-delay: -1.7s; }
.card-c { left: 26%; bottom: 16%; animation-delay: -3.2s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.scan-line {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 18px var(--cyan);
  animation: scan 5s linear infinite;
}

@keyframes scan {
  from { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  to { top: 100%; opacity: 0; }
}

.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.015);
}

.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 22px;
  animation: tickerMove 28s linear infinite;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  font-weight: 800;
}

.ticker-track i {
  color: var(--cyan);
  font-style: normal;
}

@keyframes tickerMove {
  to { transform: translateX(-50%); }
}

.content-section {
  padding: 140px 0 0;
}

.section-heading {
  max-width: 920px;
  margin-bottom: 58px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5.3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.about-grid,
.research-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
}

.about-copy {
  color: var(--muted);
  font-size: 1.02rem;
}

.large-copy {
  color: var(--text);
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.capability-panel {
  border-top: 1px solid var(--line);
}

.capability {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.capability > span {
  color: var(--cyan);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
}

.capability h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.capability p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.project-card {
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.project-card:hover {
  transform: translateY(-7px);
  border-color: var(--line-strong);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.25);
}

.project-featured {
  grid-column: 1 / -1;
  min-height: 540px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
}

.project-visual {
  min-height: 310px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.project-featured .project-visual {
  min-height: 100%;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.visual-mr {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(101, 242, 255, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(83, 136, 255, 0.12), transparent),
    #07101b;
}

.visual-mr p {
  position: absolute;
  left: 20px;
  bottom: 16px;
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.14em;
}

.spatial-board {
  width: min(66%, 380px);
  aspect-ratio: 1.5;
  border: 1px solid rgba(101, 242, 255, 0.5);
  transform: perspective(700px) rotateX(62deg) rotateZ(-4deg);
  background:
    linear-gradient(rgba(101, 242, 255, 0.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 242, 255, 0.17) 1px, transparent 1px);
  background-size: 12.5% 12.5%;
  box-shadow: 0 0 70px rgba(101, 242, 255, 0.1);
  position: relative;
}

.node {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 24px var(--cyan);
  transform: translate(-50%, -50%);
}

.node-1 { left: 8%; top: 8%; }
.node-2 { left: 92%; top: 8%; }
.node-3 { left: 8%; top: 92%; }
.node-4 { left: 92%; top: 92%; }

.board-object {
  position: absolute;
  width: 80px;
  height: 80px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid var(--violet);
  background: rgba(168, 114, 255, 0.18);
  box-shadow: 0 0 38px rgba(168, 114, 255, 0.36);
}

.visual-framework {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(168, 114, 255, 0.14), transparent 48%),
    #090f1d;
}

.framework-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(168, 114, 255, 0.42);
}

.ring-a { width: 100px; height: 100px; }
.ring-b { width: 185px; height: 185px; border-color: rgba(101, 242, 255, 0.35); }
.ring-c { width: 270px; height: 270px; border-style: dashed; animation: rotateRing 18s linear infinite; }

@keyframes rotateRing {
  to { transform: rotate(360deg); }
}

.framework-label {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--text);
  text-shadow: 0 0 24px rgba(101, 242, 255, 0.45);
}

.visual-brand {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(196, 255, 102, 0.09), transparent 40%),
    #0c1315;
}

.shrimp-mark {
  font-size: 6rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  color: var(--lime);
  position: relative;
  z-index: 2;
}

.brand-lines {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(196, 255, 102, 0.32);
  transform: rotate(45deg);
  box-shadow: 0 0 40px rgba(196, 255, 102, 0.08);
}

.project-content {
  padding: 30px;
  position: relative;
}

.project-number {
  position: absolute;
  top: 24px;
  right: 28px;
  color: var(--muted);
  font-size: 0.72rem;
}

.project-type,
.timeline-label {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 800;
}

.project-content h3 {
  margin: 12px 0 14px;
  max-width: 520px;
  font-size: clamp(1.7rem, 2.7vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.project-content > p:not(.project-type) {
  color: var(--muted);
  max-width: 620px;
}

.tag-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 0.72rem;
}

.research-section {
  position: relative;
}

.research-statement {
  color: var(--muted);
}

.research-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.metric {
  min-height: 165px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric strong {
  font-size: 3rem;
  line-height: 1;
  color: var(--cyan);
  letter-spacing: -0.06em;
}

.metric span {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.research-flow {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--panel);
}

.research-flow div {
  min-width: 0;
}

.research-flow span {
  display: block;
  color: var(--cyan);
  font-size: 0.7rem;
}

.research-flow strong {
  font-size: 0.9rem;
}

.research-flow i {
  color: var(--muted);
  font-style: normal;
}

.timeline {
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 34px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-year {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
}

.timeline-item h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  letter-spacing: -0.03em;
}

.timeline-item p:last-child {
  color: var(--muted);
  max-width: 760px;
}

.contact-section {
  padding: 150px 0 50px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  padding: clamp(34px, 7vw, 88px);
  background:
    radial-gradient(circle at 80% 20%, rgba(101, 242, 255, 0.18), transparent 28%),
    radial-gradient(circle at 20% 90%, rgba(168, 114, 255, 0.13), transparent 28%),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.contact-card::after {
  content: "";
  position: absolute;
  right: -130px;
  top: -130px;
  width: 380px;
  height: 380px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(101, 242, 255, 0.025), 0 0 0 88px rgba(101, 242, 255, 0.018);
}

.contact-card h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  position: relative;
  z-index: 1;
}

.contact-card > p:not(.eyebrow) {
  max-width: 670px;
  color: var(--muted);
  margin: 26px 0 34px;
  position: relative;
  z-index: 1;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--cyan);
  text-decoration: none;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 800;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 6px;
  position: relative;
  z-index: 1;
}

.contact-meta {
  margin-top: 66px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  position: relative;
  z-index: 1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer a {
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.22,.61,.36,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 96px;
    grid-template-columns: 1fr;
  }

  .hero-interface {
    transform: none;
  }

  .about-grid,
  .research-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-featured {
    grid-template-columns: 1fr;
  }

  .project-featured .project-visual {
    min-height: 420px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .research-flow {
    grid-template-columns: 1fr;
  }

  .research-flow i {
    transform: rotate(90deg);
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .section-shell,
  .site-header {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    border-radius: 20px;
    top: 10px;
  }

  .brand-text {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(5, 10, 18, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .hero {
    padding: 82px 0 64px;
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 5.4rem);
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .interface-viewport {
    min-height: 390px;
  }

  .content-section {
    padding-top: 104px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-featured {
    grid-column: auto;
  }

  .project-card,
  .project-featured {
    min-height: 0;
  }

  .project-featured .project-visual {
    min-height: 330px;
  }

  .research-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-meta,
  .site-footer {
    flex-direction: column;
  }

  .contact-card::after {
    opacity: 0.35;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .holo-card {
    min-width: 118px;
    padding: 12px;
  }

  .card-b {
    right: 3%;
  }

  .research-metrics {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 130px;
  }

  .contact-link {
    word-break: break-all;
  }
}


/* Enhanced custom cursor */
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body,
  a,
  button {
    cursor: none;
  }
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow:
    0 0 12px rgba(101, 242, 255, 0.95),
    0 0 28px rgba(101, 242, 255, 0.5);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(101, 242, 255, 0.8);
  border-radius: 50%;
  box-shadow:
    inset 0 0 14px rgba(101, 242, 255, 0.08),
    0 0 18px rgba(101, 242, 255, 0.15);
  transition:
    width 0.18s ease,
    height 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    opacity 0.2s ease;
}

.cursor-ring.is-hovering {
  width: 54px;
  height: 54px;
  border-color: rgba(168, 114, 255, 0.95);
  background: rgba(168, 114, 255, 0.08);
}

.cursor-ring.is-clicking {
  width: 24px;
  height: 24px;
  border-color: var(--lime);
}

.cursor-particle {
  position: fixed;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(101, 242, 255, 0.8);
  pointer-events: none;
  z-index: 9998;
  animation: cursorParticle 520ms ease-out forwards;
}

@keyframes cursorParticle {
  from {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform:
      translate(
        calc(-50% + var(--particle-x)),
        calc(-50% + var(--particle-y))
      )
      scale(0.2);
  }
}

/* Prototype image gallery */
.prototype-gallery {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 10%, rgba(83, 136, 255, 0.10), transparent 28%),
    var(--panel);
  padding: 26px;
  overflow: hidden;
}

.gallery-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 24px;
}

.gallery-heading h3 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 3.5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.gallery-heading > p {
  margin: 0;
  color: var(--muted);
  max-width: 650px;
  justify-self: end;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
}

.gallery-item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #07111e;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.gallery-item-wide {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  transition: transform 0.45s ease;
}

.gallery-item-wide img {
  min-height: 520px;
  aspect-ratio: auto;
}

.gallery-item:hover img {
  transform: scale(1.025);
}

.gallery-item figcaption {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
  background: rgba(5, 10, 18, 0.88);
}

.gallery-item figcaption > span {
  color: var(--cyan);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.gallery-item figcaption strong {
  font-size: 0.92rem;
}

.gallery-item figcaption p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

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

  .gallery-heading > p {
    justify-self: start;
  }

  .gallery-item-wide {
    grid-row: auto;
  }

  .gallery-item-wide img {
    min-height: 360px;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 560px) {
  .prototype-gallery {
    padding: 16px;
  }

  .gallery-item img,
  .gallery-item-wide img {
    min-height: 250px;
  }
}


/* Four-image prototype gallery layout */
.gallery-grid-four {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.gallery-grid-four .gallery-item-hero {
  grid-column: 1 / -1;
}

.gallery-grid-four .gallery-item-hero img {
  aspect-ratio: 16 / 7.8;
  min-height: 420px;
  object-position: center 45%;
}

.gallery-grid-four .gallery-item:not(.gallery-item-hero) img {
  aspect-ratio: 4 / 3;
  min-height: 260px;
}

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

  .gallery-grid-four .gallery-item-hero {
    grid-column: 1 / -1;
  }

  .gallery-grid-four .gallery-item-hero img {
    min-height: 330px;
    aspect-ratio: 16 / 10;
  }

  .gallery-grid-four .gallery-item:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .gallery-grid-four {
    grid-template-columns: 1fr;
  }

  .gallery-grid-four .gallery-item,
  .gallery-grid-four .gallery-item-hero,
  .gallery-grid-four .gallery-item:last-child {
    grid-column: auto;
  }

  .gallery-grid-four .gallery-item-hero img,
  .gallery-grid-four .gallery-item:not(.gallery-item-hero) img {
    min-height: 250px;
    aspect-ratio: 4 / 3;
  }
}


/* ADGF published-research card */
.project-grid > .prototype-gallery {
  grid-column: 1 / -1 !important;
}

.framework-project {
  grid-column: 1 / -1;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
  background:
    radial-gradient(circle at 12% 12%, rgba(168, 114, 255, 0.12), transparent 33%),
    radial-gradient(circle at 90% 90%, rgba(101, 242, 255, 0.06), transparent 32%),
    var(--panel);
}

.framework-visual {
  min-width: 0;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 42%, rgba(168, 114, 255, 0.15), transparent 33%),
    linear-gradient(145deg, rgba(83, 136, 255, 0.06), transparent 54%),
    #08111f;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.framework-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(101, 242, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 242, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  pointer-events: none;
}

.framework-orbit-system {
  min-height: 290px;
  position: relative;
  display: grid;
  place-items: center;
}

.framework-orbit-system .framework-ring {
  position: absolute;
}

.framework-orbit-system .ring-a {
  width: 112px;
  height: 112px;
}

.framework-orbit-system .ring-b {
  width: 214px;
  height: 214px;
}

.framework-orbit-system .ring-c {
  width: 318px;
  height: 318px;
}

.framework-orbit-system .framework-label {
  position: relative;
  z-index: 2;
  font-size: 1.85rem;
}

.framework-visual-meta {
  position: absolute;
  top: 24px;
  left: 26px;
  right: 26px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.framework-visual-meta strong {
  color: var(--cyan);
  font-size: inherit;
}

.framework-data {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.framework-data > div {
  min-height: 92px;
  padding: 15px 17px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.framework-data strong {
  color: var(--cyan);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.framework-data span {
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.framework-content {
  min-width: 0;
  position: relative;
  padding: clamp(32px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.framework-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-right: 40px;
}

.framework-topline .project-type {
  margin: 0;
}

.publication-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  border: 1px solid rgba(196, 255, 102, 0.22);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.publication-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(196, 255, 102, 0.8);
}

.framework-content h3 {
  max-width: 790px;
  margin: 17px 0 18px;
  font-size: clamp(2.5rem, 4.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.framework-summary {
  max-width: 790px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.35vw, 1.16rem);
}

.publication-panel {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(110deg, rgba(101, 242, 255, 0.055), rgba(168, 114, 255, 0.035)),
    rgba(5, 10, 18, 0.48);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
}

.publication-copy {
  min-width: 0;
  padding: 19px 22px;
}

.publication-kicker {
  margin: 0 0 6px;
  color: var(--cyan);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.publication-copy h4 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(1rem, 1.65vw, 1.32rem);
  line-height: 1.25;
  letter-spacing: -0.018em;
}

.publication-copy > p:last-child {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.publication-link {
  align-self: stretch;
  min-width: 180px;
  padding: 20px 22px;
  border-left: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: #031018;
  background: linear-gradient(135deg, var(--cyan), #d9fbff);
  text-decoration: none;
  font-weight: 850;
  font-size: 0.82rem;
  transition:
    filter 0.22s ease,
    padding-right 0.22s ease;
}

.publication-link strong {
  font-size: 1.25rem;
  transition: transform 0.22s ease;
}

.publication-link:hover {
  filter: brightness(1.07);
  padding-right: 18px;
}

.publication-link:hover strong {
  transform: translate(3px, -3px);
}

.framework-footer {
  margin-top: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.framework-footer .tag-list {
  margin-top: 0;
}

.publication-doi {
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .framework-project {
    grid-template-columns: 1fr;
  }

  .framework-visual {
    min-height: 430px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .framework-orbit-system {
    min-height: 300px;
  }
}

@media (max-width: 700px) {
  .framework-visual {
    min-height: 380px;
    padding: 20px;
  }

  .framework-visual-meta {
    left: 20px;
    right: 20px;
  }

  .framework-visual-meta strong {
    display: none;
  }

  .framework-orbit-system .ring-c {
    width: 265px;
    height: 265px;
  }

  .framework-orbit-system .ring-b {
    width: 178px;
    height: 178px;
  }

  .framework-orbit-system .ring-a {
    width: 98px;
    height: 98px;
  }

  .framework-content {
    padding: 28px 22px;
  }

  .framework-topline {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 0;
  }

  .publication-panel {
    grid-template-columns: 1fr;
  }

  .publication-link {
    min-height: 62px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .framework-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .publication-doi {
    white-space: normal;
  }
}
