:root {
  --bg: #0b0f10;
  --bg-soft: #101718;
  --text: #e7e4df;
  --muted: #b7b1a8;
  --line: rgba(231, 228, 223, 0.14);
  --accent: #d5c2a3;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.menu-lock, body.menu-lock {
  overflow: hidden;
  overflow-x: hidden;
  touch-action: none;
}
body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.container { width: min(70rem, 92vw); margin: 0 auto; }

.site-header {
  --header-bg: rgba(11, 15, 16, 0.52);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  backdrop-filter: blur(0);
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
  transition: border-color .25s ease, background .25s ease, opacity .8s cubic-bezier(0.22, 1, 0.36, 1), transform .8s cubic-bezier(0.22, 1, 0.36, 1), backdrop-filter .8s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header.nav-hidden {
  opacity: 0;
  transform: translate3d(0, -6rem, 0);
  pointer-events: none;
}
.site-header.scrolled { --header-bg: rgba(11, 15, 16, 0.76); border-color: var(--line); background: var(--header-bg); }

.navbar { min-height: 4.625rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-controls { display: flex; align-items: center; gap: 0.625rem; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
  padding: .35rem .2rem;
  font-size: .75rem;
  letter-spacing: .06em;
  font-weight: 600;
  cursor: pointer;
}
.lang-toggle-icon {
  width: .95rem;
  height: .95rem;
  opacity: .82;
  display: block;
  flex-shrink: 0;
}
.kx-premium-lang-icon {
  overflow: visible;
}
.lang-toggle:hover { color: var(--text); border-color: var(--line); }
.brand { color: var(--text); text-decoration: none; font-weight: 600; letter-spacing: .18em; font-size: .78rem; }
.nav-links { list-style: none; display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); margin: 0; padding: 0; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .93rem; }
.nav-links a:hover { color: var(--text); }
.nav-portfolio { position: relative; }
.portfolio-toggle { appearance: none; background: transparent; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: .93rem; padding: 0; }
.portfolio-toggle:hover,
.nav-portfolio.is-open .portfolio-toggle { color: var(--text); }
.portfolio-toggle::after { content: ""; display: inline-block; width: .32rem; height: .32rem; margin-left: .42rem; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-.12rem) rotate(45deg); }
.portfolio-menu { position: absolute; top: calc(100% + 1.5rem); right: 0; min-width: 10.5rem; display: grid; gap: .3rem; padding: .65rem; background: rgba(11, 15, 16, .96); border: 1px solid var(--line); box-shadow: 0 1rem 2rem rgba(0,0,0,.24); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-.25rem); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
.portfolio-menu a { padding: .45rem .55rem; white-space: nowrap; }
.nav-portfolio.is-open .portfolio-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
.menu-toggle { display: none; }

.hero {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: 10rem 0 5.625rem;
  position: relative;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-next-image, var(--hero-image));
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
  z-index: 0;
}
.hero.is-transitioning::before {
  opacity: 1;
}
.hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(11, 15, 16, 0.85) 16%, rgba(11, 15, 16, 0.2) 62%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(41.25rem, 92vw);
  max-width: none;
  margin-left: clamp(1.5rem, 20vw, 17.5rem);
  margin-right: auto;
  animation: hero-premium-entrance 1.1s cubic-bezier(0.22, 1, 0.36, 1) .2s both;
}
.hero-content h1,
.hero-content p,
.hero-content .btn {
  text-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.75);
}

@keyframes hero-premium-entrance {
  from {
    opacity: 0;
    transform: translate3d(0, 2.125rem, 0) scale(0.985);
    filter: blur(0.1875rem);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

.eyebrow { text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-size: .75rem; opacity: .82; }
.hero-content .eyebrow {
  font-size: .75rem;
  opacity: 0.94;
  font-weight: 500;
  text-shadow: 0 0.16rem 0.5rem rgba(0, 0, 0, 0.42);
}
h1 { font-size: clamp(2.25rem, 6vw, 5rem); line-height: 1.02; margin: .4rem 0 1rem; }
.hero h1 { font-size: clamp(2.45rem, 4.4vw, 4.3rem); white-space: pre-line; }
h2 { font-size: clamp(1.7rem, 4.6vw, 3.1rem); line-height: 1.1; margin: .2rem 0 1rem; }
.lead, .hero p:not(.eyebrow) { color: var(--muted); max-width: 62ch; }
.hero p:not(.eyebrow) { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--text); opacity: .92; }

.btn {
  display: inline-flex; margin-top: 1.2rem;
  text-decoration: none; color: var(--text);
  border: 1px solid var(--line); padding: .8rem 1.2rem;
}
.btn:hover { border-color: var(--accent); }

.section { padding: clamp(4.5rem, 11vw, 8.125rem) 0; }
.section-dark { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 2rem; }
.home-identity {
  padding-top: clamp(4rem, 6vw, 5rem);
  padding-bottom: clamp(4rem, 6vw, 5rem);
}
.home-identity-content { max-width: none; }
.home-identity h2 { max-width: none; margin-bottom: 1.5rem; }
.home-identity .lead { max-width: none; margin: 0; }
.home-focus {
  padding-top: clamp(4rem, 6vw, 5rem);
  padding-bottom: clamp(4rem, 6vw, 5rem);
}
.home-focus .section-head {
  max-width: 72rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.home-focus .section-head h2 { margin-bottom: 1.25rem; }
.home-focus .section-head .lead { max-width: 96ch; margin: 0; }
.home-focus .card { min-height: 12.5rem; display: flex; flex-direction: column; justify-content: flex-end; }
.home-focus .card .eyebrow { margin: 0 auto auto 0; }
.home-focus .card h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); margin: 0 0 .75rem; }
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.principles-grid { margin-bottom: 1.5rem; }
.card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  padding: clamp(1.25rem, 2vw, 2rem);
  min-height: 13.75rem;
}
.card h3 { margin-top: 0; }
.card p { color: var(--muted); }
.card a,
.card { text-decoration: none; }
a:focus-visible,
button:focus-visible { outline: 2px solid var(--accent); outline-offset: .3rem; }

.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.timeline h3 { margin-bottom: .5rem; }
.timeline p { color: var(--muted); }


.site-footer { border-top: 1px solid var(--line); padding: 1.625rem 0 2.5rem; color: var(--muted); text-align: center; }
.site-footer p { margin: 0; letter-spacing: .08em; font-size: .82rem; font-weight: 400; }
.footer-grid { display: grid; gap: .45rem; }
.footer-grid p:last-child { letter-spacing: .03em; }

.wpp-button {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 90;
  opacity: 0;
  transform: translate3d(0, 0.75rem, 0);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wpp-button.is-visible {
  opacity: 0.72;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}
@media (min-width: 768px) {
  .wpp-button {
    bottom: 2rem;
    right: 2rem;
  }
}
.wpp-button.is-visible:hover { opacity: 1; }

.wpp-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: #25d366;
}
@media (min-width: 768px) {
  .wpp-icon {
    width: 3rem;
    height: 3rem;
  }
}


.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 56.25rem) {
  .cards-grid, .timeline { grid-template-columns: 1fr; }
  .home-focus .card { min-height: 11.5rem; }
  .hero { padding-top: 8.75rem; }
  .hero-content {
    width: 92vw;
    margin-left: 4vw;
    animation-duration: .95s;
  }
}

@media (max-width: 45rem) {
  .hero h1 { font-size: clamp(1.95rem, 8vw, 2.6rem); }
  .hero p:not(.eyebrow) { font-size: 1.04rem; }
}
@media (max-width: 56.25rem) and (orientation: landscape) {
  .menu-toggle { display: none; }
  .nav-links {
    position: static;
    display: flex;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    gap: clamp(0.875rem, 2vw, 1.5rem);
    padding: 0;
    border: 0;
    background: transparent;
  }
  .nav-links li {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media (max-width: 56.25rem) and (orientation: portrait) {
  .wpp-button { z-index: 40; }
  .nav-controls { margin-left: auto; gap: 0.75rem; }
  .lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.875rem;
    height: 2.625rem;
    background: transparent;
    border: 1px solid transparent;
    color: var(--muted);
    padding: 0;
    position: relative;
    z-index: 130;
  }
  .lang-toggle:focus-visible,
  .lang-toggle:active,
  .lang-toggle.is-active {
    color: var(--text);
    border-color: var(--line);
  }
  .lang-toggle-code {
    font-size: .72rem;
    letter-spacing: .08em;
    font-weight: 500;
  }
  .lang-toggle-icon {
    width: .85rem;
    height: .85rem;
    opacity: .9;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.4375rem;
    width: 2.875rem;
    height: 2.625rem;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text);
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 130;
  }
  .menu-toggle-line {
    display: block;
    width: 1.375rem;
    height: 0.1062rem;
    background: currentColor;
    transform-origin: center;
    transition: transform .3s ease, opacity .2s ease;
  }
  .menu-toggle.is-open .menu-toggle-line:first-child {
    transform: translateY(0.275rem) rotate(45deg);
  }
  .menu-toggle.is-open .menu-toggle-line:last-child {
    transform: translateY(-0.275rem) rotate(-45deg);
  }
  .nav-links {
    position: fixed;
    inset: 0 -1px 0 0;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    background:
      linear-gradient(
      180deg,
      rgba(2, 18, 26, 0.94),
      rgba(2, 18, 26, 0.96)
    );
    backdrop-filter: blur(0.75rem) saturate(105%);
    -webkit-backdrop-filter: blur(0.75rem) saturate(105%);
    padding: calc(4.625rem + 2rem) 7vw 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    visibility: visible;
    opacity: 1;
    pointer-events: none;
    height: 100svh;
    height: 100dvh;
    overflow: hidden;
    clip-path: inset(0 0 100% 0);
    will-change: clip-path;
    transition: clip-path .62s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 120;
  }
  .nav-links li {
    --item-index: 0;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(-0.625rem);
    transition: opacity .32s ease, transform .32s ease;
    transition-delay: calc((6 - var(--item-index)) * 0.05s);
  }
  .nav-links li:nth-child(1) { --item-index: 0; }
  .nav-links li:nth-child(2) { --item-index: 1; }
  .nav-links li:nth-child(3) { --item-index: 2; }
  .nav-links li:nth-child(4) { --item-index: 3; }
  .nav-links li:nth-child(5) { --item-index: 4; }
  .nav-links li:nth-child(6) { --item-index: 5; }
  .nav-links li:nth-child(7) { --item-index: 6; }
  .nav-links.open {
    pointer-events: auto;
    clip-path: inset(0 0 0 0);
  }
  .nav-links.open li {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(.1s + (var(--item-index) * 0.06s));
  }
  .nav-links a {
    font-size: 1.375rem;
    line-height: 1.2;
  }
  .nav-portfolio { width: 100%; }
  .portfolio-toggle { font-size: 1.375rem; line-height: 1.2; }
  .portfolio-menu { position: static; min-width: 0; margin-top: .75rem; padding: .1rem 0 0 1rem; border: 0; background: transparent; box-shadow: none; gap: .75rem; max-height: 0; overflow: hidden; }
  .nav-portfolio.is-open .portfolio-menu { max-height: 10rem; }
  .portfolio-menu a { font-size: 1.15rem; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content {
    animation: none;
  }
  .site-header {
    transition: border-color .25s ease, background .25s ease;
  }
  .nav-links,
  .nav-links li {
    transition: none;
  }
}

/* Journal */
.journal-body {
  background:
    radial-gradient(circle at 82% 4%, rgba(213, 194, 163, 0.1), transparent 25rem),
    linear-gradient(180deg, #0b0f10 0%, #101718 58%, #0b0f10 100%);
}
.journal-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.journal-hero-cover {
  background-image: url("images/journal.webp");
  background-size: cover;
  background-position: center;
}
.journal-hero-copy {
  position: relative;
  z-index: 1;
  padding-top: 10rem;
  padding-bottom: clamp(4.5rem, 9vw, 7rem);
}
.journal-hero h1 {
  margin-bottom: 1.1rem;
}
.journal-hero h1,
.article-header h1,
.page-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.45rem, 4.4vw, 4.3rem);
}
.journal-hero .lead,
.page-hero .lead { max-width: 40rem; }
.journal-hero-copy .eyebrow,
.journal-hero-copy h1,
.journal-hero-copy .lead {
  text-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.72);
}
.journal-index { padding: clamp(3rem, 7vw, 5rem) 0 clamp(5rem, 10vw, 8rem); }
.journal-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.journal-card {
  display: block;
  min-height: 19rem;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(231, 228, 223, .045), rgba(231, 228, 223, .02));
  overflow: hidden;
}
.journal-card-content {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 100%;
  padding: clamp(1.35rem, 2.6vw, 2rem);
}
.journal-meta { color: var(--accent); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.journal-card-title { display: block; font-size: clamp(1.75rem, 2.7vw, 2.35rem); line-height: 1; max-width: 12ch; letter-spacing: -.04em; }
.journal-card-copy { color: var(--muted); max-width: 23rem; font-size: 1rem; line-height: 1.55; }
.journal-card-link { align-self: end; color: var(--text); width: fit-content; margin-top: 1.2rem; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.journal-card-link::after { content: ""; display: block; width: 100%; height: 1px; margin-top: .35rem; background: var(--accent); transform-origin: left; transition: transform .3s ease; }
.journal-card:hover .journal-card-link { color: var(--accent); }
.journal-card:hover .journal-card-link::after { transform: scaleX(1.16); }
.article-shell { padding: 0 0 clamp(5rem, 9vw, 8rem); }
.article-back { color: var(--muted); text-decoration: none; font-size: .9rem; }
.article-back:hover { color: var(--text); }
.article-header {
  position: relative;
  min-height: 82vh;
  min-height: 82svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.article-hero-cover {
  background-image: var(--article-hero-image);
  background-size: cover;
  background-position: center;
}
.article-hero-copy {
  padding-top: 9rem;
  padding-bottom: clamp(4rem, 8vw, 6rem);
}
.article-header h1 { margin-bottom: 1.1rem; }
.article-deck { color: var(--text); opacity: .9; font-size: clamp(1.08rem, 1.6vw, 1.3rem); max-width: 40rem; text-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.72); }
.article-hero-copy .article-back,
.article-hero-copy .eyebrow,
.article-hero-copy h1 {
  text-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.72);
}
.article-layout { display: grid; grid-template-columns: 14rem minmax(0, 42rem); gap: clamp(2rem, 7vw, 7rem); padding-top: clamp(3rem, 7vw, 5rem); align-items: start; }
.article-aside { position: sticky; top: 6rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; font-size: .88rem; }
.article-aside p:first-child { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.article-content p { font-size: clamp(1.08rem, 1.5vw, 1.24rem); line-height: 1.82; color: rgba(231, 228, 223, .88); margin: 0 0 1.45rem; }
.article-content p:nth-child(5), .article-content p:nth-child(8) { color: var(--text); font-size: clamp(1.35rem, 2.1vw, 1.85rem); line-height: 1.35; margin: 2.2rem 0; }
.article-callout { margin-top: 3rem; padding: 1.5rem; border: 1px solid var(--line); background: rgba(213, 194, 163, .06); }
.article-callout-title { color: var(--accent) !important; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem !important; margin-bottom: .75rem !important; }
.article-callout a { color: var(--text); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; font-weight: 700; }
@media (max-width: 56.25rem) {
  .journal-card-grid, .article-layout { grid-template-columns: 1fr; }
  .journal-card { min-height: 0; }
  .journal-card-title, .article-header h1 { max-width: 12ch; }
  .article-aside { position: static; }
}

/* Institutional pages */
.page-hero {
  padding: clamp(8.75rem, 14vw, 11rem) 0 2rem;
  max-width: 76rem;
}
.page-hero h1 { margin-bottom: 1.1rem; }
.firm-hero {
  min-height: min(35rem, 74vh);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(15rem, .65fr);
  align-items: end;
  gap: clamp(2.5rem, 9vw, 9rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}
.firm-hero h1 { max-width: 11ch; }
.firm-status {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.65;
}
.firm-status .eyebrow { margin: 0 0 .85rem; }
.firm-status p:last-child { margin: 0; }
.page-section { padding: clamp(2.5rem, 6vw, 5.5rem) 0; }
.page-section.section-dark { padding-left: 0; padding-right: 0; }
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 0 clamp(5rem, 10vw, 8rem);
}
.about-grid .card h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  margin-bottom: 1rem;
}
.home-links .card {
  color: var(--text);
  min-height: 12.5rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.home-links .card:hover { border-color: var(--accent); background: rgba(213, 194, 163, .06); transform: translateY(-.18rem); }
.home-links .card h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin: .5rem 0; }
.home-links .eyebrow { margin: 0; }
.firm-principles .card { min-height: 0; padding: clamp(1.35rem, 2vw, 1.85rem); }
.firm-principles .eyebrow { margin: 0 0 .75rem; }
.firm-principles h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: .75rem; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 7vw, 7rem); max-width: 64rem; }
.detail-grid article { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.detail-grid h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
.detail-grid p:not(.eyebrow) { color: var(--muted); max-width: 34rem; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1.2rem; list-style: none; padding: 0; margin: 0; }
.process-grid li { border-top: 1px solid var(--line); padding-top: 1rem; }
.process-grid span,
.capabilities-grid > article > span { color: var(--accent); font-size: .78rem; letter-spacing: .12em; }
.process-grid h3 { margin: .7rem 0 .45rem; font-size: 1.1rem; }
.process-grid p { color: var(--muted); margin: 0; }
.capabilities-grid,
.ecosystem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.capabilities-grid .card,
.ecosystem-grid .card { min-height: 17rem; }
.capabilities-grid h2,
.ecosystem-grid h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.ecosystem-grid .text-link { margin-top: 1.25rem; }
.text-link { display: inline-block; margin-top: 1.5rem; color: var(--text); text-decoration: none; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.text-link::after { content: ""; display: block; width: 100%; height: 1px; margin-top: .35rem; background: var(--accent); transform-origin: left; transition: transform .2s ease; }
.text-link:hover::after { transform: scaleX(1.14); }
.contact-panel { max-width: 46rem; border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 3rem); }
.contact-panel > a:first-of-type { color: var(--text); font-size: clamp(1.7rem, 4vw, 3rem); letter-spacing: -.04em; text-decoration: none; overflow-wrap: anywhere; }
.contact-panel p:not(.eyebrow) { color: var(--muted); margin: 1.5rem 0 0; }
@media (max-width: 56.25rem) {
  .firm-hero { min-height: auto; grid-template-columns: 1fr; gap: 2.5rem; }
  .about-grid,
  .detail-grid,
  .process-grid,
  .capabilities-grid,
  .ecosystem-grid { grid-template-columns: 1fr; }
  .process-grid { gap: 1.5rem; }
}
