/* ─────────────────────────────────────────
   TWINFORGE — Design System
   ───────────────────────────────────────── */

:root {
  /* Palette */
  --ink:        #06090F;      /* fond profond, presque noir bleuté */
  --ink-2:      #0B1220;      /* fond bleu nuit */
  --ink-3:      #111A2E;      /* surface élevée */
  --line:       rgba(255,255,255,0.08);
  --line-2:     rgba(255,255,255,0.16);

  --paper:      #F5F6F8;      /* fond clair */
  --paper-2:    #ECEEF2;      /* fond clair surface */
  --paper-line: rgba(6,9,15,0.08);

  --text:       #0B1220;
  --text-mute:  rgba(11,18,32,0.65);
  --text-dim:   rgba(11,18,32,0.45);

  --text-light:      #F5F6F8;
  --text-light-mute: rgba(245,246,248,0.72);
  --text-light-dim:  rgba(245,246,248,0.48);

  /* Accent */
  --cyan:       #00E5FF;
  --cyan-soft:  rgba(0,229,255,0.16);
  --cyan-dim:   rgba(0,229,255,0.08);
  --alert:      #FF5757;

  /* Type */
  --font-sans:  'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* Spacing */
  --pad-x:      max(24px, 6vw);
  --pad-y:      clamp(80px, 12vh, 160px);
  --max-w:      1280px;
  --max-w-narrow: 820px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--ink);
  color: var(--text-light);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--cyan); }
strong { font-weight: 700; }

/* Selection */
::selection { background: var(--cyan); color: var(--ink); }

/* ─── Containers ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  width: 100%;
}
.container--narrow { max-width: var(--max-w-narrow); }

/* ─── Eyebrow ─── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 24px;
}
.eyebrow--dark { color: var(--text); opacity: 0.55; }

/* ─── Section titles ─── */
.section-title {
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  color: var(--text);
  max-width: 22ch;
}
.section-title--light { color: var(--text-light); }
.section-title em { font-style: normal; color: var(--cyan); }

.section-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-light-mute);
  max-width: 60ch;
  margin: 0 0 56px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 14px 22px;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--cyan);
  color: var(--ink);
}
.btn--primary:hover {
  background: #4DECFF;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px var(--cyan);
}
.btn--ghost {
  background: transparent;
  color: var(--text-light);
  border-color: var(--line-2);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn--large { padding: 18px 32px; font-size: 16px; }

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  background: rgba(6,9,15,0.55);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
}
.brand__mark { color: var(--cyan); }
.brand__name {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 16px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav__links a {
  color: var(--text-light-mute);
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--text-light); }
.nav__cta {
  border: 1px solid var(--line-2);
  padding: 8px 16px;
  color: var(--text-light) !important;
  transition: all 0.15s ease;
}
.nav__cta:hover {
  border-color: var(--cyan);
  color: var(--cyan) !important;
}

/* ─── Language switch ─── */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.lang-switch__btn {
  background: transparent;
  border: 0;
  padding: 2px 4px;
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  color: var(--text-light-dim);
  cursor: pointer;
  transition: color 0.15s ease;
}
.lang-switch__btn:hover { color: var(--text-light); }
.lang-switch__btn:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: 2px;
}
.lang-switch__btn.is-active {
  color: var(--cyan);
}
.lang-switch__sep {
  color: var(--text-light-dim);
  opacity: 0.5;
  user-select: none;
}

@media (max-width: 760px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ─────────────────────────────────────────
   SECTION 1 — HERO
   ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 100px var(--pad-x) 80px;
  background: var(--ink);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.hero__line {
  position: absolute;
  top: 0; right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--cyan), transparent);
  opacity: 0.4;
  animation: scan 6s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { transform: translateX(0); opacity: 0.2; }
  50% { transform: translateX(-180px); opacity: 0.6; }
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  background: rgba(0,229,255,0.04);
  margin-bottom: 32px;
}
.tag__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.tag__label { color: var(--text-light); }
.tag__meta { color: var(--text-light-dim); padding-left: 8px; border-left: 1px solid var(--line); }

.hero__title {
  font-size: clamp(36px, 5.2vw, 72px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}
.hero__title em {
  font-style: normal;
  color: var(--cyan);
  position: relative;
  display: inline-block;
}
.hero__title em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--cyan);
  opacity: 0.4;
}

.hero__sub {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--text-light-mute);
  margin: 0 0 36px;
  max-width: 50ch;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── Viewport mock 3D ─── */
.viewport {
  background: linear-gradient(180deg, var(--ink-2), var(--ink-3));
  border: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,229,255,0.06),
    0 40px 80px -20px rgba(0,0,0,0.6),
    0 0 80px rgba(0,229,255,0.05);
}
.viewport__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.3);
}
.viewport__chip {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--text-light-mute);
  padding: 4px 9px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.viewport__chip--live {
  color: var(--cyan);
  border-color: rgba(0,229,255,0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.viewport__stage {
  position: relative;
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(0,229,255,0.08), transparent 60%),
    linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
}
.iso { width: 100%; height: 100%; display: block; }

.flux__line {
  stroke-dashoffset: 0;
  animation: flow 1.4s linear infinite;
}
.flux__line:nth-child(2) { animation-delay: -0.45s; }
.flux__line:nth-child(3) { animation-delay: -0.9s; }
@keyframes flow {
  to { stroke-dashoffset: -14; }
}

.op {
  filter: drop-shadow(0 0 4px var(--cyan));
}
.op--1 { animation: op1 6s ease-in-out infinite; }
.op--2 { animation: op2 5s ease-in-out infinite; }
.op--3 { animation: op3 7s ease-in-out infinite; }
@keyframes op1 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-12px, 6px); }
}
@keyframes op2 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(8px, -4px); }
}
@keyframes op3 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-6px, -8px); }
}

.machine--4 {
  animation: pulse-alert 2s ease-in-out infinite;
  transform-origin: center;
}
@keyframes pulse-alert {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* KPI stack overlay */
.kpi-stack {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 160px;
}
.kpi {
  background: rgba(6,9,15,0.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-2);
  padding: 10px 12px;
}
.kpi--alert { border-color: rgba(255,87,87,0.4); }
.kpi__label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--text-light-dim);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.kpi__value {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.kpi--alert .kpi__value { color: var(--alert); }
.kpi__unit {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light-dim);
}
.kpi__bar {
  margin-top: 8px;
  height: 2px;
  background: var(--line);
  overflow: hidden;
}
.kpi__bar span {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--cyan);
  animation: bar-grow 1.2s cubic-bezier(.2,.6,.2,1) both;
}
.kpi__bar--alert span { background: var(--alert); }
@keyframes bar-grow {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}

.viewport__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--text-light-dim);
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.3);
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .kpi-stack { min-width: 140px; }
  .kpi__value { font-size: 18px; }
}

/* ─────────────────────────────────────────
   SECTION 2 — PROBLÈME
   ───────────────────────────────────────── */
.problem {
  background: var(--paper);
  color: var(--text);
  padding: var(--pad-y) 0;
}
.problem .section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 24ch;
  margin-bottom: 80px;
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.persona {
  padding: 36px 28px;
  border: 1px solid var(--paper-line);
  background: white;
  position: relative;
  transition: all 0.25s ease;
}
.persona:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(11,18,32,0.2);
}
.persona__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-bottom: 24px;
  background: var(--paper-2);
}
.persona__icon svg { width: 32px; height: 32px; }
.persona__role {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 16px;
}
.persona__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}

@media (max-width: 820px) {
  .problem__grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   SECTION 3 — SOLUTION
   ───────────────────────────────────────── */
.solution {
  background: var(--ink-2);
  color: var(--text-light);
  padding: var(--pad-y) 0;
  position: relative;
  overflow: hidden;
}
.solution__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  pointer-events: none;
}
.solution__head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
  position: relative;
  z-index: 1;
}
.solution__head .section-title {
  margin-left: auto;
  margin-right: auto;
  max-width: 24ch;
}
.solution__head .section-sub {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
  position: relative;
  z-index: 1;
}
.step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  transition: all 0.3s ease;
}
.step:hover {
  border-color: var(--cyan);
  background: rgba(0,229,255,0.04);
}
.step__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 20px;
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid rgba(0,229,255,0.3);
}
.step__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  line-height: 1.2;
}
.step__body {
  font-size: 15px;
  color: var(--text-light-mute);
  line-height: 1.65;
  margin: 0 0 32px;
}
.step__deco {
  color: var(--cyan);
  opacity: 0.6;
}
.step__deco svg {
  width: 100%;
  max-width: 140px;
  height: auto;
}

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   SECTION 4 — FEATURES
   ───────────────────────────────────────── */
.features {
  background: white;
  color: var(--text);
  padding: var(--pad-y) 0;
}
.features .section-title {
  max-width: 20ch;
  margin-bottom: 64px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--paper-line);
  border-left: 1px solid var(--paper-line);
}
.feature {
  padding: 40px 32px;
  border-right: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  position: relative;
  transition: background 0.2s ease;
}
.feature:hover { background: var(--paper); }
.feature__icon {
  width: 44px; height: 44px;
  color: var(--cyan);
  margin-bottom: 24px;
  filter: drop-shadow(0 0 12px rgba(0,229,255,0.2));
}
.feature__icon svg { width: 100%; height: 100%; }
.feature__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  line-height: 1.25;
}
.feature__body {
  font-size: 15px;
  color: var(--text-mute);
  line-height: 1.65;
  margin: 0;
}
.feature__index {
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}

@media (max-width: 760px) {
  .features__grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   SECTION 5 — APPROCHE
   ───────────────────────────────────────── */
.approach {
  background: var(--paper-2);
  color: var(--text);
  padding: var(--pad-y) 0 0;
}
.approach__title {
  max-width: 22ch;
  margin-bottom: 48px;
}
.approach__body {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
  color: var(--text);
}
.approach__body p {
  margin: 0 0 26px;
}
.approach__body strong {
  color: var(--ink);
  position: relative;
  display: inline-block;
}
.approach__body strong::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan);
}

/* Bande pleine largeur, fond bleu nuit, transition douce via dégradés en bords */
.quote {
  position: relative;
  margin: 96px 0 0;
  padding: 96px 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0,229,255,0.14), transparent 60%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 50%, var(--ink-2) 100%);
  color: var(--text-light);
  overflow: hidden;
  isolation: isolate;
}
/* Fade haut/bas : transition douce entre la section claire et la bande sombre */
.quote::before,
.quote::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 32px;
  pointer-events: none;
  z-index: 1;
}
.quote::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(236,238,242,0.12), transparent);
}
.quote::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(236,238,242,0.12), transparent);
}
/* Inner container pour limiter la largeur du texte */
.quote__inner {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
}
/* Lignes accent cyan haut et bas centrées sur l'inner */
.quote__inner::before,
.quote__inner::after {
  content: '';
  position: absolute;
  left: var(--pad-x); right: var(--pad-x);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.4), transparent);
}
.quote__inner::before { top: -40px; }
.quote__inner::after  { bottom: -40px; }

.quote__text {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  position: relative;
  z-index: 2;
}
.quote__text em {
  color: var(--cyan);
  font-style: normal;
}
.quote__bracket {
  position: absolute;
  top: -28px;
  left: calc(var(--pad-x) - 6px);
  font-size: 140px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  color: var(--cyan);
  opacity: 0.18;
  line-height: 1;
  z-index: 1;
  user-select: none;
}

/* ─────────────────────────────────────────
   SECTION 6 — AUDIENCE
   ───────────────────────────────────────── */
.audience {
  background: white;
  color: var(--text);
  padding: var(--pad-y) 0;
}
.audience .section-title {
  margin-bottom: 56px;
  max-width: 20ch;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--paper-line);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.5;
}
.check:last-child { border-bottom: 0; }
.check__mark {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--ink);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}
.check__mark svg { width: 18px; height: 18px; }
.check__text strong {
  color: var(--ink);
  font-weight: 700;
}

/* ─────────────────────────────────────────
   SECTION 7 — ÉQUIPE
   ───────────────────────────────────────── */
.team {
  background: var(--ink);
  color: var(--text-light);
  padding: var(--pad-y) 0;
  position: relative;
  overflow: hidden;
}
.team__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 70% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, black 20%, transparent 70%);
  pointer-events: none;
}
.team .section-title {
  max-width: 24ch;
  margin-bottom: 72px;
}

.team__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  position: relative;
  z-index: 1;
}
.member {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: start;
}
.member__portrait {
  aspect-ratio: 1;
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  position: relative;
}
.member__placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(0,229,255,0.15), transparent 60%);
}
.member__initials {
  font-size: 56px;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -0.04em;
  font-family: var(--font-sans);
}
.member__corner {
  position: absolute;
  width: 12px; height: 12px;
  border: 1px solid var(--cyan);
}
.member__corner--tl { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.member__corner--tr { top: 6px; right: 6px; border-left: 0; border-bottom: 0; }
.member__corner--bl { bottom: 6px; left: 6px; border-right: 0; border-top: 0; }
.member__corner--br { bottom: 6px; right: 6px; border-left: 0; border-top: 0; }

.member__name {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.member__role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.member__bio {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-light-mute);
  margin: 0;
}
.placeholder-note {
  display: inline-block;
  padding: 8px 12px;
  background: rgba(255,229,87,0.08);
  border-left: 2px solid #FFD957;
  color: rgba(255,217,87,0.85);
  font-style: italic;
  font-size: 14px;
}

.team__signature {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 14px;
  position: relative;
  z-index: 1;
}
.team__brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.team__brand-meta { color: var(--text-light-mute); }
.team__brand-loc {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-light-dim);
  margin-left: auto;
}

@media (max-width: 820px) {
  .team__row { grid-template-columns: 1fr; gap: 40px; }
  .member { grid-template-columns: 100px 1fr; gap: 20px; }
}

/* ─────────────────────────────────────────
   SECTION 8 — CTA FINAL
   ───────────────────────────────────────── */
.cta {
  background: var(--ink-2);
  color: var(--text-light);
  padding: var(--pad-y) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta__grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,229,255,0.12), transparent 60%);
  pointer-events: none;
}
.cta::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
}
.cta::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to top, var(--cyan), transparent);
}
.cta__title {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.cta__title em { color: var(--cyan); font-style: normal; }
.cta__sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-light-mute);
  margin: 0 0 40px;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}
.cta__sub strong { color: var(--text-light); }
.cta__micro {
  margin: 24px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-light-dim);
}

/* ─────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--text-light-mute);
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-weight: 600;
}
.footer__brand svg { color: var(--cyan); }
.footer__links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.footer__links a {
  color: var(--text-light-mute);
  transition: color 0.15s ease;
}
.footer__links a:hover { color: var(--cyan); }
.footer__copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-light-dim);
}

@media (max-width: 640px) {
  .footer__links { margin-left: 0; flex-wrap: wrap; gap: 16px; }
  .footer__copy { width: 100%; }
}

/* ─────────────────────────────────────────
   REVEAL ANIMATION
   ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.6,.2,1);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
