:root {
  --bg: #020617;
  --panel: #07111f;
  --panel-2: #f4f1ea;
  --ink: #f8fafc;
  --text: #20231f;
  --muted: #b6c4d8;
  --muted-dark: #5d665f;
  --line: rgba(148, 163, 184, 0.2);
  --line-dark: rgba(32, 35, 31, 0.14);
  --steel: #60a5fa;
  --blue: #3b82f6;
  --cyan: #67e8f9;
  --green: #9eba8b;
  --amber: #d5b169;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 76% 8%, rgba(59, 130, 246, 0.22), transparent 28%),
    radial-gradient(circle at 18% 36%, rgba(96, 165, 250, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.96), rgba(0, 0, 0, 0.99)),
    #020617;
  min-height: 100vh;
}

body,
button,
input {
  letter-spacing: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.site-frame {
  position: relative;
  z-index: 1;
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto 56px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 50%;
  width: min(1480px, calc(100% - 48px));
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 0;
  backdrop-filter: blur(18px);
}

.brand {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.14em;
  text-shadow: 0 0 22px rgba(96, 165, 250, 0.34);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar-links a,
.nav-button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.44);
  color: rgba(248, 250, 252, 0.9);
  font: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.topbar-links a:hover,
.nav-button:hover {
  color: #ffffff;
  border-color: rgba(96, 165, 250, 0.78);
  box-shadow:
    0 0 22px rgba(59, 130, 246, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.section-band,
.metrics-strip,
.contact-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-band {
  margin-top: 16px;
  padding: clamp(28px, 5vw, 56px);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.86fr);
  align-items: center;
  gap: clamp(34px, 5vw, 82px);
  padding: clamp(120px, 12vh, 168px) clamp(22px, 4vw, 44px) clamp(60px, 8vh, 92px);
  margin-top: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background:
    radial-gradient(circle at 77% 45%, rgba(59, 130, 246, 0.2), transparent 34%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.34));
  backdrop-filter: none;
}

.hero-copy {
  align-self: center;
  transform: translateY(-56px);
}

.hero-media {
  transform: translateY(-56px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--steel);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(6rem, 10vw, 10.4rem);
  line-height: 0.9;
  font-weight: 800;
  color: #ffffff;
  text-shadow:
    0 0 36px rgba(59, 130, 246, 0.28),
    0 12px 46px rgba(0, 0, 0, 0.42);
}

.hero-role {
  margin: 26px 0 0;
  color: rgba(248, 250, 252, 0.96);
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1.18;
  font-weight: 800;
  max-width: 850px;
}

.hero-summary,
.section-heading p,
.project-card p,
.capability-grid p,
.timeline p,
.contact-section p,
.contact-modal p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.82;
}

.hero-summary {
  max-width: 760px;
  margin: 32px 0 0;
  color: rgba(226, 232, 240, 0.86);
  font-size: clamp(1.06rem, 1.25vw, 1.25rem);
  line-height: 1.85;
}

.hero-actions,
.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  min-height: 62px;
  padding: 0 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.primary-btn {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  color: #ffffff;
  box-shadow:
    0 18px 38px rgba(37, 99, 235, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.secondary-btn {
  background: rgba(15, 23, 42, 0.34);
  color: var(--ink);
  border-color: rgba(96, 165, 250, 0.74);
  box-shadow:
    0 0 24px rgba(59, 130, 246, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  border-color: var(--line);
}

.compact {
  min-height: 42px;
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover,
.project-card:hover,
.coverage-grid a:hover,
.contact-links a:hover {
  transform: translateY(-2px);
}

.primary-btn:hover {
  box-shadow:
    0 24px 50px rgba(37, 99, 235, 0.42),
    0 0 26px rgba(96, 165, 250, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.secondary-btn:hover {
  background: rgba(30, 41, 59, 0.5);
  box-shadow: 0 0 30px rgba(96, 165, 250, 0.28);
}

.hero-media {
  position: relative;
  min-height: clamp(540px, 48vw, 680px);
  border: 0;
  border-radius: 0;
  overflow: visible;
  background:
    radial-gradient(circle at 50% 42%, rgba(59, 130, 246, 0.2), transparent 35%),
    radial-gradient(circle at 50% 54%, rgba(96, 165, 250, 0.12), transparent 46%);
}

.hero-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
}

.network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.site-network {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  opacity: 0.86;
  mix-blend-mode: screen;
}

.site-network + .site-frame::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 7, 0.1), rgba(5, 7, 7, 0.36)),
    radial-gradient(circle at 50% 18%, transparent, rgba(5, 7, 7, 0.42) 78%);
}

.robot-stage::after {
  content: "";
  position: absolute;
  inset: auto 2% 3% 2%;
  height: 30%;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.28), transparent 64%);
  filter: blur(16px);
}

.robot-orbit {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 42px 132px;
  perspective: 900px;
}

.robot {
  position: relative;
  height: min(72%, 520px);
  width: auto;
  aspect-ratio: 0.72;
  animation: robotFloat 4.8s ease-in-out infinite;
  filter:
    drop-shadow(0 38px 42px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 42px rgba(96, 165, 250, 0.2));
}

.robot-head {
  position: absolute;
  left: 11%;
  top: 5%;
  width: 78%;
  height: 40%;
  border-radius: 42% 42% 45% 45%;
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.9), transparent 7%),
    radial-gradient(circle at 34% 18%, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(145deg, #f3f4ee 0%, #313632 21%, #080a09 52%, #171a17 100%);
  box-shadow:
    inset -22px -22px 34px rgba(0, 0, 0, 0.82),
    inset 18px 14px 24px rgba(255, 255, 255, 0.22),
    0 0 30px rgba(255, 255, 255, 0.18);
}

.robot-face {
  position: absolute;
  inset: 16% 12% 13%;
  border-radius: 42% 42% 46% 46%;
  background:
    radial-gradient(circle at 42% 22%, rgba(184, 230, 228, 0.25), transparent 18%),
    linear-gradient(160deg, #101414 0%, #030404 100%);
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.12),
    inset 0 -18px 34px rgba(255, 255, 255, 0.06);
}

.robot-eye {
  position: absolute;
  top: 35%;
  width: 17%;
  height: 20%;
  border: 7px solid #f7fbfa;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.96));
  animation: robotBlink 5.6s infinite;
}

.robot-eye-left {
  left: 23%;
}

.robot-eye-right {
  right: 23%;
}

.robot-mouth {
  position: absolute;
  left: 34%;
  bottom: 23%;
  width: 32%;
  height: 17%;
  border: 8px solid #f7fbfa;
  border-top: 0;
  border-radius: 0 0 999px 999px;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
}

.robot-ear {
  position: absolute;
  top: 25%;
  width: 11%;
  height: 20%;
  border-radius: 999px;
  background: linear-gradient(160deg, #f4f5ee 0%, #333733 42%, #080a09 100%);
  box-shadow: inset -10px -8px 14px rgba(0, 0, 0, 0.76);
}

.robot-ear-left {
  left: 4%;
}

.robot-ear-right {
  right: 4%;
}

.robot-neck {
  position: absolute;
  left: 41%;
  top: 43%;
  width: 18%;
  height: 9%;
  border-radius: 10px;
  background: linear-gradient(180deg, #2a2f2b, #090b0a);
}

.robot-body {
  position: absolute;
  left: 20%;
  top: 48%;
  width: 60%;
  height: 37%;
  border-radius: 36% 36% 44% 44%;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.2), transparent 15%),
    linear-gradient(145deg, #333832 0%, #090b0a 58%, #1a1d1a 100%);
  box-shadow:
    inset -18px -26px 34px rgba(0, 0, 0, 0.76),
    inset 14px 13px 22px rgba(255, 255, 255, 0.12);
}

.robot-core {
  position: absolute;
  left: 50%;
  top: 34%;
  width: 28%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 10px solid #f6fbfa;
  background: #080a09;
  box-shadow:
    0 0 14px rgba(255, 255, 255, 0.9),
    inset 0 0 18px rgba(143, 183, 197, 0.42);
  animation: corePulse 2.4s ease-in-out infinite;
}

.robot-arm {
  position: absolute;
  top: 55%;
  width: 15%;
  height: 31%;
  border-radius: 999px;
  transform-origin: 50% 8%;
  background: linear-gradient(160deg, #333834, #080a09);
  box-shadow: inset -8px -12px 16px rgba(0, 0, 0, 0.72);
}

.robot-arm span {
  position: absolute;
  left: 20%;
  bottom: -10%;
  width: 60%;
  height: 18%;
  border-radius: 999px;
  background: linear-gradient(160deg, #dce8e3, #0a0c0b);
}

.robot-arm-left {
  left: 10%;
  transform: rotate(10deg);
  animation: armLeft 4.8s ease-in-out infinite;
}

.robot-arm-right {
  right: 10%;
  transform: rotate(-10deg);
  animation: armRight 4.8s ease-in-out infinite;
}

.hero-note {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 5%;
  width: min(78%, 560px);
  transform: translateX(-50%);
  padding: 22px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.6));
  border: 1px solid rgba(96, 165, 250, 0.28);
  backdrop-filter: blur(18px);
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-note span {
  display: block;
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.hero-note strong {
  display: block;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.4vw, 1.32rem);
  line-height: 1.5;
}

.metrics-strip {
  margin-top: 16px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.metrics-strip article {
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(12px);
}

.metrics-strip span,
.project-meta,
.timeline time,
.coverage-grid span,
.wechat-card figcaption {
  display: block;
  color: rgba(147, 197, 253, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metrics-strip strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.35;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

.section-heading h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.08;
}

.section-heading p {
  margin: 16px 0 0;
  max-width: 720px;
}

.row-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.row-heading > p {
  max-width: 400px;
}

.featured-project {
  width: min(1080px, 100%);
  margin-inline: auto;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.3), rgba(2, 6, 23, 0.24)),
    rgba(15, 23, 42, 0.18);
  color: var(--ink);
  border-color: rgba(96, 165, 250, 0.22);
  box-shadow: 0 0 42px rgba(59, 130, 246, 0.08);
  backdrop-filter: blur(12px);
}

.featured-project .section-heading {
  max-width: 780px;
  margin-bottom: 18px;
}

.featured-project .section-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
}

.featured-project .section-heading p {
  margin-top: 12px;
  font-size: 0.98rem;
  line-height: 1.7;
}

.featured-project .eyebrow {
  color: var(--steel);
}

.featured-project .section-heading p,
.featured-project .clean-list {
  color: var(--muted);
}

.featured-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(18px, 2.6vw, 30px);
  align-items: center;
}

.project-shot {
  height: clamp(240px, 25vw, 330px);
  min-height: 0;
  padding: 12px;
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.24);
  border: 1px solid rgba(96, 165, 250, 0.18);
  backdrop-filter: blur(12px);
}

.project-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(2, 6, 23, 0.16);
}

.project-brief {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(143, 183, 197, 0.4);
  border-radius: 8px;
  color: inherit;
  background: rgba(143, 183, 197, 0.12);
  font-size: 0.84rem;
  font-weight: 800;
}

.clean-list {
  margin: 16px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 9px;
  line-height: 1.62;
  font-size: 0.96rem;
}

.featured-project .project-actions {
  margin-top: 18px;
}

.featured-project .tag-row {
  gap: 7px;
}

.featured-project .tag-row span {
  min-height: 28px;
  padding: 5px 9px;
  font-size: 0.8rem;
}

.featured-project .compact {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 0.92rem;
}

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

.project-card {
  display: grid;
  grid-template-rows: 260px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.26);
  backdrop-filter: blur(12px);
  transition: transform 160ms ease;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  background: rgba(2, 6, 23, 0.18);
}

.project-card > div {
  padding: 22px;
}

.project-card h3,
.capability-grid h3,
.timeline h3 {
  margin: 8px 0 10px;
  font-size: 1.35rem;
  line-height: 1.32;
}

.project-card p {
  margin: 0 0 16px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--steel);
  font-weight: 800;
  text-decoration: none;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.value-grid,
.research-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.research-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-grid article,
.research-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.26);
  backdrop-filter: blur(12px);
}

.value-grid span {
  color: var(--steel);
  font-weight: 800;
}

.value-grid h3,
.research-grid h3 {
  margin: 8px 0 10px;
  font-size: 1.22rem;
  line-height: 1.35;
}

.value-grid p,
.research-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.focus-list span {
  min-height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background: rgba(15, 23, 42, 0.24);
  color: rgba(226, 232, 240, 0.92);
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.capability-grid article,
.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.26);
  backdrop-filter: blur(12px);
}

.capability-grid article {
  padding: 22px;
}

.capability-grid span {
  color: var(--amber);
  font-weight: 800;
}

.capability-grid p,
.timeline p {
  margin: 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  padding: 22px;
}

.timeline time {
  color: var(--green);
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.coverage-grid a {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.26);
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease;
  backdrop-filter: blur(12px);
}

.coverage-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.coverage-grid strong,
.coverage-grid span {
  margin-left: 16px;
  margin-right: 16px;
}

.coverage-grid strong {
  display: block;
  margin-top: 16px;
  line-height: 1.4;
}

.coverage-grid span {
  margin-top: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  text-transform: none;
}

.contact-section {
  margin-top: 16px;
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr) 180px;
  gap: 28px;
  align-items: center;
  background: rgba(15, 23, 42, 0.22);
  color: var(--ink);
  border-color: rgba(96, 165, 250, 0.2);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.contact-section .eyebrow {
  color: var(--steel);
}

.contact-section p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a {
  min-height: 42px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(2, 6, 23, 0.2);
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease;
}

.wechat-card {
  margin: 0;
  text-align: center;
}

.wechat-card img {
  width: 160px;
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0 auto 10px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.contact-modal.open {
  display: block;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
}

.contact-modal-dialog {
  position: relative;
  width: min(760px, calc(100% - 32px));
  margin: 8vh auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #141a18;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
}

.contact-modal h3 {
  margin: 0 0 22px;
  font-size: 2rem;
}

.contact-modal-grid {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 22px;
  align-items: start;
}

.contact-modal-info {
  display: grid;
  gap: 10px;
}

.contact-modal-info a {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.contact-modal-qr img {
  width: 180px;
  border-radius: 8px;
}

.contact-modal-qr p {
  margin: 10px 0 0;
  font-size: 0.92rem;
}

@keyframes robotFloat {
  0%,
  100% {
    transform: translateY(0) rotateY(-7deg) rotateZ(-1deg);
  }

  50% {
    transform: translateY(-18px) rotateY(7deg) rotateZ(1deg);
  }
}

@keyframes robotBlink {
  0%,
  88%,
  100% {
    transform: scaleY(1);
  }

  92%,
  95% {
    transform: scaleY(0.16);
  }
}

@keyframes corePulse {
  0%,
  100% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes armLeft {
  0%,
  100% {
    transform: rotate(10deg);
  }

  50% {
    transform: rotate(18deg) translateY(4px);
  }
}

@keyframes armRight {
  0%,
  100% {
    transform: rotate(-10deg);
  }

  50% {
    transform: rotate(-18deg) translateY(4px);
  }
}

@media (max-width: 980px) {
  .site-frame,
  .topbar {
    width: min(100% - 32px, 1480px);
  }

  .hero,
  .featured-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .featured-project {
    width: 100%;
  }

  .project-shot {
    height: clamp(220px, 52vw, 320px);
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
    gap: 24px;
  }

  .hero-copy,
  .hero-media {
    transform: translateY(-24px);
  }

  .hero-media {
    min-height: 580px;
  }

  .robot-orbit {
    padding: 28px 28px 128px;
  }

  .robot {
    height: min(70%, 480px);
  }

  .hero-note {
    width: min(86%, 560px);
  }

  .hero h1 {
    font-size: clamp(5.8rem, 18vw, 8.6rem);
  }

  .hero-role {
    font-size: clamp(1.9rem, 5vw, 3rem);
  }

  .metrics-strip,
  .project-grid,
  .capability-grid,
  .value-grid,
  .research-grid,
  .timeline,
  .coverage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .row-heading {
    display: block;
  }

  .row-heading > p {
    max-width: 680px;
  }
}

@media (max-width: 680px) {
  .site-frame {
    width: min(100% - 20px, 1480px);
    margin-bottom: 28px;
  }

  .topbar {
    left: 10px;
    width: calc(100% - 20px);
    transform: none;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
  }

  .topbar-links {
    justify-content: flex-start;
    gap: 7px;
  }

  .topbar-links a,
  .nav-button {
    font-size: 0.82rem;
    min-height: 36px;
    padding: 0 11px;
  }

  .section-band,
  .contact-section {
    padding: 22px;
  }

  .hero {
    padding: 132px 2px 44px;
    gap: 18px;
  }

  .hero-copy,
  .hero-media {
    transform: none;
  }

  .hero h1 {
    font-size: clamp(4.1rem, 23vw, 6.4rem);
  }

  .hero-role {
    font-size: clamp(1.45rem, 8vw, 2.2rem);
  }

  .hero-summary {
    font-size: 1rem;
  }

  .hero-media {
    min-height: 520px;
    margin-inline: -10px;
  }

  .robot-orbit {
    padding: 26px 22px 124px;
  }

  .robot {
    height: min(66%, 410px);
  }

  .hero-note {
    width: min(92%, 420px);
    padding: 18px;
  }

  .hero-actions,
  .project-actions {
    display: grid;
  }

  .primary-btn,
  .secondary-btn,
  .ghost-btn {
    min-height: 54px;
    padding: 0 18px;
  }

  .metrics-strip,
  .project-grid,
  .capability-grid,
  .value-grid,
  .research-grid,
  .timeline,
  .coverage-grid,
  .contact-modal-grid {
    grid-template-columns: 1fr;
  }

  .project-shot {
    height: 240px;
    min-height: 0;
  }

  .project-card {
    grid-template-rows: 210px 1fr;
  }

  .contact-modal-dialog {
    margin-top: 4vh;
    padding: 24px;
  }
}
