@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
  --app-font-sans: 'DM Sans', sans-serif;
  --app-font-serif: 'Space Grotesk', sans-serif;
  --app-font-mono: 'Space Grotesk', monospace;
  --color-bg: #0a0a0a;
  --color-fg: #f5f5f5;
  --color-muted: #8a8a8a;
  --color-border: #2a2a2a;
  --color-border-light: #d2d2d2;
  --color-white: #f5f5f5;
}

/* ─── Reset & Mobile Zero-Overflow Protection ───────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  background: var(--color-bg);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  width: 100%;
  max-width: 100%;
  min-width: 320px;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--app-font-sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
p, h1, h2, h3, h4, h5, h6, span, a, li, button, td, th, blockquote {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, video, canvas, svg { display: block; max-width: 100%; height: auto; }
section, main, header, footer { max-width: 100%; }

/* ─── Utilities ──────────────────────────────────────────────── */
.font-display { font-family: var(--app-font-serif); }
.font-mono { font-family: var(--app-font-mono); }
.container-dnl { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow { font-family: var(--app-font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #8a8a8a; }
.section-label { display: flex; align-items: center; gap: 10px; color: #8a8a8a; font: 10px var(--app-font-mono); letter-spacing: .15em; text-transform: uppercase; }
.section-label::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.outline-number { color: transparent; -webkit-text-stroke: 1px #444; font: 700 clamp(58px, 8vw, 120px) var(--app-font-serif); line-height: .8; }
.muted { color: var(--color-muted); }
.lead { font-size: 16px; line-height: 1.75; color: #747474; }

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

/* ─── Animations & Scroll Reveal Transitions ───────────────────── */
.reveal { animation: reveal-up .8s both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }

/* IntersectionObserver Scroll Reveal Transitions */
.service-card,
.project-card,
.blog-card,
.team-card,
.value-card,
.stat,
.faq-item,
.process-item,
.service-feature-box {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.in-view,
.service-card.in-view,
.project-card.in-view,
.blog-card.in-view,
.team-card.in-view,
.value-card.in-view,
.stat.in-view,
.faq-item.in-view,
.process-item.in-view,
.service-feature-box.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes curtain {
  from { transform: scaleY(1); transform-origin: top; }
  to   { transform: scaleY(0); transform-origin: top; }
}
@keyframes drift {
  0%,100% { transform: translate3d(0,0,0) rotate(0deg); }
  50%      { transform: translate3d(18px,-12px,0) rotate(5deg); }
}
@keyframes curtain {
  0% { transform: translateY(0%); opacity: 1; }
  65% { opacity: 1; }
  100% { transform: translateY(-100%); opacity: 0; visibility: hidden; }
}

/* ─── Page Curtain ───────────────────────────────────────────── */
.page-curtain {
  position: fixed; inset: 0; z-index: 9999; background: #0a0a0a;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  animation: curtain 0.9s cubic-bezier(.7, 0, .2, 1) 0.15s forwards;
}
.page-curtain span {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%);
  font: 700 22px var(--app-font-serif); letter-spacing: .2em;
}

/* ─── Decorative ─────────────────────────────────────────────── */
.wireframe {
  position: absolute; border: 1px solid rgba(255,255,255,.2); pointer-events: none;
}
.wireframe::before, .wireframe::after {
  content: ''; position: absolute; inset: 14%; border: 1px solid rgba(255,255,255,.12); transform: rotate(45deg);
}
.wireframe::after { transform: rotate(-45deg); }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn-dnl {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
  gap: 12px; padding: 0 20px; border: 1px solid currentColor;
  font: 600 11px var(--app-font-mono); letter-spacing: .08em; text-transform: uppercase;
  transition: background .3s, color .3s, transform .3s; cursor: pointer; background: none;
}
.btn-dnl:hover { background: #f5f5f5; color: #0a0a0a; transform: translateY(-2px); }
.btn-light { color: #0a0a0a; background: #f5f5f5; border-color: #f5f5f5; }
.btn-light:hover { color: #f5f5f5; background: #0a0a0a; }
.btn-dark { color: #f5f5f5; background: #0a0a0a; border-color: #0a0a0a; }
.btn-dark:hover { color: #0a0a0a; background: #f5f5f5; }

/* ─── Arrow Link ─────────────────────────────────────────────── */
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font: 11px var(--app-font-mono); text-transform: uppercase; letter-spacing: .1em; }
.arrow-link svg { transition: transform .3s; }
.arrow-link:hover svg { transform: translateX(5px); }
.underlink { position: relative; }
.underlink::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: currentColor; transition: right .3s; }
.underlink:hover::after { right: 0; }

/* ─── Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed; z-index: 40; top: 0; left: 0; right: 0;
  transition: background .3s, border-color .3s; border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,10,10,.87); backdrop-filter: blur(14px); border-color: #2a2a2a;
}
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.logo-mark { display: inline-flex; align-items: center; gap: 10px; font: 700 18px var(--app-font-serif); letter-spacing: -.04em; }
.logo-symbol { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid currentColor; font: 600 11px var(--app-font-mono); }
.logo-img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; display: block; }
.desktop-nav { display: flex; align-items: center; gap: clamp(16px,2.4vw,36px); font: 11px var(--app-font-mono); text-transform: uppercase; letter-spacing: .07em; color: #b7b7b7; }
.desktop-nav a:hover, .desktop-nav a.active { color: #f5f5f5; }
.header-quote { min-height: 37px; padding: 0 14px; font-size: 10px; }
.menu-btn { display: none; color: #f5f5f5; background: none; border: 0; }

/* ─── Services Dropdown ──────────────────────────────────────── */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: 0; color: inherit; cursor: pointer;
  font: 11px var(--app-font-mono); text-transform: uppercase; letter-spacing: .07em;
  padding: 0; transition: color .2s;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active { color: #f5f5f5; }

.nav-dropdown {
  position: absolute; top: calc(100% + 20px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  z-index: 200; min-width: 620px;
}
.nav-dropdown.open {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Arrow pointer */
.nav-dropdown::before {
  content: ''; position: absolute; top: -7px; left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-bottom-color: rgba(10,10,10,.94);
  border-top: 0;
}
.nav-dropdown-inner {
  background: rgba(10,10,10,.94);
  backdrop-filter: blur(18px);
  border: 1px solid #2a2a2a;
  padding: 24px;
}
.nav-dropdown-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px; border-bottom: 1px solid #2a2a2a; margin-bottom: 16px;
  font: 10px var(--app-font-mono); letter-spacing: .14em; text-transform: uppercase; color: #666;
}
.nav-dropdown-all {
  display: inline-flex; align-items: center; gap: 5px;
  color: #888; font: 10px var(--app-font-mono); letter-spacing: .1em;
  text-transform: uppercase; transition: color .2s;
}
.nav-dropdown-all:hover { color: #f5f5f5; }

.nav-dropdown-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 6px; }
.nav-dropdown-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px; transition: background .2s;
  border-radius: 6px;
}
.nav-dropdown-item:hover { background: rgba(255,255,255,.06); }
.nav-dropdown-icon {
  width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center;
  border: 1px solid #333; color: #888; transition: border-color .2s, color .2s;
  border-radius: 4px;
}
.nav-dropdown-item:hover .nav-dropdown-icon { border-color: #666; color: #f5f5f5; }
.nav-dropdown-item-title {
  font: 500 13px var(--app-font-serif); color: #e0e0e0; letter-spacing: -.02em;
  margin-bottom: 3px; transition: color .2s;
}
.nav-dropdown-item:hover .nav-dropdown-item-title { color: #fff; }
.nav-dropdown-item-desc {
  font: 11px var(--app-font-sans); color: #666; line-height: 1.4;
}

/* ─── Mobile Services Accordion ─────────────────────────────── */
.mobile-services-section { border-bottom: 1px solid #2a2a2a; }
.mobile-services-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border: 0; background: none; color: #f5f5f5;
  font: 500 clamp(26px, 6vw, 36px)/1 var(--app-font-serif); cursor: pointer; text-align: left;
}
.mobile-services-list {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin 0.3s;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-services-list.open {
  max-height: 650px;
  opacity: 1;
  margin-top: 8px;
  margin-bottom: 16px;
}
.mobile-service-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0 10px 6px; border-bottom: 1px dashed rgba(255,255,255,0.08);
  font: 13px var(--app-font-sans); color: #c0c0c0; transition: color .2s, padding-left .2s;
}
.mobile-service-item:last-child { border-bottom: 0; }
.mobile-service-item:hover { color: #fff; padding-left: 10px; }
.mobile-service-all {
  color: #888; font: 10px var(--app-font-mono); text-transform: uppercase;
  letter-spacing: .1em; padding-top: 8px;
}

/* ─── Mobile Menu ────────────────────────────────────────────── */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100vh; height: 100dvh;
  z-index: 39; display: flex; flex-direction: column;
  justify-content: flex-start; padding: 90px 24px 40px; background: #0a0a0a;
  overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  transform: translateY(-100%); transition: transform .4s cubic-bezier(.7,0,.2,1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu > a {
  padding: 16px 0; border-bottom: 1px solid #2a2a2a;
  font: 500 clamp(26px, 6vw, 36px)/1 var(--app-font-serif);
  display: flex; align-items: center; justify-content: space-between;
  color: #f5f5f5; transition: color .2s, padding-left .2s;
}
.mobile-menu > a:hover { color: #ffffff; padding-left: 6px; }
.mobile-menu .btn-dnl { width: 100%; margin-top: 28px; min-height: 50px; font: 600 11px var(--app-font-mono); }

body.menu-open { overflow: hidden !important; }

@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 780px; display: flex; align-items: center;
  overflow: hidden; background: #0a0a0a;
}
.hero-grid {
  position: absolute; inset: 0; opacity: .28;
  background-image: linear-gradient(#2a2a2a 1px,transparent 1px), linear-gradient(90deg,#2a2a2a 1px,transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 76% 45%, rgba(255,255,255,.08), transparent 20%),
              linear-gradient(100deg, transparent 55%, rgba(255,255,255,.025));
}
.hero-orbit {
  width: 36vw; height: 36vw; max-width: 580px; max-height: 580px;
  right: 4%; top: 24%; border-radius: 50%; border: 1px solid rgba(255,255,255,.17);
  position: absolute; animation: drift 12s ease-in-out infinite;
}
.hero-orbit::before {
  content: ''; position: absolute; inset: 10%; border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%; transform: rotateX(65deg);
}
.hero-orbit::after {
  content: ''; position: absolute; inset: 20%; border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%; transform: rotateY(65deg);
}
.hero-content { position: relative; z-index: 1; padding-top: 88px; }
.hero-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; color: #9a9a9a; font: 10px var(--app-font-mono); letter-spacing: .18em; text-transform: uppercase; }
.hero-kicker i { width: 40px; height: 1px; background: #f5f5f5; }
.hero h1 { max-width: 950px; font: 600 clamp(54px,8.3vw,124px)/.88 var(--app-font-serif); letter-spacing: -.075em; }
.hero h1 em { font-style: normal; color: #8a8a8a; }
.hero-sub { max-width: 440px; margin: 36px 0 0 8px; color: #9a9a9a; font-size: 15px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; margin: 34px 0 0 8px; }
.hero-foot {
  position: absolute; bottom: 28px; left: 0; right: 0; display: flex;
  align-items: center; justify-content: space-between; color: #777;
  font: 10px var(--app-font-mono); letter-spacing: .1em; text-transform: uppercase;
}
.scroll-cue { display: flex; align-items: center; gap: 10px; }
.scroll-cue::before { content: ''; width: 45px; height: 1px; background: #666; animation: pulse-line 2s infinite; }

/* ─── Marquee ────────────────────────────────────────────────── */
.marquee-wrap { position: relative; z-index: 10; overflow: hidden; border-bottom: 1px solid #dedede; background: #f5f5f5; color: #0a0a0a; }
.marquee { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee-row { display: flex; align-items: center; gap: 56px; padding: 24px 28px; }
.marquee-row span { white-space: nowrap; font: 600 13px var(--app-font-serif); letter-spacing: .11em; text-transform: uppercase; }
.marquee-row span::before { content: ''; display: inline-block; width: 4px; height: 4px; margin: 0 56px 2px 0; border: 1px solid currentColor; border-radius: 50%; }

/* ─── Split Section ──────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; background: #0a0a0a; color: #ffffff; }
.split-copy { padding: clamp(70px,9vw,140px) clamp(24px,8vw,120px); display: flex; flex-direction: column; justify-content: center; }
.split-copy h2, .section-heading { margin: 20px 0 0; font: 600 clamp(40px,5vw,76px)/.96 var(--app-font-serif); letter-spacing: -.06em; color: #ffffff; }
.split-copy p { max-width: 470px; margin: 28px 0; color: #ffffff; opacity: 0.92; font-size: 16px; line-height: 1.75; }
.split-copy .section-label { color: #ffffff !important; }
.split-copy .section-label::before { background: #ffffff !important; }
.split-copy .arrow-link { color: #ffffff !important; }
.split-image { position: relative; min-height: 480px; overflow: hidden; background: linear-gradient(135deg,#4c4c4c,#c3c3c3 50%,#131313); }
.split-image::before { content: ''; position: absolute; inset: 0; opacity: .45; background: repeating-linear-gradient(115deg,transparent 0 34px,rgba(255,255,255,.14) 35px 36px); }
.split-image::after { content: 'DNL / 01'; position: absolute; bottom: 26px; left: 28px; color: #ffffff; font: 10px var(--app-font-mono); letter-spacing: .12em; }
.image-sculpture { position: absolute; width: 56%; aspect-ratio: 1; top: 17%; left: 22%; border: 1px solid rgba(255,255,255,.7); transform: rotate(32deg) skew(-8deg); }
.image-sculpture::before, .image-sculpture::after { content: ''; position: absolute; inset: 12%; border: 1px solid rgba(255,255,255,.6); }
.image-sculpture::after { inset: 24%; }

/* ─── Sections ───────────────────────────────────────────────── */
.white-section {
  background: #f5f5f5;
  color: #0a0a0a;
  position: relative;
}
.white-section h2, .white-section h3 { color: #0a0a0a; }
.white-section p { color: #555555; }
.white-section .eyebrow, .white-section .section-label { color: #737373; }
.white-section .section-label::before { background: #0a0a0a; }
.white-section .muted { color: #737373; }

.dark-band {
  background: #0a0a0a;
  color: #f5f5f5;
  position: relative;
}
.dark-band h2, .dark-band h3 { color: #ffffff !important; }
.dark-band p { color: #b8b8b8 !important; }
.dark-band .section-label { color: #aaaaaa; }
.dark-band .section-label::before { background: #ffffff; }
.dark-band .outline-number { -webkit-text-stroke-color: rgba(255,255,255,0.4); }

.page-section { padding: 120px 0; }
.page-section h2 { margin: 18px 0 25px; font: 600 clamp(42px,5vw,76px)/.92 var(--app-font-serif); letter-spacing: -.07em; }

/* ─── Section Transitions (Black ↔ White) ────────────────────── */
.diagonal-top {
  clip-path: polygon(0 36px, 100% 0, 100% 100%, 0 100%);
  margin-top: -36px;
}
.diagonal-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 0 100%);
  margin-bottom: -36px;
}

/* ─── Stats ──────────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid #d7d7d7; border-bottom: 1px solid #d7d7d7; }
.stat { padding: 70px 24px 78px; border-right: 1px solid #d7d7d7; color: #0a0a0a; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 600 clamp(46px,6vw,84px) var(--app-font-serif); letter-spacing: -.08em; color: #0a0a0a; }
.stat span { display: block; margin-top: 8px; color: #555; font: 11px var(--app-font-mono); letter-spacing: .1em; text-transform: uppercase; }

/* ─── Services ───────────────────────────────────────────────── */
.services-section { padding: 120px 0 150px; background: #0a0a0a; }
.services-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 66px; }
.services-intro h2 { max-width: 560px; margin-top: 20px; font: 600 clamp(42px,6vw,82px)/.9 var(--app-font-serif); letter-spacing: -.07em; }
.services-intro p { max-width: 300px; color: #888; font-size: 14px; line-height: 1.65; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: #2a2a2a; border: 1px solid #2a2a2a; }
.service-card {
  min-height: 300px; position: relative; display: flex; flex-direction: column;
  justify-content: space-between; padding: 30px; background: #0a0a0a;
  transition: transform .35s, background .35s;
}
.service-card:hover { z-index: 1; background: #f5f5f5; color: #0a0a0a; transform: translateY(-7px); }
.service-card:hover .muted { color: #666; }
.service-card .num { color: #777; font: 11px var(--app-font-mono); }
.service-card h3 { margin: 24px 0 12px; font: 600 28px/1 var(--app-font-serif); letter-spacing: -.05em; color: #ffffff; transition: color .35s; }
.service-card:hover h3 { color: #0a0a0a; }
.service-card p { max-width: 280px; color: #8a8a8a; font-size: 13px; line-height: 1.6; }

/* ─── Next-Level Service Icon System ─────────────────────────── */
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  margin-bottom: 8px;
}

.service-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.3), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover .service-icon {
  background: #0a0a0a !important;
  color: #ffffff !important;
  border-color: #0a0a0a !important;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.service-card:hover .service-icon::before {
  opacity: 1;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-icon svg {
  transform: scale(1.06);
}

/* ─── Values ─────────────────────────────────────────────────── */
.values-section { padding: 130px 0; }
.values-head { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 70px; }
.values-head p { max-width: 340px; align-self: end; color: #747474; font-size: 15px; line-height: 1.7; }
.value-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid #d7d7d7; }
.value-card { min-height: 230px; padding: 30px 22px; border-right: 1px solid #d7d7d7; }
.value-card:last-child { border: 0; }
.value-card svg { margin-bottom: 48px; }
.value-card h3 { font: 600 22px var(--app-font-serif); letter-spacing: -.04em; color: inherit; }
.value-card p { color: inherit; opacity: 0.85; font-size: 13px; line-height: 1.6; }

/* ─── Process ────────────────────────────────────────────────── */
.process-section { padding: 130px 0 160px; background: #0a0a0a; }
.process-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 80px; }
.process-head h2 { max-width: 520px; margin-top: 20px; font: 600 clamp(44px,6vw,80px)/.9 var(--app-font-serif); letter-spacing: -.07em; }
.process-head p { max-width: 250px; color: #888; font-size: 14px; line-height: 1.7; }
.process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 20px; left: 0; right: 0; border-top: 1px solid #3b3b3b; }
.process-item { position: relative; padding-top: 56px; }
.process-item::before { content: ''; position: absolute; top: 14px; left: 0; width: 13px; height: 13px; border: 1px solid #f5f5f5; background: #0a0a0a; }
.process-item .num { color: #888; font: 11px var(--app-font-mono); }
.process-item h3 { margin: 20px 0 12px; font: 600 26px var(--app-font-serif); letter-spacing: -.04em; }
.process-item p { max-width: 280px; color: #888; font-size: 13px; line-height: 1.7; }

/* ─── Portfolio ──────────────────────────────────────────────── */
.portfolio-section { padding: 130px 0; }
.portfolio-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 58px; }
.portfolio-head h2 { margin-top: 20px; font: 600 clamp(44px,6vw,80px)/.9 var(--app-font-serif); letter-spacing: -.07em; }
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 34px; }
.project-card { display: block; margin-top: 0 !important; }
.project-visual { position: relative; overflow: hidden; border: 10px solid #0a0a0a; background: #202020; height: 320px; aspect-ratio: 1.35; border-radius: 8px; }
.project-visual img { width: 100%; height: 100%; object-fit: cover; filter: none; transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
.project-card:hover img { transform: scale(1.05); }
.project-card:hover .project-hover-overlay { opacity: 1 !important; }
.project-tag { margin-top: 16px; color: #777; font: 10px var(--app-font-mono); text-transform: uppercase; letter-spacing: .13em; }
.project-card h3 { margin: 8px 0 0; font: 600 28px var(--app-font-serif); letter-spacing: -.05em; }

/* ─── Project Cards Auto-Scroll Carousel ───────────────────────── */
.project-auto-scroll-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0 30px;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.project-auto-scroll-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: projectMarqueeLeft 24s linear infinite;
  will-change: transform;
}

.project-auto-scroll-wrap:hover .project-auto-scroll-track {
  animation-play-state: paused;
}

@keyframes projectMarqueeLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.project-auto-scroll-track .project-card {
  width: 480px;
  flex-shrink: 0;
}

/* ─── Tech / Dark Marquee ────────────────────────────────────── */
.tech-section { padding: 26px 0; background: #0a0a0a; border-block: 1px solid #2a2a2a; }
.tech-section .marquee-row span { color: #f5f5f5; }

/* ─── Dual-Row Fast Auto-Scrolling Tech Marquee ──────────────── */
.tech-marquee-wrapper {
  margin-top: 40px;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.tech-marquee-row {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
  padding: 8px 0;
}

/* Row 1: Right to Left */
.tech-marquee-row.row-top {
  animation: marqueeScrollLeft 16s linear infinite;
}

/* Row 2: Left to Right */
.tech-marquee-row.row-bottom {
  animation: marqueeScrollRight 16s linear infinite;
}

.tech-marquee-wrapper:hover .tech-marquee-row {
  animation-play-state: paused;
}

@keyframes marqueeScrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeScrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.tech-badge-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: #121212;
  border: 1px solid #262626;
  border-radius: 8px;
  color: #e5e5e5;
  font: 600 13px var(--app-font-mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.tech-badge-card:hover {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
}

.tech-badge-card svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 1.8px;
}

@media (prefers-reduced-motion: reduce) {
  .tech-marquee-row {
    animation: none !important;
    flex-wrap: wrap !important;
    width: 100% !important;
  }
}

/* ─── Quote ──────────────────────────────────────────────────── */
.quote-section { padding: 130px 0; }
.quote-layout { display: grid; grid-template-columns: 140px 1fr 220px; gap: 30px; align-items: start; }
.quote-mark { font: 700 140px/.7 Georgia,serif; }
.quote-text { max-width: 680px; font: 500 clamp(28px,4vw,54px)/1.08 var(--app-font-serif); letter-spacing: -.06em; }
.quote-person { align-self: end; }
.avatar-mono { width: 56px; height: 56px; margin-bottom: 14px; display: grid; place-items: center; background: #0a0a0a; color: #f5f5f5; font: 600 15px var(--app-font-serif); }
.quote-person strong { display: block; font: 600 14px var(--app-font-serif); }
.quote-person span { color: #777; font-size: 12px; }

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-section { padding: 125px 0 150px; background: #0a0a0a; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.faq-layout h2 { margin-top: 20px; font: 600 clamp(43px,6vw,78px)/.9 var(--app-font-serif); letter-spacing: -.07em; }
.faq-list { border-top: 1px solid #333; }
.faq-item { border-bottom: 1px solid #333; }
.faq-q { width: 100%; display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; border: 0; background: none; color: #f5f5f5; text-align: left; cursor: pointer; font: 500 16px var(--app-font-serif); }
.faq-q svg { flex: none; transition: transform .3s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer p { overflow: hidden; max-width: 600px; color: #888; font-size: 14px; line-height: 1.7; padding-bottom: 24px; }

/* ─── CTA Banner & CTA Section ────────────────────────────────── */
.cta-section { position: relative; padding: 130px 0 140px; background: #f5f5f5; color: #0a0a0a; overflow: hidden; }
.cta-banner { position: relative; padding: 130px 0 145px; overflow: hidden; background: #f5f5f5; color: #0a0a0a; }
.cta-banner h2 { max-width: 800px; margin: 20px 0 40px; font: 600 clamp(48px,7vw,100px)/.88 var(--app-font-serif); letter-spacing: -.08em; }
.cta-ring { position: absolute; width: 460px; height: 460px; right: -80px; top: -120px; border: 1px solid #c9c9c9; border-radius: 50%; }
.cta-ring::before { content: ''; position: absolute; inset: 35px; border: 1px solid #d6d6d6; border-radius: 50%; }
.cta-layout { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: 30px; }
.cta-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; margin-bottom: 24px; }

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer { padding: 80px 0 26px; background: #0a0a0a; color: #f5f5f5; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .9fr 1.1fr; gap: 40px; padding-bottom: 80px; }
.footer-tagline { max-width: 250px; margin: 28px 0; color: #888; font-size: 14px; line-height: 1.6; }
.footer-heading { margin-bottom: 20px; color: #777; font: 10px var(--app-font-mono); letter-spacing: .15em; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: 13px; color: #c2c2c2; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-newsletter { display: flex; border-bottom: 1px solid #777; }
.footer-newsletter input { width: 100%; padding: 12px 0; border: 0; outline: 0; background: transparent; color: #f5f5f5; font-size: 13px; }
.footer-newsletter button { border: 0; background: none; color: #f5f5f5; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #3b3b3b; background: none; color: #f5f5f5; transition: background .25s, color .25s; }
.socials button:hover { background: #f5f5f5; color: #0a0a0a; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid #2a2a2a; color: #696969; font: 10px var(--app-font-mono); text-transform: uppercase; letter-spacing: .08em; }

/* ─── Inner Hero ─────────────────────────────────────────────── */
.inner-hero { position: relative; overflow: hidden; padding: 185px 0 125px; background: #0a0a0a; }
.inner-hero.light { background: #f5f5f5; color: #0a0a0a; }
.inner-hero.light .eyebrow { color: #737373; }
.inner-hero.light p { color: #737373; }
.inner-hero.light .outline-number { -webkit-text-stroke-color: #c7c7c7; }
.inner-hero h1 { max-width: 920px; margin: 24px 0 0; font: 600 clamp(55px,9vw,128px)/.85 var(--app-font-serif); letter-spacing: -.08em; }
.inner-hero p { max-width: 470px; margin: 30px 0 0; color: #999; font-size: 16px; line-height: 1.7; }
.inner-hero .outline-number { position: absolute; right: 4%; bottom: 18%; }

/* ─── Dedicated Service Page Architecture & Hero Visuals ──────── */
.service-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a0a0a;
  padding: 170px 0 100px;
  border-bottom: 1px solid #222;
}

.service-hero-visual-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.service-hero-ambient-glow {
  position: absolute;
  inset: 0;
  filter: blur(60px);
  opacity: 0.85;
}

.service-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: 
    linear-gradient(#2a2a2a 1px, transparent 1px),
    linear-gradient(90deg, #2a2a2a 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.service-hero-svg {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 65vw;
  max-width: 900px;
  height: auto;
  pointer-events: none;
}

.service-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.service-hero-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid currentColor;
  font: 600 10px var(--app-font-mono);
  letter-spacing: .15em;
  text-transform: uppercase;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

.service-hero-meta {
  font: 10px var(--app-font-mono);
  letter-spacing: .14em;
  color: #777;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-hero-meta .divider { color: #444; }

.service-hero-title {
  max-width: 920px;
  margin: 0;
  font: 600 clamp(44px, 6.5vw, 84px)/0.95 var(--app-font-serif);
  letter-spacing: -0.06em;
}

.service-hero-title .title-sub {
  font-weight: 400;
}

.service-hero-lead {
  max-width: 680px;
  margin: 28px 0 36px;
  color: #999;
  font-size: 17px;
  line-height: 1.7;
}

.service-hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 70px;
  flex-wrap: wrap;
}

/* KPI Metric Strip */
.service-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #262626;
  border: 1px solid #262626;
  margin-top: 20px;
}

.service-kpi-card {
  padding: 28px 24px;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(12px);
}

.kpi-value {
  font: 600 clamp(28px, 3.5vw, 42px) var(--app-font-serif);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 8px;
}

.kpi-label {
  font: 600 11px var(--app-font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #e5e5e5;
  margin-bottom: 6px;
}

.kpi-detail {
  font-size: 12px;
  color: #777;
  line-height: 1.5;
}

/* 01 / Strategic Thesis Section */
.service-thesis-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}

.service-thesis-heading {
  margin: 20px 0 24px;
  font: 600 clamp(36px, 4.5vw, 60px)/1 var(--app-font-serif);
  letter-spacing: -0.05em;
}

.service-tagline-quote {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  font: 500 18px var(--app-font-serif);
  color: #333;
  letter-spacing: -0.02em;
}

.service-tagline-quote .quote-bar {
  width: 3px;
  height: 48px;
  flex-shrink: 0;
}

.service-why-list {
  margin-top: 36px;
  padding: 32px;
  background: #ebebeb;
  border: 1px solid #dedede;
}

.why-title {
  font: 600 11px var(--app-font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 20px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.why-item:last-child { margin-bottom: 0; }

.why-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #f5f5f5;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-item p {
  margin: 0;
  color: #444;
  font-size: 14px;
  line-height: 1.6;
}

/* Section Head Dual */
.section-head-dual {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 60px;
}

.section-head-dual h2 {
  margin: 16px 0 0;
  font: 600 clamp(36px, 4.5vw, 64px)/0.95 var(--app-font-serif);
  letter-spacing: -0.06em;
}

.section-head-dual p {
  max-width: 360px;
  color: #888;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

/* 02 / Capabilities Grid */
.service-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #282828;
  border: 1px solid #282828;
}

.service-feature-box {
  padding: 36px 30px;
  background: #0d0d0d;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  transition: background .3s, transform .3s;
}

.service-feature-box:hover {
  background: #141414;
  transform: translateY(-4px);
  z-index: 2;
}

.feature-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.feature-num {
  font: 11px var(--app-font-mono);
  color: #777;
}

.feature-accent-line {
  width: 24px;
  height: 2px;
}

.service-feature-box h3 {
  margin: 0 0 12px;
  font: 600 21px/1.15 var(--app-font-serif);
  letter-spacing: -0.03em;
  color: #f5f5f5;
}

.feature-desc {
  color: #888;
  font-size: 13.5px;
  line-height: 1.65;
  margin: 0 0 24px;
  flex-grow: 1;
}

.feature-tech-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid #222;
  font: 10px var(--app-font-mono);
  color: #aaa;
  letter-spacing: .05em;
}

/* 03 / Process Stack */
.service-process-stack {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #d2d2d2;
}

.service-process-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid #d2d2d2;
  align-items: start;
}

.process-step-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-badge {
  font: 600 24px var(--app-font-serif);
  letter-spacing: -0.04em;
  color: #0a0a0a;
}

.step-phase {
  font: 10px var(--app-font-mono);
  letter-spacing: .15em;
  color: #777;
}

.process-step-content h3 {
  margin: 0 0 8px;
  font: 600 22px var(--app-font-serif);
  letter-spacing: -0.03em;
  color: #0a0a0a;
}

.process-step-content p {
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.7;
  max-width: 720px;
}

/* 04 / Deliverables & Toolkit Grid */
.service-deliverables-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: start;
}

.deliverables-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
}

.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid #242424;
}

.deliverable-check {
  flex-shrink: 0;
  margin-top: 1px;
}

.deliverable-item span {
  font-size: 14px;
  color: #d4d4d4;
  line-height: 1.5;
}

/* Toolkit Box */
.toolkit-container {
  position: sticky;
  top: 100px;
}

.toolkit-box {
  padding: 40px 32px;
  background: #111;
  border: 1px solid #2a2a2a;
}

.tool-pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tool-pill {
  display: inline-block;
  padding: 9px 14px;
  background: #1a1a1a;
  border: 1px solid #333;
  color: #ddd;
  font: 11px var(--app-font-mono);
  letter-spacing: .06em;
  transition: border-color .2s, color .2s;
}

.tool-pill:hover {
  border-color: #777;
  color: #fff;
}

.toolkit-foot {
  padding-top: 20px;
  border-top: 1px solid #252525;
}

.toolkit-foot p {
  margin: 0;
  color: #666;
  font-size: 12px;
  line-height: 1.6;
}



/* ─── Steps ──────────────────────────────────────────────────── */
.steps-list { margin-top: 60px; border-top: 1px solid #333; }
.step-row { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 30px; padding: 28px 0; border-bottom: 1px solid #333; }
.step-row .step-no { color: #888; font: 12px var(--app-font-mono); }
.step-row h3 { font: 600 25px var(--app-font-serif); }
.step-row p { color: #888; font-size: 13px; line-height: 1.7; }

/* ─── Filter Bar ─────────────────────────────────────────────── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 50px 0; }
.filter-btn { padding: 10px 15px; border: 1px solid #333; background: none; color: #888; cursor: pointer; font: 10px var(--app-font-mono); letter-spacing: .1em; text-transform: uppercase; transition: background .2s, color .2s; }
.filter-btn:hover, .filter-btn.active { background: #f5f5f5; color: #0a0a0a; border-color: #f5f5f5; }

/* ─── Portfolio Grid ─────────────────────────────────────────── */
.portfolio-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 54px 28px; }
.portfolio-grid .project-card:nth-child(2) { margin-top: 0; }
.portfolio-grid .project-visual { aspect-ratio: 1.3; }
.case-meta { display: flex; gap: 12px; margin-top: 14px; color: #777; font: 10px var(--app-font-mono); text-transform: uppercase; }
.case-hero { aspect-ratio: 2.1 !important; }

/* ─── Blog ───────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.blog-card { border-top: 1px solid #d2d2d2; padding-top: 14px; }
.blog-image { display: block; height: 230px; margin-bottom: 22px; overflow: hidden; background: linear-gradient(140deg,#111,#b8b8b8); filter: grayscale(1); }
.blog-image::after { content: ''; display: block; width: 100%; height: 100%; background: repeating-linear-gradient(45deg,transparent 0 18px,rgba(255,255,255,.15) 19px 20px); }
.blog-card .tag { color: #777; font: 10px var(--app-font-mono); letter-spacing: .1em; text-transform: uppercase; }
.blog-card h3 { margin: 15px 0 12px; font: 600 26px/1.05 var(--app-font-serif); letter-spacing: -.05em; }
.blog-card p { color: #777; font-size: 13px; line-height: 1.65; }
.blog-card time { display: block; margin-top: 23px; color: #888; font: 10px var(--app-font-mono); }

/* ─── Contact ────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; }
.contact-form { padding: 100px clamp(24px,8vw,120px); background: #f5f5f5; color: #0a0a0a; }
.contact-form h2 { max-width: 500px; font: 600 clamp(42px,5vw,72px)/.92 var(--app-font-serif); letter-spacing: -.07em; }
.field { position: relative; margin-top: 28px; }
.field label { display: block; margin-bottom: 9px; color: #737373; font: 10px var(--app-font-mono); letter-spacing: .1em; text-transform: uppercase; }
.field input, .field textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid #bdbdbd; outline: 0; background: none; color: #0a0a0a; }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: #0a0a0a; }
.contact-form .btn-dnl { margin-top: 30px; }
.contact-info { display: flex; flex-direction: column; justify-content: space-between; padding: 100px clamp(24px,7vw,100px); background: #0a0a0a; }
.contact-info h2 { max-width: 430px; margin: 20px 0; font: 600 clamp(44px,5vw,70px)/.9 var(--app-font-serif); letter-spacing: -.07em; }
.contact-details { display: grid; gap: 28px; }
.contact-details span { display: block; margin-bottom: 8px; color: #777; font: 10px var(--app-font-mono); text-transform: uppercase; letter-spacing: .1em; }
.contact-details a { font-size: 15px; }
.map-block {
  height: 180px; position: relative; overflow: hidden; border: 1px solid #333;
  background-image: linear-gradient(#222 1px,transparent 1px),linear-gradient(90deg,#222 1px,transparent 1px);
  background-size: 34px 34px;
}
.map-block::after { content: '51.5074° N / 0.1278° W'; position: absolute; left: 18px; bottom: 16px; color: #888; font: 10px var(--app-font-mono); }

/* ─── Careers ────────────────────────────────────────────────── */
.career-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; }
.perks-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: #d7d7d7; margin-top: 50px; }
.perk { min-height: 180px; padding: 25px; background: #f5f5f5; }
.perk h3 { margin: 38px 0 10px; font: 600 20px var(--app-font-serif); }
.perk p { color: #777; font-size: 13px; line-height: 1.6; }
.jobs { border-top: 1px solid #333; margin-top: 45px; }
.job { border-bottom: 1px solid #333; }
.job button { width: 100%; display: flex; justify-content: space-between; padding: 24px 0; border: 0; background: none; color: #f5f5f5; cursor: pointer; text-align: left; font: 500 18px var(--app-font-serif); }
.job button svg { transition: transform .3s; flex-shrink: 0; }
.job.open button svg { transform: rotate(180deg); }
.job button small { color: #888; font: 10px var(--app-font-mono); text-transform: uppercase; }
.job-details { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s; }
.job.open .job-details { grid-template-rows: 1fr; }
.job-details > div { overflow: hidden; padding-right: 30px; color: #888; font-size: 13px; line-height: 1.7; padding-bottom: 24px; }

/* ─── Team Grid & Founder Cards ───────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #d2d2d2;
  border: 1px solid #d2d2d2;
}

.team-card { background: #f5f5f5; padding: 32px 28px; }
.team-avatar { width: 56px; height: 56px; display: grid; place-items: center; background: #0a0a0a; color: #f5f5f5; font: 600 16px var(--app-font-serif); letter-spacing: .04em; margin-bottom: 20px; }
.team-card h3 { font: 600 20px var(--app-font-serif); letter-spacing: -.03em; margin: 0 0 4px; color: #0a0a0a; }
.team-role { display: block; font: 10px var(--app-font-mono); letter-spacing: .12em; text-transform: uppercase; color: #777; margin-bottom: 16px; }
.team-card p { color: #555; font-size: 13px; line-height: 1.7; }

/* ─── Modern Founder Cards System ────────────────────────────── */
.team-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.founder-card {
  background: #0d0d0d;
  border: 1px solid #222222;
  border-radius: 12px;
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.4s;
}

.founder-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 255, 255, 0.08);
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.founder-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.founder-avatar-box {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #222222, #0a0a0a);
  border: 1px solid #333333;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font: 700 20px var(--app-font-serif);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.founder-pulse-node {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px #ffffff;
  animation: pulseNode 3s infinite;
}

.founder-role-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  font: 600 10px var(--app-font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e0e0e0;
}

.founder-name {
  font: 700 clamp(24px, 2.5vw, 32px)/1.08 var(--app-font-serif);
  color: #ffffff;
  letter-spacing: -0.04em;
  margin: 0 0 10px;
}

.founder-bio {
  color: #b0b0b0;
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 28px;
}

.founder-skills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.founder-skill-tag {
  padding: 5px 11px;
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  font: 10px var(--app-font-mono);
  letter-spacing: 0.06em;
  color: #888888;
  transition: color 0.25s, border-color 0.25s;
}

.founder-card:hover .founder-skill-tag {
  border-color: #444444;
  color: #dddddd;
}

.founder-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #1c1c1c;
}

/* ─── Responsive Media Queries ────────────────────────────────── */
@media (max-width: 1024px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
  }
  .team-members-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .desktop-nav, .header-quote { display: none !important; }
  .menu-btn { display: block; }
  .split, .contact-grid, .career-grid { grid-template-columns: 1fr; }
  .split-image { min-height: 380px; }
  .project-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .project-card:nth-child(2) { margin-top: 0 !important; }
  .project-card:nth-child(2) .project-visual { aspect-ratio: 1.35; }
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid #d7d7d7; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .value-card:nth-child(2) { border-right: 0; }
  .value-card:nth-child(-n+2) { border-bottom: 1px solid #d7d7d7; }
  .quote-layout { grid-template-columns: 80px 1fr; gap: 20px; }
  .quote-person { grid-column: 2; }
  .faq-layout { grid-template-columns: 1fr; gap: 48px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > :first-child { grid-column: span 2; }
  .hero-orbit { width: 55vw; height: 55vw; opacity: .4; right: -10%; }
  .values-head { grid-template-columns: 1fr; gap: 20px; }
  
  /* Founder Cards on Tablet / Mobile Tab */
  .founder-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-top: 32px !important;
  }
  .founder-card {
    padding: 32px 24px !important;
  }
  .team-members-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 20px !important;
  }

  /* Service Page Responsive */
  .service-hero { padding: 130px 0 60px; min-height: auto; }
  .service-hero-svg { width: 90vw; opacity: 0.25; right: -25%; }
  .service-kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .service-thesis-grid { grid-template-columns: 1fr; gap: 36px; }
  .service-features-grid { grid-template-columns: repeat(2, 1fr); }
  .service-deliverables-grid { grid-template-columns: 1fr; gap: 36px; }
  .toolkit-container { position: static; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; margin-bottom: 30px; }
  .process-scroll-line-wrap { display: none; }
}

@media (max-width: 600px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  .container-dnl { width: calc(100% - 32px); max-width: 100%; }
  .hero { min-height: 640px; padding: 110px 0 60px; }
  .hero h1 { font-size: clamp(40px, 11vw, 68px); line-height: 0.94; }
  .hero-sub, .hero-actions { margin-left: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 280px; width: 100%; }
  .hero-actions .btn-dnl { width: 100%; }
  .hero-foot { display: none; }
  .wireframe { display: none; }
  .hero-orbit { width: 70vw; height: 70vw; right: -25%; top: 25%; opacity: .25; }
  
  .split-copy { padding: 60px 16px; }
  .split-image { min-height: 300px; }
  
  .stats-grid, .service-grid, .value-grid, .portfolio-grid, .blog-grid, .perks-grid, .team-grid { grid-template-columns: 1fr !important; }
  .stat { border-right: 0; border-bottom: 1px solid #d7d7d7; padding: 40px 16px; }
  .stat:last-child { border-bottom: 0; }
  
  .services-section, .values-section, .process-section, .portfolio-section,
  .quote-section, .faq-section, .page-section { padding: 75px 0; }
  .services-intro, .portfolio-head, .process-head { display: block; }
  .services-intro p, .process-head p { margin-top: 20px; }
  .service-card { min-height: auto; padding: 24px 20px; }
  .project-card:nth-child(2) { margin-top: 0; }
  .project-visual { height: 240px; }
  
  .quote-layout { grid-template-columns: 1fr; gap: 14px; }
  .quote-mark { font-size: 70px; line-height: 0.8; }
  .quote-text { font-size: clamp(22px, 5.5vw, 36px); }
  .quote-person { grid-column: auto; }
  
  .step-row { grid-template-columns: 48px 1fr !important; gap: 10px !important; padding: 20px 0 !important; }
  .step-row .step-no { grid-column: 1; font-size: 11px; }
  .step-row h3 { grid-column: 2; margin: 0 0 6px; font-size: 20px; }
  .step-row p { grid-column: 2; margin: 0; font-size: 13px; }
  
  /* Founder Cards & Specialists on Mobile */
  .founder-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-top: 24px !important;
  }
  .founder-card {
    padding: 24px 18px !important;
    border-radius: 10px !important;
  }
  .founder-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
  }
  .founder-avatar-box {
    width: 52px;
    height: 52px;
    font-size: 17px;
    border-radius: 8px;
  }
  .founder-name {
    font-size: 22px !important;
    line-height: 1.15;
    margin: 0 0 4px;
  }
  .founder-role-pill {
    padding: 4px 9px;
    font-size: 9.5px;
    letter-spacing: 0.08em;
  }
  .founder-bio {
    font-size: 13.5px !important;
    line-height: 1.65 !important;
    margin-bottom: 20px !important;
  }
  .founder-skills-cloud {
    gap: 6px !important;
    margin-bottom: 20px !important;
  }
  .founder-skill-tag {
    padding: 4px 9px !important;
    font-size: 9px !important;
  }
  .founder-footer-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 16px;
  }
  .team-members-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 20px !important;
  }
  
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 50px; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { display: flex; flex-direction: column; gap: 12px; line-height: 1.6; }
  .footer-bottom span { display: block; }
  
  .inner-hero { padding: 130px 0 70px; }
  .inner-hero h1 { font-size: clamp(38px, 11vw, 68px); line-height: 0.95; }
  .inner-hero .outline-number { display: none; }
  
  .contact-form, .contact-info { padding: 50px 16px !important; }
  .career-grid { gap: 40px; }
  .process-grid { grid-template-columns: 1fr; }
  .engagement-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .engagement-card { padding: 28px 20px; }

  /* Service Page Mobile */
  .service-kpi-strip { grid-template-columns: 1fr; }
  .service-kpi-card { padding: 20px 16px; }
  .service-features-grid { grid-template-columns: 1fr; }
  .service-feature-box { padding: 26px 20px; min-height: auto; }
  .service-process-row { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .service-why-list { padding: 20px 16px; }
  .section-head-dual { display: block; margin-bottom: 36px; }
  .section-head-dual p { margin-top: 14px; }
  
  .cta-section, .cta-banner { padding: 80px 0; }
  .cta-layout { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cta-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 280px; gap: 12px; }
  .cta-actions .btn-dnl { width: 100%; }
  .cta-ring { display: none; }
  
  .story-beat-item {
    font-size: clamp(24px, 6.5vw, 44px);
    padding: 0 16px;
    line-height: 1.15;
  }
}

@media (max-width: 380px) {
  .container-dnl { width: calc(100% - 24px); }
  .founder-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .founder-footer-actions { flex-direction: column; align-items: flex-start; }
}

/* ─── Premium Custom Cursor ──────────────────────────────────── */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.22s ease, height 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
  mix-blend-mode: difference;
  background-color: transparent;
  will-change: transform, width, height;
}
.custom-cursor.hovered {
  width: 44px;
  height: 44px;
  background-color: var(--color-white);
  border-color: var(--color-white);
}
.custom-cursor.clicked {
  transform: translate(-50%, -50%) scale(0.85);
}
@media (max-width: 768px) {
  .custom-cursor { display: none !important; }
}

/* ─── Page Content Route Transitions ─────────────────────────── */
.page-content-transition {
  animation: pageReveal 0.85s cubic-bezier(0.2, 1, 0.2, 1) both;
  will-change: transform, opacity;
}
@keyframes pageReveal {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Staggered Reveal ────────────────────────────────────────── */
.staggered-reveal-container {
  display: inline-flex;
  flex-wrap: wrap;
  overflow: hidden;
  vertical-align: bottom;
}
.staggered-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: wordReveal 0.8s cubic-bezier(0.2, 1, 0.2, 1) forwards;
  will-change: transform, opacity;
}
@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Diagonal Section Transitions ─────────────────────────────── */
.diagonal-top {
  clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
  margin-top: -60px;
  padding-top: 160px !important;
  position: relative;
}
.diagonal-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%);
  margin-bottom: -60px;
  padding-bottom: 160px !important;
  position: relative;
}
@media (max-width: 768px) {
  .diagonal-top {
    clip-path: none;
    margin-top: 0;
    padding-top: 90px !important;
  }
  .diagonal-bottom {
    clip-path: none;
    margin-bottom: 0;
    padding-bottom: 90px !important;
  }
}

/* ─── Soft Gradient Blend Zones ───────────────────────────────── */
.white-section.diagonal-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(10,10,10,0.12), transparent);
  pointer-events: none;
  z-index: 2;
}

/* ─── Technologies We Use Card Grid ────────────────────────────── */
.tech-icon-section-wrapper {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.tech-icon-section-wrapper.revealed {
  opacity: 1;
  transform: translateY(0);
}
.tech-icon-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.tech-icon-card {
  background: #0f0f0f;
  border: 1px solid color-mix(in srgb, var(--hover-brand-color) 12%, #1a1a1a);
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: scale(0.9);
  animation: techCardReveal 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.tech-icon-section-wrapper.revealed .tech-icon-card {
  opacity: 1;
  transform: scale(1);
}
@keyframes techCardReveal {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.tech-icon-card:hover {
  transform: translateY(-6px);
  border-color: var(--hover-brand-color);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 16px var(--hover-brand-color);
}
.tech-icon-svg-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hover-brand-color);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 3px var(--hover-brand-color));
  transition: color 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}
.tech-icon-card:hover .tech-icon-svg-wrap {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px var(--hover-brand-color));
}
.tech-icon-name {
  font: 500 12px var(--app-font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #aaa;
  transition: color 0.3s ease;
}
.tech-icon-card:hover .tech-icon-name {
  color: #fff;
}

@media (max-width: 1024px) {
  .tech-icon-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .tech-icon-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .tech-icon-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Inner Hero Page Backgrounds ──────────────────────────────── */
.inner-hero-bg-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.inner-hero-content {
  position: relative;
  z-index: 1;
}
.rotating-mesh-globe {
  position: absolute;
  right: -10%;
  top: -10%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  animation: rotateGlobe 30s linear infinite;
}
.rotating-mesh-globe::before {
  content: '';
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 50%;
  transform: rotateX(60deg);
}
.rotating-mesh-globe::after {
  content: '';
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 50%;
  transform: rotateY(60deg);
}
@keyframes rotateGlobe {
  to { transform: rotate(360deg); }
}
.floating-lines {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,0.1) 40px, rgba(255,255,255,0.1) 41px);
}
.interlocking-geometric-shapes {
  position: absolute;
  right: 5%;
  top: 10%;
  width: 35vw;
  height: 35vw;
  max-width: 420px;
  opacity: 0.15;
  animation: slowFloatRotate 20s ease-in-out infinite alternate;
}
.interlocking-geometric-shapes rect,
.interlocking-geometric-shapes circle {
  stroke: #fff;
  stroke-width: 1.5;
  fill: none;
}
@keyframes slowFloatRotate {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(45deg); }
}
.neutral-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 40px 40px;
}
.soft-dot-grid {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 24px 24px;
}
.split-world-map-grid {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  opacity: 0.07;
  background-image: radial-gradient(#fff 1.5px, transparent 1.5px);
  background-size: 16px 16px;
}
.pulsing-network-nodes {
  position: absolute;
  right: 15%;
  top: 25%;
  width: 300px;
  height: 300px;
}
.node {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 12px #fff;
}
.node-1 { top: 20%; left: 20%; animation: pulseNode 3s infinite 0.2s; }
.node-2 { top: 60%; left: 80%; animation: pulseNode 3s infinite 0.8s; }
.node-3 { top: 80%; left: 30%; animation: pulseNode 3s infinite 1.4s; }
@keyframes pulseNode {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.6); opacity: 1; }
}

/* ─── Generated Background Image Layers ───────────────────────────────── */
.hero-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  filter: contrast(115%) brightness(90%);
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(circle at 60% 50%, black 30%, transparent 90%);
}

.inner-hero-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  filter: contrast(110%) brightness(85%);
  z-index: 0;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.service-hero-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  filter: contrast(115%) brightness(85%);
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(circle at 70% 40%, black 20%, transparent 85%);
}

.service-hero-visual-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.section-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: grayscale(100%) contrast(110%);
  pointer-events: none;
  z-index: 0;
}

/* ─── Universal Card Hover & Scroll Stagger Animations ────── */
.service-card,
.project-card,
.blog-card,
.value-card,
.team-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s, border-color 0.35s, background 0.35s;
}

.service-card:hover,
.project-card:hover,
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  border-color: #f5f5f5;
}

.service-card:hover .card-hover-overlay,
.project-card:hover .project-hover-overlay,
.blog-card:hover .card-hover-overlay {
  opacity: 1 !important;
}

.service-card:hover .service-card-visual svg,
.blog-card:hover .blog-card-visual svg,
.project-card:hover .project-visual img {
  transform: scale(1.05);
}

/* Staggered Scroll Reveal Delays Across Grids (~100ms offset) */
.service-grid > *:nth-child(1), .project-grid > *:nth-child(1), .blog-grid > *:nth-child(1) { animation: reveal-up 0.8s both 0.05s; }
.service-grid > *:nth-child(2), .project-grid > *:nth-child(2), .blog-grid > *:nth-child(2) { animation: reveal-up 0.8s both 0.15s; }
.service-grid > *:nth-child(3), .project-grid > *:nth-child(3), .blog-grid > *:nth-child(3) { animation: reveal-up 0.8s both 0.25s; }
.service-grid > *:nth-child(4), .project-grid > *:nth-child(4), .blog-grid > *:nth-child(4) { animation: reveal-up 0.8s both 0.35s; }
.service-grid > *:nth-child(5), .project-grid > *:nth-child(5), .blog-grid > *:nth-child(5) { animation: reveal-up 0.8s both 0.45s; }
.service-grid > *:nth-child(6), .project-grid > *:nth-child(6), .blog-grid > *:nth-child(6) { animation: reveal-up 0.8s both 0.55s; }

/* ─── Next-Level Motion Graphics & Signature Animations System ────── */

/* Hero Staggered Word Reveal */
.word-reveal-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.22em;
}
.word-reveal-item {
  display: inline-block;
  transform: translateY(115%) rotateX(-20deg);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.word-reveal-item.is-revealed {
  transform: translateY(0%) rotateX(0deg);
  opacity: 1;
}

/* 3D Tilt Card Motion */
.tilt-perspective {
  perspective: 1200px;
}
.tilt-card-3d {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  will-change: transform;
}
.tilt-card-3d:hover {
  border-color: rgba(245, 245, 245, 0.8);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

/* SVG Line Drawing Animation */
.svg-draw-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1);
}
.svg-draw-path.is-drawn {
  stroke-dashoffset: 0;
}

/* Travelling Light / Pulse Dots along SVG paths */
@keyframes pathTravelDot {
  0% { offset-distance: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.path-travel-dot {
  animation: pulseDotGlow 3s infinite cubic-bezier(0.4, 0, 0.6, 1);
}
@keyframes pulseDotGlow {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.6); opacity: 1; filter: drop-shadow(0 0 6px rgba(255,255,255,0.9)); }
}

/* Team Signature "Color Pulse" Reveal */
.color-pulse-photo {
  position: relative;
  overflow: hidden;
  filter: grayscale(100%);
  transition: filter 1s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.color-pulse-photo.is-pulsed {
  animation: photoPulseSequence 1.5s ease-in-out forwards;
}
@keyframes photoPulseSequence {
  0% { filter: grayscale(100%); }
  40% { filter: grayscale(0%) contrast(1.15) brightness(1.05); }
  100% { filter: grayscale(85%) contrast(1.05); }
}

/* Interlocking Geometric Shapes Rotation Loop */
@keyframes rotateInterlocking3D {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.08); }
  100% { transform: rotate(360deg) scale(1); }
}
.interlocking-shape-loop {
  animation: rotateInterlocking3D 24s linear infinite;
  transform-origin: center center;
}

/* Radar Ping Location Pulse */
@keyframes radarPingLoop {
  0% { transform: scale(0.3); opacity: 0.9; stroke-width: 2px; }
  70% { opacity: 0.5; stroke-width: 1px; }
  100% { transform: scale(2.8); opacity: 0; stroke-width: 0.5px; }
}
.radar-ping-ring {
  transform-origin: center center;
  animation: radarPingLoop 2.8s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

/* Typographic Shimmer & Paper Texture Banner */
@keyframes shimmerTextMotion {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer-hero-banner {
  background: linear-gradient(90deg, #f5f5f5 0%, #ffffff 25%, #737373 50%, #ffffff 75%, #f5f5f5 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerTextMotion 6s linear infinite;
}

/* Circuit Line Packet Pulse */
@keyframes circuitPacketPulse {
  0% { stroke-dashoffset: 400; }
  100% { stroke-dashoffset: 0; }
}
.circuit-packet-line {
  stroke-dasharray: 20 380;
  animation: circuitPacketPulse 3.5s linear infinite;
}

/* Checkmark Submit Micro-Animation */
.checkmark-path {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.is-submitted .checkmark-path {
  stroke-dashoffset: 0;
}

/* Parallax Container Utility */
.parallax-viewport {
  overflow: hidden;
  position: relative;
}
.parallax-element {
  will-change: transform;
  transition: transform 0.1s cubic-bezier(0, 0, 0.2, 1);
}

/* Grid Filter Reflow Morphs */
/* ─── Editorial Big-Typography Statement Section ────────────── */
.editorial-statement-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0;
  background: #0a0a0a;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  position: relative;
  overflow: hidden;
}
.editorial-statement-text {
  font: 700 clamp(38px, 7vw, 110px)/0.95 var(--app-font-serif);
  letter-spacing: -0.06em;
  color: #f5f5f5;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* ─── Scroll-Triggered Storytelling Beats ────────────────────── */
.scroll-story-section {
  position: relative;
  min-height: 250vh;
  background: #0a0a0a;
}
.scroll-story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.story-beat-item {
  position: absolute;
  max-width: 900px;
  text-align: center;
  font: 600 clamp(32px, 5.5vw, 76px)/1.05 var(--app-font-serif);
  letter-spacing: -0.05em;
  color: #ffffff;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.story-beat-item.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ─── 7-Stage Process Page Styles ────────────────────────────── */
.process-stage-card {
  padding: 80px 0;
  border-bottom: 1px solid #222;
  position: relative;
}
.process-stage-num {
  font: 700 clamp(54px, 8vw, 120px)/0.8 var(--app-font-serif);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.process-scroll-line-wrap {
  position: fixed;
  left: 24px;
  top: 20%;
  bottom: 20%;
  width: 2px;
  background: rgba(255,255,255,0.1);
  z-index: 10;
}
.process-scroll-line-fill {
  width: 100%;
  height: 0%;
  background: #ffffff;
  transition: height 0.1s linear;
}

/* ─── Engagement Models Section ──────────────────────────────── */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 54px;
}
.engagement-card {
  background: #111111;
  border: 1px solid #282828;
  border-radius: 6px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s, box-shadow 0.35s;
}
.engagement-card:hover {
  transform: translateY(-8px);
  border-color: #f5f5f5;
  box-shadow: 0 20px 45px rgba(0,0,0,0.6);
}
.engagement-card.recommended {
  border-color: #ffffff;
  background: #161616;
  box-shadow: 0 0 30px rgba(255,255,255,0.12);
}
.badge-recommended {
  position: absolute;
  top: -12px;
  right: 24px;
  background: #ffffff;
  color: #0a0a0a;
  font: 700 9px var(--app-font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

/* ─── Legal / Trust Pages Layout ─────────────────────────────── */
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  padding: 80px 0;
}
.legal-toc {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font: 11px var(--app-font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #888;
}
.legal-toc a {
  transition: color 0.2s, padding-left 0.2s;
}
.legal-toc a:hover {
  color: #ffffff;
  padding-left: 6px;
}
.legal-content h2 {
  font: 600 28px var(--app-font-serif);
  margin: 40px 0 16px;
  color: #f5f5f5;
  letter-spacing: -.03em;
}
.legal-content p, .legal-content ul {
  font-size: 15px;
  line-height: 1.8;
  color: #aaa;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .engagement-grid { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; margin-bottom: 40px; }
  .process-scroll-line-wrap { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .marquee { animation: none; }
  .interlocking-shape-loop, .radar-ping-ring, .shimmer-hero-banner, .circuit-packet-line { animation: none !important; }
  .word-reveal-item { opacity: 1 !important; transform: none !important; }
  .timeline-motion-bg, .aiml-process-motion-bg, .backend-tech-motion-bg { display: none; }
}