@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300..900;1,14..32,300..900&display=swap');

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

:root {
  --bg:          #09090f;
  --bg-raised:   #0d0d17;
  --surface:     rgba(255 255 255 / 0.03);
  --surface-hi:  rgba(255 255 255 / 0.06);
  --border:      rgba(255 255 255 / 0.07);
  --border-hi:   rgba(255 255 255 / 0.14);

  --text:        #eeeef8;
  --text-2:      #8888a4;
  --text-3:      #777795;

  --accent:      #818cf8;
  --accent-2:    #22d3ee;
  --accent-bg:   rgba(129 140 248 / 0.1);
  --accent-glow: rgba(129 140 248 / 0.28);

  --grad:        linear-gradient(135deg, #818cf8 0%, #22d3ee 100%);

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 28px;

  --nav-h:  68px;
  --content: 1160px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t:    0.18s;
  --t-md: 0.35s;
}

html {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: dark;
}

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ── Typography ──────────────────────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { line-height: 1.72; color: var(--text-2); }

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

/* ── Layout ──────────────────────────────────────────────────────────────── */

.container {
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

section { padding-block: clamp(72px, 10vw, 128px); }

/* ── Skip link ───────────────────────────────────────────────────────────── */

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  text-decoration: none;
  transition: top 0.15s var(--ease);
}
.skip-link:focus { top: 0; outline: none; }

/* ── Navigation ──────────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background var(--t-md) var(--ease),
              border-color var(--t-md) var(--ease);
}

.nav.scrolled {
  background: rgba(9, 9, 15, 0.88);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  gap: 16px;
}

.nav-logo {
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-logo .sh { color: var(--accent); }

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 7px 14px;
  border-radius: var(--r-sm);
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: var(--surface-hi);
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-hi);
  color: var(--text);
  white-space: nowrap;
  transition: all var(--t) var(--ease);
  flex-shrink: 0;
}
.nav-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-bg);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t) var(--ease);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 28px var(--accent-glow);
}
.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 6px 36px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hi);
}
.btn-ghost:hover {
  background: var(--surface-hi);
  transform: translateY(-2px);
}

/* ── Focus ───────────────────────────────────────────────────────────────── */

:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: drift 10s ease-in-out infinite;
}
.orb-1 {
  width: 560px; height: 560px;
  background: var(--accent);
  opacity: 0.13;
  top: -160px; right: -80px;
}
.orb-2 {
  width: 480px; height: 480px;
  background: var(--accent-2);
  opacity: 0.09;
  bottom: -80px; left: -120px;
  animation-delay: -5s;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(24px, -32px); }
  66%       { transform: translate(-16px, 18px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(60px, 10vw, 100px);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid rgba(129 140 248 / 0.22);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero h1 { margin-bottom: 24px; }

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

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-2);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 44px;
}

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

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bob 2.2s ease-in-out infinite;
}
.scroll-hint::after {
  content: '';
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--text-3), transparent);
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* ── Stats bar ───────────────────────────────────────────────────────────── */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(36px, 5vw, 56px);
  gap: 1px;
  background: var(--border);
}

.stat {
  background: var(--bg);
  padding: clamp(16px, 3vw, 28px) clamp(20px, 3vw, 32px);
  text-align: center;
}

.stat-n {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-l {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Section headers ─────────────────────────────────────────────────────── */

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-header {
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-header h2 { margin-bottom: 14px; }

.section-header p {
  font-size: 1.05rem;
  max-width: 520px;
}

/* ── Bento grid ──────────────────────────────────────────────────────────── */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 14px;
}

/* ── Cards ───────────────────────────────────────────────────────────────── */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 30px);
  transition: border-color var(--t) var(--ease),
              background var(--t) var(--ease),
              transform var(--t) var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
  pointer-events: none;
}

.card:hover {
  border-color: var(--border-hi);
  background: var(--surface-hi);
  transform: translateY(-3px);
}

.card:hover::after { opacity: 0.035; }

.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-bg);
  border: 1px solid rgba(129 140 248 / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
  flex-shrink: 0;
}
.card-icon svg { width: 20px; height: 20px; stroke-width: 1.6; }

.card h3 { margin-bottom: 10px; }
.card p  { font-size: 0.875rem; line-height: 1.65; }

.card-spacer { flex: 1; }

.card-arrow {
  align-self: flex-end;
  margin-top: auto;
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--surface-hi);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all var(--t) var(--ease);
}
.card:hover .card-arrow {
  background: var(--accent-bg);
  border-color: rgba(129 140 248 / 0.3);
  color: var(--accent);
  transform: translate(2px, -2px);
}

.card-horiz {
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
.card-horiz .card-icon { margin-bottom: 0; }
.card-horiz .card-text { flex: 1; min-width: 0; }
.card-horiz .card-arrow { margin-top: 0; margin-left: auto; }

/* ── Approach grid ───────────────────────────────────────────────────────── */

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

/* ── Tags ────────────────────────────────────────────────────────────────── */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.tag {
  font-size: 0.76rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--surface-hi);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: all var(--t) var(--ease);
}
.tag:hover {
  border-color: rgba(129 140 248 / 0.32);
  color: var(--accent);
  background: var(--accent-bg);
}

/* ── CTA section ─────────────────────────────────────────────────────────── */

.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 700px; height: 350px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.06;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-section h2 { margin-bottom: 18px; }
.cta-section > .container > p {
  font-size: 1.05rem;
  max-width: 420px;
  margin-inline: auto;
  margin-bottom: 40px;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  padding-block: 36px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.footer-logo .sh { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-size: 0.83rem;
  color: var(--text-2);
  transition: color var(--t);
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-3);
}

/* ── Page hero (inner pages) ─────────────────────────────────────────────── */

.page-hero {
  padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 96px));
  padding-bottom: clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { margin-bottom: 18px; }

.page-hero p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  max-width: 560px;
}

/* ── Services page ───────────────────────────────────────────────────────── */

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  padding-block: clamp(56px, 8vw, 88px);
  border-bottom: 1px solid var(--border);
}
.service-block:last-of-type { border-bottom: none; }

.service-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}

.service-block h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 18px;
}

.service-block p { margin-bottom: 18px; }

.service-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-visual::before {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: var(--grad);
  opacity: 0.07;
  filter: blur(48px);
}

.vis-icon {
  position: relative;
  z-index: 1;
  width: 96px; height: 96px;
  color: var(--accent);
  opacity: 0.5;
}
.vis-icon svg { width: 100%; height: 100%; stroke-width: 0.8; }

.service-block.flip .service-visual { order: -1; }

/* ── About page ──────────────────────────────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.about-aside {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  text-align: center;
}

.profile-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--grad);
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.05em;
  font-family: 'Courier New', monospace;
}

.profile-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.profile-role { font-size: 0.82rem; color: var(--accent); margin-bottom: 12px; }
.profile-loc {
  font-size: 0.8rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.credentials {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cred {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 13px 16px;
  font-size: 0.83rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color var(--t);
}
.cred:hover { border-color: var(--border-hi); }

.cred-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.about-body h2 { margin-bottom: 20px; }
.about-body p  { font-size: 1.02rem; margin-bottom: 20px; }

.timeline {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.timeline-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 28px;
}

.exp-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0 16px;
  padding-bottom: 28px;
}

.exp-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.exp-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  flex-shrink: 0;
  margin-top: 5px;
}

.exp-bar {
  flex: 1;
  width: 1px;
  background: var(--border);
  margin-top: 4px;
}

.exp-item:last-child .exp-bar { display: none; }
.timeline ul { list-style: none; }

.exp-role  { font-size: 0.95rem; font-weight: 600; margin-bottom: 3px; }
.exp-co    { font-size: 0.85rem; color: var(--accent); margin-bottom: 4px; }
.exp-dates { font-size: 0.78rem; color: var(--text-2); }

/* ── Contact page ────────────────────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-block: 22px;
  border-bottom: 1px solid var(--border);
}
.contact-method:first-child { padding-top: 0; }
.contact-method:last-child  { border-bottom: none; padding-bottom: 0; }

.contact-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: var(--accent-bg);
  border: 1px solid rgba(129 140 248 / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.contact-icon svg { width: 18px; height: 18px; stroke-width: 1.6; }

.contact-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}

.contact-value {
  font-size: 0.95rem;
  color: var(--text);
  transition: color var(--t);
}
.contact-value:hover { color: var(--accent); }

.contact-value small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-2);
  margin-top: 3px;
}

.contact-intro h2 { margin-bottom: 16px; }
.contact-intro p  { font-size: 1.02rem; margin-bottom: 20px; }

.form-coming {
  background: var(--surface);
  border: 1px dashed var(--border-hi);
  border-radius: var(--r-lg);
  padding: 40px;
  text-align: center;
  margin-top: 32px;
}
.form-coming p {
  font-size: 0.875rem;
  color: var(--text-2);
}
.form-coming strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
}

/* ── Result callout ──────────────────────────────────────────────────────── */

.result-block {
  border-left: 2px solid var(--accent);
  padding: 16px 20px;
  background: var(--accent-bg);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-top: 28px;
}

.result-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.result-block p {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 0;
}

.result-block p + p { margin-top: 10px; }

/* ── Case studies ────────────────────────────────────────────────────────── */

.case-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-block: clamp(40px, 6vw, 64px);
}

.case-meta-block {
  padding: clamp(18px, 2.5vw, 26px);
  border-right: 1px solid var(--border);
}
.case-meta-block:last-child { border-right: none; }

.case-meta-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}

.case-meta-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.case-hero-image {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-block: clamp(40px, 6vw, 64px);
  aspect-ratio: 16 / 7;
}

.case-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

.case-section {
  max-width: 720px;
  padding-block: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--border);
}

.case-section h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 20px;
}

.case-section > p { margin-bottom: 18px; }

.case-section ul,
.case-section ol {
  padding-left: 1.4em;
  color: var(--text-2);
  font-size: 0.975rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

.case-section li { margin-bottom: 8px; }

.case-section strong { color: var(--text); }

.case-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.case-image-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--r);
  border: 1px solid var(--border);
  display: block;
  opacity: 0.85;
}

.result-highlight {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  background: var(--accent-bg);
  border: 1px solid rgba(129 140 248 / 0.2);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 36px);
  margin-top: 32px;
}

.result-highlight-value {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.result-highlight-label {
  font-size: 0.92rem;
  color: var(--text-2);
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px);
  margin-block: clamp(40px, 6vw, 64px);
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 8px; left: 28px;
  font-size: 7rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.12;
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-quote p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.testimonial-author-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.testimonial-author-title {
  font-size: 0.82rem;
  color: var(--accent);
}

/* ── Scroll animations ───────────────────────────────────────────────────── */

.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.fade-up.visible { opacity: 1; transform: none; }

/* Stagger children when parent has .stagger */
.stagger .fade-up:nth-child(1) { transition-delay: 0ms; }
.stagger .fade-up:nth-child(2) { transition-delay: 75ms; }
.stagger .fade-up:nth-child(3) { transition-delay: 150ms; }
.stagger .fade-up:nth-child(4) { transition-delay: 225ms; }

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }

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

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

  .service-block,
  .contact-grid { grid-template-columns: 1fr; }

  .case-meta { grid-template-columns: 1fr 1fr; }
  .case-meta-block:nth-child(2) { border-right: none; }
  .case-meta-block:nth-child(3),
  .case-meta-block:nth-child(4) { border-top: 1px solid var(--border); }

  .service-block.flip .service-visual { order: 0; }

  .about-grid { grid-template-columns: 1fr; }
  .about-aside { position: static; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    inset-inline: 0;
    background: rgba(9, 9, 15, 0.97);
    backdrop-filter: blur(24px);
    padding: 20px clamp(20px, 5vw, 40px);
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .nav-links.open + .nav-cta {
    display: block;
  }

  .bento { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .case-image-grid { grid-template-columns: 1fr; }
  .case-image-grid img { height: 180px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link { transition: none; }
  .orb { animation: none; }
  .scroll-hint { animation: none; }
  .hero-tag::before { animation: none; }
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
