/* ═══════════════════════════════════════════════════════════════
   RESOLVE UNIT — styles.css  v3
   Minimal, premium, black & white
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --black:      #0a0a0a;
  --white:      #ffffff;
  --grey-100:   #f5f5f4;
  --grey-200:   #e8e8e6;
  --grey-400:   #b0b0aa;
  --grey-600:   #6b6b67;
  --grey-800:   #2a2a28;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  14px;

  --ease:       0.18s ease;

  --max-w:      1100px;
  --pad-x:      clamp(20px, 5vw, 48px);
  --section-v:  clamp(72px, 10vw, 120px);
}

/* ── Base ────────────────────────────────────────────────────── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; }

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

ol { list-style: none; }

/* ── Layout ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ── Shared Typography ───────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-600);
  margin-bottom: 14px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 400;
  line-height: 1.18;
  color: var(--black);
  letter-spacing: -0.02em;
}

.section-body {
  font-size: clamp(15px, 1.7vw, 17px);
  color: var(--grey-600);
  line-height: 1.72;
  max-width: 52ch;
}

.section-body + .section-body { margin-top: 14px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  padding: 11px 22px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    background var(--ease),
    color var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn--primary:hover {
  background: var(--grey-800);
  border-color: var(--grey-800);
  box-shadow: 0 2px 14px rgba(0,0,0,0.16);
}

.btn--large {
  font-size: 15px;
  padding: 13px 28px;
}

/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;    /* nudged from 64px — keeps logo from feeling clipped */
}

/* ── Logo ────────────────────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  color: var(--black);
  flex-shrink: 0;
}

/* Full horizontal logo — desktop */
.logo-full {
  height: 40px;    /* ~54% over original 26px — strong brand presence */
  width: auto;
  display: block;
}

/* Icon-only — mobile, hidden by default */
.logo-icon {
  height: 34px;    /* proportionate mobile scale */
  width: 34px;
  display: none;
}

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 13px;
  font-weight: 400;
  color: var(--grey-600);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--ease), background var(--ease);
}

.nav-link:hover {
  color: var(--black);
  background: var(--grey-100);
}

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  background: var(--black);
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--black);
  transition: background var(--ease), box-shadow var(--ease);
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--grey-800);
  box-shadow: 0 2px 10px rgba(0,0,0,0.14);
}

/* ══════════════════════════════════════════════════════════════
   HERO
   — Reduced top padding so headline sits higher on the page.
   — Grid opacity lowered so it doesn't compete with content.
══════════════════════════════════════════════════════════════ */
.hero {
  padding-top: clamp(56px, 8vw, 96px);   /* was clamp(88px, 13vw, 148px) */
  padding-bottom: clamp(64px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}

/* Background grid — kept very subtle */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grey-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--grey-200) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.2;                           /* was 0.32 — softer, won't compete */
  pointer-events: none;
}

/* Fade the grid out at the bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-600);
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 28px;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--black);
  max-width: 16ch;
  margin-bottom: 28px;
}

.hero-heading em {
  font-style: italic;
  color: var(--grey-600);
}

.hero-body {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--grey-600);
  line-height: 1.68;
  max-width: 50ch;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/*
  Secondary "See what we build" — demoted from btn--ghost to a quiet text link.
  Clearly subordinate to the primary CTA without a competing border/fill.
*/
.hero-secondary-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--grey-600);
  text-decoration: underline;
  text-decoration-color: var(--grey-200);
  text-underline-offset: 3px;
  transition: color var(--ease), text-decoration-color var(--ease);
}

.hero-secondary-link:hover {
  color: var(--black);
  text-decoration-color: var(--grey-400);
}

/* Small reassurance line beneath the hero CTA group */
.hero-reassurance {
  margin-top: 14px;
  font-size: 12px;
  color: var(--grey-400);
  letter-spacing: 0.01em;
}

.hero-rule {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 8vw, 88px);
  height: 1px;
  background: var(--grey-200);
}

/* ══════════════════════════════════════════════════════════════
   MID-PAGE CTA
   Slim conversion strip between services and process sections.
══════════════════════════════════════════════════════════════ */
.mid-cta {
  padding-block: clamp(40px, 5vw, 56px);
  background: var(--grey-100);
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}

.mid-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.mid-cta-text {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--black);
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 44ch;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════
   PROBLEM
══════════════════════════════════════════════════════════════ */
.problem {
  padding-block: var(--section-v);
  background: var(--grey-100);
  border-bottom: 1px solid var(--grey-200);
}

.problem-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.problem-text .section-heading {
  margin-bottom: 24px;
}

/* Pillars */
.problem-pillars {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--grey-200);
  transition: background var(--ease);
}

.pillar:last-child { border-bottom: none; }

.pillar:hover { background: var(--grey-100); }

.pillar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--black);
  flex-shrink: 0;
  margin-top: 7px;
}

.pillar-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

.pillar-desc {
  font-size: 13px;
  color: var(--grey-600);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════════════ */
.services {
  padding-block: var(--section-v);
  border-bottom: 1px solid var(--grey-200);
}

.section-intro {
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-intro .section-heading {
  margin-top: 6px;
  max-width: 28ch;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-200);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--white);
  padding: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background var(--ease);
}

.service-card:hover { background: var(--grey-100); }

.service-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  color: var(--black);
  flex-shrink: 0;
}

.service-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.service-body {
  font-size: 14px;
  color: var(--grey-600);
  line-height: 1.68;
}

/* ══════════════════════════════════════════════════════════════
   PROCESS
══════════════════════════════════════════════════════════════ */
.process {
  padding-block: var(--section-v);
  background: var(--grey-100);
  border-bottom: 1px solid var(--grey-200);
}

.process-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.process-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: start;
  padding: clamp(22px, 3vw, 34px) clamp(24px, 4vw, 44px);
  border-bottom: 1px solid var(--grey-200);
  transition: background var(--ease);
}

.process-step:last-child { border-bottom: none; }

.process-step:hover { background: var(--grey-100); }

.process-number {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--grey-400);
  padding-top: 3px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.process-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}

.process-body {
  font-size: 14px;
  color: var(--grey-600);
  line-height: 1.68;
  max-width: 60ch;
}

/* ══════════════════════════════════════════════════════════════
   CTA
══════════════════════════════════════════════════════════════ */
.cta {
  padding-block: var(--section-v);
  background: var(--black);
  position: relative;
  overflow: hidden;
}

/* Dot matrix texture */
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.cta .section-label { color: rgba(255,255,255,0.38); }

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-top: 8px;
  margin-bottom: 18px;
}

.cta-body {
  font-size: clamp(15px, 1.8vw, 17px);
  color: rgba(255,255,255,0.5);
  line-height: 1.68;
  max-width: 46ch;
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

/* CTA primary — inverted: white fill on dark background */
.cta .btn--primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.cta .btn--primary:hover {
  background: var(--grey-100);
  border-color: var(--grey-100);
  box-shadow: 0 4px 20px rgba(255,255,255,0.12);
}

.cta-email {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.18);
  text-underline-offset: 3px;
  transition: color var(--ease);
}

.cta-email:hover { color: rgba(255,255,255,0.75); }

/* CTA decorative icon mark */
.cta-decoration {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.cta-mark {
  width: clamp(160px, 18vw, 240px);
  height: clamp(160px, 18vw, 240px);
  color: rgba(255,255,255,0.30);  /* increased from 0.18 — visible but still refined */
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   — Logo uses hardcoded fill="#ffffff" in the SVG markup.
   — No color, opacity, or currentColor override applied here.
   — Only size and layout rules live in CSS.
══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* No color rule on .footer-logo — fill is set directly in SVG */
.footer-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.footer-logo-svg {
  height: 32px;       /* ~20% increase for better balance and legibility */
  width: auto;
  display: block;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
}

.footer-email {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.18);
  text-underline-offset: 3px;
  transition: color var(--ease);
}

.footer-email:hover { color: rgba(255,255,255,0.8); }

/* Footer right: book link + email grouped together */
.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-book-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--ease), border-color var(--ease);
  white-space: nowrap;
}

.footer-book-link:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.28);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */

/* Tablet ≤ 900px */
@media (max-width: 900px) {
  .problem-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-decoration {
    display: none;
  }
}

/* Mobile ≤ 600px */
@media (max-width: 600px) {

  /* Swap to icon-only logo in header */
  .logo-full  { display: none; }
  .logo-icon  { display: block; }

  /* Hide text nav links, keep CTA button */
  .nav-link { display: none; }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  /* Secondary text link: full width on mobile for tap target */
  .hero-secondary-link {
    width: 100%;
    text-align: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .mid-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .mid-cta-inner .btn {
    width: 100%;
    justify-content: center;
  }

  .process-step {
    grid-template-columns: 52px 1fr;
  }

  .pillar { padding: 20px; }
}

/* ── Focus / Accessibility ───────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.cta :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--white);
}
