:root {
  --black: #151515;
  --teal: #008d92;
  --text: #2c2c2c;
  --muted: #555;
  --white: #fff;
  --serif: "Cormorant Garamond", "Adobe Garamond Pro", Georgia, serif;
  --sans: "Montserrat", "Proxima Nova", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: #005f63;
}

.announcement {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 6px 20px;
  color: rgba(255, 255, 255, 0.9);
  background: #101010;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.35;
  text-align: center;
}

.announcement a {
  color: var(--white);
  text-decoration: underline;
}

.site-header {
  position: absolute;
  top: 28px;
  left: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 28px;
  color: var(--white);
  font-family: var(--sans);
  text-transform: uppercase;
}

.site-title {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
}

.main-nav .contact-link {
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  line-height: 1;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 790px;
  place-items: center;
  padding: 130px 24px 80px;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.33), rgba(0, 0, 0, 0.18)),
    url("../assets/hero.jpeg") center top / cover no-repeat;
}

.hero-copy {
  width: min(880px, 100%);
  margin-top: 70px;
}

.hero-name,
.hero-service {
  margin: 0;
  font-family: var(--sans);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 6px;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-service {
  margin-top: 12px;
}

.hero blockquote {
  max-width: 760px;
  margin: 34px auto 0;
  font-size: 30px;
  font-style: italic;
  line-height: 1.35;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero cite {
  display: block;
  font-style: italic;
}

.content {
  width: min(1210px, calc(100% - 112px));
  margin: 0 auto;
  padding: 82px 0;
}

.services {
  display: grid;
  width: min(1395px, calc(100% - 112px));
  grid-template-columns: 330px 190px 1fr;
  column-gap: 42px;
  row-gap: 34px;
  align-items: start;
  padding-top: 86px;
  padding-bottom: 75px;
}

h1,
h2 {
  margin: 0 0 22px;
  color: var(--teal);
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.25;
  text-transform: uppercase;
}

h1 {
  font-size: 19px;
  text-align: center;
}

.services > h1 {
  grid-column: 1 / -1;
}

h2 {
  font-size: 16px;
}

p,
li {
  font-size: 17px;
}

ul {
  margin: 0 0 28px 18px;
  padding: 0;
}

li {
  margin: 0 0 10px;
  padding-left: 2px;
}

.service-grid {
  display: contents;
  margin-top: 34px;
}

.specialties {
  grid-column: 1;
  padding-left: 10px;
}

.seal-wrap {
  grid-column: 2;
  min-height: 0;
  text-align: center;
}

.seal-wrap img {
  width: 165px;
  max-width: 100%;
  margin-top: 74px;
}

.quote-image {
  grid-column: 3;
  margin: 96px 0 0;
}

.quote-image img {
  width: 100%;
  max-height: 335px;
  object-fit: cover;
}

.quote-image figcaption {
  margin-top: 16px;
  padding-bottom: 0;
  font-size: 14px;
  line-height: 1.45;
}

.banner {
  display: grid;
  min-height: 350px;
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.12)),
    url("../assets/fees-insurance.jpg") center / cover no-repeat;
}

.banner p {
  margin: 0;
  font-size: 34px;
  font-style: italic;
  line-height: 1;
}

.fees-copy {
  padding-top: 94px;
}

.fees-copy p {
  margin: 0 0 22px;
}

hr {
  height: 1px;
  margin: 72px 0 86px;
  border: 0;
  background: #ddd;
}

.about {
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 58px;
  align-items: start;
  padding-top: 78px;
  padding-bottom: 46px;
}

.headshot {
  display: block;
  width: 100%;
  max-width: 235px;
}

.about p {
  margin-top: 0;
  margin-bottom: 24px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  min-height: 460px;
  padding-top: 40px;
  padding-bottom: 150px;
}

.contact-card {
  width: 300px;
  justify-self: center;
  text-align: center;
}

.contact-card h2 {
  margin-top: 0;
  text-align: center;
}

.contact-card h2 + p {
  margin-top: 22px;
}

.contact-card p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.5;
}

.contact-card h2:nth-of-type(2) {
  margin-top: 58px;
}

.map-frame {
  min-height: 360px;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.site-footer {
  padding: 58px 28px 62px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--black);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 1.8;
  text-align: center;
  text-transform: uppercase;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer p {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.8;
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }

  .announcement {
    padding: 5px 12px;
    font-size: 9px;
  }

  .site-header {
    top: 30px;
    padding: 18px 20px;
  }

  .site-title {
    font-size: 11px;
  }

  .nav-toggle {
    position: relative;
    display: block;
    width: 24px;
    height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-toggle span {
    position: absolute;
    right: 0;
    width: 22px;
    height: 2px;
    background: var(--white);
  }

  .nav-toggle span:nth-child(1) {
    top: 0;
  }

  .nav-toggle span:nth-child(2) {
    top: 8px;
  }

  .nav-toggle span:nth-child(3) {
    top: 16px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    display: none;
    width: 260px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 60px 28px;
    background: #171717;
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 13px 0;
  }

  .main-nav .contact-link {
    width: auto;
    margin-top: 8px;
    padding: 12px 16px;
  }

  .hero {
    min-height: 455px;
    padding-top: 110px;
  }

  .hero-copy {
    margin-top: 80px;
  }

  .hero-name,
  .hero-service {
    font-size: 24px;
    letter-spacing: 3px;
  }

  .hero blockquote {
    margin-top: 20px;
    font-size: 20px;
  }

  .content {
    width: calc(100% - 40px);
    padding: 42px 0;
  }

  .services {
    display: block;
    padding-top: 40px;
  }

  h1 {
    font-size: 14px;
  }

  h2 {
    font-size: 14px;
  }

  p,
  li {
    font-size: 16px;
  }

  .service-grid,
  .quote-image,
  .about,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-grid {
    display: grid;
  }

  .specialties {
    padding-left: 0;
  }

  .seal-wrap {
    min-height: 0;
    order: -1;
  }

  .seal-wrap img {
    width: 235px;
    margin: 0 auto;
  }

  .quote-image {
    margin-top: 0;
  }

  .quote-image img {
    max-height: none;
  }

  .quote-image figcaption {
    padding-bottom: 0;
  }

  .banner {
    min-height: 250px;
  }

  .banner p {
    font-size: 26px;
  }

  hr {
    margin: 46px 0 52px;
  }

  .headshot {
    max-width: 240px;
  }

  .contact-section {
    min-height: 560px;
    padding-bottom: 100px;
  }

  .contact-card {
    width: 100%;
  }

  .map-frame {
    min-height: 260px;
  }

  .map-frame iframe {
    height: 260px;
  }

  .site-footer {
    padding: 42px 24px 48px;
  }

  .site-footer nav {
    display: block;
  }

  .site-footer nav a {
    display: block;
    padding: 7px 0;
  }
}

@media (min-width: 761px) and (max-width: 1040px) {
  .services {
    width: calc(100% - 56px);
    grid-template-columns: minmax(245px, 0.8fr) 135px minmax(320px, 1.4fr);
    column-gap: 24px;
  }

  .seal-wrap img {
    width: 130px;
  }
}
