@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #fafafa;
  --bg2: #f4f4f6;
  --surface: #ffffff;
  --surface-hover: #f8f0fc;
  --border: #e5e7eb;
  --border-accent: rgba(167,14,193,0.3);
  --primary: #A70EC1;
  --primary-light: #c435de;
  --primary-pale: #f9eafc;
  --primary-dark: #820a97;
  --text: #0f0f10;
  --muted: #4b5563;
  --subtle: #9ca3af;
  --success: #10b981;
  --error: #f43f5e;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow: 0 4px 16px rgba(0,0,0,0.09);
  --shadow-lg: 0 12px 40px rgba(167,14,193,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.75; font-size: 1rem; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.1; }

h1 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  word-break: normal;
  overflow-wrap: break-word;
}

h2 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800;
}

h3 { font-size: 1.15rem; font-weight: 700; }

.container {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
  position: relative;
}

/* ─── HEADER ─────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,250,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand { display: inline-flex; align-items: center; gap: 0.75rem; }

.brand-logo {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
}

.brand-text strong { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.brand-text small { font-size: 0.7rem; color: var(--primary); display: block; font-weight: 500; }

.site-nav { display: flex; align-items: center; gap: 0.2rem; flex-wrap: wrap; }

.site-nav a {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.18s;
}

.site-nav a:hover, .site-nav a.active {
  color: var(--primary);
  background: var(--primary-pale);
}

/* ─── BUTTONS ─────────────────────────────── */
.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.button {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 18px rgba(167,14,193,0.35);
}

.button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(167,14,193,0.45);
}

.button.secondary {
  background: var(--surface);
  color: var(--primary);
  border: 1.5px solid var(--border-accent);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--primary-pale);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.link-button {
  background: var(--bg2);
  color: var(--muted);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

.link-button:hover { background: var(--primary-pale); color: var(--primary); }

/* ─── HERO ─────────────────────────────── */
.single-page { overflow-x: hidden; }

.hero-section {
  padding: 6rem 0 5rem;
  position: relative;
  background:
    radial-gradient(circle at 18% 30%, rgba(167,14,193,0.2), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(99,102,241,0.16), transparent 24%),
    linear-gradient(180deg, #fcfbff 0%, #f5effd 100%);
  border-bottom: 1px solid var(--border);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 4rem;
  align-items: center;
}

.hero-copy {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  margin-bottom: 1rem;
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--primary-pale);
  border: 1px solid var(--border-accent);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.eyebrow::before { content: '●'; font-size: 0.45rem; }

.lead {
  font-size: 1.06rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
  line-height: 1.8;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 620px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(167,14,193,0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(109,40,217,0.08);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

.hero-panel {
  position: relative;
  min-width: 0;
}

.system-visual {
  position: relative;
  min-height: 34rem;
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.72), rgba(255,255,255,0.38)),
    linear-gradient(180deg, rgba(109,40,217,0.08), rgba(79,70,229,0.04));
  border: 1px solid rgba(167,14,193,0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 30px 80px rgba(76,29,149,0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.system-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.7;
  pointer-events: none;
}

.system-glow-left {
  width: 12rem;
  height: 12rem;
  top: 3rem;
  left: 2rem;
  background: rgba(236,72,153,0.28);
}

.system-glow-right {
  width: 14rem;
  height: 14rem;
  right: 1.5rem;
  bottom: 2rem;
  background: rgba(79,70,229,0.24);
}

.system-card {
  position: absolute;
  top: 50%;
  width: 41%;
  min-height: 22rem;
  padding: 1.3rem;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    0 18px 40px rgba(17,24,39,0.1);
  transform: translateY(-50%);
}

.chaos-card {
  left: 1.4rem;
  transform: translateY(-50%) rotate(-5deg);
}

.clarity-card {
  right: 1.4rem;
  transform: translateY(-50%) rotate(3deg);
}

.system-label {
  display: inline-flex;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(167,14,193,0.18);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chaos-node,
.clarity-node {
  position: absolute;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f0abfc 0%, #7c3aed 100%);
  box-shadow: 0 0 0 6px rgba(192,132,252,0.12);
}

.chaos-node::after,
.clarity-node::after {
  content: "";
  position: absolute;
  inset: -0.25rem;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.35);
}

.node-a { top: 4.8rem; left: 2.4rem; }
.node-b { top: 8.2rem; left: 8.2rem; }
.node-c { top: 6rem; right: 3.3rem; }
.node-d { bottom: 6.3rem; left: 4.6rem; }
.node-e { bottom: 4.2rem; right: 6rem; }

.chaos-line,
.clarity-line {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(167,14,193,0.08), rgba(167,14,193,0.72), rgba(79,70,229,0.08));
  transform-origin: left center;
}

.line-a { top: 5.2rem; left: 2.8rem; width: 9rem; transform: rotate(24deg); }
.line-b { top: 8.7rem; left: 8.8rem; width: 8rem; transform: rotate(-18deg); }
.line-c { bottom: 6.7rem; left: 5.3rem; width: 11rem; transform: rotate(-28deg); }
.line-d { top: 11rem; left: 3rem; width: 14rem; transform: rotate(11deg); }

.system-flow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.flow-beam {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18%;
  height: 2px;
  background: linear-gradient(90deg, rgba(236,72,153,0.12), rgba(139,92,246,0.95), rgba(16,185,129,0.12));
  transform: translate(-50%, -50%);
  box-shadow: 0 0 22px rgba(139,92,246,0.4);
}

.flow-particle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 18px rgba(255,255,255,0.9);
  transform: translate(-50%, -50%);
  animation: flowParticle 4.5s linear infinite;
}

.particle-2 { animation-delay: 1.4s; }
.particle-3 { animation-delay: 2.8s; }

.clarity-grid {
  position: absolute;
  inset: 4.8rem 2.2rem 3rem 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.8rem 1.9rem;
  align-content: start;
}

.clarity-node {
  position: relative;
  width: 0.95rem;
  height: 0.95rem;
  justify-self: center;
  align-self: center;
}

.c-line-1 {
  top: 7.4rem;
  left: 4rem;
  width: 13.8rem;
}

.c-line-2 {
  top: 12rem;
  left: 4rem;
  width: 13.8rem;
}

.c-line-3 {
  top: 16.6rem;
  left: 4rem;
  width: 13.8rem;
}

.system-note {
  position: absolute;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(17,24,39,0.82);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 22px rgba(17,24,39,0.18);
}

.note-top {
  top: 1.2rem;
  left: 42%;
}

.note-bottom {
  right: 2rem;
  bottom: 1.6rem;
}

@keyframes flowParticle {
  0% {
    opacity: 0;
    transform: translate(-200px, -50%) scale(0.8);
  }
  15% {
    opacity: 1;
  }
  50% {
    opacity: 1;
    transform: translate(-20px, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(170px, -50%) scale(0.85);
  }
}

/* ─── SECTIONS ─────────────────────────────── */
.section { padding: 5rem 0; }

.section-contrast { background: var(--bg2); }

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 3.5rem;
}

.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.02rem; }

/* ─── SERVICE CARDS ─────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.case-grid,
.process-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border);
}

.feature-card-body { padding: 1.5rem; }

.feature-index {
  display: inline-flex;
  padding: 0.22rem 0.6rem;
  background: var(--primary-pale);
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 0.65rem;
}

.feature-card h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }

/* ─── WORK / CASE STUDIES ─────────────────── */
.section-work {
  background: linear-gradient(180deg, #ffffff 0%, #faf7fc 100%);
}

.case-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.case-card-top {
  margin-bottom: 1rem;
}

.case-label {
  display: inline-flex;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: var(--primary-pale);
  border: 1px solid var(--border-accent);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
}

.case-card h3 {
  margin-bottom: 0.5rem;
}

.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.case-metrics span {
  padding: 0.4rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 600;
}

/* ─── PROCESS ─────────────────────────────── */
.section-process {
  background: var(--bg2);
}

.process-step {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.process-number {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.process-step h3 {
  margin-bottom: 0.5rem;
}

/* ─── CAPABILITIES ─────────────────────────── */
.capability-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.capability-copy h2 { margin-bottom: 0.85rem; }
.capability-copy > p { margin-bottom: 1.75rem; }

.capability-stack { display: grid; gap: 0.85rem; }

.capability-item {
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.capability-item:hover {
  background: var(--primary-pale);
  border-left-color: var(--primary-dark);
}

.capability-item strong { display: block; margin-bottom: 0.25rem; color: var(--text); font-size: 0.95rem; }
.capability-item p { font-size: 0.9rem; }

.capability-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1;
}

.capability-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ─── INDUSTRIES ──────────────────────────── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.industry-chip {
  padding: 1.15rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

/* ─── ABOUT ─────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-block h2 { margin-bottom: 1rem; }
.about-block p { margin-bottom: 0.85rem; }

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-stat {
  padding: 1.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.about-stat:hover { border-color: var(--border-accent); box-shadow: var(--shadow-lg); }

.about-stat .num {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.about-stat p { font-size: 0.82rem; }

/* ─── FAQ ────────────────────────────────── */
.faq-grid {
  grid-template-columns: 1fr 1fr;
}

.faq-card {
  padding: 1.4rem 1.45rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.faq-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1rem;
}

/* ─── FINAL CTA ──────────────────────────── */
.final-cta-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-pale) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.final-cta h2 {
  max-width: 12ch;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ─── CONTACT ─────────────────────────────── */
.contact-section { padding-bottom: 6rem; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-intro h2 { margin-bottom: 0.85rem; }
.contact-intro > p { margin-bottom: 1.75rem; }

.contact-points { display: grid; gap: 0.75rem; }

.contact-point {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-point-icon {
  width: 2.1rem;
  height: 2.1rem;
  background: var(--primary-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-point-label { font-size: 0.72rem; color: var(--subtle); display: block; font-weight: 500; }
.contact-point-value { color: var(--text); font-weight: 600; font-size: 0.875rem; }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-card h3 { margin-bottom: 0.4rem; }
.contact-card > p { margin-bottom: 1.5rem; font-size: 0.9rem; }

/* ─── FORMS ─────────────────────────────── */
.stack { display: grid; gap: 1rem; }

label { display: grid; gap: 0.35rem; font-size: 0.84rem; font-weight: 600; color: var(--text); }

input, textarea, select {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color 0.18s, box-shadow 0.18s;
}

input::placeholder, textarea::placeholder { color: var(--subtle); }
select option { background: #fff; color: var(--text); }

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(167,14,193,0.12);
  background: #fff;
}

textarea { resize: vertical; min-height: 120px; }

/* ─── FLASH ─────────────────────────────── */
.flash { padding: 0.5rem 0; }

.flash-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: #065f46;
}

.flash-error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: #9f1239;
}

.form-errors {
  padding: 0.9rem 1rem;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.form-errors p { color: #9f1239; font-size: 0.875rem; }

/* ─── FOOTER ─────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem 0;
}

.footer-row p { font-size: 0.875rem; }

.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.footer-links a {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.84rem;
  color: var(--muted);
  border: 1px solid var(--border);
  transition: all 0.18s;
}

.footer-links a:hover { color: var(--primary); border-color: var(--border-accent); background: var(--primary-pale); }

/* ─── AUTH ─────────────────────────────── */
.auth-shell {
  max-width: 460px;
  margin: 0 auto;
  padding: 4rem 0 6rem;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.auth-card h1 { font-size: 1.75rem; }

/* ─── ADMIN ─────────────────────────────── */
.admin-list { display: grid; gap: 1rem; margin-top: 1.5rem; }

.admin-meta, .status-row, .status-form {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.status-row { margin-bottom: 0.6rem; }

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: capitalize;
}

.status-new { background: var(--primary-pale); color: var(--primary); border: 1px solid var(--border-accent); }
.status-in_review { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.status-proposal_sent { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.status-closed { background: var(--bg2); color: var(--subtle); border: 1px solid var(--border); }

.inline-form { display: inline; }

/* ─── CARDS / PAGES ─────────────────────── */
.card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.story-card { margin-top: 1.75rem; }
.story-card p + p { margin-top: 1rem; }

.narrow { max-width: 760px; }

.page-intro { padding: 4rem 0 2rem; }
.page-intro h1 { margin: 0.75rem 0 1rem; }

.service-stack { display: grid; gap: 2rem; margin-top: 2rem; }
.service-stack h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }

/* ─── SCROLLBAR ──────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-accent); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

::selection { background: rgba(167,14,193,0.15); color: var(--text); }

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 900px) {
  .hero-layout,
  .capability-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-grid,
  .case-grid,
  .process-grid,
  .industry-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .hero-proof { grid-template-columns: 1fr; }
  .about-stats-grid { grid-template-columns: 1fr 1fr; }
  .final-cta { flex-direction: column; align-items: flex-start; }

  .nav-row, .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-section { padding: 3rem 0; }
  .system-visual {
    min-height: 40rem;
  }

  .system-card {
    width: calc(100% - 2.8rem);
    min-height: 14rem;
  }

  .chaos-card {
    top: 26%;
    left: 1.4rem;
    transform: translateY(-50%) rotate(-2deg);
  }

  .clarity-card {
    top: 74%;
    right: 1.4rem;
    transform: translateY(-50%) rotate(2deg);
  }

  .system-flow {
    transform: rotate(90deg);
  }

  .flow-beam {
    width: 32%;
  }

  .particle-1,
  .particle-2,
  .particle-3 {
    animation-duration: 5.4s;
  }

  .note-top {
    top: 1rem;
    left: 1rem;
  }

  .note-bottom {
    right: 1rem;
    bottom: 1rem;
  }

  .auth-shell { max-width: 100%; }
}
