:root {
  --bg: #080a0e;
  --bg-deep: #020306;
  --bg-ink: #0c0f15;
  --surface: rgba(255, 255, 255, 0.064);
  --surface-solid: #11151d;
  --surface-soft: rgba(255, 255, 255, 0.046);
  --text: #f5f7fb;
  --muted: #aab4c2;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --cyan: #4aa3ff;
  --blue: #176bff;
  --violet: #78aefe;
  --green: #72b7ff;
  --shadow: 0 28px 90px rgba(0, 8, 24, 0.48);
  --radius: 10px;
  --radius-lg: 18px;
  --max: 1240px;
  --nav-height: 74px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 4%, rgba(74, 163, 255, 0.16), transparent 31%),
    radial-gradient(circle at 10% 18%, rgba(23, 107, 255, 0.08), transparent 32%),
    linear-gradient(180deg, #111722 0%, var(--bg) 46%, var(--bg-deep) 100%);
  font-family: Geist, Aptos, "SF Pro Display", "SF Pro Text", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
}

img {
  display: block;
  width: 100%;
}

iframe {
  display: block;
}

:focus-visible {
  outline: 2px solid rgba(114, 183, 255, 0.9);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 14px;
  z-index: 100;
  padding: 10px 14px;
  border: 1px solid rgba(114, 183, 255, 0.5);
  border-radius: var(--radius);
  background: rgba(7, 9, 12, 0.96);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 760;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.dot-field-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.11;
}

.scroll-progress-line {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  height: 2px;
  background: rgba(47, 128, 255, 0.14);
  pointer-events: none;
}

.scroll-progress-line span {
  display: block;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 100%;
  background: linear-gradient(90deg, #1f6fff, #72b7ff);
  box-shadow: 0 0 18px rgba(47, 128, 255, 0.45);
}

.page-timeline {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 40;
  display: grid;
  justify-items: end;
  gap: 13px;
  padding: 8px 0;
  transform: translateY(-50%);
}

.page-timeline::before {
  content: "";
  position: absolute;
  right: 0;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.page-timeline::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12px;
  width: 1px;
  height: calc((100% - 24px) * var(--scroll-progress, 0));
  background: linear-gradient(180deg, #2f80ff, #72b7ff);
  box-shadow: 0 0 16px rgba(47, 128, 255, 0.4);
}

.page-timeline button {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 12px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.page-timeline button::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%);
  transition: width 180ms ease, height 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.page-timeline button::after {
  content: attr(aria-label);
  position: absolute;
  right: 50px;
  top: 50%;
  width: max-content;
  max-width: 210px;
  color: #c6d6ea;
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  text-align: right;
  text-transform: uppercase;
  transform: translate(8px, -50%);
  transition: opacity 150ms ease, transform 150ms ease;
  white-space: normal;
}

.page-timeline button:hover::before {
  width: 27px;
  background: rgba(114, 183, 255, 0.82);
}

.page-timeline button.is-active::before {
  width: 34px;
  height: 3px;
  background: linear-gradient(90deg, #72b7ff, #1f6fff);
  box-shadow: 0 0 18px rgba(47, 128, 255, 0.52);
}

.page-timeline button:hover::after,
.page-timeline button:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

header,
main,
body > footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(100% - 44px, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(82px, 9vw, 136px) 0;
}

.section-sm {
  padding: clamp(70px, 8vw, 112px) 0;
}

.section-tint {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 16% 8%, rgba(74, 163, 255, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.014);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 8, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 260ms ease, background 220ms ease, border-color 220ms ease;
  will-change: transform;
}

.nav.nav-hidden {
  transform: translateY(calc(-100% - 2px));
  pointer-events: none;
}

.nav-inner {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.brand-logo {
  width: 88px;
  height: 66px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(76, 201, 240, 0.24));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  transition: color 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

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

.mobile-only {
  display: none;
}

.nav-cta {
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.065);
  color: var(--text);
  font-weight: 780;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 128, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #0f5de8, #4e9bff);
  box-shadow: 0 16px 38px rgba(31, 111, 255, 0.24);
}

.btn-primary:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #1f6fff, #68a4ff);
}

.gooey-project-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.gooey-project-btn::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -52% -24%;
  background:
    radial-gradient(circle at 18% 50%, rgba(114, 183, 255, 0.96) 0 10%, transparent 18%),
    radial-gradient(circle at 48% 50%, rgba(31, 111, 255, 0.9) 0 11%, transparent 20%),
    radial-gradient(circle at 78% 50%, rgba(15, 93, 232, 0.94) 0 10%, transparent 18%),
    linear-gradient(135deg, #0f5de8, #4e9bff);
  filter: blur(8px) saturate(1.25);
  opacity: 0;
  transform: translateX(-36%) scaleX(0.42);
  transition: opacity 220ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gooey-project-btn:hover::before,
.gooey-project-btn:focus-visible::before {
  opacity: 1;
  transform: translateX(0) scaleX(1);
}

.gooey-project-btn::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 13px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(219, 244, 255, 0.95);
  box-shadow:
    -16px 0 0 rgba(114, 183, 255, 0.58),
    -30px 0 0 rgba(31, 111, 255, 0.34);
  filter: blur(3px);
  opacity: 0;
  transform: translate(22px, -50%) scale(0.4);
  transition: opacity 180ms ease, transform 460ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gooey-project-btn:hover::after,
.gooey-project-btn:focus-visible::after {
  opacity: 0.82;
  transform: translate(0, -50%) scale(1);
}

.gooey-project-btn > * {
  position: relative;
  z-index: 1;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.035);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.shiny-label {
  color: transparent;
  background-image: linear-gradient(110deg, #dce8f7 35%, #fff 48%, #bdf3ff 52%, #dce8f7 65%);
  background-size: 250% 100%;
  background-position: 100% center;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shiny-text 3.8s linear infinite;
}

@keyframes shiny-text {
  to {
    background-position: -150% center;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9aa7b8;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f6fff, rgba(31, 111, 255, 0.12));
  box-shadow: none;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.25;
  letter-spacing: 0;
}

p,
li {
  color: var(--muted);
  text-wrap: pretty;
}

.lead {
  max-width: 760px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #e8e8e8 42%, #6eb0ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 58px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 66% 28%, rgba(47, 128, 255, 0.2), transparent 35%),
    radial-gradient(circle at 16% 72%, rgba(114, 183, 255, 0.08), transparent 28%);
  pointer-events: none;
}

.hero-stage {
  position: relative;
  z-index: 1;
  min-height: 650px;
  grid-template-columns: minmax(340px, 0.78fr) minmax(560px, 1.22fr);
  gap: 34px;
}

.hero-stage-premium {
  overflow: hidden;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02)),
    rgba(7, 9, 12, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 38px 110px rgba(0, 0, 0, 0.44);
}

.hero-grid,
.subhero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  align-items: center;
  gap: 50px;
}

.hero-copy,
.subhero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.subhero h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 5vw, 4.7rem);
  line-height: 1.02;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero-copy .lead,
.subhero-copy .lead {
  margin: 24px 0 30px;
}

.hero-copy-block {
  max-width: 620px;
  padding-top: 4px;
}

.hero-copy-block h1 {
  max-width: 680px;
  font-size: clamp(3rem, 5vw, 5.45rem);
}

.hero-copy-block .lead {
  max-width: 540px;
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.hero-visual-board {
  min-height: 560px;
}

.hero-board {
  position: relative;
  min-height: 560px;
  isolation: isolate;
}

.hero-board::before {
  content: "";
  position: absolute;
  inset: 46px 20px 0 72px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(47, 128, 255, 0.34), transparent 64%);
  filter: blur(30px);
  opacity: 0.72;
}

.hero-board-mark {
  position: absolute;
  right: 24px;
  top: 0;
  z-index: 0;
  width: 240px;
  max-width: 34%;
  opacity: 0.09;
  filter: blur(0.2px);
}

.hero-shot {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01)),
    var(--surface-solid);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms ease;
}

.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), filter 500ms ease;
}

.hero-shot:hover {
  transform: translateY(-5px);
  border-color: rgba(114, 183, 255, 0.38);
}

.hero-shot:hover img {
  transform: scale(1.045);
}

.hero-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 4, 5, 0.02), rgba(3, 4, 5, 0.28)),
    radial-gradient(circle at 70% 18%, rgba(114, 183, 255, 0.16), transparent 34%);
  pointer-events: none;
}

.hero-shot-main {
  right: 0;
  bottom: 36px;
  z-index: 2;
  width: min(660px, 94%);
  height: 388px;
}

.hero-shot-tour {
  top: 12px;
  right: 44px;
  z-index: 4;
  width: 236px;
  height: 310px;
}

.hero-shot-tour img {
  object-position: center 28%;
}

.hero-shot-web {
  top: 76px;
  left: 0;
  z-index: 3;
  width: 286px;
  height: 190px;
}

.hero-shot-content {
  left: 80px;
  bottom: 0;
  z-index: 5;
  width: 244px;
  height: 168px;
}

.hero-shot-content img {
  object-position: center 42%;
}

.hero-board-caption {
  position: absolute;
  right: 18px;
  bottom: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 10px;
  color: #d8e7f8;
  font-size: 0.82rem;
  font-weight: 740;
}

.hero-board-caption span {
  padding-top: 8px;
  border-top: 1px solid rgba(114, 183, 255, 0.42);
}

.media-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}

.media-frame img,
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 17, 0.02) 40%, rgba(5, 8, 17, 0.78) 100%);
  pointer-events: none;
}

.live-badge {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(5, 8, 17, 0.68);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.live-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f05252;
  box-shadow: 0 0 14px rgba(240, 82, 82, 0.9);
}

.glass-note {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 8, 17, 0.68);
  backdrop-filter: blur(16px);
}

.glass-note strong {
  display: block;
  margin-bottom: 3px;
  font-size: 1.05rem;
}

.trust-strip {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.trust-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.trust-item strong {
  display: block;
  font-size: 1.02rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

.subhero {
  padding: 82px 0 62px;
}

.subhero-visual {
  min-height: 470px;
}

.contact-hero-image {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: #06080b;
  box-shadow: var(--shadow);
}

.contact-hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.visual-cover {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}

.visual-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.section-head > p {
  max-width: 510px;
}

.services-head {
  display: grid;
  align-items: start;
  justify-content: start;
  gap: 18px;
  max-width: 900px;
  margin-bottom: 46px;
}

.services-head h2 {
  max-width: 820px;
}

.services-head > p {
  max-width: 640px;
  font-size: 1.02rem;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.14);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(47, 128, 255, 0.11), transparent 40%);
  pointer-events: none;
}

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

.card h3 {
  margin: 12px 0 9px;
}

.card ul {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  padding-left: 19px;
}

.service-card {
  position: relative;
  min-height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 18px;
  transition:
    transform 260ms ease,
    border-color 320ms ease,
    background 320ms ease,
    box-shadow 320ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 128, 255, 0.32);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.26);
}

.service-media {
  height: clamp(240px, 24vw, 320px);
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  background: var(--surface-solid);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
}

.service-card:hover .service-media img {
  transform: scale(1.045);
  filter: contrast(1.04) saturate(1.04);
}

.service-media img.service-img-360 {
  object-position: center 30%;
}

.service-media img.service-img-content {
  object-position: center 40%;
}

.service-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.service-card ul {
  margin-bottom: 24px;
}

.service-showcase .service-card {
  display: block;
  aspect-ratio: 16 / 10;
  padding: 0;
}

.service-showcase .service-media {
  position: absolute;
  inset: 0;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: inherit;
}

.service-showcase .service-card h3 {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 22px;
  left: 22px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 2.1vw, 2.25rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.56);
}

.service-showcase .service-card h3::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f80ff, rgba(47, 128, 255, 0.12));
  box-shadow: 0 0 20px rgba(47, 128, 255, 0.34);
}

.service-showcase .service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(3, 4, 5, 0.02) 16%, rgba(3, 4, 5, 0.12) 54%, rgba(3, 4, 5, 0.76) 100%),
    linear-gradient(90deg, rgba(3, 4, 5, 0.2), transparent 55%);
  pointer-events: none;
}

.label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9aa7b8;
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.label::before {
  content: "";
  width: 18px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f6fff, rgba(31, 111, 255, 0.12));
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 20px;
}

.feature-row.reverse .feature-media {
  order: 2;
}

.feature-row.reverse .feature-copy {
  order: 1;
}

.feature-media,
.tour-frame,
.map-frame {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-solid);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(5, 8, 17, 0.62));
  pointer-events: none;
}

.tour-frame iframe,
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
}

.feature-copy h2 {
  margin: 14px 0 16px;
}

.feature-copy .btn {
  align-self: flex-start;
  margin-top: 24px;
}

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

.image-tile {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-solid);
}

.image-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 17, 0.05) 30%, rgba(5, 8, 17, 0.82));
}

.image-tile figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 18px;
  left: 18px;
}

.image-tile strong,
.image-tile span {
  display: block;
}

.image-tile strong {
  color: #fff;
  font-size: 1.04rem;
}

.image-tile span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.seo-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 20px;
  align-items: stretch;
}

.seo-copy .card {
  min-height: 100%;
}

.compact-list {
  display: grid;
  gap: 13px;
  margin-top: 20px;
}

.compact-list li {
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

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

.tag {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: #eeeeee;
  font-size: 0.8rem;
  font-weight: 700;
}

.process {
  counter-reset: steps;
}

.process-card {
  min-height: 100%;
}

.process-card::after {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  right: 18px;
  top: 14px;
  color: rgba(255, 255, 255, 0.12);
  font-size: 2.2rem;
  font-weight: 900;
}

.process-card h3 {
  margin-top: 22px;
}

.reference-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
}

.reference-media {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: var(--surface-solid);
}

.reference-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 17, 0.54));
}

.reference-media .tour-frame {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  border-radius: 0;
}

.reference-body {
  padding: 22px;
}

.reference-body h3 {
  margin: 10px 0 8px;
}

.testimonial-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.quote-mark {
  color: #5ca5ff;
  font-family: Georgia, serif;
  font-size: 3.2rem;
  line-height: 0.7;
}

.testimonial-card blockquote {
  margin: 18px 0 24px;
  color: #dfe8f5;
  line-height: 1.72;
}

.testimonial-person {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.testimonial-person strong,
.testimonial-person span {
  display: block;
}

.testimonial-person span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 20px;
  align-items: stretch;
}

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

.team-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.22);
}

.team-photo {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo img.photo-philip {
  object-position: center 28%;
}

.team-photo img.photo-max {
  width: 100%;
  height: 129%;
  object-position: center top;
  transform: translateY(-12%);
}

.team-body {
  margin: 10px;
  padding: 16px 17px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 255, 255, 0.055);
}

.team-body p {
  font-size: 0.9rem;
}

.team-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
}

.team-panel h2 {
  margin: 14px 0 18px;
}

.signatures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.signature-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
}

.signature-card img {
  width: 100%;
  height: 38px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.9;
}

.signature-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: 20px;
  align-items: stretch;
}

.contact-form {
  display: grid;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 7px;
  color: #dfe8f5;
  font-size: 0.86rem;
  font-weight: 720;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 14px 15px;
  transition: border-color 180ms ease, background 180ms ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(47, 128, 255, 0.56);
  background: rgba(255, 255, 255, 0.08);
}

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

input::placeholder,
textarea::placeholder {
  color: #788597;
}

.contact-side {
  display: grid;
  gap: 16px;
}

.map-frame {
  min-height: 360px;
}

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

.contact-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
}

.contact-card strong,
.contact-card span {
  display: block;
}

.contact-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-card-wide {
  grid-column: 1 / -1;
}

.contact-card-wide a {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 720;
  text-decoration: none;
}

.contact-card-wide a:hover {
  color: var(--text);
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 54px 0;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(31, 111, 255, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.01);
}

.cta-band .container,
.cta-band .cta-inner {
  position: relative;
  z-index: 1;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-inner p {
  max-width: 640px;
  margin-top: 9px;
}

.cta-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.cta-actions .btn {
  white-space: nowrap;
}

.cta-button {
  min-width: 190px;
  padding-inline: 24px;
  box-shadow:
    0 18px 42px rgba(31, 111, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.site-footer {
  padding: 58px 0 24px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.92);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 0.8fr;
  gap: 34px;
}

.footer-brand p {
  max-width: 400px;
  margin-top: 15px;
}

.footer-title {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #7f8a9a;
  font-size: 0.82rem;
}

.form-note {
  margin-top: 4px;
  color: #8f9caf;
  font-size: 0.9rem;
  line-height: 1.5;
}

.privacy-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 520;
  line-height: 1.5;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.privacy-check a {
  color: var(--cyan);
  text-decoration: none;
}

.privacy-check a:hover {
  color: var(--text);
}

.form-honeypot {
  position: absolute;
  inset: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.form-status {
  min-height: 1.4em;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-status.is-success {
  color: #9ce8bd;
}

.form-status.is-error {
  color: #f2b4b4;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .shiny-label {
    animation: none;
    background-position: 50% center;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-timeline,
  .scroll-progress-line {
    display: none;
  }

  .gooey-project-btn::before,
  .gooey-project-btn::after {
    display: none;
  }
}

@media (max-width: 1060px) {
  .nav-links {
    gap: 13px;
    font-size: 0.84rem;
  }

  .hero-grid,
  .subhero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
    gap: 32px;
  }

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

  .hero-board {
    min-height: 520px;
  }

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

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

  .image-grid,
  .seo-copy {
    grid-template-columns: 1fr;
  }

  .team-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --nav-height: 68px;
  }

  .container {
    width: min(100% - 30px, var(--max));
  }

  .nav-inner {
    min-height: var(--nav-height);
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .page-timeline {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.is-open {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px 15px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 6, 8, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open a {
    padding: 13px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav-links.is-open a:last-child {
    margin-top: 10px;
    border: 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #0f5de8, #4e9bff);
    color: var(--text);
    text-align: center;
  }

  .nav-links.is-open .mobile-only {
    display: block;
  }

  .hero,
  .subhero {
    padding: 58px 0 38px;
  }

  .hero-stage-premium {
    padding: 24px;
  }

  .hero-grid,
  .subhero-grid,
  .feature-row,
  .feature-row.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-media,
  .feature-row.reverse .feature-copy {
    order: initial;
  }

  .hero-visual,
  .subhero-visual {
    min-height: 430px;
  }

  .hero-board {
    min-height: 520px;
  }

  .hero-board-mark {
    width: 180px;
    max-width: 42%;
  }

  .hero-shot-main {
    right: 0;
    bottom: 54px;
    width: 100%;
    height: 310px;
  }

  .hero-shot-tour {
    top: 0;
    right: 8px;
    width: 164px;
    height: 210px;
  }

  .hero-shot-web {
    top: 76px;
    left: 0;
    width: 190px;
    height: 132px;
  }

  .hero-shot-content {
    left: 24px;
    bottom: 0;
    width: 190px;
    height: 130px;
  }

  .hero-board-caption {
    right: 0;
    bottom: 0;
    gap: 8px;
    font-size: 0.75rem;
  }

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

  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .section-head {
    display: grid;
    align-items: start;
    gap: 14px;
  }

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

@media (max-width: 580px) {
  .section {
    padding: 66px 0;
  }

  .brand {
    font-size: 0.98rem;
  }

  .brand-logo {
    width: 72px;
    height: 54px;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.6rem);
  }

  .hero-visual,
  .subhero-visual {
    min-height: 390px;
  }

  .hero-board {
    min-height: 390px;
  }

  .hero-stage-premium {
    padding: 18px;
    border-radius: 14px;
  }

  .hero-shot-main {
    bottom: 44px;
    height: 245px;
  }

  .hero-shot-tour {
    width: 122px;
    height: 162px;
  }

  .hero-shot-web {
    top: 60px;
    width: 145px;
    height: 104px;
  }

  .hero-shot-content {
    left: 10px;
    width: 150px;
    height: 104px;
  }

  .hero-board-caption {
    display: none;
  }

  .trust-strip,
  .grid-2,
  .grid-4,
  .team-portraits,
  .field-grid,
  .contact-cards,
  .signatures {
    grid-template-columns: 1fr;
  }

  .team-photo {
    height: 430px;
  }

  .feature-media,
  .tour-frame,
  .map-frame,
  .image-tile {
    min-height: 390px;
  }

  .cta-inner,
  .content-addon,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

.team-card {
  position: relative;
  min-height: 520px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.team-card .team-photo {
  position: absolute;
  inset: 0;
  height: 100%;
}

.team-body {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  margin: 0;
  padding: 12px 14px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: calc(var(--radius) - 2px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.055)),
    rgba(7, 9, 12, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (max-width: 580px) {
  .team-card {
    min-height: 430px;
  }
}

.nav {
  top: 14px;
  width: min(100% - 32px, var(--max));
  margin: 14px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(17, 22, 32, 0.82), rgba(8, 10, 14, 0.7)),
    rgba(8, 10, 14, 0.72);
  box-shadow: 0 20px 70px rgba(0, 8, 24, 0.34);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.nav.nav-hidden {
  transform: translateY(calc(-100% - 30px));
}

.nav-inner {
  min-height: 64px;
  padding: 0 10px 0 14px;
}

.brand {
  gap: 10px;
}

.brand-logo {
  width: 72px;
  height: 52px;
  filter: drop-shadow(0 12px 24px rgba(37, 121, 255, 0.2));
}

.brand span {
  font-weight: 700;
  letter-spacing: 0;
}

.nav-links {
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.84rem;
}

.nav-links a {
  padding: 8px 11px;
  border-radius: 999px;
  color: rgba(245, 247, 251, 0.72);
}

.nav-links a::after {
  display: none;
}

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

.btn {
  min-height: 46px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

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

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

.btn-primary {
  border-color: rgba(100, 172, 255, 0.65);
  background:
    linear-gradient(135deg, rgba(76, 166, 255, 0.96), rgba(22, 90, 230, 0.96) 54%, rgba(10, 43, 122, 0.98));
  box-shadow: 0 16px 42px rgba(24, 108, 255, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 22px 54px rgba(24, 108, 255, 0.42);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
}

.nav-cta {
  padding-inline: 18px;
}

.hero {
  padding: 56px 0 86px;
}

.hero-stage-premium {
  position: relative;
  min-height: min(760px, calc(100dvh - 122px));
  padding: clamp(30px, 4.4vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background:
    radial-gradient(circle at 76% 24%, rgba(46, 128, 255, 0.32), transparent 32%),
    radial-gradient(circle at 20% 88%, rgba(58, 141, 255, 0.13), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03) 42%, rgba(255, 255, 255, 0.055));
  box-shadow: 0 34px 100px rgba(0, 8, 24, 0.48);
}

.hero-stage-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 10, 14, 0.72), transparent 54%),
    radial-gradient(circle at 58% 100%, rgba(74, 163, 255, 0.18), transparent 40%);
}

.hero-copy-block {
  position: relative;
  z-index: 2;
  max-width: 760px;
  align-self: center;
}

.hero-copy-block .eyebrow,
.section-head .eyebrow,
.subhero .eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(74, 163, 255, 0.2);
  border-radius: 999px;
  background: rgba(74, 163, 255, 0.075);
  color: rgba(211, 229, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.hero-copy-block h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3.05rem, 6.8vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.gradient-text {
  background: linear-gradient(110deg, #ffffff 0%, #dcecff 44%, #5eacff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  max-width: 60ch;
  color: rgba(222, 229, 239, 0.76);
  font-size: clamp(1.02rem, 1.2vw, 1.22rem);
}

.hero-visual-board {
  position: relative;
  z-index: 1;
}

.hero-board {
  min-height: 600px;
  filter: drop-shadow(0 30px 70px rgba(0, 8, 24, 0.45));
}

.hero-board::before {
  content: "";
  position: absolute;
  right: -10%;
  bottom: 3%;
  width: 74%;
  height: 32%;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(74, 163, 255, 0.2), transparent 68%);
  filter: blur(12px);
}

.hero-shot {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 24px 64px rgba(0, 6, 18, 0.36);
}

.hero-shot-main {
  width: 82%;
  height: 340px;
}

.hero-shot-tour {
  width: 31%;
  height: 238px;
}

.hero-shot-web {
  width: 39%;
  height: 176px;
}

.hero-shot-content {
  width: 34%;
  height: 158px;
}

.hero-board-mark {
  opacity: 0.18;
  mix-blend-mode: screen;
}

.hero-board-caption {
  display: none;
}

.card,
.reference-card,
.team-card,
.contact-card,
.info-card {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.035)),
    rgba(11, 14, 19, 0.72);
  box-shadow: none;
}

.card:hover,
.reference-card:hover,
.team-card:hover,
.contact-card:hover {
  border-color: rgba(94, 172, 255, 0.38);
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(0, 8, 24, 0.28);
}

.section-head {
  max-width: 820px;
  display: grid;
  gap: 16px;
  margin-bottom: 34px;
}

.section-head h2 {
  max-width: 14ch;
  text-wrap: balance;
}

.section-head p {
  max-width: 62ch;
}

.section-note {
  max-width: 760px;
  margin: 26px auto 0;
  color: rgba(235, 241, 249, 0.74);
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.65;
  text-align: center;
}

.services-head {
  max-width: min(100%, 1120px);
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  justify-items: center;
}

.services-head h2 {
  max-width: 100%;
  font-size: clamp(2rem, 3vw, 3rem);
  white-space: nowrap;
}

.services-head p {
  max-width: 58ch;
}

.service-showcase {
  width: min(100%, 1120px);
  margin-right: auto;
  margin-left: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  align-items: stretch;
}

.service-card {
  min-height: clamp(280px, 25vw, 360px);
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  isolation: isolate;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 32%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.78)),
    radial-gradient(circle at 82% 24%, rgba(74, 163, 255, 0.2), transparent 34%);
  opacity: 0.92;
  pointer-events: none;
}

.service-media {
  position: absolute;
  inset: 0;
  height: 100%;
  border-radius: inherit;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05) brightness(0.86);
  transform: scale(1.02);
  transition: transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 800ms ease;
}

.service-card:hover .service-media img {
  filter: saturate(1) contrast(1.08) brightness(0.92);
  transform: scale(1.075);
}

.service-img-360 {
  object-position: 50% 62%;
}

.service-card h3 {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  left: 24px;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.85rem, 3vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.54);
}

.seo-copy {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.seo-copy > .card:first-child {
  padding: clamp(28px, 4vw, 48px);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(211, 229, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.label::before {
  content: "";
  width: 28px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.feature-row {
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.feature-media,
.tour-frame,
.map-frame,
.image-tile {
  border-radius: 24px;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 90px rgba(0, 8, 24, 0.34);
}

.feature-media img,
.reference-media img,
.image-tile img {
  filter: saturate(0.92) contrast(1.04);
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 700ms ease;
}

.feature-media:hover img,
.reference-card:hover .reference-media img,
.image-tile:hover img {
  filter: saturate(1) contrast(1.08);
  transform: scale(1.045);
}

.feature-copy {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.tags {
  gap: 8px;
}

.tag {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(235, 241, 249, 0.78);
}

.reference-card {
  overflow: hidden;
  border-radius: 22px;
}

.reference-media {
  height: 250px;
  border-radius: 0;
}

.reference-body {
  padding: 22px;
}

.testimonial-card {
  min-height: 300px;
  padding: 30px;
  border-radius: 22px;
}

.testimonial-card blockquote {
  color: rgba(245, 247, 251, 0.9);
  font-size: clamp(1.08rem, 1.35vw, 1.34rem);
  line-height: 1.48;
}

.quote-mark {
  opacity: 0.26;
}

.team-card {
  border-radius: 24px;
}

.team-body {
  border-radius: 14px;
}

.cta-section {
  padding-bottom: clamp(90px, 11vw, 150px);
}

.cta-inner {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 18%, rgba(74, 163, 255, 0.32), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

.cta-inner::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 30%;
  height: 58%;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(74, 163, 255, 0.2), transparent 66%);
}

.site-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 20% 0%, rgba(30, 101, 222, 0.18), transparent 34%),
    rgba(2, 3, 6, 0.84);
}

.footer-grid {
  gap: 34px;
}

.footer-links a {
  color: rgba(222, 229, 239, 0.68);
}

.footer-links a:hover {
  color: var(--text);
}

.page-progress {
  right: 16px;
  width: 2px;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.page-progress__bar {
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(104, 184, 255, 0.98), rgba(18, 95, 235, 0.92));
  box-shadow: 0 0 22px rgba(74, 163, 255, 0.5);
}

.scroll-timeline {
  right: 22px;
  gap: 14px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.scroll-timeline__dot {
  width: 2px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.scroll-timeline__dot.is-active {
  height: 42px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 0 18px rgba(74, 163, 255, 0.42);
}

.scroll-progress-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.scroll-progress-line span {
  background: linear-gradient(90deg, rgba(74, 163, 255, 0.95), rgba(23, 107, 255, 0.92));
  box-shadow: 0 0 20px rgba(74, 163, 255, 0.34);
}

.page-timeline {
  right: 22px;
  gap: 13px;
  padding: 0;
}

.page-timeline::before,
.page-timeline::after {
  display: none;
}

.page-timeline button {
  width: 38px;
  height: 18px;
}

.page-timeline button::before {
  right: 0;
  width: 16px;
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
  transition: width 240ms ease, height 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.page-timeline button::after {
  display: none;
}

.page-timeline button:hover::before {
  width: 26px;
  background: rgba(114, 183, 255, 0.64);
}

.page-timeline button.is-active::before {
  width: 38px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 0 16px rgba(74, 163, 255, 0.42);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    transform: translateY(22px) scale(0.985);
    transition: opacity 720ms ease, transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .reveal.is-visible {
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1080px) {
  .nav-links {
    font-size: 0.8rem;
  }

  .nav-links a {
    padding-inline: 9px;
  }

  .hero-stage-premium {
    min-height: auto;
  }

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

@media (max-width: 860px) {
  .nav {
    top: 10px;
    width: min(100% - 24px, var(--max));
    margin-top: 10px;
    border-radius: 24px;
  }

  .nav-inner {
    min-height: 62px;
  }

  .nav-links {
    display: none;
    border-radius: 18px;
  }

  .nav-links.is-open {
    top: calc(100% + 10px);
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(8, 10, 14, 0.98);
  }

  .nav-links.is-open a {
    border-bottom: 0;
    border-radius: 12px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-stage-premium {
    padding: 24px;
    border-radius: 22px;
  }

  .hero-copy-block h1 {
    font-size: clamp(2.7rem, 13vw, 4.8rem);
  }

  .service-showcase {
    grid-template-columns: 1fr;
    width: min(100%, 560px);
  }

  .service-card {
    min-height: 320px;
  }

  .section-head h2 {
    max-width: 100%;
  }

  .services-head h2 {
    font-size: clamp(2rem, 8vw, 3rem);
    white-space: normal;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .hero-stage-premium {
    padding: 18px;
  }

  .brand-logo {
    width: 64px;
    height: 48px;
  }

  .brand span {
    display: none;
  }

  .service-card h3 {
    right: 18px;
    bottom: 18px;
    left: 18px;
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

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

  .scroll-timeline,
  .page-progress {
    display: none;
  }
}

.visual-cover,
.subhero-visual,
.feature-media,
.reference-media,
.image-tile,
.contact-hero-image {
  position: relative;
  overflow: hidden;
}

.visual-cover > img,
.subhero-visual > img,
.feature-media > img,
.reference-media > img,
.image-tile > img,
.contact-hero-image > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-hero-image > img {
  object-position: center;
}

.reference-media .tour-frame,
.reference-media iframe,
.tour-frame iframe,
.map-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.service-card:has(p) {
  min-height: auto;
  padding: 18px;
}

.service-card:has(p)::before,
.service-card:has(p)::after {
  display: none;
}

.service-card:has(p) .service-media {
  position: relative;
  inset: auto;
  height: clamp(220px, 24vw, 310px);
  margin: 0 0 22px;
  overflow: hidden;
  border-radius: 16px;
}

.service-card:has(p) .service-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}

.service-card:has(p):hover .service-media img {
  transform: scale(1.045);
}

.service-card:has(p) h3 {
  position: relative;
  inset: auto;
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.08;
  text-shadow: none;
}

.service-card:has(p) p,
.service-card:has(p) ul,
.service-card:has(p) .btn {
  position: relative;
  z-index: 1;
}

.service-card:has(p) .btn {
  margin-top: auto;
  width: fit-content;
}

.cta-band {
  padding: clamp(54px, 7vw, 86px) 0;
}

.cta-band .cta-inner,
.error-page .cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 4vw, 42px);
  min-height: auto;
  padding: clamp(28px, 4vw, 46px);
}

.cta-inner h1,
.cta-inner h2 {
  max-width: 780px;
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3.4vw, 3.15rem);
  line-height: 1.04;
}

.cta-inner p {
  max-width: 62ch;
  margin: 0;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.65;
}

.cta-inner .eyebrow,
.cta-inner .label {
  margin-bottom: 14px;
}

.cta-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: max-content;
}

.cta-inner > .btn,
.cta-actions .btn,
.btn {
  white-space: nowrap;
}

.cta-inner > .btn,
.cta-actions .btn {
  min-width: max-content;
  justify-content: center;
}

@media (max-width: 860px) {
  .cta-band .cta-inner,
  .error-page .cta-inner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 580px) {
  .service-card:has(p) {
    padding: 14px;
  }

  .service-card:has(p) .service-media {
    height: 230px;
    border-radius: 14px;
  }

  .cta-inner > .btn,
  .cta-actions .btn {
    width: fit-content;
    max-width: 100%;
    padding-inline: 17px;
    font-size: 0.9rem;
  }
}

.website-hero .lead {
  max-width: 65ch;
}

.website-hero-visual {
  min-height: clamp(440px, 42vw, 620px);
  border-radius: 26px;
}

.website-hero-visual::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  pointer-events: none;
}

.website-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 22% 18%, rgba(74, 163, 255, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.08), rgba(5, 7, 10, 0.54));
  pointer-events: none;
}

.web-problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: start;
}

.web-sticky-copy {
  position: sticky;
  top: 118px;
}

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

.web-sticky-copy p {
  max-width: 52ch;
  margin-top: 18px;
}

.web-issue-list {
  display: grid;
  gap: 14px;
}

.web-issue-list .card {
  padding: clamp(22px, 3vw, 34px);
}

.web-solution-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(30px, 5vw, 60px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 18%, rgba(74, 163, 255, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.032));
}

.web-solution-panel h2 {
  max-width: 13ch;
}

.web-solution-panel p {
  max-width: 56ch;
  margin-top: 18px;
}

.web-solution-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.web-solution-points span,
.audience-cloud span,
.web-seo-list span {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(245, 247, 251, 0.86);
  font-weight: 650;
}

.web-service-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
}

.web-service-card {
  min-height: 230px;
  padding: clamp(22px, 3vw, 32px);
}

.web-service-card h3 {
  max-width: 13ch;
  margin-bottom: 12px;
}

.web-service-card p {
  max-width: 45ch;
}

.web-service-card-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 476px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(9, 12, 18, 0.05), rgba(9, 12, 18, 0.84)),
    url("Assets/websites-hero-workspace.jpg") center / cover;
}

.web-service-card-large h3 {
  max-width: 11ch;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

.web-service-card-large p {
  color: rgba(235, 241, 249, 0.82);
}

.web-service-media {
  grid-column: span 2;
  min-height: 230px;
  padding: 0;
  overflow: hidden;
}

.web-service-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.web-why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.audience-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audience-cloud span {
  min-height: 48px;
}

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

.web-process-list .process-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 0.66fr);
  gap: 20px;
  align-items: start;
  padding: clamp(22px, 3vw, 34px);
}

.web-process-list .process-card h3,
.web-process-list .process-card p {
  margin: 0;
}

.web-process-list .process-card::after {
  font-size: 1.35rem;
  top: 22px;
  right: 24px;
}

.web-seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(18px, 4vw, 46px);
  align-items: stretch;
}

.web-seo-layout > .card {
  padding: clamp(26px, 4vw, 44px);
}

.web-seo-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.web-media-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background:
    radial-gradient(circle at 86% 22%, rgba(74, 163, 255, 0.18), transparent 32%),
    rgba(255, 255, 255, 0.042);
}

.web-media-strip h2 {
  max-width: 16ch;
}

.web-media-strip p {
  max-width: 68ch;
  margin-top: 14px;
}

.web-media-links {
  display: grid;
  gap: 10px;
  min-width: 210px;
}

.web-media-links a {
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 750;
  text-align: center;
}

.faq-grid {
  columns: 2 320px;
  column-gap: 16px;
}

.faq-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
  padding: clamp(22px, 3vw, 30px);
}

.faq-card h3 {
  margin-bottom: 10px;
}

@media (max-width: 980px) {
  .web-problem-grid,
  .web-solution-panel,
  .web-why-grid,
  .web-seo-layout,
  .web-media-strip {
    grid-template-columns: 1fr;
  }

  .web-sticky-copy {
    position: static;
  }

  .web-sticky-copy h2,
  .web-solution-panel h2,
  .web-media-strip h2 {
    max-width: 100%;
  }

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

  .web-media-links {
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .website-hero-visual {
    min-height: 320px;
  }

  .web-solution-points,
  .web-seo-list,
  .web-service-bento,
  .web-process-list .process-card,
  .web-media-links {
    grid-template-columns: 1fr;
  }

  .web-service-card-large,
  .web-service-media {
    grid-column: auto;
    grid-row: auto;
    min-height: 280px;
  }

  .web-service-card-large h3 {
    font-size: clamp(2rem, 13vw, 3.25rem);
  }
}

/* Focused cleanup after V2 reconstruction */
.services-head,
.section-head.services-head {
  display: grid;
  justify-items: center;
  max-width: min(100%, 1020px);
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.services-head .eyebrow {
  margin-right: auto;
  margin-left: auto;
}

.services-head h2 {
  max-width: 100%;
  white-space: normal;
}

.services-head p {
  max-width: 56ch;
  margin-right: auto;
  margin-left: auto;
}

.feature-row {
  align-items: stretch;
}

.feature-row > .feature-media,
.feature-row > .tour-frame,
.feature-row > .map-frame,
.feature-row > .feature-copy {
  min-height: clamp(360px, 33vw, 520px);
  height: 100%;
}

.feature-row > .feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-row > .feature-copy p {
  max-width: 58ch;
}

.feature-row > .feature-copy p + p {
  margin-top: 0.7rem;
}

.feature-row > .feature-media img,
.feature-row > .tour-frame iframe,
.feature-row > .map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-cover,
.subhero-visual,
.feature-media,
.tour-frame,
.map-frame {
  min-height: clamp(360px, 33vw, 520px);
}

.subhero-grid {
  align-items: stretch;
}

.subhero-grid > .subhero-copy,
.subhero-grid > .subhero-visual {
  min-height: clamp(420px, 38vw, 600px);
}

.subhero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.subhero-copy .lead {
  max-width: 56ch;
}

.seo-copy > .card:first-child p + p {
  display: none;
}

.compact-list {
  margin-top: 1rem;
}

.compact-list li {
  line-height: 1.5;
}

.team-panel p,
.feature-copy p,
.card p,
.reference-body p {
  text-wrap: pretty;
}

@media (max-width: 860px) {
  .section,
  .section-sm {
    padding-top: clamp(58px, 12vw, 84px);
    padding-bottom: clamp(58px, 12vw, 84px);
  }

  .section-head,
  .section-head.services-head {
    margin-bottom: 24px;
  }

  .feature-row > .feature-media,
  .feature-row > .tour-frame,
  .feature-row > .map-frame,
  .feature-row > .feature-copy,
  .visual-cover,
  .subhero-visual,
  .feature-media,
  .tour-frame,
  .map-frame {
    min-height: auto;
  }

  .feature-row > .feature-media,
  .feature-row > .tour-frame,
  .feature-row > .map-frame,
  .subhero-grid > .subhero-visual {
    height: auto;
    aspect-ratio: 16 / 11;
  }

  .subhero-grid > .subhero-copy {
    min-height: auto;
  }

  .feature-copy {
    padding: 22px;
  }

  .feature-copy .tags,
  .feature-copy .compact-list {
    display: none;
  }

  .feature-copy h2 {
    margin-bottom: 12px;
  }

  .feature-copy p {
    font-size: 0.98rem;
    line-height: 1.58;
  }
}

@media (max-width: 580px) {
  .services-head h2 {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .services-head p,
  .section-head p {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .feature-row > .feature-media,
  .feature-row > .tour-frame,
  .feature-row > .map-frame,
  .subhero-grid > .subhero-visual {
    aspect-ratio: 4 / 3;
  }

  .feature-copy {
    border-radius: 18px;
  }

  .feature-copy .btn {
    width: fit-content;
    max-width: 100%;
  }

  .seo-copy .grid-2 .card:nth-child(n+3) {
    display: none;
  }
}

/* Calmer section reveal: keeps repeat-on-scroll behavior without the text flying in. */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 360ms ease, transform 360ms ease;
  }

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

/* Websites page polish: calmer hero, cleaner spacing, no text overflow in image cards. */
.website-hero {
  padding-block: clamp(96px, 13vw, 148px) clamp(56px, 8vw, 92px);
}

.website-hero .subhero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.82fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.website-hero .subhero-copy,
.website-hero .subhero-visual {
  min-height: auto;
}

.website-hero .subhero-copy {
  max-width: 680px;
}

.website-hero .subhero-copy h1 {
  max-width: 9ch;
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  line-height: 0.92;
  text-wrap: balance;
}

.website-hero .lead {
  max-width: 42ch;
  margin-bottom: 28px;
  font-size: clamp(1.08rem, 1.45vw, 1.34rem);
  line-height: 1.48;
}

.website-hero-visual {
  min-height: auto;
  aspect-ratio: 5 / 4;
  max-height: 560px;
}

.web-problem-grid,
.web-solution-panel,
.web-seo-layout {
  gap: clamp(20px, 3.5vw, 46px);
}

.web-sticky-copy h2,
.web-solution-panel h2 {
  max-width: 16ch;
}

.web-sticky-copy p,
.web-solution-panel p,
.web-seo-layout > .card p {
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.62;
}

.web-service-bento {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

.web-service-card {
  min-height: 0;
  padding: clamp(22px, 2.4vw, 30px);
  overflow: hidden;
}

.web-service-card h3 {
  max-width: 100%;
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 1.6vw, 1.62rem);
  line-height: 1.12;
  text-wrap: balance;
}

.web-service-card p {
  max-width: 34ch;
  color: rgba(222, 229, 239, 0.72);
  font-size: 0.96rem;
  line-height: 1.55;
}

.web-service-card-large {
  grid-column: span 1;
  grid-row: span 1;
  min-height: 0;
  justify-content: flex-start;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 82% 16%, rgba(74, 163, 255, 0.18), transparent 42%);
}

.web-service-card-large h3 {
  max-width: 100%;
  font-size: clamp(1.35rem, 1.9vw, 1.9rem);
  line-height: 1.08;
}

.web-service-card-large p {
  color: rgba(222, 229, 239, 0.74);
}

.web-service-media {
  grid-column: span 1;
  min-height: 220px;
  aspect-ratio: 4 / 3;
}

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

.web-seo-list span {
  min-height: 0;
  padding: 12px 14px;
  font-size: 0.9rem;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .website-hero .subhero-grid {
    grid-template-columns: 1fr;
  }

  .website-hero .subhero-copy h1 {
    max-width: 11ch;
  }

  .web-service-bento,
  .web-seo-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .website-hero {
    padding-block: 86px 46px;
  }

  .website-hero .subhero-copy h1 {
    font-size: clamp(2.75rem, 16vw, 4.1rem);
  }

  .website-hero .lead {
    margin-bottom: 22px;
  }

  .website-hero-visual {
    aspect-ratio: 4 / 3;
  }

  .web-service-bento,
  .web-seo-list {
    grid-template-columns: 1fr;
  }

  .web-service-media {
    min-height: 230px;
  }
}

/* Start page service tiles: strict 2x2 layout without overlap. */
#leistungen .services-head {
  display: grid;
  justify-items: start;
  width: min(100%, 1040px);
  max-width: 1040px;
  margin: 0 auto clamp(26px, 4vw, 42px);
  text-align: left;
}

#leistungen .services-head .eyebrow {
  margin-right: 0;
  margin-left: 0;
}

#leistungen .services-head .eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

#leistungen .services-head h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  text-align: left;
  text-wrap: balance;
}

#leistungen .services-head p {
  max-width: 54ch;
  margin: 0;
  color: rgba(222, 229, 239, 0.7);
  text-align: left;
}

#leistungen .service-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 1040px);
  margin: 0 auto;
  gap: clamp(18px, 2.4vw, 28px);
  align-items: stretch;
}

#leistungen .service-showcase .service-card {
  min-height: auto;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  transform: none;
}

#leistungen .service-showcase .service-card:hover {
  transform: none;
}

#leistungen .service-showcase .service-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: inherit;
}

#leistungen .service-showcase .service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#leistungen .service-showcase .service-card h3 {
  right: clamp(18px, 2vw, 26px);
  bottom: clamp(18px, 2vw, 24px);
  left: clamp(18px, 2vw, 26px);
  max-width: 15ch;
  font-size: clamp(1.55rem, 2.7vw, 2.7rem);
}

@media (max-width: 780px) {
  #leistungen .service-showcase {
    grid-template-columns: 1fr;
    width: min(100%, 560px);
  }
}

/* Main hero logo visual replacing the old image collage. */
.hero-logo-visual {
  min-height: clamp(360px, 42vw, 610px);
  display: grid;
  align-items: center;
  perspective: 1200px;
}

.hero-logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(340px, 40vw, 560px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 44%, rgba(74, 163, 255, 0.22), transparent 34%),
    radial-gradient(circle at 84% 12%, rgba(23, 107, 255, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: 0 34px 110px rgba(0, 8, 24, 0.48);
}

.hero-logo-stage::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(74, 163, 255, 0.28), transparent 66%);
  filter: blur(12px);
  transform: translateY(12%);
}

.hero-logo-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07), transparent 22%, transparent 76%, rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.hero-logo-stage img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.98) contrast(1.04);
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-logo-stage img {
    animation: heroLogoFloat 7.4s ease-in-out infinite;
  }

  @keyframes heroLogoFloat {
    0%,
    100% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.025);
    }
  }
}

@media (max-width: 780px) {
  .hero-logo-visual {
    min-height: auto;
  }

  .hero-logo-stage {
    min-height: 320px;
    border-radius: 24px;
  }

  .hero-logo-stage img {
    width: 100%;
  }
}

/* Static main hero logo treatment: no double frame, no movement. */
.hero-logo-stage {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

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

.hero-logo-stage img {
  width: min(100%, 620px);
  height: auto;
  min-height: 0;
  border-radius: 28px;
  object-fit: contain;
  filter: saturate(0.98) contrast(1.04) drop-shadow(0 34px 82px rgba(0, 8, 24, 0.52));
  animation: none !important;
  transform: none !important;
}

@media (max-width: 780px) {
  .hero-logo-stage {
    min-height: auto;
  }

  .hero-logo-stage img {
    width: min(100%, 460px);
    border-radius: 22px;
  }
}

/* Global capability markers: replaces scattered pill boxes with a calmer line system. */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(235, 241, 249, 0.74);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0;
}

.tag::before {
  content: "";
  width: 18px;
  height: 1px;
  margin-right: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), rgba(74, 163, 255, 0.08));
}

.feature-copy .tags {
  max-width: 520px;
}

.web-solution-points,
.web-seo-list,
.audience-cloud {
  gap: 0;
}

.web-solution-points span,
.web-seo-list span,
.audience-cloud span {
  position: relative;
  min-height: 0;
  padding: 13px 0 13px 22px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
  color: rgba(235, 241, 249, 0.78);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.4;
}

.web-solution-points span::before,
.web-seo-list span::before,
.audience-cloud span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(74, 163, 255, 0.32);
}

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

@media (max-width: 640px) {
  .tags {
    gap: 9px 16px;
    margin-top: 18px;
    padding-top: 15px;
  }

  .tag {
    font-size: 0.88rem;
  }

  .tag::before {
    width: 14px;
    margin-right: 8px;
  }

  .audience-cloud {
    grid-template-columns: 1fr;
  }
}

.split-page-title {
  display: grid;
  gap: 0.04em;
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
}

.split-page-title span {
  display: block;
}

.split-page-title span:first-child {
  text-transform: uppercase;
}

.website-hero .subhero-copy h1.split-page-title {
  max-width: 760px;
  font-size: clamp(2.55rem, 5vw, 4.7rem);
  line-height: 1.02;
}

.addon-lines {
  display: grid;
  gap: 12px;
  margin: 24px 0 26px;
}

.addon-lines > div {
  display: grid;
  gap: 5px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.addon-lines strong {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 720;
}

.addon-lines span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.feature-media img.drone-object-media {
  width: 150%;
  max-width: none;
  transform: translateX(-30%);
  object-position: center;
}

.feature-media:hover img.drone-object-media {
  transform: translateX(-30%) scale(1.025);
}

.subhero-visual img.leistungen-hero-image {
  object-position: 48% 52%;
  filter: saturate(0.88) contrast(1.08) brightness(0.86);
}

.web-first-impression {
  align-items: center;
}

.web-first-impression .web-sticky-copy {
  position: relative;
  top: auto;
}

.web-first-impression .web-sticky-copy h2 {
  max-width: 14ch;
}

.web-principle-panel {
  position: relative;
  display: grid;
  gap: 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(10, 14, 21, 0.78);
  box-shadow: 0 28px 90px rgba(0, 8, 24, 0.26);
  overflow: hidden;
}

.web-principle-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(74, 163, 255, 0.95), rgba(18, 102, 255, 0.12));
}

.web-principle {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(18px, 2.4vw, 26px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.web-principle:first-child {
  padding-top: 0;
}

.web-principle:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.web-principle > span {
  color: rgba(114, 183, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.web-principle h3 {
  margin-bottom: 7px;
  font-size: clamp(1.1rem, 1.6vw, 1.34rem);
}

.web-principle p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

@media (max-width: 640px) {
  .web-principle {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Mobile overflow guard: embedded maps/tours and hero visuals must never widen the page. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

.container,
.hero-grid,
.subhero-grid,
.feature-row,
.contact-grid,
.grid {
  min-width: 0;
}

.subhero-visual,
.contact-hero-image,
.tour-frame,
.map-frame,
.feature-media,
.visual-cover {
  max-width: 100%;
  min-width: 0;
}

.subhero-visual > img,
.contact-hero-image > img,
.tour-frame iframe,
.map-frame iframe {
  max-width: 100%;
}

@media (max-width: 860px) {
  .subhero-grid > .subhero-visual,
  .subhero-visual,
  .contact-hero-image,
  .tour-frame,
  .map-frame {
    inline-size: 100%;
    max-inline-size: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 580px) {
  .contact-hero-image,
  .subhero-grid > .tour-frame,
  .subhero-visual.tour-frame,
  .map-frame {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
}
