/* Meep Consulting — style built from /tmp/DESIGN.md (Stripe-style tokens).
   sohne-var is Stripe's own proprietary font; DESIGN.md's own substitute
   recommendation (Inter Tight, weights 300/400) is used instead. */

:root {
  --color-indigo-ink: #533afd;
  --color-indigo-hover: #7389ff;
  --color-midnight-ink: #061b31;
  --color-slate: #64748d;
  --color-steel: #50617a;
  --color-smoke: #839bc8;
  --color-pure-white: #ffffff;
  --color-mist: #f8fafd;
  --color-frost: #e5edf5;
  --color-lavender-border: #b9b9f9;
  --color-lilac-border: #d6d9fc;
  --color-periwinkle-wash: #e8e9ff;

  --font-sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --page-max-width: 1320px;
  --section-gap: 96px;
  --card-padding: 32px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  background: var(--color-pure-white);
  color: var(--color-midnight-ink);
  font-family: var(--font-sans);
  font-weight: 300;
  font-feature-settings: "ss01" on, "tnum" on;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 32px;
}

a { color: inherit; }

/* ---------- Navigation Bar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--color-pure-white);
  border-bottom: 1px solid var(--color-frost);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  flex-wrap: wrap;
  padding: 12px 0;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.16px;
  text-decoration: none;
  color: var(--color-midnight-ink);
  margin-right: auto;
}
.wordmark svg { flex-shrink: 0; }
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  color: var(--color-midnight-ink);
}
.nav-links a:hover { color: var(--color-indigo-ink); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; gap: 4px; font-size: 12px; }
.lang-switch a {
  padding: 4px 8px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-slate);
}
.lang-switch a[aria-current="true"] {
  color: var(--color-midnight-ink);
  background: var(--color-frost);
  font-weight: 400;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-indigo-ink);
  color: var(--color-pure-white);
  border: 1px solid var(--color-indigo-ink);
  padding: 15.5px 24px;
}
.btn-primary:hover { background: var(--color-indigo-hover); border-color: var(--color-indigo-hover); }
.btn-ghost {
  background: transparent;
  color: var(--color-indigo-ink);
  border: 1px solid var(--color-lavender-border);
  padding: 14.5px 24px;
}
.btn-ghost:hover { background: var(--color-periwinkle-wash); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-content { position: relative; z-index: 2; padding: 80px 0 var(--section-gap); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* White-to-transparent scrim over the photo, left to right: the hero
     text lives on the left, so that side stays near-opaque white while
     the image shows through more clearly on the right, past the text. */
  background-image:
    linear-gradient(90deg, #fff 0%, #fff 15%, rgba(255, 255, 255, 0.85) 35%, rgba(255, 255, 255, 0.25) 60%, rgba(255, 255, 255, 0) 80%),
    url("/images/background02.jpg");
  /* contain (not cover) on the photo: it's much wider than the hero box,
     so cover was cropping its right side off. This shows it in full,
     letterboxed top/bottom in white - which reads fine on this design. */
  background-size: cover, contain;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  /* Fades to transparent toward the bottom edge so it blends into the
     divider below instead of ending on a hard line. */
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}
.eyebrow {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-slate);
  margin: 0 0 16px;
}
.hero h1 {
  font-size: 56px;
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -1.4px;
  margin: 0 0 24px;
  max-width: 18ch;
}
.hero p.lead {
  font-size: 22px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.22px;
  color: var(--color-slate);
  max-width: 46ch;
  margin: 0 0 40px;
}
.cta-pair { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Section scaffolding ---------- */
section { padding: var(--section-gap) 0; }
.divider { border: none; border-top: 1px solid var(--color-frost); margin: 0; }
.section-label {
  font-size: 12px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-smoke);
  margin: 0 0 16px;
}
.section-head h2 {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -0.96px;
  margin: 0 0 24px;
  max-width: 22ch;
}
.section-head p {
  font-size: 22px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-slate);
  max-width: 52ch;
  margin: 0;
}

/* ---------- Method: numbered steps ---------- */
.steps { margin-top: 64px; display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--color-frost);
}
.step:last-child { border-bottom: 1px solid var(--color-frost); }
.step-index {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.64px;
  color: var(--color-periwinkle-wash);
  font-feature-settings: "tnum" on;
}
.step h3 {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.26px;
  margin: 0 0 8px;
}
.step p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-steel);
  margin: 0;
  max-width: 62ch;
}

/* ---------- Cards grid ---------- */
.card-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 24px;
}
.card { padding: var(--card-padding) 0 0; }
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--color-periwinkle-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.card h3 {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.2px;
  margin: 0 0 12px;
}
.card p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-steel);
  margin: 0;
}

/* ---------- Principle / control section ---------- */
.principle {
  background: var(--color-mist);
}
.principle-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.principle h2 {
  font-size: 40px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.8px;
  margin: 0;
  max-width: 16ch;
}
.principle-points { display: flex; flex-direction: column; gap: 32px; }
.principle-point { display: flex; gap: 16px; }
.principle-point svg { flex-shrink: 0; margin-top: 2px; }
.principle-point h4 {
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 4px;
}
.principle-point p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-steel);
  margin: 0;
}

/* ---------- Contact ---------- */
.contact { text-align: left; }
.contact-box {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--color-frost);
}

/* ---------- Footer ---------- */
footer { background: var(--color-mist); padding: 48px 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--color-slate);
}
.footer-inner a { text-decoration: none; color: var(--color-slate); }
.footer-inner a:hover { color: var(--color-indigo-ink); }
.footer-links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero h1 { font-size: 40px; letter-spacing: -0.8px; }
  .section-head h2 { font-size: 32px; letter-spacing: -0.64px; }
  .card-grid { grid-template-columns: 1fr; }
  .principle-inner { grid-template-columns: 1fr; gap: 32px; }
  .step { grid-template-columns: 40px 1fr; }
}

/* ---------- Section snap (desktop only) ----------
   Forcing every section to at least one screen tall reads fine on a
   laptop/desktop viewport but leaves large dead white gaps on a phone,
   where content is shorter relative to the (often taller) viewport and
   type is already smaller. Scoped above the mobile breakpoint above, so
   phones keep plain, untouched scrolling - nothing here applies below
   861px. */
@media (min-width: 861px) {
  html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    /* Leaves room for the sticky nav so a snapped (or anchor-linked)
       section's top edge doesn't end up hidden underneath it. */
    scroll-padding-top: 77px;
  }
  section {
    scroll-snap-align: start;
    min-height: 100vh;
    min-height: 100dvh;
  }
  footer { scroll-snap-align: start; }
}
