/* Willow & Stone Wellness Center — shared stylesheet */

:root {
  --color-bg: #f6f3ec;
  --color-surface: #fffcf7;
  --color-sage: #5c7a62;
  --color-sage-dark: #3d5644;
  --color-forest: #2c4033;
  --color-header-green: #1e3227;
  --color-sand: #e8dfd0;
  --color-clay: #c4a484;
  --color-text: #3a3834;
  --color-muted: #6b655c;
  --color-border: #ddd4c4;
  --max-width: 68rem;
  --header-height: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-sage-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-forest);
}

h1,
h2,
h3 {
  font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-forest);
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Header */

.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-logo {
  font-family: Georgia, Palatino, serif;
  font-size: 1.15rem;
  color: var(--color-header-green);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.site-logo:hover {
  color: var(--color-forest);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.site-nav a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-header-green);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

/* Layout */

main {
  flex: 1;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
}

.hero {
  background:
    linear-gradient(180deg, rgba(246, 243, 236, 0.35), var(--color-bg)),
    linear-gradient(135deg, var(--color-sand) 0%, #dfe8d8 55%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.25rem 3.75rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: 0.65rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 38rem;
}

.section {
  margin-top: 2.75rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1.4rem 1.35rem 1.5rem;
}

.card p {
  color: var(--color-muted);
  font-size: 0.98rem;
}

.btn {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.7rem 1.25rem;
  background: var(--color-sage-dark);
  color: #f7f4ee;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.btn:hover {
  background: var(--color-forest);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--color-sage-dark);
  border: 1px solid var(--color-sage);
  margin-left: 0.5rem;
}

.btn-secondary:hover {
  background: var(--color-sand);
  color: var(--color-forest);
}

.prose {
  max-width: 42rem;
}

.prose p {
  margin-bottom: 1.1rem;
}

.meta {
  color: var(--color-muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.article-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.article-list li {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1.25rem 1.35rem;
}

.article-list h2 {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.article-list h2 a {
  text-decoration: none;
  color: var(--color-forest);
}

.article-list h2 a:hover {
  text-decoration: underline;
}

.hours-list,
.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-details li,
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-details {
  margin-bottom: 1.5rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.quiet-note {
  font-size: 0.92rem;
  color: var(--color-muted);
  margin-top: 1.25rem;
}

/* Footer */

.site-footer {
  background: var(--color-forest);
  color: #d8e2d8;
  margin-top: auto;
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

.site-footer a {
  color: #e8dfd0;
}

@media (max-width: 700px) {
  .split {
    grid-template-columns: 1fr;
  }

  .btn-secondary {
    margin-left: 0;
    margin-top: 0.6rem;
  }

  .hero-inner {
    padding-top: 2.75rem;
    padding-bottom: 2.5rem;
  }

  .contact-details li,
  .hours-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }
}
