/* Intellect Juris — shared stylesheet
   Layout and proportions follow the Lawtide reference (1400px container, 120px sections, 8px radii);
   colour, type and imagery follow the 2026 firm-profile deck. */

@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url(../fonts/montserrat-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url(../fonts/montserrat-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url(../fonts/roboto-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap; src: url(../fonts/roboto-latin-500-normal.woff2) format("woff2"); }

:root {
  --espresso: #292d30;      /* Deep Charcoal — headings, body text, buttons, dark panels */
  --espresso-2: #33383b;    /* raised surface on charcoal */
  --copper: #a58b60;        /* Muted Antique Gold — minimal accents and fine lines */
  --copper-soft: #c9b68f;   /* light gold */
  --bronze: #7e6a47;        /* gold text on light backgrounds (AA) */
  --sand: #e8e1d6;           /* Limestone Beige — supporting panels and section backgrounds */
  --stone: #d9d1c4;         /* hairlines */
  --taupe: #55595c;         /* secondary text on light (AA) */
  --page: #faf8f3;          /* Warm Ivory — dominant backgrounds */
  --white: #ffffff;
  --on-dark: #e8e1d6;       /* body text on charcoal */
  --on-dark-2: #b4b2ad;     /* secondary text on charcoal */

  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --radius: 8px;
  --section: 120px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--espresso); font: 400 1rem/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, dt { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--espresso); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 16px; }

/* ---------- type ---------- */
.h2 { font: 400 clamp(2rem, 1.4rem + 2vw, 3rem)/1.1 var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
.h2--center { text-align: center; max-width: 18ch; margin-inline: auto; }
.eyebrow { color: var(--bronze); margin-bottom: 20px; }
/* page title pill (About Intellect Juris style): shared by every page hero */
.page-pill, .ab-pill, .pp-pill, .hero__kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 8px 16px;
  border: 1px solid var(--stone); border-radius: 999px; background: var(--page);
  font-size: .9375rem; color: var(--espresso);
}
.page-pill::before, .ab-pill::before, .pp-pill::before, .hero__kicker::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--copper);
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: var(--radius); border: 1px solid transparent; font: 500 1rem/1.5 var(--font-body); text-decoration: none; white-space: nowrap; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), translate .35s var(--ease), scale .15s var(--ease); }
.btn:hover { translate: 0 -2px; }
.btn:active { translate: 0; scale: .98; }
.btn--dark { background: var(--espresso); color: #fff; }
.btn--dark:hover { background: #3b4043; }
.btn--light { background: var(--page); color: var(--espresso); }
.btn--light:hover { background: var(--sand); }
.btn--ghost { border-color: var(--stone); }
.btn--ghost:hover { border-color: var(--espresso); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost-light:hover { background: var(--page); border-color: var(--page); color: var(--espresso); }

.circle-link, .arrow-btn { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; transition: background-color .3s var(--ease), transform .4s var(--ease); }
.circle-link svg, .arrow-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.circle-link--light { background: var(--page); color: var(--espresso); }
.circle-link:hover { transform: translateX(4px); }
.arrow-btn { border: 1px solid var(--stone); color: var(--espresso); }
.arrow-btn:hover { background: var(--espresso); border-color: var(--espresso); color: #fff; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 20px 0 auto; z-index: 50; transition: translate .5s var(--ease); }
.nav.is-hidden { translate: 0 calc(-100% - 24px); }
.nav__bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; padding: 10px 10px 10px 24px; background: var(--page); border-radius: var(--radius); transition: box-shadow .4s var(--ease); }
.nav.is-scrolled .nav__bar { box-shadow: 0 12px 32px -16px rgba(41, 45, 48, .35); }
.nav__brand img { height: 46px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__menu a { font-size: 1rem; text-decoration: none; padding: 4px 0; white-space: nowrap; background: linear-gradient(var(--copper), var(--copper)) 0 100% / 0 1px no-repeat; transition: color .25s, background-size .45s var(--ease); }
.nav__menu a:hover, .nav__menu a[aria-current] { color: var(--bronze); background-size: 100% 1px; }
.nav__menu-contact { display: none; }

/* mega menu: a frosted panel, two-thirds the width of the nav bar, centred under it */
.nav__item { display: flex; align-items: center; gap: 2px; }
.nav__caret { display: grid; place-items: center; width: 22px; height: 22px; color: var(--taupe); transition: rotate .35s var(--ease), color .25s; }
.nav__caret svg { width: 14px; height: 14px; }
.nav__item.is-open .nav__caret { rotate: 180deg; color: var(--bronze); }
.nav__item.is-open .nav__parent { color: var(--bronze); background-size: 100% 1px; }
.mega { position: absolute; top: 100%; left: calc(100% / 6); right: calc(100% / 6); padding-top: 8px; visibility: hidden; opacity: 0; translate: 0 -8px; transition: opacity .3s var(--ease), translate .45s var(--ease), visibility 0s .3s; }
.nav__item.is-open .mega { visibility: visible; opacity: 1; translate: none; transition-delay: 0s; }
.mega__panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 28px 28px 28px 32px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 20px; background: rgba(250, 248, 243, .74); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); box-shadow: 0 30px 60px -28px rgba(41, 45, 48, .38); }
.mega__title { font: 400 1.75rem/1.1 var(--font-display); letter-spacing: -0.02em; }
.mega__lead { display: grid; align-content: start; gap: 24px; }
.mega__links, .mega__more { display: grid; align-content: start; gap: 14px; }
.mega li { opacity: 0; translate: 0 6px; transition: opacity .3s var(--ease), translate .45s var(--ease); }
.nav__item.is-open .mega li { opacity: 1; translate: none; }
.nav__item.is-open .mega li:nth-child(2) { transition-delay: .03s; }
.nav__item.is-open .mega li:nth-child(3) { transition-delay: .06s; }
.nav__item.is-open .mega li:nth-child(4) { transition-delay: .09s; }
.nav__item.is-open .mega li:nth-child(5) { transition-delay: .12s; }
.nav__menu .mega a, .nav__menu .mega a:hover { display: inline-flex; align-items: center; gap: 10px; padding: 0; background: none; font-size: 1.125rem; transition: color .25s, translate .35s var(--ease); }
.nav__menu .mega__links a:hover, .nav__menu .mega__links a[aria-current] { color: var(--bronze); translate: 4px 0; }
.nav__menu .mega__more a { font-weight: 500; }
.nav__menu .mega__more a:hover { color: var(--bronze); }
.nav__menu .mega a.mega__btn { margin-top: 6px; padding: 12px 22px; background: var(--espresso); color: #fff; font-size: 1rem; }
.nav__menu .mega a.mega__btn:hover { padding: 12px 22px; background: #3b4043; color: #fff; }
.mega__more svg { width: 18px; height: 18px; transition: translate .35s var(--ease); }
.mega__more a:hover svg { translate: 4px 0; }
.mega__media { overflow: hidden; aspect-ratio: 1.2; border-radius: 12px; background: var(--sand); }
.mega__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.nav__item.is-open .mega__media img { scale: 1.04; }
.nav__actions { display: flex; align-items: center; gap: 32px; }
.nav__toggle { display: none; }
@media (max-width: 1200px) {
  .nav__menu { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--page); border-radius: var(--radius); padding: 8px 24px; box-shadow: 0 24px 48px -24px rgba(41, 45, 48, .4); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
  .nav__menu { align-items: stretch; max-height: calc(100svh - 120px); overflow-y: auto; overscroll-behavior: contain; }
  .nav__menu a { padding: 14px 0; border-bottom: 1px solid var(--stone); background: none; }
  .nav__menu a:last-child { border-bottom: 0; }
  .nav__item { display: grid; grid-template-columns: 1fr auto; gap: 0; border-bottom: 1px solid var(--stone); }
  .nav__menu .nav__parent { border-bottom: 0; }
  .nav__caret { width: 44px; height: 44px; margin-right: -12px; }
  .mega { position: static; grid-column: 1 / -1; display: none; padding: 0; visibility: visible; opacity: 1; translate: none; transition: none; }
  .nav__item.is-open .mega { display: block; }
  .mega__panel { display: flex; flex-direction: column; padding: 0 0 12px 16px; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .mega__title, .mega__media { display: none; }
  .mega__links, .mega__more, .mega__lead { gap: 0; }
  .mega__lead { order: 1; margin-top: 4px; }
  .mega li { opacity: 1; translate: none; }
  .nav__menu .mega a, .nav__menu .mega a:hover { padding: 9px 0; border-bottom: 0; font-size: 1rem; }
  .nav__menu .mega__links a { color: var(--taupe); }
  .nav.is-open .nav__menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__menu-contact { display: block; }
  .nav__actions { gap: 12px; }
  .nav__toggle { display: grid; place-content: center; gap: 6px; width: 48px; height: 48px; border-radius: var(--radius); background: var(--page); }
  .nav__toggle span { display: block; width: 18px; height: 1.5px; background: var(--espresso); transition: transform .3s var(--ease); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .nav { inset: 12px 0 auto; }
  .nav__bar { height: 60px; padding-left: 14px; }
  .nav__actions .btn { display: none; }
  .nav__brand img { height: 38px; }
}

/* ---------- hero ---------- */
.hero { padding: 96px 0 48px; }
.hero__frame { position: relative; isolation: isolate; overflow: hidden; height: clamp(440px, 58vh, 560px); border-radius: var(--radius); background: var(--sand); display: flex; align-items: flex-end; padding: 48px; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img, .hero__media video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__content { max-width: 760px; color: var(--espresso); }
.hero__title { font: 400 clamp(2.5rem, 1.6rem + 3.2vw, 4rem)/1.1 var(--font-display); letter-spacing: -0.025em; margin-bottom: 24px; }
.hero__line { display: block; text-wrap: balance; }
.hero__lede { max-width: 500px; color: var(--taupe); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__offices { position: absolute; right: 48px; bottom: 48px; display: flex; align-items: center; gap: 20px; padding: 12px 12px 12px 20px; background: var(--page); border-radius: var(--radius); text-decoration: none; color: var(--espresso); transition: transform .4s var(--ease); }
.hero__offices:hover { transform: translateY(-2px); }
.hero__offices-text { display: grid; font-size: .9375rem; line-height: 1.35; }
.hero__offices-text span { font-size: .8125rem; color: var(--taupe); }
.hero__offices-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--page); }
.hero__offices-icon svg { width: 30px; height: 30px; }
@media (max-width: 991px) {
  .hero__frame { height: auto; min-height: 460px; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 32px; padding: 96px 32px 32px; }
  .hero__offices { position: static; }
}
@media (max-width: 560px) {
  .hero { padding-top: 64px; padding-bottom: 40px; }
  .hero__frame { min-height: 0; padding: 80px 20px 20px; }
  .hero__media img { object-position: 78% 50%; }
  .hero__offices { flex-wrap: wrap; gap: 12px 20px; width: 100%; }
  .hero__offices-icon { display: none; }
}

/* ---------- layered scroll (home): first block of each group sticks, the next ones slide over it ---------- */
html.motion-ok [data-layers] > :first-child { position: sticky; top: 0; z-index: 0; }
html.motion-ok [data-layers] > :not(:first-child) { position: relative; z-index: 1; }
html.motion-ok [data-layers] > :nth-child(2) { box-shadow: 0 -32px 64px -40px rgba(41, 45, 48, .3); }
html.motion-ok [data-layers] > .forums { box-shadow: none; }

/* ---------- forums (logo-strip slot) ---------- */
.forums { padding-top: 80px; text-align: center; background: var(--page); }
.forums__title { margin-bottom: 12px; }
.forums__intro { font-size: 1.125rem; margin-bottom: 28px; }
.forums__row { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding-bottom: 44px; }
.forum { position: relative; outline: none; }
.forum__card { display: flex; align-items: center; gap: 12px; height: 76px; padding: 0 28px; background: var(--sand); border-radius: 4px; font: 500 1.0625rem/1 var(--font-display); color: var(--espresso); --icon-accent: var(--copper); cursor: default; transition: background-color .35s var(--ease), color .35s var(--ease); }
.forum__card svg { width: 34px; height: 34px; flex: none; }
.forum__label { position: absolute; left: 50%; top: calc(100% + 8px); translate: -50% 0; white-space: nowrap; padding: 6px 14px; border-radius: 999px; background: var(--page); font-size: .8125rem; color: var(--taupe); box-shadow: 0 6px 18px -8px rgba(41, 45, 48, .3); opacity: 0; transform: translateY(-4px); transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none; }
.forum.is-active .forum__card { background: var(--espresso); color: #fff; --icon-accent: var(--copper); }
.forum.is-active .forum__card svg { color: var(--sand); }
.forum.is-active .forum__label { opacity: 1; transform: none; }
.forum:focus-visible .forum__card { outline: 2px solid var(--copper); outline-offset: 3px; }

/* audience chips */
.aud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-bottom: 72px; }
.aud__chip { --aud-acc: var(--copper); display: inline-flex; align-items: center; gap: 12px; padding: 20px 28px; border-radius: var(--radius); background: var(--sand); color: var(--espresso); font: 500 1rem/1.2 var(--font-display); transition: background-color .3s, color .3s, transform .3s cubic-bezier(.2, .7, .2, 1); }
.aud__chip svg { width: 24px; height: 24px; flex: none; }
.aud__chip:hover { transform: translateY(-2px); background: #ddd4c6; }
.aud__chip.is-active { --aud-acc: var(--copper-soft); background: var(--espresso); color: var(--page); }
.aud__chip:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
@media (max-width: 720px) {
  .aud { gap: 8px; padding-bottom: 48px; }
  .aud__chip { gap: 10px; padding: 14px 16px; font-size: .875rem; }
  .aud__chip svg { width: 20px; height: 20px; }
}
@media (max-width: 860px) {
  .forums { padding-top: 56px; }
  .forums__row { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 0 20px 48px; scrollbar-width: none; }
  .forums__row::-webkit-scrollbar { display: none; }
  .forum { scroll-snap-align: start; }
  .forum__card { height: 64px; padding: 0 20px; font-size: 1rem; white-space: nowrap; }
}

/* ---------- sections & shared blocks ---------- */
.section { padding: var(--section) 0; }
.section--white { background: var(--sand); }
.section--tight-top { padding-top: 40px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.split__media { border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--sand); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
/* the card sets the row height; the photo just fills it */
.split--fit .split__media { position: relative; }
.split--fit .split__media img { position: absolute; inset: 0; }
.split--fit .about { min-height: 520px; }
.dark-card { background: var(--sand); color: var(--espresso); border-radius: var(--radius); padding: 48px; }
@media (max-width: 991px) {
  :root { --section: 88px; }
  .split { grid-template-columns: 1fr; }
  .split__media { min-height: 0; aspect-ratio: 4 / 3; }
  .split--desks { gap: 8px; }
  .split--desks .split__media { aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .split--desks .desks { border-radius: var(--radius); }
}
@media (max-width: 560px) { :root { --section: 72px; } .dark-card { padding: 32px 24px; } }

/* about */
.about { min-height: 704px; display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.about .h2 { max-width: 16ch; }
.about__body { display: grid; gap: 20px; max-width: 540px; color: var(--taupe); }
.about__body .circle-link, .about__body .btn { justify-self: start; margin-top: 12px; }
@media (max-width: 991px) { .about { min-height: 0; } }

/* ---------- practice areas (expertise cards) ---------- */
.expertise { display: flex; align-items: flex-end; gap: 8px; max-width: 1160px; height: 400px; margin: 56px auto 0; }
.expertise__card { position: relative; flex: 1 1 0; height: 334px; border-radius: 12px; overflow: hidden; background: var(--espresso); outline: none; cursor: pointer; transition: flex-grow .6s var(--ease), height .6s var(--ease); }
.expertise__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .6s var(--ease); opacity: .82; }
.expertise__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(41, 45, 48, 0) 40%, rgba(41, 45, 48, .85) 100%); }
.expertise__card h3 { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; color: #fff; font: 500 1.5rem/1.15 var(--font-display); letter-spacing: -0.01em; max-width: 11ch; }
.expertise__chips { position: absolute; z-index: 1; top: 24px; left: 24px; right: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.expertise__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; background: var(--page); border-radius: var(--radius); font-size: .875rem; line-height: 1.3; opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.expertise__chips li::after { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; border: 1.25px solid var(--copper); background: radial-gradient(circle, var(--copper) 0 2.5px, transparent 3px); }
.expertise__card.is-active { flex-grow: 1.18; height: 400px; }
.expertise__card.is-active img { opacity: 1; transform: scale(1.03); }
.expertise__card.is-active .expertise__chips li { opacity: 1; transform: none; }
.expertise__card.is-active .expertise__chips li:nth-child(2) { transition-delay: .06s; }
.expertise__card.is-active .expertise__chips li:nth-child(3) { transition-delay: .12s; }
.expertise__card.is-active .expertise__chips li:nth-child(4) { transition-delay: .18s; }
.expertise__card:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.expertise__foot { display: grid; justify-items: center; gap: 24px; margin-top: 40px; text-align: center; }
.expertise__foot p { font-size: 1.0625rem; max-width: 22ch; }
.dotted-rule { width: 0; height: 48px; border-left: 1.5px dashed var(--taupe); opacity: .6; }
@media (max-width: 991px) {
  .expertise { display: grid; grid-template-columns: 1fr 1fr; height: auto; }
  .expertise__card, .expertise__card.is-active { height: 360px; }
  .expertise__card .expertise__chips li { opacity: 1; transform: none; }
  .expertise__card img { opacity: 1; }
}
@media (max-width: 560px) {
  .expertise { grid-template-columns: 1fr; }
  .expertise__card, .expertise__card.is-active { height: 300px; }
}

/* ---------- purpose + numbers ---------- */
.purpose { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: 48px; max-width: 1160px; margin-inline: auto; }
.purpose__text { display: grid; gap: 24px; justify-items: start; max-width: 420px; }
.purpose__text p { color: var(--taupe); }
.purpose__visual { position: relative; justify-self: center; width: min(100%, 540px); aspect-ratio: 1; }
.purpose__visual img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: cover; border-radius: 50%; }
.ring { position: absolute; border: 1px solid var(--copper); border-radius: 50%; opacity: .7; }
.ring--1 { inset: 0; }
.ring--2 { inset: -6% 10% 14% -14%; opacity: .45; }
.numbers { position: relative; max-width: 1000px; margin: -64px auto 0; padding-top: 24px; z-index: 1; }
.numbers__strip { position: absolute; left: 50%; translate: -50% 0; height: 32px; border-radius: var(--radius) var(--radius) 0 0; }
.numbers__strip--1 { top: 0; width: 92%; background: var(--copper-soft); }
.numbers__strip--2 { top: 12px; width: 96%; background: var(--copper); }
.numbers__card { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--sand); color: var(--espresso); border-radius: var(--radius); padding: 40px 24px; }
.numbers__card > div { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 0 16px; }
.numbers__card > div + div { border-left: 1px solid var(--stone); }
.numbers__card dd { font: 400 clamp(2.5rem, 1.8rem + 2.4vw, 4rem)/1 var(--font-display); letter-spacing: -0.03em; }
.numbers__card dt { color: var(--taupe); font-size: .9375rem; }
@media (max-width: 991px) {
  .purpose { grid-template-columns: 1fr; }
  .purpose__visual { width: min(100%, 420px); }
  .numbers { margin-top: -40px; }
}
@media (max-width: 640px) {
  .numbers__card { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .numbers__card > div:nth-child(3) { border-left: 0; }
}

/* ---------- resolution (how it works) ---------- */
.resolution { display: flex; flex-direction: column; align-items: center; }
.resolution .h2 { max-width: 14ch; }
.resolution__intro { color: var(--taupe); margin: 16px 0 48px; text-align: center; }
.steps { position: relative; width: 100%; max-width: 440px; }
.steps__item { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 20px; padding-bottom: 40px; }
.steps__item:last-child { padding-bottom: 0; }
.steps__num { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(165, 139, 96, .6); background: var(--sand); color: var(--bronze); font-size: .875rem; transition: background-color .5s var(--ease), color .5s var(--ease); }
.steps__item.is-active .steps__num { background: var(--copper); color: #fff; }
.steps__item h3 { font: 500 1.25rem/1.25 var(--font-display); margin: 8px 0 12px; }
.steps__item p { color: var(--taupe); }
.steps__rail { position: absolute; left: 19.5px; top: 20px; bottom: 60px; width: 1px; background: rgba(165, 139, 96, .3); }
.steps__fill { position: absolute; inset: 0; background: var(--copper); transform-origin: top; }
.steps--compact .steps__item h3 { margin: 8px 0 0; }
.steps--compact .steps__rail { bottom: 20px; }
.resolution > .btn { margin-top: 40px; }

/* ---------- people (testimonial slot) ---------- */
.people { overflow: hidden; }
.people__grid { display: grid; grid-template-columns: 1fr 564px; align-items: center; gap: 64px; max-width: 1200px; margin-inline: auto; }
.orbit { position: relative; width: min(100%, 540px); aspect-ratio: 1; justify-self: center; }
.orbit__ring { position: absolute; border: 1px solid var(--copper); border-radius: 50%; opacity: .55; }
.orbit__ring--1 { inset: 0; }
.orbit__ring--2 { inset: 17%; opacity: .45; }
.orbit__ring--3 { inset: -8% 20% 30% -12%; opacity: .3; }
.orbit__face { position: absolute; border-radius: 50%; overflow: hidden; border: 4px solid var(--page); box-shadow: 0 10px 30px -14px rgba(41, 45, 48, .45); transition: transform .5s var(--ease), border-color .4s var(--ease); }
.orbit__face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(.2) sepia(.15); }
.orbit__face--1 { width: 34%; aspect-ratio: 1; left: 33%; top: 30%; }
.orbit__face--2 { width: 22%; aspect-ratio: 1; left: 64%; top: 8%; }
.orbit__face--3 { width: 22%; aspect-ratio: 1; left: 10%; top: 66%; }
.orbit__face.is-active { border-color: var(--copper); transform: scale(1.06); }
.orbit__face:hover { transform: scale(1.04); }
.orbit__dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--copper); }
.orbit__dot--1 { left: 13%; top: 16%; }
.orbit__dot--2 { left: 84%; top: 72%; width: 8px; height: 8px; background: var(--espresso); }
.orbit__dot--3 { left: 47%; top: 95.5%; width: 9px; height: 9px; }
.person-card { position: relative; overflow: hidden; background: var(--sand); border-radius: var(--radius); padding: 48px; min-height: 432px; display: flex; flex-direction: column; }
.person-card__timer { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--copper); transform: scaleX(0); transform-origin: left; }
.person-card__timer.is-running { animation: person-timer 5s linear forwards; }
[data-people].is-paused .person-card__timer { animation-play-state: paused; }
@keyframes person-timer { to { transform: scaleX(1); } }
.person { display: flex; flex-direction: column; flex: 1; }
.person[hidden] { display: none; }
.person__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; margin-bottom: 32px; }
.person__quote { font: 400 1.375rem/1.4 var(--font-display); letter-spacing: -0.01em; margin-bottom: auto; padding-bottom: 32px; }
.person__name { font-weight: 500; }
.person__name a { text-decoration: none; }
.person__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.person__role { color: var(--bronze); font-size: .9375rem; max-width: 26ch; }
.person-card__nav { position: absolute; right: 48px; bottom: 48px; display: flex; gap: 8px; }
@media (max-width: 991px) {
  .people__grid { grid-template-columns: 1fr; gap: 32px; }
  .orbit { width: min(100%, 420px); }
}
@media (max-width: 560px) {
  .person-card { padding: 28px 24px 88px; min-height: 0; }
  .person-card__nav { right: 24px; bottom: 24px; }
  .person__quote { font-size: 1.1875rem; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 740px; margin: 48px auto 0; display: grid; gap: 12px; }
.faq summary { list-style: none; display: grid; grid-template-columns: 1fr 48px; align-items: center; gap: 4px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { min-height: 48px; display: flex; align-items: center; padding: 12px 24px; background: var(--sand); border-radius: 999px; font-weight: 500; transition: background-color .35s var(--ease), color .35s var(--ease); }
.faq summary i { position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--sand); transition: background-color .35s var(--ease), transform .45s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--espresso); translate: -50% -50%; transition: background-color .35s; }
.faq summary i::after { rotate: 90deg; }
.faq summary:hover span { background: var(--stone); }
.faq details[open] summary span { background: var(--espresso); color: #fff; }
.faq details[open] summary i { background: var(--copper); transform: rotate(45deg); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq__answer { overflow: hidden; }
.faq__answer p { margin: 8px 52px 4px 0; padding: 20px 24px; background: var(--sand); border-radius: 16px; color: var(--taupe); }
.faq__panel { margin: 8px 52px 4px 0; padding: 20px 24px; background: var(--sand); border-radius: 16px; color: var(--taupe); }
.faq__panel > p { margin: 0; padding: 0; background: none; border-radius: 0; }
.faq__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.faq__tags li { padding: 6px 14px; border-radius: 999px; background: var(--page); color: var(--espresso); font-size: .9375rem; }
.faq__checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.faq__checks li { position: relative; padding-left: 24px; color: var(--espresso); }
.faq__checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 11px; height: 6px; border-left: 1.5px solid var(--copper); border-bottom: 1.5px solid var(--copper); rotate: -45deg; }
.faq__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.faq__facts dd { font: 400 1.75rem/1 var(--font-display); letter-spacing: -0.02em; color: var(--espresso); }
.faq__facts dt { margin-top: 6px; font-size: .875rem; }
.faq__panel .faq__line { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--stone); font-weight: 500; color: var(--espresso); }
@media (max-width: 560px) {
  .faq summary span { border-radius: 24px; }
  .faq__answer p, .faq__panel { margin-right: 0; }
  .faq__checks, .faq__facts { grid-template-columns: 1fr 1fr; }
}

/* ---------- desks (blog slot) ---------- */
.desks-section { padding-top: 72px; padding-bottom: 72px; }
.split--desks { gap: 0; }
.split--desks .split__media { min-height: 0; border-radius: 0 var(--radius) var(--radius) 0; }
.split--desks .desks { border-radius: var(--radius) 0 0 var(--radius); }
.desks { padding: 32px 0 8px; }
.desks__head { padding: 0 40px 24px; display: grid; gap: 12px; justify-items: start; }
.desks__head p { color: var(--taupe); max-width: 420px; }
.desks__list { list-style: none; margin: 0; padding: 0; }
.desks__item { display: flex; align-items: center; gap: 14px; padding: 14px 40px; border-top: 1px solid var(--stone); }
.desks__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--page); color: var(--espresso); --icon-accent: var(--copper); flex: none; }
.desks__icon svg { width: 26px; height: 26px; }
.desks__copy { display: grid; gap: 2px; min-width: 0; }
.desks__name { font: 500 1.0625rem/1.3 var(--font-display); }
.desks__sub { color: var(--taupe); font-size: .875rem; line-height: 1.35; }
@media (max-width: 560px) {
  .desks__head { padding: 0 24px 20px; }
  .desks__item { padding: 12px 24px; }
}

/* ---------- footer ---------- */
.footer { background: var(--sand); color: var(--espresso); padding: 72px 0 28px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-bottom: 56px; }
.footer__brand { display: grid; justify-items: start; align-content: start; gap: 22px; max-width: 340px; }
.footer__masthead { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; padding-bottom: 48px; margin-bottom: 56px; border-bottom: 1px solid var(--stone); }
.footer__logo img { height: 64px; width: auto; }
.footer__title { font: 400 clamp(2rem, 1.4rem + 2vw, 3rem)/1.1 var(--font-display); letter-spacing: -0.02em; }
.footer__title a { display: inline-flex; align-items: center; gap: 20px; text-decoration: none; }
.footer__title-text { background-image: linear-gradient(var(--copper), var(--copper)); background-position: 0 100%; background-repeat: no-repeat; background-size: 0% 2px; padding-bottom: 6px; transition: background-size .5s var(--ease), color .35s var(--ease); }
.footer__title a:hover .footer__title-text { background-size: 100% 2px; color: var(--bronze); }
.footer__title a:hover .circle-link { transform: translateX(6px) scale(1.1); background: var(--espresso); color: #fff; }
.footer__title a:active .circle-link { transform: translateX(6px) scale(.96); }
.footer__title a .circle-link svg { transition: transform .4s var(--ease); }
.footer__title a:hover .circle-link svg { transform: translateX(1px) rotate(8deg); }
.footer__brand p { color: var(--taupe); line-height: 1.6; }
.footer__offices { display: grid; gap: 12px; font-style: normal; }
.footer__offices p { font-size: .9375rem; line-height: 1.5; }
.footer__offices span { display: block; margin-bottom: 2px; font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--stone); border-radius: 50%; color: var(--espresso); transition: background-color .25s, border-color .25s, color .25s; }
.footer__social a:hover { background: var(--espresso); border-color: var(--espresso); color: #fff; }
.footer__social svg { width: 16px; height: 16px; }
.footer__head { margin-bottom: 18px; font-size: .875rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.footer__col .footer__head a { color: inherit; }
.footer__col .footer__head a:hover { color: var(--bronze); }
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { color: var(--taupe); text-decoration: none; transition: color .25s; }
.footer__col a:hover { color: var(--espresso); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--stone); font-size: .875rem; color: var(--taupe); }
.footer__bottom a { text-decoration: none; margin-left: 24px; }
.footer__bottom a:hover { color: var(--espresso); }
@media (max-width: 1000px) {
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__bottom a { margin: 0 24px 0 0; }
}

/* ---------- disclaimer dialog ---------- */
.disclaimer { width: min(600px, calc(100% - 32px)); max-height: calc(100svh - 32px); border: 0; border-radius: var(--radius); padding: clamp(28px, 5vw, 48px); color: var(--espresso); background: var(--page); }
.disclaimer::backdrop { background: rgba(41, 45, 48, .72); }
.disclaimer img { height: 40px; width: auto; margin-bottom: 28px; }
.disclaimer h2 { font: 500 1.5rem/1.2 var(--font-display); margin-bottom: 14px; }
.disclaimer p { color: var(--taupe); margin-bottom: 14px; }
.disclaimer ul { list-style: disc; padding-left: 20px; display: grid; gap: 10px; color: var(--taupe); font-size: .9375rem; margin-bottom: 32px; }
.disclaimer__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- motion prep ---------- */
html.js.motion-ok [data-hero-fade] { opacity: 0; }
html.js.motion-ok [data-hero-title] { visibility: hidden; }
.lenis.lenis-stopped { overflow: clip; }

/* page veil: covers the first paint until site.js is ready, and fades back in when leaving for another page.
   The 3s veil-out animation is a failsafe in case site.js never runs. */
html.motion-ok::before { content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; background: var(--page); transition: opacity .6s var(--ease), visibility 0s .6s; animation: veil-out .6s ease 3s forwards; }
html.motion-ok::after { content: ""; position: fixed; top: 50%; left: 50%; z-index: 201; width: 120px; height: 1.5px; margin-left: -60px; pointer-events: none; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: opacity .3s, visibility 0s .3s; animation: veil-line 1.2s var(--ease) .1s forwards, veil-out .6s ease 3s forwards; }
html.motion-ok.is-ready::before, html.motion-ok.is-ready::after { opacity: 0; visibility: hidden; }
html.is-gated { overflow: hidden; }
html.is-gated body > :not(.disclaimer) { visibility: hidden; }
html.is-gated.motion-ok::before { animation: none; opacity: 1; visibility: visible; pointer-events: auto; }
html.is-gated.motion-ok::after { animation: none; opacity: 0; visibility: hidden; }
html.motion-ok.is-leaving::before { animation: none; opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
@keyframes veil-out { to { opacity: 0; visibility: hidden; } }
@keyframes veil-line { to { transform: scaleX(1); } }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 2px; background: var(--copper); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.dk-stat, .ab-feature, .numbers__card > div { transition: translate .4s var(--ease); }
.dk-stat:hover, .ab-feature:hover, .numbers__card > div:hover { translate: 0 -4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
