@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");

:root {
  color-scheme: dark;
  --ink: #07151c;
  --ink-raised: #0b2029;
  --ink-soft: #102d36;
  --paper: #e7efec;
  --muted: #a8bfbd;
  --sky: #7dd3fc;
  --copper: #d49b70;
  --page-gutter: clamp(1.35rem, 6.7vw, 7.5rem);
  --font-display: "Manrope", "Helvetica Neue", sans-serif;
  --font-copy: "DM Sans", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-copy);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--sky);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 6px;
}

.skip-link {
  position: absolute;
  z-index: 5;
  top: 1rem;
  left: 1rem;
  padding: 0.65rem 1rem;
  transform: translateY(-180%);
  background: var(--paper);
  color: var(--ink);
}

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

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid rgb(169 202 201 / 16%);
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: -0.09em;
}

.wordmark span {
  padding-inline: 0.07em;
  color: var(--copper);
  font-size: 0.58em;
  font-weight: 550;
  letter-spacing: -0.03em;
  vertical-align: 0.32em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 3rem);
  color: var(--muted);
  font-size: 0.84rem;
}

.site-nav a,
.site-footer a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--sky);
}

.site-nav .nav-contact {
  color: var(--paper);
}

.nav-contact span {
  padding-left: 0.3rem;
  color: var(--copper);
}

.opening {
  position: relative;
  display: grid;
  min-height: min(780px, calc(100svh - 96px));
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  column-gap: clamp(2rem, 4vw, 5rem);
  padding: 4rem var(--page-gutter) 5.6rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 49%, rgb(27 73 82 / 28%), transparent 54%),
    var(--ink);
}

.opening-copy {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  padding-block: 2rem;
}

.location-mark,
.section-marker {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  margin: 0 0 2.3rem;
  color: var(--sky);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mark-dot {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 5px rgb(212 155 112 / 12%);
}

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

h1,
h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-weight: 550;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

h1 {
  max-width: 10ch;
  font-size: clamp(4.4rem, 7.4vw, 7rem);
}

h1 em,
h2 em {
  color: var(--copper);
  font-style: normal;
}

.opening-description {
  max-width: 34ch;
  margin: 2rem 0 1.7rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 46px;
  color: var(--paper);
  font-size: 0.91rem;
  font-weight: 550;
}

.text-link span {
  color: var(--sky);
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.chart {
  position: relative;
  width: min(100%, 740px);
  justify-self: end;
  margin: 0;
  animation: chart-arrive 950ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.chart-art {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0.2rem 0;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.opening-coordinate {
  position: absolute;
  right: var(--page-gutter);
  bottom: 1.2rem;
  display: flex;
  gap: 1.15rem;
  color: #89a5a7;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
}

.section-field {
  padding-inline: var(--page-gutter);
}

.practice {
  display: grid;
  grid-template-columns: minmax(15rem, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(3rem, 10vw, 12rem);
  padding-block: clamp(6rem, 12vw, 11rem);
  border-top: 1px solid rgb(169 202 201 / 16%);
  background: var(--ink-raised);
}

.practice .section-marker,
.work .section-marker,
.contact .section-marker {
  margin-bottom: 2.15rem;
}

.section-marker span {
  color: var(--copper);
  font-size: 1rem;
}

.section-heading h2,
.work-heading h2,
.contact h2 {
  font-size: clamp(3.4rem, 6.1vw, 6.7rem);
}

.practice-body {
  align-self: end;
}

.practice-intro {
  max-width: 48ch;
  margin-bottom: 2.3rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
  line-height: 1.75;
}

.practice-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgb(169 202 201 / 25%);
  list-style: none;
}

.practice-list li {
  display: grid;
  min-height: 59px;
  grid-template-columns: 3.2rem 1fr 2rem;
  align-items: center;
  border-bottom: 1px solid rgb(169 202 201 / 18%);
  font-size: clamp(0.96rem, 1.3vw, 1.12rem);
}

.practice-list li > span:first-child {
  color: var(--sky);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.service-mark {
  justify-self: end;
  color: var(--copper);
  font-size: 1.1rem;
}

.work {
  padding-block: clamp(6rem, 11vw, 10rem);
  background:
    radial-gradient(ellipse at 92% 26%, rgb(22 57 66 / 36%), transparent 46%),
    var(--ink);
}

.work-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 4rem;
}

.work-note {
  max-width: 33ch;
  margin: 0 1rem 0.35rem 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.work-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgb(169 202 201 / 26%);
  list-style: none;
}

.work-list li {
  display: grid;
  min-height: 112px;
  grid-template-columns: 4rem minmax(0, 1fr) minmax(9rem, 0.4fr) auto;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgb(169 202 201 / 20%);
}

.work-number,
.work-type {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.work-number {
  color: var(--sky);
}

.work-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.7vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.055em;
}

.work-list a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 0.45rem;
  color: var(--paper);
  font-size: 0.84rem;
  white-space: nowrap;
}

.work-list a:hover {
  color: var(--sky);
}

.work-disclaimer {
  margin: 1.2rem 0 0;
  color: #98b1b1;
  font-size: 0.78rem;
}

.contact {
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
}

.contact-content {
  position: relative;
  z-index: 1;
  padding: clamp(6rem, 12vw, 11rem) var(--page-gutter) 6.5rem;
}

.contact h2 {
  max-width: 12ch;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.3rem;
  padding-bottom: 0.38rem;
  border-bottom: 1px solid rgb(125 211 252 / 52%);
  color: var(--paper);
  font-size: clamp(1rem, 1.5vw, 1.24rem);
}

.contact-link span {
  color: var(--sky);
}

.contact-link:hover {
  border-color: var(--copper);
  color: var(--sky);
}

.contact-contours {
  position: absolute;
  right: -4%;
  bottom: 7%;
  width: min(74%, 1040px);
  height: auto;
  opacity: 0.28;
}

.contact-contours path {
  fill: none;
  stroke: var(--sky);
  stroke-width: 1.3;
  vector-effect: non-scaling-stroke;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem var(--page-gutter);
  border-top: 1px solid rgb(169 202 201 / 20%);
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-mark {
  color: var(--paper);
  font-size: 1rem;
}

@keyframes chart-arrive {
  from {
    clip-path: inset(0 0 100% 0);
  }

  to {
    clip-path: inset(0);
  }
}

@media (min-width: 1500px) {
  .opening,
  .practice,
  .work,
  .contact-content,
  .site-footer {
    padding-right: max(var(--page-gutter), calc((100vw - 1320px) / 2));
    padding-left: max(var(--page-gutter), calc((100vw - 1320px) / 2));
  }
}

@media (max-width: 920px) {
  .opening {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
    padding-top: 5rem;
  }

  h1 {
    font-size: clamp(4.1rem, 9.2vw, 6.9rem);
  }

  .practice {
    gap: 3rem;
  }
}

@media (max-width: 1200px) {
  .opening {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding-top: 4rem;
  }

  .chart {
    width: min(100%, 680px);
    justify-self: center;
  }
}

@media (max-width: 680px) {
  :root {
    --page-gutter: 1.3rem;
  }

  .site-header {
    min-height: 76px;
  }

  .site-nav {
    gap: 1.15rem;
    font-size: 0.74rem;
  }

  .site-nav a:first-child {
    display: none;
  }

  .opening {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
    padding-top: 4rem;
    padding-bottom: 4.6rem;
  }

  .opening-copy {
    padding-block: 0;
  }

  .location-mark {
    margin-bottom: 1.8rem;
    font-size: 0.65rem;
  }

  h1 {
    font-size: clamp(3.3rem, 15vw, 6.2rem);
  }

  .opening-description {
    max-width: 31ch;
    margin-top: 1.4rem;
    font-size: 1rem;
  }

  .chart {
    width: 100%;
    justify-self: center;
  }

  .chart figcaption {
    padding-top: 0.35rem;
    font-size: 0.58rem;
  }

  .opening-coordinate {
    right: var(--page-gutter);
    bottom: 1.1rem;
    font-size: 0.53rem;
  }

  .practice {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.8rem;
    padding-block: 5.3rem;
  }

  .section-heading h2,
  .work-heading h2,
  .contact h2 {
    font-size: clamp(3.5rem, 13vw, 5.5rem);
  }

  .practice .section-marker,
  .work .section-marker,
  .contact .section-marker {
    margin-bottom: 1.65rem;
  }

  .practice-intro {
    margin-bottom: 1.7rem;
    font-size: 1.04rem;
  }

  .practice-list li {
    min-height: 55px;
    grid-template-columns: 2.7rem 1fr 1.6rem;
    font-size: 0.94rem;
  }

  .work {
    padding-block: 5.5rem;
  }

  .work-heading {
    display: block;
    padding-bottom: 2rem;
  }

  .work-note {
    max-width: 38ch;
    margin: 1.25rem 0 0;
    font-size: 0.88rem;
  }

  .work-list li {
    min-height: 94px;
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    column-gap: 0.6rem;
    row-gap: 0;
    padding-block: 0.8rem;
  }

  .work-number {
    grid-row: 1 / span 2;
    align-self: center;
  }

  .work-name {
    align-self: end;
    font-size: clamp(1.1rem, 5.4vw, 1.6rem);
  }

  .work-type {
    grid-column: 2;
    align-self: start;
    padding-top: 0.2rem;
    font-size: 0.65rem;
  }

  .work-list a {
    grid-column: 3;
    grid-row: 1 / span 2;
    font-size: 0.75rem;
  }

  .work-disclaimer {
    max-width: 46ch;
    font-size: 0.72rem;
    line-height: 1.6;
  }

  .contact-content {
    padding-block: 5.5rem 5rem;
  }

  .contact-link {
    gap: 0.65rem;
    margin-top: 1.8rem;
    font-size: 0.98rem;
  }

  .contact-contours {
    right: -34%;
    bottom: 8%;
    width: 120%;
  }

  .site-footer {
    min-height: 72px;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
    font-size: 0.68rem;
  }
}

@media (max-width: 390px) {
  .site-header {
    gap: 0.75rem;
  }

  .wordmark {
    font-size: 1.08rem;
  }

  .site-nav {
    gap: 0.75rem;
    font-size: 0.68rem;
  }

  .site-nav a[href="#work"] {
    display: none;
  }

  .site-nav .nav-contact {
    max-width: 8.7rem;
    text-align: right;
  }

  .work-list li {
    grid-template-columns: 1.65rem minmax(0, 1fr) auto;
    column-gap: 0.45rem;
  }

  .work-name {
    font-size: 1.08rem;
  }

  .work-list a {
    font-size: 0.69rem;
  }
}

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