:root {
  --ink: #1a1a1a;
  --ink-soft: #3f3f46;
  --muted: #71717a;
  --paper: #faf9f6;
  --paper-2: #f0ede4;
  --line: #e5e0d6;
  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --accent-ink: #ffffff;
  --glow-a: rgba(29, 78, 216, 0.28);
  --glow-b: rgba(14, 165, 233, 0.2);
  --glow-c: rgba(245, 158, 11, 0.16);
  --grad-mid: #e7eefc;
  --grad-end: #f6eadc;
  --blob-a: rgba(29, 78, 216, 0.28);
  --blob-b: rgba(14, 165, 233, 0.22);
  --theme-bar-h: 56px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  background:
    radial-gradient(1100px 720px at 88% -8%, var(--glow-a), transparent 58%),
    radial-gradient(900px 640px at -12% 78%, var(--glow-b), transparent 52%),
    radial-gradient(820px 520px at 70% 118%, var(--glow-c), transparent 48%),
    linear-gradient(165deg, var(--paper) 0%, var(--grad-mid) 45%, var(--grad-end) 100%);
  background-attachment: fixed;
}

body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-family: Sora, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}

h1,
h2,
h3,
.mark-vr,
.kicker {
  font-family: Fraunces, ui-serif, Georgia, serif;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.og-fallback {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1200px;
  height: 630px;
  overflow: hidden;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 20;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
}

/* ── 3D Canvas Background ─────────────────────────────────── */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

/* ── Cursor Glow ─────────────────────────────────────────── */
#cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

body:hover #cursor-glow {
  opacity: 1;
}

/* ── 3D Card Focus ───────────────────────────────────────── */
.offer-grid,
.work-grid,
.testimonials-grid {
  perspective: 1400px;
}

.tilt-card {
  position: relative;
  transform-style: preserve-3d;
  transform: translateZ(0) scale(1);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
  z-index: 0;
}

.tilt-card:hover {
  z-index: 2;
  transform: translateZ(14px) scale(1.015);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 12%, transparent),
    0 0 0 1px color-mix(in srgb, var(--accent) 14%, transparent);
}

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* ── Hero 3D Effect ──────────────────────────────────────── */
.hero {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.hero h1 {
  transform: translateZ(20px);
  transition: transform 0.3s ease-out;
}

/* ── Glass Morphism ──────────────────────────────────────── */
.glass {
  background: rgba(250, 249, 246, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 224, 214, 0.5);
}

/* ── Ticker 3D Float ─────────────────────────────────────── */
.ticker-track {
  animation: marquee 36s linear infinite, float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

/* ── Stats Counter ───────────────────────────────────────── */
.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  font-family: Fraunces, serif;
  line-height: 1;
}

/* ── Interactive Elements ────────────────────────────────── */
.btn {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.2s, box-shadow 0.3s;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ── Nav Scroll Effect ───────────────────────────────────── */
.nav {
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: color-mix(in srgb, var(--paper) 48%, transparent);
  box-shadow: 0 8px 32px color-mix(in srgb, var(--ink) 6%, transparent);
}

/* ── Section Hover Effects ───────────────────────────────── */
.section {
  position: relative;
  transition: transform 0.3s;
}

/* ── Availability Pulse ──────────────────────────────────── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.availability-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  animation: pulse-dot 2s ease-in-out infinite, glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

/* ── Custom Cursor ──────────────────────────────────────── */
.custom-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
}

.cursor-outline {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1.5px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-hover .cursor-dot {
  width: 0;
  height: 0;
}

.cursor-hover .cursor-outline {
  width: 60px;
  height: 60px;
  border-color: #1d4ed8;
}

/* ── Text Reveal Animation ─────────────────────────────── */
.text-reveal {
  overflow: hidden;
  display: inline-block;
}

.text-reveal-inner {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

/* ── Magnetic Button ───────────────────────────────────── */
.magnetic-btn {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ── Horizontal Scroll Section ─────────────────────────── */
.horizontal-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
}

.horizontal-scroll::-webkit-scrollbar {
  height: 8px;
}

.horizontal-scroll::-webkit-scrollbar-track {
  background: var(--paper-2);
  border-radius: 4px;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.horizontal-item {
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: start;
}

/* ── Parallax Element ──────────────────────────────────── */
.parallax {
  will-change: transform;
}

/* ── Stagger Children ──────────────────────────────────── */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
}

.theme-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--theme-bar-h);
  padding: 8px 16px;
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  color: var(--accent-ink);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}

.theme-bar-label {
  margin: 0;
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent-ink) 70%, var(--accent));
  white-space: nowrap;
}

.theme-bar-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0;
}

.theme-cta {
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--accent-ink) 28%, transparent);
  background: transparent;
  color: var(--accent-ink);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 7px 12px;
  cursor: pointer;
  white-space: nowrap;
}

.theme-cta:hover,
.theme-cta.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.nav {
  position: sticky;
  top: var(--theme-bar-h);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  background: color-mix(in srgb, var(--paper) 42%, transparent);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff 55%, transparent);
}

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

.mark-vr {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.mark-name {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

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

.nav-links a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-cta {
  border: 1px solid var(--ink);
  padding: 8px 14px;
}

.nav-cta:hover,
.btn-solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  padding: 8px 12px;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 28px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.mobile-nav a {
  text-decoration: none;
  font-size: 18px;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 28px 56px;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.availability-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}

.availability-text {
  color: #22c55e;
  font-weight: 500;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

h1 {
  margin: 0;
  font-size: clamp(48px, 9vw, 96px);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.03em;
}

h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.lede {
  max-width: 640px;
  margin: 28px 0 0;
  font-size: 18px;
  color: var(--ink-soft);
  font-weight: 300;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--ink);
  padding: 12px 18px;
  font-size: 14px;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
}

.btn-solid {
  background: var(--ink);
  color: var(--paper);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 56px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}

.hero-meta li {
  font-size: 14px;
  color: var(--ink-soft);
}

.hero-meta strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 4px;
  font-weight: 600;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  background: var(--paper-2);
}

.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 36s linear infinite;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 28px;
}

.stats {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 28px 24px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.stat-number {
  font-family: Fraunces, serif;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-suffix {
  font-family: Fraunces, serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.kicker {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section-head p,
.case p,
.offer-grid p {
  color: var(--ink-soft);
}

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

.offer-grid article {
  background: var(--paper);
  padding: 28px 32px 32px 40px;
  transform-style: preserve-3d;
  will-change: transform;
}

.offer-grid h3,
.case h3 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 600;
}

.section-work {
  padding-top: 72px;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.case {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--line) 80%, var(--accent));
  border-radius: 18px;
  padding: 26px 26px 24px 28px;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 color-mix(in srgb, #fff 55%, transparent) inset;
  transform-style: preserve-3d;
  overflow: hidden;
}

.case::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0.85;
}

.case-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas:
    "meta meta"
    "title bullets"
    "url bullets"
    "body bullets";
  column-gap: 40px;
  row-gap: 0;
  padding: 32px 36px 32px 40px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 42%),
    color-mix(in srgb, var(--paper) 82%, transparent);
}

.case-featured .case-meta { grid-area: meta; }
.case-featured h3 { grid-area: title; }
.case-featured .case-url { grid-area: url; }
.case-featured > p:not(.case-url) { grid-area: body; max-width: none; }
.case-featured ul {
  grid-area: bullets;
  margin: 0;
  padding: 8px 0 0 4px;
  border-top: none;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.case-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.case-chip-accent {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  background: color-mix(in srgb, var(--accent) 12%, var(--paper));
  color: var(--accent);
  font-weight: 600;
}

.case h3 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.case-url {
  margin: 0 0 12px;
  font-size: 13px;
}

.case-url a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.case-url a:hover {
  text-decoration: underline;
}

.case > p:not(.case-url) {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.65;
}

.case ul {
  margin: auto 0 0;
  padding: 14px 0 0 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.55;
}

.case li + li {
  margin-top: 6px;
}

.case-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.earlier {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.earlier p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.steps {
  margin: 0;
  padding: 20px 0 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
}

.steps li {
  counter-increment: step;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: Fraunces, serif;
  font-size: 24px;
  line-height: 1;
  color: var(--accent);
}

.steps strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 0;
  font-weight: 600;
  line-height: 1.3;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.about-grid h3 {
  margin: 0 0 16px;
  font-size: 22px;
}

.resume-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.resume-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.resume-list li span:first-child {
  font-weight: 500;
}

.resume-list li span:last-child {
  font-size: 14px;
  color: var(--muted);
}

.pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.pills li {
  border: 1px solid var(--line);
  padding: 6px 10px;
  font-size: 13px;
  color: var(--ink-soft);
}

.edu {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}

.section-testimonials {
  padding-top: 72px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  margin: 0;
  padding: 28px 28px 28px 36px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  font-style: italic;
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.testimonial footer strong {
  font-size: 14px;
  font-weight: 600;
}

.testimonial footer span {
  font-size: 13px;
  color: var(--muted);
}

.section-clients {
  padding-top: 48px;
  padding-bottom: 64px;
}

.section-clients .kicker {
  text-align: center;
  margin-bottom: 28px;
}

.clients-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 40px;
}

.client-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.section-faq {
  padding-top: 72px;
}

.faq-list {
  max-width: 800px;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.section-contact {
  padding-bottom: 64px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

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

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.form-hint {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.contact-card {
  background: var(--ink);
  color: var(--paper);
  padding: 32px 28px;
}

.contact-photo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: center 18%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 18px;
  display: block;
}

.contact-card a {
  display: block;
  color: var(--paper);
  text-decoration: none;
  font-size: 20px;
  margin-bottom: 8px;
}

.contact-card a:hover {
  color: #93c5fd;
}

.contact-label {
  margin: 22px 0 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-label:first-child {
  margin-top: 0;
}

.contact-card p {
  margin: 0;
  color: #d8d0c2;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 28px 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-links a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

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

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

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

  .custom-cursor,
  .cursor-dot,
  .cursor-outline,
  #cursor-glow {
    display: none;
  }

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

  .hero-meta,
  .offer-grid,
  .case-row,
  .work-grid,
  .about-grid,
  .contact-layout,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .case-featured {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "title"
      "url"
      "body"
      "bullets";
    padding: 24px 22px 22px 26px;
  }

  .case-featured ul {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .testimonials-grid {
    gap: 16px;
  }

  .clients-row {
    gap: 16px 24px;
  }

  .client-logo {
    font-size: 16px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
    border-top: none;
  }

  .steps li {
    padding: 16px 0;
    border-top: 1px solid var(--line);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 24px 0;
  }

  .stat-number {
    font-size: 40px;
  }

  .hero {
    padding-top: 48px;
  }

  .section {
    padding: 64px 20px;
  }

  .nav {
    padding: 14px 20px;
  }

  .theme-bar-label {
    display: none;
  }
}
}

@media (min-width: 861px) and (max-width: 1100px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Parallax ────────────────────────────────────────────── */
.parallax-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.parallax-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.parallax-blob--a {
  top: 6%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: var(--blob-a);
}

.parallax-blob--b {
  top: 52%;
  left: -14%;
  width: 560px;
  height: 560px;
  background: var(--blob-b);
}

.hero-parallax {
  will-change: transform;
}

main,
.ticker,
.footer {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .parallax-blob,
  .hero-parallax {
    transform: none !important;
  }
}
