@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=DM+Serif+Display&display=swap');

:root {
  --paper: #f5f4ef;
  --paper-2: #e9eee9;
  --ink: #29433f;
  --body: #52615e;
  --line: #c8cfca;
  --dark: #263d39;
  --white: #fbfbf8;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 82px;
  padding: 0 clamp(24px, 6vw, 90px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 244, 239, .96);
  border-bottom: 1px solid rgba(41, 67, 63, .10);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  letter-spacing: .25em;
  line-height: 1;
}

.brand span {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.35rem;
}

.brand small {
  margin-top: 8px;
  font-size: .55rem;
  letter-spacing: .42em;
  text-align: center;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  font-size: .82rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--ink);
  transition: right .2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 23px;
  height: 1px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  min-height: min(720px, calc(100vh - 82px));
  display: grid;
  grid-template-columns: .9fr 1.1fr;
}

.hero-copy {
  padding: clamp(70px, 9vw, 125px) clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--ink);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.location {
  margin: -3px 0 28px;
  color: #77817e;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.05;
}

h1 {
  max-width: 650px;
  font-size: clamp(3rem, 5vw, 5.2rem);
  letter-spacing: -.025em;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  letter-spacing: -.02em;
}

.lead {
  margin: 28px 0 34px;
  color: var(--body);
  font-size: 1.02rem;
}

.button,
.footer-button {
  width: fit-content;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  padding: 14px 20px;
  color: var(--white);
  background: var(--dark);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: transform .2s ease, opacity .2s ease;
}

.button:hover,
.footer-button:hover {
  transform: translateY(-2px);
  opacity: .92;
}

.image-placeholder {
  min-height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(41,67,63,.08), rgba(41,67,63,.18)),
    #dfe3de;
  color: #687570;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 9vw, 130px) clamp(24px, 6vw, 90px);
}

.intro {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(50px, 9vw, 130px);
  align-items: start;
}

.intro > div:first-child p:not(.eyebrow) {
  max-width: 480px;
  margin: 28px 0;
  color: var(--body);
}

.text-link {
  display: inline-flex;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
  text-decoration: none;
  font-size: .8rem;
}

.tradition {
  padding-left: clamp(20px, 4vw, 55px);
  border-left: 1px solid var(--line);
}

.lineage {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin: 25px 0 42px;
}

.lineage div {
  display: flex;
  flex-direction: column;
}

.lineage strong {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
}

.lineage span {
  margin-top: 6px;
  color: var(--body);
  font-size: .72rem;
  line-height: 1.4;
}

.lineage b {
  font-weight: 400;
  color: #8b9692;
}

.tradition > p:last-child {
  max-width: 700px;
  color: var(--body);
  font-size: .9rem;
}

.examination,
.first-visit {
  max-width: none;
  background: var(--paper-2);
}

.examination {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(45px, 7vw, 100px);
}

.exam-intro > p:last-child {
  max-width: 360px;
  margin-top: 28px;
  color: var(--body);
}

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

.exam-card p:last-child {
  margin-top: 0;
  color: var(--body);
  font-size: .82rem;
}

.small-image {
	width: 100%;
	height: 260px;
	object-fit: contain;
	background: #e1e4df;
	margin-bottom: 25px;
}

.about {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(45px, 8vw, 110px);
  align-items: center;
}

.portrait {
  aspect-ratio: 4 / 5;
  height: 100%;
  width: auto;
}

.about-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 28px 0;
  color: var(--body);
}

.first-visit {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(45px, 8vw, 110px);
}

.visit-intro > p:last-child {
  max-width: 430px;
  margin-top: 28px;
  color: var(--body);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-self: center;
}

.steps article {
  padding: 0 24px;
  border-left: 1px solid var(--line);
}

.step-number {
  display: block;
  margin-bottom: 22px;
  font-size: .65rem;
  letter-spacing: .2em;
}

.steps h3 {
  margin: 0 0 10px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.steps p {
  margin: 0;
  color: var(--body);
  font-size: .76rem;
  line-height: 1.55;
}

.site-footer {
  max-width: none;
  padding: 55px clamp(24px, 6vw, 90px);
  display: flex;
  gap: clamp(25px, 5vw, 70px);
  align-items: center;
  background: var(--dark);
  color: var(--white);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  letter-spacing: .25em;
}

.footer-brand span {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.3rem;
}

.footer-brand small {
  margin-top: 7px;
  font-size: .52rem;
  letter-spacing: .42em;
  text-align: center;
}

.site-footer address {
  padding-left: 35px;
  border-left: 1px solid rgba(255,255,255,.2);
  display: flex;
  flex-direction: column;
  font-size: .75rem;
  font-style: normal;
  color: rgba(255,255,255,.76);
}

.phone {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-size: .78rem;
}

.site-footer .footer-button {
  margin-left: auto;
  background: var(--white);
  color: var(--dark);
}

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

.hero-image {
	width: 100%;
	height: auto;
}

.hero-image,
.portrait,
.small-image {
  display: block;
  margin:auto;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 13px 0;
  }

  .site-nav a::after {
    display: none;
  }

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

  .hero-copy {
    min-height: 570px;
  }

  .hero-image {
    min-height: 430px;
  }

  .intro,
  .examination,
  .about,
  .first-visit {
    grid-template-columns: 1fr;
  }

  .tradition {
    padding-left: 0;
    padding-top: 45px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .small-image {
    max-height: 340px;
  }

  .about .portrait {
    max-width: 480px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 0;
  }

  .site-footer {
    flex-wrap: wrap;
  }

  .site-footer .footer-button {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-copy {
    min-height: 520px;
  }

  .lineage {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .lineage b {
    display: none;
  }

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

  .steps article {
    padding: 0 0 25px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps article + article {
    padding-top: 25px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer address {
    padding-left: 0;
    border-left: 0;
  }
}

