/* ==========================================================================
   Ads Agency 360 — Design System
   Dark-first · Electric cyan / amber · Awwwards-caliber motion
   ========================================================================== */

:root {
  /* Logo-matched palette: lime → sky → deep blue */
  --lime: #ccf06c;
  --lime-2: #e4f89a;
  --sky: #48b4f0;
  --sky-2: #78c8f5;
  --deep: #1860a8;
  --deep-2: #0c4a86;

  --void: #05060a;
  --ink: #0a0c12;
  --panel: #10131c;
  --panel-2: #161b27;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f6fb;
  --muted: #9aa3b5;
  --dim: #6b7385;

  /* Semantic aliases (legacy names → logo colors) */
  --cyan: var(--lime);
  --cyan-2: var(--lime-2);
  --amber: var(--sky);
  --coral: var(--deep);
  --blue: var(--sky);

  --cream: #ebe7df;
  --cream-ink: #12141c;
  --grad-brand: linear-gradient(135deg, #ccf06c 0%, #48b4f0 52%, #1860a8 100%);
  --grad-glow: radial-gradient(circle at 28% 18%, rgba(204, 240, 108, 0.22), transparent 42%),
    radial-gradient(circle at 78% 16%, rgba(72, 180, 240, 0.2), transparent 40%),
    radial-gradient(circle at 70% 78%, rgba(24, 96, 168, 0.22), transparent 45%);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-sm: 10px;
  --nav-h: 84px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Poppins", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--void);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

::selection {
  background: rgba(204, 240, 108, 0.35);
  color: #fff;
}

/* Custom cursor */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: #fff;
}

.cursor.is-hover {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.12);
  border-color: transparent;
}

.cursor.is-click {
  transform: translate(-50%, -50%) scale(0.85);
}

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

/* Utilities */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--cyan);
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section {
  position: relative;
  padding: clamp(5rem, 10vw, 8.5rem) 0;
}

.section-light {
  background: var(--cream);
  color: var(--cream-ink);
}

.section-light .eyebrow {
  color: #6a9a1f;
}

.section-light .eyebrow::before {
  background: #6a9a1f;
}

.section-light .muted {
  color: #4d5568;
}

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

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Noise overlay */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9990;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Page transition */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--void);
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}

.page-transition.is-active {
  animation: pageWipe 0.85s var(--ease) forwards;
}

@keyframes pageWipe {
  0% { transform: scaleY(0); transform-origin: bottom; }
  45% { transform: scaleY(1); transform-origin: bottom; }
  55% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: top; }
}

/* ========== NAV ========== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(5, 6, 10, 0.72);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  z-index: 1002;
  line-height: 0;
}

.logo img {
  height: 52px;
  width: auto;
  max-width: min(240px, 58vw);
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--muted);
  position: relative;
  transition: color 0.25s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--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);
}

.nav-cta {
  display: inline-flex;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  z-index: 1002;
  cursor: none;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: 0.3s var(--ease);
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Buttons */
.btn {
  --btn-bg: var(--text);
  --btn-fg: var(--void);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn .arrow {
  transition: transform 0.35s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn-primary {
  --btn-bg: var(--cyan);
  --btn-fg: #12180a;
  box-shadow: 0 0 0 rgba(204, 240, 108, 0);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(204, 240, 108, 0.28);
  transform: translateY(-2px);
}

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-amber {
  --btn-bg: var(--sky);
  --btn-fg: #061018;
}

.btn-dark {
  --btn-bg: var(--cream-ink);
  --btn-fg: var(--cream);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
  overflow: hidden;
  background: var(--void);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    var(--grad-glow),
    linear-gradient(180deg, rgba(5, 6, 10, 0.2) 0%, rgba(5, 6, 10, 0.85) 70%, var(--void) 100%),
    radial-gradient(1200px 600px at 50% -10%, rgba(72, 180, 240, 0.2), transparent 60%);
  z-index: 0;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
  filter: saturate(0.85) brightness(0.55);
  animation: heroKen 22s ease-in-out infinite alternate;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(5, 6, 10, 0.88) 0%, rgba(5, 6, 10, 0.55) 48%, rgba(5, 6, 10, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 6, 10, 0.25) 0%, rgba(5, 6, 10, 0.92) 100%);
}

@keyframes heroKen {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.55;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  z-index: 1;
  animation: gridDrift 28s linear infinite;
}

@keyframes gridDrift {
  from { transform: translateY(0); }
  to { transform: translateY(72px); }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb.o1 {
  width: 340px;
  height: 340px;
  background: rgba(204, 240, 108, 0.22);
  top: 18%;
  left: 8%;
}

.hero-orb.o2 {
  width: 420px;
  height: 420px;
  background: rgba(72, 180, 240, 0.18);
  top: 8%;
  right: -5%;
  animation-delay: -4s;
}

.hero-orb.o3 {
  width: 280px;
  height: 280px;
  background: rgba(24, 96, 168, 0.28);
  bottom: 10%;
  right: 22%;
  animation-delay: -7s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 1.5rem;
  max-width: 920px;
  padding-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
}

.hero h1 .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: riseIn 1.1s var(--ease) forwards;
}

.hero h1 .line:nth-child(2) span { animation-delay: 0.12s; }
.hero h1 .line:nth-child(3) span { animation-delay: 0.24s; }

@keyframes riseIn {
  to { transform: translateY(0); }
}

.hero-lead {
  max-width: 540px;
  font-size: 1.12rem;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.45s forwards;
}

.hero-actions {
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.6s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.75s forwards;
}

.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.hero-meta span {
  font-size: 0.85rem;
  color: var(--dim);
}

.scroll-hint {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: 2rem;
  z-index: 3;
  writing-mode: vertical-rl;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.scroll-hint i {
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--cyan), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* Marquee */
.marquee {
  border-block: 1px solid var(--line);
  background: rgba(16, 19, 28, 0.7);
  overflow: hidden;
  padding: 1.1rem 0;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}

.marquee-track span em {
  font-style: normal;
  color: var(--cyan);
}

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

/* Services grid */
.section-head {
  display: grid;
  gap: 1rem;
  max-width: 680px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  position: relative;
  background: linear-gradient(180deg, rgba(22, 27, 39, 0.95), rgba(16, 19, 28, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  min-height: 280px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow, rgba(204, 240, 108, 0.18)), transparent 70%);
  transition: transform 0.6s var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(204, 240, 108, 0.35);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scale(1.35) translate(-20px, -20px);
}

.service-card[data-accent="amber"] { --glow: rgba(72, 180, 240, 0.2); }
.service-card[data-accent="blue"] { --glow: rgba(72, 180, 240, 0.22); }
.service-card[data-accent="coral"] { --glow: rgba(24, 96, 168, 0.2); }

.service-index {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--dim);
  margin-bottom: 2.5rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-card ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  margin-top: auto;
}

.service-card li {
  font-size: 0.86rem;
  color: var(--dim);
  padding-left: 1rem;
  position: relative;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

.service-card a.more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Pillars / difference */
.pillars {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.pillar-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border-radius: 28px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}

.pillar-visual .mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(204, 240, 108, 0.35), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(72, 180, 240, 0.3), transparent 35%),
    radial-gradient(circle at 60% 80%, rgba(72, 180, 240, 0.25), transparent 40%),
    linear-gradient(160deg, #0e1117, #161b27);
  animation: meshShift 10s ease-in-out infinite alternate;
}

.pillar-visual .pillar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.8s var(--ease);
}

.pillar-visual:hover .pillar-img {
  transform: scale(1.1);
}

.pillar-visual .mesh.has-photo {
  background:
    linear-gradient(180deg, rgba(5, 6, 10, 0.15), rgba(5, 6, 10, 0.75)),
    radial-gradient(circle at 20% 30%, rgba(204, 240, 108, 0.22), transparent 40%);
  animation: none;
  mix-blend-mode: normal;
}

@keyframes meshShift {
  from { transform: scale(1) rotate(0deg); }
  to { transform: scale(1.08) rotate(2deg); }
}

.pillar-panel {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 8%;
  background: rgba(5, 6, 10, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 1.25rem 1.4rem;
}

.pillar-panel h4 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.pillar-panel p {
  color: var(--muted);
  font-size: 0.9rem;
}

.stats-float {
  position: absolute;
  top: 10%;
  right: 8%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  min-width: 140px;
}

.stats-float strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.04em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.diff-list {
  display: grid;
  gap: 1rem;
}

.diff-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.diff-item:hover {
  border-color: rgba(204, 240, 108, 0.35);
  transform: translateX(6px);
}

.diff-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(204, 240, 108, 0.1);
  color: var(--cyan);
  font-weight: 700;
  font-family: var(--font-display);
}

.diff-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.diff-item p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Industries */
.industries-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.industry-tile {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.4s var(--ease);
  color: var(--text);
}

.industry-tile .tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.industry-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 6, 10, 0.1) 0%, rgba(5, 6, 10, 0.82) 70%, rgba(5, 6, 10, 0.95) 100%),
    linear-gradient(160deg, rgba(204, 240, 108, 0.18), transparent 45%);
}

.industry-tile:hover {
  transform: translateY(-6px);
}

.industry-tile:hover .tile-img {
  transform: scale(1.08);
}

.industry-tile h3,
.industry-tile p,
.industry-tile .tile-tag {
  position: relative;
  z-index: 2;
}

.industry-tile h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.industry-tile p {
  color: rgba(244, 246, 251, 0.78);
  font-size: 0.92rem;
}

.section-light .industry-tile p {
  color: rgba(244, 246, 251, 0.78);
}

/* Case studies horizontal */
.cases-rail {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  margin-inline: calc(50% - 50vw);
  padding-inline: max(1.25rem, calc((100vw - var(--container)) / 2));
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) transparent;
}

.case-card {
  flex: 0 0 min(420px, 85vw);
  scroll-snap-align: start;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  min-height: 420px;
  display: grid;
  grid-template-rows: 1fr auto;
}

.case-visual {
  position: relative;
  min-height: 220px;
  background: linear-gradient(135deg, #0e2a28, #14213d 50%, #2a1f0e);
  overflow: hidden;
}

.case-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.case-card:hover .case-visual img {
  transform: scale(1.07);
}

.case-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.05), rgba(5, 6, 10, 0.78));
}

.case-visual::after {
  content: attr(data-lift);
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.case-body {
  padding: 1.4rem 1.5rem 1.6rem;
}

.case-body .tag {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.55rem;
}

.case-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

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

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.quote-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 27, 39, 0.8), rgba(10, 12, 18, 0.9));
  padding: 1.75rem;
}

.quote-card .stars {
  color: var(--amber);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.quote-card p {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
  color: #d7dce8;
}

.quote-card footer {
  color: var(--dim);
  font-size: 0.88rem;
}

.quote-card footer strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.15rem;
}

/* CTA band */
.cta-band {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4rem);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 12% 20%, rgba(204, 240, 108, 0.22), transparent 38%),
    radial-gradient(circle at 88% 70%, rgba(72, 180, 240, 0.18), transparent 40%),
    radial-gradient(circle at 55% 100%, rgba(24, 96, 168, 0.28), transparent 45%),
    linear-gradient(135deg, #10131c, #0a0c12);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  align-items: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0.5rem 0 0.85rem;
}

/* Page hero (inner) */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  overflow: hidden;
  background:
    var(--grad-glow),
    linear-gradient(180deg, #0a0c12, var(--void));
}

.page-hero.has-photo {
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
}

.page-hero .page-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero .page-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.55);
}

.page-hero .page-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(5, 6, 10, 0.9) 0%, rgba(5, 6, 10, 0.55) 55%, rgba(5, 6, 10, 0.75) 100%),
    linear-gradient(180deg, rgba(5, 6, 10, 0.2), rgba(5, 6, 10, 0.92));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.media-block {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 280px;
}

.media-block img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.media-block.tall {
  min-height: 360px;
}

.media-block.tall img {
  min-height: 360px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
  max-width: 900px;
  margin: 0.75rem 0 1rem;
}

.page-hero p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--dim);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.breadcrumb a:hover {
  color: var(--cyan);
}

/* Content layouts */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.process-steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.03em;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.process-step p {
  color: var(--muted);
}

/* Forms */
.quote-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.quote-aside {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 10%, rgba(204, 240, 108, 0.2), transparent 40%),
    linear-gradient(180deg, #121622, #0a0c12);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
}

.quote-aside:has(.aside-photo) {
  background: #0a0c12;
}

.quote-aside h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0.75rem 0 1rem;
}

.quote-perks {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.quote-perks li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
}

.quote-perks li::before {
  content: "✓";
  color: var(--cyan);
  font-weight: 700;
}

.quote-form {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.form-progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.form-progress span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.form-progress span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.form-progress span.active::after,
.form-progress span.done::after {
  transform: scaleX(1);
}

.form-step {
  display: none;
  animation: fadeUp 0.45s var(--ease);
}

.form-step.active {
  display: block;
}

.form-step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.form-step > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

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

.field label {
  font-size: 0.82rem;
  color: var(--dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(204, 240, 108, 0.15);
}

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

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  position: relative;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-flex;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.9rem;
  transition: 0.25s;
  cursor: none;
}

.chip input:checked + span {
  border-color: var(--cyan);
  background: rgba(204, 240, 108, 0.12);
  color: var(--cyan);
}

.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.form-message {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-size: 0.92rem;
}

.form-message.success {
  display: block;
  background: rgba(204, 240, 108, 0.12);
  border: 1px solid rgba(204, 240, 108, 0.35);
  color: var(--cyan-2);
}

.form-message.error {
  display: block;
  background: rgba(24, 96, 168, 0.12);
  border: 1px solid rgba(24, 96, 168, 0.35);
  color: #9ec8f0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
  background: #07080d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--muted);
  margin-top: 1rem;
  max-width: 320px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}

.social-links a:hover {
  color: var(--lime);
  border-color: rgba(204, 240, 108, 0.45);
  background: rgba(204, 240, 108, 0.1);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: var(--dim);
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
  transition: color 0.25s;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.85rem;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.team-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--panel);
  color: var(--text);
}

.team-avatar {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #123832, #1a2748 55%, #3a2a12);
  position: relative;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.team-card:hover .team-avatar img {
  transform: scale(1.06);
}

.team-avatar span {
  position: absolute;
  inset: auto 1rem 1rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  opacity: 0.35;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.quote-aside .aside-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.quote-aside .aside-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.85);
}

.quote-aside .aside-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 12, 18, 0.55), rgba(10, 12, 18, 0.88)),
    radial-gradient(circle at 20% 10%, rgba(204, 240, 108, 0.2), transparent 45%);
}

.quote-aside > *:not(.aside-photo) {
  position: relative;
  z-index: 1;
}

.team-card .info {
  padding: 1.1rem 1.2rem 1.3rem;
}

.team-card h3 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.team-card p {
  color: var(--muted);
  font-size: 0.85rem;
}

.section-light .team-card h3 {
  color: var(--text);
}

.section-light .team-card p {
  color: var(--muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid,
  .industries-strip,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars,
  .quote-shell,
  .cta-band,
  .split-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .quote-aside {
    min-height: auto;
  }
}

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

  .nav-links,
  .nav-cta {
    position: fixed;
    inset: 0;
    background: rgba(5, 6, 10, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
    z-index: 1001;
  }

  .nav-cta {
    top: auto;
    bottom: 12%;
    inset: auto 0 12%;
  }

  body.menu-open .nav-links,
  body.menu-open .nav-cta {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text);
  }

  .services-grid,
  .industries-strip,
  .testimonial-grid,
  .team-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .scroll-hint {
    display: none;
  }

  .hero-meta {
    gap: 1.25rem;
  }
}
