:root {
  --navy: #174a7e;
  --navy-dark: #10365d;
  --ink: #17202a;
  --muted: #5f6b76;
  --line: #d9e1e8;
  --tint: #f4f7fa;
  --white: #ffffff;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy);
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.narrow {
  max-width: 790px;
}


.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 38px;
  align-items: start;
}

.about-copy {
  max-width: 790px;
}

.profile-card {
  justify-self: end;
  width: 100%;
  max-width: 220px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(25, 45, 65, 0.06);
}

.profile-card img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.2em;
  color: var(--navy);
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
}

.brand-sub {
  margin-top: 5px;
  font-size: 0.65rem;
  font-weight: 700;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

nav a:hover,
nav a:focus {
  color: var(--navy);
}

.hero {
  padding: 92px 0 82px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 84% 24%, rgba(23, 74, 126, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 70px;
  align-items: center;
}

.eyebrow,
.section-label,
.card-kicker {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 6px;
  color: var(--navy-dark);
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.qualifications {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
}

.intro {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-block;
  padding: 12px 17px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  color: var(--white);
  background: var(--navy);
}

.button.primary:hover,
.button.primary:focus {
  background: var(--navy-dark);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
}

.fellow-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(25, 45, 65, 0.08);
}

.fellow-card img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding: 82px 0;
}

.section-tint {
  background: var(--tint);
}

h2 {
  margin-bottom: 24px;
  color: var(--navy-dark);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy-dark);
  font-size: 1.25rem;
}

.section p {
  color: var(--muted);
  font-size: 1.04rem;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.practice-item {
  min-height: 190px;
  padding: 26px;
  background: var(--white);
  border-top: 4px solid var(--navy);
  box-shadow: 0 8px 28px rgba(25, 45, 65, 0.05);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.contact-card {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--white);
}

.contact-card.private {
  border-top: 5px solid var(--navy);
}

.contact-card.public {
  border-top: 5px solid #7b8794;
}

address {
  margin-bottom: 22px;
  color: var(--muted);
  font-style: normal;
}

dl {
  margin: 0;
}

dl > div {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--navy-dark);
  font-weight: 700;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem !important;
}

footer {
  padding: 34px 0;
  color: #d8e2eb;
  background: var(--navy-dark);
  font-size: 0.9rem;
}

footer a {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.footer-right {
  text-align: right;
}

@media (max-width: 820px) {
  .hero {
    padding: 66px 0 58px;
  }

  .hero-grid,
  .about-grid,
  .practice-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 40px;
  }

  .practice-item {
    min-height: auto;
  }


  .profile-card {
    justify-self: start;
    max-width: 180px;
  }

  .footer-right {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav-wrap {
    min-height: 66px;
  }

  nav {
    display: none;
  }

  .section {
    padding: 60px 0;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    text-align: center;
  }

  .contact-card {
    padding: 24px 20px;
  }

  dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
