:root {
  color-scheme: dark;
  --bg: #07080d;
  --bg-2: #0d111a;
  --surface: rgba(16, 20, 31, 0.78);
  --surface-strong: rgba(20, 25, 38, 0.94);
  --surface-soft: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f6f7fb;
  --muted: #aeb8c8;
  --quiet: #768197;
  --solana-green: #35f2b4;
  --solana-violet: #8d6dff;
  --solana-blue: #38bdf8;
  --warm: #f5c36b;
  --danger: #ff6b8a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius-card: 8px;
  --radius-control: 999px;
  --max-width: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(7, 8, 13, 0.52), var(--bg) 38rem),
    linear-gradient(135deg, rgba(53, 242, 180, 0.08), transparent 28rem),
    linear-gradient(245deg, rgba(141, 109, 255, 0.11), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(53, 242, 180, 0.72);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--radius-card);
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  transition: transform 180ms var(--ease);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 16px 0;
  transition:
    background-color 220ms var(--ease),
    border-color 220ms var(--ease),
    padding 220ms var(--ease);
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(7, 8, 13, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.nav-shell {
  width: min(calc(100% - 32px), var(--max-width));
  min-height: 52px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-sigil {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(53, 242, 180, 0.22), rgba(141, 109, 255, 0.24)),
    rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-control);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  transition:
    color 180ms var(--ease),
    background-color 180ms var(--ease);
}

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

.hero {
  position: relative;
  min-height: 88dvh;
  display: flex;
  align-items: flex-end;
  overflow: clip;
  isolation: isolate;
  background: #07080d;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 8, 13, 0.96) 0%, rgba(7, 8, 13, 0.72) 46%, rgba(7, 8, 13, 0.36) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 8, 13, 0.1) 34%, rgba(7, 8, 13, 0.18) 100%);
}

.hero-slideshow,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slideshow {
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(53, 242, 180, 0.12), transparent 38%),
    linear-gradient(315deg, rgba(141, 109, 255, 0.16), transparent 42%),
    #07080d;
}

.hero-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(1.04) contrast(1.05);
  transform: scale(1.02);
  transition:
    opacity 1400ms var(--ease),
    transform 7600ms linear;
}

.hero-slide.is-visible {
  opacity: 1;
  transform: scale(1.075);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(53, 242, 180, 0.18), transparent 36%),
    linear-gradient(315deg, rgba(141, 109, 255, 0.24), transparent 42%);
  mix-blend-mode: screen;
  opacity: 0.66;
}

.hero-inner {
  position: relative;
  z-index: 3;
  padding: 152px 0 72px;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.kicker,
.section-kicker {
  color: var(--solana-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker.muted {
  color: var(--muted);
}

.signal-line {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--solana-green), transparent);
}

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

h1,
h2,
h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 860px;
  font-size: clamp(4.25rem, 11vw, 9.8rem);
  font-weight: 700;
}

.hero-role {
  max-width: 980px;
  margin-top: 18px;
  color: #ffffff;
  font-size: clamp(1.12rem, 2.2vw, 1.72rem);
  font-weight: 700;
  line-height: 1.25;
}

.hero-copy {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
}

.hero-actions,
.featured-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  padding: 12px 18px;
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
  line-height: 1;
  transition:
    transform 200ms var(--ease),
    border-color 200ms var(--ease),
    background-color 200ms var(--ease),
    box-shadow 200ms var(--ease);
}

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

.button:active {
  transform: translateY(0) scale(0.98);
}

.button svg,
.modal-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button svg path:not([fill]) {
  fill: none;
}

.button-primary {
  background:
    linear-gradient(135deg, rgba(53, 242, 180, 0.96), rgba(56, 189, 248, 0.86) 48%, rgba(141, 109, 255, 0.96)),
    var(--solana-green);
  color: #07100d;
  box-shadow: 0 18px 42px rgba(53, 242, 180, 0.16);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(16px);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.11);
}

.hero-proof {
  max-width: 920px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.hero-proof span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-control);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  backdrop-filter: blur(14px);
}

section {
  scroll-margin-top: 92px;
}

.featured-section,
.work-section,
.services-section,
.proof-section,
.tools-section,
.contact-section {
  padding: 98px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-top: 10px;
  color: var(--text);
  font-size: clamp(2.2rem, 5vw, 4.85rem);
  font-weight: 700;
}

.section-heading p:not(.section-kicker) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

.featured-project {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(53, 242, 180, 0.1), transparent 32%),
    linear-gradient(315deg, rgba(141, 109, 255, 0.14), transparent 42%),
    var(--surface);
  box-shadow: var(--shadow);
}

.featured-project::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.featured-media {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  background: #111723;
}

.featured-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transform: scale(1.01);
  transition:
    transform 500ms var(--ease),
    filter 500ms var(--ease);
}

.featured-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 8, 13, 0.55), transparent 48%);
}

.featured-media:hover img {
  transform: scale(1.045);
  filter: saturate(1.1) contrast(1.05);
}

.play-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(7, 8, 13, 0.48);
  color: var(--text);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
}

.play-orbit svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  transform: translateX(2px);
}

.featured-content {
  padding: clamp(26px, 4vw, 54px);
  align-self: center;
}

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

.badge-row span,
.platform-badge,
.project-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-control);
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.065);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.badge-row span:first-child {
  border-color: rgba(53, 242, 180, 0.34);
  color: var(--solana-green);
}

.featured-content h3 {
  margin-top: 28px;
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 700;
}

.featured-content p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.02rem;
}

.work-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: end;
}

.filter-bar {
  position: sticky;
  top: 76px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  background: rgba(10, 13, 20, 0.78);
  backdrop-filter: blur(18px);
}

.filter-button {
  min-height: 42px;
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  padding: 9px 14px;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  transition:
    color 180ms var(--ease),
    background-color 180ms var(--ease),
    border-color 180ms var(--ease);
}

.filter-button:hover,
.filter-button.is-active {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
}

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

.project-card {
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
  transition:
    transform 220ms var(--ease),
    border-color 220ms var(--ease),
    background-color 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

.project-card.is-featured {
  grid-column: span 6;
  border-color: rgba(53, 242, 180, 0.28);
  background:
    linear-gradient(135deg, rgba(53, 242, 180, 0.07), transparent 35%),
    var(--surface);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.24);
  background: var(--surface-strong);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.project-thumb-button {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  background: #121725;
}

.thumb-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(53, 242, 180, 0.26), transparent 32%),
    linear-gradient(315deg, rgba(141, 109, 255, 0.26), transparent 45%),
    linear-gradient(180deg, #161b29, #080a11);
  color: var(--text);
  text-align: left;
}

.thumb-fallback span:first-child {
  color: var(--solana-green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.thumb-fallback span:last-child {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.05;
}

.project-thumb-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(0deg, rgba(7, 8, 13, 0.64), transparent 52%),
    linear-gradient(90deg, rgba(7, 8, 13, 0.18), transparent);
  opacity: 0.86;
  transition: opacity 220ms var(--ease);
}

.project-thumb-button img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 260ms var(--ease),
    transform 360ms var(--ease);
}

.project-thumb-button.media-ready img {
  opacity: 1;
}

.project-thumb-button.media-failed img {
  display: none;
}

.project-card:hover .project-thumb-button img {
  transform: scale(1.06);
}

.project-card:hover .project-thumb-button::after {
  opacity: 0.66;
}

.project-thumb-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.3s linear infinite;
}

.project-thumb-button.media-ready::before,
.project-thumb-button.media-failed::before {
  content: none;
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

.card-play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(7, 8, 13, 0.52);
  color: var(--text);
  backdrop-filter: blur(14px);
}

.card-play svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transform: translateX(1px);
}

.project-body {
  padding: 18px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 13px;
}

.platform-badge {
  color: #ffffff;
}

.project-card h3 {
  font-size: 1.34rem;
  line-height: 1.08;
}

.project-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.watch-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-control);
  padding: 9px 12px;
  color: var(--text);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
  font-weight: 800;
}

.watch-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.source-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.service-grid article,
.proof-list article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.055);
}

.service-grid article {
  min-height: 190px;
  padding: 18px;
}

.service-grid h3 {
  font-size: 1.18rem;
  line-height: 1.08;
}

.service-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 36px;
  align-items: start;
}

.proof-list {
  display: grid;
  gap: 12px;
}

.proof-list article {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px;
}

.proof-list span {
  color: var(--solana-green);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
}

.proof-list p {
  color: var(--text);
  font-weight: 700;
}

.tools-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 0.65fr);
  gap: 30px;
  align-items: start;
}

.tool-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-cloud li {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-control);
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-weight: 800;
}

.contact-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-card);
  padding: clamp(28px, 6vw, 68px);
  background:
    linear-gradient(135deg, rgba(53, 242, 180, 0.14), transparent 36%),
    linear-gradient(315deg, rgba(141, 109, 255, 0.15), transparent 42%),
    rgba(255, 255, 255, 0.055);
}

.contact-panel h2 {
  margin-top: 10px;
  max-width: 760px;
  font-size: clamp(2.4rem, 7vw, 5.8rem);
}

.contact-panel p {
  max-width: 650px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.08rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px 0;
  color: var(--quiet);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner a {
  color: var(--muted);
  font-weight: 800;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal.is-open {
  display: flex;
}

.modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(860px, calc(100dvh - 36px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-card);
  background: rgba(10, 13, 20, 0.96);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.55);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  background: rgba(7, 8, 13, 0.58);
  color: var(--text);
  backdrop-filter: blur(14px);
}

.modal-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.modal-video-shell {
  position: relative;
  min-height: 320px;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(53, 242, 180, 0.16), transparent 36%),
    linear-gradient(315deg, rgba(141, 109, 255, 0.17), transparent 42%),
    #0b0f18;
}

.modal-video-shell video {
  width: 100%;
  height: 100%;
  max-height: 66dvh;
  object-fit: contain;
  background: #000;
}

.modal-loading,
.modal-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(53, 242, 180, 0.12), transparent 34%),
    linear-gradient(315deg, rgba(141, 109, 255, 0.16), transparent 42%),
    rgba(7, 8, 13, 0.9);
}

.modal-fallback {
  display: none;
  align-content: center;
  gap: 12px;
}

.modal-fallback a {
  color: var(--solana-green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.modal-copy {
  padding: clamp(20px, 4vw, 34px);
}

.modal-copy h2 {
  margin-top: 18px;
  font-size: clamp(1.9rem, 4vw, 3.3rem);
}

.modal-copy p {
  max-width: 760px;
  margin-top: 12px;
  color: var(--muted);
}

.modal-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--solana-green);
  font-weight: 800;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 82dvh;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(7, 8, 13, 0.62), rgba(7, 8, 13, 0.94)),
      linear-gradient(90deg, rgba(7, 8, 13, 0.84), rgba(7, 8, 13, 0.28));
  }

  .hero-inner {
    padding: 126px 0 54px;
  }

  .featured-project,
  .work-heading,
  .proof-layout,
  .tools-layout {
    grid-template-columns: 1fr;
  }

  .featured-media,
  .featured-media img {
    min-height: 330px;
  }

  .project-card,
  .project-card.is-featured {
    grid-column: span 6;
  }

  .service-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  }
}

@media (max-width: 680px) {
  .section-inner,
  .nav-shell {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .site-header {
    padding: 10px 0;
  }

  h1 {
    font-size: clamp(3.65rem, 18vw, 5.2rem);
  }

  .hero {
    min-height: 84dvh;
  }

  .hero-actions,
  .featured-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-proof span {
    width: 100%;
  }

  .featured-section,
  .work-section,
  .services-section,
  .proof-section,
  .tools-section,
  .contact-section {
    padding: 72px 0;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 12vw, 3.3rem);
  }

  .featured-media,
  .featured-media img {
    min-height: 270px;
  }

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

  .project-card,
  .project-card.is-featured {
    grid-column: auto;
  }

  .project-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .watch-link,
  .source-link {
    justify-content: center;
    width: 100%;
  }

  .proof-list article {
    grid-template-columns: 46px 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

  .modal {
    padding: 10px;
  }

  .modal-video-shell {
    min-height: 230px;
  }
}

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