/* ==========================================================================
   MNM GROUP — main stylesheet
   1. Fonts   2. Tokens   3. Base   4. Utilities   5. Navigation
   6. Hero    7. About    8. Businesses   9. Approach   10. Vision
   11. Explore   12. Footer   13. Motion   14. Responsive
   ========================================================================== */

/* 1. FONTS (self-hosted, variable) ---------------------------------------- */
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-latin-standard-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-latin-standard-italic.woff2") format("woff2");
  font-weight: 400 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* 2. TOKENS ----------------------------------------------------------------- */
:root {
  color-scheme: dark;
  /* Group palette */
  --ink:        #120C0F;   /* page background, warm near-black */
  --ink-2:      #1A1115;   /* raised surfaces */
  --wine:       #3D101C;   /* deep atmosphere */
  --body:       #2C0E17;   /* deep burgundy: main page body */
  --body-2:     #34111C;   /* slightly lifted burgundy for section variation */
  --burgundy:   #6A0A28;   /* MNM logo burgundy: fills, rules, glows. Never text on dark */
  --brand-grey: #908984;   /* MNM logo warm grey ("GROUP"): labels and small headings */
  --slate:      #4F535C;   /* MNM logo tagline slate: light backgrounds only */
  --rosewood:   #C58A97;   /* fine highlights, focus */
  --bone:       #F2EBE4;   /* primary text */
  --ash:        #B9B2AC;   /* supporting text: a lighter tint of the logo grey */
  --line:       rgba(242, 235, 228, 0.12);
  --line-warm:  rgba(197, 138, 151, 0.28);

  /* Subsidiary accents — each brand keeps its own colour */
  --mbaji:      #D2A54A;
  --santoori:   #FEC700;   /* Santoori yellow */
  --santoori-ink: #363538; /* Santoori charcoal */
  --academy:    #E6DCC6;

  /* Type */
  --serif: "Bodoni Moda", "Bodoni 72", "Didot", Georgia, serif;
  --sans:  "Hanken Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;

  --step--1: clamp(0.84rem, 0.81rem + 0.12vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
  --step-3:  clamp(2rem, 1.55rem + 2.1vw, 3.5rem);
  --step-4:  clamp(2.3rem, 1.6rem + 3.4vw, 4.6rem);
  --step-hero: clamp(3.3rem, 1.6rem + 7vw, 9rem);

  /* Layout */
  --gutter: clamp(1rem, 0.4rem + 3vw, 4rem);
  --max: 1360px;
  --section: clamp(6rem, 3.5rem + 11vw, 13rem);
  --nav-h: 76px;

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* 3. BASE ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--body);
  color: var(--bone);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
strong { font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--rosewood);
  outline-offset: 4px;
  border-radius: 2px;
}
::selection { background: var(--burgundy); color: var(--bone); }

/* 4. UTILITIES -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--bone); color: var(--ink); padding: 0.75rem 1rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.display-2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--step-4);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.display-3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--step-2);
  line-height: 1.15;
}
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--bone); max-width: 38ch; }
.muted { color: var(--ash); }

.icon {
  width: 1.05em; height: 1.05em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.35s var(--ease);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem;
  min-height: 52px; padding: 0.85rem 1.6rem;
  font-family: var(--sans); font-size: 0.98rem; font-weight: 500; letter-spacing: 0.01em;
  border: 1px solid transparent; border-radius: 999px;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn--primary {
  background: var(--burgundy); color: var(--bone);
  box-shadow: 0 0 0 0 rgba(106, 10, 40, 0);
}
.btn--primary:hover { background: #84173A; box-shadow: 0 10px 40px -10px rgba(150, 24, 62, 0.65); }
.btn--ghost { border-color: var(--line); color: var(--bone); }
.btn--ghost:hover { border-color: var(--rosewood); }
.btn--brand { border-color: var(--accent, var(--rosewood)); color: var(--bone); }
.btn--brand:hover { background: var(--accent, var(--rosewood)); color: var(--ink); }
.btn:hover .icon, .portal:hover .icon { transform: translateX(4px); }

.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  border-bottom: 1px solid var(--line-warm);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.text-link:hover { border-color: var(--bone); }

/* 5. NAVIGATION ------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(36, 11, 19, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav__inner {
  height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: inline-flex; align-items: center; line-height: 0; position: relative; z-index: 2; }
.logo img { height: 40px; width: auto; }
.logo--full img { height: 96px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 0.45rem; line-height: 1; }
.wordmark__mnm {
  font-family: var(--serif); font-weight: 600; font-size: 1.6rem; letter-spacing: 0.04em;
}
.wordmark__group {
  font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--rosewood);
}
.wordmark--sm .wordmark__mnm { font-size: 1.3rem; }
.wordmark--sm .wordmark__group { font-size: 0.95rem; }

.nav__menu ul { display: flex; gap: clamp(1.4rem, 2.6vw, 2.75rem); }
.nav__menu a {
  position: relative; display: inline-block; padding-block: 0.6rem;
  font-size: 0.95rem; color: var(--ash); transition: color 0.3s var(--ease);
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.3rem; height: 1px;
  background: var(--rosewood); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__menu a:hover, .nav__menu a[aria-current="true"] { color: var(--bone); }
.nav__menu a:hover::after, .nav__menu a[aria-current="true"]::after { transform: scaleX(1); }

.nav__toggle {
  display: none; position: relative; z-index: 2;
  width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; color: var(--bone); cursor: pointer;
}
.nav__toggle-bar {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav__toggle-bar:nth-of-type(2) { top: 20px; }
.nav__toggle-bar:nth-of-type(3) { top: 28px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-of-type(2) { top: 24px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-of-type(3) { top: 24px; transform: rotate(-45deg); }

/* 6. HERO ------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto auto;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 0;
  max-width: none;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 72%, var(--body) 100%),
    radial-gradient(60% 70% at 12% 8%, rgba(106, 10, 40, 0.38), transparent 70%),
    radial-gradient(50% 60% at 70% 100%, rgba(61, 16, 28, 0.9), transparent 75%),
    var(--ink);
}
.hero__media {
  position: absolute; z-index: -1;
  top: 0; right: 0; bottom: 0; width: 56%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(0deg, transparent 0%, #000 30%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(0deg, transparent 0%, #000 30%);
  mask-composite: intersect;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  filter: grayscale(1) contrast(1.2) brightness(1.05);
}
/* Burgundy grade over a monochrome photograph */
.hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(165deg, #EC9DB2 0%, #A8304F 45%, #4E0B20 100%);
  mix-blend-mode: multiply;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(120% 80% at 70% 40%, transparent 40%, rgba(18, 12, 15, 0.55) 100%);
}
.hero__content {
  align-self: center;
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding-block: clamp(1.5rem, 4vh, 4rem);
}
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: var(--step-hero); line-height: 0.94; letter-spacing: -0.025em;
}
.hero__line { display: block; }
.hero__line + .hero__line { padding-left: 0.9em; }
.hero__lede {
  max-width: 40ch; margin-top: clamp(1.5rem, 4vh, 2.75rem);
  font-size: var(--step-1); line-height: 1.55; color: rgba(242, 235, 228, 0.82);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: clamp(1.75rem, 4vh, 2.75rem); }

.hero__signal {
  width: 100%; max-width: var(--max); height: 48px; margin-inline: auto; display: block;
  fill: none; stroke: var(--rosewood); stroke-width: 1.2; opacity: 0.55;
  vector-effect: non-scaling-stroke;
}
.hero__signal path { vector-effect: non-scaling-stroke; }

.hero__roster {
  width: 100%; max-width: var(--max); margin-inline: auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.hero__roster a {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 1.35rem 1.5rem 1.6rem 0;
  transition: color 0.3s var(--ease);
}
.hero__roster li + li a { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.hero__roster-name { font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; }
.hero__roster-desc { font-size: var(--step--1); color: var(--ash); }
.hero__roster a:hover .hero__roster-name { color: var(--rosewood); }

/* 7. ABOUT ------------------------------------------------------------------ */
.about__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem var(--gutter);
  align-items: start;
}
.about__lead { grid-column: 1 / span 7; display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.about__copy { grid-column: 9 / span 4; display: grid; gap: 1.25rem; padding-top: clamp(0.5rem, 2vw, 1.5rem); }
.about__copy p:not(.lede) { color: var(--ash); max-width: 46ch; }

/* The project journey — a real sequence, so it is numbered */
.journey {
  counter-reset: step;
  margin-top: clamp(4.5rem, 9vw, 8rem);
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  position: relative;
}
.journey::before {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px;
  background: linear-gradient(90deg, var(--burgundy), var(--line-warm) 70%, var(--line));
}
.journey li {
  counter-increment: step; position: relative;
  padding-top: 2.1rem; padding-right: 1rem;
  font-family: var(--serif); font-size: clamp(1rem, 0.85rem + 0.5vw, 1.3rem); line-height: 1.25;
}
.journey li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--body); border: 1px solid var(--rosewood);
}
.journey li:first-child::before { background: var(--burgundy); border-color: var(--burgundy); box-shadow: 0 0 18px 2px rgba(150, 24, 62, 0.6); }
.journey li::after {
  content: counter(step, decimal-leading-zero);
  display: block; order: -1; margin-top: 0.5rem;
  font-family: var(--sans); font-size: 0.78rem; color: var(--ash); font-variant-numeric: tabular-nums;
}
.journey__caption { margin-top: 1.75rem; color: var(--ash); }

/* Selected work */
.about .work { margin-top: clamp(6rem, 12vw, 11rem); }
.work__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 3rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.work__head .muted { max-width: 46ch; }
.work__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 2.75rem) clamp(0.9rem, 1.6vw, 1.5rem); }
.work__item img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.work__item figcaption { display: grid; gap: 0.2rem; padding-top: 1rem; }
.work__item figcaption strong { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; line-height: 1.3; }
.work__item figcaption span { font-size: var(--step--1); color: var(--ash); }

.work__more {
  margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.75rem; border-top: 1px solid var(--line);
}
.work__more ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem clamp(0.9rem, 1.6vw, 1.5rem); }
.work__more li { display: grid; gap: 0.2rem; }
.work__more strong { font-weight: 500; }
.work__more span { font-size: var(--step--1); color: var(--ash); }

/* 8. BUSINESSES ------------------------------------------------------------- */
.businesses {
  position: relative;
  background:
    radial-gradient(70% 40% at 85% 0%, rgba(61, 16, 28, 0.75), transparent 70%),
    linear-gradient(180deg, var(--body) 0%, var(--body-2) 50%, var(--body) 100%);
}
.businesses__intro {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem var(--gutter); align-items: end;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}
.businesses__intro h2 { grid-column: 1 / span 6; }
.businesses__intro .lede { grid-column: 8 / span 5; color: var(--ash); }

/* Signal flow: one source line feeding each company */
.signal { position: relative; padding-left: clamp(3.25rem, 6vw, 5.5rem); }
.signal__source {
  position: relative; display: flex; align-items: center; gap: 1rem;
  margin-left: calc(-1 * clamp(3.25rem, 6vw, 5.5rem));
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.signal__node {
  width: 15px; height: 15px; border-radius: 50%; flex: none;
  background: var(--burgundy);
  box-shadow: 0 0 0 5px rgba(106, 10, 40, 0.25), 0 0 30px 6px rgba(150, 24, 62, 0.55);
}
.signal__label { font-family: var(--serif); font-style: italic; font-size: var(--step-1); color: var(--brand-grey); }
.signal__mark { height: 26px; width: auto; }
.signal__line {
  position: absolute; left: 7px; top: 15px; bottom: 0; width: 1px;
  background: var(--line);
}
.signal__fill {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--burgundy), var(--rosewood) 60%, var(--burgundy));
  transform-origin: top; transform: scaleY(var(--signal, 1));
}

.biz {
  --accent: var(--rosewood);
  position: relative;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem var(--gutter);
  align-items: start;
}
.biz + .biz { margin-top: clamp(6rem, 12vw, 11rem); }
.biz--mbaji    { --accent: var(--mbaji); }
.biz--santoori { --accent: var(--santoori); }
.biz--academy  { --accent: var(--academy); }

/* The tap: a branch from the group line into each company */
.biz__tap {
  position: absolute; top: 0; height: 1px;
  left: calc(-1 * clamp(3.25rem, 6vw, 5.5rem) + 7px);
  width: clamp(2.5rem, 5vw, 4.5rem);
  background: linear-gradient(90deg, var(--line-warm), var(--accent));
}
.biz__tap::before {
  content: ""; position: absolute; left: -4px; top: -4px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--body); border: 1px solid var(--accent);
}

.biz__media { grid-column: 1 / span 6; position: sticky; top: calc(var(--nav-h) + 2rem); overflow: hidden; }
.biz__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.biz__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(242, 235, 228, 0.06);
}
.biz__media--portrait { grid-column: 1 / span 5; }
.biz__media--portrait img { aspect-ratio: 4 / 5; }
.biz__body { grid-column: 8 / span 5; display: grid; gap: 1.25rem; justify-items: start; min-width: 0; }
.biz--academy .biz__body { grid-column: 7 / span 6; }
.biz--flip .biz__media { grid-column: 7 / span 6; grid-row: 1; }
.biz--flip .biz__body  { grid-column: 1 / span 5; grid-row: 1; }

.biz__body > p:not([class]) { color: rgba(242, 235, 228, 0.8); max-width: 52ch; }
.biz__logo { width: clamp(150px, 14vw, 200px); margin-bottom: 0.5rem; }
.biz__area { font-size: var(--step--1); color: var(--ash); }
.biz__voice {
  font-family: var(--serif); font-style: italic; font-size: var(--step-2); line-height: 1.15;
  color: var(--accent);
}
.biz__name {
  font-family: var(--sans); font-weight: 300; font-size: var(--step-3); line-height: 1.02;
  letter-spacing: -0.03em; color: var(--accent);
}
.biz__services { width: 100%; border-top: 1px solid var(--line); }
.biz__services li {
  padding: 0.7rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.97rem; display: flex; gap: 0.85rem; align-items: baseline;
}
.biz__services li::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); transform: translateY(-2px); opacity: 0.85;
}
.biz .btn--brand { margin-top: 0.75rem; }

/* Santoori: its own mark (yellow on charcoal) beside a type lockup */
.santoori-mark { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.25rem; }
.santoori-mark img { width: clamp(56px, 5vw, 72px); height: auto; flex: none; }
.santoori-mark p { display: grid; line-height: 1; }
.santoori-mark span:first-child {
  font-family: var(--sans); font-weight: 700; font-size: clamp(2.2rem, 1.7rem + 1.8vw, 3.1rem);
  letter-spacing: -0.04em; color: var(--bone);
}
.santoori-mark span:last-child {
  font-family: var(--sans); font-weight: 500; font-size: 1rem; letter-spacing: 0.01em;
  color: var(--santoori); margin-top: 0.4rem;
}

/* Academy pathway — sequential */
.pathway { counter-reset: p; display: grid; width: 100%; }
.pathway li {
  counter-increment: p; position: relative;
  display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 0.25rem; row-gap: 0.15rem;
  padding-bottom: 1.1rem;
}
.pathway li::before {
  content: counter(p); grid-row: 1 / span 2;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.8rem; color: var(--ink); background: var(--academy);
}
.pathway li:not(:last-child)::after {
  content: ""; position: absolute; left: calc(0.85rem - 0.5px); top: 1.9rem; bottom: 0.2rem;
  width: 1px; background: rgba(230, 220, 198, 0.3);
}
.pathway strong { grid-column: 2; font-weight: 500; line-height: 1.7rem; }
.pathway span { grid-column: 2; font-size: 0.95rem; color: var(--ash); }

/* 9. APPROACH --------------------------------------------------------------- */
.approach__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem var(--gutter); align-items: start;
}
.approach__aside {
  grid-column: 1 / span 5; display: grid; gap: 1.75rem;
  position: sticky; top: calc(var(--nav-h) + 2rem);
}
.approach__title { font-size: var(--step-3); line-height: 1.08; }
.approach__aside .lede { color: var(--ash); }
.approach__media { margin-top: 1rem; overflow: hidden; }
.approach__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: saturate(0.8); }

.principles { grid-column: 7 / span 6; }
.principles li {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0.75rem 2rem;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--line);
}
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles h3 {
  font-family: var(--serif); font-weight: 400; font-size: var(--step-2); line-height: 1.12;
}
.principles p { color: var(--ash); }

/* 10. VISION ---------------------------------------------------------------- */
.vision {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-block: var(--section);
}
.vision__bg { position: absolute; inset: 0; z-index: -1; }
.vision__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.2) brightness(0.85);
  transform: scale(1.06);
  transform-origin: center;
}
.vision__bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, #D27C95 0%, #8E1C42 50%, #3E0819 100%);
  mix-blend-mode: multiply;
}
.vision__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, var(--body) 0%, rgba(44, 14, 23, 0.2) 25%, rgba(44, 14, 23, 0.35) 70%, var(--body) 100%),
    radial-gradient(60% 60% at 30% 50%, rgba(18, 12, 15, 0.55), transparent 80%);
}
.vision__inner { display: grid; gap: clamp(3rem, 8vh, 6rem); }
.vision__statement p {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 1.2rem + 3.6vw, 5rem); line-height: 1.08; letter-spacing: -0.02em;
  max-width: 21ch; text-wrap: balance;
}
.vision__foot {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem var(--gutter); align-items: end;
  border-top: 1px solid rgba(242, 235, 228, 0.18); padding-top: 2rem;
}
.vision__proposition { grid-column: 1 / span 5; font-size: var(--step-1); color: rgba(242, 235, 228, 0.85); max-width: 34ch; }
.flow {
  grid-column: 7 / span 6;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0;
  font-family: var(--serif); font-style: italic; font-size: var(--step-1); color: var(--bone);
}
.flow li { display: inline-flex; align-items: center; }
.flow li:not(:last-child)::after {
  content: ""; width: clamp(1.25rem, 2.5vw, 2.25rem); height: 1px; margin-inline: 0.75rem;
  background: var(--rosewood); opacity: 0.7;
}

/* 11. EXPLORE --------------------------------------------------------------- */
.explore__title { max-width: 16ch; margin-bottom: clamp(3rem, 6vw, 5rem); }
.explore__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.portal {
  --accent: var(--rosewood);
  position: relative; display: flex; align-items: flex-end;
  min-height: clamp(460px, 42vw, 640px);
  overflow: hidden; isolation: isolate;
  border: 1px solid var(--line);
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.portal--mbaji { --accent: var(--mbaji); }
.portal--santoori { --accent: var(--santoori); }
.portal__img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.6) brightness(0.75);
}
.portal::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18, 12, 15, 0.05) 20%, rgba(18, 12, 15, 0.7) 60%, rgba(18, 12, 15, 0.96) 100%);
}
.portal__body { display: grid; gap: 0.8rem; padding: clamp(1.5rem, 3vw, 2.75rem); max-width: 34rem; }
.portal__name { font-size: var(--step-3); line-height: 1; color: var(--accent); display: inline-flex; align-items: center; gap: 0.9rem; }
.portal__icon { width: 0.95em; height: 0.95em; flex: none; }
.portal--mbaji .portal__name { font-family: var(--serif); letter-spacing: -0.015em; }
.portal--santoori .portal__name { font-family: var(--sans); font-weight: 700; letter-spacing: -0.045em; color: var(--bone); }
.portal__desc { color: rgba(242, 235, 228, 0.82); max-width: 38ch; }
.portal__cta {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 0.6rem;
  font-weight: 500; color: var(--bone);
}
.portal__url { font-size: var(--step--1); color: var(--ash); }
.portal:hover { border-color: var(--accent); box-shadow: 0 30px 80px -40px var(--accent); }
.portal:hover .portal__img { transform: scale(1.04); filter: saturate(0.95) brightness(0.9); }

.explore__academy {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  margin-top: clamp(1rem, 2vw, 1.75rem); padding: 1.5rem clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid var(--line);
}
.explore__academy p { color: var(--ash); }
.explore__academy strong { color: var(--academy); font-weight: 500; margin-right: 0.6rem; }

/* 12. FOOTER ---------------------------------------------------------------- */
.footer {
  position: relative;
  padding-top: var(--section); padding-bottom: 2rem;
  background:
    radial-gradient(70% 80% at 0% 100%, rgba(106, 10, 40, 0.35), transparent 70%),
    linear-gradient(180deg, var(--body) 0%, var(--ink) 38%, var(--ink) 55%, var(--wine) 140%);
  border-top: 1px solid var(--line);
}
.footer__top {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem var(--gutter); align-items: end;
}
.footer__title { grid-column: 1 / span 7; max-width: 18ch; }
.footer__reach { grid-column: 8 / span 5; display: grid; gap: 0.5rem; justify-items: start; }
.footer__email {
  font-family: var(--sans); font-size: var(--step-1); line-height: 1.4; color: var(--ash); margin-top: 0.75rem;
  border-bottom: 1px solid var(--line-warm); padding-bottom: 0.2rem;
  overflow-wrap: anywhere; transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.footer__email:hover { color: var(--rosewood); border-color: var(--rosewood); }
.footer__phone { font-size: var(--step-1); color: var(--ash); min-height: 44px; display: inline-flex; align-items: center; }
.footer__phone:hover { color: var(--bone); }

.footer__cols {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem var(--gutter);
  margin-top: clamp(4rem, 8vw, 7rem); padding-top: 2.5rem; border-top: 1px solid var(--line);
}
.footer__h { font-family: var(--sans); font-size: var(--step--1); font-weight: 500; color: var(--brand-grey); margin-bottom: 1rem; }
.footer__cols address, .footer__cols li { color: var(--ash); line-height: 1.8; }
.footer__cols a { display: inline-block; padding-block: 0.15rem; transition: color 0.3s var(--ease); }
.footer__cols a:hover { color: var(--bone); }

.footer__base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: clamp(4rem, 8vw, 6rem); padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: var(--step--1); color: var(--ash);
}

/* 13. MOTION ---------------------------------------------------------------- */
/* One orchestrated moment: the hero load sequence. Only runs when JS is present. */
.js .hero__line,
.js .hero__lede,
.js .hero__actions,
.js .hero__roster { opacity: 0; transform: translateY(24px); }
.js .hero__signal path { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.js .hero__media img { transform: scale(1.08); opacity: 0; }

.is-loaded .hero__line,
.is-loaded .hero__lede,
.is-loaded .hero__actions,
.is-loaded .hero__roster {
  opacity: 1; transform: none;
  transition: opacity 1.1s var(--ease), transform 1.3s var(--ease);
}
.is-loaded .hero__line:nth-child(1) { transition-delay: 0.15s; }
.is-loaded .hero__line:nth-child(2) { transition-delay: 0.32s; }
.is-loaded .hero__lede    { transition-delay: 0.6s; }
.is-loaded .hero__actions { transition-delay: 0.75s; }
.is-loaded .hero__roster  { transition-delay: 1.2s; }
.is-loaded .hero__signal path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease) 0.7s; }
.is-loaded .hero__media img { opacity: 1; transform: scale(1); transition: opacity 1.6s ease, transform 3.2s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation: none !important; }
  .js .hero__line, .js .hero__lede, .js .hero__actions, .js .hero__roster,
  .js .hero__media img { opacity: 1; transform: none; }
  .js .hero__signal path { stroke-dashoffset: 0; }
  .vision__bg img { transform: none !important; }
  .signal__fill { transform: none !important; }
}

/* 14. RESPONSIVE ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .biz__media, .biz--flip .biz__media { grid-column: 1 / -1; grid-row: auto; }
  .biz__body, .biz--flip .biz__body, .biz--academy .biz__body { grid-column: 1 / span 9; grid-row: auto; }
  .biz__media--portrait { grid-column: 1 / span 8; }
  .work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work__more ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 2.5rem; }
  .journey::before { display: none; }
  .journey li { border-top: 1px solid var(--line-warm); }
  .journey li::before { top: -5px; }
  .principles li { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }

  /* Mobile navigation: full-screen overlay */
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 0; z-index: 1;
    display: flex; align-items: center;
    padding: calc(var(--nav-h) + 2rem) var(--gutter) 3rem;
    background:
      radial-gradient(80% 60% at 0% 0%, rgba(106, 10, 40, 0.45), transparent 70%),
      var(--ink);
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease); }
  .nav.is-open { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__menu ul { flex-direction: column; gap: 0.25rem; width: 100%; }
  .nav__menu a {
    font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.2rem); color: var(--bone);
    padding-block: 0.4rem; line-height: 1.15;
  }
  .nav__menu a::after { display: none; }
  .logo img { height: 34px; }
  body.menu-open { overflow: hidden; }

  /* Hero: image becomes full-bleed atmosphere behind the type */
  .hero { padding-top: calc(var(--nav-h) + 1rem); grid-template-rows: 1fr auto auto; }
  .hero__media {
    width: 100%;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 60%);
    mask-image: linear-gradient(0deg, transparent 0%, #000 60%);
  }
  .hero__media img { object-position: 62% 25%; }
  .hero__media::after { background: linear-gradient(0deg, rgba(18, 12, 15, 0.7) 20%, rgba(18, 12, 15, 0.15) 100%); }
  .hero__content { align-self: end; padding-bottom: 2rem; }
  .hero__line + .hero__line { padding-left: 0.6em; }
  .hero__roster { grid-template-columns: 1fr; }
  .hero__roster li + li a { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero__roster a { padding: 0.9rem 0; flex-direction: row; justify-content: space-between; align-items: baseline; gap: 1rem; }
  .hero__roster-name { font-size: 1.05rem; }
  .hero__roster-desc { text-align: right; }
  .hero__signal { height: 36px; }

  .about__title, .about__copy,
  .businesses__intro h2, .businesses__intro .lede,
  .approach__aside, .principles,
  .vision__proposition, .flow,
  .footer__title, .footer__reach { grid-column: 1 / -1; }
  .approach__aside { position: static; }
  .principles { margin-top: 1rem; }

  .explore__grid { grid-template-columns: 1fr; }
  .portal { min-height: 420px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__roster-desc { display: none; }

  .journey { grid-template-columns: 1fr; row-gap: 0; margin-left: 4px; }
  .journey li { border-top: 0; border-left: 1px solid var(--line-warm); padding: 0 0 1.4rem 1.6rem; }
  .journey li:last-child { padding-bottom: 0; }
  .journey li::before { left: -5px; top: 0.3rem; }
  .journey li::after { display: inline; margin: 0 0 0 0.6rem; }

  /* Selected work becomes a swipeable row */
  .work__grid {
    grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .work__grid::-webkit-scrollbar { display: none; }
  .work__item { scroll-snap-align: start; }
  .work__more ul { grid-template-columns: 1fr; gap: 1rem; }

  .signal { padding-left: 1.75rem; }
  .signal__source { margin-left: -1.75rem; }
  .biz__tap { left: calc(-1.75rem + 7px); width: 1.25rem; }
  .biz__body, .biz--flip .biz__body, .biz--academy .biz__body, .biz__media--portrait { grid-column: 1 / -1; }
  .biz { gap: 1.75rem; }
  .biz .btn--brand { width: 100%; }

  .flow { font-size: 1.1rem; }
  .flow li:not(:last-child)::after { width: 1rem; margin-inline: 0.5rem; }

  .footer__cols { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; align-items: flex-start; }
}


/* ==========================================================================
   15. EXTENDED CONTENT (profile sections)
   ========================================================================== */
.hero__tagline {
  margin-top: clamp(1.25rem, 3vh, 2rem);
  font-family: var(--serif); font-style: italic; font-size: var(--step-1); color: var(--brand-grey);
}
.hero__lede { margin-top: 0.75rem; }

.about__copy p:not(.lede) { max-width: 52ch; }

/* Capabilities */
.caps { margin-top: clamp(5rem, 10vw, 9rem); }
.caps__head, .scale__head, .promise__head, .sectors__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem var(--gutter); align-items: baseline;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.caps__head h3, .scale__head h3, .promise__head h3, .sectors__head h3 { grid-column: 1 / span 5; }
.caps__head p, .scale__head p, .promise__head p { grid-column: 7 / span 6; max-width: 56ch; }
.caps__list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1rem, 2.5vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.caps__list li {
  padding: 1rem 0; border-bottom: 1px solid var(--line);
  display: flex; gap: 0.85rem; align-items: baseline;
}
.caps__list li::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--rosewood); transform: translateY(-2px);
}

/* Mission + belief */
.mission {
  margin-top: clamp(5rem, 10vw, 9rem);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem var(--gutter); align-items: end;
}
.mission__statement { grid-column: 1 / span 7; display: grid; gap: 1.25rem; }
.mission__label { font-family: var(--sans); font-weight: 500; font-size: var(--step--1); color: var(--brand-grey); }
.mission__statement p {
  font-family: var(--serif); font-size: var(--step-2); line-height: 1.3; text-wrap: balance;
}
.mission__belief { grid-column: 9 / span 4; color: var(--ash); }

/* Values */
.values { margin-top: clamp(4rem, 8vw, 7rem); }
.values__title { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.values__list {
  margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem clamp(1rem, 2vw, 2rem);
}
.values__list > div { border-top: 1px solid var(--line-warm); padding-top: 1.1rem; display: grid; gap: 0.5rem; align-content: start; }
.values__list dt { font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; }
.values__list dd { margin: 0; font-size: 0.95rem; color: var(--ash); }

/* Business extras */
.biz__sub {
  font-family: var(--sans); font-weight: 500; font-size: var(--step--1); color: var(--accent);
  margin-top: 0.75rem;
}
.biz__services--2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
.biz__groups { width: 100%; display: grid; gap: 1.25rem; }
.biz__groups > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0 1.25rem; align-items: start; }
.biz__groups .biz__sub { margin-top: 0.7rem; }
.biz__groups .biz__services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }
.biz__note {
  font-size: 0.95rem; color: var(--ash); max-width: 52ch;
  padding-left: 1rem; border-left: 1px solid var(--accent);
}
.biz__quote, .biz__quote p {
  font-family: var(--serif); font-style: italic; font-size: var(--step-1); line-height: 1.45; color: var(--academy);
  max-width: 46ch;
}

/* Approach extras */
.scale { margin-top: clamp(6rem, 12vw, 10rem); }
.scale__grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem clamp(1rem, 2vw, 2rem);
}
.pillar { border-top: 1px solid var(--burgundy); padding-top: 1.25rem; display: grid; gap: 0.9rem; align-content: start; }
.pillar h4 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; }
.pillar ul { display: grid; gap: 0.35rem; }
.pillar li, .pillar p { font-size: 0.95rem; color: var(--ash); }
.scale__close { margin-top: clamp(2rem, 4vw, 3rem); max-width: 60ch; font-size: var(--step-1); }

.promise { margin-top: clamp(6rem, 12vw, 10rem); }
.promise__steps {
  counter-reset: s;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1rem, 2.5vw, 2.5rem);
}
.promise__steps li {
  counter-increment: s; display: grid; gap: 0.4rem; align-content: start;
  padding: 1.5rem 0 2rem; border-top: 1px solid var(--line);
}
.promise__steps li::before {
  content: counter(s, decimal-leading-zero); font-size: 0.8rem; color: var(--brand-grey); font-variant-numeric: tabular-nums;
}
.promise__steps strong { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); line-height: 1.1; }
.promise__steps span { color: var(--ash); max-width: 36ch; }

/* Experience */
.experience { background: linear-gradient(180deg, var(--body), var(--body-2) 50%, var(--body)); }
.work__head .muted { max-width: 52ch; }
.work__sub { font-family: var(--sans); font-weight: 500; font-size: var(--step--1); color: var(--brand-grey); margin-bottom: 1.25rem; }
.work__close { margin-top: 2rem; color: var(--ash); max-width: 64ch; }

.sectors { margin-top: clamp(6rem, 12vw, 10rem); }
.sectors__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem clamp(1rem, 2vw, 2rem); }
.sector { border-top: 1px solid var(--line-warm); padding-top: 1.25rem; display: grid; gap: 0.9rem; align-content: start; }
.sector h4 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.2; }
.sector ul { display: grid; gap: 0.35rem; }
.sector li { font-size: 0.95rem; color: var(--ash); }

.clients { margin-top: clamp(5rem, 10vw, 8rem); }
.clients__title { font-family: var(--sans); font-weight: 500; font-size: var(--step--1); color: var(--brand-grey); margin-bottom: 1.5rem; }
.clients__list {
  display: flex; flex-wrap: wrap; gap: 0.6rem 0;
  font-family: var(--serif); font-size: var(--step-2); line-height: 1.25;
}
.clients__list li { display: inline-flex; align-items: center; }
.clients__list li:not(:last-child)::after {
  content: ""; width: 0.35em; height: 0.35em; border-radius: 50%; margin-inline: 0.6em;
  background: var(--burgundy);
}
.clients__note { margin-top: 1.75rem; max-width: 60ch; }

/* Purpose / people development */
.purpose__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem var(--gutter); align-items: end;
}
.purpose__title { grid-column: 1 / span 6; }
.purpose__copy { grid-column: 8 / span 5; display: grid; gap: 1.25rem; }
.purpose__copy p:not(.lede) { color: var(--ash); }

.model {
  counter-reset: m;
  margin-top: clamp(4rem, 8vw, 7rem);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem clamp(0.75rem, 1.5vw, 1.5rem);
}
.model li {
  counter-increment: m; position: relative; display: grid; gap: 0.6rem; align-content: start;
  padding: 1.5rem 1.25rem 1.75rem;
  background: linear-gradient(180deg, rgba(106, 10, 40, 0.4), rgba(106, 10, 40, 0.1));
  border-top: 1px solid var(--burgundy);
}
.model li::before { content: counter(m); font-size: 0.8rem; color: var(--brand-grey); }
.model strong { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); line-height: 1.1; }
.model span { font-size: 0.95rem; color: var(--ash); }
.model__close { margin-top: 2rem; color: var(--ash); max-width: 70ch; }

.ahead {
  margin-top: clamp(6rem, 12vw, 10rem);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem var(--gutter); align-items: start;
}
.ahead__copy { grid-column: 1 / span 5; display: grid; gap: 1.25rem; }
.ahead__list { grid-column: 7 / span 6; border-top: 1px solid var(--line); }
.ahead__list li {
  padding: 0.9rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: var(--step-1);
}
.ahead__close {
  grid-column: 1 / -1; margin-top: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--serif); font-style: italic; font-size: var(--step-2); line-height: 1.3;
  max-width: 36ch; color: var(--bone); text-wrap: balance;
}

/* Partnerships */
.partners {
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(106, 10, 40, 0.28), transparent 70%),
    var(--body);
  border-top: 1px solid var(--line);
}
.partners__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem var(--gutter); align-items: start;
}
.partners__head { grid-column: 1 / span 5; display: grid; gap: 1.5rem; }
.partners__head .lede { color: var(--bone); }
.partners__areas { grid-column: 7 / span 6; margin: 0; }
.partners__areas > div {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 0.5rem 2rem;
  padding: 1.4rem 0; border-top: 1px solid var(--line);
}
.partners__areas > div:last-child { border-bottom: 1px solid var(--line); }
.partners__areas dt { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; }
.partners__areas dd { margin: 0; color: var(--ash); }
.partners__sub { margin-top: clamp(4rem, 8vw, 6rem); margin-bottom: 1.25rem; font-family: var(--sans); font-weight: 500; font-size: var(--step--1); color: var(--brand-grey); }
.partners__tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.partners__tags li {
  padding: 0.55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.95rem; color: var(--bone);
}

@media (max-width: 1100px) {
  .biz__media, .biz--flip .biz__media { position: relative; top: auto; }
  .caps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scale__grid, .sectors__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .model { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mission__statement { grid-column: 1 / -1; }
  .mission__belief { grid-column: 1 / span 9; }
}

@media (max-width: 900px) {
  .caps__head h3, .caps__head p, .scale__head h3, .scale__head p, .promise__head h3, .promise__head p, .sectors__head h3,
  .purpose__title, .purpose__copy, .ahead__copy, .ahead__list, .partners__head, .partners__areas, .mission__belief { grid-column: 1 / -1; }
  .promise__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners__areas > div { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .caps__list, .values__list, .scale__grid, .sectors__grid, .model, .promise__steps,
  .biz__services--2col, .biz__groups .biz__services { grid-template-columns: 1fr; }
  .biz__groups > div { grid-template-columns: 1fr; }
  .model li { padding: 1.25rem 1rem 1.4rem; }
  .clients__list { font-size: 1.25rem; }
  .partners__tags li { font-size: 0.9rem; }
}


/* ==========================================================================
   16. WHATSAPP CONTACT
   ========================================================================== */
.icon--chat { width: 1.15em; height: 1.15em; }
.footer__wa {
  display: grid; gap: 0.4rem; justify-items: start;
  padding-bottom: 0.6rem; border-bottom: 1px solid var(--line-warm);
  transition: border-color 0.3s var(--ease);
}
.footer__wa-label {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: var(--step--1); font-weight: 500; color: var(--brand-grey);
}
.footer__wa-number {
  font-family: var(--serif); font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); line-height: 1.1;
  font-variant-numeric: lining-nums; transition: color 0.3s var(--ease);
}
.footer__wa:hover { border-color: var(--bone); }
.footer__wa:hover .footer__wa-number { color: var(--rosewood); }
.footer__email:hover { color: var(--bone); }
.text-link--wa { gap: 0.5rem; }

/* Floating button: appears once the visitor scrolls past the hero */
.wa-float {
  position: fixed; z-index: 40;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 52px; padding: 0.8rem 1.25rem 0.8rem 1.05rem;
  background: var(--burgundy); color: var(--bone);
  border: 1px solid rgba(242, 235, 228, 0.18); border-radius: 999px;
  font-size: 0.95rem; font-weight: 500;
  box-shadow: 0 14px 40px -12px rgba(0, 0, 0, 0.6);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background-color 0.3s var(--ease);
}
.wa-float:hover { background: #84173A; }
.js .wa-float { opacity: 0; transform: translateY(12px); pointer-events: none; }
.js .wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
body.menu-open .wa-float { opacity: 0; pointer-events: none; }
@media (max-width: 640px) {
  .wa-float { padding: 0; width: 56px; justify-content: center; }
  .wa-float__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wa-float .icon--chat { width: 1.5em; height: 1.5em; }
}


/* ==========================================================================
   17. MOTION AND MICRO-INTERACTIONS
   Classes below are added by main.js, so without JavaScript the page renders
   complete and static. All motion is switched off under prefers-reduced-motion.
   ========================================================================== */

/* Scroll progress in the nav */
.nav__progress {
  position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--burgundy), var(--rosewood));
  transform-origin: left; transform: scaleX(var(--progress, 0));
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.nav.is-scrolled .nav__progress { opacity: 1; }

/* Hero: pointer-following glow (fine pointers only) and scroll-away */
.hero__glow {
  position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), rgba(150, 24, 62, 0.28), transparent 65%);
  opacity: 0; transition: opacity 0.8s var(--ease);
}
.hero.is-pointer .hero__glow { opacity: 1; }
.hero__content { will-change: transform, opacity; }

/* Generic reveal: fade and rise */
.js .rv {
  opacity: 0; translate: 0 28px;
  transition: opacity 1s var(--ease), translate 1.2s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .rv.is-in { opacity: 1; translate: 0 0; }

/* Staggered children */
.js .rv-stagger > * {
  opacity: 0; translate: 0 22px;
  transition: opacity 0.9s var(--ease), translate 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .rv-stagger.is-in > * { opacity: 1; translate: 0 0; }

/* Headline words rise out of a mask */
.js .rv-words .w {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding-bottom: 0.12em; margin-bottom: -0.12em;
}
.js .rv-words .w > span {
  display: inline-block; translate: 0 105%;
  transition: translate 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.js .rv-words.is-in .w > span { translate: 0 0; }

/* Photographs: curtain open, settling zoom, then gentle parallax */
.js .rv-media { clip-path: inset(14% 0 14% 0); transition: clip-path 1.4s var(--ease); }
.js .rv-media.is-in { clip-path: inset(0 0 0 0); }
.js .rv-media img { scale: 1.16; transition: scale 1.8s var(--ease); }
.js .rv-media.is-in img { scale: 1.06; }
[data-parallax] img { translate: 0 var(--py, 0px); will-change: translate; }

/* Signal flow: each branch draws out as its company arrives */
.js .biz__tap { transform-origin: left; transform: scaleX(0); transition: transform 0.9s var(--ease) 0.2s; }
.js .biz__tap::before { scale: 0; transition: scale 0.5s var(--ease) 0.9s; }
.js .biz.is-in .biz__tap { transform: scaleX(1); }
.js .biz.is-in .biz__tap::before { scale: 1; }
.signal__node { animation: node-pulse 3.2s ease-in-out infinite; }
@keyframes node-pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(106, 10, 40, 0.25), 0 0 30px 6px rgba(150, 24, 62, 0.45); }
  50%      { box-shadow: 0 0 0 9px rgba(106, 10, 40, 0.12), 0 0 44px 12px rgba(150, 24, 62, 0.6); }
}

/* Project journey: the line draws, then each stage lights in turn */
.js .journey::before { transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--ease); }
.js .journey.is-in::before { transform: scaleX(1); }
.js .journey li::before { scale: 0.3; opacity: 0.3; transition: scale 0.5s var(--ease), opacity 0.5s var(--ease), background-color 0.5s; transition-delay: calc(var(--i, 0) * 180ms + 300ms); }
.js .journey.is-in li::before { scale: 1; opacity: 1; }

/* Vision statement lights up word by word as it is read */
.js .vision__statement .vw { opacity: 0.2; transition: opacity 0.35s ease; }
.js .vision__statement .vw.is-lit { opacity: 1; }

/* Counters */
.count { font-variant-numeric: tabular-nums; }

/* --- Micro-interactions ------------------------------------------------ */

/* Primary button: a light sweep */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(242, 235, 228, 0.22) 50%, transparent 70%);
  translate: -120% 0; transition: translate 0.9s var(--ease);
}
.btn--primary:hover::after { translate: 120% 0; }
.btn:active { scale: 0.98; }
.btn--brand:hover { box-shadow: 0 12px 34px -14px var(--accent); }

/* Hero roster: name slides, a hairline draws under it */
.hero__roster-name { position: relative; transition: translate 0.4s var(--ease), color 0.3s var(--ease); }
.hero__roster a:hover .hero__roster-name { translate: 6px 0; }

/* Lists with bullet dots: the dot stretches into a dash */
.caps__list li::before, .biz__services li::before { transition: width 0.35s var(--ease), border-radius 0.35s var(--ease), background-color 0.3s; }
.caps__list li:hover::before, .biz__services li:hover::before { width: 16px; border-radius: 3px; }
.caps__list li, .biz__services li { transition: color 0.3s var(--ease); }
.caps__list li:hover { color: var(--bone); }

/* Ruled columns: a burgundy bar grows along the top rule on hover */
.pillar, .sector, .values__list > div { position: relative; }
.pillar::before, .sector::before, .values__list > div::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--rosewood), var(--burgundy));
  transform-origin: left; transform: scaleX(0); transition: transform 0.6s var(--ease);
}
.pillar:hover::before, .sector:hover::before, .values__list > div:hover::before { transform: scaleX(1); }
.pillar li, .sector li { transition: color 0.3s var(--ease), translate 0.3s var(--ease); }
.pillar:hover li, .sector:hover li { color: var(--bone); }

/* Principles and partnership areas: heading eases right, rule warms */
.principles li, .partners__areas > div, .promise__steps li { transition: border-color 0.4s var(--ease); }
.principles h3, .partners__areas dt, .promise__steps strong { transition: translate 0.45s var(--ease), color 0.3s var(--ease); }
.principles li:hover, .partners__areas > div:hover, .promise__steps li:hover { border-color: var(--rosewood); }
.principles li:hover h3, .partners__areas > div:hover dt, .promise__steps li:hover strong { translate: 8px 0; }
.promise__steps li::before { transition: color 0.3s var(--ease); }
.promise__steps li:hover::before { color: var(--bone); }

/* People-development cards lift */
.model li { transition: translate 0.45s var(--ease), background-color 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.model li:hover { translate: 0 -6px; box-shadow: 0 24px 50px -28px rgba(150, 24, 62, 0.8); }

/* Selected work: image zooms inside its frame, title underlines */
.work__frame { overflow: hidden; }
.work__frame img { transition: scale 1.1s var(--ease), filter 0.6s var(--ease); }
.work__item:hover .work__frame img { scale: 1.05; filter: saturate(1) contrast(1.05); }
.work__item figcaption strong {
  background: linear-gradient(var(--rosewood), var(--rosewood)) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
.work__item:hover figcaption strong { background-size: 100% 1px; }

/* Clients: hovering one name quietens the rest */
.clients__list li { transition: opacity 0.35s var(--ease), color 0.35s var(--ease); }
.clients__list:hover li { opacity: 0.4; }
.clients__list li:hover { opacity: 1; color: var(--bone); }

/* Looking ahead: a dash slides in */
.ahead__list li { position: relative; transition: padding-left 0.4s var(--ease), color 0.3s var(--ease); }
.ahead__list li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--rosewood);
  transition: width 0.4s var(--ease);
}
.ahead__list li:hover { padding-left: 1.75rem; }
.ahead__list li:hover::before { width: 1.1rem; }

/* Partnership tags fill on hover */
.partners__tags li { transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), translate 0.3s var(--ease); }
.partners__tags li:hover { background: var(--burgundy); border-color: var(--burgundy); translate: 0 -2px; }

/* Explore portals: a spotlight follows the pointer */
.portal::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.portal:hover::after { opacity: 1; }
.portal__body { transition: translate 0.6s var(--ease); }
.portal:hover .portal__body { translate: 0 -6px; }

/* Footer WhatsApp: number nudges, icon wiggles once */
.footer__wa-number { transition: color 0.3s var(--ease), translate 0.4s var(--ease); }
.footer__wa:hover .footer__wa-number { translate: 6px 0; }
.footer__wa:hover .icon--chat, .wa-float:hover .icon--chat { animation: chat-nudge 0.6s var(--ease); }
@keyframes chat-nudge { 0%, 100% { rotate: 0deg; } 30% { rotate: -12deg; } 60% { rotate: 8deg; } }

/* Reduced motion: everything visible, nothing moves */
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .rv-stagger > *, .js .rv-words .w > span { opacity: 1 !important; translate: none !important; }
  .js .rv-media { clip-path: none !important; }
  .js .rv-media img, [data-parallax] img { scale: 1 !important; translate: none !important; }
  .js .biz__tap, .js .journey::before { transform: none !important; }
  .js .biz__tap::before, .js .journey li::before { scale: 1 !important; opacity: 1 !important; }
  .js .vision__statement .vw { opacity: 1 !important; }
  .signal__node { animation: none; }
  .hero__content { transform: none !important; opacity: 1 !important; }
}


/* ==========================================================================
   18. FILMSTRIP AND ABOUT COLLAGE
   ========================================================================== */
.about.section { padding-top: clamp(3rem, 2rem + 4vw, 6rem); }

.strip {
  --strip-h: clamp(170px, 12vw + 90px, 300px);
  margin-bottom: clamp(4.5rem, 3rem + 6vw, 9rem);
  overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.strip::-webkit-scrollbar { display: none; }
.strip__track { display: flex; gap: clamp(0.6rem, 1vw, 1rem); width: max-content; padding-inline: var(--gutter); }
.strip__item { flex: none; height: var(--strip-h); aspect-ratio: var(--w) / var(--h); }
.strip__item figure { position: relative; height: 100%; overflow: hidden; }
.strip__item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.8) brightness(0.92);
  transition: scale 1s var(--ease), filter 0.6s var(--ease);
}
.strip__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.2rem 0.9rem 0.7rem;
  font-size: 0.82rem; font-weight: 500; color: var(--bone);
  background: linear-gradient(180deg, transparent, rgba(18, 12, 15, 0.85));
  opacity: 0; translate: 0 6px; transition: opacity 0.4s var(--ease), translate 0.4s var(--ease);
}
.strip__item:hover img { scale: 1.05; filter: saturate(1) brightness(1); }
.strip__item:hover figcaption { opacity: 1; translate: 0 0; }
@media (hover: none) { .strip__item figcaption { opacity: 1; translate: 0 0; } }

/* Continuous drift once main.js has duplicated the set (motion allowed only) */
.strip.is-looping { overflow: hidden; }
.strip.is-looping .strip__track { animation: strip-drift var(--strip-dur, 70s) linear infinite; padding-inline: 0; }
.strip.is-looping:hover .strip__track { animation-play-state: paused; }
@keyframes strip-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* About collage: a wide band under the intro, technical and creative overlapping */
.about__collage {
  position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end;
  margin-top: clamp(3rem, 6vw, 5rem); margin-bottom: 6%;
}
.about__photo { overflow: hidden; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--a { grid-column: 2 / span 4; grid-row: 1; aspect-ratio: 4 / 5; }
.about__photo--b {
  grid-column: 5 / span 7; grid-row: 1; aspect-ratio: 3 / 2; margin-bottom: -8%;
  border: clamp(6px, 0.8vw, 10px) solid var(--body);
}
.about__photo--a img { filter: saturate(0.85); }
.about__grid { align-items: end; }

@media (max-width: 900px) {
  .about__lead { grid-column: 1 / -1; }
  .about__photo--a { grid-column: 1 / span 6; }
  .about__photo--b { grid-column: 4 / span 9; }
}
@media (prefers-reduced-motion: reduce) {
  .strip.is-looping .strip__track { animation: none; }
  .strip.is-looping { overflow-x: auto; }
}
