@font-face {
  font-family: "Geist";
  src: url("/assets/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0b0c0b;
  --paper: #f4f2ec;
  --white: #ffffff;
  --green: #4dff8e;
  --evergreen: #064b32;
  --line: rgba(11, 12, 11, 0.22);
  --muted: #5d5f5b;
  --gutter: clamp(20px, 3.25vw, 52px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

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

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 242, 236, 0.94);
  backdrop-filter: blur(18px);
}

.wordmark {
  display: inline-flex;
  width: max-content;
  align-items: baseline;
  gap: 0.28em;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
}

.desktop-nav a,
.header-cta,
.text-link,
.contact-action,
.footer-meta a {
  transition: opacity 180ms ease;
}

.desktop-nav a:hover,
.header-cta:hover,
.text-link:hover,
.contact-action:hover,
.footer-meta a:hover {
  opacity: 0.55;
}

.header-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 500;
}

.hero {
  min-height: calc(100svh - 84px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px var(--gutter) 42px;
}

.hero-meta,
.section-kicker,
.contact-topline,
.hero-art-caption {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-meta p,
.section-kicker p,
.contact-topline p,
.hero-art-caption span {
  margin: 0;
}

.hero-title {
  max-width: 1320px;
  margin: auto 0;
  font-size: clamp(64px, 9.25vw, 152px);
  font-weight: 450;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.9fr) auto;
  align-items: end;
  gap: 40px;
}

.hero-intro {
  grid-column: 2;
  max-width: 620px;
  margin: 0;
  font-size: clamp(18px, 1.55vw, 25px);
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.text-link {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  min-width: 200px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
}

.hero-art {
  position: relative;
  height: min(78vw, 980px);
  min-height: 600px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 18%, rgba(77, 255, 142, 0.28), transparent 27%),
    radial-gradient(circle at 22% 82%, rgba(6, 75, 50, 0.5), transparent 35%),
    #060807;
  color: white;
}

.hero-art-image {
  position: absolute;
  inset: 0;
  background-image: url("/assets/one-evergreen-hero.png");
  background-position: center;
  background-size: cover;
  opacity: 0.94;
  transform: scale(1.02);
  animation: breathe 14s ease-in-out infinite alternate;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(2, 7, 4, 0.58));
  pointer-events: none;
}

.hero-art-orbit {
  position: absolute;
  z-index: 2;
  width: 70vw;
  height: 70vw;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 50%;
  mix-blend-mode: screen;
}

.orbit-one {
  top: 12%;
  left: -24%;
  animation: orbit 28s linear infinite;
}

.orbit-two {
  right: -30%;
  bottom: -38%;
  border-color: rgba(77, 255, 142, 0.25);
  animation: orbit 34s linear infinite reverse;
}

.hero-art-caption {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 28px;
  left: var(--gutter);
}

.section {
  padding: 42px var(--gutter) 132px;
}

.section-kicker {
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.section-heading-grid,
.firm-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: clamp(50px, 9vw, 150px);
  padding: 108px 0 128px;
}

.section-heading-grid h2,
.firm-grid h2 {
  max-width: 970px;
  margin: 0;
  font-size: clamp(56px, 7.4vw, 118px);
  font-weight: 450;
  line-height: 0.91;
  letter-spacing: -0.07em;
}

.section-heading-grid > p {
  align-self: end;
  max-width: 500px;
  margin: 0;
  font-size: 18px;
  line-height: 1.43;
  letter-spacing: -0.018em;
}

.practice-list {
  border-top: 1px solid var(--ink);
}

.practice-row {
  display: grid;
  grid-template-columns: 8% 27% 1fr auto;
  gap: 30px;
  align-items: start;
  padding: 31px 0 35px;
  border-bottom: 1px solid var(--line);
}

.practice-row p,
.practice-row h3 {
  margin: 0;
}

.row-number,
.practice-detail {
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.practice-row h3 {
  font-size: clamp(30px, 3.1vw, 52px);
  font-weight: 450;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.practice-copy {
  max-width: 680px;
}

.practice-copy > p:first-child {
  font-size: 17px;
  line-height: 1.45;
}

.practice-detail {
  margin-top: 34px !important;
  color: var(--muted);
}

.diagonal-arrow {
  display: inline-block;
  flex: 0 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
}

.row-arrow {
  font-size: 22px;
}

.section-dark {
  padding: 42px var(--gutter) 90px;
  background: var(--ink);
  color: var(--paper);
}

.section-kicker-dark {
  border-top-color: rgba(244, 242, 236, 0.28);
}

.approach-title {
  margin: 128px 0 170px;
  font-size: clamp(57px, 8.55vw, 138px);
  font-weight: 430;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(244, 242, 236, 0.4);
}

.principles article {
  min-height: 360px;
  padding: 24px 38px 20px 0;
  border-right: 1px solid rgba(244, 242, 236, 0.22);
}

.principles article + article {
  padding-left: 38px;
}

.principles article:last-child {
  border-right: 0;
}

.principle-number {
  margin: 0 0 92px;
  color: #a9aaa5;
  font-size: 11px;
}

.principles h3 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 450;
  letter-spacing: -0.03em;
}

.principles article > p:last-child {
  max-width: 380px;
  margin: 0;
  color: #bfc0bb;
  font-size: 16px;
  line-height: 1.52;
}

.firm {
  padding-bottom: 160px;
}

.firm-grid {
  grid-template-columns: 1.2fr 0.8fr;
  padding-bottom: 0;
}

.firm-copy {
  padding-top: 6px;
}

.firm-copy > p {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.54;
}

.firm-copy .firm-lead {
  margin-bottom: 42px;
  font-size: clamp(23px, 2.1vw, 34px);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.firm-details {
  margin-top: 72px;
  border-top: 1px solid var(--ink);
}

.firm-details p {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 20px;
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.35;
}

.firm-details span {
  color: var(--muted);
}

.contact {
  min-height: 93svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px var(--gutter) 48px;
  background: var(--green);
}

.contact h2 {
  margin: auto 0;
  font-size: clamp(62px, 10vw, 164px);
  font-weight: 450;
  line-height: 0.86;
  letter-spacing: -0.08em;
}

.contact-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: end;
}

.contact-bottom > p {
  max-width: 470px;
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.contact-action {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 18px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 18px;
}

footer {
  padding: 56px var(--gutter) 30px;
  background: var(--ink);
  color: var(--paper);
}

.footer-brand {
  display: flex;
  margin-bottom: 112px;
  font-size: clamp(56px, 9.5vw, 155px);
  font-weight: 450;
  line-height: 0.85;
  letter-spacing: -0.075em;
}

.footer-meta {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  padding: 18px 0;
  border-top: 1px solid rgba(244, 242, 236, 0.35);
  border-bottom: 1px solid rgba(244, 242, 236, 0.35);
  font-size: 13px;
}

.footer-meta p {
  margin: 0;
}

.disclaimer {
  max-width: 830px;
  margin: 22px 0 0;
  color: #8c8e89;
  font-size: 11px;
  line-height: 1.5;
}

.reveal {
  animation: reveal 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal-delay-1 {
  animation-delay: 90ms;
}

.reveal-delay-2 {
  animation-delay: 180ms;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes breathe {
  from { transform: scale(1.02); }
  to { transform: scale(1.065); }
}

@keyframes orbit {
  from { transform: rotate(0deg) translate3d(0, 0, 0); }
  50% { transform: rotate(180deg) translate3d(2%, -2%, 0); }
  to { transform: rotate(360deg) translate3d(0, 0, 0); }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 70px;
  }

  .desktop-nav {
    display: none;
  }

  .header-cta {
    font-size: 12px;
  }

  .wordmark {
    font-size: 14px;
  }

  .hero {
    min-height: calc(100svh - 70px);
    padding-top: 22px;
    padding-bottom: 28px;
  }

  .hero-meta p:last-child {
    display: none;
  }

  .hero-title {
    font-size: clamp(53px, 15.5vw, 98px);
    line-height: 0.91;
  }

  .hero-bottom,
  .section-heading-grid,
  .firm-grid,
  .contact-bottom {
    grid-template-columns: 1fr;
  }

  .hero-intro {
    grid-column: 1;
    max-width: 620px;
  }

  .text-link {
    width: 100%;
    margin-top: 20px;
  }

  .hero-art {
    height: 92svh;
    min-height: 590px;
  }

  .section {
    padding-top: 28px;
    padding-bottom: 90px;
  }

  .section-heading-grid,
  .firm-grid {
    gap: 48px;
    padding: 76px 0 84px;
  }

  .section-heading-grid h2,
  .firm-grid h2 {
    font-size: clamp(52px, 14vw, 88px);
  }

  .section-heading-grid > p {
    max-width: 600px;
  }

  .practice-row {
    grid-template-columns: 46px 1fr auto;
    row-gap: 28px;
  }

  .practice-copy {
    grid-column: 2 / -1;
  }

  .approach-title {
    margin: 94px 0 110px;
    font-size: clamp(49px, 13.4vw, 88px);
  }

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

  .principles article,
  .principles article + article {
    min-height: auto;
    padding: 25px 0 50px;
    border-right: 0;
    border-bottom: 1px solid rgba(244, 242, 236, 0.22);
  }

  .principle-number {
    margin-bottom: 54px;
  }

  .firm-grid {
    padding-bottom: 0;
  }

  .firm-copy {
    padding-top: 0;
  }

  .contact {
    min-height: 88svh;
  }

  .contact h2 {
    font-size: clamp(54px, 15vw, 96px);
  }

  .footer-brand {
    margin-bottom: 76px;
  }

  .footer-meta {
    grid-template-columns: 1fr auto;
  }

  .footer-meta p:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-top: 14px;
    border-top: 1px solid rgba(244, 242, 236, 0.2);
  }
}

@media (max-width: 560px) {
  .site-header {
    column-gap: 12px;
  }

  .wordmark {
    font-size: 13px;
  }

  .header-cta {
    gap: 10px;
    font-size: 11px;
  }

  .hero-meta,
  .section-kicker,
  .contact-topline,
  .hero-art-caption {
    font-size: 10px;
  }

  .hero-title {
    font-size: clamp(48px, 14.8vw, 74px);
  }

  .section-heading-grid h2,
  .firm-grid h2 {
    font-size: clamp(46px, 13.7vw, 68px);
  }

  .practice-row {
    grid-template-columns: 34px 1fr auto;
    gap: 15px;
  }

  .firm-details p {
    grid-template-columns: 80px 1fr;
  }
}

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