*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

:root {
  --nav-height: 78px;
  --background: #f5f7fb;
  --background-secondary: #eaf0f8;
  --surface: #ffffff;
  --surface-elevated: #f9fbff;
  --foreground: #121a2a;
  --foreground-muted: #5c687b;
  --border: rgba(18, 26, 42, 0.12);
  --border-strong: rgba(18, 103, 255, 0.35);
  --brand: #1267ff;
  --brand-secondary: #0b1b3a;
  --accent: #10a8ff;
  --interactive: #1267ff;
  --interactive-hover: #0056d8;
  --shadow: 0 22px 54px rgba(11, 27, 58, 0.12);
  --radius: 18px;
  --bg: var(--background);
  --bg-2: var(--background-secondary);
  --ink: var(--foreground);
  --muted: var(--foreground-muted);
  --line: var(--border);
  --line-strong: var(--border-strong);
  --blue: var(--brand);
  --cyan: var(--accent);
  --white: #ffffff;
}

:root[data-theme="dark"] {
  --background: #070b14;
  --background-secondary: #0a1220;
  --surface: #0f1929;
  --surface-elevated: #121f33;
  --foreground: #f4f7fb;
  --foreground-muted: #9eabc0;
  --border: rgba(180, 198, 230, 0.14);
  --border-strong: rgba(77, 141, 255, 0.34);
  --brand: #4d8dff;
  --brand-secondary: #8bd7ff;
  --accent: #39b7ff;
  --interactive: #4d8dff;
  --interactive-hover: #74a6ff;
  --shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
}

section,
[id] {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 10%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 34rem),
    linear-gradient(180deg, var(--background) 0%, var(--background-secondary) 48%, var(--background) 100%);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 260ms ease, color 260ms ease;
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(circle at 15% 10%, rgba(77, 141, 255, 0.09), transparent 34rem),
    linear-gradient(180deg, var(--background) 0%, #080d18 48%, #060913 100%);
}

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

a {
  color: inherit;
}

button, input, textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(77, 141, 255, 0.55);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease;
}

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

.container {
  width: min(100% - 48px, 1220px);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px color-mix(in srgb, #000 9%, transparent);
}

.nav-shell {
  width: min(100% - 48px, 1220px);
  min-height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.brand-logo,
.proof-top img,
.footer-brand img {
  border: 1px solid var(--border);
}

.brand strong,
.footer-brand strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a,
.footer-links a,
.person-links a {
  position: relative;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:hover,
.footer-links a:hover,
.person-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0 12px 0 15px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--interactive) 18%, transparent);
  transform: translateX(-102%);
  transition: transform 260ms ease;
}

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

.nav-cta:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
}

.nav-cta:hover::before {
  transform: translateX(0);
}

.nav-cta .link-arrow {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--interactive);
  color: var(--white);
}

.nav-cta:hover .link-arrow {
  transform: translate(3px, -3px);
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  box-shadow: 0 10px 30px color-mix(in srgb, #000 8%, transparent);
}

.theme-option {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.theme-option:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.theme-option[aria-pressed="true"] {
  background: color-mix(in srgb, var(--interactive) 16%, var(--surface));
  color: var(--ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 32%, transparent);
}

.theme-option svg,
.service-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-option svg {
  width: 17px;
  height: 17px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  grid-area: 1 / 1;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle span:last-child {
  transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

section {
  position: relative;
  padding: 92px 0;
  scroll-margin-top: 96px;
}

.hero {
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 76px;
}

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

.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--background) 96%, transparent), color-mix(in srgb, var(--background) 45%, transparent) 52%, color-mix(in srgb, var(--background) 88%, transparent)),
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--foreground) 4%, transparent) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--foreground) 3%, transparent) 0 1px, transparent 1px 76px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.52fr);
  gap: 58px;
  align-items: center;
}

.kicker {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title,
.section-title {
  font-family: "Manrope", sans-serif;
  letter-spacing: 0;
}

.hero-title {
  max-width: 820px;
  margin-top: 16px;
  font-size: clamp(2.85rem, 5.4vw, 5.45rem);
  line-height: 1;
  font-weight: 800;
}

.hero-text {
  max-width: 710px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  min-height: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 10px;
  padding: 7px 8px 7px 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateX(-105%);
  transition: transform 280ms ease;
}

.button:hover::before {
  transform: translateX(0);
}

.button-label,
.button .link-arrow,
.button-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  transition: transform 180ms ease;
}

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

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

.button-primary {
  border: 1px solid color-mix(in srgb, var(--ink) 26%, var(--line));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--ink) 94%, var(--surface)), color-mix(in srgb, var(--ink) 82%, var(--surface)));
  color: var(--background);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--white) 18%, transparent),
    0 18px 42px color-mix(in srgb, #000 16%, transparent);
}

.button-primary::before {
  background: linear-gradient(90deg, color-mix(in srgb, var(--interactive) 40%, transparent), transparent 74%);
}

.button-primary:hover {
  border-color: color-mix(in srgb, var(--accent) 44%, var(--line-strong));
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--white) 22%, transparent),
    0 22px 54px color-mix(in srgb, #000 20%, transparent);
}

.button-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 14%, transparent);
  color: currentColor;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button-primary:hover .button-icon {
  background: var(--background);
  color: var(--interactive);
  transform: translate(4px, -4px);
}

.button-strong {
  min-height: 54px;
  justify-content: space-between;
  width: 100%;
  padding-left: 20px;
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.button-secondary {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  color: var(--ink);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--white) 18%, transparent);
}

.button-secondary::before {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.button-secondary:hover {
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--surface-elevated) 86%, var(--interactive) 5%);
}

.button-secondary .link-arrow {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent);
}

.button-secondary:hover .link-arrow {
  border-color: var(--line-strong);
  transform: translate(4px, -3px);
}

.hero-system {
  position: relative;
  min-height: 470px;
  display: grid;
  align-items: center;
}

.system-panel {
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 84%, transparent), color-mix(in srgb, var(--surface-elevated) 72%, transparent));
  box-shadow: var(--shadow);
  padding: 16px;
  overflow: hidden;
}

.system-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--foreground) 6%, transparent) 1px, transparent 1px),
    linear-gradient(0deg, color-mix(in srgb, var(--foreground) 5%, transparent) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, black, transparent 88%);
  pointer-events: none;
}

.panel-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 12px;
  color: var(--muted);
}

.panel-bar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--line-strong);
}

.panel-bar strong {
  margin-left: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.panel-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.panel-node {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.panel-node:hover,
.panel-node.is-active {
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
  transform: translateY(-2px);
}

.panel-node small {
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-node strong {
  display: block;
  margin-top: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}

.signal-line {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.signal-line i {
  height: 4px;
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), transparent);
  animation: signalPulse 2.8s ease-in-out infinite;
}

.signal-line i:nth-child(2) {
  animation-delay: 0.25s;
}

.signal-line i:nth-child(3) {
  animation-delay: 0.5s;
}

.system-orbit {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.system-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--foreground);
  box-shadow: var(--shadow);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  animation: softDrift 7s ease-in-out infinite;
}

.system-chip svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chip-api {
  left: -14px;
  top: 64px;
}

.chip-db {
  right: -10px;
  top: 26px;
  animation-delay: -1.5s;
}

.chip-ai {
  right: 8px;
  bottom: 52px;
  animation-delay: -3s;
}

.chip-auth {
  left: 22px;
  bottom: 18px;
  animation-delay: -4.5s;
}

@keyframes softDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@keyframes signalPulse {
  0%, 100% { opacity: 0.32; transform: scaleX(0.72); transform-origin: left; }
  50% { opacity: 1; transform: scaleX(1); transform-origin: left; }
}

.hero-proof {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 84%, transparent), color-mix(in srgb, var(--surface-elevated) 72%, transparent));
  box-shadow: var(--shadow);
  padding: 18px;
}

.proof-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.proof-top img {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--white);
}

.proof-top span {
  color: var(--ink);
  font-weight: 800;
}

.proof-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.proof-flow i {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.hero-proof dl {
  display: grid;
  gap: 10px;
}

.hero-proof dl div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--surface-elevated) 58%, transparent);
}

.hero-proof dt {
  color: var(--cyan);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.hero-proof dd {
  color: var(--muted);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: rgba(247, 249, 252, 0.56);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-band {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--foreground) 2%, transparent), transparent),
    var(--bg-2);
  border-block: 1px solid var(--line);
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
}

.section-title {
  margin-top: 12px;
  font-size: clamp(2rem, 3.2vw, 3.3rem);
  line-height: 1.08;
  font-weight: 750;
}

.editorial-copy,
.section-heading > p,
.contact-copy > p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 680px;
}

.workflow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.workflow-tags span,
.tech-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 68%, transparent);
  font-size: 0.82rem;
  font-weight: 800;
}

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

.section-heading > p {
  margin-top: 16px;
}

.project-stage {
  display: grid;
  gap: clamp(58px, 8vw, 104px);
}

.project-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(22px, 3.5vw, 44px);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: clamp(30px, 5vw, 58px);
}

.project-feature:last-child {
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(30px, 5vw, 58px);
}

.project-moment-2 {
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
}

.project-moment-2 .project-media {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.project-moment-2 .project-brief,
.project-moment-2 .project-detail {
  grid-column: 2;
}

.project-moment-3 {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.project-moment-3 .project-media {
  grid-column: 1 / -1;
}

.project-moment-3 .project-detail {
  align-self: start;
}

.project-brief {
  display: grid;
  align-content: start;
}

.project-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--cyan);
  font-family: "Manrope", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-brief h3,
.tile-body h3 {
  transition: transform 220ms ease;
}

.project-feature:hover .project-brief h3,
.project-tile:hover .tile-body h3 {
  transform: translateX(3px);
}

.project-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface-elevated) 88%, var(--background));
  padding: clamp(16px, 3vw, 36px);
  box-shadow: var(--shadow);
  transition: background-color 220ms ease, border-color 220ms ease;
}

.project-media:hover,
.tile-image:hover {
  border-color: var(--line-strong);
  background-color: color-mix(in srgb, var(--brand) 5%, var(--surface-elevated));
}

.media-canvas {
  position: relative;
  display: block;
}

.media-depth-bg {
  display: none;
}

.browser-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 18px 44px color-mix(in srgb, #000 20%, transparent);
  transition: box-shadow 420ms ease, border-color 260ms ease;
}

.browser-top {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding: 0 13px;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface-elevated) 88%, transparent);
}

.browser-top span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--line-strong);
}

.browser-top strong {
  margin-left: 6px;
  font-size: 0.72rem;
  font-weight: 800;
}

.main-screen {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 420ms ease;
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
}

.detail-screen {
  display: none;
}

.detail-screen span {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-screen img {
  width: 100%;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  background: var(--surface);
}

.media-canvas-abstract {
  align-content: center;
}

.abstract-window {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  min-height: 320px;
  display: grid;
  align-content: end;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 18%, transparent), color-mix(in srgb, var(--accent) 8%, transparent)),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--foreground) 5%, transparent) 0 1px, transparent 1px 56px),
    var(--surface);
  box-shadow: 0 18px 44px color-mix(in srgb, #000 20%, transparent);
}

.abstract-window span,
.abstract-detail span {
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.abstract-window strong {
  display: block;
  max-width: 420px;
  margin-top: 12px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.abstract-flow {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.abstract-flow i {
  height: 8px;
  flex: 1;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 38%, transparent);
}

.abstract-detail {
  padding: 12px;
}

.abstract-detail strong {
  display: block;
  margin-top: 8px;
  font-size: 0.94rem;
}

.project-placeholder {
  min-height: 100%;
  display: grid;
  align-content: end;
  padding: 36px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 20%, transparent), color-mix(in srgb, var(--accent) 8%, transparent)),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--foreground) 4%, transparent) 0 1px, transparent 1px 72px),
    var(--surface-elevated);
}

.project-placeholder strong {
  display: block;
  max-width: 420px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 0.98;
}

.project-placeholder span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--cyan);
  font-weight: 800;
}

.project-detail {
  display: grid;
  align-content: center;
  gap: 20px;
}

.project-brief h3 {
  margin-top: 18px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.35rem, 5vw, 5.8rem);
  line-height: 0.93;
  letter-spacing: 0;
  text-transform: uppercase;
}

.project-description {
  max-width: 560px;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.project-services {
  margin-top: 18px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.project-meta div {
  padding: 12px 14px;
  background: color-mix(in srgb, var(--surface-elevated) 76%, transparent);
}

.project-meta dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-meta dd {
  margin-top: 4px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.case-study-notes { display: none;
  display: grid;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.case-study-notes div {
  display: grid;
  grid-template-columns: minmax(112px, 0.34fr) 1fr;
  gap: 18px;
}

.case-study-notes span {
  color: var(--cyan);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-study-notes p {
  color: var(--muted);
  font-size: 0.92rem;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  align-items: end;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  color: var(--cyan);
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.42);
  transform-origin: left;
  opacity: 0.55;
  transition: transform 220ms ease, opacity 220ms ease;
}

.text-link:hover {
  color: var(--ink);
  transform: translateX(2px);
}

.text-link:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.link-arrow {
  display: inline-flex;
  transition: transform 180ms ease;
}

.text-link:hover .link-arrow,
.button:hover .link-arrow,
.credit-links a:hover .link-arrow,
.person-links a:hover .link-arrow,
.project-feature:hover .project-actions .link-arrow {
  transform: translate(3px, -3px);
}

.no-link-note {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.project-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  grid-column: 1 / -1;
}

.project-credits {
  margin-top: clamp(24px, 4vw, 38px);
}

.credit-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.credit-heading p,
.credit-heading span,
.credit-index {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-credit-list {
  display: grid;
}

.project-credit-row {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: clamp(14px, 2.4vw, 30px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: clamp(18px, 3vw, 28px) 0;
  overflow: hidden;
  transition: border-color 220ms ease, background-color 220ms ease;
}

.project-credit-row:hover {
  border-bottom-color: var(--line-strong);
  background: color-mix(in srgb, var(--surface) 34%, transparent);
}

.credit-main h4 {
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.28rem, 2.2vw, 2rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 220ms ease, color 220ms ease;
}

.project-credit-row:hover .credit-main h4 {
  transform: translateX(4px);
}

.credit-main p {
  margin-top: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.credit-main > span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.credit-links,
.person-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.credit-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.credit-link-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: color-mix(in srgb, var(--ink) 78%, var(--muted));
  transition: color 180ms ease, transform 220ms ease;
}

.credit-links a:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--surface-elevated) 88%, var(--interactive) 8%);
  transform: translateY(-1px);
}

.credit-links a:hover .link-arrow {
  color: var(--accent);
  transform: translate(3px, -3px);
}

.credit-links a:hover .credit-link-icon {
  color: var(--accent);
  transform: translateY(-1px);
}

.credit-monogram {
  color: color-mix(in srgb, var(--ink) 18%, transparent);
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: 0;
  transition: transform 260ms ease, color 220ms ease;
}

.project-credit-row:hover .credit-monogram {
  color: color-mix(in srgb, var(--ink) 28%, transparent);
  transform: translateX(-4px) rotate(-1.4deg);
}

.project-case-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding: clamp(18px, 3vw, 28px) 0;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 220ms ease, background-color 220ms ease;
}

.project-case-row span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-case-row strong {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1;
  text-transform: uppercase;
  transition: transform 220ms ease, color 220ms ease;
}

.project-case-row i {
  color: var(--accent);
  font-style: normal;
  font-weight: 800;
  transition: transform 220ms ease;
}

.project-case-row:hover {
  border-bottom-color: var(--line-strong);
  background: color-mix(in srgb, var(--surface) 34%, transparent);
}

.project-case-row:hover strong {
  color: var(--ink);
  transform: translateX(4px);
}

.project-case-row:hover i {
  transform: translate(4px, -4px);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(42px, 7vw, 86px);
}

.project-tile {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.project-tile:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.tile-image {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-elevated) 82%, var(--background));
  padding: 14px;
  transition: background-color 220ms ease;
}

.tile-image .media-canvas {
  min-height: 0;
}

.tile-image .browser-shell {
  width: 100%;
  border-radius: 14px;
  transform: none;
}

.tile-image .browser-top {
  min-height: 28px;
}

.tile-image .main-screen {
  max-height: none;
}

.tile-image .detail-screen {
  display: none;
}

.tile-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 420ms ease;
  border-radius: 12px;
  background: var(--surface);
}

.tile-body {
  padding: 18px;
}

.tile-body h3 {
  font-family: "Manrope", sans-serif;
  font-size: 1.12rem;
  line-height: 1.15;
}

.tile-body p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.tile-body .project-actions {
  justify-content: flex-start;
  margin-top: 16px;
}

.tile-body .project-credits {
  margin-top: 16px;
}

.services-list {
  display: grid;
  border-block: 1px solid var(--line);
}

.services-list article {
  position: relative;
  display: grid;
  grid-template-columns: 54px 42px minmax(190px, 0.55fr) 1fr 42px;
  gap: 22px;
  align-items: center;
  min-height: 108px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  transition: background-color 220ms ease;
}

.services-list article:last-child {
  border-bottom: 0;
}

.services-list article:hover {
  background: color-mix(in srgb, var(--surface) 46%, transparent);
  border-bottom-color: var(--line-strong);
}

.service-num {
  color: var(--cyan);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.service-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--brand);
  transition: transform 260ms ease, color 220ms ease;
}

.services-list article:hover .service-icon {
  color: var(--accent);
  transform: rotate(-4deg) scale(1.05);
}

.services-list h3 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.18rem, 2vw, 1.65rem);
  line-height: 1.1;
  transition: transform 220ms ease;
}

.services-list article:hover h3 {
  transform: translateX(4px);
}

.services-list p {
  color: var(--muted);
  max-width: 560px;
}

.service-arrow {
  color: var(--muted);
  font-weight: 800;
  justify-self: end;
  transition: transform 220ms ease, color 220ms ease;
}

.services-list article:hover .service-arrow {
  color: var(--accent);
  transform: translate(4px, -4px);
}

.process-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 58px;
  align-items: start;
}

.process-rail {
  display: grid;
  gap: 14px;
}

.process-rail article {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  background: color-mix(in srgb, var(--surface) 64%, transparent);
}

.process-rail span {
  display: block;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
}

.process-rail p {
  margin-top: 6px;
  color: var(--muted);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 58px;
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 1rem;
}

.founder-profile {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 6vw, 74px);
  align-items: stretch;
  margin-top: clamp(48px, 8vw, 92px);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  padding: clamp(34px, 6vw, 72px) 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--surface) 38%, transparent), transparent 58%),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--foreground) 4%, transparent) 0 1px, transparent 1px 54px);
}

.founder-info {
  max-width: 820px;
}

.founder-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 52px);
  align-items: end;
  margin-top: 18px;
}

.founder-name {
  font-family: "Manrope", sans-serif;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.9;
  text-transform: uppercase;
  transition: transform 300ms ease;
}

.founder-profile:hover .founder-name {
  transform: translateX(2px);
}

.founder-avatar {
  color: color-mix(in srgb, var(--ink) 16%, transparent);
  font-family: "Manrope", sans-serif;
  font-size: clamp(4.5rem, 12vw, 11rem);
  font-weight: 800;
  line-height: 0.75;
  letter-spacing: 0;
  transition: transform 300ms ease, color 300ms ease;
}

.founder-profile:hover .founder-avatar {
  color: color-mix(in srgb, var(--ink) 24%, transparent);
  transform: translateX(-5px) rotate(-1.4deg);
}

.founder-role {
  margin-top: 18px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.founder-desc {
  max-width: 680px;
  margin-top: 28px;
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  color: var(--muted);
  line-height: 1.55;
}

.founder-skills {
  margin-top: 24px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.founder-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease, transform 200ms ease;
}

.founder-links a svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: color-mix(in srgb, var(--ink) 78%, var(--muted));
  transition: color 200ms ease, transform 200ms ease;
}

.founder-links a .link-arrow {
  transition: transform 200ms ease;
}

.founder-links a:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--surface-elevated) 88%, var(--interactive) 7%);
  transform: translateY(-1px);
}

.founder-links a:hover svg {
  color: var(--accent);
  transform: translateY(-1px);
}

.founder-links a:hover .link-arrow {
  color: var(--accent);
  transform: translate(3px, -3px);
}

.team-statement {
  align-self: stretch;
  display: grid;
  align-content: space-between;
  border-left: 1px solid var(--line);
  padding-left: clamp(22px, 4vw, 42px);
}

.team-headline {
  max-width: 620px;
  margin-top: 18px;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.6rem, 5.7vw, 5.7rem);
  font-weight: 800;
  line-height: 0.94;
  text-transform: uppercase;
}

.team-orbit {
  position: relative;
  min-height: clamp(280px, 30vw, 390px);
  margin: clamp(28px, 5vw, 56px) 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--interactive) 11%, transparent), transparent 15rem),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--foreground) 5%, transparent) 0 1px, transparent 1px 44px);
}

.team-orbit::before,
.team-orbit::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.team-orbit::after {
  inset: 32% 24%;
  opacity: 0.6;
}

.team-orbit span,
.team-orbit strong {
  position: absolute;
  z-index: 1;
  transition: transform 260ms ease, color 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.team-orbit span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  font-size: clamp(0.64rem, 1vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-orbit strong {
  left: 50%;
  top: 50%;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 0.92;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

.team-orbit span:nth-child(1) {
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
}

.team-orbit span:nth-child(2) {
  left: 3%;
  top: 32%;
}

.team-orbit span:nth-child(3) {
  right: 5%;
  top: 32%;
}

.team-orbit span:nth-child(5) {
  left: 8%;
  bottom: 20%;
}

.team-orbit span:nth-child(6) {
  right: 8%;
  bottom: 20%;
}

.team-orbit span:nth-child(7) {
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%);
}

.team-orbit:hover span {
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--surface-elevated) 88%, var(--interactive) 7%);
}

.team-statement > p:not(.kicker) {
  max-width: 58ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.6;
}

.team-link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: clamp(28px, 4vw, 42px);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 220ms ease, background-color 220ms ease;
}

.team-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}

.team-link .link-arrow {
  color: var(--accent);
  transition: transform 220ms ease;
}

.team-link:hover {
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--surface) 30%, transparent);
}

.team-link:hover::after {
  transform: scaleX(1);
}

.team-link:hover .link-arrow {
  transform: translate(4px, -4px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
  gap: 58px;
  align-items: start;
}

.contact-copy > p {
  margin-top: 20px;
}

.direct-links {
  display: grid;
  gap: 0;
  margin-top: clamp(28px, 5vw, 48px);
  border-top: 1px solid var(--line);
}

.contact-row {
  position: relative;
  display: grid;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: clamp(18px, 3vw, 28px) 0;
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 220ms ease, background-color 220ms ease;
}

.contact-row::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.contact-row-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-row-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.contact-row-icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: color-mix(in srgb, var(--ink) 78%, var(--muted));
  transition: transform 220ms ease, color 220ms ease;
}

.contact-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.12rem, 2.1vw, 1.65rem);
  font-weight: 800;
  line-height: 1.08;
  transition: transform 220ms ease, color 220ms ease;
}

.contact-row i {
  color: var(--accent);
  font-style: normal;
  font-weight: 800;
  transition: transform 220ms ease;
}

.contact-row:hover {
  border-bottom-color: var(--line-strong);
  background: color-mix(in srgb, var(--surface) 32%, transparent);
}

.contact-row:hover::before {
  transform: scaleX(1);
}

.contact-row:hover .contact-row-icon {
  color: var(--accent);
  transform: translateY(-1px) scale(1.04);
}

.contact-row:hover strong {
  transform: translateX(4px);
}

.contact-row:hover i {
  transform: translate(4px, -4px);
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface-elevated) 78%, transparent);
  color: var(--ink);
  padding: 14px 15px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 4px rgba(77, 141, 255, 0.14);
}

.field .input-error {
  border-color: #ff8a80;
}

.form-status {
  min-height: 24px;
  color: var(--muted);
  font-weight: 800;
}

.form-status.error {
  color: #ffb4ac;
}

.form-status.success,
.form-status a {
  color: #88e6bb;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  background: color-mix(in srgb, var(--background) 94%, #000);
}

.cursor-dot {
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  border: 1px solid var(--interactive);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width 360ms cubic-bezier(0.16, 1, 0.3, 1), 
              height 360ms cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 360ms ease, 
              border-color 360ms ease, 
              background-color 360ms ease,
              box-shadow 360ms ease;
}

.cursor-dot::after {
  content: attr(data-label) " \2197";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 240ms ease, transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cursor-dot.is-active {
  opacity: 1;
}

.cursor-dot.is-project {
  width: 78px;
  height: 78px;
  background: var(--interactive);
  border-color: transparent;
  box-shadow: 0 16px 42px color-mix(in srgb, var(--interactive) 46%, transparent);
  backdrop-filter: none;
}

.cursor-dot.is-project::after {
  opacity: 1;
  transform: scale(1);
}

html.is-theme-changing *,
html.is-theme-changing *::before,
html.is-theme-changing *::after {
  transition-property: background-color, color, border-color, box-shadow, opacity, transform;
  transition-duration: 280ms;
  transition-timing-function: ease;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  object-fit: cover;
  background: var(--white);
}

.footer-brand p,
.footer-grid > p {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

[data-animate].will-animate,
.project-feature.will-animate,
.project-tile.will-animate,
.services-list article.will-animate,
.process-rail article.will-animate,
.person-row.will-animate,
.about-copy.will-animate,
.contact-copy.will-animate,
.contact-form.will-animate,
.editorial-grid > .will-animate {
  opacity: 0;
  transform: translateY(24px);
}

.is-visible {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 520ms ease, transform 520ms ease;
}

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

  .system-canvas {
    opacity: 0.22;
  }

  [data-animate],
  .project-feature,
  .project-tile,
  .services-list article,
  .process-rail article,
  .person-row,
  .about-copy,
  .contact-copy,
  .contact-form,
  .editorial-grid > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .editorial-grid,
  .process-wrap,
  .contact-grid,
  .founder-profile {
    grid-template-columns: 1fr;
  }

  .team-statement {
    align-self: start;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 28px;
  }

  .project-feature,
  .project-feature:nth-child(even),
  .project-moment-2,
  .project-moment-3 {
    grid-template-columns: 1fr;
  }

  .project-brief {
    position: static;
  }

  .project-moment-2 .project-media,
  .project-moment-2 .project-brief,
  .project-moment-2 .project-detail,
  .project-moment-3 .project-media {
    grid-column: auto;
    grid-row: auto;
  }

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

  .project-actions {
    justify-content: flex-start;
  }

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

  .services-list article {
    grid-template-columns: 44px 38px 1fr 38px;
  }

  .services-list p {
    grid-column: 3 / -1;
  }
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: color-mix(in srgb, var(--surface) 96%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
    padding: 10px;
  }

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

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

  .menu-toggle {
    display: grid;
  }

  .nav-cta {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.55rem, 11vw, 4rem);
  }

  .about-layout,
  .project-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .person-row {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .person-links {
    grid-column: 2;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .container,
  .nav-shell {
    width: min(100% - 32px, 1220px);
  }

  section {
    padding: 82px 0;
  }

  .brand span {
    display: none;
  }

  .hero {
    padding-top: 112px;
    min-height: auto;
  }

  .hero-actions .button,
  .project-actions .button,
  .contact-form .button {
    width: 100%;
  }

  .hero-proof,
  .contact-form {
    padding: 20px;
  }

  .project-feature {
    border-radius: 22px;
  }

  .project-media {
    border-radius: 18px;
  }

  .founder-profile {
    margin-top: 48px;
    padding: 34px 0;
  }

  .founder-title-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .founder-avatar {
    justify-self: start;
    font-size: clamp(4rem, 28vw, 7rem);
  }

  .team-headline {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }

  .team-orbit {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 18px 0;
  }

  .team-orbit::before,
  .team-orbit::after {
    display: none;
  }

  .team-orbit span,
  .team-orbit strong,
  .team-orbit span:nth-child(1),
  .team-orbit span:nth-child(2),
  .team-orbit span:nth-child(3),
  .team-orbit span:nth-child(5),
  .team-orbit span:nth-child(6),
  .team-orbit span:nth-child(7) {
    position: static;
    transform: none;
  }

  .team-orbit strong {
    grid-column: 1 / -1;
    padding: 18px 0 10px;
    text-align: left;
  }

  .contact-row {
    padding: 18px 0;
  }

  .contact-row-main {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
  }

  .contact-row-icon {
    width: 19px;
    height: 19px;
  }

  .contact-row strong {
    font-size: clamp(1rem, 5.8vw, 1.28rem);
  }

  .project-brief h3 {
    font-size: clamp(2rem, 12vw, 3.7rem);
  }

  .project-credit-row {
    grid-template-columns: 1fr auto;
    gap: 12px 18px;
    align-items: start;
  }

  .credit-index {
    grid-column: 1 / -1;
  }

  .credit-main h4 {
    font-size: clamp(1.2rem, 8vw, 1.7rem);
  }

  .credit-monogram {
    font-size: clamp(2.8rem, 18vw, 4.4rem);
  }

  .credit-links {
    gap: 8px;
  }

  .project-case-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 16px;
  }

  .project-case-row span {
    grid-column: 1 / -1;
  }

  .project-footer,
  .person-row {
    gap: 14px;
  }

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

  .services-list article {
    grid-template-columns: 38px 1fr 28px;
    gap: 14px;
    min-height: auto;
    padding: 18px 0;
  }

  .service-icon {
    display: none;
  }

  .services-list p {
    grid-column: 2 / -1;
  }

  

  .person-row {
    grid-template-columns: 54px 1fr;
    padding: 20px 0;
  }

  .project-meta,
  .case-study-notes {
    grid-template-columns: 1fr;
  }

  .case-study-notes div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .theme-switch {
    gap: 2px;
    padding: 2px;
  }

  .theme-option {
    width: 31px;
    height: 31px;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot {
    display: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  [data-project-media] {
    cursor: none;
  }
}


/* SPA PAGE VIEWS */
.page-view {
  display: none;
  
}
.page-view.is-active {
  display: block;
}

/* ARCHIVE PAGE */
.archive-section {
  padding: 140px 0 80px;
}
.archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 60px;
}
@media (min-width: 900px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 40px;
  }
  .archive-grid .project-tile.is-featured {
    grid-column: span 2;
  }
}

/* CASE STUDY PAGE */
.case-study-content {
  padding-top: calc(var(--nav-height) + 56px);
  padding-bottom: 72px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  margin-bottom: 40px;
  transition: color 200ms ease;
}
.back-link:hover {
  color: var(--ink);
}
.cs-title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.cs-positioning {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--muted);
  margin-top: 24px;
  max-width: 800px;
}
.cs-hero {
  width: min(100% - 48px, 1220px);
  margin: clamp(36px, 6vw, 60px) auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(10px, 1.8vw, 18px);
  background: var(--surface-elevated);
  box-shadow: var(--shadow);
}
.cs-hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top center;
  border-radius: 12px;
  background: var(--surface);
}
.cs-metadata {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding-bottom: clamp(32px, 5vw, 48px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(40px, 6vw, 64px);
}
@media (min-width: 768px) {
  .cs-metadata {
    grid-template-columns: repeat(4, 1fr);
  }
}
.cs-meta-item dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 700;
}
.cs-meta-item dd {
  font-weight: 600;
  color: var(--ink);
}
.cs-body {
  display: grid;
  gap: clamp(48px, 6vw, 88px);
}

.cs-section {
  margin-bottom: 0;
  max-width: min(72ch, 900px);
}
.cs-number {
  font-size: 0.85rem;
  color: var(--cyan);
  font-weight: 800;
  margin-bottom: 8px; /* Tighter */
}
.cs-section h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin-bottom: 20px; /* Tighter */
  text-transform: uppercase;
}
.cs-section p {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.cs-section ul {
  padding-left: 20px;
  margin-bottom: 24px;
  color: var(--muted);
}
.cs-section li {
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.cs-product-grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}
.cs-product-grid img {
  width: 100%;
  border-radius: 8px;
  background: var(--surface-elevated);
}
.cs-credits {
  display: block;
  margin-top: 0;
}
.cs-next {
  margin-top: clamp(64px, 8vw, 112px);
  padding: clamp(48px, 7vw, 72px) 0;
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}
.cs-next p {
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.cs-next h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  transition: color 300ms ease;
}
.cs-next:hover h2 {
  color: var(--cyan);
}


/* ==========================================================================
   PROJECT CARD INTEL & CHIPS (feat/portfolio-update)
   ========================================================================== */

.project-hook {
  margin-top: 12px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}

.project-card-intel {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 65%, transparent);
  border: 1px solid var(--line);
}

.project-intel-block {
  display: grid;
  gap: 4px;
}

.project-intel-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.project-intel-block p {
  margin: 0 !important;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

.project-highlights {
  margin-top: 16px;
}

.project-highlights .project-intel-label {
  display: block;
  margin-bottom: 8px;
}

.project-highlights-list,
.cs-highlights-list {
  padding-left: 20px;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

.project-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.project-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.84rem;
  border-radius: 12px;
}

/* PLACEHOLDER HERO (VidaAI & No-image projects) */
.cs-placeholder-hero {
  width: 100%;
  padding: clamp(48px, 8vw, 84px) clamp(24px, 4vw, 48px);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 28rem),
    color-mix(in srgb, var(--surface-elevated) 88%, var(--background));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  text-align: center;
}

.cs-placeholder-inner {
  max-width: 680px;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.cs-placeholder-kicker {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.cs-placeholder-inner h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--ink);
}

.cs-placeholder-inner p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0;
}

.cs-placeholder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

.abstract-placeholder-note {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ==========================================================================
   HOW I WORK STRIP & CLOSING CTA
   ========================================================================== */

.how-i-work-section {
  padding: clamp(60px, 8vw, 100px) 0;
  border-block: 1px solid var(--line);
}

.how-i-work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.how-step {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.how-step:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--surface-elevated) 88%, transparent);
}

.step-num {
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 12px;
}

.step-content h3 {
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.step-content p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

/* Closing CTA Card */
.closing-cta-section {
  padding: clamp(40px, 6vw, 80px) 0;
}

.closing-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(36px, 5vw, 56px);
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 20%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 22rem),
    color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: var(--shadow);
}

.closing-cta-content {
  max-width: 640px;
}

.closing-cta-title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.12;
  margin-top: 10px;
  color: var(--ink);
}

.closing-cta-desc {
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
}

.closing-cta-action {
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 980px) {
  .how-i-work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .closing-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 580px) {
  .how-i-work-grid {
    grid-template-columns: 1fr;
  }
}
