:root {
  --ink: #111817;
  --muted: #52615d;
  --line: #cfd7d3;
  --paper: #f7f7f2;
  --surface: #ffffff;
  --green: #102b26;
  --green-2: #254a42;
  --gold: #b9852f;
  --clay: #6f263d;
  --blue: #1e3440;
  --steel: #526773;
  --shadow: 0 14px 34px rgba(17, 24, 23, 0.1);
  --serif: "Californian FB", Californian, "Calisto MT", Georgia, "Times New Roman", serif;
  font-family: "Avenir Next", Avenir, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

body::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--clay);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 13px clamp(18px, 4vw, 56px);
  background: rgba(247, 247, 242, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 220px;
}

.brand-logo {
  display: block;
  width: clamp(190px, 20vw, 260px);
  height: auto;
  mix-blend-mode: multiply;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a,
.portal-link,
.button {
  text-decoration: none;
}

.main-nav a:hover,
.portal-link:hover {
  color: var(--green);
}

.portal-link {
  justify-self: end;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  border-radius: 3px;
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(42px, 7vw, 92px) clamp(18px, 6vw, 84px) clamp(28px, 5vw, 58px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7vw, 6.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.lede {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.secondary {
  color: var(--green);
  border-color: var(--green);
  background: transparent;
}

.button.full {
  width: 100%;
  margin-top: 8px;
  font-style: normal;
}

.hero-photo {
  margin: 0;
  justify-self: center;
  width: min(100%, 410px);
}

.hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.06;
  object-fit: cover;
  border: 1px solid rgba(16, 43, 38, 0.2);
  border-bottom: 5px solid var(--clay);
  border-radius: 3px;
  box-shadow: var(--shadow);
}

.band,
.split,
.contact {
  padding: clamp(52px, 8vw, 96px) clamp(18px, 6vw, 84px);
}

.band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--line);
}

.practice-grid article {
  min-height: 270px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface);
  border-top: 3px solid transparent;
}

.practice-grid article:nth-child(1) {
  border-top-color: var(--green);
}

.practice-grid article:nth-child(2) {
  border-top-color: var(--clay);
}

.practice-grid article:nth-child(3) {
  border-top-color: var(--steel);
}

.practice-grid p,
.copy-stack,
.bio-grid,
.contact p,
.site-footer {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.78fr);
  gap: clamp(28px, 8vw, 92px);
  align-items: start;
}

.copy-stack {
  font-size: 1.12rem;
}

.bio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 46px);
  max-width: 1000px;
  font-size: 1.08rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 430px);
  gap: clamp(28px, 8vw, 92px);
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 3px;
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-panel a:not(.button) {
  color: var(--green-2);
  font-weight: 800;
  text-decoration-color: rgba(49, 89, 81, 0.3);
  text-underline-offset: 4px;
}

.site-footer {
  display: grid;
  gap: 8px;
  padding: 24px clamp(18px, 6vw, 84px) 36px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.site-footer p {
  max-width: 960px;
  margin: 0;
}

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

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .portal-link {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 10.5ch;
  }

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

  .practice-grid article {
    min-height: auto;
  }
}

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

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: min(52vw, 210px);
  }

  .portal-link {
    padding: 9px 10px;
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(2.35rem, 12.5vw, 3.5rem);
    line-height: 0.98;
  }
}

