:root {
  --ink: #0F1A2B;
  --ink-soft: #1C2A42;
  --paper: #F5F1EA;
  --paper-warm: #EDE6D8;
  --ochre: #C9822C;
  --ochre-dark: #A0651D;
  --rust: #8B3A1F;
  --rule: #D6CDB9;
  --muted: #6B7489;
  --green: #2D5A3D;
  --display: "Fraunces", Georgia, serif;
  --body: "Inter Tight", -apple-system, sans-serif;
  --mono: "JetBrains Mono", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15,26,43,0.04) 1px, transparent 0);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

/* ===== NAV ===== */
nav {
  position: sticky;
  top: 0;
  background: rgba(245, 241, 234, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  z-index: 100;
  padding: 18px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.logo-mark {
  width: 28px; height: 28px;
  background: var(--ink);
  position: relative;
  display: inline-block;
}
.logo-mark::after {
  content: "";
  position: absolute;
  top: 6px; left: 6px;
  width: 8px; height: 8px;
  background: var(--ochre);
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--ochre); }
button.nav-cta {
  border: none;
  cursor: pointer;
  font: inherit;
  font-family: var(--body);
}

/* ===== HERO ===== */
.hero {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -100px;
  top: 60px;
  width: 500px; height: 500px;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 18px,
      rgba(201, 130, 44, 0.06) 18px,
      rgba(201, 130, 44, 0.06) 19px
    );
  pointer-events: none;
}

.hero-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre-dark);
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--ochre-dark);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 1000px;
  margin-bottom: 32px;
}
.hero h1 em {
  font-style: italic;
  color: var(--ochre-dark);
  font-weight: 400;
}

.hero-sub {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 48px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  padding: 16px 28px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}
.btn-primary:hover {
  background: var(--ochre);
  transform: translateY(-1px);
}
button.btn-primary {
  border: none;
  cursor: pointer;
  font: inherit;
  font-family: inherit;
}
.btn-secondary {
  color: var(--ink);
  padding: 16px 4px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  transition: color 0.2s;
}
.btn-secondary:hover { color: var(--ochre-dark); border-color: var(--ochre-dark); }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  padding-top: 32px;
  gap: 32px;
}
.metric-num {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
}
.metric-num em {
  font-style: italic;
  color: var(--ochre-dark);
}
.metric-label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* ===== PAIN SECTION ===== */
.pain {
  padding: 120px 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
}
.pain::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(245,241,234,0.03) 1px, transparent 0);
  background-size: 4px 4px;
  pointer-events: none;
}
.section-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: "§";
  font-family: var(--display);
  font-size: 16px;
  font-style: italic;
}
.pain h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
  max-width: 820px;
  margin-bottom: 80px;
}
.pain h2 em {
  font-style: italic;
  color: var(--ochre);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(245,241,234,0.15);
}
.pain-item {
  padding: 40px 32px 40px 0;
  border-bottom: 1px solid rgba(245,241,234,0.15);
  border-right: 1px solid rgba(245,241,234,0.15);
  position: relative;
}
.pain-item:nth-child(3n) { border-right: none; padding-right: 0; }
.pain-item:nth-child(3n+1) { padding-left: 0; }
.pain-item:not(:nth-child(3n+1)) { padding-left: 32px; }

.pain-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ochre);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}
.pain-item h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.pain-item p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(245,241,234,0.75);
}

/* ===== SOLUTION ===== */
.solution {
  padding: 120px 0;
  background: var(--paper-warm);
}
.solution-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}
.solution h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.solution h2 em {
  font-style: italic;
  color: var(--ochre-dark);
}
.solution-intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.workflow-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.workflow-row:last-child { border-bottom: 1px solid var(--rule); }

.workflow-meta {
  position: sticky;
  top: 100px;
}
.workflow-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 48px;
  font-weight: 400;
  color: var(--ochre-dark);
  line-height: 1;
  margin-bottom: 12px;
}
.workflow-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.workflow-body h3 {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.workflow-body > p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 620px;
}
.before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 20px 24px;
  max-width: 620px;
}
.ba-col { }
.ba-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.ba-value {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.ba-after .ba-value {
  color: var(--ochre-dark);
}
.ba-arrow {
  color: var(--ochre-dark);
  font-size: 18px;
}

/* ===== TESTIMONIAL ===== */
.testimonial {
  padding: 140px 0;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.testimonial-inner {
  max-width: 940px;
  margin: 0 auto;
}
.testimonial-quote-mark {
  font-family: var(--display);
  font-style: italic;
  font-size: 140px;
  line-height: 0.8;
  color: var(--ochre);
  margin-bottom: 20px;
  display: block;
}
.testimonial-quote {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 48px;
}
.testimonial-quote em {
  font-style: italic;
  color: var(--ochre-dark);
}
.testimonial-attribution {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.avatar {
  width: 64px; height: 64px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
}
.attr-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.attr-title {
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
}
.attr-stats {
  display: flex;
  gap: 28px;
  text-align: right;
}
.attr-stat-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 24px;
  color: var(--ochre-dark);
  line-height: 1;
}
.attr-stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ===== HOW IT WORKS ===== */
.how {
  padding: 120px 0;
  background: var(--paper-warm);
}
.how-header {
  margin-bottom: 72px;
  max-width: 720px;
}
.how h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin-bottom: 20px;
}
.how h2 em { font-style: italic; color: var(--ochre-dark); }
.how-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}
.how-step {
  padding: 32px 24px 32px 0;
  border-right: 1px solid var(--rule);
  position: relative;
}
.how-step:last-child { border-right: none; }
.how-step:not(:first-child) { padding-left: 24px; }
.how-step-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--ochre-dark);
  margin-bottom: 20px;
}
.how-step h4 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.how-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ===== TRUST ===== */
.trust {
  padding: 120px 0;
  background: var(--paper);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.trust h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin-bottom: 32px;
}
.trust h2 em { font-style: italic; color: var(--ochre-dark); }
.trust-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.trust-list {
  list-style: none;
}
.trust-list li {
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: start;
}
.trust-list li:last-child { border-bottom: 1px solid var(--rule); }
.trust-check {
  font-family: var(--display);
  font-style: italic;
  color: var(--ochre-dark);
  font-size: 20px;
  line-height: 1.4;
}
.trust-list h4 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.trust-list p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ===== PRICING / ROI ===== */
.roi {
  padding: 120px 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.roi::before {
  content: "";
  position: absolute;
  left: -200px;
  bottom: -200px;
  width: 600px; height: 600px;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent 0,
      transparent 22px,
      rgba(201, 130, 44, 0.08) 22px,
      rgba(201, 130, 44, 0.08) 23px
    );
  pointer-events: none;
}
.roi-inner {
  max-width: 900px;
  position: relative;
}
.roi h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin-bottom: 32px;
}
.roi h2 em { font-style: italic; color: var(--ochre); }
.roi p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(245,241,234,0.8);
  margin-bottom: 48px;
  max-width: 640px;
}
.roi-example {
  background: var(--ink-soft);
  border: 1px solid rgba(245,241,234,0.15);
  padding: 40px;
  margin-bottom: 48px;
}
.roi-example-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 20px;
}
.roi-ledger {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 40px;
  font-size: 15px;
}
.roi-ledger dt {
  color: rgba(245,241,234,0.7);
  padding: 8px 0;
  border-bottom: 1px dotted rgba(245,241,234,0.2);
}
.roi-ledger dd {
  text-align: right;
  padding: 8px 0;
  border-bottom: 1px dotted rgba(245,241,234,0.2);
  font-family: var(--mono);
}
.roi-ledger .total dt,
.roi-ledger .total dd {
  font-family: var(--display);
  font-size: 22px;
  border-bottom: none;
  padding-top: 16px;
  color: var(--ochre);
  font-style: italic;
  font-weight: 500;
}
.roi-ledger .total dt { font-style: normal; }

/* ===== FINAL CTA ===== */
.final {
  padding: 140px 0;
  background: var(--paper);
  text-align: center;
  border-top: 1px solid var(--rule);
}
.final h2 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 900px;
  margin: 0 auto 28px;
}
.final h2 em {
  font-style: italic;
  color: var(--ochre-dark);
}
.final p {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.final-note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-top: 32px;
  letter-spacing: 0.05em;
}

/* ===== BOOKING FORM ===== */
.booking-section-inner {
  max-width: 720px;
  margin: 0 auto;
}
.booking-lead {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.booking-lead--teaser {
  margin-bottom: 32px;
}
.booking-lead--modal {
  text-align: left;
  margin-bottom: 16px;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}
.booking-dialog-scroll > .booking-lead--modal {
  flex-shrink: 0;
}

/* Booking modal (<dialog>) */
.booking-dialog {
  border: none;
  border-radius: 0;
  padding: 0;
  margin: auto;
  max-width: 720px;
  width: calc(100vw - 48px);
  max-height: min(92vh, 920px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(15, 26, 43, 0.18);
}
.booking-dialog::backdrop {
  background: rgba(15, 26, 43, 0.45);
  backdrop-filter: blur(6px);
}
.booking-dialog-scroll {
  position: relative;
  max-height: min(92vh, 920px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 28px 36px 20px;
  text-align: left;
}
@media (max-width: 600px) {
  .booking-dialog-scroll {
    padding: 24px 20px 16px;
  }
}
.booking-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
  border-radius: 4px;
  z-index: 1;
}
.booking-dialog-close:hover {
  color: var(--ink);
  background: rgba(15, 26, 43, 0.06);
}
.booking-dialog-title {
  font-family: var(--display);
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 48px 8px 0;
  color: var(--ink);
  flex-shrink: 0;
}
.booking-dialog-title em {
  font-style: italic;
  color: var(--ochre-dark);
}
.final .btn-primary {
  margin-top: 0;
}
.booking-form-error {
  background: rgba(139, 58, 31, 0.08);
  border: 1px solid rgba(139, 58, 31, 0.35);
  color: var(--rust);
  padding: 14px 18px;
  margin-bottom: 16px;
  font-size: 14px;
  text-align: left;
  flex-shrink: 0;
}
.booking-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.booking-form-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  margin-right: -4px;
}
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin-bottom: 18px;
}
.booking-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.booking-field-wide {
  grid-column: 1 / -1;
}
.booking-field-block {
  margin-bottom: 14px;
}
.booking-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre-dark);
  font-weight: 500;
}
.booking-hint {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--body);
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}
.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"],
.booking-form select,
.booking-form textarea {
  font-family: var(--body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.booking-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7489' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.booking-form textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.5;
}
.booking-form-body textarea {
  min-height: 56px;
}
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(15, 26, 43, 0.08);
}
.booking-fieldset {
  border: none;
  margin: 0 0 16px;
  padding: 0;
}
.booking-fieldset .booking-label {
  margin-bottom: 8px;
  display: block;
}
.booking-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.booking-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--rule);
  background: var(--paper-warm);
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  user-select: none;
}
.booking-chip:hover {
  border-color: var(--ink);
}
.booking-chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.booking-chip:focus-within {
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
}
.booking-chip--on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.booking-actions {
  flex-shrink: 0;
  margin-top: 0;
  padding-top: 16px;
  padding-bottom: 4px;
  text-align: center;
  background: var(--paper);
  box-shadow: 0 -12px 24px var(--paper);
}
.booking-actions .btn-primary {
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  max-width: 420px;
}
.booking-actions .btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Success overlay */
.booking-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(245, 241, 234, 0.96);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bookingFadeIn 0.35s ease forwards;
}
.booking-success-overlay[hidden] {
  display: none;
}
@keyframes bookingFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.booking-success-card {
  text-align: center;
  padding: 48px 40px;
  max-width: 360px;
}
.booking-success-check {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  color: var(--green);
}
.booking-success-circle {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: bookingRing 0.7s ease forwards 0.1s;
}
.booking-success-path {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: bookingDraw 0.55s ease forwards 0.45s;
}
@keyframes bookingRing {
  to { stroke-dashoffset: 0; }
}
@keyframes bookingDraw {
  to { stroke-dashoffset: 0; }
}
.booking-success-title {
  font-family: var(--display);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.booking-success-sub {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ===== CAREERS ===== */
.careers-hero {
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.careers-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 80px;
  width: 560px; height: 560px;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 18px,
      rgba(201, 130, 44, 0.06) 18px,
      rgba(201, 130, 44, 0.06) 19px
    );
  pointer-events: none;
}
.careers-hero h1 {
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 1000px;
  margin-bottom: 32px;
}
.careers-hero h1 em {
  font-style: italic;
  color: var(--ochre-dark);
  font-weight: 400;
}
.careers-hero .hero-sub {
  max-width: 680px;
}

.values {
  padding: 120px 0;
  background: var(--paper-warm);
}
.values-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}
.values h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.values h2 em {
  font-style: italic;
  color: var(--ochre-dark);
}
.values-intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.value-item {
  padding: 36px 28px 36px 0;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.value-item:nth-child(3n) { border-right: none; padding-right: 0; }
.value-item:nth-child(3n+1) { padding-left: 0; }
.value-item:not(:nth-child(3n+1)) { padding-left: 28px; }
.value-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 32px;
  color: var(--ochre-dark);
  line-height: 1;
  margin-bottom: 18px;
}
.value-item h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.value-item p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Open positions */
.positions {
  padding: 120px 0;
  background: var(--paper);
}
.positions-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 56px;
}
.positions h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.positions h2 em { font-style: italic; color: var(--ochre-dark); }
.positions-intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.positions-list {
  border-top: 1px solid var(--ink);
}
.position {
  border-bottom: 1px solid var(--rule);
}
.position[open] {
  background: var(--paper-warm);
}
.position-summary {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 28px 24px 28px 0;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s;
  position: relative;
}
.position-summary::-webkit-details-marker { display: none; }
.position:hover .position-summary {
  background: var(--paper-warm);
}
.position[open] .position-summary {
  padding-bottom: 20px;
}
.position-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ochre-dark);
  padding-left: 24px;
}
.position-title {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
}
.position-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  line-height: 1.5;
}
.position-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  margin-right: 24px;
}
.position:hover .position-toggle {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.position[open] .position-toggle {
  background: var(--ochre);
  color: var(--ink);
  border-color: var(--ochre);
}
.position[open] .position-toggle::after { content: "−"; }
.position:not([open]) .position-toggle::after { content: "+"; }

.position-body {
  padding: 8px 24px 48px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
}
.position-body-inner {
  grid-column: 2;
  max-width: 760px;
}
.position-lead {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.position-lead em {
  font-style: italic;
  color: var(--ochre-dark);
}
.position-body h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ochre-dark);
  margin: 28px 0 14px;
  font-weight: 500;
}
.position-body h4:first-of-type { margin-top: 0; }
.position-body ul {
  list-style: none;
  margin-bottom: 8px;
}
.position-body ul li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  border-bottom: 1px dotted var(--rule);
}
.position-body ul li:last-child { border-bottom: none; }
.position-body ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--ochre-dark);
  font-family: var(--display);
}
.position-apply {
  margin-top: 36px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.position-apply-note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Careers CTA */
.careers-cta {
  padding: 120px 0;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.careers-cta::before {
  content: "";
  position: absolute;
  left: -150px;
  bottom: -150px;
  width: 500px; height: 500px;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent 0,
      transparent 20px,
      rgba(201, 130, 44, 0.08) 20px,
      rgba(201, 130, 44, 0.08) 21px
    );
  pointer-events: none;
}
.careers-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.careers-cta h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin-bottom: 24px;
}
.careers-cta h2 em { font-style: italic; color: var(--ochre); }
.careers-cta p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(245,241,234,0.75);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.careers-cta .btn-primary {
  background: var(--ochre);
  color: var(--ink);
}
.careers-cta .btn-primary:hover {
  background: var(--paper);
}

@media (max-width: 900px) {
  .careers-hero { padding: 70px 0 50px; }
  .values-header,
  .positions-header { grid-template-columns: 1fr; gap: 24px; }
  .values-grid { grid-template-columns: 1fr; }
  .value-item {
    border-right: none !important;
    padding: 28px 0 !important;
  }
  .position-summary {
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 24px 16px 24px 0;
  }
  .position-num {
    grid-column: 1 / -1;
    padding-left: 16px;
  }
  .position-title {
    grid-column: 1;
    padding-left: 16px;
  }
  .position-meta {
    grid-column: 1 / -1;
    text-align: left;
    padding-left: 16px;
  }
  .position-toggle { margin-right: 16px; }
  .position-body {
    grid-template-columns: 1fr;
    padding: 0 16px 36px;
  }
  .position-body-inner { grid-column: 1; }
}

/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 60px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(245,241,234,0.15);
}
.footer-brand p {
  font-size: 14px;
  color: rgba(245,241,234,0.65);
  line-height: 1.6;
  margin-top: 20px;
  max-width: 340px;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: rgba(245,241,234,0.75);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--ochre); }
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(245,241,234,0.5);
  font-family: var(--mono);
  letter-spacing: 0.05em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .nav-links { display: none; }
  .hero { padding: 60px 0 50px; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .pain-grid { grid-template-columns: 1fr; }
  .pain-item {
    border-right: none !important;
    padding: 32px 0 !important;
  }
  .solution-header { grid-template-columns: 1fr; gap: 24px; }
  .workflow-row { grid-template-columns: 1fr; gap: 24px; }
  .workflow-meta { position: static; }
  .before-after { grid-template-columns: 1fr; gap: 12px; }
  .ba-arrow { display: none; }
  .how-steps { grid-template-columns: 1fr; }
  .how-step {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 24px 0 !important;
  }
  .trust-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .testimonial-attribution { grid-template-columns: 1fr; gap: 20px; }
  .attr-stats { justify-content: flex-start; }
  .roi-example { padding: 28px 20px; }
  .roi-ledger { gap: 12px 20px; }
  .booking-grid { grid-template-columns: 1fr; }
  .booking-chips { gap: 8px; }
}
