/* ============================================================
   MAISON ITER — DESIGN SYSTEM
   ------------------------------------------------------------
   Everything visual is controlled from the tokens below.
   To restyle the whole site later (new brand identity, logo,
   fonts, colors), you edit THIS block — not the pages.
   See README for a plain-language guide.
   ============================================================ */

:root {

  /* --- BRAND COLORS · Apex Light palette ---------------------
     These are your locked color definitions. Change a hex here
     and it updates everywhere it is used across the site.      */
  --ion-green:    #2ED47A;   /* Progress · Drive · Departure   */
  --fusion-glow:  #FF5FA6;   /* Energy · Direction             */
  --magenta-peak: #FF5C96;   /* Links · Accent                 */
  --gilded-light: #F2E8C2;   /* Warm platinum-gold · sparingly */

  /* The Fusion Path gradient — the "thread" motif             */
  --thread-gradient: linear-gradient(
      100deg,
      var(--ion-green) 0%,
      var(--fusion-glow) 52%,
      var(--magenta-peak) 100%);

  /* --- SEMANTIC ROLES (what the palette DOES) ----------------
     Pages reference these, so you can re-point the whole design
     to a new palette by changing only the lines below.         */
  --color-bg:          #F5F2EC;   /* Paper · default background */
  --color-bg-deep:     #1A1512;   /* Ink · dark sections         */
  --color-surface:     #FFFFFF;   /* cards / raised areas       */
  --color-text:        #1A1512;   /* Ink · primary reading color */
  --color-text-soft:   #1A1512;   /* was #5A524B - one text color, Ink (site-wide review Step 2.1, 14 Oct 2026) */
  --color-ui-soft:     #5A524B;   /* grey kept only for the header menu and small navigation details (Step 2.1) */
  --color-text-invert: #F2ECE0;   /* Cream · text on dark bands  */
  --color-accent:      var(--magenta-peak);
  --color-line:        #E7E0D5;   /* hairline dividers          */
  --color-line-invert: rgba(244,240,234,0.16);

  /* --- TYPOGRAPHY -------------------------------------------
     Two font roles. Swap the family here (and the <link> in the
     page <head>) to change type across the entire site.        */
  --font-heading: "Cormorant Garamond", "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-eyebrow:  0.6875rem;  /* 11px, per Brand ID */
  --fs-body:     1.0625rem;
  --fs-lead:     clamp(1.125rem, 0.8rem + 0.9vw, 1.375rem); /* was 1.375rem - 22px desktop and tablet, 18px phone (site-wide review Step 2.2, 14 Oct 2026) */
  --lh-body:     1.6;
  --tracking-eyebrow: 0.16em;

  /* --- SPACE & RHYTHM --------------------------------------- */
  --space-section: clamp(3.5rem, 7.8vw, 7rem); /* was clamp(4.5rem, 10vw, 9rem) - 112px desktop, 56px phone (site-wide review Step 2.8, 15 Oct 2026) */
  --maxw:      1228px; /* was 1180px - lock-up and text 24px further left (site-wide review Step 1.2, 14 Oct 2026) */
  --maxw-text: 760px;
  --radius:    2px;

  /* --- MOTION ------------------------------------------------ */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.4rem, 5vw, 3rem); }
.measure { max-width: var(--maxw-text); }
/* Site-wide alignment (8 Oct 2026): every section starts on the hero's left edge.
   Reading width stays capped for text blocks; blocks that set their own width keep it. */
.wrap.measure { max-width: var(--maxw); }
.wrap.measure[style*="max-width:1180px"] { max-width: var(--maxw) !important; } /* full-width sections follow --maxw (Step 1.2) */
.cta-band .wrap.measure, .chapter-cta .wrap.measure { max-width: var(--maxw-text); } /* centered closing bands unchanged */
:where(section:not(.cta-band, .chapter-cta) > .wrap.measure:not([style*="max-width:1180px"])) > * { width: min(100%, calc(var(--maxw-text) - 2 * clamp(1.4rem, 5vw, 3rem))); }
.section { padding-block: var(--space-section); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-text-soft);
  margin: 0 0 1.5rem;
}
.eyebrow--accent { color: var(--color-accent); }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--color-text); }

/* The thread — thin gradient rule used as a recurring motif */
.thread-rule {
  height: 2px; width: 100%;
  border: 0; margin: 0;
  background: var(--thread-gradient);
}
.thread-tick {
  display: inline-block; width: 46px; height: 2px;
  background: var(--thread-gradient); margin-bottom: 2rem;
}

/* ============================================================
   BUTTONS / CTA
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.9rem; letter-spacing: 0.06em; font-weight: 500;
  padding: 0.95em 1.9em;
  border-radius: var(--radius);
  border: 1px solid var(--color-text);
  background: var(--color-text); color: var(--color-bg);
  cursor: pointer;
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost { background: transparent; color: var(--color-text); }
.btn--ghost:hover { background: transparent; color: var(--color-accent); border-color: var(--color-accent); transform: translateY(-2px); }

.btn--invert { background: var(--color-text-invert); color: var(--color-bg-deep); border-color: var(--color-text-invert); }
.btn--invert:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

/* Text link with animated underline */
.link-underline {
  position: relative; display: inline-flex; align-items: center; gap: .5em;
  font-weight: 500; letter-spacing: 0.02em;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.link-underline:hover { color: var(--color-accent); }
.link-underline:hover::after { transform: scaleX(1); }

/* ============================================================
   HEADER / NAV  (injected by site.js)
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-line);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
/* LOGO SLOT — currently a text wordmark. Drop an <img> in here
   (see site.js / README) once the logo is designed.            */
.brand {
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 500; letter-spacing: 0.01em;
  display: inline-flex; align-items: baseline; gap: .32em;
  line-height: 1;
  flex-shrink: 0;
}
.brand img { flex-shrink: 0; }
.brand .brand__i { color: var(--color-accent); }

.nav { display: flex; align-items: center; gap: clamp(.9rem, 1.7vw, 1.8rem); }
.nav a {
  font-family: var(--font-body);
  font-size: 0.9rem; letter-spacing: 0.01em; color: var(--color-ui-soft);
  transition: color .3s var(--ease); white-space: nowrap;
}
.nav a:hover { color: var(--color-text); }
.nav a.is-active { color: var(--color-text); }
.nav a.is-active::after {
  content: ""; display: block; height: 1.5px; margin-top: 4px;
  background: var(--thread-gradient);
}
.nav__cta { margin-left: .4rem; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--color-text); margin: 5px 0; transition: .3s var(--ease); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 1.4rem;
    background: var(--color-bg); border-bottom: 1px solid var(--color-line);
    padding: 2rem clamp(1.4rem, 5vw, 3rem) 2.5rem;
    transform: translateY(-120%); transition: transform .5s var(--ease);
    height: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { font-size: 1.1rem; }
  .nav__cta { margin-left: 0; }
  .site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-block: clamp(4rem, 12vh, 8rem) clamp(4rem, 10vh, 7rem); overflow: hidden; }
.hero__def {
  font-family: var(--font-body); font-size: 0.9375rem; color: var(--color-text-soft);
  line-height: 1.9; margin-bottom: 2.4rem;
}
.hero__def b { color: var(--color-text); font-weight: 600; }
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.8rem;
  max-width: 16ch;
}
.hero h1 em { font-style: italic; color: var(--color-accent); }
.hero__pitch { font-size: var(--fs-lead); line-height: 1.55; color: var(--color-text-soft); max-width: 46ch; margin-bottom: 2.6rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ============================================================
   GENERIC CONTENT SECTIONS
   ============================================================ */
.band-dark { background: var(--color-bg-deep); color: var(--color-text-invert); }
.band-dark .eyebrow { color: rgba(244,240,234,0.6); }
.band-dark .lead, .band-dark p { color: var(--color-text-invert); }

.section-head { margin-bottom: 2.6rem; } /* was 3.2rem (Step 2.8) */
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 20ch; }

.q-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 3rem); font-style: italic;
  line-height: 1.15; max-width: 24ch;
}

/* The thread / chapter index on the homepage */
.thread-list { border-top: 1px solid var(--color-line); margin-top: 1rem; }
.thread-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.9rem 0; border-bottom: 1px solid var(--color-line);
  transition: padding-left .45s var(--ease);
}
.thread-item:hover { padding-left: .8rem; }
.thread-item__num {
  font-family: var(--font-body); font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow); font-weight: 600;
  color: var(--color-text-soft);
}
.thread-item__q { font-family: var(--font-heading); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.2; }
.thread-item__label { display:block; font-family: var(--font-body); font-style: normal; font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow); font-weight: 600; text-transform: uppercase; color: var(--color-text-soft); margin-bottom: .5rem; }
.thread-item__arrow { color: var(--color-ui-soft); transition: transform .45s var(--ease), color .45s var(--ease); }
.thread-item:hover .thread-item__arrow { transform: translateX(6px); color: var(--color-accent); }

/* Two-column feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; } }

/* Color story swatches */
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 720px){ .swatches { grid-template-columns: repeat(2,1fr); } }
.swatch__chip { height: 120px; border-radius: var(--radius); margin-bottom: 1rem; }
.swatch__name { font-family: var(--font-heading); font-size: 1.15rem; }
.swatch__hex { font-size: .8rem; letter-spacing: .1em; color: var(--color-text-soft); }

/* ============================================================
   CLOSING CTA BAND
   ============================================================ */
.cta-band { text-align: center; }
.cta-band .q-heading { margin: 0 auto 2.2rem; }

/* ============================================================
   FOOTER  (injected by site.js)
   ============================================================ */
.site-footer { background: var(--color-bg-deep); color: var(--color-text-invert); padding-block: 4rem 2.5rem; }
.site-footer a { color: var(--color-text-invert); }
.site-footer__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--color-line-invert); }
.site-footer__brand { font-family: var(--font-heading); font-size: 1.8rem; }
.site-footer__brand .brand__i { color: var(--color-accent); }
.site-footer__def { font-size: .85rem; color: rgba(244,240,234,0.6); margin-top: .6rem; max-width: 34ch; line-height: 1.7; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.site-footer__nav a { font-size: .85rem; color: rgba(244,240,234,0.78); }
.site-footer__nav a:hover { color: #fff; }
.site-footer__bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 2rem; font-size: .78rem; color: rgba(244,240,234,0.5); }
.site-footer__bottom > span:first-child { flex: 0 0 544px; }
.site-footer__bottom > span:last-child { margin-left: auto; }
/* Footer grid (8 Oct 2026): legal links share the nav column, so "Privacy" always aligns under "The Firm" */
.site-footer__grid { display: grid; grid-template-columns: 1fr auto; column-gap: 2rem; align-items: start; }
.site-footer__rule { grid-column: 1 / -1; border-bottom: 1px solid var(--color-line-invert); margin: 2.5rem 0 2rem; }
.site-footer__copy, .site-footer__meta { font-size: .78rem; color: rgba(244,240,234,0.5); }
.site-footer__meta { display: flex; align-items: center; gap: 1rem; }
.site-footer__meta > span:last-child { margin-left: auto; }
@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__nav { margin-top: 2rem; }
  .site-footer__meta { flex-wrap: wrap; margin-top: 1rem; }
  .site-footer__meta > span:last-child { margin-left: 0; }
}

/* ============================================================
   CHAPTER PAGES (interior)
   ============================================================ */
.chapter-hero { padding-block: clamp(3rem, 8vh, 5.5rem) clamp(2rem, 5vh, 3.5rem); }
.chapter-hero .chapter-num {
  font-family: var(--font-body); font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow); font-weight: 600;
  text-transform: uppercase; color: var(--color-text-soft); margin-bottom: 1.2rem;
}
.chapter-hero h1 {
  font-family: var(--font-heading); font-style: italic;
  font-size: clamp(2.1rem, 5.4vw, 4rem); line-height: 1.1; max-width: 20ch;
}
.chapter-intro { font-size: var(--fs-lead); line-height: 1.6; max-width: 62ch; color: var(--color-text); }
.chapter-intro + .chapter-intro { margin-top: 1.4rem; }
.text-soft { color: var(--color-text-soft); }

/* Three territories */
.territories { border-top: 1px solid var(--color-line); margin-top: 1rem; }
.territory {
  display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.4rem, 4vw, 3.6rem);
  padding-block: clamp(2.4rem, 5vw, 3.6rem); border-bottom: 1px solid var(--color-line);
}
@media (max-width: 820px){ .territory { grid-template-columns: 1fr; gap: 1rem; } }
.territory__label { font-family: var(--font-body); font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow); font-weight: 600; text-transform: uppercase; color: var(--color-text-soft); margin-bottom: 0.9rem; }
.territory__name { font-family: var(--font-heading); font-size: clamp(1.6rem, 2.8vw, 2.1rem); line-height: 1.1; }
.territory__q { font-family: var(--font-heading); font-style: italic; font-size: 1.2rem; color: var(--color-accent); margin-top: 0.7rem; line-height: 1.3; }
.territory__outcome { margin-top: 1.1rem; font-family: var(--font-heading); font-style: italic; font-size: 1.15rem; color: var(--color-text); }
.territory__work { margin-top: 1.5rem; font-size: 0.9375rem; color: var(--color-text-soft); line-height: 1.7; }
.territory__work .work-label { display: block; font-family: var(--font-body); text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); font-size: var(--fs-eyebrow); font-weight: 600; color: var(--color-text-soft); margin-bottom: 0.5rem; }

/* Prev / next chapter footer link */
.chapter-cta { text-align: center; }
.chapter-cta .q-heading { margin: 0 auto 2rem; }
.chapter-cta .hero__cta { justify-content: center; }

/* --- Founder hero (text + portrait slot) --- */
.founder-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 880px){ .founder-hero { grid-template-columns: 1fr; } }
.chapter-hero .founder-name { font-family: var(--font-heading); font-style: normal; font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.05; letter-spacing: -0.01em; margin: 1.2rem 0 0; max-width: none; }
.founder-role { font-family: var(--font-body); font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow); font-weight: 600; text-transform: uppercase; color: var(--color-accent); margin-top: 0.7rem; }

/* PORTRAIT SLOT — swap the monogram for <img src="assets/img/celine.jpg" ...> later */
.portrait {
  position: relative;
  aspect-ratio: 2 / 3; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(155deg, #efe8db 0%, #e6dcc7 60%, #e9d7d0 100%);
  display: flex; align-items: center; justify-content: center;
}
.portrait__mono { font-family: var(--font-heading); font-style: italic; font-size: clamp(3rem, 8vw, 5.5rem); color: var(--color-text); opacity: 0.45; letter-spacing: 0.04em; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* Founder portrait - background removed: no panel, soft fade at the bottom (amendment 11072026) */
.portrait--cutout { background: none; border-radius: 0; }
.portrait--cutout:has(img) .portrait__mono { display: none; }
.portrait--cutout img { -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); }

/* --- Pull quote --- */
.pull-quote { margin: 0; border: 0; }
.pull-quote p { font-family: var(--font-heading); font-style: italic; font-size: clamp(1.5rem, 3.2vw, 2.25rem); line-height: 1.32; color: var(--color-text); margin: 0; }
.pull-quote cite { display: block; margin-top: 1.3rem; font-family: var(--font-body); font-style: normal; font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow); font-weight: 600; text-transform: uppercase; color: var(--color-text-soft); }
/* pull quote sitting on the dark band needs light text */
.band-dark .pull-quote p { color: var(--color-text-invert); }
.band-dark .pull-quote cite { color: var(--gilded-light); }

/* --- Track record --- */
.record { border-top: 1px solid var(--color-line); margin-top: 1rem; }
.record__row { display: grid; grid-template-columns: 210px 1fr; gap: clamp(1.2rem, 3.5vw, 3rem); padding-block: 1.9rem; border-bottom: 1px solid var(--color-line); align-items: baseline; }
@media (max-width: 760px){ .record__row { grid-template-columns: 1fr; gap: 0.6rem; } }
.record__cat { font-family: var(--font-heading); font-size: 1.5rem; }
.record__cat::before { content: ""; display: block; width: 26px; height: 2px; background: var(--thread-gradient); margin-bottom: 0.9rem; }
.record__text { color: var(--color-text-soft); }

/* --- The four pillars --- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.8rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem); }
@media (max-width: 760px){ .pillars { grid-template-columns: 1fr; } }
.pillar__name { font-family: var(--font-heading); font-size: 1.45rem; margin-bottom: 0.9rem; }
.pillar__name::before { content: ""; display: block; width: 30px; height: 2px; background: var(--thread-gradient); margin-bottom: 1rem; }
.pillar p { color: var(--color-text-soft); }
.band-dark .pillar p { color: var(--color-text-invert); }

/* --- The place line --- */
.place-line { font-family: var(--font-heading); font-style: italic; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.2; }

/* ============================================================
   THE MOMENTS
   ============================================================ */
/* Perspective toggle ("Where are you standing?") */
.perspective { margin: 0 0 3.2rem; }
.perspective__label { font-family: var(--font-body); font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow); font-weight: 600; text-transform: uppercase; color: var(--color-text-soft); margin-bottom: 1rem; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 0.3rem; border: 1px solid var(--color-line); border-radius: 999px; padding: 0.35rem; background: var(--color-surface); }
.seg button {
  font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.01em;
  padding: 0.6em 1.35em; border: 0; background: transparent; color: var(--color-ui-soft);
  border-radius: 999px; cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease);
}
.seg button:hover { color: var(--color-text); }
.seg button[aria-pressed="true"] { background: var(--color-text); color: var(--color-bg); }

.moments { border-top: 1px solid var(--color-line); margin-top: 0.5rem; }
.moment {
  display: grid; grid-template-columns: 250px 1fr; gap: clamp(1.4rem, 4vw, 3.6rem);
  padding-block: clamp(2.4rem, 5vw, 3.6rem); border-bottom: 1px solid var(--color-line);
}
@media (max-width: 820px){ .moment { grid-template-columns: 1fr; gap: 1rem; } }
.moment__num { font-family: var(--font-body); font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow); font-weight: 600; text-transform: uppercase; color: var(--color-accent); margin-bottom: 0.7rem; }
.moment__name { font-family: var(--font-heading); font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: 0.02em; line-height: 1; }
.moment__q { font-family: var(--font-heading); font-style: italic; font-size: 1.2rem; color: var(--color-text); margin-top: 0.7rem; line-height: 1.3; }
.moment__view { color: var(--color-text-soft); }
.moment__view[hidden] { display: none; }
.moment__summary { margin-top: 1.3rem; font-family: var(--font-heading); font-style: italic; font-size: 1.15rem; color: var(--color-text); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-email-wrap { margin: clamp(2.4rem, 5vw, 3.4rem) 0; }
.contact-email {
  font-family: var(--font-heading); font-style: italic; font-weight: 500;
  font-size: clamp(1.8rem, 5vw, 3.3rem); line-height: 1.1;
  position: relative; display: inline-block; color: var(--color-text);
}
.contact-email::after {
  content: ""; position: absolute; left: 0; bottom: 3px; height: 2px; width: 100%;
  background: var(--thread-gradient); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.contact-email:hover { color: var(--color-accent); }
.contact-email:hover::after { transform: scaleX(1); }

.contact-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--color-line); padding-top: 2.6rem; margin-top: 0.5rem;
}
@media (max-width: 640px){ .contact-meta { grid-template-columns: 1fr; } }
.contact-meta h3 { font-family: var(--font-body); font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-text-soft); font-weight: 600; margin-bottom: 0.8rem; }
.contact-meta p { color: var(--color-text-soft); }

/* ============================================================
   THE NAME — etymology blocks
   ============================================================ */
.name-block {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2.4rem, 5vw, 3.6rem); border-bottom: 1px solid var(--color-line);
  align-items: start;
}
.name-block:first-of-type { border-top: 1px solid var(--color-line); }
@media (max-width: 820px){ .name-block { grid-template-columns: 1fr; gap: 1rem; } }
.name-word { font-family: var(--font-heading); font-style: italic; font-size: clamp(3rem, 7vw, 5rem); line-height: 1; }
.name-origin { font-family: var(--font-body); font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow); font-weight: 600; text-transform: uppercase; color: var(--color-accent); margin-top: 1.1rem; line-height: 1.6; }
.name-block__text { color: var(--color-text-soft); }
.name-block__text + .name-block__text { margin-top: 1.1rem; }

/* ============================================================
   HOW WE WORK — engagement structures
   ============================================================ */
.structures { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.4vw, 1.7rem); }
@media (max-width: 880px){ .structures { grid-template-columns: 1fr; } }
.structure {
  display: flex; flex-direction: column;
  border: 1px solid var(--color-line); border-radius: var(--radius);
  padding: clamp(1.7rem, 3vw, 2.4rem); background: var(--color-surface);
  transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.structure:hover { border-color: var(--color-accent); transform: translateY(-3px); box-shadow: 0 18px 40px -28px rgba(20,16,14,0.4); }
.structure__num { font-family: var(--font-body); font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow); font-weight: 600; text-transform: uppercase; color: var(--color-accent); margin-bottom: 1.1rem; }
.structure__name { font-family: var(--font-heading); font-size: clamp(1.55rem, 2.6vw, 2rem); line-height: 1.1; margin-bottom: 1rem; }
.structure__desc { color: var(--color-text-soft); flex: 1; }
.structure__best { margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--color-line); font-size: 0.9375rem; color: var(--color-text); }
.structure__best b { display: block; font-family: var(--font-body); text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); font-size: var(--fs-eyebrow); color: var(--color-text-soft); font-weight: 600; margin-bottom: 0.5rem; }

/* Moments in practice — cases */
.cases { border-top: 1px solid var(--color-line); margin-top: 0.5rem; }
.case { padding-block: clamp(1.8rem, 4vw, 2.6rem); border-bottom: 1px solid var(--color-line); }
.case__tag { font-family: var(--font-body); font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow); font-weight: 600; text-transform: uppercase; color: var(--color-accent); margin-bottom: 0.8rem; }
.case__title { font-family: var(--font-heading); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0.9rem; }
.case__text { color: var(--color-text-soft); max-width: 72ch; }

/* ============================================================
   LEGAL PAGES (privacy, cookies, imprint)
   ============================================================ */
.legal { max-width: var(--maxw); } /* left edge like every chapter page (site-wide review Step 1.1, 14 Oct 2026) */
.legal > * { max-width: 744px; }
.legal h1 { font-family: var(--font-heading); font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1.1; margin-bottom: 0.5rem; }
.legal .updated { color: var(--color-ui-soft); font-size: 0.85rem; letter-spacing: 0.02em; margin-bottom: 3rem; }
.legal h2 { font-family: var(--font-heading); font-size: clamp(1.45rem, 2.8vw, 1.9rem); margin: 2.8rem 0 1rem; line-height: 1.2; }
.legal h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--color-text); margin: 1.7rem 0 0.5rem; }
.legal p { color: var(--color-text-soft); margin-bottom: 1.1em; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1.2em; }
.legal li { color: var(--color-text-soft); margin-bottom: 0.5rem; }
.legal a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--color-text); }
.legal .dl { margin: 0 0 1.2em; }
.legal .dl div { display: flex; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--color-line); }
.legal .dl dt { flex: 0 0 240px; color: var(--color-text); font-weight: 500; }
.legal .dl dd { margin: 0; color: var(--color-text-soft); }
@media (max-width: 620px){ .legal .dl div { flex-direction: column; gap: 0.15rem; } .legal .dl dt { flex: none; } }
.legal table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: 0.92rem; }
.legal th, .legal td { text-align: left; padding: 0.75rem 0.8rem; border-bottom: 1px solid var(--color-line); vertical-align: top; }
.legal th { font-family: var(--font-body); font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-text-soft); font-weight: 600; }
.legal td { color: var(--color-text-soft); }
.legal .fill { background: color-mix(in srgb, var(--gilded-light) 60%, transparent); color: var(--color-text); padding: 0 0.3em; border-radius: 2px; }
.legal .note { border-left: 2px solid var(--color-accent); padding: 0.4rem 0 0.4rem 1rem; margin: 1.4rem 0; font-size: 0.92rem; color: var(--color-text-soft); }

/* Footer legal links */
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.site-footer__legal a { font-size: 0.78rem; color: rgba(244,240,234,0.6); }
.site-footer__legal a:hover { color: #fff; }

/* ============================================================
   ENTRANCE ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Step 2.1 (14 Oct 2026): The Moments view cards - descriptions and hint stay grey (navigation details) */
.persp-card .persp-card__desc { color: var(--color-ui-soft); }
main #perspective-choice .persp-hint { color: var(--color-ui-soft); }

/* Step 2.4 (site-wide review, 14 Oct 2026): brand brief - Cormorant headings, statements and item names at 600 with +0.01em; italics stay 500 (Step 2.6) */
.hero h1, main h2, .legal h1, .q-heading, .founder-name, .record__cat, .hero li,
.moment__name, .case__title, .pillar__name, .territory__name, .structure__name { font-weight: 600 !important; letter-spacing: 0.01em !important; }
.hero h1 em { font-weight: 500 !important; }

/* Step 2.5 (site-wide review, 15 Oct 2026): size scale - Heading 44/28, Statement 36/24, Item name 28/22 (desktop/phone); Home headline and Titles unchanged */
main h2, .founder-name, .moment__name { font-size: clamp(1.75rem, 3.2vw, 2.75rem) !important; }
.q-heading, main p[style*="font-family:var(--font-heading)"]:not([style*="italic"]), #territories h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem) !important; }
.territory__name, .structure__name, .case__title, .pillar__name, .wy-name, .mo-name, .record__cat, .hero li { font-size: clamp(1.375rem, 2vw, 1.75rem) !important; }
.legal h2 { font-size: clamp(1.45rem, 2.8vw, 1.9rem) !important; } /* legal pages keep their own heading size */

/* Step 2.6 (site-wide review, 15 Oct 2026): italic = the voice of the questions (Titles, Thread, Moments and Firm questions) plus taglines and the pull quote; summaries and outcomes become roman */
/* Moment summaries and Firm outcomes - Inter Regular 400 (amendment 11092026; was Cormorant Garamond 600) */
.moment__summary, .territory__outcome { font-family: var(--font-body) !important; font-style: normal !important; font-weight: 400 !important; letter-spacing: normal !important; line-height: 1.6 !important; }
.moment__summary { font-size: 0.875rem !important; }
.territory__outcome { font-size: 0.9375rem !important; }
/* Step 2.7 (site-wide review, 15 Oct 2026): one small reading size, 15px (0.9375rem) - Firm "The work", Engagement "Best suited for", Home definitions */
/* Step 4.1 (site-wide review, 15 Oct 2026): text magenta for small text - #C8326E (4.5:1 on Paper); bright Magenta Peak stays for the Home headline, lines, gradients, logo "i" and hovers */
:root { --color-accent-text: #C8326E; }
.territory__q, .founder-role, .moment__num, .case__tag, .name-origin, .structure__num, .legal a, main p[style*="color:var(--color-accent)"] { color: var(--color-accent-text) !important; }
/* Step 5.1 (site-wide review, 15 Oct 2026): phone and tablet only (below 1100px) - the browser plans the last lines so no single word sits alone; manual breaks and non-breaking spaces are kept; desktop and laptop are reviewed by hand */
@media (max-width: 1099px) { main p, main li, main h1, main h2, main h3, main cite, main dd, main dt { text-wrap: pretty; } }
/* Step 5.2 (site-wide review, 15 Oct 2026): line breaks chosen by Celine for desktop and laptop only - hidden below 1100px so phone and tablet keep flowing */
@media (max-width: 1099px) { br.br-d { display: none; } }
/* Step 5.4 (site-wide review, 15 Oct 2026): The Firm territory names stay on one line on desktop ("Operational Alignment" was 5px too wide at 1440) */
@media (min-width: 821px) { .territory__name { white-space: nowrap; } }
/* Step 6.1 (site-wide review, 15 Oct 2026): on the Contact page the Contact button shows "you are here" - Ink fill and the brand thread line, like the selected view on The Moments */
.nav a.nav__cta.is-active { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); position: relative; overflow: hidden; }
.nav a.nav__cta.is-active::after { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; margin: 0; background: var(--thread-gradient); }
.nav a.nav__cta.is-active:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
/* Step 6.2 (site-wide review, 15 Oct 2026): soft veil behind the open menu on tablet and phone; a tap on it closes the menu; the page does not scroll behind */
.nav-veil { display: none; }
@media (max-width: 1100px) { body.menu-open { overflow: hidden; } body.menu-open .site-header { background: var(--color-bg); } body.menu-open .nav-veil { display: block; position: fixed; inset: 0; background: rgba(26,21,18,0.38); z-index: 46; } }
