/* ============ Base ============ */
* { box-sizing: border-box; }

:root {
  --ink: #1c1b19;
  --paper: #f6f4ef;
  --paper-warm: #f1efe8;
  --paper-deep: #eeebe4;
  --dark: #1c1b19;
  --dark-deep: #161513;
  --accent: #a06b3a;
  --ink-70: rgba(28, 27, 25, .7);
  --ink-55: rgba(28, 27, 25, .55);
  --ink-50: rgba(28, 27, 25, .5);
  --paper-66: rgba(246, 244, 239, .66);
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

html { scroll-behavior: smooth; }

.serif { font-family: 'Spectral', serif; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 56px; }

.kick {
  font: 500 12px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-50);
}

/* ============ Buttons & links ============ */
.btn-d {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 100px;
  transition: opacity .2s;
}
.btn-d:hover { opacity: .82; }

.btn-o {
  display: inline-block;
  white-space: nowrap;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 100px;
  transition: background .2s, color .2s;
}
.btn-o:hover { background: var(--ink); color: var(--paper); }

.link-u {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: opacity .2s;
}
.link-u:hover { opacity: .6; }

/* ============ Nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 244, 239, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(28, 27, 25, .09);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand { display: flex; align-items: center; gap: 11px; }

.brand-mark {
  width: 30px; height: 30px;
  border: 1.5px solid var(--ink);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font: 600 12px var(--mono);
}

.brand-name { font-weight: 600; font-size: 19px; letter-spacing: -.01em; }

.nav { display: flex; gap: 34px; align-items: center; font-size: 14px; }

.nav-link { color: rgba(28, 27, 25, .62); transition: color .2s; }
.nav-link:hover { color: var(--ink); }

.btn-nav { padding: 9px 18px; }

/* ============ Hero ============ */
.hero { padding: 96px 0 84px; border-bottom: 1px solid rgba(28, 27, 25, .1); }

.hero-kick { margin-bottom: 30px; }

.h1 {
  font-size: 72px;
  line-height: 1.02;
  letter-spacing: -.025em;
  font-weight: 500;
  margin: 0 0 30px;
  max-width: 940px;
  text-wrap: balance;
}

.hero-sub {
  font-size: 20px;
  line-height: 1.65;
  color: var(--ink-70);
  margin: 0 0 38px;
  max-width: 580px;
}

.hero-ctas { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

.hero-alt-link { font-size: 15px; }

/* ============ Trust strip ============ */
.trust {
  padding: 30px 0;
  border-bottom: 1px solid rgba(28, 27, 25, .1);
  background: var(--paper-warm);
}

.trust-row { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }

.trust-kick { flex: none; }

.trust-logos {
  display: flex;
  gap: 36px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 19px;
  color: rgba(28, 27, 25, .42);
}

/* ============ Sections shared ============ */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 52px;
  flex-wrap: wrap;
  gap: 12px;
}

.h2 { font-size: 38px; font-weight: 500; letter-spacing: -.015em; margin: 0; }

/* ============ Services ============ */
.services { padding: 96px 0; }

.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 44px; }

.svc { border-top: 2px solid var(--ink); padding-top: 22px; transition: border-color .25s; }
.svc:hover { border-color: var(--accent); }

.svc-title { font-style: italic; color: var(--ink-50); font-size: 18px; margin-bottom: 14px; }

.svc-body { font-size: 15px; line-height: 1.68; color: rgba(28, 27, 25, .74); margin: 0 0 18px; }

.svc-tags { font: 400 13px/1.7 var(--mono); color: var(--ink-50); }

/* ============ Process ============ */
.process {
  padding: 88px 0;
  background: var(--paper-deep);
  border-top: 1px solid rgba(28, 27, 25, .1);
  border-bottom: 1px solid rgba(28, 27, 25, .1);
}

.process-note { font-size: 15px; color: var(--ink-55); max-width: 340px; text-align: right; }

.grid4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 36px; }

.step-num { font-size: 48px; color: rgba(28, 27, 25, .24); line-height: 1; margin-bottom: 16px; }

.step h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; }

.step p { font-size: 14px; line-height: 1.62; color: rgba(28, 27, 25, .68); margin: 0; }

/* ============ Case study ============ */
.case { padding: 100px 0; }

.case-kick { margin-bottom: 40px; }

.case-split {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
}

.case-stat { text-align: center; }

.case-num { font-size: 132px; font-weight: 500; line-height: .86; letter-spacing: -.04em; }

.case-stat .kick { margin-top: 12px; }

.case-detail { border-left: 1px solid rgba(28, 27, 25, .15); padding-left: 64px; }

.case-quote {
  font-size: 29px;
  line-height: 1.38;
  font-weight: 400;
  margin: 0 0 22px;
  text-wrap: pretty;
}

.case-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(28, 27, 25, .58);
}

.case-meta strong { color: var(--ink); font-weight: 600; }

/* ============ Contact ============ */
.contact { padding: 108px 0; background: var(--dark); color: var(--paper); }

.contact-inner { max-width: 640px; margin: 0 auto; text-align: center; }

.contact-h2 {
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -.02em;
  margin: 0 0 22px;
  line-height: 1.03;
  text-wrap: balance;
}

.contact-sub {
  font-size: 18px;
  line-height: 1.62;
  color: var(--paper-66);
  margin: 0 auto 36px;
  max-width: 480px;
}

.btn-book {
  display: inline-block;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  padding: 17px 38px;
  border-radius: 100px;
  transition: opacity .2s;
}
.btn-book:hover { opacity: .88; }

.contact-info { font: 400 14px/1.9 var(--mono); color: rgba(246, 244, 239, .7); margin-top: 28px; }
.contact-info a { border-bottom: 1px solid rgba(246, 244, 239, .35); padding-bottom: 1px; }
.contact-info a:hover { color: var(--paper); }

/* ============ Footer ============ */
.site-footer { padding: 34px 0; background: var(--dark-deep); color: rgba(246, 244, 239, .5); }

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
}

.footer-brand { font-size: 15px; color: rgba(246, 244, 239, .75); }

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .wrap { padding: 0 28px; }

  .h1 { font-size: 44px; }
  .hero { padding: 72px 0 64px; }

  .grid3, .grid4 { grid-template-columns: 1fr; }
  .grid4 { gap: 40px; }

  .section-head { flex-direction: column; align-items: flex-start; }
  .process-note { text-align: left; max-width: 480px; }

  .case { padding: 72px 0; }
  .case-split { grid-template-columns: 1fr; gap: 40px; }
  .case-stat { text-align: left; }
  .case-detail { border-left: 0; padding-left: 0; border-top: 1px solid rgba(28, 27, 25, .15); padding-top: 40px; }
  .case-num { font-size: 96px; }
  .case-quote { font-size: 23px; }

  .contact-h2 { font-size: 40px; }

  .services, .contact { padding: 72px 0; }
  .process { padding: 64px 0; }
}

@media (max-width: 700px) {
  .nav { gap: 0; }
  .nav-link { display: none; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 20px; }

  .h1 { font-size: 37px; }
  .hero-sub { font-size: 17px; }

  .h2 { font-size: 31px; }
  .contact-h2 { font-size: 34px; }

  .btn-d, .btn-book { width: 100%; text-align: center; box-sizing: border-box; }

  .trust-logos { gap: 20px 28px; font-size: 17px; }
}
