/* Strategic Labs — V002-M6 FULL-SITE PREMIUM VISUAL SYSTEM (Wave A)
   Image A design DNA applied to every public page: photography-led openings,
   deep-emerald moments under one executive-glass treatment, warm paper reading
   chapters, refined iconography, editorial rows instead of card grids.
   Loads after m6-home.css; the `.hm` system class is on every page's <main>. */

/* ---------- retired M4/M5 grammar, site-wide ---------- */
.hm > .pm-section > .wrap::before, .hm > .pm-section > .wrap::after,
.hm > .pm-chapter > .wrap.chapter__opener::before, .hm > .pm-chapter > .wrap.chapter__opener::after { display: none !important; content: none !important; }
.sl-arc-top, .sl-arc-bottom { display: none !important; }
/* the M2 'living surface' (drifting green gradients + stripe motif) is retired: dark moments are photographs or the emerald ground */
.hm .section--dark::before, .hm .section--dark::after { display: none !important; content: none !important; }
.section--dark:has(> .sl-arc-top), .cta:has(> .sl-arc-top) { padding-block-start: var(--sec); }
.section--dark:has(> .sl-arc-bottom) { padding-block-end: var(--sec); }
.ed5__glyph { display: none !important; }
.hm--page .ed5__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 4vw, 6rem); }
.hm--page .h2 { font-size: var(--hm-h2); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
.hm--page .sec-head .lead, .hm--page .sl-intro .lead { color: var(--ink-soft); }
.hm--page .section--dark { background-color: var(--hm-night);
  background-image: radial-gradient(70% 60% at 50% 0%, rgba(21,112,94,.38) 0%, transparent 65%), linear-gradient(to bottom, var(--hm-night-2), var(--hm-night)); }
.hm--page .section--paper2 { background: var(--paper-2); }
.hm--page .section--wash { background: var(--paper-2); }
.hm--page .ph img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; background-size: cover; background-position: center; }

/* ======================================================================
   PAGE HERO — cinematic
   ====================================================================== */
.px-hero--cinematic { position: relative; isolation: isolate; background: var(--hm-night); color: var(--on-dark); overflow: clip; display: grid; align-items: end; min-block-size: clamp(520px, 66vh, 760px); }
.px-hero__scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.px-hero__scene .ph { position: absolute; inset: 0; }
.px-hero__scene::before { content: ""; position: absolute; inset: 0; z-index: 1; mix-blend-mode: multiply; background: linear-gradient(180deg, rgba(14,58,53,.4) 0%, rgba(9,38,35,.46) 60%, rgba(4,17,15,.72) 100%); }
.px-hero__scene .hm-atmo { position: absolute; inset: 0; z-index: 2; }
.px-hero__scene::after { content: ""; position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(to left, rgba(4,17,15,.8) 0%, rgba(4,17,15,.52) 34%, rgba(4,17,15,.1) 62%, rgba(4,17,15,0) 78%),
              linear-gradient(to top, rgba(4,17,15,.9) 0%, rgba(4,17,15,.3) 30%, rgba(4,17,15,0) 55%); }
.px-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: clamp(2rem, 4vw, 5rem); padding-block: clamp(3rem, 2.5rem + 3vw, 5.5rem) clamp(2.5rem, 2rem + 2vw, 4rem); }
.px-hero__copy { max-width: 44rem; }
.px-hero--cinematic .eyebrow { color: var(--mint); letter-spacing: .14em; }
.px-hero__title { margin: 0; font-size: clamp(2.3rem, 1.3rem + 3vw, 4.1rem); line-height: 1.14; letter-spacing: -.025em; font-weight: 700; color: var(--white); max-inline-size: 16ch; text-wrap: balance; text-shadow: 0 2px 40px rgba(0,0,0,.35); }
.px-hero__lead { margin: var(--s6) 0 0; max-width: 50ch; font-size: clamp(1.02rem, .96rem + .3vw, 1.22rem); line-height: 1.8; color: var(--on-dark-soft); }
.px-hero__actions { margin-top: clamp(1.5rem, 1.2rem + 1.2vw, 2.5rem); gap: var(--s4); }
.px-hero__actions .btn { min-height: 52px; padding-inline: 1.6rem; }

/* ---------- PAGE HERO — editorial split (paper + framed photograph) ---------- */
.px-hero--split { background: var(--paper); color: var(--ink); padding-block: clamp(2.5rem, 2rem + 2.5vw, 4.5rem) clamp(3rem, 2.5rem + 3vw, 5.5rem); }
.px-hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: clamp(2rem, 2rem + 3vw, 5.5rem); align-items: center; }
.px-hero--split .px-hero__title { color: var(--ink); text-shadow: none; }
.px-hero--split .px-hero__lead { color: var(--ink-soft); }
.px-hero__plate { position: relative; aspect-ratio: 5 / 4; border-radius: var(--hm-r-lg); overflow: clip; box-shadow: var(--hm-shadow); isolation: isolate; }
.px-hero__plate .ph { position: absolute; inset: 0; }
.px-hero__plate-edge { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); background: linear-gradient(180deg, rgba(4,17,15,0) 55%, rgba(4,17,15,.35) 100%); pointer-events: none; }
/* the plate carries a small brand cross in its corner — the logo's intersection */
.px-hero__plate::after { content: ""; position: absolute; inset-inline-end: 22px; inset-block-end: 22px; inline-size: 14px; block-size: 14px; z-index: 2;
  background: linear-gradient(var(--mint), var(--mint)) center / 100% 1px no-repeat, linear-gradient(var(--mint), var(--mint)) center / 1px 100% no-repeat; }

/* ======================================================================
   CLOSE BAND — the closing CTA moment
   ====================================================================== */
.px-close { position: relative; isolation: isolate; background: var(--hm-night); color: var(--on-dark); overflow: clip; display: grid; align-items: center; min-block-size: clamp(400px, 52vh, 580px);
  background-image: radial-gradient(60% 70% at 50% 100%, rgba(31,156,134,.34) 0%, transparent 62%), radial-gradient(40% 40% at 20% 0%, rgba(21,112,94,.28) 0%, transparent 70%), linear-gradient(to bottom, var(--hm-night-2), var(--hm-night)); }
.px-close__scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.px-close__scene .ph { position: absolute; inset: 0; }
.px-close__scene .hm-atmo { position: absolute; inset: 0; z-index: 2; }
.px-close__scene::after { content: ""; position: absolute; inset: 0; z-index: 3; background: radial-gradient(60% 80% at 50% 55%, rgba(4,17,15,.2) 0%, rgba(4,17,15,.62) 100%); }
.px-close__inner { position: relative; z-index: 1; text-align: center; display: grid; justify-items: center; padding-block: clamp(3.5rem, 3rem + 3vw, 6rem); }
.px-close .eyebrow { justify-content: center; color: var(--mint); }
.px-close .hm-display { color: var(--white); max-inline-size: 20ch; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.px-close__body { margin: var(--s6) 0 0; max-width: 52ch; font-size: var(--fs-lead); line-height: 1.8; color: var(--on-dark-soft); }
.px-close__actions { margin-top: clamp(1.75rem, 1.4rem + 1.4vw, 2.75rem); justify-content: center; gap: var(--s4); }
.px-close__actions .btn { min-height: 54px; padding-inline: 1.7rem; font-size: 1.02rem; }

/* ======================================================================
   RELATED ROWS (reading) · PRACTICE ROWS (links)
   ====================================================================== */
.px-related, .px-practices { padding-block: clamp(3.5rem, 2.8rem + 3vw, 6.5rem); background: var(--paper); }
.px-practices { background: var(--paper-2); }
.px-related .hm-head, .px-practices .hm-head { margin-bottom: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); }
.px-rows { list-style: none; margin: 0; padding: 0; border-block-start: 1px solid var(--line-strong); }
.px-row { border-block-end: 1px solid var(--line); }
.px-row__link { display: grid; grid-template-columns: 168px minmax(0, 1fr) auto; align-items: center; column-gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem); padding-block: var(--s5); color: inherit; text-decoration: none; transition: background var(--t) var(--hm-ease); }
.px-row__link:hover { background: linear-gradient(to left, transparent, var(--paper-2) 40%, transparent); }
.px-row__thumb { position: relative; display: block; inline-size: 168px; aspect-ratio: 3 / 2; border-radius: 14px; overflow: clip; box-shadow: var(--hm-shadow-sm); background: var(--paper-2); }
.px-row__thumb .ph { position: absolute; inset: 0; }
.px-row__thumb img { transition: transform .6s var(--hm-ease); }
.px-row__link:hover .px-row__thumb img { transform: scale(1.04); }
.px-row__thumb--mark { display: grid; place-items: center; color: var(--brand-mid); font-weight: 700; letter-spacing: .14em; }
.px-row__n { display: block; margin-bottom: .35rem; font-size: .7rem; font-weight: 700; letter-spacing: .16em; color: var(--brand-mid); }
.px-row__body h3 { margin: 0; font-size: 1.15rem; line-height: 1.4; font-weight: 700; color: var(--ink); }
.px-row__body p { margin: .4rem 0 0; font-size: .95rem; line-height: 1.7; color: var(--ink-soft); max-width: 62ch; }
.px-row__arrow { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--brand-deep); transition: background var(--t) var(--hm-ease), color var(--t) var(--hm-ease), transform var(--t) var(--hm-ease); }
.px-row__link:hover .px-row__arrow { background: var(--brand-deep); color: var(--mint); transform: translateX(-4px); }
.px-plist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, .5rem + 1vw, 1.25rem); }
.px-plist__item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: var(--s4); min-block-size: 92px; padding: 1.1rem 1.25rem; border-radius: var(--hm-r); background: var(--white); border: 1px solid rgba(26,75,68,.08); box-shadow: var(--hm-shadow-sm); color: inherit; text-decoration: none; transition: transform .3s var(--hm-ease), box-shadow .3s var(--hm-ease); }
.px-plist__item:hover { transform: translateY(-3px); box-shadow: var(--hm-shadow); }
.px-plist__ico { display: grid; place-items: center; inline-size: 48px; block-size: 48px; border-radius: 50%; background: var(--mint-wash); color: var(--brand-deep); }
.px-plist__ico .hm-ico { inline-size: 22px; block-size: 22px; }
.px-plist__body h3 { margin: 0; font-size: 1rem; line-height: 1.4; font-weight: 700; color: var(--ink); }
.px-plist__body p { margin: .25rem 0 0; font-size: .88rem; color: var(--ink-soft); }
.px-plist__arrow { color: var(--brand-deep); transition: transform var(--t) var(--hm-ease); }
.px-plist__item:hover .px-plist__arrow { transform: translateX(-4px); }

/* ======================================================================
   CHROME — header, mega menu, mobile nav, footer
   ====================================================================== */
.site-header { background: color-mix(in srgb, var(--paper) 92%, transparent); border-bottom-color: rgba(26,75,68,.1); }
.site-header__inner { block-size: calc(var(--header-h) + 4px); }
.nav__item > a { font-size: .95rem; font-weight: 600; letter-spacing: -.005em; }
.header-cta.btn--primary { background: var(--brand-deep); border-color: var(--brand-deep); box-shadow: 0 10px 26px rgba(26,75,68,.22); }
.header-cta.btn--primary:hover { background: var(--brand-mid); border-color: var(--brand-mid); }
/* mega: an executive panel — iconed practice columns on the night ground */
.mega { background: var(--hm-night); background-image: radial-gradient(60% 80% at 100% 0%, rgba(21,112,94,.42) 0%, transparent 60%), linear-gradient(to bottom, var(--hm-night-2), var(--hm-night)); border-block-start: 1px solid var(--hm-glass-line-2); box-shadow: 0 40px 80px rgba(0,0,0,.35); }
.mega::before { display: none; }
.mega__inner { padding-block: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem) clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); gap: clamp(1rem, .8rem + 1vw, 1.75rem); }
.mega__col { padding: 1.1rem 1.15rem 1rem; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid var(--hm-glass-line); transition: background var(--t) var(--hm-ease), border-color var(--t) var(--hm-ease); }
.mega__col:hover { background: rgba(68,188,167,.08); border-color: var(--hm-glass-line-2); }
.mega__head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: .7rem; border-bottom: 1px solid var(--hm-glass-line); }
.mega__ico { display: grid; place-items: center; inline-size: 36px; block-size: 36px; border-radius: 50%; border: 1px solid var(--hm-glass-line-2); color: var(--brand); background: rgba(68,188,167,.06); }
.mega__ico .hm-ico { inline-size: 18px; block-size: 18px; }
.mega__n { display: none; }
.mega__title { font-size: .95rem; line-height: 1.35; }
.mega__list a { border-radius: 10px; }
.mega__foot { background: rgba(4,17,15,.55); border-block-start-color: var(--hm-glass-line); }
/* mobile navigation: a first-class panel */
.mnav { background: var(--paper); }
.mnav__top p { font-size: 1.05rem; }
.mnav__list a, .mnav__level, .mnav__expand { font-size: 1.12rem; font-weight: 700; }
.mnav__sub a { font-size: 1rem; }
.mnav__utility .btn { min-height: 54px; background: var(--brand-deep); border-color: var(--brand-deep); }
/* footer: a composed closing — brand statement on the start side, columns on the end side, a ruled legal line */
.site-footer { background: var(--ink-900); background-image: radial-gradient(50% 60% at 100% 0%, rgba(21,112,94,.32) 0%, transparent 60%), linear-gradient(to bottom, var(--hm-night-2), var(--ink-900)); border-block-start: 1px solid var(--hm-glass-line-2); }
.site-footer::before, .site-footer .grid-lines { display: none; }
.site-footer__top { padding-block: clamp(3rem, 2.5rem + 2.5vw, 5rem) clamp(2.5rem, 2rem + 2vw, 4rem); }
.site-footer__brand > p { font-size: 1rem; line-height: 1.85; color: var(--on-dark-soft); max-width: 40ch; }
.site-footer__contact { margin-top: var(--s6); padding-top: var(--s5); border-block-start: 1px solid var(--hm-glass-line); }
.site-footer__contact li { min-height: 36px; }
.site-footer__contact a { font-weight: 600; }
.site-footer__cols { gap: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); }
.site-footer__cols h3 { color: var(--mint); letter-spacing: .1em; font-size: .78rem; text-transform: none; }
.foot-list a { padding: .42rem 0; color: var(--on-dark-soft); font-size: .95rem; }
.foot-list a:hover { color: var(--brand); }
.foot-bottom { border-block-start: 1px solid var(--hm-glass-line); }

/* ======================================================================
   RESPONSIVE — tablet 1024 / 834
   ====================================================================== */
@media (max-width: 1279px) {
  .px-hero__inner { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
}
@media (max-width: 1023px) {
  .px-hero--cinematic { min-block-size: clamp(460px, 56vh, 620px); }
  .px-hero__inner { grid-template-columns: minmax(0, 1fr); row-gap: var(--s6); }
  .px-hero__scene::after { background: linear-gradient(to left, rgba(4,17,15,.76) 0%, rgba(4,17,15,.46) 46%, rgba(4,17,15,.08) 84%), linear-gradient(to top, rgba(4,17,15,.9) 0%, rgba(4,17,15,.3) 34%, rgba(4,17,15,0) 60%); }
  .px-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--s6); }
  .px-hero__plate { aspect-ratio: 4 / 5; }
  .px-close { min-block-size: 0; }
  .px-row__link { grid-template-columns: 132px minmax(0, 1fr) auto; }
  .px-row__thumb { inline-size: 132px; }
  .px-plist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .px-plist__item { grid-template-columns: auto minmax(0, 1fr); padding: 1rem; }
  .px-plist__arrow { display: none; }
  .hm--page .ed5__grid { grid-template-columns: 1fr; row-gap: var(--s5); }
}
@media (max-width: 833px) {
  .px-hero__grid { grid-template-columns: 1fr; row-gap: var(--s6); }
  .px-hero__plate { aspect-ratio: 16 / 10; order: -1; }
  .px-plist { grid-template-columns: 1fr; }
  .px-plist__item { grid-template-columns: auto minmax(0, 1fr) auto; }
  .px-plist__arrow { display: block; }
}
/* ---------- mobile 390 / 360 / 320 ---------- */
@media (max-width: 599px) {
  .px-hero--cinematic { min-block-size: 0; }
  .px-hero__inner { padding-block: 3rem 2.25rem; }
  .px-hero__title { font-size: clamp(1.9rem, 1.4rem + 3.6vw, 2.4rem); max-inline-size: none; }
  .px-hero__lead { margin-top: var(--s5); font-size: 1rem; line-height: 1.75; }
  .px-hero__actions { display: grid; grid-template-columns: 1fr; gap: .6rem; }
  .px-hero--split { padding-block: 1.5rem 3rem; }
  .px-hero__plate { aspect-ratio: 4 / 3; border-radius: 18px; }
  .px-close__inner { padding-block: 3.5rem; }
  .px-close .hm-display { font-size: clamp(1.7rem, 1.2rem + 3.4vw, 2.1rem); }
  .px-close__body { font-size: 1rem; margin-top: var(--s5); }
  .px-close__actions { display: grid; grid-template-columns: 1fr; inline-size: 100%; }
  .px-related, .px-practices { padding-block: 3rem; }
  .px-row__link { grid-template-columns: 96px minmax(0, 1fr); column-gap: var(--s4); padding-block: var(--s4); }
  .px-row__thumb { inline-size: 96px; border-radius: 10px; }
  .px-row__arrow { display: none; }
  .px-row__body h3 { font-size: 1.02rem; }
  .px-row__body p { font-size: .88rem; }
  .px-plist__item { min-block-size: 76px; padding: .9rem 1rem; }
  .site-footer__top { padding-block: 2.75rem 2rem; }
}
@media (max-width: 379px) {
  .px-hero__title { font-size: 1.85rem; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .px-row__thumb img, .px-plist__item, .px-row__arrow, .px-plist__arrow { transition: none !important; }
}
