:root {
  color-scheme: light;
  --ink: #111318;
  --ink-soft: #394150;
  --muted: #687385;
  --line: #dfe3e8;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --panel-2: #f2f6f3;
  --night: #111820;
  --cyan: #38bdf8;
  --blue: #2563eb;
  --green: #12b981;
  --amber: #f2a51a;
  --coral: #ef6a52;
  --shadow: 0 24px 80px rgba(17, 24, 32, 0.12);
  --soft-shadow: 0 18px 54px rgba(17, 24, 32, 0.1);
  --header-bg: rgba(251, 250, 246, 0.78);
  --hero-wash: rgba(251, 250, 246, 1);
  --radius: 8px;
  --content: min(1180px, calc(100vw - 40px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f8fafc;
  --ink-soft: #cbd5e1;
  --muted: #91a0b6;
  --line: rgba(226, 232, 240, 0.14);
  --paper: #0d1117;
  --panel: #121820;
  --panel-2: #17202b;
  --night: #05070b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --soft-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
  --header-bg: rgba(13, 17, 23, 0.78);
  --hero-wash: rgba(13, 17, 23, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(18, 185, 129, 0.08), transparent 340px),
    var(--paper);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  transition: background-color 220ms ease, color 220ms ease;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  color: #ffffff;
  background: var(--blue);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: #ffffff;
  background: var(--ink);
  border-radius: var(--radius);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--content);
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(17, 19, 24, 0.1);
  border-radius: 999px;
  background: var(--header-bg);
  box-shadow: 0 14px 48px rgba(17, 19, 24, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 20px rgba(37, 99, 235, 0.18));
}

.brand span {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand strong {
  font-size: 0.95rem;
  font-weight: 760;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 650;
}

.nav a {
  border-radius: 999px;
  padding: 9px 12px;
  transition: background 180ms ease, color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(17, 19, 24, 0.06);
}

[data-theme="dark"] .nav a:hover,
[data-theme="dark"] .nav a:focus-visible,
[data-theme="dark"] .nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.09);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 19, 24, 0.1);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 76%, transparent);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(17, 19, 24, 0.1);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 19, 24, 0.1);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 76%, transparent);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(17, 19, 24, 0.1);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.menu-toggle span {
  top: 20px;
}

.menu-toggle::before {
  top: 14px;
}

.menu-toggle::after {
  top: 26px;
}

.theme-toggle-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset -6px -4px 0 color-mix(in srgb, var(--paper) 80%, transparent);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

[data-theme="dark"] .theme-toggle-icon {
  transform: rotate(150deg);
  background: #f2a51a;
  box-shadow: 0 0 0 5px rgba(242, 165, 26, 0.14);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(17, 19, 24, 0.18);
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  padding: 134px 0 48px;
  isolation: isolate;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 28%, rgba(56, 189, 248, 0.18), transparent 24%),
    radial-gradient(circle at 74% 14%, rgba(242, 165, 26, 0.16), transparent 22%),
    linear-gradient(90deg, var(--hero-wash) 0%, color-mix(in srgb, var(--hero-wash) 98%, transparent) 43%, color-mix(in srgb, var(--hero-wash) 36%, transparent) 72%, color-mix(in srgb, var(--hero-wash) 16%, transparent) 100%);
  pointer-events: none;
}

.hero-inner {
  width: var(--content);
  margin: 0 auto;
  padding-right: clamp(0px, 32vw, 420px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.55rem, 4.8vw, 5.35rem);
  line-height: 1;
  font-weight: 860;
}

.hero h1 span {
  display: inline;
}

.hero-copy {
  max-width: 690px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2.1vw, 1.34rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 820;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 18px 42px rgba(17, 19, 24, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 22px 54px rgba(17, 19, 24, 0.22);
}

.button-secondary {
  color: var(--ink);
  background: color-mix(in srgb, var(--panel) 76%, transparent);
  border-color: rgba(17, 19, 24, 0.12);
  backdrop-filter: blur(14px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 670px;
  margin: 30px 0 0;
}

.hero-metrics div {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(17, 19, 24, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 42px rgba(17, 19, 24, 0.07);
  backdrop-filter: blur(16px);
}

.hero-metrics dt {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 760;
}

.hero-metrics dd {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.6rem);
  font-weight: 850;
}

.trust-band {
  border-block: 1px solid rgba(17, 19, 24, 0.1);
  background: var(--panel);
  overflow: hidden;
}

.trust-track {
  display: flex;
  gap: clamp(16px, 2.2vw, 36px);
  width: var(--content);
  margin: 0 auto;
  padding: 18px 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 780;
  white-space: nowrap;
}

.trust-track {
  scrollbar-width: none;
}

.trust-track::-webkit-scrollbar {
  display: none;
}

.real-samples-hero {
  min-height: 82svh;
}

.live-collage {
  position: relative;
  min-height: 470px;
}

.mini-browser {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 420ms ease, box-shadow 420ms ease;
}

.mini-browser::before {
  content: "";
  display: block;
  height: 26px;
  background:
    radial-gradient(circle at 18px 13px, #ef4444 0 4px, transparent 5px),
    radial-gradient(circle at 34px 13px, #f59e0b 0 4px, transparent 5px),
    radial-gradient(circle at 50px 13px, #22c55e 0 4px, transparent 5px),
    color-mix(in srgb, var(--panel) 88%, var(--ink) 12%);
}

.mini-browser img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  animation: preview-pan 18s ease-in-out infinite alternate;
}

.mini-browser.two img {
  animation-duration: 21s;
}

.mini-browser.three img {
  animation-duration: 16s;
}

@keyframes preview-pan {
  from {
    object-position: top;
  }

  to {
    object-position: center 82%;
  }
}

.mini-browser.one {
  right: 0;
  top: 24px;
  width: 76%;
  height: 260px;
  transform: perspective(1200px) rotateY(-12deg) rotateX(5deg);
}

.mini-browser.two {
  left: 0;
  top: 160px;
  width: 62%;
  height: 260px;
  transform: perspective(1200px) rotateY(12deg) rotateX(4deg);
}

.mini-browser.three {
  right: 22px;
  bottom: 0;
  width: 56%;
  height: 230px;
  transform: perspective(1200px) rotateY(-7deg) rotateX(6deg);
}

.section.live-projects {
  width: 100%;
  max-width: none;
  padding: 70px 0 0;
}

.live-projects {
  display: grid;
  gap: 0;
}

.real-case {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  min-height: 245svh;
  padding: 0;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(56, 189, 248, 0.16), transparent 38%),
    linear-gradient(180deg, color-mix(in srgb, var(--panel) 90%, var(--cyan) 10%), var(--paper));
  box-shadow: none;
  isolation: isolate;
}

.real-case.reverse {
  grid-template-columns: 1fr;
}

.real-case.reverse .case-copy {
  order: 0;
}

.real-case.warm {
  background:
    radial-gradient(circle at 84% 12%, rgba(242, 165, 26, 0.2), transparent 36%),
    linear-gradient(180deg, color-mix(in srgb, var(--panel) 90%, var(--amber) 10%), var(--paper));
}

.real-case.calm {
  background:
    radial-gradient(circle at 78% 18%, rgba(239, 106, 82, 0.18), transparent 36%),
    linear-gradient(180deg, color-mix(in srgb, var(--panel) 90%, var(--coral) 10%), var(--paper));
}

.real-case.product {
  background:
    radial-gradient(circle at 84% 16%, rgba(37, 99, 235, 0.2), transparent 36%),
    linear-gradient(180deg, color-mix(in srgb, var(--panel) 90%, var(--blue) 10%), var(--paper));
}

.real-case.offer {
  background:
    radial-gradient(circle at 84% 16%, rgba(18, 185, 129, 0.2), transparent 36%),
    linear-gradient(180deg, color-mix(in srgb, var(--panel) 90%, var(--green) 10%), var(--paper));
}

.case-copy {
  display: none;
  grid-area: 1 / 1;
  position: sticky;
  top: clamp(92px, 13svh, 140px);
  z-index: 4;
  width: min(540px, calc(100vw - 32px));
  margin: clamp(16px, 5vw, 72px);
  padding: clamp(18px, 2.8vw, 30px);
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--panel) 84%, transparent);
  box-shadow: 0 28px 90px rgba(17, 24, 32, 0.18);
  backdrop-filter: blur(18px);
  opacity: calc(1 - var(--case-copy-fade, 0));
  transform: translate3d(0, calc(var(--case-progress, 0) * -28px), 0) scale(calc(1 - var(--case-exit, 0) * 0.04));
  transition: opacity 120ms linear, transform 120ms linear;
}

.case-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 5rem);
  line-height: 0.98;
}

.case-copy p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.66;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
}

.case-stats div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 82%, transparent);
}

.case-stats dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.case-stats dd {
  margin: 6px 0 0;
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 900;
}

.site-device {
  grid-area: 1 / 1;
  position: sticky;
  top: 0;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  height: 100svh;
  border: 0;
  border-radius: 0;
  background: #0d1117;
  box-shadow: none;
  filter: blur(calc(var(--case-exit, 0) * 1.8px)) saturate(calc(1 - var(--case-exit, 0) * 0.18));
  opacity: calc(1 - var(--case-exit, 0) * 0.42);
  transform: translate3d(0, 0, 0);
  transform-origin: center top;
  transition: opacity 120ms linear, filter 120ms linear;
}

.site-device::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.16), transparent 27%, transparent 62%, rgba(255, 255, 255, 0.08)),
    linear-gradient(180deg, transparent 70%, rgba(13, 17, 23, 0.18));
  mix-blend-mode: screen;
}

.device-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  color: #cbd5e1;
  background: #101820;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.device-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
}

.device-top span:nth-child(2) {
  background: #f59e0b;
}

.device-top span:nth-child(3) {
  background: #22c55e;
}

.device-top strong {
  margin-left: 8px;
  font-weight: 800;
}

.site-viewport {
  position: relative;
  z-index: 1;
  height: calc(100svh - 42px);
  overflow: hidden;
  background: #ffffff;
}

.site-scroll-shot {
  display: block;
  width: 100%;
  margin-left: 0;
  max-width: none;
  transform: translate3d(0, var(--scroll-y, 0px), 0);
  will-change: opacity, transform, filter;
}

.site-scroll-main {
  position: relative;
  z-index: 1;
  opacity: calc(1 - var(--alt-opacity, 0));
  filter: saturate(calc(1 - var(--alt-opacity, 0) * 0.15)) blur(calc(var(--alt-opacity, 0) * 2px));
}

.site-scroll-alt {
  position: absolute;
  z-index: 3;
  inset: 0 auto auto 0;
  width: 100%;
  max-width: none;
  margin-left: 0;
  opacity: var(--alt-opacity, 0);
  transform: translate3d(0, var(--alt-scroll-y, 0px), 0) scale(calc(0.985 + var(--alt-opacity, 0) * 0.015));
  transform-origin: center top;
  filter: saturate(1.04) contrast(1.02);
}

.site-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 48%, rgba(13, 17, 23, calc(var(--alt-opacity, 0) * 0.16)) 100%),
    linear-gradient(180deg, rgba(13, 17, 23, calc(var(--alt-opacity, 0) * 0.12)), transparent 30%, transparent 72%, rgba(13, 17, 23, calc(var(--alt-opacity, 0) * 0.16)));
}

.dashboard-proof {
  border-top: 1px solid var(--line);
}

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

.dash-card,
.dash-chart {
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 18px;
  background: linear-gradient(145deg, #111820, #0d1620);
  color: #f8fafc;
  box-shadow: var(--shadow);
}

.dash-card {
  position: relative;
  min-height: 148px;
  padding: 24px;
}

.dash-card.wide {
  grid-column: span 2;
}

.dash-card span,
.dash-chart span {
  color: #94a3b8;
  font-weight: 850;
}

.dash-card strong {
  display: block;
  margin-top: 12px;
  font-size: 2.5rem;
  line-height: 1;
}

.dash-card i {
  position: absolute;
  right: 24px;
  top: 28px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
}

.dash-chart {
  min-height: 320px;
  padding: 24px;
}

.dash-chart:first-of-type {
  grid-column: span 2;
}

.dash-chart svg {
  width: 100%;
  height: 230px;
  margin-top: 18px;
}

.pie {
  width: 220px;
  height: 220px;
  margin: 28px auto 0;
  border-radius: 50%;
  background: conic-gradient(#12b981 0 26%, #2563eb 26% 38%, #f97316 38% 54%, #06b6d4 54% 64%, #ec4899 64% 82%, #8b5cf6 82% 94%, #f59e0b 94% 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7), 0 22px 60px rgba(0, 0, 0, 0.24);
}

.compact-library {
  padding-top: 40px;
}

.trust-track span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(18, 185, 129, 0.12);
}

.section {
  width: var(--content);
  margin: 0 auto;
  padding: 110px 0;
}

[id] {
  scroll-margin-top: 116px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.58fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading.compact {
  display: block;
  max-width: 780px;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.03;
  font-weight: 850;
}

.section-heading p:not(.eyebrow),
.pricing-intro p,
.quote-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.section-heading .eyebrow,
.pricing-intro .eyebrow,
.quote-copy .eyebrow {
  grid-column: 1 / -1;
}

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

.service-card,
.proof-item,
.price-card,
.sample-card,
details {
  border: 1px solid rgba(17, 19, 24, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 58px rgba(17, 19, 24, 0.08);
}

.service-card {
  min-height: 330px;
  padding: 24px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 48px;
  color: #ffffff;
  background: var(--ink);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 850;
}

.service-card:nth-child(2) .service-icon {
  background: var(--blue);
}

.service-card:nth-child(3) .service-icon {
  background: var(--green);
}

.service-card:nth-child(4) .service-icon {
  background: var(--amber);
}

.service-card h3,
.proof-item h3,
.sample-card h3,
.timeline h3,
.price-card h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
  font-size: 1.18rem;
}

.service-card p,
.proof-item p,
.sample-card p,
.timeline p,
.price-card li,
details p {
  color: var(--ink-soft);
  line-height: 1.62;
}

.service-card p {
  margin: 14px 0 0;
  font-size: 0.97rem;
}

.section-proof {
  width: 100%;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background: var(--night);
  color: #ffffff;
}

.proof-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.45fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.proof-panel h2 {
  color: #ffffff;
}

.proof-panel p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
  line-height: 1.65;
}

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

.proof-item {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.proof-item span {
  display: inline-flex;
  margin-bottom: 62px;
  color: var(--cyan);
  font-weight: 850;
}

.proof-item h3 {
  color: #ffffff;
}

.proof-item p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.sample-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 14px;
}

.sample-card {
  min-height: 430px;
  display: grid;
  align-content: space-between;
  overflow: hidden;
  padding: 22px;
}

.sample-card-dark {
  color: #ffffff;
  background: #121820;
}

.sample-card-light {
  background: #ffffff;
}

.sample-card-warm {
  background: #fff7e8;
}

.sample-card h3 {
  max-width: 390px;
  font-size: 1.35rem;
}

.sample-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.sample-card-dark p {
  color: rgba(255, 255, 255, 0.62);
}

.sample-card-dark h3 {
  color: #ffffff;
}

.sample-visual {
  position: relative;
  min-height: 230px;
  border-radius: var(--radius);
  overflow: hidden;
  transform: perspective(900px) rotateX(7deg) rotateY(-10deg);
  transform-origin: center;
  box-shadow: 0 38px 70px rgba(0, 0, 0, 0.2);
}

.visual-dashboard {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 64px, transparent 64px),
    #1a2230;
}

.visual-dashboard span,
.visual-landing span,
.visual-commerce span {
  position: absolute;
  border-radius: 6px;
}

.visual-dashboard span:nth-child(1) {
  inset: 24px 24px auto 88px;
  height: 56px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}

.visual-dashboard span:nth-child(2) {
  left: 88px;
  right: 24px;
  bottom: 28px;
  height: 96px;
  background: rgba(255, 255, 255, 0.1);
}

.visual-dashboard span:nth-child(3) {
  left: 24px;
  top: 24px;
  width: 36px;
  height: 36px;
  background: var(--cyan);
}

.visual-dashboard span:nth-child(4) {
  right: 40px;
  top: 102px;
  width: 120px;
  height: 74px;
  background: rgba(242, 165, 26, 0.82);
}

.visual-landing {
  background: linear-gradient(135deg, #f8fafc, #e6f4ee);
}

.visual-landing span:nth-child(1) {
  left: 24px;
  top: 28px;
  width: 52%;
  height: 26px;
  background: var(--ink);
}

.visual-landing span:nth-child(2) {
  left: 24px;
  top: 72px;
  width: 72%;
  height: 72px;
  background: rgba(37, 99, 235, 0.13);
}

.visual-landing span:nth-child(3) {
  left: 24px;
  bottom: 28px;
  width: 132px;
  height: 44px;
  background: var(--green);
}

.visual-landing span:nth-child(4) {
  right: 24px;
  bottom: 28px;
  width: 94px;
  height: 94px;
  background: var(--amber);
  border-radius: 50%;
}

.visual-commerce {
  background: linear-gradient(135deg, #fffaf1, #fee8df);
}

.visual-commerce span:nth-child(1) {
  inset: 24px 24px auto 24px;
  height: 54px;
  background: #ffffff;
}

.visual-commerce span:nth-child(2),
.visual-commerce span:nth-child(3),
.visual-commerce span:nth-child(4) {
  top: 104px;
  width: calc((100% - 76px) / 3);
  height: 108px;
  background: rgba(239, 106, 82, 0.22);
}

.visual-commerce span:nth-child(2) {
  left: 24px;
}

.visual-commerce span:nth-child(3) {
  left: calc(38px + ((100% - 76px) / 3));
  background: rgba(18, 185, 129, 0.18);
}

.visual-commerce span:nth-child(4) {
  right: 24px;
  background: rgba(37, 99, 235, 0.14);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.timeline li {
  position: relative;
  padding: 22px;
  border-top: 3px solid var(--ink);
  background: rgba(255, 255, 255, 0.54);
}

.timeline span {
  display: inline-block;
  margin-bottom: 72px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.timeline p {
  margin: 12px 0 0;
}

.section-pricing {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.pricing-intro {
  position: sticky;
  top: 112px;
}

.pricing-grid {
  display: grid;
  gap: 14px;
}

.price-card {
  padding: 26px;
}

.price-card > img {
  width: 100%;
  height: auto;
  margin: 0 0 20px;
  object-fit: contain;
  object-position: center;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(17, 24, 32, 0.12);
}

.price-card.featured {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 32px 82px rgba(17, 19, 24, 0.22);
}

.plan-label {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.featured .plan-label {
  color: var(--cyan);
}

.featured h3,
.featured .price,
.featured li {
  color: #ffffff;
}

.price {
  margin: 16px 0 18px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  font-weight: 880;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 24px;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

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

details {
  padding: 0;
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 820;
  line-height: 1.3;
}

details p {
  margin: 0;
  padding: 0 24px 24px;
}

.section-quote {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(560px, 0.96fr);
  gap: 52px;
  align-items: start;
  padding-bottom: 120px;
}

.quote-copy {
  position: sticky;
  top: 112px;
}

.quote-copy h2 {
  margin-bottom: 20px;
}

.mail-link {
  display: inline-flex;
  margin-top: 28px;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(17, 19, 24, 0.1);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.quote-form span {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 780;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 42px 13px 14px;
  color: var(--ink);
  background: #f8faf9;
  border: 1px solid rgba(17, 19, 24, 0.12);
  border-radius: var(--radius);
  outline: none;
  font-size: 0.96rem;
  line-height: 1.35;
}

.quote-form select {
  white-space: nowrap;
  text-overflow: ellipsis;
}

.quote-form textarea {
  resize: vertical;
  min-height: 140px;
  padding-right: 14px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.full {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 760;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 28px;
  width: var(--content);
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid rgba(17, 19, 24, 0.12);
}

.footer-brand img {
  width: 38px;
  height: 38px;
}

.site-footer p {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--ink-soft);
  font-weight: 740;
}

.copyright {
  grid-column: 1 / -1;
  font-size: 0.86rem;
}

@media (max-width: 1020px) {
  .menu-toggle {
    display: inline-grid;
  }

  .nav {
    position: fixed;
    top: 78px;
    left: max(14px, calc((100vw - 1180px) / 2));
    right: max(14px, calc((100vw - 1180px) / 2));
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    text-align: center;
  }

  .hero {
    padding-top: 136px;
  }

  .hero-inner {
    padding-right: 0;
  }

  .hero-noise {
    background:
      radial-gradient(circle at 76% 20%, rgba(56, 189, 248, 0.24), transparent 26%),
      linear-gradient(180deg, rgba(251, 250, 246, 0.94) 0%, rgba(251, 250, 246, 0.7) 65%, rgba(251, 250, 246, 0.42) 100%);
  }

  .section-heading,
  .proof-panel,
  .section-pricing,
  .section-quote {
    grid-template-columns: 1fr;
  }

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

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

  .pricing-intro,
  .quote-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  :root {
    --content: calc(100vw - 28px);
  }

  .site-header {
    margin-top: 10px;
    padding: 8px;
  }

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

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .header-cta {
    width: 40px;
    min-height: 40px;
    padding: 0;
    font-size: 0;
  }

  .header-cta::before {
    content: "€";
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
    padding: 124px 0 56px;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 10.4vw, 3rem);
    line-height: 1.04;
  }

  .hero h1 span {
    display: block;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .button {
    width: 100%;
  }

  .hero-metrics,
  .service-grid,
  .proof-grid,
  .timeline,
  .faq-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    margin-top: 28px;
  }

  .trust-track {
    overflow: auto;
    padding-bottom: 20px;
  }

  .section {
    padding: 76px 0;
  }

  .section-proof {
    padding-inline: max(14px, calc((100vw - 1180px) / 2));
  }

  .service-card {
    min-height: auto;
  }

  .service-icon,
  .proof-item span,
  .timeline span {
    margin-bottom: 30px;
  }

  .sample-card {
    min-height: 390px;
  }

  .sample-visual {
    min-height: 210px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Multi-page layout and richer effects */
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 54px;
  align-items: center;
  width: var(--content);
  min-height: 72svh;
  margin: 0 auto;
  padding: 150px 0 72px;
}

.page-hero.no-media {
  grid-template-columns: minmax(0, 1fr);
  min-height: auto;
}

.page-hero-copy h1,
.quote-copy h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.35rem, 4.25vw, 4.55rem);
  line-height: 1.01;
  font-weight: 860;
  overflow-wrap: break-word;
}

.page-hero-copy p:not(.eyebrow),
.quote-copy p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 2vw, 1.25rem);
  line-height: 1.62;
}

.page-hero-media,
.sample-collage {
  position: relative;
  min-width: 0;
}

.page-hero-media img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-9deg) rotateX(4deg);
  transform-origin: center;
}

.sample-collage {
  min-height: 430px;
}

.sample-collage img {
  position: absolute;
  width: 74%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-10deg) rotateX(5deg);
}

.sample-collage img:nth-child(1) {
  right: 0;
  top: 0;
}

.sample-collage img:nth-child(2) {
  left: 0;
  top: 132px;
  width: 64%;
  transform: perspective(1200px) rotateY(11deg) rotateX(5deg);
}

.sample-collage img:nth-child(3) {
  right: 24px;
  bottom: 0;
  width: 56%;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 0.9fr);
  gap: 54px;
  align-items: center;
}

.section-copy h2 {
  margin-bottom: 22px;
}

.section-copy p:not(.eyebrow) {
  max-width: 640px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.66;
}

.text-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--blue);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.showcase-stack {
  position: relative;
  min-height: 460px;
}

.showcase-shot {
  position: absolute;
  width: min(520px, 78%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 260ms ease;
}

.showcase-shot.is-top {
  right: 0;
  top: 0;
  transform: perspective(1100px) rotateY(-12deg) rotateX(5deg);
}

.showcase-shot.is-middle {
  left: 0;
  top: 140px;
  width: min(440px, 68%);
  transform: perspective(1100px) rotateY(12deg) rotateX(5deg);
}

.showcase-shot.is-bottom {
  right: 46px;
  bottom: 0;
  width: min(380px, 58%);
  transform: perspective(1100px) rotateY(-5deg) rotateX(8deg);
}

.showcase-stack:hover .showcase-shot.is-top {
  transform: perspective(1100px) rotateY(-7deg) rotateX(3deg) translateY(-8px);
}

.showcase-stack:hover .showcase-shot.is-middle {
  transform: perspective(1100px) rotateY(8deg) rotateX(3deg) translateY(6px);
}

.showcase-stack:hover .showcase-shot.is-bottom {
  transform: perspective(1100px) rotateY(-2deg) rotateX(4deg) translateY(-4px);
}

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

.industry-card,
.route-card,
.service-detail,
.portfolio-item,
.process-board article,
.capability-grid div,
.factor-grid div,
.contact-proof div,
.delivery-panel div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  box-shadow: var(--soft-shadow);
}

.industry-card {
  display: grid;
  gap: 16px;
  min-width: 0;
  overflow: hidden;
  padding: 12px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.industry-card:hover,
.route-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--blue) 42%, var(--line));
  box-shadow: 0 28px 86px rgba(37, 99, 235, 0.16);
}

.industry-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: calc(var(--radius) - 2px);
}

.industry-card span {
  padding: 0 6px 8px;
  font-size: 1.02rem;
  font-weight: 850;
}

.realistic-library {
  padding-top: 72px;
}

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

.concept-card {
  position: relative;
  padding: 12px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel) 94%, transparent), color-mix(in srgb, var(--panel) 82%, var(--cyan) 8%));
  isolation: isolate;
}

.concept-card::after {
  content: "";
  position: absolute;
  inset: 12px 12px auto;
  height: 46%;
  border-radius: calc(var(--radius) - 2px);
  background: linear-gradient(105deg, transparent 8%, rgba(255, 255, 255, 0.34) 42%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 720ms ease;
  pointer-events: none;
  z-index: 1;
}

.concept-card:hover::after {
  transform: translateX(120%);
}

.concept-card img {
  height: auto;
  border-radius: 12px;
  box-shadow: 0 18px 54px rgba(17, 24, 32, 0.12);
  transition: transform 650ms ease, filter 650ms ease;
}

.concept-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.03);
}

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

.route-card {
  display: grid;
  min-height: 270px;
  align-content: space-between;
  padding: 24px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.route-card span {
  color: var(--blue);
  font-weight: 900;
}

.route-card h3 {
  margin: 66px 0 0;
  font-size: 1.28rem;
}

.route-card p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  line-height: 1.58;
}

.service-detail-grid,
.sample-library {
  display: grid;
  gap: 28px;
}

.service-detail,
.portfolio-item {
  display: grid;
  grid-template-columns: minmax(280px, 0.96fr) minmax(280px, 0.76fr);
  gap: 30px;
  align-items: center;
  overflow: hidden;
  padding: 18px;
}

.service-detail.reverse,
.portfolio-item:nth-child(even) {
  grid-template-columns: minmax(280px, 0.76fr) minmax(280px, 0.96fr);
}

.service-detail.reverse img,
.portfolio-item:nth-child(even) img {
  order: 2;
}

.service-detail img,
.portfolio-item img {
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  box-shadow: 0 14px 44px rgba(17, 24, 32, 0.12);
}

.service-detail div,
.portfolio-item div {
  padding: clamp(12px, 2vw, 30px);
}

.service-detail h2,
.portfolio-item h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 3.5rem);
  line-height: 1.04;
}

.service-detail p:not(.eyebrow),
.portfolio-item p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.66;
}

.capability-grid,
.factor-grid,
.contact-proof,
.process-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.capability-grid div,
.factor-grid div,
.contact-proof div,
.delivery-panel div {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.capability-grid strong,
.factor-grid strong,
.contact-proof strong,
.delivery-panel strong {
  font-size: 1.05rem;
}

.capability-grid span,
.factor-grid span,
.contact-proof span,
.delivery-panel span {
  color: var(--ink-soft);
  line-height: 1.58;
}

.process-board article {
  min-height: 310px;
  padding: 24px;
}

.process-board span {
  display: inline-flex;
  margin-bottom: 62px;
  color: var(--blue);
  font-weight: 900;
}

.process-board h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.15;
}

.process-board p {
  color: var(--ink-soft);
  line-height: 1.62;
}

.delivery-panel {
  display: grid;
  gap: 14px;
}

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

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

.pricing-page-grid .price-card h2 {
  margin: 0;
  font-size: 1.5rem;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) auto;
  gap: 28px;
  align-items: end;
  border-top: 1px solid var(--line);
}

.final-cta h2 {
  max-width: 900px;
}

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

.contact-page {
  padding-top: 150px;
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .proof-item,
[data-theme="dark"] .price-card,
[data-theme="dark"] .sample-card,
[data-theme="dark"] details,
[data-theme="dark"] .hero-metrics div,
[data-theme="dark"] .quote-form,
[data-theme="dark"] .timeline li {
  border-color: var(--line);
  background: color-mix(in srgb, var(--panel) 86%, transparent);
}

[data-theme="dark"] .button-primary,
[data-theme="dark"] .header-cta {
  color: #0d1117;
  background: #f8fafc;
}

[data-theme="dark"] .button-secondary {
  border-color: var(--line);
}

[data-theme="dark"] .hero,
[data-theme="dark"] .page-hero {
  background: radial-gradient(circle at 64% 18%, rgba(56, 189, 248, 0.14), transparent 34%), #0d1117;
}

[data-theme="dark"] .hero-noise {
  background:
    linear-gradient(90deg, rgba(13, 17, 23, 0.98) 0%, rgba(13, 17, 23, 0.92) 48%, rgba(13, 17, 23, 0.42) 78%, rgba(13, 17, 23, 0.18) 100%);
}

[data-theme="dark"] .quote-form input,
[data-theme="dark"] .quote-form select,
[data-theme="dark"] .quote-form textarea {
  color: var(--ink);
  background: #0d1117;
  border-color: var(--line);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero [data-reveal],
.hero [data-reveal] {
  opacity: 1;
  transform: none;
}

.real-case .case-copy[data-reveal].is-visible {
  opacity: calc(1 - var(--case-copy-fade, 0));
  transform: translate3d(0, calc(var(--case-progress, 0) * -28px), 0) scale(calc(1 - var(--case-exit, 0) * 0.04));
}

.real-case .site-device[data-reveal].is-visible {
  filter: blur(calc(var(--case-exit, 0) * 1.8px)) saturate(calc(1 - var(--case-exit, 0) * 0.18));
  opacity: calc(1 - var(--case-exit, 0) * 0.42);
  transform: translate3d(0, 0, 0);
}

@media (max-width: 1020px) {
  .page-hero,
  .split-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .industry-grid,
  .route-grid,
  .pricing-page-grid,
  .capability-grid,
  .factor-grid,
  .contact-proof,
  .process-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail,
  .service-detail.reverse,
  .portfolio-item,
  .portfolio-item:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-detail.reverse img,
  .portfolio-item:nth-child(even) img {
    order: 0;
  }

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

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

  .real-case,
  .real-case.reverse {
    grid-template-columns: 1fr;
    min-height: 235svh;
  }

  .real-case.reverse .case-copy {
    order: 0;
  }

  .case-copy,
  .site-device {
    position: sticky;
  }

  .site-viewport {
    height: calc(100svh - 42px);
  }

  .dash-card.wide,
  .dash-chart:first-of-type {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .header-actions {
    gap: 6px;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
  }

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

  .nav {
    grid-template-columns: 1fr 1fr;
    top: 72px;
  }

  .page-hero {
    min-height: auto;
    padding: 124px 0 62px;
  }

  .page-hero-copy h1,
  .quote-copy h1 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    line-height: 1.02;
  }

  .sample-collage,
  .showcase-stack {
    min-height: 360px;
  }

  .industry-grid,
  .route-grid,
  .pricing-page-grid,
  .capability-grid,
  .factor-grid,
  .contact-proof,
  .process-board {
    grid-template-columns: 1fr;
  }

  .route-card,
  .process-board article {
    min-height: auto;
  }

  .route-card h3,
  .process-board span {
    margin-top: 38px;
    margin-bottom: 0;
  }

  .service-detail,
  .portfolio-item {
    padding: 10px;
  }

  .service-detail div,
  .portfolio-item div {
    padding: 12px 8px 18px;
  }

  .final-cta .button {
    width: 100%;
  }

  .live-collage {
    min-height: 350px;
  }

  .mini-browser.one {
    width: 82%;
    height: 190px;
  }

  .mini-browser.two {
    top: 126px;
    width: 72%;
    height: 190px;
  }

  .mini-browser.three {
    width: 64%;
    height: 172px;
  }

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

  .real-case {
    min-height: 230svh;
    padding: 0;
    gap: 0;
  }

  .case-copy {
    display: none;
  }

  .case-stats {
    grid-template-columns: 1fr;
  }

  .site-viewport {
    height: calc(100svh - 42px);
  }

  .site-scroll-shot {
    width: 100%;
    margin-left: 0;
  }

  .dash-card.wide,
  .dash-chart:first-of-type {
    grid-column: span 1;
  }

  .dash-chart {
    min-height: 280px;
  }

  .pie {
    width: 180px;
    height: 180px;
  }
}
