/* Still I Rise Breathwork — design system
   Warm, earthy, grounded. The site breathes. */

:root {
  --alabaster: #F5EFE6;
  --alabaster-deep: #ECE3D4;
  --cream: #FBF7F0;
  --sienna: #6E3B2C;
  --sienna-deep: #522A1F;
  --ink: #3C2C23;
  --sky: #8FB0C4;
  --sky-deep: #5E8399;
  --ochre: #C68A3E;
  --ochre-soft: #E8CFA6;
  --sage: #9FA98A;
  --line: rgba(110, 59, 44, 0.14);
  --shadow: 0 18px 50px rgba(82, 42, 31, 0.12);
  --shadow-sm: 0 6px 20px rgba(82, 42, 31, 0.10);
  --radius: 18px;
  --maxw: 1120px;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--alabaster);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--serif); color: var(--sienna-deep); font-weight: 500; line-height: 1.12; }

a { color: var(--sky-deep); text-decoration: none; }
a:hover { color: var(--sienna); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sky-deep); font-weight: 700; margin-bottom: 14px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: 14px 28px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-align: center;
}
.btn-primary { background: var(--sienna); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--sienna-deep); color: #fff; transform: translateY(-2px); }
.btn-sky { background: var(--sky); color: var(--sienna-deep); box-shadow: var(--shadow-sm); }
.btn-sky:hover { background: var(--sky-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--sienna); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--sienna); background: rgba(110,59,44,0.04); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-lg { padding: 17px 38px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 239, 230, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--serif); font-size: 1.28rem; color: var(--sienna-deep); font-weight: 600; letter-spacing: .01em; }
.brand span { color: var(--sky-deep); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 0.98rem; }
.nav-links a:hover { color: var(--sienna); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--sienna); margin: 5px 0; transition: .2s; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.1rem); margin-bottom: 20px; }
.hero .lead { font-size: 1.2rem; color: var(--ink); max-width: 30ch; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo-wrap { position: relative; display: flex; justify-content: center; }
.hero-photo {
  width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 46% 54% 48% 52% / 50% 46% 54% 50%;
  box-shadow: var(--shadow); border: 6px solid var(--cream);
  position: relative; z-index: 2;
}
/* breathing halo behind the photo */
.breath-halo {
  position: absolute; z-index: 1; top: 50%; left: 50%;
  width: 118%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(143,176,196,0.34), rgba(143,176,196,0) 68%);
  transform: translate(-50%, -50%);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(0.86); opacity: .65; }
  50%      { transform: translate(-50%, -50%) scale(1.06); opacity: 1; }
}
.hero-blob {
  position: absolute; top: -60px; right: -120px; width: 380px; height: 380px; z-index: 0;
  background: radial-gradient(circle, rgba(198,138,62,0.18), rgba(198,138,62,0) 70%);
  border-radius: 50%;
}
@media (prefers-reduced-motion: reduce) { .breath-halo { animation: none; } }

/* ---------- sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 14px; }
.section-head p { font-size: 1.1rem; color: var(--ink); }
.alt { background: var(--alabaster-deep); }

/* about */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.about-photo { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 3/4; box-shadow: var(--shadow); border: 6px solid var(--cream); }
.about-body p { margin-bottom: 18px; font-size: 1.06rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag { background: var(--cream); border: 1px solid var(--line); color: var(--sienna); padding: 7px 15px; border-radius: 999px; font-size: 0.86rem; font-weight: 700; }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: rgba(143,176,196,0.22); }
.svc-icon svg { width: 26px; height: 26px; stroke: var(--sky-deep); }
.svc-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.svc-card p { font-size: 1rem; color: var(--ink); margin-bottom: 16px; }
.svc-list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-top: auto; }
.svc-list li { position: relative; padding-left: 24px; font-size: 0.97rem; }
.svc-list li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--ochre); }
.expand-toggle { margin-top: 18px; background: none; border: none; color: var(--sky-deep); font-weight: 700; cursor: pointer; font-family: var(--sans); font-size: 0.95rem; padding: 0; display: inline-flex; align-items: center; gap: 6px; }
.expand-toggle .chev { transition: transform .2s; }
.expand-toggle.open .chev { transform: rotate(180deg); }
.expand-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.expand-panel.open { max-height: 420px; }

/* workshops */
.ws-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.ws-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 6px;
}
.ws-date { display: flex; align-items: baseline; gap: 10px; }
.ws-day { font-family: var(--serif); font-size: 2.1rem; color: var(--sienna); line-height: 1; }
.ws-mon { font-family: var(--serif); font-size: 1.1rem; color: var(--sky-deep); text-transform: uppercase; letter-spacing: .08em; }
.ws-title { font-family: var(--serif); font-size: 1.24rem; color: var(--sienna-deep); margin: 8px 0 2px; }
.ws-meta { display: flex; flex-direction: column; gap: 4px; margin: 6px 0 14px; font-size: 0.95rem; color: var(--ink); }
.ws-meta .row { display: flex; align-items: center; gap: 8px; }
.ws-meta svg { width: 16px; height: 16px; stroke: var(--sage); flex: none; }
.ws-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.spaces { font-size: 0.88rem; font-weight: 700; }
.spaces.ok { color: var(--sage); }
.spaces.low { color: var(--ochre); }
.spaces.full { color: #b04a3a; }
.price-tag { font-family: var(--serif); font-size: 1.15rem; color: var(--sienna); }

/* footer */
.footer { background: var(--sienna-deep); color: var(--ochre-soft); padding: 80px 0 40px; text-align: center; }
.footer-word { font-family: var(--serif); font-size: clamp(2.6rem, 9vw, 7rem); color: var(--cream); line-height: .95; letter-spacing: .02em; opacity: .96; }
.footer-links { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin: 34px 0 26px; }
.footer-links a { color: var(--ochre-soft); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: #fff; }
.footer-links svg { width: 18px; height: 18px; stroke: currentColor; }
.footer-fine { font-size: 0.85rem; color: rgba(232,207,166,0.6); }
.footer-fine a { color: rgba(232,207,166,0.85); text-decoration: underline; }

/* floating CTA */
.floating-cta { position: fixed; right: 22px; bottom: 22px; z-index: 40; box-shadow: 0 14px 34px rgba(82,42,31,0.32); }
.floating-cta.hidden { display: none; }

/* ---------- modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(60, 34, 26, 0.55);
  backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--alabaster); border-radius: 22px; width: 100%; max-width: 480px;
  max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow); position: relative;
}
.modal-head { padding: 26px 30px 0; }
.modal-body { padding: 22px 30px 30px; }
.modal-close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 1.6rem; color: var(--sienna); cursor: pointer; line-height: 1; }
.modal h3 { font-size: 1.5rem; margin-bottom: 4px; }
.modal-sub { color: var(--sky-deep); font-weight: 700; font-size: 0.95rem; }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; color: var(--sienna-deep); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--sans); font-size: 1rem; background: var(--cream); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(143,176,196,0.25); }
.field-row { display: flex; gap: 14px; }
.field-row .field { flex: 1; }

.summary-box { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; }
.summary-box .line { display: flex; justify-content: space-between; gap: 12px; font-size: 0.96rem; padding: 3px 0; }
.summary-box .line strong { color: var(--sienna-deep); }
.summary-box .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; font-size: 1.1rem; }

/* payment step */
.pay-qr { display: block; width: 200px; height: 200px; margin: 4px auto 16px; border-radius: 16px; background: var(--cream); padding: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pay-id { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.pay-id .lbl { font-size: 0.78rem; color: var(--sky-deep); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.pay-id .val { font-family: var(--serif); font-size: 1.15rem; color: var(--sienna-deep); }
.copy-btn { background: var(--sky); color: var(--sienna-deep); border: none; border-radius: 9px; padding: 8px 12px; font-weight: 700; cursor: pointer; font-size: 0.85rem; font-family: var(--sans); flex: none; }
.copy-btn:hover { background: var(--sky-deep); color: #fff; }
.ref-box { background: rgba(198,138,62,0.12); border: 1px dashed var(--ochre); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.ref-box .lbl { font-size: 0.78rem; color: var(--ochre); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.ref-box .ref { font-weight: 700; color: var(--sienna-deep); display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.note { font-size: 0.88rem; color: var(--ink); background: rgba(143,176,196,0.14); border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; }
.pay-success { text-align: center; padding: 14px 0; }
.pay-success .check { width: 62px; height: 62px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; margin: 0 auto 16px; }
.pay-success .check svg { width: 32px; height: 32px; stroke: #fff; }
.pay-success h3 { margin-bottom: 8px; }
.form-error { background: rgba(176,74,58,0.12); color: #8f3325; border-radius: 10px; padding: 10px 14px; font-size: 0.9rem; margin-bottom: 14px; font-weight: 600; }

.hidden { display: none !important; }

/* ---------- pause & breathe band ---------- */
.breathe-band { background: linear-gradient(180deg, var(--alabaster) 0%, var(--cream) 100%); text-align: center; }
.breathe-inner { display: flex; flex-direction: column; align-items: center; }
.breathe-orb {
  width: clamp(130px, 20vw, 200px); height: clamp(130px, 20vw, 200px); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.9), var(--sky) 52%, var(--sky-deep));
  display: grid; place-items: center; box-shadow: 0 30px 70px -30px rgba(94,131,153,0.85);
  animation: breathe-orb 11s ease-in-out infinite;
}
.breathe-orb__label { font-family: var(--serif); font-size: 1.3rem; color: #fff; letter-spacing: .1em; text-shadow: 0 2px 10px rgba(0,0,0,.15); }
@keyframes breathe-orb { 0%,100% { transform: scale(.82); } 18% { transform: scale(1.06); } 45% { transform: scale(1.06); } 72% { transform: scale(.82); } }
.breathe-hint { margin-top: 20px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-deep); font-weight: 700; }
.pull-quote { font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.3rem); color: var(--sienna-deep); max-width: 22ch; margin: 26px auto 0; line-height: 1.25; font-style: italic; }
@media (prefers-reduced-motion: reduce) { .breathe-orb { animation: none; } }

/* ---------- enquiry ---------- */
.enquire-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.enquire-intro h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 14px; }
.enquire-intro p { font-size: 1.08rem; color: var(--ink); }
.enquire-form { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.enquire-ok { background: rgba(159,169,138,0.22); color: #5c6b45; border-radius: 10px; padding: 14px 16px; font-weight: 700; margin-bottom: 14px; }

/* payment methods hint */
.pay-methods { text-align: center; font-size: .82rem; color: var(--sky-deep); margin-top: 8px; }

/* workshop type badge */
.ws-tag { align-self: flex-start; background: rgba(143,176,196,0.22); color: var(--sky-deep); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; margin-bottom: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero-grid, .about-grid, .enquire-grid { grid-template-columns: 1fr; }
  .hero-photo-wrap { order: -1; }
  .hero-photo { max-width: 320px; }
  .svc-grid { grid-template-columns: 1fr; }
  .nav-links { position: fixed; inset: 72px 0 auto 0; background: var(--alabaster); flex-direction: column; gap: 0; padding: 10px 0; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); transform: translateY(-140%); transition: transform .25s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 24px; width: 100%; }
  .nav-links .btn { margin: 10px 24px; }
  .nav-toggle { display: block; }
  section { padding: 60px 0; }
}
