/* ============================================================
   rootcausemedclinic.com — Home Page v1
   Linktree-feel router. Cream + charcoal. Mobile-first.
   Cormorant Garamond (display) + Inter (body). No third colour.
   ============================================================ */

:root {
  --cream: #F4EFE7;
  --charcoal: #1A1814;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing tokens — generous by design (Ocre 30–50% whitespace) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 4.5rem;
  --space-2xl: 6.5rem;

  --rule: 1px solid var(--charcoal);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--charcoal);
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

p { margin: 0; }

/* ----------------------------------------
   Page shell — vertical rhythm, centered
   ---------------------------------------- */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* ----------------------------------------
   Block 1 — Wordmark
   ---------------------------------------- */
.wordmark {
  text-align: center;
  padding-top: var(--space-md);
}

.wordmark__text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--charcoal);
}

/* SVG wordmark with emblem — brand rule */
.wordmark__logo {
  display: inline-block;
  width: clamp(180px, 22vw, 260px);
  height: auto;
  opacity: 0.95;
}

/* ----------------------------------------
   Block 2 — Identity statement
   ---------------------------------------- */
.identity {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
}

.identity__line {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--charcoal);
}

.identity__line:last-child {
  font-style: italic;
  font-size: 1.15rem;
  opacity: 0.85;
}

/* ----------------------------------------
   Block 3 — Tap-zones
   ---------------------------------------- */
.tapzones {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.tapzone {
  display: block;
  padding: 1.4rem var(--space-md);
  text-align: center;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border: var(--rule);
  background: transparent;
  color: var(--charcoal);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.tapzone:hover,
.tapzone:focus-visible {
  background: var(--charcoal);
  color: var(--cream);
  outline: none;
}

.tapzone:focus-visible {
  outline: 2px solid var(--charcoal);
  outline-offset: 3px;
}

/* ----------------------------------------
   Block 4 — Footer
   ---------------------------------------- */
.site-footer {
  margin-top: auto;
  padding-top: var(--space-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  font-size: 0.85rem;
  line-height: 1.6;
}

.site-footer__wordmark {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.site-footer__contact a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.site-footer__legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__legal span {
  opacity: 0.5;
}

.site-footer__bio {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-top: var(--space-sm);
  opacity: 0.85;
}

/* ----------------------------------------
   Breakpoint: 768
   ---------------------------------------- */
@media (min-width: 768px) {
  .page {
    padding: var(--space-2xl) var(--space-xl) var(--space-xl);
    gap: var(--space-2xl);
  }

  .wordmark__text {
    font-size: 0.85rem;
    letter-spacing: 0.36em;
  }

  .identity__line {
    font-size: 1.85rem;
  }

  .identity__line:last-child {
    font-size: 1.3rem;
  }

  .tapzones {
    gap: var(--space-md);
  }

  .tapzone {
    padding: 1.6rem var(--space-md);
    font-size: 1.05rem;
  }

  .site-footer {
    padding-top: var(--space-2xl);
    font-size: 0.9rem;
  }
}

/* ----------------------------------------
   Breakpoint: 1440
   ---------------------------------------- */
@media (min-width: 1440px) {
  .page {
    max-width: 780px;
    padding-top: 8rem;
    padding-bottom: 5rem;
  }

  .identity__line {
    font-size: 2.1rem;
  }

  .identity__line:last-child {
    font-size: 1.4rem;
  }
}


/* Unified footer tagline — 2026-06-02 */
.site-footer__tagline {
  font-family: "CormorantGaramond", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.98rem, 2.2vw, 1.12rem);
  line-height: 1.5;
  color: var(--charcoal);
  margin: 0.55rem 0;
  opacity: 0.95;
  max-width: 44ch;
  text-align: center;
}
.site-footer__tagline em.accent {
  font-style: italic;
  color: #7A4232;
  font-weight: 600;
}
