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

:root {
  --ink: #11110f;
  --ink-2: #20201d;
  --paper: #f7f6f2;
  --paper-2: #ecebe6;
  --white: #ffffff;
  --signal: #ff7a1a;
  --signal-2: #e9680e;
  --muted: #6b6b67;
  --line: rgba(17,17,15,.16);
  --line-dark: rgba(255,255,255,.18);
  --max: 1180px;
  --radius: 2rem;
  --sans: "Inter", Arial, sans-serif;
  --display: "Pixelify Sans", "DM Mono", monospace;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--signal); color: var(--ink); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 9999;
  background: var(--signal); color: var(--ink); padding: .75rem 1rem;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.shell { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); }
.nav-wrap {
  min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 800; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); color: var(--signal); font: 500 .68rem/1 var(--mono); letter-spacing: -.04em;
}
.brand-word { font: 800 1rem/1 var(--display); letter-spacing: -.04em; }
.nav-main { display: flex; align-items: center; gap: 1.4rem; font-size: .86rem; font-weight: 600; }
.nav-main > a:not(.button) { text-decoration: none; }
.nav-main > a:not(.button):hover { text-decoration: underline; text-underline-offset: .3rem; }
.nav-toggle { display: none; background: transparent; border: 0; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--ink); margin: 6px 0; }

.button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.2rem; border: 1px solid var(--ink); text-decoration: none;
  font-weight: 700; border-radius: 999px; transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--signal); color: var(--ink); }
.button-primary:hover { background: var(--signal-2); }
.button-dark { background: var(--ink); color: var(--white); }
.button-small { min-height: 42px; padding: .65rem 1rem; font-size: .82rem; }
.button-full { width: 100%; }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: .2rem; }
.text-link:hover { border-bottom-width: 2px; }

.eyebrow {
  margin: 0 0 1rem; font: 500 .7rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow-light { color: var(--signal); }

.hero {
  min-height: calc(100svh - 76px);
  display: grid; align-items: center; padding: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.hero h1, .section-heading h2, .partner-callout h2, .contact-copy h2, .kit-doc h1, .kit-doc h2 {
  font-family: var(--display); letter-spacing: -.055em; line-height: .98; margin: 0;
}
.hero h1 { font-size: clamp(3.9rem, 8.2vw, 8rem); max-width: 9.5ch; }
.hero h1 em, .kit-doc h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.hero-lede {
  max-width: 690px; margin: 2rem 0 0; font-size: clamp(1.08rem, 1.7vw, 1.35rem); color: var(--ink-2);
}
.hero-actions { display: flex; align-items: center; gap: 1.25rem; margin-top: 2rem; flex-wrap: wrap; }
.trust-list {
  display: flex; gap: 1.2rem; flex-wrap: wrap; list-style: none; margin: 2rem 0 0; padding: 0;
  color: var(--muted); font: 500 .72rem/1.5 var(--mono); text-transform: uppercase;
}
.trust-list li::before { content: "●"; color: var(--ink); margin-right: .45rem; font-size: .5rem; vertical-align: .12rem; }

.hero-system {
  border: 1px solid var(--ink); border-radius: var(--radius); padding: 1rem; background: var(--white);
  box-shadow: 18px 18px 0 var(--ink);
  transform: rotate(1.2deg);
}
.system-label {
  font: 500 .68rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em;
  padding: .6rem .5rem 1rem; color: var(--muted);
}
.system-stage {
  border: 1px solid var(--ink); border-radius: 1.3rem; padding: 1.4rem; display: grid; gap: .25rem;
}
.system-stage strong { font: 800 clamp(2rem, 4vw, 3.2rem)/1 var(--display); letter-spacing: -.05em; }
.system-stage > span:last-child { color: var(--muted); font-size: .83rem; }
.system-stage.quack { background: var(--ink); color: var(--white); }
.system-stage.quack > span:last-child { color: #b9b9b2; }
.stage-kicker { font: 500 .62rem/1.2 var(--mono); letter-spacing: .12em; color: var(--muted); }
.system-stage.quack .stage-kicker { color: var(--signal); }
.system-connector {
  height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .7rem; padding-inline: .4rem;
}
.system-connector span { height: 1px; background: var(--ink); }
.system-connector b { font: 500 .62rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.system-foot { padding: 1.2rem .7rem .5rem; font-size: .9rem; }

.section { padding: clamp(5rem, 9vw, 8rem) 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-soft { background: var(--paper-2); }

.manifesto { padding: clamp(4rem, 8vw, 7rem) 0; }
.manifesto-grid { display: grid; grid-template-columns: .35fr 1.65fr; gap: 2rem; align-items: start; }
.manifesto-line {
  margin: 0; font: 600 clamp(2rem, 5vw, 4.8rem)/1.06 var(--display); letter-spacing: -.05em;
}
.manifesto-line strong { color: var(--signal); font-weight: inherit; }

.section-heading { max-width: 880px; margin-bottom: 3rem; }
.section-heading h2, .partner-callout h2, .contact-copy h2 { font-size: clamp(2.7rem, 5.5vw, 5.3rem); }
.section-heading > p:last-child { max-width: 680px; font-size: 1.08rem; color: var(--muted); margin-top: 1.4rem; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; }
.split-heading > p:last-child { margin: 4rem 0 0; }

.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.capability-card { padding: clamp(1.4rem, 3vw, 2.3rem); min-height: 560px; display: flex; flex-direction: column; border-right: 1px solid var(--ink); }
.capability-card:last-child { border-right: 0; }
.card-number { font: 500 .72rem/1 var(--mono); margin-bottom: auto; }
.card-tag { font: 500 .68rem/1.3 var(--mono); letter-spacing: .1em; color: var(--muted); margin: 0 0 .9rem; }
.capability-card h3, .promise h3, .process-card h3, .resell-grid h3 {
  font: 700 1.7rem/1.05 var(--display); letter-spacing: -.04em; margin: 0 0 1rem;
}
.capability-card p { color: var(--muted); }
.clean-list, .check-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.clean-list li, .check-list li { padding: .68rem 0; border-top: 1px solid var(--line); font-size: .9rem; }
.clean-list li::before { content: "↳"; margin-right: .6rem; }
.proof-note {
  margin-top: 1.5rem; display: flex; gap: .8rem; align-items: flex-start;
  border: 1px solid var(--ink); padding: 1.2rem; background: var(--signal);
}
.proof-note p { margin: 0; max-width: 900px; }
.proof-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); margin-top: .42rem; flex: 0 0 auto; }

.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 3rem 0 0; border-top: 1px solid var(--ink);
}
.process-card { padding: 2rem 1.25rem 2rem 0; border-right: 1px solid var(--line); }
.process-card:not(:first-child) { padding-left: 1.25rem; }
.process-card:last-child { border-right: 0; }
.process-card > span { font: 500 .68rem/1 var(--mono); }
.process-card h3 { margin-top: 4rem; }
.process-card p { color: var(--muted); font-size: .92rem; }

.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.promise { background: var(--white); border-radius: 1.2rem; padding: 1.5rem; min-height: 230px; }
.promise > span { font: 500 1.2rem/1 var(--mono); }
.promise h3 { margin-top: 3.4rem; font-size: 1.2rem; }
.promise p { color: var(--muted); font-size: .86rem; margin-bottom: 0; }

.work-list { border-top: 1px solid var(--ink); }
.work-row {
  display: grid; grid-template-columns: .12fr .42fr .38fr .08fr; align-items: center;
  padding: 1.45rem 0; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: padding .18s ease, background .18s ease;
}
a.work-row:hover { padding-inline: 1rem; background: var(--white); }
.work-index { font: 500 .65rem/1 var(--mono); color: var(--muted); }
.work-name { font: 700 clamp(1.15rem, 2.2vw, 1.8rem)/1 var(--display); letter-spacing: -.03em; }
.work-type { color: var(--muted); font-size: .9rem; }
.work-arrow { justify-self: end; font: 500 1rem/1 var(--mono); }
.work-disclaimer { color: var(--muted); font-size: .82rem; margin: 1.2rem 0 0; }
.work-row-static { cursor: default; }

.partner-callout { padding: clamp(4rem, 8vw, 7rem) 0; }
.partner-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 4rem; align-items: end; }
.partner-callout p:not(.eyebrow) { color: #bab9b1; max-width: 720px; font-size: 1.05rem; }
.partner-actions { border-left: 1px solid var(--line-dark); padding-left: 2rem; }
.partner-actions p { font-size: .78rem !important; margin-bottom: 0; }

.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 5rem; align-items: start; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.4rem 2rem 1.4rem 0; font-weight: 700; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; font: 500 1.3rem/1 var(--mono); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 2rem 1.4rem 0; color: var(--muted); max-width: 720px; }

.contact-section { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--signal); }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 5rem; align-items: start; }
.contact-copy p:not(.eyebrow) { max-width: 630px; font-size: 1.05rem; }
.direct-contact { margin-top: 2rem; display: grid; gap: .4rem; }
.direct-contact a { font: 700 clamp(1.1rem, 2vw, 1.45rem)/1.3 var(--display); text-decoration-thickness: 1px; text-underline-offset: .25rem; }

.lead-form { background: var(--ink); color: var(--white); padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: var(--radius); }
.field { margin-bottom: 1rem; }
.field label { display: block; font: 500 .67rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .45rem; color: #c8c7bf; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #4b4a44; background: #1b1b18; color: var(--white);
  border-radius: .7rem; padding: .9rem 1rem; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--signal); box-shadow: 0 0 0 2px rgba(232,255,63,.2); }
.field textarea { resize: vertical; }
.form-note { color: #9d9c95; font-size: .72rem; margin: .8rem 0 0; }

.site-footer { background: var(--ink); color: var(--white); padding: 3rem 0; border-top: 1px solid #2d2c28; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 3rem; align-items: end; }
.brand-footer .brand-mark { background: var(--signal); color: var(--ink); }
.site-footer p, .footer-meta { color: #96958f; font-size: .8rem; }
.footer-links { display: grid; gap: .4rem; }
.footer-links a { text-decoration: none; font-size: .86rem; }
.footer-links a:hover { text-decoration: underline; }
.footer-meta { display: grid; gap: .4rem; justify-items: end; }

/* Partner kit */
.kit-page { background: #dedbd1; }
.kit-toolbar { position: sticky; top: 0; z-index: 20; background: rgba(243,241,233,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.kit-toolbar-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.kit-toolbar-actions { display: flex; align-items: center; gap: 1rem; }
.kit-doc { width: min(100%, 1100px); margin: 2rem auto 5rem; box-shadow: 0 24px 80px rgba(0,0,0,.15); }
.kit-page-shell { width: min(calc(100% - 5rem), 980px); margin-inline: auto; }
.kit-cover, .kit-section { background: var(--paper); padding: 5rem 0; border-bottom: 1px solid var(--line); }
.kit-cover { min-height: 760px; display: grid; align-items: center; }
.kit-cover h1 { font-size: clamp(3.2rem, 7vw, 6.5rem); max-width: 10ch; }
.kit-cover h1 em { -webkit-text-stroke: 1.2px var(--ink); }
.kit-intro { max-width: 760px; font-size: 1.18rem; margin-top: 2rem; }
.kit-cover-meta { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 3rem; }
.kit-cover-meta span { border: 1px solid var(--ink); border-radius: 999px; padding: .55rem .75rem; font: 500 .65rem/1 var(--mono); }
.kit-section h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.kit-two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: start; }
.kit-prose { font-size: 1.06rem; color: var(--muted); }
.kit-principles { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4rem; border-top: 1px solid var(--ink); }
.kit-principles div { padding: 1.4rem 1.2rem 0 0; border-right: 1px solid var(--line); }
.kit-principles div:not(:first-child) { padding-left: 1.2rem; }
.kit-principles div:last-child { border-right: 0; }
.kit-principles strong, .kit-principles span { display: block; }
.kit-principles span { margin-top: .6rem; color: var(--muted); font-size: .8rem; }
.kit-section-dark { background: var(--ink); color: var(--white); }
.kit-capabilities { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; border: 1px solid var(--line-dark); }
.kit-capabilities article { padding: 2rem; border-right: 1px solid var(--line-dark); }
.kit-capabilities article:last-child { border-right: 0; }
.kit-capabilities article > span { font: 500 .65rem/1 var(--mono); color: var(--signal); }
.kit-capabilities h3 { font: 700 1.5rem/1.05 var(--display); margin: 4rem 0 1rem; }
.kit-capabilities ul { margin: 0; padding-left: 1.1rem; color: #b8b7b0; font-size: .86rem; }
.kit-capabilities li { margin: .55rem 0; }
.kit-flow { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 3rem; border-top: 1px solid var(--ink); }
.kit-flow > div { padding: 1.4rem 1rem 0 0; }
.kit-flow span { font: 500 .65rem/1 var(--mono); }
.kit-flow strong { display: block; margin-top: 2.5rem; }
.kit-flow p { color: var(--muted); font-size: .78rem; }
.kit-section-soft { background: var(--paper-2); }
.resell-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.resell-grid article { background: var(--white); padding: 1.5rem; border-radius: 1rem; }
.resell-grid h3 { font-size: 1.3rem; }
.resell-grid article > p:last-child { color: var(--muted); font-size: .85rem; }
.responsibility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.check-list li::before { content: "✓"; margin-right: .55rem; }
.kit-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.kit-proof-grid p { margin: 0; padding-top: 1rem; border-top: 1px solid var(--line-dark); color: #b9b8b0; }
.kit-contact { background: var(--signal); }
.kit-contact-row { display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; margin-top: 3rem; }
.kit-contact-row a { font: 700 clamp(1.05rem, 2vw, 1.5rem)/1.2 var(--display); text-underline-offset: .25rem; }
.kit-small { margin-top: 5rem; font: 500 .65rem/1.4 var(--mono); text-transform: uppercase; }

/* Motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid, .split-heading, .faq-layout, .contact-grid, .partner-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-system { max-width: 620px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--ink); }
  .capability-card:last-child { border-bottom: 0; }
  .card-number { margin-bottom: 3rem; }
  .process-grid, .promise-grid { grid-template-columns: 1fr 1fr; }
  .partner-actions { border-left: 0; padding-left: 0; }
  .faq-layout { gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { justify-items: start; }
  .kit-principles, .kit-capabilities, .kit-flow, .resell-grid, .kit-proof-grid { grid-template-columns: 1fr 1fr; }
  .kit-capabilities article { border-bottom: 1px solid var(--line-dark); }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 1.3rem), var(--max)); }
  .nav-toggle { display: block; }
  .nav-main {
    position: fixed; inset: 76px .65rem auto; display: none; flex-direction: column; align-items: stretch;
    background: var(--paper); border: 1px solid var(--ink); border-radius: 1rem; padding: 1rem;
    box-shadow: 8px 8px 0 var(--ink);
  }
  .nav-main.is-open { display: flex; }
  .nav-main a { padding: .65rem .4rem; }
  .hero { padding-top: 3.2rem; }
  .hero-grid { gap: 3rem; }
  .hero h1 { font-size: clamp(3.2rem, 17vw, 5.2rem); }
  .hero-system { box-shadow: 10px 10px 0 var(--ink); margin-right: 10px; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-line { font-size: clamp(2.4rem, 12vw, 4rem); }
  .section-heading h2, .partner-callout h2, .contact-copy h2 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .process-grid, .promise-grid { grid-template-columns: 1fr; }
  .process-card { padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-card:not(:first-child) { padding-left: 0; }
  .process-card h3 { margin-top: 2rem; }
  .work-row { grid-template-columns: .13fr .67fr .2fr; gap: .5rem; }
  .work-type { grid-column: 2 / 4; }
  .work-arrow { grid-column: 3; grid-row: 1; }
  .contact-grid { gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .kit-toolbar-inner { align-items: flex-start; padding: .8rem 0; }
  .kit-toolbar-actions { flex-direction: column; align-items: flex-end; gap: .5rem; }
  .kit-page-shell { width: min(calc(100% - 2rem), 980px); }
  .kit-cover, .kit-section { padding: 3.5rem 0; }
  .kit-two-col, .responsibility-grid { grid-template-columns: 1fr; gap: 2rem; }
  .kit-principles, .kit-capabilities, .kit-flow, .resell-grid, .kit-proof-grid { grid-template-columns: 1fr; }
  .kit-principles div, .kit-capabilities article { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
  .kit-section-dark .kit-capabilities article { border-bottom-color: var(--line-dark); }
}

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

@media print {
  @page { size: A4; margin: 0; }
  .no-print { display: none !important; }
  .kit-page { background: white; }
  .kit-doc { width: 100%; margin: 0; box-shadow: none; }
  .kit-cover, .kit-section { break-inside: avoid; page-break-inside: avoid; min-height: 100vh; }
  .kit-page-shell { width: calc(100% - 24mm); }
  a { text-decoration: none; }
}


/* Uploaded QUACK80 identity */
.brand-logo {
  display: block;
  width: 178px;
  height: auto;
  object-fit: contain;
}
.brand-icon {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.site-header .brand { min-width: 178px; }
.brand-footer .brand-logo {
  width: 190px;
  filter: brightness(0) invert(1);
}
@media (max-width: 720px) {
  .brand-logo { width: 145px; }
  .site-header .brand { min-width: 145px; }
}

/* Search / AI discovery content pages */
.service-page .site-header { position: sticky; }
.service-hero { padding: clamp(5rem, 10vw, 9rem) 0 4rem; }
.service-hero h1 {
  max-width: 11ch;
  font: 800 clamp(3.6rem, 8vw, 7.5rem)/.95 var(--display);
  letter-spacing: -.06em;
  margin: 0;
}
.service-hero .lede {
  max-width: 760px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--muted);
  margin-top: 2rem;
}
.service-content {
  display: grid;
  grid-template-columns: .6fr 1.4fr;
  gap: clamp(2rem, 7vw, 7rem);
  padding: 1rem 0 clamp(5rem, 9vw, 8rem);
}
.service-nav {
  position: sticky;
  top: 110px;
  align-self: start;
  border-top: 1px solid var(--ink);
  padding-top: 1rem;
}
.service-nav a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  padding: .45rem 0;
  font-size: .85rem;
}
.service-nav a:hover { color: var(--ink); }
.service-copy section {
  padding: 0 0 3.5rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
}
.service-copy section:last-child { border-bottom: 0; }
.service-copy h2 {
  font: 700 clamp(2.1rem, 4vw, 3.8rem)/1 var(--display);
  letter-spacing: -.05em;
  margin: 0 0 1.2rem;
}
.service-copy h3 {
  font: 700 1.25rem/1.15 var(--display);
  letter-spacing: -.03em;
}
.service-copy p, .service-copy li { color: var(--muted); }
.service-copy ul { padding-left: 1.2rem; }
.service-copy li { margin: .6rem 0; }
.search-answer {
  border: 1px solid var(--ink);
  border-left: 8px solid var(--signal);
  padding: 1.4rem;
  background: white;
  margin: 2rem 0;
}
.search-answer strong { display: block; margin-bottom: .5rem; }
@media (max-width: 820px) {
  .service-content { grid-template-columns: 1fr; }
  .service-nav { position: static; }
}


/* =========================================================
   QUACK80 ORIGINAL VISUAL LANGUAGE — PIXEL DISPLAY SYSTEM
   ========================================================= */

:root {
  --pixel-orange: #ff7a1a;
  --pixel-orange-2: #f45d00;
  --pixel-gray: #777773;
  --pixel-black: #11110f;
  --pixel-size: 14px;
}

/* Pixelated display headlines */
.hero h1,
.section-heading h2,
.partner-callout h2,
.contact-copy h2,
.kit-doc h1,
.kit-doc h2,
.service-hero h1,
.service-copy h2,
.manifesto-line {
  font-family: "Pixelify Sans", "DM Mono", monospace;
  font-weight: 600;
  letter-spacing: -.045em;
  text-wrap: balance;
  text-rendering: geometricPrecision;
}

.hero h1,
.kit-cover h1,
.service-hero h1 {
  letter-spacing: -.06em;
}

.hero h1 em,
.kit-doc h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
  text-shadow: 2px 0 0 rgba(17,17,15,.10);
}

/* Keep utility/card typography cleaner; only headline scale goes pixel */
.capability-card h3,
.promise h3,
.process-card h3,
.resell-grid h3,
.work-name,
.direct-contact a {
  font-family: var(--sans);
}

/* Hero pixel field */
.hero {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,0) 42%),
    var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(46vw, 680px);
  aspect-ratio: 1;
  right: -8vw;
  top: 6%;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(255,122,26,.96) 0 12.5%,
      rgba(255,122,26,.84) 12.5% 25%,
      rgba(255,122,26,.68) 25% 37.5%,
      rgba(255,122,26,.50) 37.5% 50%,
      rgba(255,122,26,.32) 50% 62.5%,
      rgba(255,122,26,.18) 62.5% 75%,
      rgba(255,122,26,.08) 75% 87.5%,
      transparent 87.5% 100%);
  background-size: var(--pixel-size) 100%;
  -webkit-mask-image:
    linear-gradient(180deg, #000 0 68%, transparent 96%),
    repeating-linear-gradient(90deg, #000 0 10px, transparent 10px 14px);
  mask-image:
    linear-gradient(180deg, #000 0 68%, transparent 96%);
  opacity: .68;
}

/* Pixel checker accent */
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -1rem;
  bottom: 2rem;
  width: 210px;
  height: 112px;
  opacity: .16;
  background:
    linear-gradient(90deg, var(--ink) 50%, transparent 50%) 0 0 / 28px 28px,
    linear-gradient(90deg, transparent 50%, var(--ink) 50%) 14px 14px / 28px 28px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent);
  mask-image: linear-gradient(90deg, #000, transparent);
}

/* Stepped digital gradient bars */
.pixel-gradient-bar {
  height: 18px;
  width: 100%;
  background:
    linear-gradient(90deg,
      var(--pixel-orange) 0 14%,
      #ef6d16 14% 28%,
      #cf651e 28% 42%,
      #a8602d 42% 56%,
      #765b42 56% 70%,
      #4a4b42 70% 84%,
      var(--ink) 84% 100%);
  image-rendering: pixelated;
}

/* Make major dark sections feel intentionally digital */
.section-dark {
  position: relative;
  overflow: hidden;
}

.section-dark::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: auto 0 0 auto;
  width: min(52vw, 720px);
  height: 132px;
  background:
    linear-gradient(90deg,
      transparent 0 8%,
      rgba(255,122,26,.10) 8% 16%,
      rgba(255,122,26,.16) 16% 24%,
      rgba(255,122,26,.24) 24% 32%,
      rgba(255,122,26,.34) 32% 40%,
      rgba(255,122,26,.44) 40% 48%,
      rgba(255,122,26,.56) 48% 56%,
      rgba(255,122,26,.70) 56% 64%,
      rgba(255,122,26,.82) 64% 72%,
      rgba(255,122,26,.94) 72% 80%,
      var(--pixel-orange) 80% 100%);
  background-size: 14px 100%;
  -webkit-mask-image: linear-gradient(0deg, #000, transparent);
  mask-image: linear-gradient(0deg, #000, transparent);
  opacity: .5;
}

/* Pixel underline for section labels */
.eyebrow {
  position: relative;
  width: fit-content;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-top: .55rem;
  background:
    linear-gradient(90deg,
      var(--pixel-orange) 0 22%,
      transparent 22% 30%,
      var(--pixel-orange) 30% 52%,
      transparent 52% 60%,
      var(--pixel-orange) 60% 82%,
      transparent 82%);
}

/* Pixel edge treatment for major system card */
.hero-system {
  position: relative;
  border-radius: 0;
  box-shadow:
    12px 0 0 var(--ink),
    12px 12px 0 var(--ink),
    0 12px 0 var(--ink);
}
.hero-system::before {
  content: "";
  position: absolute;
  width: 84px;
  height: 14px;
  top: -15px;
  left: 22px;
  background:
    linear-gradient(90deg,
      var(--pixel-orange) 0 16.66%,
      transparent 16.66% 33.33%,
      var(--pixel-orange) 33.33% 50%,
      transparent 50% 66.66%,
      var(--pixel-orange) 66.66% 83.33%,
      transparent 83.33% 100%);
}

/* Pixel hover details */
.button {
  border-radius: 0;
  box-shadow: 4px 4px 0 rgba(17,17,15,.22);
}
.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(17,17,15,.22);
}

.capability-grid,
.proof-note,
.work-list,
.lead-form,
.promise {
  border-radius: 0;
}

/* Pixel noise / gradient on contact area */
.contact-section {
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 34px;
  background:
    linear-gradient(90deg,
      #11110f 0 9%,
      #30302c 9% 18%,
      #55544d 18% 27%,
      #7b674e 27% 36%,
      #a86a3d 36% 45%,
      #cf6d28 45% 54%,
      #e8721f 54% 63%,
      var(--pixel-orange) 63% 100%);
  background-size: 18px 100%;
}

/* More obvious pixel typography on mobile without crushing legibility */
@media (max-width: 720px) {
  :root { --pixel-size: 10px; }

  .hero h1,
  .section-heading h2,
  .partner-callout h2,
  .contact-copy h2,
  .manifesto-line {
    letter-spacing: -.035em;
  }

  .hero::before {
    width: 84vw;
    right: -30vw;
    top: 3rem;
  }

  .hero::after {
    width: 130px;
    height: 80px;
    background-size: 20px 20px, 20px 20px;
    background-position: 0 0, 10px 10px;
  }
}


/* =========================================================
   ABOVE-THE-FOLD REFINEMENT
   Goal: CTA visible on standard laptop viewport
   ========================================================= */

.hero-grid-refined {
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, .94fr);
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
}

.hero {
  min-height: calc(100svh - 76px);
  padding: clamp(2.8rem, 5vh, 4.5rem) 0 clamp(2.5rem, 5vh, 4rem);
}

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

.hero-copy .eyebrow {
  margin-bottom: clamp(1.25rem, 2.2vh, 1.75rem);
}

.hero h1 {
  font-size: clamp(4.35rem, 6.5vw, 7rem);
  line-height: .91;
  max-width: 8.7ch;
  margin-bottom: 0;
}

.hero-lede {
  max-width: 670px;
  margin-top: clamp(1.25rem, 2.5vh, 1.8rem);
  font-size: clamp(1.04rem, 1.45vw, 1.28rem);
  line-height: 1.48;
}

.hero-lede strong {
  font-weight: 800;
}

.hero-actions-refined {
  margin-top: clamp(1.3rem, 2.4vh, 1.8rem);
  gap: .8rem;
}

.hero-cta {
  min-width: 245px;
  gap: .9rem;
  justify-content: space-between;
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.button-ghost:hover {
  background: var(--white);
  box-shadow: 4px 4px 0 rgba(17,17,15,.14);
}

.hero-trust {
  margin-top: clamp(1.15rem, 2vh, 1.5rem);
  gap: .65rem 1.1rem;
  font-size: .66rem;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  justify-items: center;
  isolation: isolate;
}

.hero-system-refined {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  margin: 0;
  transform: none;
  padding: .9rem;
  background: rgba(255,255,255,.97);
}

.hero-system-refined .system-label {
  padding: .55rem .45rem .9rem;
}

.hero-system-refined .system-stage {
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
}

.hero-system-refined .system-stage strong {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.hero-system-refined .system-connector {
  height: 62px;
}

.hero-system-refined .system-foot {
  padding: 1rem .6rem .4rem;
  font-size: .86rem;
}

.hero-microcopy {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: .45rem;
  margin-top: 1.2rem;
}

.hero-microcopy span {
  border: 1px solid var(--ink);
  padding: .44rem .58rem;
  background: var(--paper);
  font: 500 .58rem/1 var(--mono);
  letter-spacing: .08em;
}

/* Controlled pixel gradient: decorative, never behind body copy */
.pixel-stack {
  position: absolute;
  z-index: 0;
  inset: 0 0 auto auto;
  width: 88%;
  height: 42%;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
  opacity: .72;
  pointer-events: none;
}

.pixel-stack span {
  background:
    linear-gradient(180deg,
      rgba(255,122,26,.92) 0 20%,
      rgba(255,122,26,.58) 20% 48%,
      rgba(255,122,26,.20) 48% 72%,
      transparent 72% 100%);
}

.pixel-stack span:nth-child(2n) {
  transform: translateY(12px);
  opacity: .72;
}

.pixel-stack span:nth-child(3n) {
  transform: translateY(24px);
  opacity: .52;
}

/* Disable the older oversized hero gradient; the new right-side pixel stack replaces it */
.hero::before {
  display: none;
}

.hero::after {
  width: 150px;
  height: 86px;
  left: 0;
  bottom: 1rem;
  opacity: .08;
}

/* 1440×900 / typical MacBook-laptop optimization */
@media (min-width: 1100px) and (max-height: 920px) {
  .hero {
    min-height: calc(100svh - 76px);
    padding-top: 2.5rem;
    padding-bottom: 2.2rem;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 6vw, 6.35rem);
  }

  .hero-lede {
    margin-top: 1.2rem;
    font-size: 1.05rem;
  }

  .hero-actions-refined {
    margin-top: 1.2rem;
  }

  .hero-trust {
    margin-top: 1rem;
  }

  .hero-visual {
    min-height: 510px;
  }

  .hero-system-refined {
    width: min(100%, 455px);
  }

  .hero-system-refined .system-stage {
    padding: 1rem 1.1rem;
  }

  .hero-system-refined .system-stage strong {
    font-size: 2.45rem;
  }

  .hero-system-refined .system-connector {
    height: 54px;
  }

  .hero-microcopy {
    width: min(100%, 455px);
    margin-top: .9rem;
  }
}

/* Tablet */
@media (max-width: 980px) {
  .hero-grid-refined {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero {
    min-height: auto;
  }

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

  .hero h1 {
    max-width: 9ch;
  }

  .hero-visual {
    min-height: 490px;
    max-width: 620px;
  }
}

/* Mobile: CTA remains visible immediately after proposition */
@media (max-width: 720px) {
  .hero {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-grid-refined {
    gap: 2.5rem;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 15vw, 5rem);
    line-height: .92;
    max-width: 8.7ch;
  }

  .hero-lede {
    font-size: 1rem;
    line-height: 1.52;
  }

  .hero-actions-refined {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions-refined .button {
    width: 100%;
  }

  .hero-trust {
    display: grid;
    gap: .55rem;
  }

  .hero-visual {
    min-height: 445px;
    width: 100%;
  }

  .hero-system-refined {
    width: calc(100% - 10px);
    margin-right: 10px;
  }

  .pixel-stack {
    width: 92%;
    height: 36%;
    gap: 5px;
  }

  .hero-microcopy {
    width: calc(100% - 10px);
    margin-right: 10px;
  }
}
