:root {
  color-scheme: dark;
  --blue: #1300ff;
  --blue-rgb: 19, 0, 255;
  --bg: #050505;
  --fg: #f4f4f4;
  --muted: #a8a8a8;
  --line: rgba(255, 255, 255, 0.72);
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --shadow: rgba(19, 0, 255, 0.45);
  --max: 1480px;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f4f1;
  --fg: #050505;
  --muted: #4b4b4b;
  --line: rgba(0, 0, 0, 0.62);
  --panel: rgba(0, 0, 0, 0.045);
  --panel-strong: rgba(0, 0, 0, 0.09);
  --shadow: rgba(19, 0, 255, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
  transition: background 450ms ease, color 450ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: var(--blue);
  transform: translateY(0);
  transition: transform 850ms cubic-bezier(0.77, 0, 0.18, 1);
}

body.is-loaded::before {
  transform: translateY(-100%);
}

body.is-paused * {
  animation-play-state: paused !important;
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 3px;
  background: var(--blue);
  box-shadow: 0 0 22px var(--shadow);
  transform-origin: left;
  transition: width 120ms linear;
}

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

button {
  color: inherit;
  font: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.13;
  mix-blend-mode: overlay;
  background-image:
    linear-gradient(115deg, transparent 0 35%, rgba(255, 255, 255, 0.1) 35% 36%, transparent 36%),
    repeating-radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px 5px);
}

.cursor-light {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10;
  width: 32rem;
  height: 32rem;
  pointer-events: none;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(var(--blue-rgb), 0.32), transparent 62%);
  translate: -50% -50%;
  opacity: 0.7;
  filter: blur(10px);
  transform: translate3d(var(--cursor-x, 50vw), var(--cursor-y, 50vh), 0);
  transition: opacity 300ms ease, width 300ms ease, height 300ms ease;
  will-change: transform;
}

.cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 65;
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
  pointer-events: none;
  color: var(--fg);
  translate: -50% -50%;
  transform: translate3d(var(--cursor-x, 50vw), var(--cursor-y, 50vh), 0) scale(var(--cursor-scale, 1));
  transition:
    color 240ms ease,
    opacity 240ms ease,
    transform 160ms ease,
    background 240ms ease;
  mix-blend-mode: difference;
  will-change: transform;
}

body.is-pointer-active .cursor-light {
  opacity: 0.96;
}

body.is-link-hovering {
  --cursor-scale: 3.2;
}

body.is-link-hovering .cursor-dot {
  background: currentColor;
}

body.is-pressing {
  --cursor-scale: 1.7;
}

.site-frame {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 30;
  display: grid;
  grid-template-columns: 80px 1fr 54px 72px minmax(140px, 260px);
  height: 78px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    background 300ms ease,
    border-color 300ms ease;
}

body.is-scrolled .site-frame {
  transform: translateY(-8px);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
}

.brand-cell,
.main-nav,
.play-button,
.theme-toggle,
.book-call {
  min-width: 0;
  border-right: 1px solid var(--line);
}

.brand-cell {
  display: grid;
  place-items: center;
  padding: 10px;
}

.brand-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 16px var(--shadow));
  transition: transform 320ms ease, filter 320ms ease;
}

.brand-cell:hover img {
  transform: rotate(-4deg) scale(1.08);
  filter: drop-shadow(0 0 28px var(--shadow));
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 48px);
  text-transform: uppercase;
  font-size: 14px;
}

.main-nav a,
.book-call {
  position: relative;
  overflow: hidden;
}

.main-nav a::after,
.book-call::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: translateX(-110%);
  transition: transform 260ms ease;
}

.main-nav a,
.book-call,
.cta,
.arrow-link,
.service-row,
.work-row,
.work-card,
.brand-cell,
.play-button,
.theme-toggle {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a:hover::after,
.book-call:hover::after,
.main-nav a.is-active::after {
  transform: translateX(0);
}

.play-button,
.theme-toggle {
  display: grid;
  place-items: center;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
  cursor: pointer;
}

.play-button span {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid var(--fg);
  transition: transform 240ms ease, border-left-color 240ms ease;
}

.play-button:hover span {
  border-left-color: var(--blue);
  transform: scale(1.15);
}

.theme-toggle {
  position: relative;
  gap: 4px;
}

.theme-toggle .sun,
.theme-toggle .moon {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--fg);
  border-radius: 50%;
  transition: transform 320ms ease, opacity 320ms ease;
}

.theme-toggle .moon {
  background: var(--bg);
  box-shadow: -7px 0 0 var(--bg);
  transform: translateX(7px);
}

[data-theme="light"] .theme-toggle .moon {
  opacity: 0;
  transform: translateX(24px) rotate(90deg);
}

[data-theme="dark"] .theme-toggle .sun {
  opacity: 0;
  transform: translateX(-24px) rotate(-90deg);
}

.book-call {
  display: grid;
  place-items: center;
  border-right: 0;
  text-transform: uppercase;
  font-weight: 700;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px;
}

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

.hero {
  position: relative;
  min-height: calc(100svh - 40px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  row-gap: 28px;
  padding: clamp(132px, 16vw, 178px) clamp(18px, 4vw, 58px) 42px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 92px 0 auto 0;
  height: 1px;
  background: var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -15% 9% 42%;
  height: 34%;
  background: var(--blue);
  filter: blur(70px);
  opacity: 0.34;
  transform: skewX(-18deg);
}

.eyebrow,
.section-index,
.work-card span,
.contact p {
  margin: 0;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 10ch;
  margin: 20px 0 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(58px, 10vw, 132px);
  line-height: 0.78;
  text-transform: uppercase;
  animation: headlineLift 900ms 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-mark {
  position: relative;
  z-index: 1;
  width: min(36vw, 430px);
  aspect-ratio: 1;
  justify-self: end;
  display: grid;
  place-items: center;
  background: var(--blue);
  box-shadow: 0 0 80px var(--shadow);
  transform-style: preserve-3d;
  transition: box-shadow 320ms ease, filter 320ms ease;
}

.hero-mark:hover {
  box-shadow: 0 0 120px var(--shadow);
  filter: saturate(1.2);
}

.hero-mark img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  transform: translateZ(42px);
}

.pulse-ring {
  position: absolute;
  inset: -22px;
  border: 1px solid rgba(var(--blue-rgb), 0.72);
  animation: pulse 2.8s ease-out infinite;
}

.hero-bottom {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 2;
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
}

.hero-bottom p {
  max-width: 410px;
  margin: 0;
  color: var(--fg);
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.35;
}

.arrow-link {
  display: inline-grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border: 1px solid var(--line);
  border-radius: 50%;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  transition: background 260ms ease, color 260ms ease, transform 260ms ease;
}

.arrow-link:hover {
  background: var(--blue);
  color: white;
  transform: rotate(-12deg) scale(1.04);
}

.ticker {
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--fg);
  color: var(--bg);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.ticker span {
  padding: 18px 28px;
  white-space: nowrap;
  text-transform: uppercase;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(28px, 5vw, 64px);
  line-height: 1;
}

.intro,
.services {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(28px, 8vw, 120px);
  padding: clamp(64px, 10vw, 132px) clamp(18px, 4vw, 58px);
}

.intro h2,
.contact h2 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(44px, 8vw, 118px);
  line-height: 0.9;
  text-transform: uppercase;
}

.intro p {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 30px);
  line-height: 1.25;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--line);
}

.work-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: clamp(22px, 3vw, 38px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(140deg, transparent, var(--panel)),
    repeating-linear-gradient(90deg, transparent 0 22px, var(--panel) 22px 23px);
  transform-style: preserve-3d;
  transition:
    background 320ms ease,
    box-shadow 320ms ease,
    filter 320ms ease;
  will-change: transform;
}

.work-card:hover {
  box-shadow: inset 0 0 0 2px var(--blue), 0 22px 70px var(--shadow);
  filter: saturate(1.15);
}

.work-card.electric {
  background: var(--blue);
  color: white;
}

.work-card h3 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.9;
  text-transform: uppercase;
}

.work-card p {
  max-width: 360px;
  margin: 0;
  color: color-mix(in srgb, currentColor 78%, transparent);
  line-height: 1.45;
}

.work-hero {
  position: relative;
  min-height: calc(100svh - 40px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  padding: clamp(120px, 15vw, 180px) clamp(18px, 4vw, 58px) 58px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0 14%, var(--panel) 14% 14.12%, transparent 14.12% 31%, var(--panel) 31% 31.12%, transparent 31% 68%, var(--panel) 68% 68.12%, transparent 68%),
    radial-gradient(circle at 78% 42%, rgba(var(--blue-rgb), 0.34), transparent 35%);
}

.work-hero-copy span {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
}

.work-hero-copy,
.portal-field {
  min-width: 0;
}

.work-hero h1 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(76px, 18vw, 230px);
  line-height: 0.8;
  text-transform: uppercase;
}

.portal-field {
  position: relative;
  min-height: min(52vw, 620px);
  border: 1px solid rgba(var(--blue-rgb), 0.64);
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
  --portal-tilt-x: 0deg;
  --portal-tilt-y: 0deg;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(var(--blue-rgb), 0.58), transparent 22%),
    radial-gradient(circle at 50% 50%, rgba(var(--blue-rgb), 0.18), transparent 42%);
  box-shadow: 0 0 70px rgba(var(--blue-rgb), 0.18);
  transform: perspective(900px) rotateX(var(--portal-tilt-x)) rotateY(var(--portal-tilt-y));
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
  will-change: transform;
}

.matrix-canvas,
.vector-web {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.matrix-canvas {
  z-index: 0;
  opacity: 0.68;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 12px rgba(var(--blue-rgb), 0.58));
}

.vector-web {
  z-index: 2;
  opacity: 0.72;
  transform:
    translate(
      calc((var(--mouse-x, 0.5) - 0.5) * 28px),
      calc((var(--mouse-y, 0.5) - 0.5) * 28px)
    )
    scale(1.02);
  transition: opacity 260ms ease, transform 180ms ease;
}

.vector-line,
.vector-node {
  fill: none;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 1.3;
  vector-effect: non-scaling-stroke;
}

.vector-line {
  stroke-dasharray: 7 12;
  animation: vectorDash 9s linear infinite;
}

.vector-line-alt {
  stroke: rgba(var(--blue-rgb), 0.96);
  animation-direction: reverse;
}

.vector-node {
  fill: var(--bg);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 2.4s ease-in-out infinite;
}

.portal-field:hover .vector-web {
  opacity: 1;
}

.portal-field::before,
.portal-field::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.portal-field::before {
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 calc(var(--mx) - 1px), rgba(var(--blue-rgb), 0.32) calc(var(--mx) - 1px) calc(var(--mx) + 1px), transparent calc(var(--mx) + 1px)),
    linear-gradient(0deg, transparent 0 calc(var(--my) - 1px), rgba(var(--blue-rgb), 0.32) calc(var(--my) - 1px) calc(var(--my) + 1px), transparent calc(var(--my) + 1px));
  mix-blend-mode: screen;
}

.portal-field::after {
  left: var(--mx);
  top: var(--my);
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  translate: -50% -50%;
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 180ms ease, transform 180ms ease;
}

.portal-field:hover {
  border-color: rgba(var(--blue-rgb), 0.95);
  box-shadow: 0 0 90px rgba(var(--blue-rgb), 0.34);
}

.portal-field:hover::after {
  opacity: 1;
  transform: scale(1);
}

.portal-field img {
  position: absolute;
  z-index: 3;
  right: 10%;
  bottom: 16%;
  width: min(34vw, 430px);
  opacity: 0.95;
  filter: drop-shadow(0 0 34px rgba(var(--blue-rgb), 0.42));
  transform: translate(
    calc((var(--mouse-x, 0.5) - 0.5) * -20px),
    calc((var(--mouse-y, 0.5) - 0.5) * -20px)
  );
  transition: transform 180ms ease, filter 260ms ease;
}

.portal-rings {
  position: absolute;
  z-index: 1;
  inset: -22% -18%;
  background:
    repeating-radial-gradient(ellipse at var(--mx) var(--my), transparent 0 34px, rgba(255, 255, 255, 0.58) 35px 37px, transparent 38px 56px);
  animation: ringsDrift 12s linear infinite;
  opacity: 0.72;
  transition: opacity 220ms ease;
}

.portal-field:hover .portal-rings {
  opacity: 1;
}

.mini-ticker .ticker-track {
  animation-duration: 18s;
}

.mini-ticker span {
  font-size: clamp(18px, 2.2vw, 28px);
  font-family: Inter, Arial, sans-serif;
  font-style: italic;
  font-weight: 500;
}

.project-stack {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.project-panel {
  position: sticky;
  top: 98px;
  min-height: calc(100svh - 98px);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(22px, 4vw, 62px);
  align-items: stretch;
  padding: clamp(24px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  transform: translateZ(0);
}

.project-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 0 19%, var(--panel) 19% 19.12%, transparent 19.12% 41%, var(--panel) 41% 41.12%, transparent 41%),
    radial-gradient(circle at 82% 20%, rgba(var(--blue-rgb), 0.2), transparent 34%);
}

.project-panel.is-electric {
  background: var(--blue);
  color: white;
}

.project-panel.is-electric::before {
  background:
    linear-gradient(90deg, transparent 0 22%, rgba(255, 255, 255, 0.18) 22% 22.12%, transparent 22.12% 66%, rgba(255, 255, 255, 0.18) 66% 66.12%, transparent 66%),
    radial-gradient(circle at 22% 10%, rgba(255, 255, 255, 0.24), transparent 32%);
}

.project-media {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  overflow: hidden;
  transition: border-color 280ms ease, box-shadow 280ms ease;
}

.code-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 18%;
  z-index: 1;
  padding: 12px 0;
  color: color-mix(in srgb, currentColor 72%, transparent);
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(12px, 1vw, 15px);
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.52;
  transform: translateX(-18%);
  animation: codeSweep 11s linear infinite;
}

.project-panel:hover .project-media {
  box-shadow: inset 0 0 0 1px currentColor, 0 18px 70px rgba(var(--blue-rgb), 0.18);
}

.project-media::after {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.62;
  animation: ovalSpin 9s linear infinite;
}

.project-media img {
  position: relative;
  z-index: 1;
  width: min(72%, 420px);
  filter: drop-shadow(0 0 30px var(--shadow));
  transition: transform 500ms ease;
}

.project-panel:hover .project-media img {
  transform: scale(1.05) rotate(-2deg);
}

.media-grid {
  position: absolute;
  inset: -1px;
  background:
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, currentColor 0 1px, transparent 1px 72px);
  opacity: 0.18;
}

.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.project-copy span,
.project-copy li {
  color: color-mix(in srgb, currentColor 68%, transparent);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
}

.project-copy h2 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(54px, 9vw, 136px);
  line-height: 0.82;
  text-transform: uppercase;
}

.project-copy p {
  max-width: 620px;
  margin: 0;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.25;
}

.project-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
}

.project-copy li {
  padding: 10px 12px;
  border: 1px solid currentColor;
  transition: background 240ms ease, color 240ms ease, transform 240ms ease;
}

.project-copy li:hover {
  background: currentColor;
  color: var(--bg);
  transform: translateY(-3px);
}

.work-index {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(28px, 8vw, 120px);
  padding: clamp(64px, 10vw, 132px) clamp(18px, 4vw, 58px);
}

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

.work-row {
  display: grid;
  grid-template-columns: 80px 1fr 160px;
  align-items: center;
  gap: 24px;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
  transition: padding 260ms ease, background 260ms ease, color 260ms ease;
}

.work-row:hover {
  padding-left: 24px;
  background: var(--blue);
  color: white;
}

.work-row span,
.work-row em {
  color: color-mix(in srgb, currentColor 64%, transparent);
  font-style: normal;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
}

.work-row strong {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(30px, 4vw, 62px);
  line-height: 0.9;
  text-transform: uppercase;
}

.work-contact {
  padding-top: 0;
}

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

.service-row {
  width: 100%;
  display: grid;
  grid-template-columns: 70px 1fr minmax(190px, 0.55fr);
  align-items: center;
  gap: 24px;
  min-height: 92px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: padding 260ms ease, background 260ms ease, color 260ms ease;
}

.service-row:hover {
  padding-left: 24px;
  background: var(--blue);
  color: white;
}

.service-row strong,
.work-row strong {
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-row:hover strong,
.work-row:hover strong {
  transform: translateX(8px);
}

.service-row span,
.service-row em {
  color: color-mix(in srgb, currentColor 62%, transparent);
  font-style: normal;
}

.service-row strong {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(28px, 4vw, 58px);
  line-height: 0.9;
  text-transform: uppercase;
}

.contact {
  padding: 20px 0 0;
}

.contact-inner {
  display: grid;
  min-height: 72svh;
  align-content: center;
  gap: 28px;
  padding: clamp(48px, 8vw, 110px) clamp(18px, 4vw, 58px);
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(var(--blue-rgb), 0.92), rgba(var(--blue-rgb), 0.74)),
    url("assets/Logo_Dakota.png") right 8% center / min(52vw, 680px) auto no-repeat;
  color: white;
}

.cta {
  width: fit-content;
  padding: 18px 26px;
  border: 1px solid white;
  text-transform: uppercase;
  font-weight: 800;
  transition: background 240ms ease, color 240ms ease, transform 240ms ease;
}

.cta:hover {
  background: white;
  color: var(--blue);
  transform: translateY(-4px);
}

.reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(var(--reveal-x, 0), var(--reveal-y, 34px), 0) scale(0.985);
  transition:
    opacity 760ms ease,
    filter 760ms ease,
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.section-panel,
.work-card,
.project-panel,
.contact-inner {
  view-timeline-name: --section;
  view-timeline-axis: block;
}

@supports (animation-timeline: view()) {
  .section-panel,
  .project-panel {
    animation: sectionGlow both ease-out;
    animation-timeline: view();
    animation-range: entry 8% cover 38%;
  }
}

@keyframes headlineLift {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

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

@keyframes pulse {
  from {
    opacity: 0.85;
    transform: scale(0.96);
  }

  to {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes ringsDrift {
  from {
    transform: translateY(-2%) scale(0.98);
  }

  to {
    transform: translateY(2%) scale(1.04);
  }
}

@keyframes ovalSpin {
  from {
    transform: rotate(0deg) scaleX(1.55);
  }

  to {
    transform: rotate(360deg) scaleX(1.55);
  }
}

@keyframes vectorDash {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -152;
  }
}

@keyframes nodePulse {
  0%,
  100% {
    transform: scale(0.82);
    opacity: 0.62;
  }

  50% {
    transform: scale(1.28);
    opacity: 1;
  }
}

@keyframes codeSweep {
  from {
    transform: translateX(-44%);
  }

  to {
    transform: translateX(44%);
  }
}

@keyframes sectionGlow {
  from {
    box-shadow: inset 0 0 0 1px rgba(var(--blue-rgb), 0);
  }

  to {
    box-shadow: inset 0 0 0 1px rgba(var(--blue-rgb), 0.32);
  }
}

@media (max-width: 900px) {
  .site-frame {
    grid-template-columns: 70px 1fr 58px 58px;
    height: 70px;
  }

  .book-call {
    display: none;
  }

  .hero,
  .intro,
  .services,
  .work-hero,
  .project-panel,
  .work-index {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 840px;
    align-items: start;
    padding-top: 120px;
  }

  .hero-mark {
    width: min(78vw, 390px);
    justify-self: start;
    margin-top: 20px;
  }

  .hero-bottom {
    align-items: start;
  }

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

  .work-card {
    min-height: 310px;
  }

  .work-hero {
    min-height: 860px;
    padding-top: 120px;
  }

  .portal-field {
    min-height: 440px;
  }

  .project-panel {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .project-media {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  main,
  .site-frame {
    left: 10px;
    right: 10px;
  }

  main {
    padding: 10px;
  }

  .site-frame {
    top: 10px;
    grid-template-columns: 62px 1fr 48px 48px;
  }

  .main-nav {
    justify-content: start;
    gap: 8px;
    padding: 0 8px;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 9px;
  }

  .hero {
    min-height: 800px;
    padding: 106px 18px 32px;
  }

  .hero h1 {
    max-width: 8.5ch;
    font-size: clamp(50px, 16vw, 66px);
  }

  .hero-bottom {
    flex-direction: column;
  }

  .arrow-link {
    width: 88px;
    height: 88px;
  }

  .intro,
  .services,
  .work-index {
    padding: 56px 18px;
  }

  .service-row,
  .work-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .work-hero {
    min-height: 760px;
    padding: 106px 18px 32px;
  }

  .work-hero h1 {
    font-size: clamp(48px, 14.5vw, 68px);
  }

  .portal-field {
    min-height: 330px;
  }

  .project-panel {
    padding: 18px;
  }

  .project-media {
    min-height: 320px;
  }

  .project-copy h2 {
    font-size: clamp(42px, 15vw, 72px);
  }

  .contact-inner {
    min-height: 620px;
    background-size: 92vw auto;
    background-position: center bottom 28px;
  }
}

@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;
  }

  .cursor-light {
    display: none;
  }

  .cursor-dot,
  body::before {
    display: none;
  }
}

@media (pointer: coarse), (max-width: 900px) {
  .cursor-light,
  .cursor-dot {
    display: none;
  }
}
