/* ============================================================
   halimakhennous.com — shared stylesheet
   Geist + Geist Mono · cream + forest · light only · responsive
   Motion only on intent · prefers-reduced-motion respected
   ============================================================ */

:root {
  /* color tokens */
  --cream:        #F7F4EF;
  --sand:         #EFEAE2;
  --paper:        #FCFAF6;
  --ink:          #161210;
  --muted:        #5C534A;
  --whisper:      #8C8378;
  --border:       #D8D1C5;
  --border-soft:  #E5DFD3;
  --forest:       #264D3B;
  --forest-soft:  #E6EBE7;
  --raspberry:    #C44545;

  /* type */
  --font:      'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* responsive scale */
  --t-caption: clamp(11px, 0.4vw + 9px, 12px);
  --t-small:   clamp(13px, 0.4vw + 11px, 14px);
  --t-body:    clamp(15px, 0.5vw + 13px, 17px);
  --t-lead:    clamp(17px, 1vw + 13px, 21px);
  --t-h3:      clamp(20px, 1vw + 16px, 24px);
  --t-h2:      clamp(28px, 2.5vw + 18px, 40px);
  --t-h1:      clamp(36px, 4vw + 18px, 64px);
  --t-display: clamp(44px, 7vw + 16px, 104px);

  /* fibonacci-ish space */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 13px;
  --s-4: 21px;
  --s-5: 34px;
  --s-6: 55px;
  --s-7: 89px;
  --s-8: 144px;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-full: 999px;

  --ease:     cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ── base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
::selection { background: var(--forest); color: var(--cream); }
:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
  border-radius: 2px;
}
img { max-width: 100%; height: auto; display: block; }

/* skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--s-3);
  background: var(--ink);
  color: var(--cream);
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-full);
  text-decoration: none;
  font-size: 13px;
  z-index: 100;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: var(--s-3); }

/* ── layout ── */
.shell {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, var(--s-5));
}
main { flex: 1; }
section + section { margin-top: var(--s-8); }
@media (max-width: 640px) {
  section + section { margin-top: var(--s-7); }
}

/* ── header / primary nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 18px 0;
}
.wordmark {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.wordmark .surname { font-weight: 300; color: var(--muted); margin-left: 0.3em; }
.wordmark .dot { color: var(--raspberry); }

.nav-primary {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.nav-primary a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
  padding: 6px 2px;
  position: relative;
}
.nav-primary a::after {
  content: "";
  position: absolute;
  inset: auto 2px -2px 2px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
  border-radius: 1px;
}
.nav-primary a:hover { color: var(--ink); }
.nav-primary a:hover::after { transform: scaleX(1); }
.nav-primary a[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}
.nav-primary a[aria-current="page"]::after { transform: scaleX(1); background: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
  letter-spacing: 0.04em;
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 6px; }
  .nav-primary {
    position: absolute;
    top: 100%;
    right: clamp(20px, 4vw, var(--s-5));
    left: clamp(20px, 4vw, var(--s-5));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: var(--s-2);
    margin-top: 8px;
    box-shadow: 0 12px 32px -16px rgba(22,18,16,0.16);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav-primary[data-open="true"] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  .nav-primary a {
    padding: 12px var(--s-3);
    border-bottom: 1px solid var(--border-soft);
    font-size: 15px;
  }
  .nav-primary a:last-child { border-bottom: none; }
  .nav-primary a::after { display: none; }
}

/* ── hero ── */
.hero {
  padding: var(--s-7) 0 var(--s-6);
}
@media (max-width: 640px) {
  .hero { padding: var(--s-6) 0 var(--s-5); }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--t-caption);
  color: var(--muted);
  letter-spacing: 0.04em;
  padding: 5px 14px 5px 10px;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  background: var(--paper);
  margin-bottom: var(--s-5);
  text-decoration: none;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--forest);
  border-radius: 50%;
  position: relative;
}
.eyebrow .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1.5px solid var(--forest);
  border-radius: 50%;
  opacity: 0;
  animation: ring 2.4s ease-out infinite;
}
@keyframes ring {
  0%   { transform: scale(0.6); opacity: 0.5; }
  80%  { transform: scale(2);   opacity: 0; }
  100% { transform: scale(2);   opacity: 0; }
}

.headline-display {
  font-size: var(--t-display);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: var(--s-4);
}
.headline-display em {
  font-style: normal;
  font-weight: 300;
  color: var(--muted);
}
.headline-display .accent { color: var(--raspberry); font-style: normal; }

.headline-h1 {
  font-size: var(--t-h1);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: var(--s-4);
}
.headline-h1 em { font-style: normal; font-weight: 300; color: var(--muted); }
.headline-h1 .accent { color: var(--raspberry); }

.lead {
  font-size: var(--t-lead);
  color: var(--muted);
  max-width: 54ch;
  line-height: 1.5;
  text-wrap: pretty;
  margin-bottom: var(--s-5);
}

/* ── section header ── */
.section-head {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s-5);
}
.section-num {
  font-family: var(--font-mono);
  font-size: var(--t-caption);
  font-weight: 500;
  color: var(--whisper);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.section-title {
  font-size: var(--t-h2);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-title em { font-style: normal; font-weight: 300; color: var(--muted); }

/* ── h2 / h3 ── */
.h2 {
  font-size: var(--t-h2);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.h2 em { font-style: normal; font-weight: 300; color: var(--muted); }
.h2 .accent { color: var(--raspberry); }

.h3 {
  font-size: var(--t-h3);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--whisper);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.body {
  font-size: var(--t-body);
  color: var(--ink);
  line-height: 1.65;
  max-width: 62ch;
}
.body + .body { margin-top: var(--s-3); }
.body strong { font-weight: 500; }
.body em { font-style: italic; color: var(--muted); }

/* ── buttons ── */
.btn {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: -0.005em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  transition: all 0.25s var(--ease-out);
}
.btn .arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--forest); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { background: var(--sand); border-color: var(--ink); }

.btn-sm { font-size: 13px; padding: 10px 16px; }

.btn-text {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-text::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.btn-text:hover { color: var(--forest); }
.btn-text:hover::after { background: var(--forest); }

.btn-mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--forest);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.btn-mono:hover { border-bottom-color: var(--forest); }

/* ── cards ── */
.card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-4);
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -16px rgba(22,18,16,0.16);
}
.card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--whisper);
  letter-spacing: 0.04em;
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
}
.card-meta strong {
  color: var(--forest);
  font-weight: 500;
  text-transform: uppercase;
}
.card-title {
  font-size: clamp(19px, 1.2vw + 13px, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
}
.card-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.card-foot {
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.card-tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--r-full);
  background: var(--sand);
  color: var(--ink);
  letter-spacing: 0.02em;
}
.card-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s var(--ease-out);
}
.card:hover .card-cta { gap: 10px; }

/* ── grids ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-3);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-3);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-3);
}

/* ── principle card ── */
.principle {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-4);
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
}
.principle-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--whisper);
  letter-spacing: 0.04em;
}
.principle-title {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}
.principle-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── pull quote ── */
.pull {
  padding: var(--s-7) 0;
  text-align: left;
}
.pull-text {
  font-size: clamp(26px, 3.5vw + 14px, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
  max-width: 22ch;
}
.pull-text em { font-style: normal; font-weight: 300; color: var(--muted); }
.pull-text .accent { color: var(--raspberry); }

/* ── CTA block ── */
.cta-block {
  padding: var(--s-7) var(--s-5);
  background: var(--sand);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title btn"
    "lead  btn";
  column-gap: var(--s-5);
  row-gap: var(--s-3);
  align-items: center;
}
@media (max-width: 760px) {
  .cta-block {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "lead"
      "btn";
    padding: var(--s-6) var(--s-5);
    row-gap: var(--s-4);
  }
}
@media (max-width: 540px) {
  .cta-block { padding: var(--s-5) var(--s-4); }
}
.cta-block .h2 {
  grid-area: title;
  max-width: 22ch;
  margin-bottom: 0;
}
.cta-block .lead {
  grid-area: lead;
  font-size: var(--t-body);
  margin-bottom: 0;
  max-width: 56ch;
}
.cta-block .btn-row {
  grid-area: btn;
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  align-items: center;
  justify-self: end;
  align-self: center;
}
@media (max-width: 760px) {
  .cta-block .btn-row { justify-self: start; }
}
.cta-block:not(:has(.lead)) {
  grid-template-areas: "title btn";
}
@media (max-width: 760px) {
  .cta-block:not(:has(.lead)) {
    grid-template-areas: "title" "btn";
  }
}

/* ── footer ── */
.site-footer {
  margin-top: var(--s-8);
  padding: var(--s-6) 0 var(--s-4);
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--s-5);
  margin-bottom: var(--s-5);
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--whisper);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a {
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}
.footer-col a:hover { color: var(--forest); }
.footer-col p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-meta {
  padding-top: var(--s-4);
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--whisper);
  letter-spacing: 0.03em;
}
.footer-meta strong { color: var(--ink); font-weight: 500; }

/* ── about-specific ── */
.positioning {
  font-size: clamp(32px, 4vw + 14px, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
  max-width: 22ch;
}
.positioning em { font-style: normal; font-weight: 300; color: var(--muted); }
.positioning .accent { color: var(--raspberry); }

/* origin paragraphs */
.origin {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-4);
  max-width: 64ch;
}
.origin p {
  font-size: var(--t-body);
  line-height: 1.7;
  color: var(--ink);
}
.origin p em { font-style: italic; color: var(--muted); }

/* fact strip */
.factstrip {
  font-family: var(--font-mono);
  font-size: var(--t-small);
  color: var(--muted);
  letter-spacing: 0.02em;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  margin: var(--s-5) 0;
  line-height: 1.7;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-4);
}
.factstrip span { white-space: nowrap; }
.factstrip strong { color: var(--ink); font-weight: 500; }

/* ── cv ── */
.cv-header {
  padding: var(--s-6) 0 var(--s-5);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s-6);
}
.cv-name {
  font-size: clamp(36px, 5vw + 16px, 72px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: var(--s-3);
}
.cv-name .accent { color: var(--raspberry); }
.cv-role {
  font-size: var(--t-lead);
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.5;
}
.cv-role strong { color: var(--ink); font-weight: 500; }
.cv-stamp {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--whisper);
  letter-spacing: 0.04em;
  margin-top: var(--s-4);
}

.cv-block {
  margin-bottom: var(--s-6);
}
.cv-block-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--forest);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--forest);
  margin-bottom: var(--s-4);
}
.cv-block p.body { max-width: 70ch; }

.cv-current {
  padding: var(--s-4);
  background: var(--sand);
  border-radius: var(--r-md);
  border-left: 2px solid var(--ink);
}
.cv-current h3 {
  font-size: var(--t-h3);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 4px;
}
.cv-current .cv-current-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: var(--s-3);
}
.cv-current ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.cv-current li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
}
.cv-current li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--forest);
}

.cv-row {
  display: grid;
  grid-template-columns: 110px 220px minmax(0, 1fr);
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: baseline;
}
.cv-row:last-child { border-bottom: none; }
@media (max-width: 760px) {
  .cv-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: var(--s-3) 0;
  }
}
.cv-year {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--whisper);
  letter-spacing: 0.02em;
}
.cv-role-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}
.cv-role-name span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 0.02em;
}
.cv-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.cv-tools {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: var(--s-3);
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 13px;
}
.cv-tools:last-child { border-bottom: none; }
.cv-tools .k {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--forest);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cv-tools .v { color: var(--ink); }

/* print stylesheet for CV */
@media print {
  body {
    background: white;
    color: black;
  }
  .site-header, .site-footer, .cv-block:has(.cta-block), .cta-block, .nav-toggle {
    display: none !important;
  }
  .cv-header { padding: 12pt 0; border-bottom: 1pt solid #888; margin-bottom: 12pt; }
  .cv-name { font-size: 24pt; }
  .cv-role { font-size: 12pt; }
  .cv-stamp { font-size: 8pt; }
  .cv-block { margin-bottom: 12pt; page-break-inside: avoid; }
  .cv-block-label { font-size: 9pt; color: #444; border-bottom: 0.5pt solid #444; }
  .cv-row { padding: 4pt 0; page-break-inside: avoid; }
  .cv-year { font-size: 9pt; }
  .cv-role-name { font-size: 10pt; }
  .cv-role-name span { font-size: 8pt; }
  .cv-desc { font-size: 9pt; }
  .cv-current { background: #f4f1ec; padding: 8pt; border-left: 1.5pt solid black; }
  @page { margin: 1.5cm; }
}

/* ── motion: respect prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .eyebrow .dot::after { display: none; }
}


/* ============================================================
   APPEND v3 — components used across pages (homepage hero, work
   cards, testimonials, le fond, flat footer, dividers). Adds the
   missing rules referenced by index/about/work/beyond/contact.
   ============================================================ */

/* ── section scaffolding ── */
.section {
  padding: var(--s-7) 0;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, var(--s-5));
  padding-right: clamp(20px, 4vw, var(--s-5));
}
@media (max-width: 640px) { .section { padding-top: var(--s-6); padding-bottom: var(--s-6); } }
.section + .section { margin-top: 0; }
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--forest);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.section-title {
  font-size: var(--t-h2);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: var(--s-4);
}
.section-title em { font-style: normal; font-weight: 300; color: var(--muted); }
.section-title .accent { color: var(--raspberry); font-style: normal; }
.section-body {
  font-size: var(--t-body);
  color: var(--muted);
  max-width: 64ch;
  line-height: 1.65;
  margin-bottom: var(--s-5);
}
.divider {
  max-width: 1080px;
  margin: var(--s-6) auto;
  padding: 0 clamp(20px, 4vw, var(--s-5));
  border-top: 1px solid var(--border-soft);
}

/* ── nav CTA (outlined Contact) ── */
.nav-primary a.nav-cta {
  padding: 8px 16px;
  border: 1px solid var(--ink);
  border-radius: var(--r-full);
  color: var(--ink);
  font-weight: 500;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.nav-primary a.nav-cta::after { display: none; }
.nav-primary a.nav-cta:hover { background: var(--ink); color: var(--cream); }
.nav-primary a.nav-cta[aria-current="page"] { background: var(--ink); color: var(--cream); }

/* ── homepage hero ── */
.hero-home {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}
.hero-home-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: var(--s-6);
  align-items: start;
}
@media (max-width: 960px) {
  .hero-home-inner { grid-template-columns: 1fr; gap: var(--s-5); }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--t-caption);
  color: var(--muted);
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  background: var(--paper);
  margin-bottom: var(--s-4);
}
.hero-title {
  font-size: var(--t-display);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: var(--s-4);
}
.hero-title em { font-style: normal; font-weight: 300; color: var(--muted); }
.hero-title .accent { color: var(--raspberry); font-style: normal; }
.hero-sub {
  font-size: var(--t-lead);
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.5;
  text-wrap: pretty;
  margin-bottom: var(--s-5);
}
.hero-ctas {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  align-items: center;
}

/* ── decision stack — clean stat tiles, no left-border accents ── */
.decision-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.decision-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 28px;
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.decision-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.decision-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}
.decision-stat {
  font-family: var(--font);
  font-size: clamp(36px, 2.5vw + 20px, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.decision-stat small {
  font-size: 0.45em;
  font-weight: 500;
  color: var(--muted);
  margin-left: 2px;
  letter-spacing: -0.01em;
}
.decision-card-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.decision-claim {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: pretty;
}
.decision-source {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.decision-source em { font-style: italic; color: var(--muted); }
/* ── work cards (selected work grid) ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-3);
}
.work-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-4);
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  position: relative;
}
.work-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -20px rgba(22,18,16,0.18);
}
.work-card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--forest);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.work-card-title {
  font-size: clamp(20px, 1.2vw + 13px, 24px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}
.work-card-body {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.work-card-metric {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border-soft);
  margin-top: auto;
}
.work-card-metric-num {
  font-family: var(--font);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.025em;
  min-width: 36px;
}
.work-card-metric-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
  flex: 1;
}
.work-card-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--forest);
  margin-top: var(--s-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s var(--ease-out);
}
.work-card:hover .work-card-cta { gap: 12px; }

/* ── testimonials ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--s-4);
}
.testimonial {
  padding: var(--s-5) var(--s-4);
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin: 0;
}
.testimonial-quote {
  font-size: clamp(16px, 0.8vw + 12px, 18px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: -0.005em;
  text-wrap: pretty;
  position: relative;
  padding-left: var(--s-3);
  border-left: 2px solid var(--forest);
  margin: 0;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sand);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.testimonial-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--whisper);
  letter-spacing: 0.04em;
}

/* ── logo strip ── */
.logo-strip {
  display: flex;
  align-items: center;
  gap: var(--s-4) var(--s-5);
  flex-wrap: wrap;
  padding: var(--s-4) 0;
  margin-top: var(--s-5);
  border-top: 1px solid var(--border-soft);
}
.logo-strip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--whisper);
  letter-spacing: 0.04em;
}
.logo-strip-item {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── le fond cards ── */
.lefond-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-3);
}
.lefond-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-4);
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.lefond-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.lefond-card.accent { border-left: 2px solid var(--forest); }
.lefond-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--forest);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lefond-title {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}
.lefond-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.lefond-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  margin-top: var(--s-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  width: fit-content;
  transition: gap 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.lefond-card:hover .lefond-cta { gap: 12px; border-color: var(--forest); color: var(--forest); }

/* ── section CTA wrap (contact block container) ── */
.section-cta-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--s-6) clamp(20px, 4vw, var(--s-5));
}
.section-cta-wrap--spaced { padding-top: var(--s-7); }
@media (max-width: 760px) { .section-cta-wrap--spaced { padding-top: var(--s-6); } }
.section-cta-row { margin-top: var(--s-5); }

/* ── flat footer (canonical site footer · INK ground) ── */
.site-footer-flat {
  margin-top: var(--s-8);
  padding: var(--s-6) clamp(20px, 4vw, 48px) var(--s-5);
  background: var(--ink);
  color: rgba(247, 244, 239, 0.82);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  border-top: 1px solid var(--ink);
  width: 100%;
}
.site-footer-flat .footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}
.site-footer-flat .footer-brand {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
}
.site-footer-flat .footer-brand .surname { font-weight: 300; color: rgba(247, 244, 239, 0.72); margin-left: 0.3em; }
.site-footer-flat .footer-brand .dot { color: var(--raspberry); }
.footer-nav {
  list-style: none;
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}
.footer-nav a {
  font-size: 13px;
  color: rgba(247, 244, 239, 0.78);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}
.footer-nav a:hover { color: var(--cream); }
.footer-socials {
  display: flex;
  gap: var(--s-2);
  align-items: center;
}
.footer-socials a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(247, 244, 239, 0.32);
  border-radius: 50%;
  color: rgba(247, 244, 239, 0.78);
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.site-footer-flat .footer-socials a:hover {
  color: var(--ink);
  background: var(--cream);
  border-color: var(--cream);
}
.footer-socials svg { width: 14px; height: 14px; }
.footer-meta-row {
  padding-top: var(--s-4);
  border-top: 1px solid rgba(247, 244, 239, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s-4);
  flex-wrap: wrap;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}
.footer-moat {
  font-size: 12px;
  color: rgba(247, 244, 239, 0.72);
  line-height: 1.6;
  max-width: 56ch;
  font-style: italic;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(247, 244, 239, 0.7);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* ── article (long-form case study) ── */
.article-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, var(--s-5));
}
.article-hero {
  padding: var(--s-7) 0 var(--s-5);
  max-width: 880px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--whisper);
  letter-spacing: 0.04em;
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px dashed var(--border);
}
.article-meta span strong { color: var(--ink); font-weight: 500; }
.article-section { padding: var(--s-6) 0; border-bottom: 1px solid var(--border-soft); }
.article-section:last-of-type { border-bottom: none; }
.article-section h2 {
  font-size: clamp(24px, 1.6vw + 14px, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: var(--s-4);
  text-wrap: balance;
}
.article-section h2 em { font-style: normal; font-weight: 300; color: var(--muted); }
.article-section h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: var(--s-4) 0 var(--s-2);
}
.article-section p {
  font-size: var(--t-body);
  line-height: 1.75;
  color: var(--ink);
  max-width: 64ch;
  margin-bottom: var(--s-3);
  text-wrap: pretty;
}
.article-section p em { font-style: italic; color: var(--muted); }
.article-section p strong { font-weight: 500; }
.article-section ul {
  list-style: none;
  margin: var(--s-3) 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  max-width: 64ch;
}
.article-section ul li {
  position: relative;
  padding-left: 24px;
  font-size: var(--t-body);
  line-height: 1.7;
  color: var(--ink);
}
.article-section ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--forest);
  font-family: var(--font-mono);
}
.article-callout {
  margin: var(--s-4) 0;
  padding: var(--s-4) var(--s-4);
  background: var(--forest-soft);
  border-left: 2px solid var(--forest);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink);
  max-width: 64ch;
}
.article-callout em { color: var(--muted); }
.article-callout strong { font-weight: 500; }
.placeholder-fig {
  margin: var(--s-4) 0;
  padding: var(--s-5);
  background: repeating-linear-gradient(
    45deg,
    var(--sand),
    var(--sand) 12px,
    var(--paper) 12px,
    var(--paper) 24px
  );
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.7;
  max-width: 64ch;
}
.placeholder-fig strong { color: var(--ink); display: block; margin-bottom: 4px; font-weight: 500; }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s-3);
  margin: var(--s-4) 0;
}
.metric-card {
  padding: var(--s-4);
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metric-num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 2vw + 16px, 36px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.metric-num.pending { color: var(--whisper); }
.metric-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--whisper);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: var(--s-2);
}
.metric-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-3);
  margin-top: var(--s-4);
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: var(--s-4);
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.breadcrumb a:hover { color: var(--ink); border-bottom-color: var(--border); }
.breadcrumb .sep { margin: 0 6px; color: var(--whisper); }
.breadcrumb .here { color: var(--ink); }

/* article hub (articles.html) */
.article-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: var(--s-5);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--border-soft);
  text-decoration: none;
  color: inherit;
  align-items: start;
  transition: background 0.25s var(--ease-out);
}
.article-row:hover { background: var(--paper); }
@media (max-width: 720px) {
  .article-row { grid-template-columns: 1fr; gap: var(--s-3); padding: var(--s-4) 0; }
}
.article-row-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--forest);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.article-row-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--whisper);
  letter-spacing: 0.04em;
  margin-top: var(--s-2);
  text-transform: uppercase;
}
.article-row-title {
  font-size: clamp(22px, 1.6vw + 12px, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}
.article-row-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 64ch;
  margin-top: var(--s-2);
}
.article-row-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--forest);
  margin-top: var(--s-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s var(--ease-out);
}
.article-row:hover .article-row-cta { gap: 12px; }


/* ============================================================
   APPEND v4 — breathing room
   Hero needs more vertical air; sections need stronger gaps.
   ============================================================ */

/* Section padding — tighter rhythm, matches reference portfolio (80 / 64 desktop) */
.section {
  padding-top: 112px;
  padding-bottom: 96px;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}
@media (max-width: 760px) {
  .section {
    padding-top: 80px;
    padding-bottom: 64px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Inter-component vertical rhythm INSIDE a section */
.section > * + * { margin-top: 32px; }
.section > .section-title + .section-body { margin-top: 16px; }
.section > .section-label + * { margin-top: 12px; }
.section > h2.section-title + p.section-body { margin-top: 16px; }
.section > .section-body + .cards-grid,
.section > .section-body + .lefond-grid,
.section > .section-body + .principles-grid,
.section > .section-body + .testimonial-grid,
.section > .section-body + .vs-grid,
.section > .section-body + .article-row { margin-top: 40px; }
.section > .cards-grid + .section-cta-row,
.section > .principles-grid + .section-cta-row,
.section > .vs-grid + .section-cta-row { margin-top: 48px; }

/* Hero: very generous top/bottom for impactful first paint */
.hero-home,
.hero-about,
.hero-contact,
.article-hero {
  padding-top: 112px;
  padding-bottom: 80px;
}
@media (max-width: 760px) {
  .hero-home,
  .hero-about,
  .hero-contact,
  .article-hero {
    padding-top: 80px;
    padding-bottom: 56px;
  }
}

/* Divider needs a real pause around it */
.divider { margin: 56px auto; }

/* Contact CTA block needs serious gap from prior content */
.section-cta-wrap--spaced {
  padding-top: 112px;
  padding-bottom: 80px;
}
@media (max-width: 760px) {
  .section-cta-wrap--spaced { padding-top: 80px; padding-bottom: 56px; }
}

/* Bring the CTA-row spacing (used inside sections) up a notch */
.section-cta-row { margin-top: var(--s-4); }

/* Hero sub gets a tiny bit more space below the lead */
.hero-sub { margin-bottom: var(--s-5); }
.hero-title { margin-bottom: var(--s-4); }
.hero-eyebrow { margin-bottom: var(--s-4); }

/* Footer needs to stand off from main content too */
.site-footer-flat { margin-top: var(--s-7); }

/* Article hero gets the same generous treatment */
.article-hero { padding-bottom: var(--s-5); }
.article-shell .article-section { padding: 80px 0; }

/* ============================================================
   APPEND v4 — About manifesto + resume, distinct surfaces
   ============================================================ */

/* Manifesto: full-bleed dark band — visual pause between hero and the rest */
.manifesto-bleed {
  background: var(--ink);
  color: var(--cream);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 80px clamp(20px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}
@media (max-width: 760px) {
  .manifesto-bleed { padding: 64px 24px; }
}
.manifesto-bleed-inner {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}
.manifesto-bleed .section-label {
  color: rgba(247, 244, 239, 0.72);
  margin-bottom: var(--s-4);
}
.manifesto-bleed p {
  font-size: clamp(24px, 2vw + 14px, 40px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-wrap: balance;
  max-width: 28ch;
}
.manifesto-bleed p em {
  font-style: normal;
  color: rgba(247, 244, 239, 0.5);
  font-weight: 300;
}
.manifesto-bleed p strong {
  font-weight: 600;
  color: var(--cream);
}
.manifesto-bleed p .accent {
  color: var(--raspberry);
  font-style: normal;
}

/* Resume: framed object on paper ground — quieter, action-oriented */
.resume-panel {
  margin-top: var(--s-4);
  padding: var(--s-5) var(--s-5);
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  max-width: 880px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-4);
}
@media (max-width: 640px) {
  .resume-panel {
    grid-template-columns: 1fr;
    padding: var(--s-4);
  }
}
.resume-panel-text { display: flex; flex-direction: column; gap: var(--s-2); }
.resume-panel-title {
  font-size: clamp(18px, 1vw + 12px, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.3;
}
.resume-panel-title em { font-style: normal; font-weight: 300; color: var(--muted); }
.resume-panel-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--whisper);
  letter-spacing: 0.04em;
}

.vs-card--mine .vs-card-title { color: var(--cream); }
.vs-card--mine .vs-list li { color: rgba(247, 244, 239, 0.92); }
.vs-card--mine .vs-list li::before { color: rgba(247, 244, 239, 0.72); }


/* ============================================================
   APPEND v5 — UNIVERSAL section spacing
   Applies to every top-level <section> in <main>, regardless
   of class. Fixes pages that use .shell / .hero / .faq-shell
   instead of .section (method, contact FAQ, work, beyond, resume).
   ============================================================ */

main > section,
main > section.shell,
main > div.section-cta-wrap {
  padding-top: 96px !important;
  padding-bottom: 96px !important;
}
@media (max-width: 760px) {
  main > section,
  main > section.shell,
  main > div.section-cta-wrap {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
}

/* Heroes win — even bigger pad */
main > section.hero,
main > section.hero.shell {
  padding-top: 120px !important;
  padding-bottom: 80px !important;
}
@media (max-width: 760px) {
  main > section.hero,
  main > section.hero.shell {
    padding-top: 80px !important;
    padding-bottom: 56px !important;
  }
}

/* Hero variants get even more headroom */
main > .hero,
main > .hero-home,
main > .hero-about,
main > .hero-contact,
main > .article-hero {
  padding-top: 120px !important;
  padding-bottom: 80px !important;
}
@media (max-width: 760px) {
  main > .hero,
  main > .hero-home,
  main > .hero-about,
  main > .hero-contact,
  main > .article-hero {
    padding-top: 80px !important;
    padding-bottom: 56px !important;
  }
}

/* Article hero stays bordered + heroic */
main > .article-hero { border-bottom: 1px solid var(--border); }

/* The manifesto-bleed band on About should NOT add to padding (it has its own) */
main > .manifesto-bleed {
  padding-top: 96px !important;
  padding-bottom: 96px !important;
}
@media (max-width: 760px) {
  main > .manifesto-bleed {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
}

/* Inner spacing between successive blocks INSIDE any top-level section */
main > section > * + *,
main > div.section-cta-wrap > * + * {
  margin-top: 24px;
}

/* Section-head (the "— 01 / Section title" line) gets extra room below */
main > section > .section-head {
  margin-bottom: 32px;
}

/* The CTA-row CTA after grids/lists needs more visual gap */
main > section > .section-cta-row { margin-top: 48px; }

/* Grids that follow a body paragraph deserve more breath */
main > section > .section-body + .cards-grid,
main > section > .section-body + .lefond-grid,
main > section > .section-body + .principles-grid,
main > section > .section-body + .testimonial-grid,
main > section > .section-body + .vs-grid,
main > section > p + .cards-grid,
main > section > p + .lefond-grid,
main > section > p + .principles-grid,
main > section > p + .testimonial-grid,
main > section > p + .vs-grid { margin-top: 40px; }

/* FAQ list: more breathing room between summary items */
.faq-list summary { padding: 24px 0 !important; }
.faq-list details > div { padding-bottom: 24px !important; }

/* Contact-grid: respiration entre form et aside */
.contact-grid { padding-top: 48px !important; }

/* CV / Resume block: explicit margin between blocks */
.cv-block { margin-bottom: 80px !important; }
.cv-block:last-of-type { margin-bottom: 0 !important; }
.cv-header { padding-bottom: 64px !important; margin-bottom: 64px !important; }
.cv-row { padding: 18px 0 !important; }

/* Method-specific: layers, process, etc. — let the inline padding stand but ensure consistent inter-section air */
