@font-face {
  font-family: "Adelphi Wireframe";
  src: url("../fonts/adelphi-wireframe.ttf") format("truetype");
  font-style: normal;
  font-weight: 100;
  font-display: swap;
}

:root {
  --paper: #efeae1;
  --paper-dark: #d8d1c5;
  --ink: #3f392f;
  --footer: #625b52;
  --light-ink: #fffaf2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

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

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

.hero {
  position: relative;
  height: 955px;
  overflow: hidden;
  color: var(--light-ink);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(20, 25, 12, 0.3);
  content: "";
  pointer-events: none;
}

.hero__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.hero__mark {
  position: absolute;
  z-index: 2;
  top: 202px;
  left: 50%;
  width: 155px;
  height: 209px;
  transform: translateX(-50%);
}

.hero__copy {
  position: absolute;
  z-index: 2;
  top: 475px;
  left: 50%;
  width: min(760px, calc(100% - 48px));
  transform: translateX(-50%);
}

.hero__copy h1 {
  margin-bottom: 25px;
  font-size: 72.54px;
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 2px 14px rgba(16, 20, 9, 0.38);
}

.hero__copy p {
  margin-bottom: 0;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  text-shadow: 0 1px 10px rgba(16, 20, 9, 0.42);
}

.hero__address {
  position: absolute;
  z-index: 2;
  bottom: 62px;
  left: 50%;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 1px 10px rgba(16, 20, 9, 0.42);
  white-space: nowrap;
  transform: translateX(-50%);
}

.intro-section {
  height: 449px;
  background: var(--paper);
}

.intro-inner {
  width: 1412px;
  max-width: calc(100% - 48px);
  height: 100%;
  margin: 0 auto;
}

.intro-brand,
.intro-copy {
  position: relative;
}

.intro-brand img {
  position: absolute;
  top: 173px;
  left: 0;
  width: 515px;
  max-width: calc(100% - 36px);
  height: auto;
}

.intro-copy p {
  position: absolute;
  top: 130px;
  left: 50px;
  margin-bottom: 0;
  font-size: 30px;
  line-height: 36px;
}

.studio-section {
  height: 865px;
  overflow: hidden;
  background: var(--paper-dark);
}

.studio-grid {
  display: grid;
  grid-template-columns: 600px 774px;
  column-gap: 118px;
  width: 1492px;
  max-width: calc(100% - 48px);
  padding-top: 110px;
  margin-left: max(24px, calc(50% - 678px));
}

.studio-copy h2,
.therapies-section h2,
.profile-heading h2,
.site-footer h2 {
  margin-bottom: 0;
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
}

.studio-copy p {
  margin-top: 31px;
  margin-bottom: 0;
  font-size: 30px;
  line-height: 36px;
}

.studio-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 430px 213px;
  gap: 7px 8px;
  width: 774px;
  height: 650px;
}

.studio-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-gallery__main {
  grid-column: 1 / 3;
  object-position: center 65%;
}

.studio-gallery__detail {
  object-position: center 57%;
}

.studio-gallery__room {
  object-position: center 64%;
}

.therapies-section {
  height: 1320px;
  background: var(--paper);
}

.therapy-shell {
  width: 1378px;
  max-width: calc(100% - 48px);
  padding-top: 207px;
  margin-left: max(24px, calc(50% - 679px));
}

.therapies-section h2 {
  margin-bottom: 67px;
}

.therapy-grid {
  display: grid;
  grid-template-columns: repeat(3, 342px);
  grid-auto-rows: 342px;
  justify-content: space-between;
  row-gap: 101px;
}

.therapy-card {
  padding: 10px 0 0 41px;
  border-left: 1px solid var(--ink);
}

.therapy-card h3 {
  margin-bottom: 50px;
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
}

.therapy-card p {
  margin-bottom: 0;
  font-size: 30px;
  line-height: 36px;
}

.profile-section {
  position: relative;
  height: 983px;
  background: var(--paper-dark);
}

.profile-grid {
  display: grid;
  grid-template-columns: 600px 650px;
  column-gap: 132px;
  width: 1382px;
  max-width: calc(100% - 48px);
  padding-top: 78px;
  margin-left: max(24px, calc(50% - 681px));
}

.profile-heading h2 {
  line-height: 48px;
}

.profile-heading p {
  margin-bottom: 0;
  font-size: 30px;
  line-height: 36px;
}

.profile-copy p {
  margin-bottom: 0;
  font-size: 30px;
  line-height: 36px;
}

.certifications {
  position: absolute;
  bottom: 80px;
  left: max(24px, calc(50% - 706px));
  width: 1368px;
  max-width: calc(100% - 48px);
  padding: 0;
  margin-bottom: 0;
  list-style: none;
}

.certifications li {
  display: grid;
  grid-template-columns: 196px 1fr;
  align-items: center;
  height: 95px;
  border-bottom: 1px solid var(--ink);
  font-size: 40px;
  line-height: 1;
}

.certifications__number {
  padding-left: 35px;
  font-size: 60px;
}

.footer-spacer {
  height: 128px;
  background: var(--paper);
}

.site-footer {
  height: 577px;
  padding-top: 86px;
  color: var(--light-ink);
  background: var(--footer);
}

.site-footer__notice {
  margin-bottom: 88px;
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  line-height: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 433px);
  width: 1301px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
}

.site-footer h2 {
  margin-bottom: 39px;
  color: var(--light-ink);
}

.site-footer p,
.site-footer address,
.site-footer .footer-link {
  margin-bottom: 0;
  color: var(--light-ink);
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 48px;
}

.site-footer address {
  margin-bottom: 24px;
}

.site-footer a {
  transition: opacity 160ms ease;
}

.site-footer a:hover,
.hero__address:hover {
  opacity: 0.72;
}

@media (max-width: 1599.98px) {
  body {
    font-size: 24px;
  }

  .studio-grid {
    grid-template-columns: minmax(430px, 0.82fr) minmax(600px, 1.18fr);
    column-gap: 64px;
    width: calc(100% - 128px);
    margin: 0 auto;
  }

  .studio-gallery {
    width: 100%;
  }

  .therapy-shell,
  .profile-grid,
  .certifications {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 1199.98px) {
  .hero {
    height: 820px;
  }

  .hero__mark {
    top: 142px;
    width: 135px;
    height: 182px;
  }

  .hero__copy {
    top: 393px;
  }

  .hero__copy h1 {
    font-size: 62px;
  }

  .hero__address {
    bottom: 48px;
  }

  .intro-section {
    height: auto;
    min-height: 420px;
  }

  .intro-brand img,
  .intro-copy p {
    position: static;
  }

  .intro-brand,
  .intro-copy {
    display: flex;
    align-items: center;
    min-height: 420px;
  }

  .intro-copy p {
    padding-left: 28px;
    font-size: 24px;
    line-height: 30px;
  }

  .studio-section {
    height: auto;
  }

  .studio-grid {
    grid-template-columns: 1fr;
    width: min(840px, calc(100% - 64px));
    padding: 96px 0;
  }

  .studio-copy p {
    font-size: 24px;
    line-height: 30px;
  }

  .studio-gallery {
    margin-top: 72px;
  }

  .therapies-section {
    height: auto;
    min-height: 1180px;
  }

  .therapy-shell {
    width: min(840px, calc(100% - 64px));
    padding: 110px 0;
  }

  .therapy-grid {
    grid-template-columns: repeat(2, 342px);
    justify-content: space-between;
  }

  .profile-grid {
    grid-template-columns: minmax(360px, 0.8fr) minmax(470px, 1.2fr);
    column-gap: 64px;
    width: calc(100% - 96px);
  }

  .profile-copy p,
  .profile-heading p {
    font-size: 24px;
    line-height: 30px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    width: calc(100% - 96px);
  }

  .site-footer p,
  .site-footer address,
  .site-footer .footer-link {
    font-size: 30px;
    line-height: 38px;
  }
}

@media (max-width: 767.98px) {
  .hero {
    height: 720px;
  }

  .hero__background {
    object-fit: cover;
    object-position: 69% center;
  }

  .hero__mark {
    top: 88px;
    width: 108px;
    height: 146px;
  }

  .hero__copy {
    top: 310px;
  }

  .hero__copy h1 {
    margin-bottom: 23px;
    font-size: clamp(41px, 11vw, 54px);
  }

  .hero__copy p,
  .hero__address {
    font-size: 20px;
    line-height: 27px;
  }

  .hero__address {
    bottom: 42px;
    width: calc(100% - 40px);
    text-align: center;
    white-space: normal;
  }

  .intro-inner {
    width: calc(100% - 48px);
    max-width: 560px;
    padding: 72px 0 76px;
  }

  .intro-brand,
  .intro-copy {
    min-height: 0;
  }

  .intro-brand img {
    width: min(100%, 430px);
    max-width: 100%;
  }

  .intro-copy p {
    padding: 0;
    margin-top: 62px;
    font-size: 20px;
    line-height: 27px;
  }

  .intro-copy br,
  .studio-copy br,
  .profile-copy br,
  .therapy-card br {
    display: none;
  }

  .studio-grid {
    width: calc(100% - 48px);
    padding: 78px 0 82px;
  }

  .studio-copy h2,
  .therapies-section h2,
  .profile-heading h2,
  .site-footer h2 {
    font-size: 31px;
    line-height: 38px;
  }

  .studio-copy p,
  .profile-copy p,
  .profile-heading p {
    margin-top: 23px;
    font-size: 20px;
    line-height: 27px;
  }

  .studio-gallery {
    grid-template-rows: clamp(255px, 67vw, 390px) clamp(145px, 38vw, 215px);
    gap: 5px;
    height: auto;
    margin-top: 52px;
  }

  .therapy-shell {
    width: calc(100% - 48px);
    padding: 84px 0 92px;
  }

  .therapies-section h2 {
    margin-bottom: 50px;
  }

  .therapy-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    row-gap: 54px;
  }

  .therapy-card {
    min-height: 245px;
    padding: 6px 0 0 25px;
  }

  .therapy-card h3 {
    margin-bottom: 20px;
    font-size: 29px;
    line-height: 36px;
  }

  .therapy-card p {
    max-width: 360px;
    font-size: 20px;
    line-height: 27px;
  }

  .profile-section {
    height: auto;
    padding: 76px 0 64px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    width: calc(100% - 48px);
    padding-top: 0;
    margin: 0 auto;
  }

  .profile-copy {
    margin-top: 50px;
  }

  .profile-heading p {
    margin-top: 0;
  }

  .certifications {
    position: static;
    width: calc(100% - 48px);
    max-width: none;
    margin: 66px auto 0;
  }

  .certifications li {
    grid-template-columns: 84px 1fr;
    height: 72px;
    font-size: 24px;
  }

  .certifications__number {
    padding-left: 10px;
    font-size: 37px;
  }

  .footer-spacer {
    height: 76px;
  }

  .site-footer {
    height: auto;
    padding: 70px 24px 82px;
  }

  .site-footer__notice {
    margin-bottom: 62px;
    font-size: 27px;
    line-height: 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    row-gap: 52px;
    width: min(100%, 520px);
    max-width: none;
  }

  .site-footer h2 {
    margin-bottom: 18px;
  }

  .site-footer p,
  .site-footer address,
  .site-footer .footer-link {
    font-size: 25px;
    line-height: 33px;
  }

  .site-footer address {
    margin-bottom: 16px;
  }
}
