/* ==========================================================================
   A.A & ASSOCIATES - v4
   Clean editorial law-firm layout. Source Serif 4 for display (upright,
   no italics anywhere), Inter for UI. Navy ground, generous radii,
   soft float + lift motion.
   ========================================================================== */

:root {
  --navy:    #061a3a;
  --navy-d:  #040f26;
  --navy-dd: #030b1c;
  --ink:     #0a2a5e;
  --blue:    #1a47a8;
  --blue-l:  #2a63d4;
  --sky:     #3b8fd9;
  --sky-l:   #7cc0ff;
  --ice:     #eef5fc;
  --ice-d:   #dbe8f7;
  --tx:      #42526a;
  --tx-l:    #7a8aa1;
  --inv:     #bccee6;
  --inv-d:   #8ea5c4;

  --f: 'Source Serif 4', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --s: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --w: min(1220px, 92vw);
  --pad: clamp(88px, 9.5vw, 140px);

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;

  --glow: 0 16px 38px -12px rgba(26, 71, 168, .62);
  --glow-hi: 0 24px 50px -12px rgba(42, 99, 212, .8);
  --lift: 0 36px 72px -32px rgba(4, 15, 38, .56);
  --card: 0 2px 10px rgba(6, 26, 58, .05);

  --e: cubic-bezier(.22, .68, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font: 400 17px/1.75 var(--s);
  color: var(--tx);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; background: var(--navy); color: #fff; padding: 14px 22px; z-index: 999; }
.skip:focus { left: 14px; top: 14px; }

/* --------------------------------------------------------------- type --- */
h1, h2, h3, h4 {
  font-family: var(--f);
  font-weight: 600;
  font-style: normal;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -.018em;
}
h1 { font-size: clamp(44px, 5.6vw, 78px); line-height: 1.04; letter-spacing: -.024em; }
h2 { font-size: clamp(33px, 4.2vw, 54px); letter-spacing: -.021em; }
h3 { font-size: clamp(21px, 1.7vw, 25px); }

/* Accent words - colour change only, never italic */
em, .em { font-style: normal; font-weight: 600; color: var(--blue); }

p { max-width: 62ch; }
.lead { font-size: clamp(18px, 1.35vw, 20.5px); line-height: 1.68; }
.lead-serif { font-family: var(--f); font-size: clamp(19px, 1.5vw, 23px); line-height: 1.55; color: var(--tx); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 700 11.5px/1 var(--s);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.eyebrow.mid { justify-content: center; }
.eyebrow.bare::before { content: none; }

.wrap { width: var(--w); margin-inline: auto; }
.section { padding: var(--pad) 0; position: relative; }
.head { max-width: 760px; }
.head.mid { margin-inline: auto; text-align: center; }
.head p { margin-top: 20px; }
.head.mid p { margin-inline: auto; }

/* ------------------------------------------------------------ buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 17px 32px;
  border-radius: 50px;
  font: 600 15px/1 var(--s);
  color: #fff;
  background: linear-gradient(118deg, var(--sky), var(--blue));
  box-shadow: var(--glow);
  border: 1.5px solid transparent;
  transition: transform 0.64s var(--e), box-shadow 0.64s var(--e), background 0.64s var(--e), color 0.48s var(--e), border-color 0.48s var(--e);
}
.btn .arr { transition: transform 0.64s var(--e); }
.btn:hover { transform: translateY(-4px); box-shadow: var(--glow-hi); background: linear-gradient(118deg, var(--blue-l), var(--ink)); }
.btn:hover .arr { transform: translateX(5px); }

.btn-ghost { background: none; box-shadow: none; border-color: rgba(255, 255, 255, .36); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; box-shadow: 0 20px 42px -18px rgba(255, 255, 255, .4); }

.btn-outline { background: none; box-shadow: none; border-color: var(--ice-d); color: var(--navy); }
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--lift); }

.btn-row { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; }

/* ---------------------------------------------------------------- nav --- */
.nav {
  position: fixed; top: 18px; left: 50%;
  transform: translateX(-50%);
  width: min(1220px, 94%);
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-radius: 60px;
  padding: 10px 14px 10px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  box-shadow: 0 10px 38px rgba(6, 26, 58, .18);
  transition: top 0.64s var(--e), box-shadow 0.64s var(--e), padding 0.64s var(--e);
}
.nav.stuck { top: 10px; box-shadow: 0 14px 44px rgba(6, 26, 58, .3); }
/* multiply drops the logo's white plate into the bar instead of showing a box */
.nav .logo img { height: 48px; width: auto; mix-blend-mode: multiply; transition: height 0.64s var(--e); }
.nav.stuck .logo img { height: 42px; }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  display: block; padding: 11px 18px; border-radius: 40px;
  font: 600 14.5px/1 var(--s); color: var(--ink);
  transition: background 0.48s var(--e), color 0.48s var(--e);
}
.nav-links a:hover, .nav-links a.on { background: var(--ice); color: var(--blue); }
.nav .btn { padding: 14px 26px; font-size: 14px; }

.burger { display: none; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--ice); align-items: center; justify-content: center; }
.burger i { position: relative; display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: background 0.48s; }
.burger i::before, .burger i::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform 0.64s var(--e), top 0.48s var(--e);
}
.burger i::before { top: -6px; }
.burger i::after { top: 6px; }
body.open .burger i { background: transparent; }
body.open .burger i::before { top: 0; transform: rotate(45deg); }
body.open .burger i::after { top: 0; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 95;
  background: linear-gradient(170deg, var(--navy), var(--navy-d));
  padding: 130px 8vw 50px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-14px);
  transition: opacity 0.64s var(--e), transform 0.64s var(--e), visibility 0.64s;
}
body.open .drawer { opacity: 1; visibility: visible; transform: none; }
.drawer a { display: block; font-family: var(--f); font-weight: 600; font-size: 31px; color: #fff; padding: 17px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.drawer .btn { margin-top: 32px; width: 100%; justify-content: center; }

/* --------------------------------------------------------------- hero --- */
.hero {
  position: relative;
  padding: 168px 0 104px;
  background: linear-gradient(162deg, #0a2550 0%, var(--navy) 52%, var(--navy-d) 100%);
  color: var(--inv);
  overflow: hidden;
}
.hero h1 { color: #fff; }
.hero h1 em { color: var(--sky-l); }
.hero .eyebrow { color: var(--sky-l); }
.hero .lead-serif { color: #cfdcef; max-width: 46ch; margin-top: 26px; }
.hero .btn-row { margin-top: 40px; }

/* one quiet gradient wash, nothing else */
.hero .wash {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(760px 520px at 78% 18%, rgba(59, 143, 217, .3), transparent 64%);
}
.hero .ruleset {
  position: absolute; inset: 0; width: var(--w); margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, 1fr); pointer-events: none;
}
.hero .ruleset span { border-right: 1px solid rgba(255, 255, 255, .05); }
.hero .ruleset span:first-child { border-left: 1px solid rgba(255, 255, 255, .05); }

.hero-grid {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(40px, 5.5vw, 86px); align-items: center;
}

.proof { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.proof .lbl { font: 700 10.5px/1 var(--s); letter-spacing: .22em; text-transform: uppercase; color: var(--inv-d); }
.proof ul { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.proof li { position: relative; font: 700 14px/1 var(--s); letter-spacing: .06em; color: #fff; }
.proof li + li::before { content: ""; position: absolute; left: -12px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--sky); transform: translateY(-50%); }

/* hero portrait */
.portrait-wrap { position: relative; }
.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 200px 200px var(--r-lg) var(--r-lg);
  overflow: hidden;
  background: var(--ice);
  box-shadow: 0 48px 90px -36px rgba(0, 0, 0, .78);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }

.stat-card {
  position: absolute; z-index: 4;
  top: 74%; left: -7%;
  height: max-content;
  background: #fff; color: var(--navy);
  border-radius: var(--r-md);
  padding: 20px 26px;
  box-shadow: 0 30px 56px -22px rgba(0, 0, 0, .72);
  animation: floatSm 6.5s ease-in-out infinite;
}
.stat-card b { display: block; font: 600 42px/1 var(--f); letter-spacing: -.03em; color: var(--blue); }
.stat-card span { display: block; margin-top: 5px; font: 600 11.5px/1.45 var(--s); letter-spacing: .09em; text-transform: uppercase; color: var(--tx-l); }

.name-tag {
  position: absolute; z-index: 4;
  top: -4%; right: -6%;
  height: max-content;
  background: rgba(255, 255, 255, .96);
  border-radius: 50px; padding: 13px 22px;
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .6);
  animation: floatSm 7.5s ease-in-out infinite; animation-delay: -3s;
}
.name-tag b { display: block; font: 600 15px/1.25 var(--f); color: var(--navy); }
.name-tag span { font: 600 11px/1.3 var(--s); letter-spacing: .08em; text-transform: uppercase; color: var(--tx-l); }

@keyframes float { 50% { transform: translateY(-18px); } }
@keyframes floatSm { 50% { transform: translateY(-11px); } }

/* --------------------------------------------------------- stats band --- */
.band {
  background: linear-gradient(180deg, var(--navy-d), var(--navy-dd));
  color: var(--inv);
  padding: clamp(66px, 7vw, 104px) 0;
}
.band h2 { color: #fff; text-align: center; max-width: 24ch; margin-inline: auto; }
.band .sub { text-align: center; color: var(--inv-d); margin: 18px auto 0; max-width: 62ch; }

.figures { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(44px, 5vw, 70px); }
.figures > div { padding: 0 clamp(16px, 2.4vw, 38px); }
.figures > div + div { border-left: 1px solid rgba(255, 255, 255, .15); }
.figures b {
  display: block;
  font: 600 clamp(48px, 5.4vw, 78px)/1 var(--f);
  letter-spacing: -.035em; color: #fff;
  padding-bottom: clamp(18px, 2vw, 28px);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.figures span { display: block; margin-top: 18px; font: 400 15px/1.5 var(--s); color: var(--inv-d); max-width: 22ch; }

/* ----------------------------------------------------------- marquee --- */
.marquee { background: var(--ice); padding: 24px 0; overflow: hidden; white-space: nowrap; }
.marquee-run { display: inline-block; animation: run 48s linear infinite; }
.marquee-run span { font: 600 25px/1 var(--f); color: var(--ink); letter-spacing: -.01em; }
.marquee-run i { font-style: normal; color: var(--sky); margin: 0 28px; font-size: 10px; vertical-align: middle; }
@keyframes run { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------- practice --- */
.practice { background: linear-gradient(180deg, #fff, var(--ice) 100%); }

.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 58px; }

.pcard {
  position: relative; display: flex; flex-direction: column;
  padding: 36px 34px 30px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--ice-d);
  box-shadow: var(--card);
  overflow: hidden;
  transition: transform 0.8s var(--e), box-shadow 0.8s var(--e), border-color 0.8s var(--e);
}
.pcard:hover { transform: translateY(-9px); box-shadow: var(--lift); border-color: rgba(59, 143, 217, .55); }

.pcard .pic {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--ice);
  color: var(--blue);
  display: grid; place-items: center;
  margin-bottom: 24px;
  transition: background 0.8s var(--e), color 0.8s var(--e), transform 0.8s var(--e), box-shadow 0.8s var(--e);
}
.pcard .pic svg { width: 26px; height: 26px; }
.pcard:hover .pic {
  background: linear-gradient(140deg, var(--sky), var(--blue));
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -10px rgba(26, 71, 168, .75);
}

.pcard .pnum {
  position: absolute; top: 34px; right: 32px;
  font: 600 13px/1 var(--s); letter-spacing: .18em;
  color: #aebfd4;
  transition: color 0.8s var(--e);
}
.pcard:hover .pnum { color: var(--sky); }

.pcard h3 { margin-bottom: 11px; letter-spacing: -.015em; }
.pcard p { font-size: 15.5px; line-height: 1.68; color: var(--tx-l); flex: 1; }
.pcard .pgo {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--ice-d);
  display: inline-flex; align-items: center; gap: 9px;
  font: 600 13.5px/1 var(--s); color: var(--blue);
  transition: gap 0.64s var(--e), border-color 0.8s var(--e);
}
.pcard:hover .pgo { gap: 15px; border-color: rgba(59, 143, 217, .4); }

.practice .after { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.practice .after p { color: var(--tx-l); font-size: 15.5px; max-width: 48ch; }

/* ---------------------------------------------------------------- why --- */
.split { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(44px, 6vw, 92px); align-items: center; }
.tone-ice { background: linear-gradient(150deg, var(--ice), #fff 72%); }

/* image column is deliberately held back so the copy carries the section */
.stack { position: relative; width: 100%; max-width: 400px; margin-inline: auto; padding-bottom: 32px; }
.stack .big { aspect-ratio: 4 / 5; border-radius: 190px 190px 24px 24px; overflow: hidden; box-shadow: var(--lift); background: var(--ice-d); }
.stack .big img { width: 100%; height: 100%; object-fit: cover; }
.stack .small {
  position: absolute; right: -9%; bottom: 0; width: 46%; aspect-ratio: 1;
  border-radius: 20px; overflow: hidden; border: 7px solid #fff;
  box-shadow: 0 26px 52px -24px rgba(6, 26, 58, .6);
  background: var(--ice-d);
  animation: floatSm 7s ease-in-out infinite;
}
.stack .small img { width: 100%; height: 100%; object-fit: cover; }
.stack .badge {
  position: absolute; left: -9%; bottom: 76px;
  background: linear-gradient(140deg, var(--sky), var(--blue));
  color: #fff; border-radius: 20px; padding: 20px 26px;
  box-shadow: var(--glow);
  animation: float 6s ease-in-out infinite;
}
.stack .badge b { display: block; font: 600 40px/1 var(--f); letter-spacing: -.03em; }
.stack .badge span { font: 600 15px/1.2 var(--f); color: #d6e8ff; }

.ticks { margin-top: 30px; }
.ticks li { position: relative; padding: 15px 0 15px 36px; border-bottom: 1px solid var(--ice-d); font-size: 16.5px; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 23px;
  width: 12px; height: 7px;
  border-left: 2.2px solid var(--sky); border-bottom: 2.2px solid var(--sky);
  transform: rotate(-45deg);
}

/* ------------------------------------------------------------ process --- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 58px; }
.step {
  padding: 32px 30px; border-radius: var(--r-md);
  background: #fff; border: 1px solid var(--ice-d); box-shadow: var(--card);
  transition: transform 0.8s var(--e), box-shadow 0.8s var(--e), border-color 0.8s var(--e);
}
.step:hover { transform: translateY(-9px); box-shadow: var(--lift); border-color: rgba(59, 143, 217, .5); }
.step b { display: block; font: 600 13px/1 var(--s); letter-spacing: .18em; color: var(--sky); margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 15.5px; line-height: 1.68; color: var(--tx-l); }

/* --------------------------------------------------------- leadership --- */
.leader { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.leader .shot {
  width: 100%; max-width: 400px; margin-inline: auto;
  aspect-ratio: 4 / 5;
  border-radius: 190px 190px 24px 24px;
  background: var(--ice);
  overflow: hidden; box-shadow: var(--lift);
}
.leader .shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.leader blockquote {
  font: 600 clamp(21px, 2vw, 28px)/1.45 var(--f);
  color: var(--navy); margin: 24px 0; padding-left: 24px;
  border-left: 3px solid var(--sky); max-width: 44ch;
  letter-spacing: -.015em;
}
.role { font: 700 11.5px/1 var(--s); letter-spacing: .18em; text-transform: uppercase; color: var(--sky); margin-top: 12px; }

.heritage { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.heritage .h {
  display: flex; gap: 16px; align-items: flex-start;
  border-radius: var(--r-sm); background: var(--ice); padding: 20px 22px;
  border-left: 3px solid var(--sky);
  transition: transform 0.72s var(--e), box-shadow 0.72s var(--e);
}
.heritage .h:hover { transform: translateY(-5px); box-shadow: var(--lift); }
.heritage .h .av {
  width: 64px; height: 64px; flex: none; border-radius: 50%;
  overflow: hidden; background: linear-gradient(160deg, var(--sky), var(--navy));
  display: grid; place-items: center;
  font: 600 18px/1 var(--f); color: #fff;
}
.heritage .h .av img { width: 100%; height: 100%; object-fit: cover; }
.heritage .h .hl { display: block; font: 700 9.5px/1 var(--s); letter-spacing: .18em; text-transform: uppercase; color: var(--sky); margin-bottom: 8px; }
.heritage .h b { display: block; font: 600 17.5px/1.25 var(--f); color: var(--navy); }
.heritage .h small { display: block; margin-top: 6px; font-size: 13px; line-height: 1.55; color: var(--tx-l); }

/* ------------------------------------------------------- memberships --- */
.mem { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 52px; }
.mem .m {
  text-align: center; padding: 32px 24px;
  border-radius: var(--r-md); background: #fff; border: 1px solid var(--ice-d); box-shadow: var(--card);
  transition: transform 0.8s var(--e), box-shadow 0.8s var(--e), border-color 0.8s var(--e);
}
.mem .m:hover { transform: translateY(-8px); box-shadow: var(--lift); border-color: rgba(59, 143, 217, .5); }
.mem .m b { display: block; font: 600 30px/1 var(--f); color: var(--blue); }
.mem .m span { display: block; margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--tx-l); }

/* ------------------------------------------------------------- the cta --- */
.cta-wrap { position: relative; z-index: 3; }
.cta {
  position: relative; overflow: hidden;
  width: var(--w); margin-inline: auto;
  border-radius: 40px;
  padding: clamp(60px, 6.5vw, 94px) clamp(32px, 5vw, 72px);
  text-align: center; color: #fff;
  background: radial-gradient(680px 400px at 18% 112%, rgba(59, 143, 217, .5), transparent 62%),
              linear-gradient(128deg, var(--blue), var(--navy));
  box-shadow: 0 46px 92px -40px rgba(6, 26, 58, .78);
  top: 88px;
}
.cta h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta h2 em { color: var(--sky-l); }
.cta p { color: var(--inv); margin: 18px auto 34px; max-width: 48ch; }
.cta .bub { position: absolute; border-radius: 50%; background: linear-gradient(140deg, rgba(124, 192, 255, .3), rgba(26, 71, 168, .18)); animation: float 8s ease-in-out infinite; }
.cta .bub-1 { width: 210px; height: 210px; right: -60px; top: -70px; }
.cta .bub-2 { width: 106px; height: 106px; left: 44px; bottom: 34px; animation-delay: -3s; }
.cta .btn-row { justify-content: center; position: relative; z-index: 2; }

/* ------------------------------------------------------------- footer --- */
.foot { background: var(--navy-dd); color: var(--inv-d); font-size: 14.5px; padding: 212px 0 34px; }
.fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 44px; }
.foot .fl img { height: 46px; width: auto; background: #fff; padding: 9px 16px; border-radius: 12px; }
.foot .fl p { margin-top: 20px; max-width: 34ch; line-height: 1.75; }
.foot h4 { color: #fff; font: 700 12.5px/1 var(--s); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.foot nav a, .foot .nap p { display: block; padding: 7px 0; line-height: 1.6; }
.foot nav a { transition: color 0.48s var(--e), transform 0.48s var(--e); }
.foot nav a:hover { color: var(--sky-l); transform: translateX(5px); }
.foot .nap a { transition: color 0.48s; }
.foot .nap a:hover { color: var(--sky-l); }
.fbot { margin-top: 54px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; font-size: 13.5px; }

/* ------------------------------------------------------------- reveal --- */
.js [data-r] { opacity: 0; transform: translateY(30px); transition: opacity 1.44s var(--e), transform 1.44s var(--e); }
.js [data-r].in { opacity: 1; transform: none; }
[data-d="1"] { transition-delay: 0.14s !important; }
[data-d="2"] { transition-delay: 0.29s !important; }
[data-d="3"] { transition-delay: 0.43s !important; }
[data-d="4"] { transition-delay: 0.58s !important; }

/* --------------------------------------------------------- responsive --- */
@media (max-width: 1080px) {
  .pgrid, .steps, .mem { grid-template-columns: repeat(2, 1fr); }
  .figures { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .figures > div:nth-child(3) { border-left: 0; }
  .fgrid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 920px) {
  .nav-links, .nav > .btn { display: none; }
  .burger { display: flex; }
  .hero { padding: 146px 0 96px; }
  .hero-grid, .split, .leader { grid-template-columns: 1fr; }
  .portrait-wrap { max-width: 400px; margin: 24px auto 0; width: 100%; }
  .stat-card { top: 78%; left: -4%; }
  .name-tag { right: -3%; }
  .stack { max-width: 380px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .pgrid, .steps, .mem, .heritage, .fgrid { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; row-gap: 36px; }
  .figures > div { padding: 0; border-left: 0 !important; }
  .figures span { max-width: none; }
  .cta { border-radius: 28px; }
  .drawer a { font-size: 26px; }
  .practice .after { flex-direction: column; align-items: flex-start; }
  .stat-card { padding: 16px 20px; }
  .stat-card b { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .js [data-r] { opacity: 1; transform: none; }
}
