:root {
  --navy-950: #102a43;
  --navy-900: #173754;
  --navy-800: #234563;
  --blue-700: #0c4d7f;
  --blue-500: #2f87b8;
  --blue-200: #a8cde0;
  --slate-950: #17232d;
  --slate-800: #2f3a44;
  --slate-700: #46545f;
  --slate-600: #60707e;
  --slate-500: #758594;
  --mist: #f3f6f9;
  --mist-blue: #e9f0f5;
  --rule: #d7e0e7;
  --paper: #ffffff;
  --content: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(4.75rem, 10vw, 8.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--slate-800);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
ol {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--slate-950);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 1.7rem;
  font-size: clamp(3rem, 6.5vw, 5.85rem);
  font-weight: 500;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.35rem, 4.6vw, 4.2rem);
}

h3 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  letter-spacing: -0.025em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - (2 * var(--gutter)), var(--content));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  color: var(--paper);
  background: var(--navy-950);
  border-radius: 0.2rem;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid rgb(215 224 231 / 75%);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 5rem;
}

.brand {
  display: block;
  width: min(100%, 14rem);
}

.brand img {
  width: 100%;
  height: auto;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #eaf1f6;
  background:
    radial-gradient(circle at 86% 22%, rgb(74 143 179 / 28%), transparent 30%),
    linear-gradient(115deg, var(--navy-950), var(--navy-800));
}

.hero::after {
  position: absolute;
  right: -12%;
  bottom: -42%;
  z-index: -1;
  width: min(47vw, 47rem);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgb(168 205 224 / 24%);
  transform: rotate(45deg);
}

.hero-grid {
  min-height: min(49rem, calc(100svh - 5rem));
  padding-block: clamp(5.5rem, 11vw, 9rem);
}

.hero-copy {
  max-width: 54rem;
}

.hero h1 {
  max-width: 13ch;
  color: var(--paper);
}

.eyebrow {
  margin-bottom: 1.15rem;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--blue-200);
}

.hero-summary {
  max-width: 43rem;
  margin-bottom: 1.25rem;
  color: #d4e0e8;
  font-size: clamp(1.15rem, 1.7vw, 1.38rem);
  line-height: 1.6;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  color: var(--navy-950);
  background: var(--paper);
  border-color: var(--paper);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--mist-blue);
  border-color: var(--mist-blue);
}

.button-outline {
  color: var(--navy-900);
  background: transparent;
  border-color: #9bafbe;
}

.button-outline:hover,
.button-outline:focus-visible {
  color: var(--paper);
  background: var(--navy-800);
  border-color: var(--navy-800);
}

.text-link {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  color: var(--blue-700);
  text-decoration-line: underline;
  text-decoration-color: rgb(12 77 127 / 35%);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
  font-weight: 600;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration-color: currentColor;
}

.text-link-light {
  color: var(--paper);
  text-decoration-color: rgb(255 255 255 / 45%);
}

.section {
  padding-block: var(--section-space);
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.editorial-grid h2 {
  max-width: 9ch;
}

.prose-large {
  max-width: 46rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.prose-large p:first-child {
  color: var(--slate-950);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  line-height: 1.55;
}

.prose-large p + p {
  margin-top: 1.6rem;
}

.section-work {
  background: var(--mist);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.7fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-heading h2 {
  max-width: 12ch;
  margin-bottom: 0;
}

.section-heading > p {
  color: var(--slate-600);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2.5rem, 7vw, 6.5rem);
}

.work-item {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  column-gap: 1rem;
  padding-block: 2rem 2.5rem;
  border-top: 1px solid #bdc9d2;
}

.work-number {
  padding-top: 0.35rem;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.work-item h3,
.work-item p {
  grid-column: 2;
}

.work-item p {
  max-width: 33rem;
  margin-bottom: 0;
  color: var(--slate-600);
}

.section-founder {
  overflow: hidden;
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(19rem, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(3rem, 9vw, 8.5rem);
  align-items: center;
}

.portrait-wrap {
  position: relative;
  margin: 0;
}

.portrait-wrap::before {
  position: absolute;
  top: -1rem;
  left: -1rem;
  z-index: -1;
  width: 46%;
  height: 46%;
  content: "";
  background: var(--mist-blue);
  border-top: 2px solid var(--blue-500);
  border-left: 2px solid var(--blue-500);
}

.portrait-wrap img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--mist);
}

.founder-copy {
  max-width: 40rem;
}

.founder-role {
  margin-top: -0.5rem;
  margin-bottom: 2rem;
  color: var(--blue-700);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.founder-copy p:not(.eyebrow, .founder-role) {
  color: var(--slate-700);
}

.founder-copy .text-link {
  margin-top: 1rem;
}

.section-practice {
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.practice-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--mist-blue);
  border-top: 3px solid var(--navy-800);
}

.practice-copy {
  max-width: 43rem;
}

.practice-logo-heading {
  margin-bottom: 1.25rem;
}

.practice-logo-heading img {
  width: min(100%, 18rem);
}

.practice-copy p:last-child {
  color: var(--slate-600);
}

.section-contact {
  position: relative;
  overflow: hidden;
  color: #d8e4eb;
  background: var(--navy-900);
}

.section-contact::after {
  position: absolute;
  top: -14rem;
  right: -9rem;
  width: 28rem;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgb(168 205 224 / 22%);
  transform: rotate(45deg);
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 62rem;
  margin-left: max(var(--gutter), calc((100vw - var(--content)) / 2));
  margin-right: var(--gutter);
}

.contact-inner h2 {
  max-width: 16ch;
  color: var(--paper);
}

.contact-inner > p:not(.eyebrow) {
  max-width: 46rem;
  margin-bottom: 2.2rem;
  font-size: 1.18rem;
}

.site-footer {
  padding-block: 2.5rem;
  background: var(--paper);
}

.footer-inner {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-inner > img {
  width: 10rem;
  height: auto;
}

.footer-meta {
  display: flex;
  gap: 0.3rem;
  align-items: flex-end;
  flex-direction: column;
}

.footer-meta p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.82rem;
}

.trademark-symbol {
  margin-left: 0.06em;
  font-size: 0.48em;
  line-height: 0;
  vertical-align: super;
}

:focus-visible {
  outline: 3px solid #74b7dc;
  outline-offset: 4px;
}

@media (max-width: 960px) {
  .practice-panel {
    grid-template-columns: 1fr;
  }

  .practice-panel .button {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  :root {
    --section-space: 4.75rem;
  }

  html {
    scroll-padding-top: 5rem;
  }

  body {
    font-size: 1rem;
  }

  .header-inner {
    min-height: 4.5rem;
  }

  .editorial-grid,
  .section-heading,
  .founder-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-block: 5rem;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .editorial-grid,
  .section-heading,
  .founder-grid {
    gap: 2.5rem;
  }

  .editorial-grid h2,
  .section-heading h2 {
    max-width: 13ch;
  }

  .prose-large {
    padding-top: 1.5rem;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .founder-grid {
    max-width: 40rem;
  }

  .portrait-wrap {
    width: min(100%, 31rem);
  }

  .practice-copy .eyebrow {
    margin-bottom: 0.6rem;
  }

  .practice-logo-heading {
    margin-bottom: 1.2rem;
  }

  .practice-copy p:last-child {
    grid-column: 1 / -1;
  }

  .footer-inner,
  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    gap: 1.25rem;
  }

  .footer-meta {
    gap: 0.3rem;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .header-inner {
    min-height: 4.25rem;
  }

  .brand {
    width: 10.5rem;
  }

  .hero-actions,
  .contact-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .work-item {
    grid-template-columns: 2.25rem 1fr;
  }

  .practice-panel {
    grid-template-columns: 1fr;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
