@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f1eb;
  --ink: #2a2824;
  --muted: #6f6a62;
  --faint: #8e897f;
  --rule: #cfc8bc;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 40rem;
  padding: 4rem 0 3rem;
}

h1 {
  font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.15rem);
  letter-spacing: 0.035em;
  line-height: 1.15;
  color: var(--ink);
}

.tagline {
  margin-top: 1.15rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  letter-spacing: 0.02em;
  color: var(--muted);
}

.tagline::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 1px;
  margin: 0 auto 1.15rem;
  background: var(--rule);
}


.referral {
  margin-top: 1.1rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.contact {
  margin-top: 2.4rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.contact a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.08em;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact a:hover,
.contact a:focus-visible {
  border-bottom-color: var(--ink);
}

.contact a:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

footer {
  width: 100%;
  text-align: center;
  padding: 0 0 0.75rem;
}

footer p {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--faint);
}

@media (max-width: 40rem) {
  .page {
    padding: 1.25rem 1.25rem 1rem;
  }

  main {
    padding: 3.25rem 0 2.5rem;
  }

  
.referral {
  margin-top: 1.1rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

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

@media (prefers-reduced-motion: reduce) {
  .contact a {
    transition: none;
  }
}
