/* ============================================================
   Malisic Dev — production site
   Locked direction: v1c (quiet studio)
   ============================================================ */

/* Self-hosted fonts — IBM Plex Sans + Mono, latin subset, woff2.
   Same-origin: keeps fonts off the render-blocking critical path. */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/ibm-plex-mono-400.woff2) format('woff2');}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/ibm-plex-mono-500.woff2) format('woff2');}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:300;font-display:swap;src:url(assets/fonts/ibm-plex-sans-300.woff2) format('woff2');}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/ibm-plex-sans-400.woff2) format('woff2');}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/ibm-plex-sans-500.woff2) format('woff2');}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/ibm-plex-sans-600.woff2) format('woff2');}

:root {
  --bg: #0a0a0c;
  --bg-2: #101013;
  --bg-3: #15151a;
  --line: #1c1c20;
  --line-2: #2a2a30;
  --ink: #ededee;
  --ink-2: #a4a4a9;
  --ink-3: #85858c;
  --accent: #ff6b3d;
  --accent-soft: rgba(255,107,61,0.14);
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;

  --container: 1200px;
  --pad-x: 32px;
  --pad-x-mobile: 20px;

  --section-pad: 140px;
  --section-pad-mobile: 80px;
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg); color: var(--ink);
  font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--accent); color: var(--bg); }
img, svg { display: block; max-width: 100%; }

/* ============================================================
   AMBIENT BACKGROUND (static grid + glow)
   ============================================================ */
.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 20%, transparent 70%);
}
.glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(45% 28% at 50% -5%, rgba(255,107,61,0.10), transparent 70%),
    radial-gradient(30% 40% at 95% 50%, rgba(255,107,61,0.04), transparent 70%),
    radial-gradient(35% 25% at 5% 80%, rgba(255,107,61,0.03), transparent 70%);
}

/* ============================================================
   LOGO SYSTEM
   ============================================================ */
.mark { display: inline-block; flex: 0 0 auto; }
.mark svg { display: block; width: 100%; height: 100%; }
.wordmark {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.02em;
  display: inline-flex; align-items: baseline; gap: 0;
  color: var(--ink);
}
.wordmark .tld { color: var(--ink-3); font-weight: 400; }

/* ============================================================
   NAV
   ============================================================ */
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
}
.nav-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex; align-items: center; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 5px; font-size: 19.2px; }
.logo .mark { width: 26.4px; height: 26.4px; }
.nav-links {
  margin-left: auto;
  display: flex; align-items: center; gap: 28px;
  font-size: 14.5px;
}
.nav-links a {
  color: var(--ink-2);
  transition: color .2s ease;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 9px 18px;
  border: 1px solid var(--line-2);
  color: var(--ink); font-size: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  transition: all .2s ease;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
main { position: relative; z-index: 1; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--section-pad) 0; position: relative; }
.section.tight { padding: calc(var(--section-pad) * 0.7) 0; }

/* eyebrow used to anchor every section since dividers are removed */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-3); letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow .line { width: 32px; height: 1px; background: var(--ink-3); }
.eyebrow .num { color: var(--accent); }

/* big section header */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head h2 {
  font-weight: 300;
  font-size: clamp(30px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 14px 0 0;
  max-width: 22ch;
}
.section-head h2 .accent { color: var(--accent); font-weight: 400; }
.section-head .lede {
  color: var(--ink-2);
  font-size: clamp(15px, 1.2vw, 17px);
  max-width: 50ch;
  margin: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 140px 0 100px; }
.hero .eyebrow { margin-bottom: 44px; }
.hero h1 {
  font-weight: 300;
  font-size: clamp(40px, 7.4vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 36px;
  max-width: 16ch;
}
.hero h1 .accent { color: var(--accent); font-weight: 400; }
.hero h1 .accent::after { content: "."; color: var(--accent); }
.hero-sub {
  font-size: clamp(16px, 1.35vw, 19px);
  color: var(--ink-2);
  max-width: 58ch;
  margin: 0 0 48px;
  line-height: 1.55;
}
.hero-sub strong { color: var(--ink); font-weight: 500; }
.hero-cta {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  font-family: var(--sans);
  font-size: 15px; font-weight: 500;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: all .2s ease;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: #ff8158; }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn .arrow {
  display: inline-block;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }
.nav-cta .arrow {
  display: inline-block;
  flex-shrink: 0;
  margin-left: 2px;
  transition: transform .2s ease;
}
.nav-cta:hover .arrow { transform: translateX(2px); }
.btn-meta {
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-3);
}

/* capability strip */
.cap-strip {
  margin-top: 88px;
  padding-top: 24px;
  display: flex; gap: 8px; align-items: center;
  flex-wrap: wrap;
  position: relative;
}
.cap-strip::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 64px; height: 1px;
  background: var(--accent);
}
.cap-strip .label {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3); text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 12px;
}
.cap-strip .tag {
  font-size: 14px; padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: rgba(255,255,255,0.015);
  transition: all .2s ease;
}
.cap-strip .tag:hover { border-color: var(--line-2); color: var(--ink); }

/* ============================================================
   SERVICES (editorial rows)
   ============================================================ */
.services { display: flex; flex-direction: column; gap: 4px; }
.service {
  display: grid;
  grid-template-columns: 80px 1.4fr 1fr;
  gap: 48px;
  padding: 36px 0;
  align-items: start;
  transition: padding .25s ease;
  position: relative;
}
.service + .service { position: relative; }
.service + .service::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 64px; height: 1px;
  background: var(--accent); opacity: 0.4;
}
.service:hover { padding-left: 12px; }
.service-num {
  font-family: var(--mono); font-size: 13px;
  color: var(--ink-3); padding-top: 12px;
}
.service:hover .service-num { color: var(--accent); }
.service h3 {
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  line-height: 1.05;
}
.service h3 .accent { color: var(--accent); }
.service .desc {
  color: var(--ink-2);
  font-size: clamp(15px, 1.2vw, 16.5px);
  max-width: 50ch;
  margin: 0;
}
.deliverables {
  font-family: var(--sans); font-size: 14px;
  color: var(--ink-2);
  list-style: none; padding: 0; margin: 6px 0 0;
  display: flex; flex-direction: column; gap: 12px;
}
.deliverables li {
  padding-left: 22px; position: relative; line-height: 1.4;
}
.deliverables li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 12px; height: 1px;
  background: var(--accent);
}

/* ============================================================
   PROCESS (4 numbered phase blocks)
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.phase {
  padding: 32px 24px 32px 0;
  position: relative;
}
.phase::before {
  content: ""; position: absolute; top: 0; left: 0; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.phase-num {
  font-family: var(--mono); font-size: 11.5px;
  color: var(--accent); letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.phase-dur {
  font-family: var(--mono); font-size: 11.5px;
  color: var(--ink-3); letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.phase h3 {
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.1;
}
.phase p {
  color: var(--ink-2);
  font-size: 14.5px;
  margin: 0 0 20px;
}
.phase ul {
  list-style: none; padding: 0; margin: 0;
  font-family: var(--mono); font-size: 11.5px;
  color: var(--ink-3);
  display: flex; flex-direction: column; gap: 6px;
}

/* ============================================================
   PRINCIPLES (numbered statements)
   ============================================================ */
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.principle {
  padding: 36px 32px 36px 0;
  position: relative;
}
.principle .pn {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.principle h3 {
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.15;
  max-width: 22ch;
}
.principle h3 em {
  color: var(--accent); font-style: normal;
}
.principle p {
  color: var(--ink-2);
  font-size: 14.5px;
  margin: 0;
  max-width: 42ch;
}

/* ============================================================
   CAPABILITIES (column lists)
   ============================================================ */
.capabilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.cap-col h3 {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 20px;
  padding-bottom: 14px;
  position: relative;
}
.cap-col h3::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 32px; height: 1px; background: var(--accent);
}
.cap-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.cap-col li {
  font-size: 14.5px;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 8px;
}
.cap-col li .v {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3);
  margin-left: auto;
}
.cap-col li:hover { color: var(--accent); }

/* ============================================================
   ABOUT (split: copy + studio stats)
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-copy h3 {
  font-weight: 300;
  font-size: clamp(28px, 3.8vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 24px;
  max-width: 18ch;
}
.about-copy h3 .accent { color: var(--accent); font-weight: 400; }
.about-copy p {
  color: var(--ink-2);
  font-size: 16px;
  margin: 0 0 18px;
  max-width: 60ch;
}
.about-copy p strong { color: var(--ink); font-weight: 500; }

.studio-stats {
  display: flex; flex-direction: column;
  gap: 4px;
}
.studio-stat {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,107,61,0.18);
}
.studio-stat:first-child { border-top: 0; }
.studio-stat .label {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.studio-stat .value {
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: right;
}
.studio-stat .value .accent { color: var(--accent); }
.studio-stat .value small {
  display: block; font-size: 11.5px;
  font-family: var(--mono); color: var(--ink-3);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* ============================================================
   FAQ (accordion)
   ============================================================ */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.faq-aside h3 {
  font-weight: 300;
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 20px;
  max-width: 14ch;
}
.faq-aside p {
  color: var(--ink-2);
  font-size: 15px;
  margin: 0 0 24px;
  max-width: 38ch;
}
.faq-aside a {
  font-family: var(--mono); font-size: 13.5px;
  color: var(--accent);
}
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  padding: 24px 0;
  position: relative;
}
.faq-item + .faq-item::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0, var(--accent) 40px, transparent 40px);
  opacity: 0.4;
}
.faq-q {
  display: flex; align-items: flex-start; gap: 16px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  list-style: none;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .qn {
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-3);
  padding-top: 5px;
  width: 28px; flex-shrink: 0;
}
.faq-q .qtext { flex: 1; }
.faq-q .chev {
  width: 12px; height: 12px;
  border-right: 1.5px solid var(--ink-3);
  border-bottom: 1.5px solid var(--ink-3);
  transform: rotate(45deg) translateY(-2px);
  margin-top: 5px;
  flex-shrink: 0;
  transition: transform .25s ease, border-color .25s ease;
}
details[open] .chev {
  transform: rotate(-135deg) translateY(-2px);
  border-color: var(--accent);
}
.faq-a {
  padding: 12px 0 4px 44px;
  color: var(--ink-2);
  font-size: 15px;
  max-width: 60ch;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-grid > * { min-width: 0; }
.contact-headline h2 {
  font-weight: 300;
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 20px 0 32px;
  max-width: 14ch;
}
.contact-headline h2 .accent { color: var(--accent); font-weight: 400; }
.contact-headline .blurb {
  color: var(--ink-2); font-size: 16px;
  max-width: 42ch;
  margin: 0 0 32px;
}
.email-primary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  font-family: var(--mono); font-size: 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition: all .2s ease;
  background: rgba(255,255,255,0.02);
  word-break: break-all;
}
.email-primary:hover { border-color: var(--accent); color: var(--accent); }
.email-primary::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  flex-shrink: 0;
}
.contact-resp {
  margin-top: 18px;
  font-family: var(--mono); font-size: 12.5px;
  color: var(--ink-3);
}

/* form */
.contact-form {
  background: rgba(16,16,19,0.6);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
}
.contact-form h3 {
  font-weight: 400;
  font-size: 20px;
  margin: 0 0 6px;
}
.contact-form .form-sub {
  font-family: var(--mono); font-size: 11.5px;
  color: var(--ink-3); text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.field {
  display: flex; flex-direction: column;
  margin-bottom: 18px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3); letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--sans); font-size: 14.5px;
  color: var(--ink);
  transition: border-color .2s ease;
  width: 100%;
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-3); }
.field textarea { min-height: 110px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%236a6a70' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-actions {
  margin-top: 24px;
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
}
.form-actions .legal {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3);
  flex: 1;
  min-width: 180px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.site {
  position: relative;
  z-index: 1;
  padding: 80px 0 32px;
}
footer.site .container {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
}
.footer-brand .wordmark { font-size: 22px; }
.footer-brand .lockup {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.footer-brand .lockup .mark { width: 26px; height: 26px; }
.footer-brand p {
  color: var(--ink-2);
  font-size: 14.5px;
  max-width: 36ch;
  margin: 0 0 24px;
}
.footer-brand .availability {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-2);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}
.footer-brand .availability .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #5ad27a; box-shadow: 0 0 6px #5ad27a;
}
.footer-col h3 {
  font-family: var(--mono); font-size: 11px;
  color: var(--accent); letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.footer-col a {
  color: var(--ink-2);
  font-size: 14.5px;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--container); margin: 64px auto 0;
  padding: 24px var(--pad-x) 0;
  display: flex; gap: 24px;
  flex-wrap: wrap; align-items: center;
  font-family: var(--mono); font-size: 11.5px;
  color: var(--ink-3);
  position: relative;
}
.footer-bottom::before {
  content: ""; position: absolute; top: 0; left: var(--pad-x); right: var(--pad-x);
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0, var(--accent) 80px, transparent 80px);
  opacity: 0.4;
}
.footer-bottom .spacer { flex: 1; }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .capabilities { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .phase { padding-right: 0; }
  footer.site .container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
  .service { grid-template-columns: 1fr; gap: 18px; }
  .service:hover { padding-left: 0; }
  .service-num { padding-top: 0; }
  .about, .faq, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .principles { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root {
    --pad-x: var(--pad-x-mobile);
    --section-pad: var(--section-pad-mobile);
  }
  .nav-inner { padding: 14px var(--pad-x); gap: 12px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; padding: 8px 14px; font-size: 13px; }

  .hero { padding: 64px 0 72px; }
  .hero .eyebrow { font-size: 11px; gap: 10px; margin-bottom: 28px; }
  .hero .eyebrow .line { width: 20px; }
  .hero h1 { margin-bottom: 24px; max-width: none; }
  .hero-sub { font-size: 16px; margin-bottom: 32px; }
  .hero-cta { gap: 14px; }
  .btn { padding: 13px 22px; font-size: 14px; }

  .cap-strip { margin-top: 56px; gap: 6px; }
  .cap-strip .label { margin-right: 0; flex-basis: 100%; margin-bottom: 6px; }
  .cap-strip .tag { font-size: 13px; padding: 5px 12px; }

  .process { grid-template-columns: 1fr; }
  .phase { padding-right: 0; padding-bottom: 24px; }

  .capabilities { grid-template-columns: 1fr; gap: 32px; }

  .principle { padding: 28px 0; }
  .principle h3 { font-size: 22px; }

  .studio-stats { margin-top: 8px; }
  .studio-stat .value { font-size: 22px; }

  .faq-q { font-size: 16px; gap: 12px; }
  .faq-q .qn { width: 24px; font-size: 11px; }
  .faq-a { padding-left: 36px; font-size: 14.5px; }

  .contact-form { padding: 24px; border-radius: 14px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .email-primary { font-size: 14.5px; padding: 14px 20px; }

  footer.site { padding: 56px 0 24px; }
  footer.site .container { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { padding-top: 20px; font-size: 11px; }
  .footer-bottom .spacer { display: none; }
}


/* ============================================================
   CTA REPEAT — mid-page anchor lines
   ============================================================ */
.cta-repeat {
  margin-top: 80px;
  padding-top: 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
}
.cta-repeat::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 64px; height: 1px; background: var(--accent);
}
.cta-repeat .line {
  color: var(--ink-2);
  font-size: 15px;
  max-width: 50ch;
}
.cta-repeat .line strong { color: var(--ink); font-weight: 500; }

/* ============================================================
   OBJECTION CALLOUT (inside the 4th service block)
   ============================================================ */
.objection {
  margin: 12px 0 16px;
  padding: 16px 18px;
  background: rgba(255,107,61,0.04);
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.5;
  max-width: 50ch;
}
.objection .strike {
  text-decoration: line-through;
  color: var(--ink-3);
  text-decoration-thickness: 1px;
  text-decoration-color: var(--ink-3);
}

/* (open-source / repo-card styles removed — proof section dropped) */

/* ============================================================
   COMMITMENT BOX (end of Process)
   ============================================================ */
.commitment {
  margin-top: 56px;
  padding: 28px 32px;
  border: 1px solid rgba(255,107,61,0.3);
  background:
    linear-gradient(180deg, rgba(255,107,61,0.04), rgba(255,107,61,0.02));
  border-radius: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}
.commitment .ribbon {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 12px 0;
  border-right: 1px solid rgba(255,107,61,0.3);
  padding-right: 18px;
}
.commitment p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.55;
  max-width: 64ch;
}
.commitment p strong { color: var(--accent); font-weight: 500; }

/* ============================================================
   FORM REFINEMENTS — scope picker + honeypot + book-a-call
   ============================================================ */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field.optional label::after {
  content: "  · optional";
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: none;
  margin-left: 2px;
}
.scope-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.scope-picker input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}
.scope-picker label {
  text-align: center;
  padding: 11px 4px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--bg-2);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: all .15s ease;
  margin: 0;
  user-select: none;
}
.scope-picker label:hover { border-color: var(--ink-3); color: var(--ink); }
.scope-picker input:checked + label {
  border-color: var(--accent);
  background: rgba(255,107,61,0.08);
  color: var(--ink);
}

.response-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 8px;
}
.response-meta::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

.book-call-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 24px;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  transition: all .15s ease;
  width: max-content;
  max-width: 100%;
}
.book-call-link:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   FOOTER — identity signal
   ============================================================ */
.footer-identity {
  display: flex; align-items: center; gap: 10px;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.footer-identity .name { color: var(--ink-2); }
.footer-identity .sep { color: var(--line-2); }
.footer-identity .ic {
  display: inline-flex; align-items: center;
  color: var(--ink-3);
  transition: color .15s ease;
}
.footer-identity .ic:hover { color: var(--accent); }
.footer-identity .ic svg { width: 14px; height: 14px; }

/* ============================================================
   RESPONSIVE — new pieces
   ============================================================ */
@media (max-width: 900px) {
  .commitment { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .commitment .ribbon {
    writing-mode: horizontal-tb; transform: none;
    padding: 0 0 12px;
    border-right: 0; border-bottom: 1px solid rgba(255,107,61,0.3);
  }
  .scope-picker { grid-template-columns: repeat(2, 1fr); }
  .cta-repeat { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 720px) {
  .cta-repeat { margin-top: 56px; padding-top: 28px; }
}


/* ============================================================
   TABLET POLISH (721–1024) — keep some 2-col layouts so the
   page uses the extra width and doesn't read as one tall stack
   ============================================================ */
@media (min-width: 721px) and (max-width: 1024px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { padding-top: 24px; }
}


/* ============================================================
   PRODUCTION ADDITIONS — externalized-JS hooks & polish
   ============================================================ */

/* inline <code> — replaces the former inline style on llms.txt mentions */
code {
  font-family: var(--mono);
  font-size: 0.92em;
  color: var(--ink);
}

/* nav — scrolled state (class toggled by main.js) */
nav.top {
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0) saturate(100%);
  -webkit-backdrop-filter: blur(0) saturate(100%);
  transition: background .2s ease, border-color .2s ease, backdrop-filter .2s ease, -webkit-backdrop-filter .2s ease;
}
nav.top.scrolled {
  background: rgba(10,10,12,.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

/* nav — active link (class toggled by main.js via IntersectionObserver) */
.nav-links a.active { color: var(--ink); }

/* buttons — disabled / sending state */
.btn:disabled { cursor: default; opacity: .85; }

/* contact form — submission status message */
.form-status {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-3);
}
.form-status:empty { display: none; }
.form-status.is-error { color: #ff8158; }
.form-status.is-success { color: var(--accent); }

/* reduced-motion — neutralize smooth scroll + transitions */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ============================================================
   RESCUE BAND — AI-built product takeover
   ============================================================ */
.rescue {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.7fr auto;
  gap: 48px;
  align-items: center;
}
.rescue .eyebrow { margin-bottom: 18px; }
.rescue h2 {
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin: 0 0 20px;
  max-width: 20ch;
}
.rescue h2 .accent { color: var(--accent); font-weight: 400; }
.rescue p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 62ch;
}
.rescue-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rescue-tags span {
  font-family: var(--mono); font-size: 12.5px;
  color: var(--ink-2);
  padding: 6px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
}
.rescue-cta { flex-shrink: 0; }
@media (max-width: 900px) {
  .rescue { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
}
@media (max-width: 720px) {
  .rescue { padding: 24px; border-radius: 14px; }
}
