:root {
  --turquoise: #72c9c8;
  --turquoise-dark: #319796;
  --ink: #201e20;
  --muted: #6d6a72;
  --paper: #ffffff;
  --soft: #eef8f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "Montserrat", "Segoe UI", sans-serif;
  background: var(--paper);
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 70px);
  color: white;
  background: linear-gradient(180deg, rgba(0, 0, 0, .56), rgba(0, 0, 0, 0));
}

.brand-mini {
  font-weight: 700;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: white;
  text-align: center;
  background: #2f686b;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -22px;
  background-image: url("assets/hero-reference.png");
  background-position: center bottom;
  background-size: cover;
  filter: blur(6px) saturate(.9);
  opacity: .72;
  transform: scale(1.12);
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(0, 0, 0, .18), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(29,87,91,.36) 42%, rgba(0,0,0,.72)),
    rgba(20, 68, 72, .42);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  padding-top: 52px;
}

.hero-logo {
  display: block;
  width: min(560px, 92vw);
  height: auto;
  margin: 0 auto 46px;
  filter:
    contrast(1.18)
    saturate(1.25)
    drop-shadow(0 8px 22px rgba(0, 0, 0, .46))
    drop-shadow(0 0 18px rgba(60, 211, 211, .32));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

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

h1 {
  margin: 2px 0 70px;
  color: white;
  font-size: clamp(18px, 2.4vw, 27px);
  font-weight: 500;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .35);
}

.tagline {
  margin-bottom: 2px;
  font-size: clamp(18px, 2.2vw, 26px);
  text-shadow: 0 1px 18px rgba(0, 0, 0, .42);
}

.subtagline {
  margin-bottom: 72px;
  font-size: 17px;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .42);
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

.button {
  display: inline-flex;
  min-width: 128px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.button--light {
  color: var(--ink);
  background: white;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
}

.button--accent {
  color: white;
  background: var(--turquoise);
  box-shadow: 0 14px 30px rgba(49, 151, 150, .28);
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  bottom: 46px;
  left: 50%;
  width: 28px;
  height: 46px;
  border: 2px solid white;
  border-radius: 18px;
  transform: translateX(-50%);
}

.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: white;
  transform: translateX(-50%);
}

section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.section-inner {
  width: min(1110px, calc(100% - 40px));
  margin: 0 auto;
}

.about,
.fees {
  color: white;
  background:
    radial-gradient(circle at 74% 70%, rgba(255, 255, 255, .16), transparent 25%),
    linear-gradient(145deg, #2c8f8e, #72c9c8);
}

.about__grid {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 54px;
}

.about h2,
.services h2,
.fees h2,
.contact h2 {
  margin-bottom: 36px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  text-align: center;
}

.about__copy {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
  text-align: left;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  margin: 0;
  border-radius: 8px;
  border: 10px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .18);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .18);
}

.portrait-card img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(.98) contrast(1.03) brightness(1.02);
}

.services {
  background: var(--paper);
}

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

.service-grid article {
  min-height: 210px;
  padding: 32px;
  border: 1px solid #dceceb;
  border-radius: 8px;
  background: var(--soft);
}

.service-grid h3 {
  font-size: 24px;
}

.service-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.fees {
  background-image: linear-gradient(rgba(114, 201, 200, .92), rgba(114, 201, 200, .92));
}

.pricing {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, 1fr);
  color: var(--ink);
}

.price-card {
  display: grid;
  grid-template-rows: auto minmax(124px, auto) minmax(74px, auto) minmax(74px, auto) minmax(74px, auto);
  overflow: hidden;
  border: 1px solid #efefef;
  border-radius: 8px 8px 0 0;
  background: white;
  text-align: center;
}

.price-card p,
.price-card h3 {
  color: white;
  background: var(--ink);
}

.price-card p {
  margin: 0;
  padding: 22px 18px 10px;
}

.price-card h3 {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 24px 18px 34px;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.12;
}

.price-card:last-child h3 {
  font-size: clamp(21px, 2.1vw, 30px);
}

.price-card span,
.price-card strong,
.price-card a {
  display: block;
  padding: 21px 18px;
  border-top: 1px solid #eeeeee;
}

.price-card span {
  color: var(--muted);
}

.price-card a {
  color: var(--turquoise-dark);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.price-card--featured {
  position: static;
  transform: none;
  box-shadow: none;
}

.contact {
  background: white;
}

.contact__grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.contact h2 {
  text-align: left;
}

.contact p {
  color: var(--muted);
  font-size: 20px;
}

.contact-panel {
  padding: 38px;
  border: 1px solid #dceceb;
  border-radius: 8px;
  background: var(--soft);
}

.contact-panel a,
.contact-panel p {
  display: block;
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
}

.contact-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 70px);
  color: white;
  background: var(--ink);
}

footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
  }

  nav {
    gap: 12px;
    font-size: 12px;
  }

  .hero__content {
    padding-top: 110px;
  }

  .about__grid,
  .service-grid,
  .pricing,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .portrait-card img {
    height: 420px;
  }

  .price-card--featured {
    transform: none;
  }
}

@media (max-width: 560px) {
  h1 {
    margin-bottom: 44px;
  }

  .actions {
    gap: 14px;
  }

  .button {
    width: 100%;
  }

  .about__copy {
    font-size: 17px;
  }

  footer {
    flex-direction: column;
  }
}
