/* Rudolph Baloyi Inc. — redesign concept v4
   Display type: Marcellus (follows the logo's flared Roman capitals). Text: Manrope.
   ROUNDNESS: every corner on the site comes from the four --r* tokens below.
   Set them all to 0 to return to sharp edges. */

:root {
  --paper: #EEECE7;
  --paper-2: #E5E2DA;
  --white: #FAF9F6;
  --ink: #12151B;
  --charcoal: #1F232B;
  --navy: #1E3566;
  --navy-deep: #101D3A;
  --sky: #A9BDE6;
  --muted: #565B65;
  --muted-dark: #A6AEBD;
  --line: rgba(18, 21, 27, .14);
  --line-dark: rgba(255, 255, 255, .15);

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --r-btn: 14px;

  --display: 'Marcellus', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pad: clamp(20px, 4.2vw, 64px);
  --gut: 12px;
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --liquid: cubic-bezier(.19, 1, .22, 1);
  --header-h: 104px;
  --logo-ratio: 4.189;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
html.native-smooth { scroll-behavior: smooth; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s ease both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 400; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .cta :focus-visible, .page-hero :focus-visible, .band :focus-visible, .site-header:not(.scrolled) :focus-visible, .dark :focus-visible { outline-color: var(--sky); }
.skip { position: absolute; left: var(--pad); top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }

/* ---------- Type ---------- */
.t-display { font-size: clamp(2.7rem, 7vw, 7.6rem); line-height: 1; letter-spacing: -.012em; }
.t-page    { font-size: clamp(2.5rem, 6vw, 6rem); line-height: 1.02; letter-spacing: -.012em; }
.t-h2      { font-size: clamp(1.95rem, 3.8vw, 3.7rem); line-height: 1.08; letter-spacing: -.008em; }
.t-h3      { font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: 1.15; }
.t-lead    { font-family: var(--display); font-size: clamp(1.55rem, 2.8vw, 2.7rem); line-height: 1.28; letter-spacing: -.005em; }
.t-body    { color: var(--muted); max-width: 60ch; }
.on-dark .t-body, .hero .t-body, .cta .t-body, .page-hero .t-body, .band .t-body, .dark .t-body { color: var(--muted-dark); }
.page-hero .t-body { color: #CBD2E0; }

/* ---------- Buttons & links (liquid fill follows the cursor) ---------- */
.btn { --fill: var(--ink); --on: var(--white);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 28px; min-height: 56px; border-radius: var(--r-btn);
  background: var(--navy); color: var(--white); border: 1px solid var(--navy);
  font-weight: 600; font-size: .9375rem; letter-spacing: .01em; cursor: pointer;
  transition: color .7s var(--liquid), border-color .7s var(--liquid); }
.btn::before { content: ""; position: absolute; z-index: -1; left: var(--x, 50%); top: var(--y, 50%);
  width: 280%; aspect-ratio: 1; background: var(--fill); border-radius: 50%;
  transform: translate(-50%, -50%) scale(0); transition: transform 1s var(--liquid); }
.btn:hover::before, .btn:focus-visible::before { transform: translate(-50%, -50%) scale(1); animation: blob 2.6s ease-in-out infinite alternate; }
@keyframes blob { 0% { border-radius: 50%; } 50% { border-radius: 46% 54% 51% 49% / 52% 47% 53% 48%; } 100% { border-radius: 53% 47% 48% 52% / 48% 53% 47% 52%; } }
.btn:hover, .btn:focus-visible { color: var(--on); }
.btn .ico { transition: transform .6s var(--liquid); }
.btn:hover .ico { transform: translateX(4px); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; --fill: var(--ink); --on: var(--white); }
.btn--light { background: var(--white); color: var(--navy-deep); border-color: var(--white); --fill: var(--navy); --on: var(--white); }
.hero .btn--ghost, .cta .btn--ghost, .on-dark .btn--ghost, .page-hero .btn--ghost, .dark .btn--ghost { --fill: var(--white); --on: var(--navy-deep); }
.cta .btn--light, .dark .btn--light { --fill: var(--navy-deep); }
.on-dark .btn--light { --fill: var(--sky); --on: var(--navy-deep); }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9375rem; padding: 12px 0; border-bottom: 1px solid currentColor; transition: color .5s var(--liquid), gap .6s var(--liquid); }
.link:hover { color: var(--navy); gap: 16px; }
.on-dark .link:hover, .cta .link:hover, .hero .link:hover, .dark .link:hover { color: var(--sky); }

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r); background-color: var(--charcoal);
  background-image: var(--tone); }
.media[data-tone="a"], .media:not([data-tone]) { --tone: linear-gradient(160deg, #1E3566, #0E1830); }
.media[data-tone="b"] { --tone: linear-gradient(160deg, #2B313C, #15181E); }
.media[data-tone="c"] { --tone: linear-gradient(160deg, #D9D5CB, #BDB8AA); }
.media[data-tone="d"] { --tone: linear-gradient(170deg, #18284A, #0D1424); }
.media__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(.84) contrast(1.06); z-index: 0; }
.media::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(16, 29, 58, .08), rgba(16, 29, 58, .34)); mix-blend-mode: multiply; }
.media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; filter: saturate(.9) contrast(1.04); }
.media--flat { border-radius: 0; }
.media--par .media__bg, .media--par img { transform: translate3d(0, var(--py, 0px), 0) scale(1.16); will-change: transform; }

.photo { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--charcoal); isolation: isolate; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Logo & header ---------- */
.logo { display: block; color: inherit; }
.logo__svg { display: block; height: var(--logo-h, 50px); width: calc(var(--logo-h, 50px) * var(--logo-ratio)); transition: height .5s var(--ease), width .5s var(--ease); }

.site-header { --bar-h: 76px; --logo-h: 50px; position: fixed; top: var(--gut); left: var(--gut); right: var(--gut); max-width: 1500px; margin-inline: auto; z-index: 50; color: var(--white);
  border-radius: var(--r-lg); background: rgba(16, 29, 58, .34); -webkit-backdrop-filter: blur(20px) saturate(1.25); backdrop-filter: blur(20px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, .16); transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease); }
.site-header.scrolled { --bar-h: 64px; --logo-h: 40px; }
body.light-header .site-header, .site-header.scrolled { color: var(--ink); background: rgba(250, 249, 246, .78); border-color: rgba(18, 21, 27, .08); box-shadow: 0 10px 40px -18px rgba(16, 29, 58, .25); }
body.light-header .site-header { --bar-h: 64px; --logo-h: 42px; }
.site-header.menu-open { color: var(--white); background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header__row { height: var(--bar-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 clamp(14px, 1.8vw, 24px) 0 clamp(18px, 2.2vw, 32px); transition: height .5s var(--ease); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a { font-size: .9rem; font-weight: 500; opacity: .76; transition: opacity .3s; padding: 8px 0; }
.nav a:hover { opacity: 1; }
.nav a[aria-current="page"] { opacity: 1; font-weight: 700; }
.nav .nav__cta { --fill: var(--white); --on: var(--navy-deep); position: relative; isolation: isolate; overflow: hidden; opacity: 1; font-weight: 600; padding: 12px 22px; border: 1px solid currentColor; border-radius: var(--r-btn); transition: color .7s var(--liquid); }
.nav .nav__cta::before { content: ""; position: absolute; z-index: -1; left: var(--x, 50%); top: var(--y, 50%); width: 300%; aspect-ratio: 1; background: var(--fill); border-radius: 50%; transform: translate(-50%, -50%) scale(0); transition: transform 1s var(--liquid); }
.nav .nav__cta:hover::before { transform: translate(-50%, -50%) scale(1); }
.nav .nav__cta:hover { color: var(--on); opacity: 1; }
.site-header.scrolled .nav .nav__cta, body.light-header .nav .nav__cta { --fill: var(--ink); --on: var(--white); }

.menu-btn { display: none; background: none; border: 0; padding: 12px 0; font-weight: 600; font-size: .9375rem; cursor: pointer; }
.menu { position: fixed; inset: 0; z-index: 40; background: var(--ink); color: var(--white); padding: calc(var(--header-h) + 8px) var(--pad) 40px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.menu.open { opacity: 1; visibility: visible; }
.menu a.menu__link { display: block; font-family: var(--display); font-size: clamp(2rem, 9.5vw, 3.2rem); line-height: 1.15; padding: 10px 0; border-bottom: 1px solid var(--line-dark); }
.menu__foot { color: var(--muted-dark); font-size: .9375rem; }
.menu__foot a { color: var(--white); }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: linear-gradient(170deg, var(--navy-deep), #0A1328 60%, var(--ink)); }
.hero__img { position: absolute; inset: 100px 0 0 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%); mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
  clip-path: inset(100% 0 0 0); animation: unveil 1.8s var(--ease) .1s forwards; transform: translate3d(0, calc(var(--hp, 0) * 80px), 0); will-change: transform; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; transform: scale(1.16); animation: imgin 2.6s var(--ease) .1s forwards, kenburns 30s ease-in-out 2.8s infinite alternate; will-change: transform; }
@keyframes unveil { to { clip-path: inset(0 0 0 0); } }
@keyframes imgin { to { transform: scale(1); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06) translate3d(-.5%, -.6%, 0); } }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(to top, rgba(7, 13, 28, .95) 0%, rgba(7, 13, 28, .66) 28%, rgba(7, 13, 28, 0) 60%),
  linear-gradient(to right, rgba(7, 13, 28, .5), rgba(7, 13, 28, 0) 55%); }
.hero__inner { position: relative; z-index: 3; width: 100%; padding-bottom: clamp(36px, 6vw, 88px); padding-top: calc(var(--header-h) + 40px);
  transform: translate3d(0, calc(var(--hp, 0) * -46px), 0); opacity: calc(1 - var(--hp, 0) * 1.15); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: end; }
.hero h1 { font-size: clamp(2.4rem, 6.9vw, 8rem); line-height: 1.04; letter-spacing: -.014em; }
.hero__l1 { display: block; animation: settle 1.2s var(--ease) .5s both; }
.rotor { display: block; position: relative; height: 1.16em; overflow: hidden; color: var(--sky); }
.rotor__w { position: absolute; left: 0; top: 0; white-space: nowrap; }
.rotor__c { display: inline-block; transform: translateY(112%); opacity: 0; transition: transform 1.15s cubic-bezier(.65, 0, .35, 1), opacity .9s ease; transition-delay: calc(var(--c) * 34ms); }
.rotor__w.is-on .rotor__c { transform: translateY(0); opacity: 1; }
.rotor__w.is-out .rotor__c { transform: translateY(-112%); opacity: 0; }
.rotor__w.no-t .rotor__c { transition: none !important; }
.rotor__w.first .rotor__c { animation: charin 1.3s cubic-bezier(.65, 0, .35, 1) both; animation-delay: calc(var(--c) * 34ms + 1.1s); }
@keyframes charin { from { transform: translateY(112%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes settle { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero__row { margin-top: clamp(22px, 3vw, 44px); display: flex; flex-wrap: wrap; align-items: center; gap: 22px 36px; opacity: 0; animation: settle 1.2s var(--ease) 1.7s forwards; }
.hero__row .t-body { font-size: 1.0625rem; max-width: 42ch; color: #CBD2E0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__card { width: min(340px, 26vw); min-width: 280px; padding: 20px 22px 8px; border-radius: var(--r); background: rgba(14, 24, 48, .4); -webkit-backdrop-filter: blur(20px) saturate(1.2); backdrop-filter: blur(20px) saturate(1.2); border: 1px solid rgba(255, 255, 255, .16); opacity: 0; animation: settle 1.2s var(--ease) 2s forwards; }
.hero__count { display: flex; justify-content: space-between; align-items: baseline; font-size: .8125rem; font-weight: 600; color: #D5DBE8; margin-bottom: 12px; }
.hero__count b { font-family: var(--display); font-weight: 400; font-size: 1.25rem; color: var(--white); }
.hero__prog { display: flex; gap: 6px; }
.hero__prog i { position: relative; flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.hero__prog i::after { content: ""; position: absolute; inset: 0; background: var(--sky); transform: scaleX(0); transform-origin: left; }
.hero__prog i.done::after { transform: scaleX(1); }
.hero__prog i.on::after { animation: fillbar 3.8s linear forwards; }
@keyframes fillbar { to { transform: scaleX(1); } }
.hero__quick { margin-top: 14px; }
.hero__quick a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9375rem; font-weight: 500; transition: color .4s, padding .5s var(--liquid); }
.hero__quick a:hover { color: var(--sky); padding-left: 6px; }
.hero__quick small { display: block; font-size: .75rem; font-weight: 500; color: var(--muted-dark); line-height: 1.3; }
.hero + .section { position: relative; z-index: 2; border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: calc(-1 * var(--r-lg)); background: var(--paper); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 11vw, 168px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 110px); }
.section--alt { background: var(--paper-2); }
.sheet { border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: calc(-1 * var(--r-lg)); position: relative; z-index: 2; }
.on-dark { background: var(--ink); color: var(--white); }
.on-navy { background: var(--navy-deep); color: var(--white); }
.dark { background: var(--navy-deep); color: var(--white); }

.watermark { position: absolute; color: var(--navy); opacity: .06; pointer-events: none; }
.watermark svg { width: 100%; height: 100%; display: block; }
.statement { overflow: hidden; }
.statement .watermark { right: -9vw; top: 50%; width: min(62vw, 880px); aspect-ratio: 1; transform: translateY(-50%); }
.statement .t-lead { grid-column: 1 / span 9; max-width: 28em; position: relative; }
.statement .link { margin-top: 40px; position: relative; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 88px); }
.section-head .t-h2 { max-width: 14em; }

.principles-row { grid-column: 1 / -1; margin-top: clamp(56px, 8vw, 110px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
.principles-row div { border-radius: var(--r); background: rgba(255, 255, 255, .55); border: 1px solid rgba(18, 21, 27, .06); padding: 26px 24px 28px; transition: transform .7s var(--liquid), background .5s; }
.principles-row div:hover { transform: translateY(-6px); background: var(--white); }
.principles-row h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); margin-bottom: 8px; }
.principles-row p { color: var(--muted); font-size: .9375rem; }

/* practice list with hover preview */
.areas { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 112px); align-items: start; }
.areas__list { border-bottom: 1px solid var(--line-dark); }
.areas__list li { border-top: 1px solid var(--line-dark); }
.areas__list a { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 20px 0; transition: opacity .4s var(--ease), padding .5s var(--ease), color .3s; }
.areas__list span { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1.12; }
.areas__list small { color: var(--muted-dark); font-size: .875rem; text-align: right; max-width: 20ch; line-height: 1.4; }
.areas__list:hover a { opacity: .38; }
.areas__list:hover a:hover, .areas__list a:focus-visible { opacity: 1; padding-left: 14px; }
.areas__stage { position: sticky; top: 120px; }
.areas__frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--charcoal); }
.areas__frame .media { position: absolute; inset: 0; border-radius: 0; opacity: 0; transition: opacity .7s var(--ease); }
.areas__frame .media.on { opacity: 1; }
.areas__note { margin-top: 18px; color: var(--muted-dark); font-size: .9375rem; max-width: 36ch; min-height: 3.4em; }

/* video band (inset, rounded) */
.band { position: relative; min-height: 92svh; margin: var(--gut); border-radius: var(--r-lg); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; isolation: isolate; }
.band > .media { position: absolute; inset: 0; border-radius: 0; }
.band::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(8, 15, 32, .85), rgba(8, 15, 32, .15) 60%, rgba(8, 15, 32, .35)); pointer-events: none; }
.band__inner { position: relative; z-index: 4; width: 100%; padding-block: clamp(48px, 7vw, 110px); }
.band h2 { font-size: clamp(2.3rem, 6.2vw, 6.6rem); line-height: 1.02; letter-spacing: -.012em; max-width: 12em; }

/* forums + figures */
.forums { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 120px); align-items: start; }
.forums h2 { max-width: 9em; }
.forums li { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1.2; padding: 22px 0; border-top: 1px solid var(--line); }
.forums li:last-child { border-bottom: 1px solid var(--line); }
.figures { margin-top: clamp(64px, 9vw, 130px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.figure { border-radius: var(--r-lg); background: var(--white); padding: clamp(24px, 3vw, 40px); border: 1px solid rgba(18, 21, 27, .06); }
.figure b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(3.2rem, 6vw, 6rem); line-height: 1; color: var(--navy); }
.figure span { display: block; margin-top: 14px; color: var(--muted); font-size: .9375rem; max-width: 22ch; }

/* ---------- People folio (home) ---------- */
.folio { display: flex; gap: 12px; height: clamp(460px, 52vw, 680px); }
.folio__card { position: relative; flex: 1; min-width: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--charcoal); transition: flex .9s var(--liquid); isolation: isolate; }
.folio__card.is-active { flex: 2.3; }
.folio__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(.45) contrast(1.02); transform: scale(1.04); transition: filter 1s var(--ease), transform 1.4s var(--ease); }
.folio__card.is-active img { filter: grayscale(0); transform: scale(1); }
.folio__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 17, 36, .72), rgba(10, 17, 36, 0) 48%); z-index: 1; transition: opacity .6s; }
.folio__cap { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; padding: 18px 20px; border-radius: var(--r); background: rgba(14, 24, 48, .42); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .14); color: var(--white); display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.folio__cap h3 { font-size: clamp(1.15rem, 1.6vw, 1.55rem); line-height: 1.12; }
.folio__cap p { font-size: .875rem; color: #CBD2E0; }
.folio__go { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); display: grid; place-items: center; flex: none; transition: background .5s var(--liquid), color .5s, transform .6s var(--liquid); }
.folio__card:hover .folio__go, .folio__card:focus-visible .folio__go { background: var(--white); color: var(--navy-deep); transform: rotate(-45deg); }
.folio__cap > div { min-width: 0; }
.folio__card:not(.is-active) .folio__cap h3 { font-size: 1.05rem; }
.folio__card:not(.is-active) .folio__go { display: none; }
.folio__card:not(.is-active) .folio__cap { padding: 14px 16px; }

/* ---------- CTA & footer ---------- */
.cta { padding: var(--gut); }
.cta__panel { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--navy); color: var(--white); padding: clamp(56px, 8vw, 130px) clamp(24px, 5vw, 80px); }
.cta .watermark { color: #fff; opacity: .07; right: -6vw; top: 50%; width: min(48vw, 640px); aspect-ratio: 1; transform: translateY(-50%); }
.cta__row { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; max-width: var(--max); margin-inline: auto; }
.cta h2 { max-width: 10em; }
.cta__side { display: grid; gap: 18px; justify-items: start; }
.cta__side .t-body { color: #C7D1E8; }

.site-footer { background: var(--ink); color: var(--white); padding-top: clamp(64px, 8vw, 110px); border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); padding-bottom: clamp(48px, 6vw, 88px); }
.footer__grid h4 { font-family: var(--sans); font-size: .8125rem; font-weight: 600; color: var(--muted-dark); margin-bottom: 18px; }
.footer__grid p, .footer__grid a { font-size: .9375rem; color: #D8DBE2; }
.footer__grid li { margin-bottom: 10px; }
.footer__grid a:hover { color: var(--sky); }
.footer__brand .logo { --logo-h: 58px; }
.footer__brand p { margin-top: 22px; max-width: 30ch; color: var(--muted-dark); }
.footer__legal { border-top: 1px solid var(--line-dark); padding-block: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted-dark); font-size: .8125rem; }

/* ---------- Inner page heroes ---------- */
.page-hero { position: relative; overflow: hidden; color: var(--white); min-height: min(78svh, 760px); display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(52px, 7vw, 104px); background: linear-gradient(158deg, var(--navy-deep), var(--ink)); }
.page-hero > .media { position: absolute; inset: 0; border-radius: 0; }
.page-hero--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 15, 32, .9), rgba(8, 15, 32, .25) 65%, rgba(8, 15, 32, .5)); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .t-page { grid-column: 1 / span 8; max-width: 11em; }
.page-hero .t-body { grid-column: 9 / span 4; align-self: end; }
.page-hero .t-page, .page-hero .t-body { animation: settle 1.1s var(--ease) both; }
.page-hero .t-body { animation-delay: .2s; }
.page-hero + .section, .page-hero + section { position: relative; z-index: 2; }
.page-hero--img + .section, .page-hero--split + .section, .page-hero--type + .section { border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: calc(-1 * var(--r-lg)); background: var(--paper); }

.page-hero--split { background: radial-gradient(90% 90% at 80% 20%, #1B315F 0%, transparent 60%), linear-gradient(158deg, var(--navy-deep), #0A1328 60%, var(--ink)); padding-bottom: clamp(70px, 9vw, 130px); }
.page-hero--split .wrap { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(28px, 5vw, 88px); align-items: center; }
.page-hero--split .t-page { max-width: 9em; }
.page-hero--split .t-body { margin-top: 28px; max-width: 46ch; }
.page-hero--split .hero__actions { margin-top: 36px; }
.heroshot { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--charcoal); animation: settle 1.3s var(--ease) .25s both; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.heroshot img { width: 100%; height: 100%; object-fit: cover; }
.heroshot__chip { position: absolute; left: 14px; bottom: 14px; padding: 12px 18px; border-radius: var(--r); background: rgba(14, 24, 48, .45); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .16); font-size: .875rem; font-weight: 600; }

.page-hero--type { min-height: 0; padding-bottom: clamp(150px, 18vw, 280px); background: radial-gradient(80% 100% at 90% 0%, #1B315F 0%, transparent 60%), linear-gradient(158deg, var(--navy-deep), #0A1328 60%, var(--ink)); }
.page-hero--type .watermark { color: #fff; opacity: .05; right: -8vw; top: 10%; width: min(54vw, 760px); aspect-ratio: 1; }
.page-hero--type .t-page { grid-column: 1 / -1; max-width: 12em; font-size: clamp(2.8rem, 8vw, 8.6rem); }
.page-hero--type .t-body { grid-column: 1 / span 5; margin-top: 32px; align-self: start; }

/* ---------- The Firm ---------- */
.matter { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 128px); align-items: start; }
.matter__visual { position: sticky; top: 110px; }
.matter__visual .photo { aspect-ratio: 4 / 5; }
.matter__chip { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 18px 20px; border-radius: var(--r); background: rgba(14, 24, 48, .48); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .16); color: var(--white); z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: .875rem; font-weight: 600; }
.matter__chip b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; }
.matter .t-lead { margin-bottom: clamp(28px, 3vw, 44px); }
.matter__copy p { color: var(--muted); font-size: 1.0625rem; max-width: 56ch; }
.matter__copy p + p { margin-top: 1.3em; }
.matter__facts { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.matter__facts div { border-radius: var(--r); background: var(--white); border: 1px solid rgba(18, 21, 27, .06); padding: 22px 22px 24px; }
.matter__facts b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1; color: var(--navy); }
.matter__facts span { display: block; margin-top: 10px; font-size: .875rem; color: var(--muted); line-height: 1.45; }
.matter__quote { margin-top: clamp(36px, 5vw, 64px); padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--navy-deep); color: var(--white); font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.3; }
.matter__quote small { display: block; margin-top: 16px; font-family: var(--sans); font-size: .8125rem; color: var(--muted-dark); }

.how { background: var(--ink); color: var(--white); padding-block: clamp(80px, 10vw, 150px) clamp(60px, 8vw, 120px); }
.how__head { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(24px, 5vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vw, 88px); }
.how__head .t-body { color: var(--muted-dark); }
.stack { position: relative; }
.scard { --i: 0; position: sticky; top: calc(var(--header-h) + var(--i) * 20px); min-height: min(72svh, 660px); margin-bottom: clamp(18px, 3vw, 40px); border-radius: var(--r-lg); display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden; color: var(--white); border: 1px solid rgba(255, 255, 255, .1); transform-origin: 50% 0; background: #16264B; will-change: transform; }
.scard:nth-child(2) { background: #132244; }
.scard:nth-child(3) { background: #101D3A; }
.scard:nth-child(4) { background: #0E1A34; }
.scard__txt { padding: clamp(26px, 3.6vw, 60px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.scard__num { font-family: var(--display); font-size: clamp(4rem, 9vw, 8.5rem); line-height: .85; color: rgba(169, 189, 230, .28); }
.scard h3 { font-size: clamp(1.8rem, 3.2vw, 3.1rem); line-height: 1.06; margin-bottom: 16px; }
.scard p { color: #BFC8DA; max-width: 46ch; }
.scard ul { margin-top: 24px; display: grid; gap: 10px; }
.scard li { display: flex; gap: 12px; align-items: flex-start; font-size: .9688rem; color: #E1E6F1; }
.scard li::before { content: ""; width: 7px; height: 7px; margin-top: .6em; border-radius: 50%; background: var(--sky); flex: none; }
.scard__img { position: relative; margin: 12px; border-radius: calc(var(--r-lg) - 8px); overflow: hidden; }
.scard__img .media { position: absolute; inset: 0; border-radius: 0; }

.quote-band { position: relative; margin: var(--gut); border-radius: var(--r-lg); overflow: hidden; color: var(--white); padding-block: clamp(96px, 13vw, 200px); isolation: isolate; }
.quote-band > .media { position: absolute; inset: 0; border-radius: 0; }
.quote-band::after { content: ""; position: absolute; inset: 0; background: rgba(12, 22, 48, .62); z-index: 2; }
.quote-band .wrap { position: relative; z-index: 3; }
.quote-band blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.9rem, 4.2vw, 4.2rem); line-height: 1.16; letter-spacing: -.01em; max-width: 19em; }

.acts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.act { border-radius: var(--r-lg); background: var(--charcoal); border: 1px solid var(--line-dark); padding: clamp(22px, 2.4vw, 34px); min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .8s var(--liquid), background .5s; }
.act:hover { transform: translateY(-8px); background: #262B35; }
.act b { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.1; }
.act span { display: block; margin-top: 12px; color: var(--muted-dark); font-size: .9375rem; line-height: 1.5; }
.act i { font-style: normal; font-family: var(--display); font-size: 1.1rem; color: var(--sky); }

/* ---------- Practice areas ---------- */
.pa-intro { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(24px, 5vw, 96px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: .875rem; font-weight: 600; transition: background .5s var(--liquid), color .5s, border-color .5s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chip input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 3px; }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.bcard { position: relative; grid-column: span 4; min-height: clamp(280px, 26vw, 380px); border-radius: var(--r-lg); overflow: hidden; color: var(--white); isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(18px, 2vw, 28px); transition: opacity .7s var(--ease), filter .7s var(--ease), transform .9s var(--liquid); background: var(--charcoal); }
.bcard--7 { grid-column: span 7; }
.bcard--5 { grid-column: span 5; }
.bcard .media { position: absolute; inset: 0; border-radius: 0; z-index: -1; }
.bcard .media__bg { transition: transform 1.6s var(--ease); }
.bcard:hover .media__bg { transform: scale(1.07); }
.bcard::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(9, 16, 34, .88) 0%, rgba(9, 16, 34, .2) 62%, rgba(9, 16, 34, .35) 100%); transition: opacity .6s; }
.bcard > * { position: relative; z-index: 3; }
.bcard__top { display: flex; justify-content: space-between; align-items: center; }
.bcard__num { font-family: var(--display); font-size: 1.1rem; padding: 6px 14px; border-radius: 999px; background: rgba(14, 24, 48, .42); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .16); }
.bcard__go { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); display: grid; place-items: center; transition: background .5s var(--liquid), color .5s, transform .7s var(--liquid); }
.bcard:hover .bcard__go { background: var(--white); color: var(--navy-deep); transform: rotate(-45deg); }
.bcard h3 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.08; max-width: 12em; }
.bcard p { margin-top: 10px; font-size: .9375rem; color: #D2D8E6; max-width: 40ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bcard.is-dim { opacity: .28; filter: grayscale(1); transform: scale(.985); }

.depth { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.depth__stage { position: sticky; top: 104px; height: calc(100svh - 128px); display: flex; flex-direction: column; gap: 12px; }
.depth__frame { position: relative; flex: 1; min-height: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--charcoal); }
.depth__frame .media { position: absolute; inset: 0; border-radius: 0; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.depth__frame .media.on { opacity: 1; transform: scale(1); }
.depth__bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 20px; border-radius: var(--r); background: var(--ink); color: var(--white); }
.depth__bar b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; white-space: nowrap; }
.depth__bar span { font-size: .8125rem; font-weight: 600; color: var(--muted-dark); white-space: nowrap; }
.depth__prog { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.depth__prog i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--sky); transition: width .8s var(--ease); }
.depth__item { min-height: 88svh; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(40px, 6vw, 90px); border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.depth__item:last-child { border-bottom: 0; }
.depth__item .media { display: none; aspect-ratio: 16 / 10; margin-bottom: 24px; }
.depth__num { font-family: var(--display); font-size: 1.1rem; color: var(--navy); margin-bottom: 18px; }
.depth__item h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.06; margin-bottom: 20px; }
.depth__lead { font-size: 1.125rem; color: var(--muted); max-width: 44ch; }
.depth__item h4 { font-family: var(--sans); font-size: .8125rem; font-weight: 700; color: var(--muted); margin: 32px 0 12px; }
.matters li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.matters li:last-child { border-bottom: 1px solid var(--line); }
.matters li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--navy); opacity: .5; }
.depth__item .link { margin-top: 28px; align-self: flex-start; }

.process { padding-block: clamp(80px, 10vw, 150px); }
.process__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.process__intro { position: sticky; top: 120px; }
.process__intro .t-body { margin-top: 24px; }
.process__intro .btn { margin-top: 32px; }
.tl { --tl-pad: clamp(28px, 4vw, 60px); position: relative; display: grid; gap: 16px; padding-left: var(--tl-pad); }
.tl::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; background: rgba(255, 255, 255, .14); border-radius: 2px; }
.tl::after { content: ""; position: absolute; left: 0; top: 14px; width: 2px; height: calc((100% - 28px) * var(--tlp, 0)); background: var(--sky); border-radius: 2px; }
.tl__step { position: relative; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background .6s var(--ease), transform .8s var(--liquid), border-color .6s; }
.tl__step::before { content: ""; position: absolute; left: calc(-1 * var(--tl-pad) - 7px); top: 44px; width: 16px; height: 16px; border-radius: 50%; background: var(--navy-deep); border: 2px solid rgba(255, 255, 255, .3); transition: background .5s, border-color .5s, box-shadow .5s; }
.tl__step.on { background: rgba(255, 255, 255, .09); border-color: rgba(169, 189, 230, .35); }
.tl__step.on::before { background: var(--sky); border-color: var(--sky); box-shadow: 0 0 0 7px rgba(169, 189, 230, .18); }
.tl__top { display: flex; align-items: baseline; gap: 20px; }
.tl__top b { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 4vw, 3.8rem); line-height: 1; color: var(--sky); }
.tl__top h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.tl__step > p { margin-top: 16px; color: #BFC8DA; max-width: 52ch; }
.tl__two { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tl__two div { border-radius: var(--r); padding: 16px 18px; background: rgba(255, 255, 255, .05); }
.tl__two h4 { font-family: var(--sans); font-size: .75rem; font-weight: 700; color: var(--muted-dark); margin-bottom: 6px; }
.tl__two p { font-size: .9375rem; color: #E1E6F1; }

/* ---------- Team ---------- */
.gallery-sec { position: relative; z-index: 3; margin-top: calc(-1 * clamp(110px, 14vw, 220px)); padding-bottom: clamp(60px, 8vw, 120px); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); align-items: start; }
.gcard { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--charcoal); isolation: isolate; box-shadow: 0 40px 70px -40px rgba(10, 17, 36, .55); }
.gallery .gcard:nth-child(1) { margin-top: clamp(0px, 7vw, 110px); }
.gallery .gcard:nth-child(3) { margin-top: clamp(0px, 12vw, 190px); }
.gcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--ease), filter 1s; filter: saturate(.96); }
.gcard:hover img { transform: scale(1.045); }
.gcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 17, 36, .6), rgba(10, 17, 36, 0) 45%); z-index: 1; }
.gcard__cap { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; padding: 18px 20px; border-radius: var(--r); background: rgba(14, 24, 48, .42); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .14); color: var(--white); display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; }
.gcard__cap h3 { font-size: clamp(1.2rem, 1.7vw, 1.6rem); line-height: 1.12; }
.gcard__cap p { font-size: .875rem; color: #CBD2E0; }
.gcard__go { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); display: grid; place-items: center; flex: none; transition: background .5s var(--liquid), color .5s, transform .7s var(--liquid); }
.gcard:hover .gcard__go { background: var(--white); color: var(--navy-deep); transform: rotate(-45deg); }

.groupshot { position: relative; margin: 0 var(--gut); border-radius: var(--r-lg); overflow: hidden; min-height: min(86svh, 760px); display: flex; align-items: flex-end; color: var(--white); isolation: isolate; }
.groupshot > .photo { position: absolute; inset: 0; border-radius: 0; }
.groupshot > .photo img { transform: translate3d(0, var(--py, 0px), 0) scale(1.12); object-position: 50% 30%; }
.groupshot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 15, 32, .86), rgba(8, 15, 32, 0) 56%); z-index: 1; }
.groupshot__inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(32px, 5vw, 72px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.groupshot h2 { font-size: clamp(1.9rem, 4.4vw, 4.4rem); line-height: 1.05; max-width: 12em; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: clamp(40px, 6vw, 88px); }
.value { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); background: var(--white); border: 1px solid rgba(18, 21, 27, .06); min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .8s var(--liquid), background .5s, color .5s; }
.value:hover { transform: translateY(-8px); background: var(--navy-deep); color: var(--white); }
.value i { font-style: normal; font-family: var(--display); font-size: 1.1rem; color: var(--navy); transition: color .5s; }
.value:hover i { color: var(--sky); }
.value h3 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.08; }
.value p { margin-top: 12px; color: var(--muted); font-size: .9688rem; transition: color .5s; }
.value:hover p { color: var(--muted-dark); }

.cta--split .cta__panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(28px, 4vw, 56px); }
.cta--split .cta__row { display: block; padding-left: clamp(0px, 2vw, 32px); }
.cta--split .cta__side { margin-top: 28px; }
.cta--split .photo { aspect-ratio: 3 / 2; border-radius: calc(var(--r-lg) - 8px); }

/* ---------- Contact ---------- */
.contact-sec { background: var(--navy-deep); color: var(--white); padding-block: clamp(56px, 7vw, 110px) clamp(70px, 9vw, 130px); position: relative; overflow: hidden; }
.contact-sec .watermark { color: #fff; opacity: .04; left: -10vw; bottom: -12vw; width: min(60vw, 820px); aspect-ratio: 1; }
.contact { position: relative; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(24px, 4.5vw, 72px); align-items: start; }
.contact h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.1; margin-bottom: 14px; }
.contact__lede { color: var(--muted-dark); max-width: 42ch; }
.dcards { margin-top: 32px; display: grid; gap: 12px; }
.dcard { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .5s var(--ease), transform .7s var(--liquid); }
a.dcard:hover { background: rgba(255, 255, 255, .11); transform: translateX(6px); }
.dcard__ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(169, 189, 230, .14); color: var(--sky); flex: none; }
.dcard__ic .ico { width: 20px; height: 20px; }
.dcard h3 { font-family: var(--sans); font-size: .8125rem; font-weight: 600; color: var(--muted-dark); margin-bottom: 4px; }
.dcard p, .dcard a { font-family: var(--display); font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.3; }
.panel { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(26px, 3.6vw, 56px); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .55); }
.panel h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); margin-bottom: 8px; }
.panel > p { color: var(--muted); max-width: 46ch; }
.form { margin-top: 30px; display: grid; gap: 14px; }
.form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field textarea { width: 100%; padding: 26px 18px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #F3F1EC; color: var(--ink); transition: border-color .3s, background .3s, box-shadow .3s; outline: none; }
.field input { height: 62px; }
.field textarea { min-height: 150px; resize: vertical; }
.field label { position: absolute; left: 18px; top: 19px; color: var(--muted); font-size: 1rem; pointer-events: none; transition: top .3s var(--ease), font-size .3s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 9px; font-size: .72rem; font-weight: 600; color: var(--navy); }
.field input:focus, .field textarea:focus { border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(30, 53, 102, .1); }
.fieldset { border: 0; padding: 0; margin: 6px 0 4px; }
.fieldset legend { font-size: .8125rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; padding: 0; }
.form .btn { justify-self: start; margin-top: 8px; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.form__status { min-height: 1.5em; font-size: .9375rem; color: #B3261E; }
.hp { position: absolute; left: -9999px; }

.map-sec { padding: 0 var(--gut) var(--gut); background: linear-gradient(to bottom, var(--navy-deep) calc(100% - var(--gut) - var(--r-lg)), var(--ink) 0); }
.map { position: relative; border-radius: var(--r-lg); overflow: hidden; height: clamp(380px, 46vw, 600px); background: #CBD0D8; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.75) contrast(1.06) saturate(.9); transition: filter .8s var(--ease); }
.map:hover iframe { filter: grayscale(.1) contrast(1.02); }
.map__card { position: absolute; left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); max-width: 360px; padding: 24px 26px; border-radius: var(--r); background: rgba(250, 249, 246, .86); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 30px 60px -30px rgba(10, 17, 36, .5); }
.map__card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.map__card p { color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.map__card .row { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.map__card .btn { min-height: 46px; padding: 12px 18px; font-size: .875rem; }

/* ---------- Thank you ---------- */
.thanks { min-height: 100svh; display: flex; align-items: center; padding-top: var(--header-h); position: relative; overflow: hidden; }
.thanks .watermark { right: -8vw; top: 50%; width: min(60vw, 820px); aspect-ratio: 1; transform: translateY(-50%); }
.thanks .wrap { position: relative; }
.thanks .t-page { max-width: 10em; }
.thanks .t-body { margin-top: 28px; }
.thanks .row { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero__card { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .acts-grid { grid-template-columns: 1fr 1fr; }
  .principles-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  :root { --header-h: 92px; }
  .site-header { --bar-h: 62px; --logo-h: 38px; }
  .site-header.scrolled, body.light-header .site-header { --bar-h: 56px; --logo-h: 34px; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .page-hero .t-page, .page-hero .t-body { grid-column: 1 / -1; }
  .page-hero .t-body { margin-top: 28px; }
  .page-hero--split .wrap { grid-template-columns: 1fr; }
  .statement .t-lead { grid-column: 1 / -1; }
  .areas, .forums, .matter, .contact, .how__head, .pa-intro, .depth, .process__grid { grid-template-columns: 1fr; }
  .areas__stage { display: none; }
  .areas__list small { display: none; }
  .matter__visual, .process__intro { position: static; }
  .depth__stage { display: none; }
  .depth__item { min-height: 0; }
  .depth__item .media { display: block; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .scard { grid-template-columns: 1fr; min-height: 0; position: relative; top: 0; }
  .scard__img { min-height: 240px; margin: 0 12px 12px; }
  .folio { height: auto; flex-direction: column; }
  .folio__card, .folio__card.is-active { flex: none; aspect-ratio: 4 / 4.4; }
  .folio__card img { filter: none; transform: none; }
  .folio__card:not(.is-active) .folio__go { display: grid; }
  .folio__card:not(.is-active) .folio__cap h3 { font-size: clamp(1.15rem, 1.6vw, 1.55rem); }
  .gallery { grid-template-columns: 1fr; }
  .gallery .gcard:nth-child(n) { margin-top: 0; }
  .gallery-sec { margin-top: -90px; }
  .bcard, .bcard--7, .bcard--5 { grid-column: span 12; min-height: 280px; }
  .values { grid-template-columns: 1fr; }
  .cta--split .cta__panel { grid-template-columns: 1fr; }
  .cta--split .cta__row { padding-left: 0; }
  .band { min-height: 80svh; }
  .map__card { position: relative; left: 0; bottom: 0; max-width: none; border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .map { height: auto; display: flex; flex-direction: column; }
  .map iframe { position: static; height: 360px; }
}
@media (max-width: 720px) {
  .figures, .matter__facts, .acts-grid, .principles-row { grid-template-columns: 1fr; }
  .form__pair { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand .logo { --logo-h: 46px; }
  .hero__img { inset: 84px 0 0 0; }
  .tl__two { grid-template-columns: 1fr; }
  .tl__top { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .hero__img { clip-path: none; }
  .hero__img img { transform: none; }
  .rotor__w:not(.first) { display: none; }
  .rotor__c { transform: none; opacity: 1; }
  .hero__row, .hero__card, .hero__l1 { opacity: 1; }
  .js .rv { opacity: 1; transform: none; }
}

/* mobile hero: keep faces clear of the headline */
@media (max-width: 700px) {
  .hero { min-height: 100svh; }
  .hero__img { inset: 92px 0 auto 0; height: 50svh; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 70%, transparent 100%); }
  .hero__img img { object-position: 52% 20%; }
  .hero__inner { padding-top: calc(50svh + 70px); }
}

/* footer joins the map seamlessly on the Contact page */
main:has(.map-sec) + .site-footer { border-radius: 0; }
