/* ============================================================
   BL4CKDOT — Premium Brand Website
   Design: Deep black, graphite, titanium silver, electric white
   Typography: Inter + Space Grotesk
   ============================================================ */

/* ─── DESIGN TOKENS ─── */
:root {
  --black:       #060606;
  --black-deep:  #000000;
  --graphite:    #111111;
  --graphite-2:  #1a1a1a;
  --graphite-3:  #222222;
  --silver:      #888888;
  --silver-lt:   #aaaaaa;
  --white:       #f5f5f5;
  --white-pure:  #ffffff;
  --electric:    #e8e8e8;
  --accent-blue: #4a6fa5;
  --border:      rgba(255,255,255,0.07);
  --border-lt:   rgba(255,255,255,0.12);

  --font-body:   'Inter', sans-serif;
  --font-head:   'Space Grotesk', sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --section-pad: 120px 0;
  --container-max: 1320px;
  --container-pad: 0 60px;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--black-deep);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: none; border: none; background: none; font: inherit; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--graphite-3); border-radius: 2px; }

/* ─── CUSTOM CURSOR ─── */
.cursor {
  width: 10px; height: 10px;
  background: var(--white-pure);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, opacity 0.2s;
  mix-blend-mode: difference;
}

.cursor-follower {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-out), width 0.3s, height 0.3s, opacity 0.3s;
  mix-blend-mode: difference;
}

body:has(a:hover) .cursor-follower,
body:has(button:hover) .cursor-follower {
  width: 56px; height: 56px;
  border-color: rgba(255,255,255,0.5);
}

/* ─── LOADER ─── */
.loader {
  position: fixed; inset: 0;
  background: var(--black-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 10000;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-dot-ring {
  position: relative;
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ring {
  position: absolute;
  width: 64px; height: 64px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-top-color: var(--white-pure);
  border-radius: 50%;
  animation: loader-spin 1s linear infinite;
}

.loader-dot {
  width: 10px; height: 10px;
  background: var(--white-pure);
  border-radius: 50%;
  animation: loader-dot-pulse 1s ease-in-out infinite alternate;
}

.loader-wordmark {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--silver);
  animation: loader-fade 1s ease-in-out infinite alternate;
}

@keyframes loader-spin {
  to { transform: rotate(360deg); }
}
@keyframes loader-dot-pulse {
  from { transform: scale(0.7); opacity: 0.4; }
  to { transform: scale(1.2); opacity: 1; }
}
@keyframes loader-fade {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

/* ─── CONTAINER ─── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

/* ─── HEADER ─── */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 20px 0;
  transition: padding 0.4s var(--ease-out), background 0.4s var(--ease-out);
}

.header.scrolled {
  padding: 14px 0;
  background: rgba(6,6,6,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s;
}

.header-brand:hover .header-logo-img { opacity: 0.85; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--silver-lt);
  transition: color 0.25s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--white-pure);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover { color: var(--white-pure); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  border: 1px solid var(--border-lt);
  padding: 9px 22px;
  border-radius: 2px;
  color: var(--white-pure);
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: background 0.25s, border-color 0.25s;
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  background: var(--white-pure);
  border-color: var(--white-pure);
  color: var(--black-deep);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 10;
}

.menu-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white-pure);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

/* ─── MENU OVERLAY ─── */
.menu-overlay {
  position: fixed; inset: 0;
  background: var(--black-deep);
  z-index: 950;
  display: flex;
  flex-direction: column;
  padding: 60px;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease-out);
}

.menu-overlay.open {
  transform: translateX(0);
}

.menu-overlay-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  gap: 48px;
}

.menu-overlay-brand img.menu-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-nav-link {
  display: flex;
  align-items: baseline;
  gap: 20px;
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 300;
  color: var(--graphite-3);
  transition: color 0.25s;
  letter-spacing: -0.02em;
}

.menu-nav-link::before {
  content: attr(data-index);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--graphite-3);
  transition: color 0.25s;
  min-width: 28px;
}

.menu-nav-link:hover,
.menu-nav-link:hover::before {
  color: var(--white-pure);
}

.menu-footer-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--silver);
  text-transform: uppercase;
}

.menu-close {
  position: absolute;
  top: 28px; right: 60px;
  font-size: 20px;
  color: var(--silver);
  transition: color 0.2s;
}

.menu-close:hover { color: var(--white-pure); }

/* ─── HERO ─── */
.hero {
  position: relative;
  width: 100%; height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black-deep);
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
  padding-top: 100px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--silver);
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-hl-main {
  font-family: var(--font-head);
  font-size: clamp(64px, 10vw, 128px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--white-pure);
  display: block;
  opacity: 0;
}

.hero-hl-sub {
  font-family: var(--font-head);
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 200;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--silver-lt);
  display: block;
  opacity: 0;
}

.hero-desc {
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 300;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 44px;
  opacity: 0;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px; left: 60px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--silver);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 40px; height: 1px;
  background: var(--graphite-3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--silver);
  animation: scroll-line-anim 2s ease-in-out infinite;
}

@keyframes scroll-line-anim {
  0% { left: -100%; }
  50% { left: 0; }
  100% { left: 100%; }
}



/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--white-pure);
  color: var(--black-deep);
  border: 1px solid var(--white-pure);
}

.btn-primary:hover {
  background: transparent;
  color: var(--white-pure);
}

.btn-ghost {
  background: transparent;
  color: var(--white-pure);
  border: 1px solid var(--border-lt);
}

.btn-ghost:hover {
  background: var(--white-pure);
  border-color: var(--white-pure);
  color: var(--black-deep);
}

/* ─── SECTION BASE ─── */
.section {
  padding: var(--section-pad);
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 40px;
}

.section-headline {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white-pure);
  margin-bottom: 64px;
}

/* ─── REVEAL ANIMATION ─── */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── ABOUT ─── */
.about-section { background: var(--graphite); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 100px;
  align-items: start;
}

.about-left .section-headline {
  font-size: clamp(36px, 4vw, 60px);
  margin-bottom: 0;
}

.about-text {
  color: var(--silver-lt);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
  font-weight: 300;
}

.about-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat {}

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 300;
  color: var(--white-pure);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--silver);
  text-transform: uppercase;
}

.about-image-full {
  position: relative;
}

.about-hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  filter: grayscale(20%) contrast(1.05);
}

.about-img-caption {
  position: absolute;
  bottom: 24px; right: 32px;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--silver);
  text-transform: uppercase;
}

/* ─── SERVICES ─── */
.services-section { background: var(--black); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--black);
  padding: 52px 48px;
  position: relative;
  transition: background 0.35s var(--ease-out);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--white-pure);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover { background: var(--graphite-2); }
.service-card:hover::before { transform: scaleX(1); }

.service-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}

.service-number {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--silver);
  font-weight: 400;
}

.service-icon {
  width: 36px; height: 36px;
  color: var(--silver);
  transition: color 0.3s;
}

.service-card:hover .service-icon { color: var(--white-pure); }

.service-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 400;
  color: var(--white-pure);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 28px;
  font-weight: 300;
}

.service-list {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 13px;
  color: var(--silver);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}

.service-list li::before {
  content: '—';
  color: var(--graphite-3);
  font-size: 10px;
}

.service-card:hover .service-list li { color: var(--silver-lt); }



/* ─── SHARED SERVICES ─── */
.shared-section { background: var(--graphite-2); }

.shared-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.shared-item {
  background: var(--graphite-2);
  padding: 36px 32px;
  display: flex;
  gap: 16px;
  transition: background 0.3s;
}

.shared-item:hover { background: var(--graphite-3); }

.shared-dot {
  width: 6px; height: 6px;
  background: var(--silver);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
  transition: background 0.3s;
}

.shared-item:hover .shared-dot { background: var(--white-pure); }

.shared-content h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--white-pure);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.shared-content p {
  font-size: 13px;
  color: var(--silver);
  line-height: 1.6;
  font-weight: 300;
}

/* ─── INDUSTRIES ─── */
.industries-section { background: var(--black); overflow: hidden; }

.industries-section .container { margin-bottom: 56px; }

.industries-track-wrap {
  overflow: hidden;
  padding: 0 0 80px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.industries-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: track-scroll 28s linear infinite;
}

.industry-tag {
  padding: 16px 32px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--silver);
  white-space: nowrap;
  transition: border-color 0.3s, color 0.3s;
}

.industry-tag:hover {
  border-color: var(--silver);
  color: var(--white-pure);
}

@keyframes track-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── PROCESS ─── */
.process-section { background: var(--graphite); }

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 0 48px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  align-items: start;
  position: relative;
  transition: background 0.3s;
}

.process-step:last-child { border-bottom: 1px solid var(--border); }

.step-number {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--silver);
  padding-top: 4px;
}

.step-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 300;
  color: var(--white-pure);
  letter-spacing: -0.02em;
  line-height: 1;
}

.step-desc {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.7;
  font-weight: 300;
  max-width: 520px;
}

.step-line { display: none; }

/* ─── RESEARCH ─── */
.research-section { background: var(--black); }

.research-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 100px;
  margin-bottom: 100px;
  align-items: start;
}

.research-left .section-headline { margin-bottom: 32px; }

.research-text {
  font-size: 15px;
  color: var(--silver-lt);
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 300;
}

.research-item {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: gap 0.3s;
}

.research-item:first-child { border-top: 1px solid var(--border); }

.research-item:hover { gap: 28px; }

.research-item-icon {
  flex-shrink: 0;
  padding-top: 4px;
}

.r-icon-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--silver);
  transition: background 0.3s, border-color 0.3s;
}

.research-item:hover .r-icon-dot {
  background: var(--white-pure);
  border-color: var(--white-pure);
}

.research-item h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 500;
  color: var(--white-pure);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.research-item p {
  font-size: 13px;
  color: var(--silver);
  line-height: 1.6;
  font-weight: 300;
}

/* Research Diagram */
.research-diagram {
  border: 1px solid var(--border);
  background: var(--graphite-2);
  height: 300px;
  position: relative;
  overflow: hidden;
}

.diagram-nodes {
  position: relative;
  width: 100%; height: 100%;
}

.d-lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

.d-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.d-node span {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--silver);
  text-transform: uppercase;
}

.d-center {
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  flex-direction: column;
  gap: 6px;
}

.d-node-ring {
  width: 40px; height: 40px;
  border: 1px solid var(--silver);
  border-radius: 50%;
  animation: ring-pulse 3s ease-in-out infinite;
}

.d-center span {
  font-size: 10px;
  color: var(--white-pure);
  font-weight: 500;
}

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

.d-n1 { left: 16%; top: 22%; }
.d-n2 { right: 16%; top: 22%; }
.d-n3 { left: 16%; bottom: 22%; }
.d-n4 { right: 16%; bottom: 22%; }
.d-n5 { left: 50%; top: 8%; transform: translateX(-50%); }

/* ─── WHY ─── */
.why-section { background: var(--graphite-2); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.why-item {
  background: var(--graphite-2);
  padding: 52px 48px;
  transition: background 0.3s;
}

.why-item:hover { background: var(--graphite-3); }

.why-item-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}

.why-icon {
  font-size: 8px;
  color: var(--silver);
  flex-shrink: 0;
}

.why-item h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 400;
  color: var(--white-pure);
  letter-spacing: -0.01em;
}

.why-item p {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.7;
  font-weight: 300;
  padding-left: 24px;
}

/* ─── CAREERS ─── */
.careers-section { background: var(--black); }

.careers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.careers-left .section-headline { margin-bottom: 28px; }

.careers-text {
  font-size: 15px;
  color: var(--silver-lt);
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 300;
}

.roles-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.role-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: padding-left 0.3s var(--ease-out);
}

.role-item:first-child { border-top: 1px solid var(--border); }

.role-item:hover { padding-left: 12px; }

.role-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 400;
  color: var(--white-pure);
  letter-spacing: -0.01em;
  transition: color 0.25s;
}

.role-type {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--silver);
  text-transform: uppercase;
  transition: color 0.25s;
}

.role-item:hover .role-title { color: var(--white-pure); }
.role-item:hover .role-type { color: var(--silver-lt); }

/* ─── CONTACT ─── */
.contact-section { background: var(--graphite); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.contact-left .section-headline { margin-bottom: 24px; }

.contact-text {
  font-size: 15px;
  color: var(--silver-lt);
  line-height: 1.8;
  margin-bottom: 48px;
  font-weight: 300;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ci-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--silver);
  text-transform: uppercase;
}

.ci-val {
  font-size: 14px;
  color: var(--white-pure);
  font-weight: 300;
}

/* Contact Form */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--silver);
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--graphite-2);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 14px 18px;
  color: var(--white-pure);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.25s;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--silver);
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--silver); opacity: 0.6; }

.form-field select option {
  background: var(--graphite-2);
}

.form-field textarea { resize: vertical; min-height: 120px; }

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--black-deep);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 64px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-motif {
  width: 48px; height: 48px;
  object-fit: cover;
  border-radius: 50%;
}

.footer-wordmark {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--white-pure);
}

.footer-tagline {
  font-size: 13px;
  color: var(--silver);
  line-height: 1.6;
  font-weight: 300;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col h5 {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--silver);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 13px;
  color: var(--graphite-3);
  font-weight: 300;
  transition: color 0.25s;
}

.footer-col a:hover { color: var(--white-pure); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-copy {
  font-size: 12px;
  color: var(--silver);
  font-weight: 300;
}

.footer-legal {
  display: flex;
  gap: 28px;
}

.footer-legal a {
  font-size: 12px;
  color: var(--silver);
  transition: color 0.25s;
}

.footer-legal a:hover { color: var(--white-pure); }

/* ─── MAGNETIC ─── */
.magnetic { transition: transform 0.4s var(--ease-out); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  :root {
    --container-pad: 0 40px;
    --section-pad: 90px 0;
  }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .shared-grid { grid-template-columns: repeat(2, 1fr); }
  .careers-grid { grid-template-columns: 1fr; gap: 60px; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .research-grid { grid-template-columns: 1fr; gap: 60px; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .process-step { grid-template-columns: 60px 1fr; }
  .step-desc { grid-column: 2; }
}

@media (max-width: 768px) {
  :root {
    --container-pad: 0 24px;
    --section-pad: 72px 0;
  }

  .header-nav { display: none; }
  .menu-toggle { display: flex; }
  .menu-overlay { padding: 40px 32px; }
  .menu-close { right: 32px; }

  .hero-content { padding: var(--container-pad); padding-top: 100px; }
  .hero-logo-bg { display: none; }
  .hero-scroll-indicator { left: 24px; }

  .about-stats { flex-direction: column; gap: 28px; }
  .about-hero-img { height: 280px; }

  .shared-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-top { grid-template-columns: 1fr; }

  .process-step {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-form { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; }

  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
