@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=IBM+Plex+Mono:wght@400;500;600;700&family=Work+Sans:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --paper: #f1ede4;
  --paper-2: #e8dfcf;
  --ink: #111111;
  --ink-soft: #2b2b2b;
  --red: #d7322e;
  --yellow: #f2e14b;
  --white: #fffaf0;
  --line: #111111;
  --muted: rgba(43, 43, 43, 0.72);
  --muted-light: rgba(241, 237, 228, 0.72);
  --max: 1400px;
  --edge: clamp(18px, 4vw, 32px);
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --body: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.legal-page .site-header {
  position: sticky;
}

.legal-shell {
  position: relative;
  min-height: 72vh;
  padding: clamp(84px, 10vw, 140px) var(--edge);
}

.legal-document {
  position: relative;
  z-index: 1;
  max-width: 920px;
  border: 2px solid var(--ink);
  background: rgba(255, 250, 240, 0.72);
  box-shadow: 14px 14px 0 var(--red);
  padding: clamp(24px, 4vw, 52px);
}

.legal-document h1 {
  margin-bottom: 28px;
  font-size: clamp(72px, 10vw, 132px);
}

.legal-document h2 {
  margin-top: 38px;
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 56px);
}

.legal-document p,
.legal-document a {
  max-width: 760px;
  font-size: clamp(16px, 2vw, 19px);
}

.legal-document a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(
      90deg,
      rgba(17, 17, 17, 0.018) 0 1px,
      transparent 1px 4px
    );
  mix-blend-mode: multiply;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3,
.wordmark {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  max-width: 1100px;
  font-size: clamp(74px, 11.5vw, 160px);
  line-height: 0.85;
}

h1 span,
h2 span {
  color: var(--red);
}

h2 {
  font-size: clamp(58px, 8vw, 108px);
  line-height: 0.88;
}

h3 {
  font-size: clamp(27px, 3vw, 34px);
  line-height: 0.98;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  border-bottom: 2px solid var(--ink);
  padding: 14px var(--edge);
  background: rgba(241, 237, 228, 0.96);
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.site-header.is-scrolled {
  background: rgba(241, 237, 228, 0.9);
  box-shadow: 0 12px 0 rgba(17, 17, 17, 0.04);
  backdrop-filter: blur(16px);
}

.wordmark {
  white-space: nowrap;
  font-size: 29px;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}

.nav a,
.section-code,
.label,
.btn,
.card-number,
.metric-banner span,
.metric-banner strong,
.case-meta,
.filter-row,
.invoice-head,
.invoice-row > span,
.invoice-row b,
.invoice-row strong,
.addons-grid span,
.addons-grid strong,
.timeline-strip span,
.dark-card span,
.do-dont span,
.faq-item span,
.booking-tabs button,
.calendar-head,
.time-grid button,
.mini-calendar button,
.footer,
.modal-label,
.type-selector button,
.modal-status,
figcaption {
  font-family: var(--mono);
}

.nav a {
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 150ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 2px solid var(--ink);
  padding: 0 22px;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.btn:hover,
.btn:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: var(--paper);
}

.btn:active {
  transform: translateY(1px);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

.btn-small {
  min-height: 40px;
  padding: 0 20px;
  white-space: nowrap;
}

.btn-large {
  min-height: 64px;
  padding: 0 36px;
  font-size: 14px;
}

.btn-full {
  width: 100%;
}

.paper-section,
.dark-section {
  position: relative;
  overflow: hidden;
}

.paper-section {
  background: var(--paper);
}

.dark-section {
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.paper-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(17, 17, 17, 0.06) 0 1px, transparent 1px),
    radial-gradient(circle at 77% 46%, rgba(17, 17, 17, 0.045) 0 1px, transparent 1px);
  background-size: 21px 21px, 31px 31px;
}

.paper-noise.dark {
  opacity: 0.08;
  filter: invert(1);
}

.hero {
  min-height: min(980px, calc(90svh - 72px));
  border-bottom: 2px solid var(--ink);
}

.hero-inner,
.section,
.footer {
  width: min(var(--max), calc(100% - (var(--edge) * 2)));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  gap: clamp(34px, 5vw, 72px);
  min-height: min(980px, calc(90svh - 72px));
  padding: clamp(54px, 7vw, 88px) 0 72px;
}

.hero-copy {
  align-self: start;
}

.label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 4px 10px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.label-yellow {
  background: var(--yellow);
}

.label-red {
  background: var(--red);
  color: var(--paper);
  transform: rotate(-2deg);
}

.typed-note {
  max-width: 640px;
  margin-top: 36px;
  border-left: 2px solid var(--red);
  padding-left: 24px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
}

.hero-actions p {
  max-width: 230px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.6;
  text-transform: uppercase;
}

.hero-plate {
  position: relative;
  align-self: center;
  margin: 0;
  border: 2px solid var(--ink);
  background: var(--paper-2);
  transform: translateY(5px);
  box-shadow: 14px 14px 0 var(--ink);
}

.hero-plate img {
  width: 100%;
  height: min(58vw, 560px);
  min-height: 460px;
  object-fit: cover;
}

figcaption {
  position: absolute;
  right: -14px;
  bottom: -14px;
  border: 2px solid var(--ink);
  padding: 6px 10px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stamp {
  position: absolute;
  z-index: 2;
  border: 3px solid var(--red);
  padding: 7px 15px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transform: rotate(-12deg);
}

.audit-stamp {
  top: 46px;
  right: clamp(20px, 5vw, 64px);
  animation: stampIn 680ms cubic-bezier(0.2, 0.85, 0.18, 1.2) both;
}

.asterisk-field {
  position: absolute;
  top: 132px;
  left: 52%;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.85;
  opacity: 0.2;
}

.section {
  position: relative;
  z-index: 1;
  padding: clamp(74px, 8vw, 112px) 0;
}

.section + .section,
.featured-case,
.faq-section,
.booking-section {
  border-top: 2px solid var(--ink);
}

.section-head {
  margin-bottom: clamp(34px, 5vw, 64px);
}

.section-head.compact {
  margin-bottom: 28px;
}

.section-head.light {
  max-width: 920px;
}

.section-head.light p:not(.section-code) {
  max-width: 720px;
  margin-top: 22px;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
}

.section-code {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.dark-section .section-code {
  color: var(--muted-light);
}

.red-rule {
  display: block;
  width: 96px;
  height: 2px;
  margin-top: 22px;
  background: var(--red);
}

.problem-grid,
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.outline-card,
.dark-card {
  position: relative;
  border: 2px solid var(--ink);
  padding: clamp(22px, 3vw, 32px);
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.outline-card + .outline-card,
.dark-card + .dark-card {
  margin-left: -2px;
}

.outline-card:hover {
  background: var(--ink);
  color: var(--paper);
}

.problem-card.offset,
.dark-card.offset {
  margin-top: 48px;
}

.card-number {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 0 8px;
  background: var(--paper);
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
}

.outline-card:hover .card-number {
  background: var(--ink);
  color: var(--yellow);
}

.line-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  fill: none;
  stroke: var(--red);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.problem-card p,
.archive-case p,
.outline-card p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.outline-card:hover p {
  color: var(--paper);
}

.problem-card strong {
  display: block;
  margin-top: 22px;
  border-top: 1px dotted currentColor;
  padding-top: 15px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.outline-card:hover strong {
  color: var(--yellow);
}

.metric-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  border: 2px solid var(--ink);
  padding: 22px 24px;
  background: var(--yellow);
}

.metric-banner span,
.metric-banner strong {
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-banner strong {
  max-width: 520px;
  text-align: right;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
}

.split-copy p:not(.section-code) {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.process-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr) 52px minmax(0, 1fr);
  align-items: stretch;
}

.process-node {
  border: 2px solid var(--ink);
  padding: 22px;
  background: var(--paper);
}

.process-node.active {
  background: var(--yellow);
}

.process-node span,
.process-node strong {
  display: block;
  font-family: var(--mono);
  text-transform: uppercase;
}

.process-node span {
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.process-node strong {
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.process-node p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 14px;
}

.process-arrow {
  position: relative;
}

.process-arrow::before,
.process-arrow::after {
  position: absolute;
  top: 50%;
  content: "";
}

.process-arrow::before {
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
}

.process-arrow::after {
  right: 0;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  transform: translateY(-50%) rotate(45deg);
}

.proof-layout {
  display: grid;
  grid-template-columns: 0.68fr 1fr 0.72fr;
  gap: 0;
}

.proof-metric,
blockquote,
.logo-grid {
  border: 2px solid var(--paper);
  padding: clamp(24px, 4vw, 42px);
}

blockquote,
.logo-grid {
  margin-left: -2px;
}

.proof-metric span {
  display: block;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.proof-metric strong {
  display: block;
  margin-top: 18px;
  color: var(--yellow);
  font-family: var(--display);
  font-size: clamp(84px, 10vw, 130px);
  font-weight: 400;
  line-height: 0.84;
}

.proof-metric p,
blockquote {
  color: var(--muted-light);
  font-size: 15px;
  line-height: 1.7;
}

blockquote {
  margin-top: 30px;
  font-size: 19px;
}

blockquote cite {
  display: block;
  margin-top: 28px;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
}

.logo-grid span {
  display: flex;
  align-items: center;
  min-height: 78px;
  border-bottom: 2px solid var(--paper);
  padding: 0 24px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo-grid span:last-child {
  border-bottom: 0;
}

.demo-proof {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-proof-card {
  display: grid;
  gap: 18px;
  min-height: 250px;
  border: 2px solid var(--paper);
  padding: clamp(24px, 4vw, 42px);
  color: var(--paper);
  transition: background-color 150ms ease, color 150ms ease;
}

.demo-proof-card + .demo-proof-card {
  margin-left: -2px;
}

.demo-proof-card:hover {
  background: var(--paper);
  color: var(--ink);
}

.demo-proof-card span,
.demo-proof-card p {
  font-family: var(--mono);
}

.demo-proof-card span {
  color: var(--yellow);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.demo-proof-card:hover span {
  color: var(--red);
}

.demo-proof-card strong {
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: uppercase;
}

.demo-proof-card p {
  color: var(--muted-light);
  font-size: 13px;
  line-height: 1.7;
}

.demo-proof-card:hover p {
  color: var(--ink-soft);
}

.case-card.featured {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  border: 2px solid var(--ink);
  background: var(--paper);
}

.case-card figure {
  position: relative;
  margin: 0;
  border-right: 2px solid var(--ink);
}

.case-card img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.case-body {
  padding: clamp(24px, 4vw, 42px);
}

.case-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.case-meta span:first-child {
  color: var(--red);
}

.case-meta::after {
  order: 1;
  flex: 1;
  height: 1px;
  background: rgba(17, 17, 17, 0.2);
  content: "";
}

.case-meta span:last-child {
  order: 2;
}

.case-body h2 {
  font-size: clamp(48px, 6vw, 76px);
}

.three-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 28px 0;
}

.three-columns div {
  border: 2px solid var(--ink);
  padding: 16px;
}

.three-columns div + div {
  margin-left: -2px;
}

.three-columns span,
.detail-blocks span {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.three-columns p,
.detail-blocks p {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
}

.metric-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.metric-chips span {
  border: 2px solid var(--ink);
  padding: 7px 12px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 54px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.filter-row > span {
  margin-right: 18px;
}

.filter-btn,
.booking-tabs button {
  min-height: 44px;
  border: 2px solid var(--ink);
  padding: 0 20px;
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 150ms ease, color 150ms ease;
}

.filter-btn + .filter-btn,
.booking-tabs button + button {
  margin-left: -2px;
}

.filter-btn:hover,
.filter-btn.is-active,
.booking-tabs button:hover,
.booking-tabs button.is-active {
  background: var(--ink);
  color: var(--yellow);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
}

.archive-case + .archive-case {
  margin-left: -2px;
}

.archive-case.is-hidden {
  display: none;
}

.case-index {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.case-index span,
.case-index b {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-index b {
  padding: 2px 8px;
  background: var(--red);
  color: var(--paper);
}

.archive-case strong {
  display: block;
  margin-top: 20px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 14px;
  text-transform: uppercase;
}

.case-detail {
  margin-top: 42px;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.case-detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  border-bottom: 2px solid var(--ink);
}

.case-detail figure {
  margin: 0;
  border-right: 2px solid var(--ink);
}

.case-detail img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.case-detail-grid > div {
  padding: clamp(24px, 4vw, 42px);
}

.case-detail-grid p:not(.section-code) {
  max-width: 680px;
  margin-top: 22px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.detail-blocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-blocks article {
  padding: 22px;
}

.detail-blocks article + article {
  border-left: 2px solid var(--ink);
}

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 52px;
  align-items: start;
}

.service-hero h2 {
  margin-top: 24px;
}

.manifesto-card {
  border: 2px solid var(--ink);
  padding: 20px;
  margin-top: 32px;
}

.manifesto-card span,
.manifesto-card small {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.manifesto-card p {
  margin: 14px 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

.invoice-table {
  margin-top: 58px;
}

.invoice-head,
.invoice-row {
  display: grid;
  grid-template-columns: 90px minmax(190px, 280px) minmax(260px, 1fr) 150px 140px;
  align-items: start;
  column-gap: 20px;
}

.invoice-head {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 12px 0;
}

.invoice-head span {
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.invoice-row {
  border-bottom: 1px solid var(--ink);
  padding: 22px 0;
  transition: background-color 150ms ease, color 150ms ease, padding 150ms ease;
}

.invoice-row:hover,
.invoice-row.popular {
  background: var(--yellow);
  padding-left: 16px;
  padding-right: 16px;
}

.invoice-row:hover {
  background: var(--ink);
  color: var(--paper);
}

.invoice-row h3 {
  font-size: 30px;
}

.invoice-row p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.invoice-row:hover p {
  color: var(--paper);
}

.invoice-row > span,
.invoice-row b,
.invoice-row strong {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.invoice-row strong {
  color: var(--ink);
  font-size: 14px;
  text-align: right;
}

.invoice-row:hover strong {
  color: var(--yellow);
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 54px;
}

.addons-grid article {
  border: 2px solid var(--ink);
  padding: 24px;
}

.addons-grid article + article {
  margin-left: -2px;
}

.addons-grid span,
.addons-grid strong {
  display: block;
  color: var(--red);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.addons-grid h3 {
  margin-top: 22px;
}

.addons-grid p {
  margin: 12px 0 20px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.timeline-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 54px 0 34px;
  border: 2px solid var(--ink);
}

.timeline-strip div {
  padding: 24px;
}

.timeline-strip div + div {
  border-left: 2px solid var(--ink);
}

.timeline-strip span {
  display: block;
  color: var(--red);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.timeline-strip strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
}

.dark-card {
  border-color: var(--paper);
}

.dark-card span {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 4px 9px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dark-card h3 {
  color: var(--paper);
}

.dark-card p {
  margin-top: 14px;
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.65;
}

.do-dont {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 58px;
}

.do-dont div {
  border: 2px solid var(--paper);
  padding: 24px;
}

.do-dont div + div {
  margin-left: -2px;
  margin-top: 24px;
}

.do-dont span {
  display: block;
  color: var(--muted-light);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.do-dont p {
  margin-top: 14px;
  color: var(--paper);
  font-size: 14px;
  line-height: 1.65;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.faq-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  min-height: 150px;
  border: 2px solid var(--ink);
  padding: 24px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  transition: background-color 150ms ease, color 150ms ease;
}

.faq-item:nth-child(even) {
  margin-left: -2px;
}

.faq-item:nth-child(n + 3) {
  margin-top: -2px;
}

.faq-item:hover,
.faq-item[aria-expanded="true"] {
  background: var(--ink);
  color: var(--paper);
}

.faq-item span {
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
}

.faq-item strong {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.faq-item p {
  grid-column: 2;
  max-height: 0;
  overflow: hidden;
  color: var(--paper);
  font-size: 14px;
  line-height: 1.6;
  opacity: 0;
  transition: max-height 180ms ease, opacity 180ms ease;
}

.faq-item:hover p,
.faq-item[aria-expanded="true"] p {
  max-height: 120px;
  opacity: 0.78;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.62fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: start;
}

.booking-copy h2 {
  margin-top: 24px;
}

.booking-copy p {
  max-width: 650px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.booking-tabs {
  display: flex;
  align-items: center;
  margin-top: 30px;
}

.booking-panel {
  border: 2px solid var(--ink);
  background: var(--paper);
}

.calendar-view,
.message-view {
  padding: 24px;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calendar-head div {
  display: flex;
  gap: 6px;
}

.calendar-head button,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  background: transparent;
  color: inherit;
  font-size: 21px;
  line-height: 1;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.calendar-head button:hover,
.icon-btn:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--paper);
}

.mini-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.mini-calendar button {
  min-height: 66px;
  border: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  transition: background-color 150ms ease, color 150ms ease, opacity 150ms ease;
}

.mini-calendar button:hover {
  background: var(--ink);
  color: var(--paper);
}

.mini-calendar button.selected {
  background: var(--red);
  color: var(--paper);
}

.mini-calendar button.muted {
  opacity: 0.26;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0;
}

.time-grid button {
  min-height: 42px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  transition: background-color 150ms ease, color 150ms ease;
}

.time-grid button:hover,
.time-grid button.selected {
  background: var(--ink);
  color: var(--paper);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 2px solid var(--ink);
  border-radius: 0;
  padding: 12px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  letter-spacing: 0;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 3px var(--yellow);
}

.message-view {
  display: grid;
  gap: 18px;
}

.message-view p {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.6fr);
  gap: 34px;
  border-top: 2px solid var(--paper);
  padding: 48px 0 34px;
  background: var(--ink);
  color: var(--paper);
}

body > .footer {
  width: 100%;
  padding-left: max(var(--edge), calc((100vw - var(--max)) / 2));
  padding-right: max(var(--edge), calc((100vw - var(--max)) / 2));
}

.footer p,
.footer a,
.footer span {
  color: var(--muted-light);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer .wordmark {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--paper);
  font-size: 34px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer a:hover {
  color: var(--yellow);
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(241, 237, 228, 0.28);
  padding-top: 18px;
}

.modal[hidden],
[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: var(--edge);
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.72);
  backdrop-filter: blur(5px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(860px, calc(100svh - 40px));
  overflow: auto;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 14px 14px 0 var(--red);
  animation: modalIn 180ms ease both;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 2px solid var(--ink);
  padding: 24px;
}

.modal-header h2 {
  font-size: clamp(48px, 6vw, 76px);
}

.modal-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1fr);
  gap: 0;
}

.modal-grid > div:first-child {
  border-right: 2px solid var(--ink);
  padding: 24px;
}

.qualification {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

.qualification .wide,
.qualification .btn,
.qualification .modal-status {
  grid-column: 1 / -1;
}

.modal-label {
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.type-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.type-selector button {
  min-height: 82px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
  transition: background-color 150ms ease, color 150ms ease;
}

.type-selector button + button {
  margin-left: -2px;
}

.type-selector button span {
  display: block;
  margin-top: 8px;
  opacity: 0.65;
}

.type-selector button.is-selected,
.type-selector button:hover {
  background: var(--ink);
  color: var(--paper);
}

.modal-status {
  color: var(--ink-soft);
  font-size: 11px;
}

.demo-page .site-header .btn {
  text-decoration: none;
}

.demo-hero {
  border-bottom: 2px solid var(--ink);
}

.demo-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(34px, 6vw, 82px);
  width: min(var(--max), calc(100% - (var(--edge) * 2)));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 102px) 0;
}

.demo-hero-inner > *,
.demo-workbench > *,
.report-demo > *,
.pipeline-demo > *,
.pipeline-list,
.report-board,
.demo-output {
  min-width: 0;
}

.demo-hero h1 {
  margin-top: 18px;
  font-size: clamp(72px, 10vw, 140px);
}

.demo-brief {
  align-self: end;
  border: 2px solid var(--ink);
  padding: 24px;
  background: var(--yellow);
  box-shadow: 10px 10px 0 var(--ink);
}

.demo-brief span,
.demo-output-head,
.pipeline-card span,
.pipeline-card small,
.pipeline-card em,
.report-metrics p,
.report-bar,
.demo-output pre {
  font-family: var(--mono);
}

.demo-brief span {
  display: block;
  margin-bottom: 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.demo-brief p {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

.demo-lab {
  overflow: visible;
}

.demo-workbench,
.report-demo {
  display: grid;
  grid-template-columns: minmax(320px, 0.55fr) minmax(0, 1fr);
  gap: 0;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.demo-input,
.report-controls {
  display: grid;
  gap: 18px;
  border-right: 2px solid var(--ink);
  padding: 24px;
}

.demo-note {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.65;
}

.demo-pilot {
  display: grid;
  gap: 10px;
  border: 2px solid var(--ink);
  border-top: 0;
  padding: 18px 22px;
  background: var(--yellow);
}

.demo-pilot.light {
  border-color: var(--paper);
  background: transparent;
  color: var(--paper);
}

.demo-pilot span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.demo-pilot p {
  max-width: 980px;
  font-size: 15px;
  line-height: 1.6;
}

.demo-output {
  min-width: 0;
  background: var(--paper);
}

.demo-output-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 2px solid var(--ink);
  padding: 14px 18px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.demo-output-head button {
  border: 2px solid var(--ink);
  padding: 7px 12px;
  background: transparent;
  color: inherit;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.demo-output-head button:hover {
  background: var(--ink);
  color: var(--paper);
}

.demo-output pre {
  min-height: 320px;
  margin: 0;
  overflow: auto;
  padding: 22px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.dark-output {
  border: 2px solid var(--paper);
  background: var(--ink);
  color: var(--paper);
}

.dark-output .demo-output-head {
  border-bottom-color: var(--paper);
  color: var(--paper);
}

.dark-output .demo-output-head button {
  border-color: var(--paper);
  color: var(--paper);
}

.dark-output .demo-output-head button:hover {
  background: var(--paper);
  color: var(--ink);
}

.dark-output pre {
  color: var(--muted-light);
}

.pipeline-demo {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: 24px;
}

.pipeline-controls {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0;
}

.pipeline-list {
  display: grid;
  gap: 0;
}

.pipeline-card {
  display: grid;
  gap: 9px;
  border: 2px solid var(--paper);
  padding: 18px;
  background: transparent;
  color: var(--paper);
  text-align: left;
}

.pipeline-card + .pipeline-card {
  margin-top: -2px;
}

.pipeline-card:hover,
.pipeline-card.is-selected {
  background: var(--paper);
  color: var(--ink);
}

.pipeline-card span,
.pipeline-card small,
.pipeline-card em {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pipeline-card strong {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.pipeline-card em {
  width: fit-content;
  padding: 3px 8px;
  background: var(--yellow);
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
}

.report-board {
  display: grid;
  gap: 0;
}

.report-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 2px solid var(--ink);
}

.report-metrics article {
  padding: 18px;
}

.report-metrics article + article {
  border-left: 2px solid var(--ink);
}

.report-metrics span {
  display: block;
  color: var(--red);
  font-family: var(--display);
  font-size: 56px;
  line-height: 0.9;
}

.report-metrics p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.report-bars {
  display: grid;
  gap: 16px;
  border-bottom: 2px solid var(--ink);
  padding: 22px;
}

.report-bar {
  display: grid;
  grid-template-columns: 160px 1fr 52px;
  gap: 12px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.report-bar i {
  display: block;
  height: 14px;
  border: 1px solid var(--ink);
  background:
    linear-gradient(90deg, var(--red) 0 var(--bar), transparent var(--bar) 100%),
    var(--paper-2);
}

.report-bar strong {
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes stampIn {
  0% {
    opacity: 0;
    transform: rotate(-12deg) scale(1.3);
  }

  100% {
    opacity: 1;
    transform: rotate(-12deg) scale(1);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

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

  .hero-inner,
  .split-section,
  .booking-section,
  .service-hero,
  .demo-hero-inner,
  .demo-workbench,
  .report-demo,
  .pipeline-demo {
    grid-template-columns: 1fr;
  }

  .hero-plate {
    width: min(520px, 100%);
  }

  .proof-layout,
  .case-card.featured,
  .case-detail-grid,
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .demo-proof-card + .demo-proof-card {
    margin-top: -2px;
    margin-left: 0;
  }

  .case-card figure,
  .case-detail figure,
  .modal-grid > div:first-child,
  .demo-input,
  .report-controls {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .invoice-head {
    display: none;
  }

  .invoice-row {
    grid-template-columns: 100px minmax(0, 1fr);
    row-gap: 10px;
  }

  .invoice-row p,
  .invoice-row b,
  .invoice-row strong {
    grid-column: 2;
    text-align: left;
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-case:nth-child(odd) {
    margin-left: 0;
  }

  .archive-case:nth-child(n + 3) {
    margin-top: -2px;
  }
}

@media (max-width: 760px) {
  .site-header {
    gap: 12px;
  }

  .wordmark {
    font-size: 23px;
  }

  .site-header .btn {
    display: none;
  }

  h1 {
    font-size: clamp(44px, 12.8vw, 56px);
  }

  h2 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .hero-inner {
    padding-top: 46px;
  }

  .label {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: 9px;
    letter-spacing: 0.1em;
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .audit-stamp,
  .asterisk-field {
    display: none;
  }

  .hero-actions,
  .metric-banner,
  .filter-row,
  .case-meta,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
  }

  .btn-large {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    font-size: 12px;
  }

  .hero-plate img {
    min-height: 360px;
    height: 420px;
  }

  .hero-plate {
    box-shadow: 8px 8px 0 var(--ink);
  }

  .demo-hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 9.5vw, 40px);
    overflow-wrap: anywhere;
  }

  .demo-page h2 {
    max-width: 100%;
    font-size: clamp(33px, 9vw, 39px);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .demo-page .section,
  .demo-hero-inner {
    width: min(350px, calc(100vw - 40px));
    margin-right: auto;
    margin-left: 20px;
  }

  .demo-page .typed-note {
    max-width: 100%;
    padding-left: 16px;
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .demo-brief {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-shadow: 8px 8px 0 var(--ink);
  }

  .demo-workbench,
  .report-demo,
  .pipeline-demo {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .demo-input,
  .report-controls,
  .calendar-view,
  .message-view {
    padding: 18px;
  }

  .demo-pilot {
    padding: 16px;
  }

  .demo-brief p,
  .demo-output pre,
  .pipeline-card strong {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .demo-brief p {
    font-size: 15px;
  }

  .demo-output pre {
    max-width: 100%;
    overflow-x: hidden;
    font-size: 12px;
    white-space: pre-wrap;
  }

  .hero-plate figcaption,
  .case-card figcaption {
    right: 8px;
    left: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    font-size: 8px;
    text-align: center;
    white-space: normal;
  }

  .problem-grid,
  .principles-grid,
  .process-diagram,
  .three-columns,
  .case-grid,
  .addons-grid,
  .timeline-strip,
  .detail-blocks,
  .faq-list,
  .do-dont,
  .qualification,
  .report-metrics {
    grid-template-columns: 1fr;
  }

  .outline-card + .outline-card,
  .dark-card + .dark-card,
  .problem-card.offset,
  .dark-card.offset,
  .three-columns div + div,
  .archive-case + .archive-case,
  .addons-grid article + article,
  .timeline-strip div + div,
  .detail-blocks article + article,
  .faq-item:nth-child(even),
  .do-dont div + div,
  .report-metrics article + article {
    margin-left: 0;
    margin-top: -2px;
  }

  .report-metrics article + article {
    border-top: 2px solid var(--ink);
    border-left: 0;
  }

  .process-arrow {
    min-height: 42px;
  }

  .process-arrow::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
  }

  .process-arrow::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: calc(50% - 5px);
    transform: rotate(135deg);
  }

  .proof-metric,
  blockquote,
  .logo-grid {
    margin-left: 0;
    margin-top: -2px;
  }

  .metric-banner strong {
    text-align: left;
  }

  .filter-btn {
    width: 100%;
    margin-left: 0 !important;
  }

  .type-selector,
  .time-grid,
  .pipeline-controls {
    grid-template-columns: 1fr;
  }

  .pipeline-controls {
    display: grid;
  }

  .pipeline-controls .filter-btn + .filter-btn {
    margin-top: -2px;
    margin-left: 0;
  }

  .report-bar {
    grid-template-columns: 1fr 1fr 44px;
  }

  .type-selector button + button {
    margin-top: -2px;
    margin-left: 0;
  }

  .mini-calendar button {
    min-height: 52px;
  }

  .modal {
    padding: 12px;
  }

  .modal-dialog {
    box-shadow: 8px 8px 0 var(--red);
  }
}
