/* ============================================================
   Kannan Industrials — landing page
   Visual world: engineered monochrome. Pure black, neutral
   grays, hairline structural grids, sharp corners, monospace
   micro-labels. A single blue signal survives for emphasis
   and live status.
   ============================================================ */

:root {
  --bg: #000;
  --panel: #050505;
  --panel-2: #0a0a0a;
  --hairline: rgba(255, 255, 255, .14);
  --hairline-soft: rgba(255, 255, 255, .09);
  --hairline-lit: rgba(255, 255, 255, .32);
  --text: #f4f4f3;
  --text-soft: #d6d6d4;
  --muted: #9b9b98;
  --dim: #6f6f6c;
  --blue: #3b82f6;
  --blue-bright: #4d8dff;
  --font-ui: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(255, 255, 255, .92); color: #000; }

a { color: inherit; }

:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 3px;
}

html { scrollbar-color: #333 #000; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border: 2px solid #000; }
::-webkit-scrollbar-thumb:hover { background: #444; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.accent { color: var(--blue-bright); }

.arr { display: inline-block; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
a:hover .arr, .btn:hover .arr { transform: translateX(3px); }

/* Scroll-choreographed reveals (JS gates .js-anim; no-JS stays visible) */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(12px);
}
.js-anim .reveal.in {
  opacity: 1;
  transform: none;
  transition:
    opacity .6s cubic-bezier(.2, .7, .2, 1),
    transform .6s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--ri, 0) * 60ms);
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
  padding: 15px 22px;
  border-radius: 0;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}

.btn-solid {
  background: #fff;
  color: #000;
}
.btn-solid:hover { background: #d9d9d6; }

.btn-outline {
  border: 1px solid var(--hairline-lit);
  color: var(--text);
}
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

.btn-outline-blue {
  border: 1px solid var(--hairline-lit);
  color: var(--text);
  padding: 12px 18px;
  font-size: 10.5px;
}
.btn-outline-blue:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

.text-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-decoration: none;
}
.text-link:hover { color: #fff; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--muted);
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.14;
  color: var(--text);
  text-wrap: balance;
}

/* Corner crosshairs — grid registration marks on major panels */
.cross {
  position: relative;
}
.cross::before,
.cross::after {
  content: "+";
  position: absolute;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1;
  color: var(--dim);
  pointer-events: none;
}
.cross::before { top: -7px; left: -5px; }
.cross::after { bottom: -7px; right: -5px; }

/* ---------------- Nav ---------------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline-soft);
  transition: background .3s ease;
}
.site-nav.scrolled { background: rgba(0, 0, 0, .94); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.04em;
  color: #fff;
  line-height: 1;
}
.brand-mark em { font-style: normal; color: var(--blue-bright); }

.brand-name {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  line-height: 1.45;
  color: var(--text-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; }

.has-caret::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .7;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 6px 2px;
  cursor: pointer;
}
.nav-burger span {
  width: 22px;
  height: 1.5px;
  background: #e8e8e6;
  transition: transform .25s, opacity .2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 32px 22px;
  border-bottom: 1px solid var(--hairline-soft);
  background: rgba(0, 0, 0, .97);
}
.mobile-menu.open { display: flex; }
.mobile-menu a:not(.btn) {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  text-decoration: none;
  padding: 10px 0;
}
.mobile-menu a:not(.btn):hover { color: #fff; }
.mobile-menu .btn { margin-top: 10px; align-self: flex-start; }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline-soft);
  min-height: calc(92vh - 66px);
  display: flex;
  align-items: center;
}

.hero-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Legibility scrim over the shader, behind the copy */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .18) 55%, rgba(0, 0, 0, 0));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 96px;
}

.hero-copy { max-width: 780px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, .03);
  border-radius: 0;
  padding: 9px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 36px;
}

.hero-title {
  font-size: clamp(46px, 6vw, 84px);
  font-weight: 600;
  letter-spacing: -.032em;
  line-height: 1.02;
  color: #fff;
}

.hero-kicker {
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--muted);
}

.hero-lede {
  margin-top: 24px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 50ch;
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-trust {
  margin-top: 52px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 0 0 rgba(77, 141, 255, .5);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(77, 141, 255, .45); }
  70%  { box-shadow: 0 0 0 9px rgba(77, 141, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(77, 141, 255, 0); }
}

@keyframes blink { 50% { opacity: 0; } }

/* ---------------- Logo bar ---------------- */

.logobar {
  border-bottom: 1px solid var(--hairline-soft);
  background: #000;
}

.marquee {
  overflow: hidden;
  padding: 44px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-group {
  display: flex;
  align-items: center;
  gap: 96px;
  padding-right: 96px;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.logo-item {
  color: #a7a7a4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  white-space: nowrap;
  filter: grayscale(1);
  opacity: .8;
  transition: opacity .25s, filter .25s;
}
.logo-item:hover { opacity: 1; filter: grayscale(0); }

.logo-item img { display: block; width: auto; }
.logo-nhs img { height: 25px; }
.logo-google img { height: 27px; }
.logo-oxford img { height: 44px; }
.logo-snap img { height: 32px; }

/* UCL banner has empty space baked into the left of the artwork — crop it off */
.logo-ucl img {
  height: 30px;
  clip-path: inset(0 0 0 14%);
  margin-left: -14px;
}

.logo-kcl { font-family: Georgia, "Times New Roman", serif; color: #a2a2a0; }
.logo-kcl .kcl-top { font-size: 16px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.logo-kcl .kcl-mid { font-size: 10px; font-style: italic; margin: 2px 0 1px; }
.logo-kcl .kcl-bot { font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; }

.logo-more {
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--dim);
  white-space: normal;
}

/* ---------------- Services ---------------- */

.section.services { padding: 136px 0 108px; }

/* Horizontal rail: cards ride a continuous track, ruled by 1px
   hairline gaps. JS drives the motion — auto-scrolls, pauses on
   hover, and drags left/right with momentum. */
.services-marquee,
.process-marquee {
  position: relative;
  margin-top: 64px;
  overflow: hidden;
  border: 1px solid var(--hairline-soft);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.services-marquee.dragging,
.process-marquee.dragging { cursor: grabbing; }

/* Rail scrollbar: hairline track, solid thumb. Mirrors the loop
   position and scrubs the rail when dragged. */
.rail-scrollbar {
  position: relative;
  height: 18px;
  margin-top: 12px;
  cursor: pointer;
  touch-action: none;
}
.rail-scrollbar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--hairline-soft);
}
.rail-thumb {
  position: absolute;
  top: 50%;
  margin-top: -1.5px;
  height: 3px;
  width: 140px;
  background: #b9b9b6;
  transition: background .2s, height .15s, margin-top .15s;
}
.rail-scrollbar:hover .rail-thumb,
.rail-scrollbar.scrubbing .rail-thumb {
  background: #fff;
  height: 5px;
  margin-top: -2.5px;
}

.services-track,
.process-track {
  display: flex;
  width: max-content;
  background: var(--hairline-soft);
  will-change: transform;
}

.services-group,
.process-group {
  display: flex;
  gap: 1px;
  padding-right: 1px;
}

.service-card img, .service-card svg { -webkit-user-drag: none; }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 344px;
  flex-shrink: 0;
  background: #000;
  border: 0;
  border-radius: 0;
  padding: 28px 24px 24px;
  min-height: 248px;
  text-decoration: none;
  transition: background .25s;
}
.service-card:hover { background: #0d0d0d; }

.service-icon { color: var(--text-soft); margin-bottom: 22px; }
.service-card:hover .service-icon { color: #fff; }
.service-card:hover .card-arr { transform: translateX(4px); }

.service-card h3 {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--text);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}

.card-arr {
  color: var(--text-soft);
  font-size: 15px;
  margin-top: 16px;
  align-self: flex-end;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}

/* ---------------- Pricing ---------------- */

.section.pricing { padding: 0 0 136px; }

.pricing-panel {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 0;
  padding: 64px 56px;
}

.pricing-head .section-title { font-size: clamp(28px, 2.6vw, 36px); }

.section-lede {
  margin: 20px 0 28px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 54ch;
}

.pricing-head .section-lede { margin-bottom: 0; }

.pricing-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline-soft);
  border: 1px solid var(--hairline-soft);
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #000;
  border: 0;
  border-radius: 0;
  padding: 40px 36px 36px;
  transition: background .25s;
}
.price-card:hover { background: #0b0b0b; }

.price-card h3 {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
}

.price {
  font-size: 46px;
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1;
  color: #fff;
}
.price .per {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--dim);
  margin-left: 10px;
}

.price-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 8px 0 20px;
  flex: 1;
}
.price-list li {
  position: relative;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-soft);
  padding-left: 26px;
}
.price-list li::before {
  content: "+";
  position: absolute;
  left: 2px;
  font-family: var(--font-mono);
  color: var(--muted);
  font-weight: 500;
}

.price-card .btn { align-self: flex-start; }

.price-card-featured {
  background: #0a0a0a;
  outline: 1px solid var(--hairline-lit);
  outline-offset: -1px;
}
.price-card-featured:hover { background: #0f0f0f; }

.price-flag {
  position: absolute;
  top: -10px;
  left: 24px;
  background: #fff;
  color: #000;
  border: 0;
  border-radius: 0;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  z-index: 1;
}

/* ---------------- Case studies ---------------- */

.section.case-studies { padding: 0 0 136px; }

.cs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.cs-title {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text);
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline-soft);
  border: 1px solid var(--hairline-soft);
}

.cs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #000;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  transition: background .25s;
}
.cs-card:hover { background: #0b0b0b; }

.cs-media { position: relative; display: block; overflow: hidden; }
.cs-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .6s ease;
  filter: saturate(.55) contrast(1.04);
}
.cs-card:hover .cs-media img { transform: scale(1.04); filter: saturate(1); }
.cs-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .1), transparent 40%, rgba(0, 0, 0, .5));
  pointer-events: none;
}

.cs-body {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 22px 22px 24px;
  flex: 1;
}

.cs-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
  border: 1px solid var(--hairline);
  border-radius: 0;
  padding: 4px 9px;
  background: none;
}

.cs-body h3 { font-size: 17.5px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.cs-body h3 a { color: var(--text); text-decoration: none; }
.cs-body h3 a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.cs-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}

/* ---------------- Process ---------------- */

.section.process { padding: 0 0 136px; }

.process-marquee { margin-top: 48px; }

.process-step {
  width: 380px;
  flex-shrink: 0;
  background: #000;
  padding: 32px 34px 30px;
  min-height: 200px;
}

.step-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--dim);
  line-height: 1;
}

.step-head h3 { font-size: 15.5px; font-weight: 600; color: var(--text); }

.step-body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-icon { color: var(--muted); flex-shrink: 0; margin-top: 2px; }

.step-body p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------------- CTA ---------------- */

.section.cta { padding: 0 0 128px; }

.cta-panel {
  display: grid;
  grid-template-columns: 1.15fr .9fr 1fr;
  gap: 56px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 0;
  padding: 64px 56px;
}

.cta-title {
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: 1.22;
  color: #fff;
}

.cta-mid p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 28ch;
  margin-bottom: 24px;
}

.cta-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.ci { color: var(--muted); display: grid; place-items: center; }
.contact-list a { color: var(--text-soft); text-decoration: none; }
.contact-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.social-row { display: flex; flex-direction: column; gap: 10px; }

.social-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--hairline);
  border-radius: 0;
  display: grid;
  place-items: center;
  color: var(--text-soft);
  transition: border-color .2s, color .2s, background .2s;
}
.social-btn:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

/* ---------------- Footer ---------------- */

.site-footer {
  border-top: 1px solid var(--hairline-soft);
  padding: 40px 0 48px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.brand-footer .brand-mark { font-size: 21px; }
.brand-footer .brand-name { font-size: 8px; }

.footer-legal {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--dim);
  flex-wrap: wrap;
}
.footer-legal nav { display: flex; gap: 24px; }
.footer-legal a { color: var(--dim); text-decoration: none; }
.footer-legal a:hover { color: var(--text-soft); }

.footer-locale {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
}
.footer-locale:hover { color: var(--text); }

/* ---------------- Build enquiry composer ---------------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.build-composer-open { overflow: hidden; }

.build-composer[hidden] { display: none; }

.build-composer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 32px;
  background: #000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}

.build-composer.is-open {
  opacity: 1;
  visibility: visible;
}

.build-composer-inner {
  width: min(580px, 100%);
}

.build-composer textarea {
  display: block;
  width: 100%;
  min-height: 92px;
  max-height: 40vh;
  padding: 8px 0 18px;
  resize: vertical;
  overflow-y: auto;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline-lit);
  border-radius: 0;
  outline: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.7;
  caret-color: #fff;
}

.build-composer textarea::placeholder { color: var(--dim); }
.build-composer textarea:focus { border-bottom-color: #fff; }

.build-composer-actions {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 25px;
}

.build-composer-action {
  padding: 6px 0;
  color: var(--text-soft);
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
}

.build-composer-action:hover {
  color: #fff;
  border-bottom-color: var(--hairline-lit);
}

.build-composer-send:disabled {
  color: var(--dim);
  cursor: not-allowed;
  border-bottom-color: transparent;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1120px) {
  .cs-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-panel { grid-template-columns: 1fr; gap: 28px; }
  .cta-contact { justify-content: flex-start; }
  .social-row { flex-direction: row; }
}

@media (max-width: 1020px) {
  .hero-inner { padding-top: 52px; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
}

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

@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .pricing-panel, .cta-panel { padding: 44px 28px; }
  .price-card { padding: 32px 26px 28px; }
  .section.services { padding: 104px 0 84px; }
  .section.pricing, .section.case-studies, .section.process { padding-bottom: 104px; }
  .section.cta { padding-bottom: 96px; }
}

@media (max-width: 620px) {
  .build-composer { padding: 24px; }
  .build-composer textarea { font-size: 14px; }
  .build-composer-actions { gap: 28px; }

  .cs-grid { grid-template-columns: 1fr; }

  .section.services { padding: 88px 0 72px; }
  .section.pricing, .section.case-studies, .section.process { padding-bottom: 88px; }
  .section.cta { padding-bottom: 80px; }
  .services-marquee, .pricing-grid { margin-top: 44px; }
  .process-marquee { margin-top: 36px; }
  .service-card { width: 280px; }
  .process-step { width: 300px; padding: 26px 24px; }
  .marquee { padding: 32px 0; }
  .marquee-group { gap: 64px; padding-right: 64px; }

  .nav-inner { gap: 14px; }
  .btn-outline-blue { padding: 10px 14px; font-size: 10px; }

  .hero { min-height: calc(84vh - 66px); }
  .hero-inner { padding-top: 40px; padding-bottom: 60px; }
  .hero-kicker { font-size: 11px; letter-spacing: .2em; }
  .hero-trust { margin-top: 30px; }

  .service-card { min-height: 0; }
  .card-arr { margin-top: 10px; }

  .cta-contact { flex-direction: column; align-items: flex-start; gap: 18px; }
  .social-row { flex-direction: row; }

  .section-title br { display: none; }

  .cs-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cta-title { font-size: 24px; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-legal { justify-content: center; }
  .footer-legal nav { flex-wrap: wrap; justify-content: center; }
}

/* ---------------- Reduced motion ---------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
