:root {
  --navy: #10233f;
  --red: #ef4738;
  --hero-green: #168000;
  --background: #f4f4f4;
  --text: #17243a;
  --muted: #454b51;
  --content-width: 1280px;
  --page-padding: clamp(2rem, 7vw, 8rem);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  background: #f7f7f7;
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100%, 1480px);
  min-height: 200px;
  margin: 0 auto;
  padding: 0 var(--page-padding);
}

.header-phone {
  justify-self: start;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.site-title {
  justify-self: center;
  color: var(--navy);
  font-size: clamp(1.8rem, 2.4vw, 2.55rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  justify-self: end;
  gap: 1.45rem;
}

.site-nav a {
  color: var(--navy);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: lowercase;
}

.site-nav a.active {
  color: var(--red);
}

.menu-button {
  display: none;
}

.hero {
  display: flex;
  min-height: 665px;
  align-items: center;
  justify-content: center;
  background: var(--hero-green);
  text-align: center;
}

.hero-inner {
  width: min(100%, 1050px);
  padding: 4rem 2rem 5rem;
}

.hero-eyebrow {
  margin: 0 0 2rem;
  color: #000;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 6.4vw, 7rem);
  font-weight: 400;
  line-height: 0.97;
  letter-spacing: -0.045em;
}

.section {
  width: min(100%, calc(var(--content-width) + 2 * var(--page-padding)));
  margin: 0 auto;
  padding-inline: var(--page-padding);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.7fr);
  gap: clamp(4rem, 9vw, 9rem);
  padding-top: 3.3rem;
  padding-bottom: 6rem;
}

.intro h2,
.contact-column h2,
.practice-section > .section > h2 {
  margin: 0 0 2rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.05;
}

.intro-copy h2 {
  max-width: 720px;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
}

.intro-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1rem;
}

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.85rem 1.3rem;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-column h2 {
  font-size: clamp(2.5rem, 3vw, 3.8rem);
}

.contact-item {
  margin-top: 2rem;
}

.contact-item h3 {
  margin-bottom: 0.55rem;
  color: var(--red);
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-item address,
.contact-item p {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-style: normal;
  line-height: 1.5;
}

.practice-section {
  padding: 5.5rem 0 7rem;
  background: #ececec;
}

.practice-section > .section > h2 {
  font-size: clamp(3rem, 5vw, 5rem);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem 4rem;
}

.practice-grid article {
  border-top: 1px solid #999;
  padding-top: 1.6rem;
}

.practice-grid h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.practice-grid p {
  color: var(--muted);
}

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

  .header-phone {
    display: none;
  }

  .site-title {
    justify-self: start;
  }

  .menu-button {
    display: block;
    justify-self: end;
    border: 0;
    background: transparent;
    color: var(--navy);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    flex-direction: column;
    padding: 1rem 0 1.5rem;
  }

  .site-nav.open {
    display: flex;
  }

  .hero {
    min-height: 480px;
  }

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

  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .header-inner {
    padding-inline: 1.25rem;
  }

  .hero {
    min-height: 410px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .intro {
    padding-top: 2.5rem;
  }

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

.closing-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background: #f4f4f4;
}

.closing-headings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 2.5rem 0;
  border-top: 1px solid #bfc1c3;
  border-bottom: 1px solid #bfc1c3;
}

.closing-headings p {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
}

.closing-headings p:last-child {
  text-align: right;
}

.closing-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding-top: 2.5rem;
  color: var(--navy);
  font-size: 0.9rem;
}

.footer-nav {
  margin-bottom: 1.5rem;
}

.footer-nav a {
  color: var(--red);
  text-decoration: none;
}

.footer-nav span {
  margin: 0 0.25rem;
}

.closing-footer p {
  margin: 0;
}

.closing-description {
  max-width: 34rem;
  justify-self: end;
  text-align: right;
}

@media (max-width: 700px) {
  .closing-headings,
  .closing-footer {
    grid-template-columns: 1fr;
  }

  .closing-headings p:last-child,
  .closing-description {
    text-align: left;
  }

  .closing-description {
    justify-self: start;
  }
}

.person {
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 2.5rem;
}

.person img {
  width: 180px;
  height: 225px;
  aspect-ratio: auto;
  object-fit: cover;
}

@media (max-width: 800px) {
  .person {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 1.5rem;
  }

  .person img {
    width: 140px;
    height: 175px;
  }
}

@media (max-width: 560px) {
  .person {
    grid-template-columns: 1fr;
  }

  .person img {
    width: 180px;
    height: 225px;
  }
}

/* About page recreation */

.about-hero {
  padding-top: clamp(5rem, 10vw, 10rem);
  padding-bottom: clamp(6rem, 12vw, 12rem);
  text-align: center;
}

.about-eyebrow {
  margin: 0 0 1.5rem;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-hero h1 {
  max-width: 13ch;
  margin: 0 auto;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 7vw, 7.2rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.about-history {
  padding-bottom: 6rem;
}

.about-history h2,
.about-team > h2 {
  margin: 0 0 2.5rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 4.5vw, 4.4rem);
  font-weight: 400;
  line-height: 1;
}

.history-copy {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.history-copy p {
  margin: 0 0 1.5rem;
}

.about-team {
  padding-top: 1rem;
  padding-bottom: 7rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem 6rem;
}

.team-member {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
  padding-top: 2rem;
  border-top: 1px solid #bfc1c3;
}

.team-member img {
  display: block;
  width: 180px;
  height: 225px;
  object-fit: cover;
}

.team-member h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.team-role {
  margin-bottom: 1.25rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.team-member-copy p:last-child {
  color: var(--muted);
}

.support-heading {
  margin-top: 6rem !important;
}

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

@media (max-width: 560px) {
  .about-hero h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .team-member {
    grid-template-columns: 1fr;
  }

  .team-member img {
    width: 160px;
    height: 200px;
  }
}

/* Services page recreation */

.services-hero {
  padding-top: clamp(5rem, 10vw, 10rem);
  padding-bottom: clamp(5rem, 9vw, 9rem);
  text-align: center;
}

.services-eyebrow {
  margin: 0 0 1.5rem;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.services-hero h1 {
  max-width: 13ch;
  margin: 0 auto;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 7vw, 7.2rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.services-practice {
  padding-bottom: 7rem;
}

.services-practice > h2 {
  margin: 0 0 5rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 4vw, 4.25rem);
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 2.75rem;
}

.services-grid article {
  padding: 2.1rem 0 2.7rem;
  border-top: 1px solid #bfc1c3;
}

.services-grid h3 {
  margin: 0 0 1.25rem;
  color: var(--red);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.62;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .services-hero h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

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

  .services-practice > h2 {
    text-align: left;
  }
}

/* Contact page recreation */

.contact-hero {
  padding-top: clamp(5rem, 10vw, 10rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
  text-align: center;
}

.contact-eyebrow {
  margin: 0 0 1.5rem;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-hero h1 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 7vw, 7.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.7fr);
  gap: clamp(5rem, 10vw, 10rem);
  padding-bottom: 9rem;
}

.contact-main h2 {
  margin: 0 0 2rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
}

.contact-main p {
  max-width: 48rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.contact-sidebar {
  display: grid;
  gap: 4rem;
  align-content: start;
}

.contact-sidebar-block h2 {
  margin: 0 0 1.7rem;
  color: var(--red);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-sidebar-block address,
.contact-large {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  font-style: normal;
  line-height: 1.45;
}

.contact-sidebar-block a {
  color: inherit;
}

.contact-sidebar-block .button {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
}

@media (max-width: 850px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }
}

@media (max-width: 560px) {
  .contact-sidebar {
    grid-template-columns: 1fr;
  }

  .contact-hero h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }
}

/* Contact page */
.contact-hero {
  padding-top: 7rem;
  padding-bottom: 6rem;
  text-align: center;
}

.contact-eyebrow,
.contact-detail h3 {
  margin: 0 0 1.5rem;
  color: #ef4938;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-hero h1 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 1;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 0.8fr);
  gap: clamp(4rem, 10vw, 10rem);
  padding-bottom: 8rem;
}

.contact-main h2 {
  margin: 0 0 2rem;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.contact-main p {
  max-width: 48rem;
}

.contact-details {
  display: grid;
  gap: 4.5rem;
}

.contact-detail address,
.contact-large {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-style: normal;
  line-height: 1.45;
}

.contact-detail a {
  color: inherit;
}

@media (max-width: 760px) {
  .contact-hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .contact-page {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding-bottom: 5rem;
  }

  .contact-details {
    gap: 3rem;
  }
}
