/* ============================================================
   Mindspace Networks — engineered schematic, light + signal orange
   ============================================================ */
:root {
  --paper: #faf9f6;
  --card: #ffffff;
  --ink: #24272e;
  --soft: #61656e;
  --faint: #8a8e96;
  --orange: #ff4d00;
  --orange-deep: #d63f00;
  --tint: #ffede2;
  --tint-soft: #fff6f0;
  --line: #e8e4db;
  --line-strong: #d8d3c8;
  --radius: 12px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --container: 1560px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 max(clamp(20px, 3vw, 48px), env(safe-area-inset-left)) 0 max(clamp(20px, 3vw, 48px), env(safe-area-inset-right));
}
.section { padding: clamp(64px, 8vw, 100px) 0; }

/* ---------- type ---------- */
h1, h2, h3, .hero-stats dt, .brand-name {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--orange);
}
.section-title {
  font-weight: 600;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 16px 0 18px;
}
.section-sub { font-size: 1.08rem; color: var(--soft); max-width: 580px; }

/* ---------- custom cursor: orange dot ---------- */
@media (pointer: fine) {
  body.dot-cursor, body.dot-cursor a, body.dot-cursor button { cursor: none; }
  body.dot-cursor input, body.dot-cursor textarea { cursor: text; }
}
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 9999;
  pointer-events: none;
  display: none;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--orange);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
body.dot-cursor .cursor { display: block; }
.cursor.grow {
  width: 36px; height: 36px;
  margin: -18px 0 0 -18px;
  background: rgba(255, 77, 0, 0.12);
  border: 1.5px solid var(--orange);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 77, 0, 0.25);
}
.btn-primary:hover { background: var(--orange-deep); box-shadow: 0 10px 26px rgba(255, 77, 0, 0.32); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange-deep); }
.btn-sm { padding: 9px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; text-align: center; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(250, 249, 246, 0.95); }
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-logo { height: 46px; width: auto; }
.footer-logo { height: 72px; }
.brand-name {
  font-weight: 640;
  font-size: 1.32rem;
  letter-spacing: -0.015em;
  line-height: 1.0;
}
.brand-name em {
  font-style: normal;
  color: var(--orange);
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--soft);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--orange); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; width: 40px; height: 40px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: transform 0.3s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100dvh - 64px);
  display: flex;
  flex-direction: column;
  padding: 16px 28px calc(24px + env(safe-area-inset-bottom));
  background: var(--paper);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.nav-mobile a {
  color: var(--ink); text-decoration: none;
  padding: 16px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 600;
  
  border-bottom: 1px solid var(--line);
}
.nav-mobile a[aria-current="page"] { color: var(--orange-deep); }
.nav-mobile a.btn { border: none; justify-content: center; margin-top: 24px; color: #fff; font-size: 1.05rem; }
.nav-mobile.open { visibility: visible; opacity: 1; transform: none; }
body.menu-open { overflow: hidden; }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero { padding: 118px 0 0; position: relative; overflow: hidden; }
.hero-title {
  font-weight: 640;
  font-size: clamp(3rem, 7.2vw, 5.4rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 22px 0 26px;
}
.hl { color: var(--orange); position: relative; display: inline-block; }
.hl::before {
  content: "";
  position: absolute;
  inset: 0.08em -0.14em -0.02em -0.1em;
  background: var(--tint);
  border-radius: 0.12em;
  transform: skew(-6deg) rotate(-0.6deg);
  transform-origin: left center;
  z-index: -1;
  animation: swipe-in 0.7s var(--ease) 0.9s both;
}
@keyframes swipe-in { from { transform: skew(-6deg) rotate(-0.6deg) scaleX(0); } to { transform: skew(-6deg) rotate(-0.6deg) scaleX(1); } }
.hero-sub { font-size: 1.15rem; color: var(--soft); max-width: 600px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* plotted chart */
.hero-chart { margin-top: 48px; border-bottom: 1px solid var(--line); }
.hero-chart svg { width: 100%; height: clamp(180px, 24vw, 300px); }
.chart-grid line { stroke: var(--line); stroke-width: 1; }
.chart-ticks line { stroke: var(--line-strong); stroke-width: 1; }
.chart-line { fill: none; stroke-linecap: round; }
.line-main { stroke: var(--orange); stroke-width: 2.2; }
.line-soft { stroke: var(--ink); stroke-width: 1.4; opacity: 0.3; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-in 1.9s var(--ease) 0.3s forwards; }
.draw.d1 { animation-delay: 0.6s; }
@keyframes draw-in { to { stroke-dashoffset: 0; } }
.chart-area { opacity: 0; animation: fade-in 1s ease 1.8s forwards; }
.chart-dots circle { fill: var(--ink); opacity: 0; animation: fade-in 0.6s ease 1.6s forwards; }
.chart-dots circle:nth-child(even) { fill: var(--orange); }
.chart-note line { stroke: var(--line-strong); stroke-width: 1; }
.chart-note .note-pt { fill: var(--card); stroke: var(--orange); stroke-width: 2; }
.chart-note text {
  font-family: var(--font-mono);
  font-size: 13px;
  fill: var(--faint);
}
.chart-note { opacity: 0; animation: fade-in 0.8s ease 2.1s forwards; }
@keyframes fade-in { to { opacity: 1; } }
.chart-pulse {
  fill: var(--orange);
  offset-path: path("M0,235 C150,215 240,160 360,168 C480,176 540,100 660,104 C780,108 860,160 980,78 C1060,22 1140,44 1200,32");
  offset-distance: 0%;
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .chart-pulse { animation: pulse-travel 9s linear 2.4s infinite; }
}
@keyframes pulse-travel {
  0% { offset-distance: 0%; opacity: 0; }
  4% { opacity: 1; }
  96% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 40px 0 56px;
}
.hero-stats div { border-left: 2px solid var(--line-strong); padding-left: 20px; }
.hero-stats dt { font-weight: 600;  font-size: 2.3rem; letter-spacing: -0.02em; }
.hero-stats dd {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  color: var(--faint);
  margin-top: 2px;
}

/* ============================================================
   PAGE HEADER (subpages)
   ============================================================ */
.page-head { padding: 130px 0 56px; border-bottom: 1px solid var(--line); }
.page-title {
  font-weight: 640;
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin: 20px 0 20px;
}
.page-sub { font-size: 1.12rem; color: var(--soft); max-width: 640px; }

/* ============================================================
   CLIENTS
   ============================================================ */
.clients { padding: 48px 0; border-bottom: 1px solid var(--line); }
.clients-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  color: var(--faint);
  text-align: center;
  margin-bottom: 22px;
}
.clients-row {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 60px);
}
.clients-row li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  color: var(--faint);
  transition: color 0.3s;
}
.clients-row li img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter 0.3s, opacity 0.3s;
}
.clients-row li:hover { color: var(--ink); }
.clients-row li:hover img { filter: none; opacity: 1; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 77, 0, 0.45);
  box-shadow: 0 18px 40px rgba(36, 39, 46, 0.08);
}
.card-art { width: 56px; height: 56px; margin-bottom: 20px; }
.card h3 {
  font-weight: 600;
  
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.card p { font-size: 0.94rem; color: var(--soft); }
.card-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.card-tags li {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  background: var(--paper);
}
.chip {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 3px 9px;
  border-radius: 999px;
}
.chip-ai { background: var(--tint); color: var(--orange-deep); border: 1px solid rgba(255, 77, 0, 0.3); }

/* detailed service rows (services page) */
.svc-rows { display: grid; gap: 0; margin-top: 8px; }
.svc-row {
  display: grid;
  grid-template-columns: 88px 1fr 0.9fr;
  gap: 40px;
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.svc-row:last-child { border-bottom: none; }
.svc-row .card-art { width: 72px; height: 72px; margin: 0; }
.svc-row h3 { font-weight: 600;  font-size: 1.5rem; letter-spacing: -0.015em; margin-bottom: 12px; }
.svc-row .svc-desc { color: var(--soft); font-size: 1rem; max-width: 480px; }
.svc-deliv h4 {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--faint);
  margin-bottom: 14px;
}
.svc-deliv ul { list-style: none; display: grid; gap: 9px; }
.svc-deliv li { position: relative; padding-left: 22px; font-size: 0.94rem; color: var(--ink); }
.svc-deliv li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

/* ============================================================
   AI BAND / CONSOLE
   ============================================================ */
.ai-band { background: linear-gradient(180deg, var(--tint-soft) 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.ai-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.ai-list { list-style: none; margin-top: 6px; }
.ai-list li {
  padding: 13px 0 13px 28px;
  position: relative;
  color: var(--soft);
  font-size: 0.97rem;
  border-bottom: 1px solid var(--line);
}
.ai-list li:last-child { border-bottom: none; }
.ai-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 21px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.ai-list strong { color: var(--ink); font-weight: 600; }
.ai-copy .btn { margin-top: 30px; }

.ai-console {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(36, 39, 46, 0.09);
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.console-bar img { width: 22px; height: 22px; object-fit: contain; }
.console-bar span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  color: var(--soft);
}
.console-live {
  margin-left: auto;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  color: var(--orange-deep);
  background: var(--tint);
  border-radius: 999px;
  padding: 2px 9px;
}
.console-body { padding: 22px 22px 24px; font-size: 0.93rem; }
.c-prompt {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--faint);
  margin-right: 10px;
}
.c-prompt-ai { color: var(--orange-deep); }
.c-q { color: var(--ink); font-weight: 500; margin-bottom: 16px; }
.c-a { color: var(--soft); min-height: 116px; }
.c-caret {
  display: inline-block;
  width: 8px; height: 15px;
  background: var(--orange);
  margin-left: 3px;
  vertical-align: -2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.c-src {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--faint);
  margin-top: 16px;
  opacity: 0;
  transition: opacity 0.8s;
}
.c-src.show { opacity: 1; }

/* offering cards (AI page) */
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 52px; }
.offer {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s var(--ease);
}
.offer:hover { transform: translateY(-4px); border-color: rgba(255, 77, 0, 0.45); box-shadow: 0 16px 36px rgba(36, 39, 46, 0.07); }
.offer h3 { font-weight: 600;  font-size: 1.15rem; margin-bottom: 8px; }
.offer p { font-size: 0.94rem; color: var(--soft); }
a.offer-ex { text-decoration: none; }
a.offer-ex:hover { text-decoration: underline; }
.offer .offer-ex {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange-deep);
  margin-top: 14px;
  display: block;
}

/* pilot timeline (AI page) */
.timeline { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.timeline li {
  list-style: none;
  border-top: 2px solid var(--line-strong);
  padding-top: 18px;
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  top: -6px; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--orange);
}
.timeline .tl-week {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  color: var(--faint);
}
.timeline h3 { font-weight: 600;  font-size: 1.1rem; margin: 8px 0 6px; }
.timeline p { font-size: 0.92rem; color: var(--soft); }

/* ============================================================
   APPROACH STEPS
   ============================================================ */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.steps li { border-top: 2px solid var(--line-strong); padding-top: 20px; position: relative; transition: border-color 0.3s; }
.steps li::before {
  content: "";
  position: absolute;
  top: -6px; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line-strong);
  transition: background 0.3s, border-color 0.3s;
}
.steps li:hover::before { background: var(--orange); border-color: var(--orange); }
.step-num { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.01em; color: var(--orange-deep); }
.steps h3 { font-weight: 600;  font-size: 1.3rem; margin: 12px 0 8px; }
.steps p { font-size: 0.93rem; color: var(--soft); }
.steps .step-list { list-style: none; margin-top: 14px; display: grid; gap: 7px; }
.steps .step-list li { border: none; padding: 0 0 0 20px; position: relative; font-size: 0.9rem; color: var(--ink); }
.steps .step-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 9px; height: 2px;
  border: none; border-radius: 2px;
  background: var(--orange);
}

/* engagement models */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.model {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.model h3 { font-weight: 600;  font-size: 1.18rem; margin-bottom: 8px; }
.model p { font-size: 0.93rem; color: var(--soft); }
.model .model-fit {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--orange-deep);
  display: block;
  margin-top: 16px;
}

/* ============================================================
   CAREERS
   ============================================================ */
.careers-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.careers-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
}
.careers-card h3 { font-weight: 600;  font-size: 1.35rem; margin-bottom: 10px; }
.careers-card > p { color: var(--soft); font-size: 0.96rem; margin-bottom: 22px; }
.careers-perks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.careers-perks li {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}
.roles { list-style: none; margin-top: 52px; border-top: 1px solid var(--line); }
.roles li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s;
}
.roles li:hover { background: var(--tint-soft); }
.roles h3 { font-weight: 600;  font-size: 1.1rem; }
.roles p { font-size: 0.88rem; color: var(--soft); }
.roles .role-tag { font-family: var(--font-mono); font-size: 0.85rem; color: var(--orange-deep); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-details { font-style: normal; margin-top: 34px; display: grid; gap: 18px; }
.contact-details p { color: var(--soft); font-size: 0.97rem; }
.contact-details a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-details a:hover { color: var(--orange-deep); }
.cd-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  color: var(--orange-deep);
  margin-bottom: 2px;
}
.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  display: grid;
  gap: 18px;
  box-shadow: 0 20px 50px rgba(36, 39, 46, 0.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label {
  display: grid;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--faint);
}
.contact-form select {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
}
.contact-form select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.15);
}
.contact-form input[type="file"] {
  border-style: dashed;
  cursor: pointer;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--faint); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.15);
}
.contact-form .btn { border: none; font-family: var(--font-body); cursor: pointer; }
.form-note { font-family: var(--font-mono); font-size: 0.8rem; color: var(--orange-deep); min-height: 1em; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.product-kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #2342d6;
}
.product-visual svg { width: 100%; height: auto; }
.product-visual-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--faint);
  margin-top: 14px;
}
.sig-stroke {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw-in 1.6s var(--ease) 0.6s forwards;
}
.seal-pop {
  transform-origin: 290px 222px;
  transform: scale(0);
  animation: seal-in 0.5s var(--ease) 2.3s forwards;
}
@keyframes seal-in { to { transform: scale(1); } }
.audit-row { opacity: 0; animation: fade-in 0.6s ease forwards; }
.audit-row.a1 { animation-delay: 1s; }
.audit-row.a2 { animation-delay: 1.5s; }
.audit-row.a3 { animation-delay: 2s; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { border-top: 1px solid var(--line); background: var(--tint-soft); }
.cta-inner { text-align: center; padding: 88px 28px; }
.cta-inner h2 {
  font-weight: 640;
  
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.cta-inner p { color: var(--soft); font-size: 1.05rem; margin-bottom: 32px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: var(--paper); padding: 60px 0 28px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .footer-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.92rem; color: var(--soft); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--soft); text-decoration: none; font-size: 0.92rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange-deep); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--soft);
  transition: color 0.25s, border-color 0.25s, transform 0.25s;
}
.footer-social a:hover { color: var(--orange-deep); border-color: var(--orange); transform: translateY(-2px); }
.footer-social svg { width: 15px; height: 15px; }
.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--faint);
}

/* ============================================================
   REVEALS + MOTION PREFS
   ============================================================ */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .c-caret, .hl::before, .cursor-orbit { animation: none; }
  .draw { animation: none; stroke-dashoffset: 0; }
  .chart-area, .chart-dots circle, .chart-note { animation: none; opacity: 1; }
  .chart-pulse { display: none; }
  .btn, .card, .offer { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
.br-desk { display: inline; }
@media (max-width: 1000px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .models, .timeline { grid-template-columns: repeat(2, 1fr); }
  .ai-grid, .careers-inner, .contact-grid, .product-grid { grid-template-columns: 1fr; gap: 48px; }
  .svc-row { grid-template-columns: 72px 1fr; }
  .svc-row .svc-deliv { grid-column: 2; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .br-desk { display: none; }
}
@media (max-width: 720px) {
  .container { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .hero { padding-top: 128px; }
  .page-head { padding: 128px 0 48px; }
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-inner { padding: 10px 20px; }
  .brand-logo { height: 40px; }
  .brand-name { font-size: 0.95rem; }
  .nav-mobile { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }

  .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; }
  .card, .offer, .model { padding: 26px 22px; }
  .card-grid, .steps, .models, .timeline, .offer-grid, .form-row { grid-template-columns: 1fr; }
  .card-grid { gap: 16px; }
  .steps { gap: 36px; }

  .hero-sub, .page-sub { font-size: 1.05rem; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-chart { margin-top: 36px; }
  .hero-chart svg { height: 170px; }
  .chart-note text { font-size: 15px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 28px 0 40px; }
  .hero-stats div { border-left-width: 2px; padding-left: 12px; }
  .hero-stats dt { font-size: 1.5rem; }
  .hero-stats dd { font-size: 0.7rem; }

  .clients-row {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 24px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .clients-row::-webkit-scrollbar { display: none; }
  .clients-row li { flex: 0 0 auto; font-size: 0.95rem; }

  .svc-row { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
  .svc-row .svc-deliv { grid-column: 1; }
  .svc-row .card-art { width: 56px; height: 56px; }

  .contact-form { padding: 26px 20px; }
  .contact-form input, .contact-form textarea { font-size: 1rem; padding: 14px 15px; }

  .roles li { grid-template-columns: 1fr; gap: 10px; padding: 20px 4px; }
  .roles li .btn { justify-self: start; }
  .cta-inner { padding: 72px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
  .footer-base { flex-direction: column; gap: 4px; }
}
