:root {
  --ink: #111c22;
  --muted: #5a6970;
  --line: #d6e1e8;
  --paper: #f7fbff;
  --panel: #ffffff;
  --soft: #edf7f5;
  --night: #123044;
  --night-2: #21466a;
  --teal: #10a3a7;
  --teal-dark: #0b6268;
  --coral: #e46f45;
  --gold: #d6a72f;
  --violet: #7567f0;
  --blue: #2878d9;
  --green: #6abf69;
  --shadow: 0 24px 70px rgba(18, 48, 68, 0.14);
  --glow: 0 36px 120px rgba(20, 108, 148, 0.22);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(40, 120, 217, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 163, 167, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0), rgba(232, 249, 246, 0.74) 42%, rgba(246, 241, 255, 0.68)),
    var(--paper);
  background-size: 46px 46px, 46px 46px, auto, auto;
}

img,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
}

a:hover {
  color: var(--teal-dark);
}

:focus-visible {
  outline: 3px solid rgba(20, 124, 128, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-150%);
  background: var(--ink);
  color: white;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(24, 79, 103, 0.18);
  box-shadow: 0 10px 34px rgba(18, 48, 68, 0.06);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: 0;
  color: var(--ink);
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand-logo img {
  width: clamp(132px, 16vw, 176px);
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.menu-toggle {
  display: none;
}

.nav-links a {
  color: #224453;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  background: rgba(16, 163, 167, 0.12);
  color: var(--teal-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(16, 163, 167, 0.95);
  border-radius: 6px;
  padding: 0.7rem 1rem;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: white;
  font-weight: 760;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(9, 91, 132, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  background: linear-gradient(135deg, #15b9ba, #236fd0);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(9, 91, 132, 0.26);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.button.secondary.light {
  background: white;
  color: var(--teal-dark);
  border-color: rgba(16, 163, 167, 0.28);
  box-shadow: none;
}

.button.secondary.light:hover {
  background: #e8fbf7;
  color: var(--teal-dark);
}

.page {
  overflow: hidden;
}

.section {
  padding: 72px 0;
}

.section.tight {
  padding: 48px 0;
}

.band {
  background:
    linear-gradient(135deg, rgba(237, 247, 245, 0.94), rgba(246, 249, 255, 0.92) 48%, rgba(255, 248, 239, 0.72)),
    var(--soft);
  border-block: 1px solid var(--line);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 82px 0 72px;
  background:
    linear-gradient(118deg, rgba(11, 68, 80, 0.92), rgba(28, 115, 151, 0.72) 39%, rgba(69, 88, 190, 0.52) 70%, rgba(228, 111, 69, 0.28)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(45deg, transparent 0 68%, rgba(255, 255, 255, 0.1) 68% 69%, transparent 69%),
    url("/public/images/design/xr-hero-scene.webp");
  background-size: auto, 54px 54px, 54px 54px, 180px 180px, cover;
  background-position: center, center, center, center, 76% center;
  color: white;
  overflow: hidden;
}

.home-hero {
  min-height: 0;
  padding: clamp(72px, 10vw, 118px) 0 clamp(70px, 9vw, 104px);
}

.home-hero-copy {
  max-width: 760px;
  margin-left: max(16px, calc((100vw - 1120px) / 2));
  margin-right: auto;
}

.page-hero {
  min-height: 0;
  background-position: center, center, center, center, 82% center;
}

.compact-hero {
  min-height: 0;
  padding: 54px 0 48px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 32, 38, 0.44) 0 34%, rgba(8, 32, 38, 0.14) 58%, rgba(8, 32, 38, 0) 100%),
    linear-gradient(145deg, transparent 0 56%, rgba(214, 167, 47, 0.22) 56% 63%, rgba(228, 111, 69, 0.2) 63% 72%, rgba(117, 103, 240, 0.24) 72% 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--gold), var(--coral), var(--violet));
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(400px, 1.14fr);
  gap: 48px;
  align-items: center;
}

.home-hero .hero-grid {
  min-height: 560px;
}

.page-hero .hero-grid {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9ff8f1;
  text-shadow: 0 2px 18px rgba(8, 32, 38, 0.34);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.1rem;
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.page-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.75rem, 7vw, 5rem);
}

.compact-hero h1 {
  max-width: none;
  font-size: clamp(2.3rem, 6vw, 3.8rem);
}

h2 {
  margin-bottom: 1rem;
  max-width: 18ch;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 66ch;
}

.hero .lede {
  color: rgba(255, 255, 255, 0.84);
}

.hero h1,
.hero .lede {
  text-shadow: 0 3px 30px rgba(7, 20, 24, 0.36);
}

.hero .lede {
  max-width: 58ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-media {
  position: relative;
}

.hero-media-small .hero-art-frame {
  transform: rotate(-0.5deg);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -10% -4% auto auto;
  width: 62%;
  height: 44%;
  background:
    linear-gradient(135deg, rgba(105, 240, 230, 0.44), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, rgba(214, 167, 47, 0.34), rgba(228, 111, 69, 0.22));
  clip-path: polygon(8% 0, 100% 18%, 86% 100%, 0 78%);
  filter: blur(1px);
  opacity: 0.8;
}

.hero-media::after {
  content: "XR software for people, practice and serious play";
  position: absolute;
  right: clamp(0.8rem, 2vw, 1.1rem);
  bottom: clamp(0.8rem, 2vw, 1.1rem);
  max-width: 260px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(7, 29, 40, 0.72);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.75rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 720;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.media-frame,
.image-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #17445d;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.media-frame {
  aspect-ratio: 16 / 10;
}

.media-frame iframe,
.media-frame img {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.media-frame img {
  object-fit: cover;
}

.hero-art-frame {
  aspect-ratio: 16 / 9;
  position: relative;
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow:
    0 34px 110px rgba(12, 50, 74, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  transform: rotate(0.4deg);
}

.hero-art-frame img {
  object-position: right center;
}

.showreel-frame {
  background: #071d28;
}

.showreel-frame iframe {
  background: #071d28;
}

.showreel-section {
  position: relative;
  margin-top: 0;
  padding: clamp(44px, 7vw, 76px) 0 clamp(58px, 8vw, 86px);
  background:
    linear-gradient(118deg, rgba(8, 32, 38, 0.96), rgba(19, 71, 92, 0.94) 45%, rgba(40, 82, 154, 0.9)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(45deg, transparent 0 64%, rgba(105, 240, 230, 0.1) 64% 66%, transparent 66%),
    url("/public/images/design/xr-hero-scene.webp");
  background-size: auto, 48px 48px, 48px 48px, 170px 170px, cover;
  background-position: center, center, center, center, 78% center;
  color: white;
  overflow: hidden;
}

.showreel-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 29, 40, 0.7), rgba(7, 29, 40, 0.18) 62%, rgba(7, 29, 40, 0.52)),
    linear-gradient(145deg, transparent 0 60%, rgba(214, 167, 47, 0.14) 60% 66%, rgba(228, 111, 69, 0.14) 66% 100%);
  pointer-events: none;
}

.showreel-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(440px, 1.38fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
}

.showreel-copy {
  border-left: 5px solid var(--gold);
  padding: clamp(0.5rem, 1.5vw, 1rem) 0 clamp(0.5rem, 1.5vw, 1rem) clamp(1rem, 2vw, 1.35rem);
}

.showreel-copy .eyebrow {
  color: #9ff8f1;
}

.showreel-copy h2 {
  max-width: 10ch;
  margin-bottom: 1rem;
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
}

.showreel-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.showreel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.showreel-tags li {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.86);
  padding: 0.3rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 760;
}

.showreel-grid .showreel-frame {
  aspect-ratio: 16 / 9;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.hero-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(8, 32, 38, 0.38);
  padding: clamp(1.2rem, 3vw, 1.6rem);
  box-shadow: 0 28px 78px rgba(5, 22, 31, 0.25);
  backdrop-filter: blur(14px);
}

.hero-panel::before {
  content: "";
  display: block;
  width: 92px;
  height: 5px;
  margin-bottom: 1.3rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--coral));
}

.hero-panel h2 {
  max-width: 14ch;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.hero-panel p {
  color: rgba(255, 255, 255, 0.8);
}

.image-frame {
  aspect-ratio: 16 / 10;
}

.image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.image-frame img.focus-top {
  object-position: center 24%;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.pill,
.status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.66rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.status {
  border-color: rgba(16, 163, 167, 0.3);
  background: #e8fbf7;
  color: var(--teal-dark);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-head p {
  max-width: 56ch;
  margin-bottom: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.section-cards {
  margin-top: 2rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(9, 18, 22, 0.06);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.card:hover {
  border-color: rgba(16, 163, 167, 0.32);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}

.card-body {
  padding: 1.25rem;
}

.card h2 {
  max-width: none;
  margin-bottom: 0.55rem;
  font-size: 1.35rem;
  line-height: 1.18;
}

.card p,
.split-card p,
.fact p {
  color: var(--muted);
}

.project-card .image-frame {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: #e9efef;
}

.project-card .card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-card .status {
  margin-bottom: 0.8rem;
}

.project-card h2,
.project-card h3 {
  margin-bottom: 0.3rem;
}

.project-subtitle {
  margin-bottom: 0.75rem;
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-card.text-art .image-frame {
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(105, 240, 230, 0.34), transparent 36%),
    linear-gradient(315deg, rgba(117, 103, 240, 0.34), transparent 44%),
    linear-gradient(45deg, rgba(214, 167, 47, 0.26), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
    #163a4e;
}

.process-card {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 250, 248, 0.92)),
    white;
}

.process-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--gold));
}

.step-mark {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.project-mark {
  color: white;
  font-weight: 850;
  font-size: clamp(2rem, 6vw, 4rem);
}

.card-link {
  display: inline-flex;
  margin-top: 0.6rem;
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  align-items: center;
}

.trust-panel {
  margin-top: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 129, 169, 0.98), rgba(83, 141, 218, 0.98) 55%, rgba(117, 103, 240, 0.88)),
    #68aee2;
  padding: clamp(1.1rem, 3vw, 1.5rem);
  box-shadow: 0 24px 70px rgba(24, 79, 103, 0.18);
}

.trust-intro {
  margin-bottom: 1rem;
  color: white;
  font-weight: 720;
}

.trust-note {
  margin: 0.9rem 0 0;
}

.logo-tile {
  display: grid;
  place-items: center;
  flex: 1 1 180px;
  max-width: 220px;
  min-height: 116px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  background: white;
  padding: 1.1rem;
  box-shadow: 0 10px 28px rgba(9, 18, 22, 0.04);
}

.logo-tile img {
  max-height: 74px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.split-card {
  border-left: 4px solid var(--coral);
  padding: 0.2rem 0 0.2rem 1.25rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.fact {
  border-top: 3px solid var(--teal);
  padding-top: 1rem;
}

.fact strong {
  display: block;
  font-size: 1.6rem;
}

.callout {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 250, 248, 0.94)),
    var(--panel);
  padding: clamp(1.4rem, 4vw, 2rem);
  box-shadow: 0 16px 44px rgba(9, 18, 22, 0.07);
}

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

.stat-card {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 247, 245, 0.96) 62%, rgba(255, 247, 230, 0.84)),
    white;
  padding: 1.2rem;
  box-shadow: 0 14px 35px rgba(9, 18, 22, 0.06);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--teal-dark);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 0.95;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-weight: 720;
}

.source-note {
  margin-top: 1rem;
}

.evidence-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.evidence-card {
  position: relative;
  min-height: 260px;
  border: 1px solid rgba(24, 79, 103, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(237, 247, 245, 0.98) 58%, rgba(255, 248, 239, 0.82)),
    white;
  padding: clamp(1.1rem, 2.5vw, 1.35rem);
  box-shadow: 0 16px 42px rgba(9, 18, 22, 0.07);
  overflow: hidden;
}

.evidence-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--gold), var(--coral));
}

.evidence-card-feature {
  background:
    linear-gradient(135deg, rgba(8, 32, 38, 0.92), rgba(24, 79, 103, 0.9) 50%, rgba(37, 118, 169, 0.86)),
    var(--night);
  color: white;
}

.evidence-kicker {
  margin-bottom: 0.9rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-card-feature .evidence-kicker {
  color: #9ff8f1;
}

.evidence-card strong {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--teal-dark);
  font-size: clamp(2.45rem, 5.2vw, 4.35rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.evidence-card .evidence-claim {
  max-width: 9.5ch;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 0.98;
}

.evidence-card-feature strong {
  color: white;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.evidence-card h3 {
  max-width: 14ch;
  margin-bottom: 0.75rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.evidence-card p {
  color: var(--muted);
}

.evidence-card-feature p {
  color: rgba(255, 255, 255, 0.76);
}

.evidence-bars {
  display: grid;
  gap: 0.46rem;
  margin-top: 1.25rem;
}

.evidence-bars span {
  display: block;
  width: var(--bar);
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  box-shadow: 0 0 22px rgba(159, 248, 241, 0.24);
}

.media-section {
  background:
    linear-gradient(126deg, #176d84, #2076ae 45%, #6851c6 100%);
  color: white;
}

.media-section .eyebrow {
  color: #69f0e6;
}

.media-section .section-head p,
.media-section .video-card p {
  color: rgba(255, 255, 255, 0.68);
}

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

.video-card {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.75rem;
}

.video-card .media-frame {
  aspect-ratio: 16 / 9;
}

.video-card h3 {
  margin-top: 0.75rem;
}

.legal-copy {
  max-width: 86ch;
}

.legal-verbatim {
  margin: 0;
  white-space: pre-wrap;
  font: inherit;
  line-height: 1.62;
  color: var(--ink);
}

.form {
  display: grid;
  gap: 1rem;
}

.form-status {
  margin: 0 0 1rem;
  border: 1px solid rgba(16, 163, 167, 0.28);
  border-radius: 8px;
  background: #e8fbf7;
  color: var(--teal-dark);
  padding: 0.85rem 1rem;
  font-weight: 720;
}

.form-status[data-state="error"] {
  border-color: rgba(228, 111, 69, 0.36);
  background: #fff0ea;
  color: #954123;
}

.form-card {
  border-color: rgba(255, 255, 255, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 249, 247, 0.96));
  box-shadow: 0 30px 90px rgba(5, 22, 31, 0.24);
}

.form label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-weight: 760;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #bcc9cd;
  border-radius: 6px;
  padding: 0.75rem;
  font: inherit;
  background: white;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(16, 163, 167, 0.16);
  outline-offset: 0;
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #184f67;
  color: white;
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.82;
}

.footer-links a:hover {
  opacity: 1;
}

.small {
  color: var(--muted);
  font-size: 0.93rem;
}

.site-footer .small {
  color: rgba(255, 255, 255, 0.68);
}

.cms-page-body {
  color: var(--muted);
}

.cms-page-body h2,
.cms-page-body h3 {
  color: var(--ink);
  margin-top: 2.2rem;
}

.cms-page-body h2:first-child,
.cms-page-body h3:first-child {
  margin-top: 0;
}

.cms-page-body p,
.cms-page-body li {
  font-size: 1.05rem;
  line-height: 1.8;
}

.cms-page-body ul {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.2rem;
}

@media (max-width: 860px) {
  .nav {
    position: relative;
    min-height: 68px;
    padding: 0.65rem 0;
    align-items: center;
    flex-direction: row;
  }

  .brand-logo img {
    width: 136px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(16, 163, 167, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink);
    box-shadow: 0 10px 26px rgba(18, 48, 68, 0.08);
  }

  .menu-toggle:hover {
    background: #e8fbf7;
  }

  .menu-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .menu-icon {
    display: grid;
    gap: 5px;
    width: 21px;
  }

  .menu-icon span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 170ms ease, opacity 170ms ease;
  }

  .site-header[data-menu-open="true"] .menu-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header[data-menu-open="true"] .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .site-header[data-menu-open="true"] .menu-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    border: 1px solid rgba(24, 79, 103, 0.16);
    border-radius: 8px;
    background: white;
    padding: 0.55rem;
    box-shadow: 0 22px 60px rgba(18, 48, 68, 0.24);
  }

  .site-header[data-menu-open="true"] .nav-links {
    display: grid;
  }

  .nav-links a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 0.72rem 0.85rem;
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
    background:
      linear-gradient(180deg, rgba(8, 52, 67, 0.76), rgba(45, 94, 183, 0.74)),
      linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px),
      linear-gradient(180deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px),
      linear-gradient(45deg, transparent 0 68%, rgba(255, 255, 255, 0.1) 68% 69%, transparent 69%),
      url("/public/images/design/xr-hero-scene.webp");
    background-size: auto, 54px 54px, 54px 54px, 180px 180px, cover;
    background-position: center, center, center, center, 82% top;
  }

  .home-hero {
    padding: 44px 0 62px;
  }

  .home-hero-copy {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
  }

  .showreel-section {
    padding: 38px 0 52px;
    background-position: center, center, center, center, 82% center;
  }

  .showreel-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .showreel-copy {
    border-left: 0;
    border-top: 5px solid var(--gold);
    padding: 1rem 0 0;
  }

  .showreel-copy h2 {
    max-width: 12ch;
  }

  .compact-hero {
    padding: 42px 0 38px;
  }

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

  .hero-grid {
    min-height: auto;
    gap: 1.35rem;
  }

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

  .hero-media {
    order: -1;
  }

  .home-hero h1 {
    position: relative;
    z-index: 2;
  }

  .hero-media::before,
  .hero-media::after {
    display: none;
  }

  .hero-art-frame {
    transform: none;
    box-shadow: 0 20px 58px rgba(5, 22, 31, 0.34);
  }

  .section-head {
    display: block;
  }

  .section {
    padding: 54px 0;
  }

  .section.tight {
    padding: 38px 0;
  }

  .actions {
    display: grid;
    gap: 0.7rem;
  }

  .button {
    width: 100%;
  }

  .status-row,
  .showreel-tags {
    gap: 0.42rem;
  }

  .pill,
  .status {
    min-height: 28px;
    padding: 0.22rem 0.55rem;
    font-size: 0.78rem;
  }

  .grid.projects,
  .grid.three,
  .grid.four,
  .evidence-grid,
  .stats-grid,
  .video-grid,
  .facts,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .logo-tile {
    flex-basis: calc(50% - 0.5rem);
    max-width: none;
    min-height: 94px;
  }

  .logo-tile img {
    max-height: 58px;
  }

  h1 {
    max-width: 11ch;
    font-size: 3.25rem;
    line-height: 0.98;
  }

  .page-hero h1 {
    max-width: 12ch;
    font-size: 2.75rem;
  }

  h2 {
    max-width: 16ch;
    font-size: 2.15rem;
    line-height: 1.08;
  }

  .card h2 {
    max-width: none;
    font-size: 1.28rem;
  }

  h3 {
    font-size: 1.12rem;
  }

  .lede {
    font-size: 1.08rem;
  }

  .hero .lede {
    max-width: 36ch;
  }

  .card-body {
    padding: 1rem;
  }

  .callout {
    padding: 1.2rem;
  }

  .footer-grid {
    gap: 1rem;
  }

  .footer-links {
    gap: 0.7rem;
  }
}

@media (max-width: 420px) {
  .wrap,
  .narrow {
    width: min(100% - 24px, 1120px);
  }

  .brand-logo img {
    width: 124px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .home-hero {
    padding: 36px 0 54px;
  }

  h1 {
    font-size: 2.72rem;
  }

  .page-hero h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .eyebrow {
    font-size: 0.76rem;
  }

  .lede {
    font-size: 1.02rem;
  }

  .hero .lede {
    max-width: 31ch;
  }
}
