/* ============================================================
   Alcor Consulting — brand stylesheet
   Direction B palette · Space Grotesk / IBM Plex · mobile-first
   ============================================================ */

:root {
  /* Core palette */
  --ink-navy:   #1E2030;
  --crust:      #15161F;
  --surface:    #24273A;
  --slate:      #363A4F;
  --mauve:      #C6A0F6;
  --mauve-ink:  #5B3E8E;
  --teal:       #137A6E;
  --warm-white: #F7F5F0;
  --warm-white-2: #FBFAF6;
  --mist:       #CAD3F5;

  /* Text */
  --text-dark:   #1E2030;
  --text-body:   #44464F;
  --text-muted:  #9A968D;
  --text-on-dark:#F7F5F0;
  --text-on-dark-soft:#B8C0E0;
  --text-on-dark-mute:#8087A2;
  --border-light:#E4E1D8;

  /* Type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* Layout */
  --maxw: 1140px;
  --pad: 22px;
  --radius: 14px;
  --section-y: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--mauve); color: var(--ink-navy); }

img { max-width: 100%; display: block; }
a { color: var(--mauve-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  line-height: 1.08;
  margin: 0 0 0.5em;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mauve-ink);
  margin: 0 0 18px;
}

.lede {
  font-size: 17px;
  line-height: 1.62;
  color: var(--text-body);
  max-width: 38em;
}

.spark { flex: 0 0 auto; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--mauve);
  color: var(--ink-navy);
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--mauve); color: var(--ink-navy); }
.btn-primary:hover { background: #d4b6f8; }
.btn-ghost { background: transparent; color: var(--text-on-dark); border-color: rgba(255,255,255,0.28); }
.btn-ghost:hover { border-color: var(--mauve); }
.btn-dark { background: var(--ink-navy); color: var(--warm-white); }
.btn-dark:hover { background: #2a2d44; }

/* ---------------- Header / nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30,32,48,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 4px;
  color: var(--warm-white);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 5px;
  color: var(--text-on-dark-mute);
  margin-top: 3px;
}

.nav-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
}
.nav-burger span {
  height: 2px;
  background: var(--warm-white);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.site-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--ink-navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px var(--pad) 22px;
}
.site-nav a {
  color: var(--text-on-dark-soft);
  font-weight: 500;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-nav a:hover { color: var(--warm-white); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--mauve); }
.nav-cta {
  margin-top: 12px;
  background: var(--mauve);
  color: var(--ink-navy) !important;
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  border-bottom: none !important;
}
.nav-cta:hover { background: #d4b6f8; }

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 4px;
}
.lang-switch a { color: var(--text-on-dark-mute); padding: 4px 4px; }
.lang-switch a:hover { color: var(--warm-white); text-decoration: none; }
.lang-switch .lang-current { color: var(--mauve); }
.lang-switch a + a::before,
.lang-switch a + .lang-current::before,
.lang-switch .lang-current + a::before {
  content: "·";
  color: var(--text-on-dark-mute);
  margin-right: 6px;
}

.nav-toggle:checked ~ .site-nav { display: flex; }
.nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Sections ---------------- */
.section { padding-block: var(--section-y); }
.section--light { background: var(--warm-white); }
.section--alt { background: var(--warm-white-2); border-top: 1px solid var(--border-light); }
.section--dark { background: var(--ink-navy); color: var(--text-on-dark-soft); position: relative; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: var(--text-on-dark); }
.section--dark .eyebrow { color: var(--mauve); }
.section--dark .lede { color: var(--text-on-dark-soft); }

.section-head { max-width: 40em; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 5vw, 48px); letter-spacing: -1px; }

/* starfield texture for dark sections */
.starfield::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(202,211,245,0.10) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.7;
  pointer-events: none;
}
.starfield > * { position: relative; }

/* ---------------- Hero ---------------- */
.hero {
  background: var(--ink-navy);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
  padding-block: 72px 84px;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(46px, 13vw, 104px);
  line-height: 0.98;
  letter-spacing: -2px;
  color: var(--warm-white);
  margin: 0;
}
.hero h1 .accent { color: var(--mauve); }
.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-on-dark-soft);
  max-width: 30em;
  margin: 28px 0 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-caps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1px;
  color: #E6E3F0;
}

/* constellation accent (hidden on small screens) */
.constellation { display: none; }

/* ---------------- Cards / grids ---------------- */
.grid { display: grid; gap: 18px; }

/* Home services grid — flows nicely for 5 cards */
.grid-services { grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-services { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1140px) { .grid-services { grid-template-columns: repeat(5, 1fr); } }

/* Service icons (v1.1) */
.svc-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(91,62,142,0.07);
  border: 1px solid rgba(91,62,142,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.svc-icon { color: var(--mauve-ink); }
.svc-card .card-num { display: block; margin-bottom: 4px; }

/* Service card hover + anchor offset (sticky header) */
.svc-card {
  scroll-margin-top: 88px;
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
/* Reserve two lines for the title so the description always starts on the same
   line, even when a title wraps (e.g. "Cybersecurity" at narrow widths). */
.svc-card h3 { min-height: 2.16em; }
/* Description fills the box so cards are equal height and the outcome /
   "Learn more" line up flush at the bottom of every card. */
.svc-card > p:first-of-type { flex: 1 1 auto; }
.svc-card--link { color: inherit; }
.svc-card--link:hover { text-decoration: none; }
.svc-card:hover { transform: translateY(-3px); border-color: var(--mauve); box-shadow: 0 12px 30px rgba(30,32,48,0.10); }
.svc-card:target { border-color: var(--mauve); box-shadow: 0 0 0 2px rgba(198,160,246,0.35); }

/* Service detail header */
.svc-detail-head { display: flex; flex-direction: column; gap: 20px; margin-top: 18px; }
.svc-icon-wrap--dark {
  background: rgba(198,160,246,0.10);
  border-color: rgba(198,160,246,0.22);
  color: var(--mauve);
}
@media (min-width: 640px) { .svc-detail-head { flex-direction: row; align-items: center; gap: 26px; } .svc-detail-head .svc-icon-wrap { flex: 0 0 auto; } }

.svc-outcome.svc-outcome--lg {
  margin-top: 24px;
  font-size: 16px;
  background: rgba(19,122,110,0.05);
  border: 1px solid rgba(19,122,110,0.18);
  border-radius: var(--radius);
  padding: 18px 20px;
}

/* "What you get" outcome line */
.svc-outcome {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-dark);
}
.svc-outcome-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 5px;
}

/* How-we-work process row */
.process-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  counter-reset: none;
}
.process-step {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.process-step h3 { font-size: 19px; margin: 12px 0 8px; }
.process-step p { margin: 0; font-size: 15px; line-height: 1.6; }
.process-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--teal);
}
@media (min-width: 760px) { .process-row { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

/* Blog cover banners (v1.1) */
.post-cover { display: block; width: 100%; aspect-ratio: 2 / 1; }
.post-cover-link { display: block; line-height: 0; }
.post-card { padding: 0; overflow: hidden; }
.post-card .post-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card .post-card-body .card-eyebrow { margin-top: 4px; }

.card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card .card-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mauve-ink);
  margin-bottom: 14px;
}
.card-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 1px;
}

.feature-list { list-style: none; margin: 16px 0 0; padding: 0; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 15px;
  color: var(--text-body);
}
.feature-list .spark { margin-top: 5px; }

/* value props row */
.value-row { display: grid; gap: 18px; }
.value-item { padding: 4px 0; }
.value-item h3 { font-size: 18px; color: var(--text-on-dark); margin-bottom: 6px; }
.value-item p { margin: 0; color: var(--text-on-dark-soft); font-size: 15px; }

/* ---------------- Team ---------------- */
.team-grid { display: grid; gap: 18px; }
.team-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.team-card:hover { transform: translateY(-3px); border-color: var(--mauve); box-shadow: 0 12px 30px rgba(30,32,48,0.10); }
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--ink-navy);
  color: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.avatar .spark { position: absolute; top: 8px; right: 8px; z-index: 1; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar--lg img { border-radius: 18px; }
.team-card-link { display: block; color: inherit; }
.team-card-link:hover { text-decoration: none; }
.team-card-link:hover h3 { color: var(--mauve-ink); }
.team-card h3 { font-size: 20px; margin-bottom: 4px; }

/* Bio page header */
.bio-head { display: flex; flex-direction: column; gap: 20px; margin-top: 18px; }
.avatar--lg { width: 88px; height: 88px; border-radius: 18px; font-size: 30px; margin-bottom: 0; }
.bio-name { font-size: clamp(32px, 6vw, 52px); letter-spacing: -1.2px; color: var(--warm-white); margin: 0 0 8px; }
.bio-role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mauve);
  margin: 0 0 6px;
}
.bio-focus { color: var(--text-on-dark-soft); font-size: 15px; margin: 0 0 16px; }
.bio-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; }
.bio-links a { color: var(--mauve); }

@media (min-width: 640px) {
  .bio-head { flex-direction: row; align-items: center; gap: 28px; }
}
.team-role {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mauve-ink);
  margin: 0 0 14px;
}
.team-bio { font-size: 15px; line-height: 1.6; margin: 0 0 14px; }
.team-focus {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--teal);
}

/* Focus tag chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 14px; }
.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(91,62,142,0.08);
  border: 1px solid rgba(91,62,142,0.16);
  color: var(--mauve-ink);
}
.chip-row--dark { margin-bottom: 16px; }
.chip-row--dark .chip {
  background: rgba(198,160,246,0.12);
  border-color: rgba(198,160,246,0.28);
  color: var(--mist);
}

/* Bio lead paragraph emphasis */
.prose--bio > p:first-of-type {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-dark);
}

/* ---------------- CTA band ---------------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(28px, 5vw, 44px); }
.cta-band .hero-actions { justify-content: center; }

/* Prominent "book a call" band — mauve, high-contrast, distinct from the form */
.cta-strong { background: var(--mauve); color: var(--ink-navy); }
.cta-strong h2 { color: var(--ink-navy); margin-bottom: 14px; }
.cta-strong .eyebrow--ink { color: var(--mauve-ink); text-align: center; }
.cta-strong .cta-text {
  font-size: 17px;
  line-height: 1.6;
  color: #2c2342;
  max-width: 34em;
  margin: 0 auto;
}
.btn-outline-ink {
  background: transparent;
  color: var(--ink-navy);
  border-color: rgba(30,32,48,0.4);
}
.btn-outline-ink:hover { border-color: var(--ink-navy); background: rgba(30,32,48,0.06); }

/* Contact extras */
.form-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mauve);
  margin: 0;
}
.info-item--accent { border-color: rgba(198,160,246,0.5) !important; background: rgba(198,160,246,0.06); }
.info-item--accent .btn { margin-top: 4px; }

.calendly-inline { border-radius: var(--radius); overflow: hidden; }

/* Form markers, consent, required note */
.req { color: var(--mauve); }
.optional { color: var(--text-on-dark-mute); font-weight: 400; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 12px; }
.field-check { display: flex; align-items: flex-start; gap: 10px; }
.field-check input { margin-top: 3px; width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--mauve-ink); }
.field-check label { font-size: 13.5px; line-height: 1.5; color: var(--text-on-dark-soft); }
.field-check a { color: var(--mauve); }
.form-required-note { font-size: 12px; color: var(--text-on-dark-mute); margin: 12px 0 0; }
.aside-address { font-style: normal; display: grid; gap: 1px; line-height: 1.5; color: var(--text-on-dark-soft); }
.aside-address span:first-child { color: var(--text-on-dark); font-weight: 600; }

/* ---------------- Contact ---------------- */
.contact-layout { display: grid; gap: 36px; }
.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: #fff;
  color: var(--text-dark);
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--mauve);
  border-color: var(--mauve);
}
.contact-aside { display: grid; gap: 18px; align-content: start; }
.contact-aside .info-item {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.contact-aside .info-item .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-on-dark-mute);
  display: block;
  margin-bottom: 8px;
}
.contact-aside .info-item a { color: var(--mauve); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--crust); color: var(--text-on-dark-mute); padding-block: 64px 32px; }

/* 3-column layout (stacks on mobile) */
.footer-cols { display: grid; gap: 36px; }
.footer-col { display: grid; gap: 12px; align-content: start; }
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-on-dark-mute);
  margin: 0 0 4px;
}

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

.footer-address {
  font-style: normal;
  display: grid;
  gap: 2px;
  line-height: 1.6;
  font-size: 14px;
  color: var(--text-on-dark-soft);
}
.footer-address span:first-child { color: var(--warm-white); font-weight: 600; }

.footer-contact { display: grid; gap: 6px; font-size: 14px; margin-top: 2px; }
.footer-contact a { color: var(--mauve); }
.footer-contact a:hover { color: #d4b6f8; }

.footer-nav a, .footer-legal a { color: var(--text-on-dark-soft); font-size: 15px; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--warm-white); text-decoration: none; }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #5B6088;
}

@media (min-width: 560px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
  .footer-col--brand { grid-column: 1 / -1; }
}
@media (min-width: 860px) {
  .footer-cols { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 44px; }
  .footer-col--brand { grid-column: auto; }
}

/* Hero positioning line + scroll cue */
.hero-positioning {
  margin: 26px 0 0;
  max-width: 34em;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-on-dark-mute);
  border-left: 2px solid var(--mauve-ink);
  padding-left: 14px;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  display: none;
}
.scroll-cue-dot {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--mauve);
  animation: scroll-bounce 1.8s ease-in-out infinite;
}
@keyframes scroll-bounce { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(12px); opacity: 0.3; } }
@media (min-width: 900px) { .scroll-cue { display: block; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue-dot { animation: none; } }

/* ---------------- Blog ---------------- */
.byline-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(198,160,246,0.5); text-underline-offset: 2px; }
.byline-link:hover { color: var(--mauve); text-decoration-color: var(--mauve); }
.post-meta--dark .byline-link { color: var(--text-on-dark-soft); }
.post-meta--dark .byline-link:hover { color: var(--mauve); }

/* Cover hero on the post page */
.post-hero-cover {
  max-width: 820px;
  margin: 0 auto 36px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(30,32,48,0.16);
}
.post-hero-cover .post-cover { aspect-ratio: 21 / 9; }

/* Tag filter bar */
.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.blog-filter-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: #fff;
  color: var(--text-body);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.blog-filter-btn:hover { border-color: var(--mauve); }
.blog-filter-btn.is-active { background: var(--ink-navy); color: var(--warm-white); border-color: var(--ink-navy); }

.post-card { display: flex; flex-direction: column; }
.post-card h3 { font-size: 21px; margin-bottom: 8px; }
.post-card h3 a { color: var(--text-dark); }
.post-card h3 a:hover { color: var(--mauve-ink); text-decoration: none; }
.post-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.post-summary { font-size: 15px; line-height: 1.6; margin: 0 0 18px; }
.post-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mauve-ink);
}
.post-link:hover { text-decoration: none; color: var(--teal); }

.post-header .post-title {
  font-size: clamp(32px, 6vw, 56px);
  letter-spacing: -1.2px;
  color: var(--warm-white);
  margin: 0 0 18px;
}
.post-meta--dark { color: var(--text-on-dark-mute); }

/* Article body */
.prose { max-width: 44em; }
.prose h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  margin: 1.6em 0 0.5em;
}
.prose p { font-size: 17px; line-height: 1.7; color: var(--text-body); margin: 0 0 1.1em; }
.prose a { color: var(--mauve-ink); text-decoration: underline; }
.prose ul, .prose ol { font-size: 17px; line-height: 1.7; color: var(--text-body); padding-left: 1.2em; }
.prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--mauve);
  color: var(--text-dark);
  font-style: italic;
}
.prose h2 { scroll-margin-top: 88px; }

/* Tables in prose (cookie table, etc.) — table scrolls horizontally on narrow screens */
.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 1.4em 0;
}
.prose thead th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mauve-ink);
  padding: 12px 14px;
  border-bottom: 2px solid var(--border-light);
  white-space: nowrap;
}
.prose tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.5;
  color: var(--text-body);
  vertical-align: top;
}
.prose tbody tr:nth-child(even) { background: var(--warm-white-2); }

/* Legal/long-form readability */
.prose--legal h2 {
  margin-top: 1.9em;
  padding-top: 1.1em;
  border-top: 1px solid var(--border-light);
}
.prose--legal h2:first-of-type { border-top: none; padding-top: 0; }
.prose--legal ul li { margin-bottom: 4px; }

/* On-this-page TOC */
.prose-toc {
  background: var(--warm-white-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 0 0 36px;
}
.prose-toc-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mauve-ink);
  margin: 0 0 10px;
}
.prose-toc ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.prose-toc li { margin: 6px 0; }
.prose-toc ul ul { padding-left: 16px; margin-top: 4px; }
.prose-toc a { color: var(--text-body); text-decoration: none; }
.prose-toc a:hover { color: var(--mauve-ink); text-decoration: underline; }

.prose-updated {
  margin-top: 2.4em;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

/* ---------------- Divider ---------------- */
.spark-divider { display: flex; align-items: center; gap: 12px; margin: 40px 0; }
.spark-divider span { flex: 1; height: 1px; background: var(--border-light); }

/* ============================================================
   Responsive — tablet & up
   ============================================================ */
@media (min-width: 640px) {
  :root { --pad: 32px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { gap: 16px; }
}

@media (min-width: 900px) {
  :root { --section-y: 104px; --pad: 40px; }

  .nav-burger { display: none; }
  .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    width: auto;
  }
  .site-nav { gap: 32px; }
  .site-nav a { color: var(--text-on-dark-soft); border-bottom: none; padding: 6px 0; font-size: 15px; }
  .nav-cta { margin-top: 0; margin-left: 8px; padding: 11px 22px; }
  .lang-switch { border-top: none; padding-top: 0; margin-top: 0; margin-left: 4px; }
  .lang-switch a { padding: 6px 2px; }

  .hero { padding-block: 96px 110px; }
  .hero-inner { max-width: 760px; }
  .constellation {
    display: block;
    position: absolute;
    top: 14%;
    right: 6%;
    width: 260px;
    height: 200px;
    opacity: 0.9;
  }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin-inline: auto; }
  .value-row { grid-template-columns: repeat(3, 1fr); gap: 28px; }

  .split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }

  .contact-layout { grid-template-columns: 1.3fr 1fr; gap: 56px; }

  .footer-inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
  }
}

@media (min-width: 1100px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-burger span { transition: none; }
}
