:root {
  --ink: #132018;
  --ink-soft: #26352b;
  --muted: #647069;
  --faint: #8a968e;
  --line: #dce3dc;
  --line-dark: rgba(236, 244, 235, .16);
  --paper: #f5f7f2;
  --surface: #ffffff;
  --surface-2: #ebf0e9;
  --dark: #18221c;
  --dark-2: #223129;
  --accent: #b9ef68;
  --accent-strong: #8dce38;
  --accent-ink: #172313;
  --warning: #f4c96a;
  --max: 1180px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow: 0 24px 70px rgba(20, 37, 25, .09);
  --shadow-soft: 0 12px 32px rgba(20, 37, 25, .06);
  --space-1: .5rem;
  --space-2: .75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 7rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 4px; }

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 100;
  padding: .7rem 1rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800;
}
.skip-link:focus { top: 1rem; }
.container { width: min(var(--max), calc(100% - 3rem)); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding: var(--space-8) 0; }
.section-tight { padding: var(--space-7) 0; }
.section-muted { background: var(--surface-2); }
.section-dark { color: #eff7ed; background: var(--dark); }
.eyebrow, .mono-label, .nav-link, .card-index, .tag, .kicker {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 700;
}
.eyebrow, .kicker { color: #4d6355; margin: 0 0 1rem; }
.section-dark .eyebrow, .section-dark .kicker { color: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.08; }
h1 { max-width: 780px; margin-bottom: 1.4rem; font-size: clamp(3rem, 7vw, 6.7rem); }
h2 { margin-bottom: 1.1rem; font-size: clamp(2.1rem, 4vw, 4.25rem); }
h3 { margin-bottom: .7rem; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.lede { max-width: 650px; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.55; }
.section-dark .lede, .section-dark .muted { color: #bac8bc; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(245,247,242,.9); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 900; letter-spacing: -.06em; font-size: 1.3rem; }
.brand-mark { width: 25px; height: 25px; display: grid; place-items: center; background: var(--ink); color: var(--accent); border-radius: 7px; font-size: .76rem; letter-spacing: -.1em; }
.brand span { color: #789083; font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.nav-link { color: var(--muted); font-size: .68rem; letter-spacing: .04em; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-dropdown { position: relative; }
.nav-dropdown > summary { list-style: none; cursor: pointer; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown-menu { position: absolute; left: -.85rem; top: calc(100% + 1rem); width: 260px; padding: .65rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.nav-dropdown-menu a { display: block; padding: .6rem .7rem; border-radius: 8px; font-size: .9rem; }
.nav-dropdown-menu a:hover { background: var(--surface-2); }
.nav-cta { margin-left: .3rem; }
.menu-toggle { display: none; border: 0; background: none; color: var(--ink); padding: .5rem; }
.menu-toggle svg { width: 24px; height: 24px; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .55rem; padding: .7rem 1.05rem; border: 1px solid transparent; border-radius: 999px; font-weight: 800; font-size: .92rem; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 0 rgba(141,206,56,.2); }
.button-primary:hover { background: #c9fa86; }
.button-secondary { border-color: var(--line); background: var(--surface); }
.button-secondary:hover { border-color: #aebcb0; background: var(--surface-2); }
.button-dark { background: var(--dark); color: #eff7ed; }
.button-dark:hover { background: var(--dark-2); }
.button-ghost { border-color: rgba(236,244,235,.25); color: #eff7ed; }
.button-ghost:hover { border-color: rgba(236,244,235,.5); background: rgba(255,255,255,.06); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.text-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-strong); text-decoration-thickness: 3px; text-underline-offset: 4px; font-weight: 800; }
.text-link:hover { color: #466b28; }

.hero { position: relative; overflow: hidden; padding: clamp(5rem, 10vw, 9rem) 0 var(--space-8); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(60,84,67,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(60,84,67,.06) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000, transparent 86%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); align-items: end; gap: clamp(3rem, 8vw, 8rem); }
.hero h1 { text-wrap: balance; }
.hero h1 em { color: #557b27; font-style: normal; }
.hero-copy { max-width: 640px; margin-bottom: 2rem; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-copy strong { color: var(--ink); }
.proof-line { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; color: var(--muted); font-size: .82rem; }
.proof-line span { display: inline-flex; align-items: center; gap: .4rem; }
.proof-line span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-strong); }
.hero-visual { position: relative; min-height: 430px; padding: 1.2rem; border: 1px solid #cfd9cf; border-radius: 24px; background: rgba(255,255,255,.72); box-shadow: var(--shadow); }
.visual-top { display: flex; justify-content: space-between; align-items: center; padding: .2rem .25rem 1rem; color: var(--faint); font: .66rem "SFMono-Regular", Consolas, monospace; text-transform: uppercase; letter-spacing: .08em; }
.status-dot { display: inline-flex; align-items: center; gap: .45rem; color: #41662a; }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-strong); box-shadow: 0 0 0 4px #e4f5ce; }
.system-canvas { position: relative; min-height: 350px; display: grid; place-items: center; overflow: hidden; border-radius: 16px; background: var(--dark); }
.system-canvas::before { content: ""; position: absolute; inset: 0; opacity: .55; background-image: linear-gradient(rgba(185,239,104,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(185,239,104,.08) 1px, transparent 1px); background-size: 32px 32px; }
.system-node { position: absolute; z-index: 2; min-width: 112px; padding: .8rem .85rem; border: 1px solid rgba(221,247,198,.22); border-radius: 10px; background: rgba(36,54,43,.94); color: #eff7ed; box-shadow: 0 15px 35px rgba(0,0,0,.18); font-size: .78rem; }
.system-node strong { display: block; margin-bottom: .15rem; color: var(--accent); font-size: .8rem; }
.system-node small { color: #b9c9bc; font-size: .65rem; }
.node-trigger { top: 15%; left: 9%; }
.node-agent { top: 39%; left: 38%; border-color: rgba(185,239,104,.55); transform: scale(1.08); }
.node-tools { top: 15%; right: 8%; }
.node-data { bottom: 15%; left: 10%; }
.node-action { bottom: 15%; right: 8%; }
.system-lines { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.system-caption { position: absolute; left: 1rem; bottom: .8rem; z-index: 2; color: #94a897; font: .65rem "SFMono-Regular", Consolas, monospace; }
.hero-foot { margin-top: var(--space-7); padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .83rem; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 2.7rem; }
.section-heading h2 { max-width: 660px; margin-bottom: 0; }
.section-heading > p { max-width: 370px; margin-bottom: .2rem; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service-card, .proof-card, .process-card, .fit-card, .work-card { position: relative; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-soft); }
.service-card { min-height: 260px; display: flex; flex-direction: column; }
.service-card::after { content: "↗"; position: absolute; top: 1.35rem; right: 1.4rem; color: var(--faint); font-size: 1.25rem; transition: color .2s ease, transform .2s ease; }
.service-card:hover { border-color: #b7c7b7; transform: translateY(-4px); transition: transform .2s ease, border-color .2s ease; }
.service-card:hover::after { color: var(--accent-strong); transform: translate(2px, -2px); }
.service-card h3 { max-width: 240px; margin-top: 1.9rem; }
.service-card p { color: var(--muted); font-size: .95rem; }
.card-index { color: #73927a; }
.card-link { display: inline-block; margin-top: auto; padding-top: 1.1rem; font-size: .82rem; font-weight: 800; }
.card-link::after { content: " →"; color: var(--accent-strong); }

.problem-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 8vw, 7rem); align-items: start; }
.problem-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.problem-item { padding: 1.1rem; border-left: 3px solid var(--accent-strong); background: rgba(255,255,255,.58); }
.problem-item p { margin: 0; font-weight: 700; line-height: 1.35; }
.problem-item a { display: block; margin-top: .45rem; color: var(--muted); font-size: .78rem; }

.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.work-card { overflow: hidden; padding: 0; }
.work-visual { min-height: 180px; padding: 1.2rem; display: flex; align-items: end; background: var(--dark); color: #edf6ec; }
.work-visual.billing { background: linear-gradient(135deg, #22342a, #50652c); }
.work-visual.vault { background: linear-gradient(135deg, #263333, #4b5d58); }
.work-visual.saas { background: linear-gradient(135deg, #1e2f27, #3c5c4c); }
.mini-ui { width: 100%; padding: .75rem; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(9,19,13,.3); }
.mini-ui-top { display: flex; gap: .3rem; margin-bottom: .7rem; }
.mini-ui-top i { width: 5px; height: 5px; display: block; border-radius: 50%; background: var(--accent); }
.mini-row { height: 8px; margin: .5rem 0; border-radius: 4px; background: rgba(255,255,255,.2); }
.mini-row.short { width: 48%; }
.mini-chart { height: 42px; display: flex; align-items: end; gap: .3rem; margin-top: .65rem; }
.mini-chart i { flex: 1; border-radius: 3px 3px 0 0; background: var(--accent); opacity: .8; }
.work-card-body { padding: 1.4rem; }
.work-card-body h3 { margin-top: .75rem; }
.work-card-body p { color: var(--muted); font-size: .92rem; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; }
.tag { display: inline-flex; padding: .32rem .48rem; border: 1px solid var(--line); border-radius: 5px; color: #627168; font-size: .6rem; letter-spacing: .02em; }
.tag.accent { border-color: #c8dfa9; background: #eff8e6; color: #4c7027; }

.dark-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(2rem, 8vw, 7rem); align-items: center; }
.quote-block { padding-left: 1.25rem; border-left: 2px solid var(--accent); }
.quote-block blockquote { margin: 0 0 .75rem; color: #f5faf2; font-size: clamp(1.3rem, 2.5vw, 2rem); letter-spacing: -.03em; line-height: 1.25; }
.quote-block cite { color: #a9bcae; font-size: .82rem; font-style: normal; }
.evidence-board { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.evidence-tile { padding: 1.1rem; border: 1px solid var(--line-dark); border-radius: 12px; background: rgba(255,255,255,.05); }
.evidence-tile strong { display: block; margin-bottom: .4rem; color: var(--accent); font-size: .9rem; }
.evidence-tile span { color: #b9c9bc; font-size: .78rem; }
.dark-cta { margin-top: 2.5rem; }

.process-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
.process-card { min-height: 215px; }
.process-card .step { display: grid; width: 34px; height: 34px; margin-bottom: 1.5rem; place-items: center; border-radius: 50%; background: var(--dark); color: var(--accent); font: .75rem "SFMono-Regular", monospace; }
.process-card p { color: var(--muted); font-size: .9rem; }
.fit-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.fit-stack { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem; }
.fit-card h3 { font-size: 1.1rem; }
.fit-card ul { margin: 0; padding: 0 0 0 1.15rem; color: var(--muted); font-size: .9rem; }
.fit-card li + li { margin-top: .55rem; }
.fit-card.muted { background: transparent; box-shadow: none; }

.cta-band { padding: 3.5rem; border-radius: var(--radius-lg); background: var(--accent); color: var(--accent-ink); }
.cta-band h2 { max-width: 700px; margin-bottom: 1rem; }
.cta-band p { max-width: 620px; color: #4a642b; }
.cta-band .button-secondary { border-color: rgba(23,35,19,.22); background: transparent; }
.cta-band .button-secondary:hover { background: rgba(255,255,255,.3); }

.page-hero { padding: clamp(4rem, 8vw, 7rem) 0 4rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 820px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; color: var(--muted); font: .7rem "SFMono-Regular", monospace; text-transform: uppercase; letter-spacing: .06em; }
.breadcrumb a { text-decoration: underline; text-decoration-color: var(--accent-strong); text-underline-offset: 3px; }
.page-hero .actions { margin-top: 2rem; }
.service-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(2.5rem, 8vw, 7rem); align-items: start; }
.sticky-note { position: sticky; top: 2rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-soft); }
.sticky-note strong { display: block; margin-bottom: .6rem; }
.sticky-note p { margin: 0; color: var(--muted); font-size: .88rem; }
.service-copy > * + * { margin-top: 1rem; }
.service-copy h2 { margin-top: 3rem; }
.service-copy ul { padding-left: 1.2rem; }
.service-copy li + li { margin-top: .5rem; }
.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 1.5rem; }
.capability { padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.capability strong { display: block; margin-bottom: .35rem; font-size: .95rem; }
.capability span { color: var(--muted); font-size: .85rem; }
.arch-flow { margin: 1.5rem 0; padding: 1rem; border-radius: 14px; background: var(--dark); color: #eaf4e9; overflow-x: auto; }
.arch-flow .arch-row { display: flex; align-items: center; gap: .55rem; min-width: 610px; }
.arch-node { padding: .7rem .8rem; border: 1px solid rgba(185,239,104,.32); border-radius: 8px; background: rgba(255,255,255,.06); color: var(--accent); font: .7rem "SFMono-Regular", monospace; white-space: nowrap; }
.arch-arrow { color: #94aa98; font: 1.1rem sans-serif; }
.note { padding: 1rem 1.1rem; border-left: 3px solid var(--accent-strong); background: var(--surface-2); color: var(--ink-soft); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .75rem; }
.related-card { padding: 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.related-card h3 { font-size: 1.05rem; }
.related-card p { margin-bottom: .8rem; color: var(--muted); font-size: .85rem; }
.faq-list { border-top: 1px solid var(--line); }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; cursor: pointer; font-weight: 800; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--accent-strong); font-size: 1.4rem; line-height: 1; }
details.faq[open] summary::after { content: "−"; }
details.faq .faq-answer { max-width: 700px; padding: 0 3rem 1.2rem 0; color: var(--muted); }

.work-list { display: grid; gap: 1rem; }
.case-study { display: grid; grid-template-columns: .65fr 1.35fr; gap: 2rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-soft); }
.case-study h2 { margin: .5rem 0 .8rem; font-size: clamp(1.6rem, 3vw, 2.7rem); }
.case-study .case-side { display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; padding: 1rem; border-radius: 12px; background: var(--dark); color: #edf6ec; }
.case-side .case-icon { color: var(--accent); font: 2.5rem "SFMono-Regular", monospace; }
.case-side small { color: #aec0b1; }
.case-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.4rem 0; }
.case-detail { padding-top: .8rem; border-top: 2px solid var(--accent); }
.case-detail strong { display: block; margin-bottom: .25rem; font: .68rem "SFMono-Regular", monospace; text-transform: uppercase; color: #5c7761; }
.case-detail p { margin: 0; color: var(--muted); font-size: .86rem; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-panel { padding: 1.8rem; border-radius: var(--radius-md); background: var(--dark); color: #edf6ec; }
.about-panel p { color: #b9c9bc; }
.belief-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.belief { padding-top: 1rem; border-top: 2px solid var(--accent-strong); }
.belief p { color: var(--muted); font-size: .9rem; }
.stack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.stack-card { padding: 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.stack-card h3 { margin-bottom: .6rem; font-size: 1rem; }
.stack-card p { margin: 0; color: var(--muted); font-size: .88rem; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1rem; align-items: start; }
.contact-panel, .form-card { padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-soft); }
.contact-panel { background: var(--dark); color: #edf6ec; }
.contact-panel p { color: #b9c9bc; }
.contact-list { margin-top: 2rem; display: grid; gap: 1rem; }
.contact-list a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cbd7cd; border-radius: 8px; padding: .78rem .85rem; color: var(--ink); background: #fbfcfa; }
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-strong); outline: 3px solid rgba(141,206,56,.2); }
.field small { color: var(--muted); font-size: .75rem; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; }
.form-status { min-height: 1.3rem; color: #4b6d26; font-size: .84rem; }
.form-status.error { color: #a44332; }
.conversion-section { scroll-margin-top: 2rem; }
.conversion-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1rem; align-items: start; }
.conversion-intro { padding: 1.7rem 0; }
.conversion-intro h2 { max-width: 520px; }
.conversion-intro p:not(.kicker) { max-width: 480px; color: var(--muted); }
.conversion-stack { display: grid; gap: 1rem; }
.booking-card { padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-soft); }
.booking-card h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.booking-card p:not(.kicker) { color: var(--muted); }
.inline-success { padding: 1rem; border: 1px solid #b9d99a; border-radius: 10px; background: #f3faec; color: var(--ink-soft); }
.inline-success h3 { margin-bottom: .5rem; font-size: 1.2rem; }
.inline-success p { margin: 0; color: var(--muted); }

.site-footer { padding: 4rem 0 2rem; border-top: 1px solid var(--line); background: #eaf0e8; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; padding-bottom: 3rem; }
.footer-grid h2 { font-size: 1.1rem; letter-spacing: -.03em; }
.footer-grid p { max-width: 280px; color: var(--muted); font-size: .88rem; }
.footer-links { display: grid; align-content: start; gap: .5rem; color: var(--muted); font-size: .85rem; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-strong); text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--faint); font-size: .75rem; }
.footer-bottom p { margin: 0; }

.not-found { min-height: 65vh; display: grid; place-items: center; text-align: center; }
.not-found h1 { margin-inline: auto; }

@media (max-width: 900px) {
  .hero-grid, .problem-grid, .dark-grid, .fit-grid, .service-layout, .contact-grid, .conversion-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 3rem; }
  .hero-visual { max-width: 620px; }
  .section-heading { align-items: start; flex-direction: column; gap: 1rem; }
  .card-grid, .work-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .belief-grid { grid-template-columns: repeat(2, 1fr); }
  .sticky-note { position: static; }
  .case-study { grid-template-columns: 1fr; }
  .case-study .case-side { min-height: 160px; }
  .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .footer-grid > :last-child { grid-column: 2; }
}

@media (max-width: 700px) {
  .container { width: min(var(--max), calc(100% - 2rem)); }
  .site-header { position: sticky; top: 0; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 74px; padding: 1rem; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .site-nav.is-open { display: grid; gap: .2rem; }
  .nav-link, .nav-dropdown > summary { display: block; padding: .8rem .6rem; font-size: .75rem; }
  .nav-dropdown-menu { position: static; width: auto; margin: 0 .5rem .5rem; padding: .2rem; box-shadow: none; background: var(--surface-2); }
  .nav-cta { margin: .55rem 0 0; width: 100%; }
  .hero { padding-top: 4.5rem; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-visual { min-height: 380px; padding: .75rem; }
  .system-canvas { min-height: 320px; }
  .system-node { min-width: 96px; padding: .65rem; font-size: .68rem; }
  .node-agent { left: 33%; }
  .card-grid, .work-grid, .problem-list, .fit-stack, .about-grid, .stack-grid, .capability-grid, .related-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 220px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: auto; }
  .evidence-board { grid-template-columns: 1fr; }
  .cta-band { padding: 2rem 1.4rem; }
  .page-hero { padding-top: 3.5rem; }
  .case-detail-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-actions, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: auto; }
}

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


/* Netlify form spam trap: intentionally hidden from real users. */
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.button[disabled] { cursor: wait; opacity: .72; transform: none; }
