/* =========================================================
   Paranneting — brand tokens
   Cream / Espresso / Rose-brown, with a quiet sage accent
   Display: Playfair Display   Body: Lora
========================================================= */

:root {
  --cream:        #F7F1E3;
  --cream-deep:    #EFE6D3;
  --espresso:      #3B2A20;
  --espresso-soft: #6B5645;
  --rose-brown:    #A8676B;
  --rose-brown-dk: #8C4F53;
  --blush:         #EDD9C8;
  --sage:          #7C8B6F;
  --white:         #FFFDF9;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;

  --radius: 18px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--rose-brown-dk);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--espresso);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-style: italic;
  color: var(--rose-brown-dk);
  letter-spacing: 0.04em;
  margin-bottom: 0.6em;
  font-size: 0.95rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--rose-brown);
  color: var(--white);
}
.btn-primary:hover { background: var(--rose-brown-dk); }

.btn-ghost {
  background: transparent;
  color: var(--espresso);
  border-color: var(--espresso-soft);
}
.btn-ghost:hover { background: var(--blush); }

/* ---------- Header / nav ---------- */
.site-header {
  padding: 22px 0;
  border-bottom: 1px solid var(--cream-deep);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--espresso);
  letter-spacing: 0.01em;
}
.logo span { color: var(--rose-brown-dk); }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
nav.main-nav a {
  color: var(--espresso-soft);
  font-weight: 600;
  font-size: 0.98rem;
}
nav.main-nav a[aria-current="page"],
nav.main-nav a:hover {
  color: var(--rose-brown-dk);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--espresso);
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    display: none;
    width: 100%;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    gap: 14px;
    padding: 18px 0 4px;
  }
  .site-header .wrap { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 60px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
}
.hero h1 { margin-bottom: 0.4em; }
.hero .lede {
  font-size: 1.15rem;
  color: var(--espresso-soft);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 1.6em;
}
.hero-art {
  background: var(--blush);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.hero-art .arc {
  position: absolute;
  inset: 0;
}

/* ---------- Section wave divider (signature element) ---------- */
.divider {
  height: 48px;
  width: 100%;
  display: block;
}

section.band {
  padding: 64px 0;
}
.band-cream { background: var(--cream); }
.band-blush { background: var(--blush); }
.band-espresso { background: var(--espresso); color: var(--cream); }
.band-espresso h2, .band-espresso h3 { color: var(--white); }
.band-espresso a { color: var(--blush); }

.section-head {
  max-width: 62ch;
  margin: 0 auto 2.4em;
  text-align: center;
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius);
  padding: 30px;
}
.card .stage {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--rose-brown-dk);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

/* ---------- Stage / timeline (used only where content is a real sequence) ---------- */
.stage-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--rose-brown);
  margin-left: 12px;
}
.stage-item {
  position: relative;
  padding: 4px 0 34px 28px;
}
.stage-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rose-brown);
  border: 3px solid var(--cream);
}
.stage-item h3 { margin-bottom: 0.3em; }

/* ---------- Forms ---------- */
form.contact-form {
  display: grid;
  gap: 18px;
  max-width: 560px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--espresso-soft);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--cream-deep);
  background: var(--white);
  color: var(--espresso);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rose-brown);
}
.form-note {
  font-size: 0.88rem;
  color: var(--espresso-soft);
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--espresso);
  color: var(--blush);
  padding: 52px 0 32px;
  margin-top: 40px;
}
footer.site-footer .wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
}
@media (max-width: 760px) {
  footer.site-footer .wrap { grid-template-columns: 1fr; }
}
footer.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.9em;
}
footer.site-footer ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer li { margin-bottom: 8px; }
footer.site-footer a { color: var(--blush); }
footer.site-footer a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 20px 28px 0;
  border-top: 1px solid rgba(247,241,227,0.15);
  font-size: 0.86rem;
  color: rgba(247,241,227,0.7);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(247,241,227,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.social-row a:hover {
  background: var(--rose-brown);
  border-color: var(--rose-brown);
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-lg { margin-top: 48px; }
.tag {
  display: inline-block;
  background: var(--cream-deep);
  color: var(--espresso-soft);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0 8px 8px 0;
}

/* ---------- Chapter divider (storybook signature) ---------- */
.chapter-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 420px;
  margin: 0 auto 3em;
}
.chapter-divider .line {
  flex: 1;
  height: 1px;
  background: var(--rose-brown);
  opacity: 0.4;
}
.chapter-divider svg { flex-shrink: 0; opacity: 0.8; }

/* ---------- Service tabs ---------- */
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2.4em;
}
.tab-btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--espresso-soft);
  background: transparent;
  color: var(--espresso-soft);
  cursor: pointer;
}
.tab-btn[aria-selected="true"] {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--white);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Pricing / offering cards ---------- */
.offer-card {
  background: var(--white);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.offer-card.popular {
  border: 2px solid var(--rose-brown);
}
.popular-ribbon {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--rose-brown);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.offer-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.offer-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--rose-brown-dk);
  white-space: nowrap;
}
.offer-duration {
  font-size: 0.85rem;
  color: var(--espresso-soft);
}
.offer-card ul {
  margin: 4px 0 8px;
  padding-left: 20px;
  color: var(--espresso-soft);
  font-size: 0.95rem;
}
.offer-card ul li { margin-bottom: 5px; }
.offer-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Membership highlight card ---------- */
.membership-card {
  background: var(--espresso);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 760px) {
  .membership-card { grid-template-columns: 1fr; }
}
.membership-card h3 { color: var(--white); }
.membership-card ul { padding-left: 20px; margin: 1em 0; }
.membership-card li { margin-bottom: 6px; }
.membership-price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--white);
}
.membership-price span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--blush);
  font-weight: 400;
}
.membership-panel {
  background: rgba(247,241,227,0.06);
  border: 1px solid rgba(247,241,227,0.18);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
}

/* ---------- Philosophy cards (no forced sequence) ---------- */
.philosophy-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--cream-deep);
  padding: 28px;
  border-top: 3px solid var(--rose-brown);
}

/* ---------- Blog ---------- */
.blog-card {
  background: var(--white);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-card img { aspect-ratio: 16/10; object-fit: cover; }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.blog-meta {
  font-size: 0.85rem;
  color: var(--rose-brown-dk);
  font-weight: 600;
}

.article-header {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.article-hero-img {
  border-radius: var(--radius);
  margin: 30px auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  max-width: 820px;
  width: 100%;
  display: block;
}

@media (max-width: 600px) {
  .article-hero-img {
    margin: 20px auto;
    border-radius: 14px;
    aspect-ratio: 4/3;
  }
  .article-header { padding: 0 4px; }
  .article-body { font-size: 1rem; }
  .article-body .stat-block,
  .article-cta { padding: 18px 20px; }
}
.article-body {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.08rem;
}
.article-body h2 {
  margin-top: 1.6em;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}
.article-body ul { padding-left: 22px; }
.article-body li { margin-bottom: 6px; }
.article-body .stat-block {
  background: var(--blush);
  border-radius: 14px;
  padding: 24px 28px;
  margin: 1.6em 0;
}
.article-cta {
  background: var(--white);
  border: 1.5px dashed var(--rose-brown);
  border-radius: 14px;
  padding: 24px 28px;
  margin-top: 2em;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .hero { padding: 44px 0 40px; }
  section.band { padding: 44px 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .card, .offer-card { padding: 22px; }
  .membership-card { padding: 26px 22px; gap: 24px; }
  .membership-price { font-size: 2.1rem; }
  .tabs { gap: 8px; }
  .tab-btn { padding: 10px 16px; font-size: 0.88rem; flex: 1 1 auto; }
  .popular-ribbon { left: 16px; top: -12px; font-size: 0.7rem; padding: 4px 12px; }
  footer.site-footer .wrap { gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  nav.main-nav ul li a.btn { width: 100%; text-align: center; }
  .site-header .wrap { padding-top: 2px; padding-bottom: 2px; }
  .nav-toggle { min-width: 44px; min-height: 44px; }
}
