/* ============================================
   HOPE FOR RECOVERY — Design Tokens
   ============================================ */
:root {
  /* Color */
  --bg: #FFF7FC;
  --bg-warm: #FFF7FC;
  --ink: #3D2452;
  --ink-soft: #8B6FA8;
  --purple: #C084E8;
  --purple-deep: #9B4FD9;
  --rose: #FF7EB3;
  --gold: #FFB6D9;
  --line: #F5D9EF;
  --white: #FFFFFF;

  /* Type */
  --display: 'Playfair Display', serif;
  --body: 'Inter', sans-serif;

  /* Layout */
  --max-w: 1180px;
  --radius: 18px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  margin: 0 0 0.5em 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

em, .accent-word {
  font-style: italic;
  color: var(--purple-deep);
}

p { margin: 0 0 1em 0; }

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

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ============================================
   HEADER / NAV
   ============================================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 46px;
  width: 46px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

.brand-name span {
  display: block;
  font-family: var(--body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.main-nav a {
  font-size: 0.93rem;
  color: var(--ink-soft);
  transition: color 0.2s;
  position: relative;
}

nav.main-nav a:hover { color: var(--purple-deep); }

nav.main-nav a.current {
  color: var(--ink);
  font-weight: 600;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-deep), var(--rose));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(155, 79, 217, 0.32);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(155, 79, 217, 0.42); }

.btn-ghost {
  background: transparent;
  color: var(--purple-deep);
  border: 1.5px solid var(--purple);
}

.btn-ghost:hover { background: var(--purple); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.3s;
}

/* ============================================
   FOUNDER BANNER (top strip, all pages)
   ============================================ */
.founder-banner {
  background: linear-gradient(100deg, var(--purple-deep) 0%, var(--purple) 45%, var(--rose) 100%);
}

.founder-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 28px;
  text-align: center;
  flex-wrap: wrap;
}

.founder-banner-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.85);
  flex-shrink: 0;
}

.founder-banner-inner p {
  margin: 0;
  color: #FDF6F0;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}

.founder-banner-inner strong {
  color: #fff;
}

.founder-banner-inner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* ============================================
   ARC DIVIDER (signature structural motif)
   ============================================ */
.arc-divider {
  width: 100%;
  height: 60px;
  overflow: hidden;
  line-height: 0;
}
.arc-divider svg { width: 100%; height: 100%; display: block; }

/* ============================================
   SECTIONS
   ============================================ */
section { padding: 88px 0; }
.section-tight { padding: 56px 0; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-deep);
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 72px 0 40px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 126, 179, 0.35), transparent 55%),
    radial-gradient(circle at 8% 85%, rgba(155, 79, 217, 0.32), transparent 50%),
    var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/dock_sunset.png');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.10;
  pointer-events: none;
}

.hero .container.hero-grid { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
}

.hero .lead { margin: 22px 0 32px; max-width: 480px; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-schedule {
  margin-top: 26px;
  font-size: 0.88rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  box-shadow: 0 2px 16px rgba(46, 52, 64, 0.06);
}
.hero-schedule .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--rose);
  display: inline-block;
}

/* Breathing circle signature */
.breathe-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.breathe-stage {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breathe-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed var(--line);
}

.breathe-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--rose) 45%, var(--purple) 100%);
  box-shadow: 0 0 50px rgba(255, 126, 179, 0.5);
  transition: transform 4s ease-in-out;
  transform: scale(1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}

.breathe-circle:hover { filter: brightness(1.03); }

.breathe-circle.inhale { transform: scale(1.55); transition: transform 4s ease-in-out; }
.breathe-circle.hold { transform: scale(1.55); transition: transform 0.4s ease; }
.breathe-circle.exhale { transform: scale(1); transition: transform 6s ease-in-out; }

.breathe-label {
  font-family: var(--display);
  font-style: italic;
  color: var(--purple-deep);
  font-size: 1.1rem;
  min-height: 1.4em;
}

.breathe-hint {
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ============================================
   RELATE / EMPATHY CHECKLIST
   ============================================ */
.relate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 48px;
  max-width: 900px;
  margin: 0 auto;
}
.relate-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.relate-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}
.relate-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-warm);
  color: var(--purple-deep);
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  margin-top: 2px;
}

/* ============================================
   BLOG POST BODY
   ============================================ */
.post-body {
  max-width: 700px;
  margin: 0 auto;
}
.post-body p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.post-body h2 {
  font-size: 1.5rem;
  margin-top: 2em;
  color: var(--ink);
}
.post-body ul {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  padding-left: 1.3em;
}
.post-body li { margin-bottom: 0.5em; }
.post-body .post-lead {
  font-size: 1.2rem;
  color: var(--ink);
  font-style: italic;
  border-left: 3px solid var(--purple);
  padding-left: 20px;
  margin: 1.5em 0;
}
.post-cta {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 3em;
  text-align: center;
  box-shadow: 0 2px 24px rgba(46, 52, 64, 0.05);
}
.post-cta p { margin-bottom: 18px; }

/* ============================================
   CARDS
   ============================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 2px 24px rgba(46, 52, 64, 0.05);
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(46, 52, 64, 0.09);
  transform: translateY(-2px);
}

.card img {
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 { font-size: 1.15rem; }
.card p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 0; }

.img-panel {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.img-panel img { width: 100%; height: 100%; object-fit: cover; }

/* Quote / affirmation panels using cropped collage art */
.affirm-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.affirm-strip img {
  border-radius: var(--radius);
  width: 100%;
  height: 230px;
  object-fit: cover;
}

/* ============================================
   PRICING CARD
   ============================================ */
.price-card {
  background: linear-gradient(160deg, var(--white), var(--bg-warm));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  opacity: 0.5;
}
.price-amount {
  font-family: var(--display);
  font-size: 3.2rem;
  color: var(--ink);
  margin: 8px 0 0;
}
.price-amount span { font-size: 1rem; color: var(--ink-soft); font-family: var(--body); }

.price-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  text-align: left;
}
.price-list li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--line);
}
.price-list li:last-child { border-bottom: none; }
.price-list li::before {
  content: '✦';
  color: var(--rose);
  flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--ink);
  color: #E9E0F0;
  padding: 60px 0 30px;
  margin-top: 40px;
}
footer .brand-name, footer .brand-name span { color: #E9E0F0; }
footer a { color: #C9B8DA; }
footer a:hover { color: var(--rose); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-grid h4 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--body); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #B7A6C9;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================
   PAGE HEADER (interior pages)
   ============================================ */
.page-hero {
  padding: 56px 0 20px;
  text-align: center;
  position: relative;
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 126, 179, 0.30), transparent 55%),
    radial-gradient(circle at 10% 100%, rgba(155, 79, 217, 0.26), transparent 50%),
    var(--bg);
}
.page-hero .eyebrow { display: block; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
.relate-grid { grid-template-columns: 1fr; }
  .affirm-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  nav.main-nav { position: fixed; top: 74px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 20px 28px; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform 0.3s; align-items: flex-start; gap: 16px; }
  nav.main-nav.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .breathe-stage { width: 220px; height: 220px; }
  .breathe-circle { width: 95px; height: 95px; }
  .founder-banner-inner { padding: 10px 20px; gap: 10px; }
  .founder-banner-inner p { font-size: 0.78rem; }
  .founder-banner-photo { width: 32px; height: 32px; }
}
