/* ============================================================
   Exhale The Noise — design system
   Trauma-informed breathwork & somatic therapy.
   Palette: warm ivory, deep sage, clay. Serif display + airy sans.
   ============================================================ */

:root {
  --bg: #f6f2ea;
  --surface: #fcfaf5;
  --ink: #26231d;
  --ink-soft: #6d655a;
  --sage: #52705c;
  --sage-deep: #3c5546;
  --clay: #bd7d56;
  --line: #e6ded0;
  --dark: #1c2821;
  --dark-soft: #a4b2a6;
  --cream-on-dark: #ece7db;

  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --header-h: 76px;
  --radius: 18px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.08; margin: 0; }
p { margin: 0; }
::selection { background: rgba(82, 112, 92, .22); }

.container { width: min(1160px, 92%); margin: 0 auto; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--clay);
}
.lede {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 300;
}
.serif-em { font-family: var(--font-serif); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .01em;
  padding: .85rem 1.6rem;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--sage); color: #fff; }
.btn--primary:hover { background: var(--sage-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--sage); color: var(--sage); }
.btn--light { background: var(--cream-on-dark); color: var(--dark); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }
.btn--sm { padding: .6rem 1.25rem; font-size: .88rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 max(1.5rem, 4vw);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(246, 242, 234, .86);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: -.01em;
}
.brand em { font-style: italic; color: var(--sage); }
.brand__mark {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7fa58b, var(--sage) 70%);
  box-shadow: 0 0 0 4px rgba(82,112,92,.12);
}
.nav { display: flex; gap: 1.7rem; margin-left: auto; }
.nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: .3rem 0;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--sage);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav-cta { margin-left: .4rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: .4rem;
}
.nav-toggle span { width: 22px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: -12%; right: -8%;
  width: 60vw; height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82,112,92,.10), rgba(82,112,92,0) 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 3rem;
  position: relative;
}
.hero__copy .eyebrow { margin-bottom: 1.4rem; }
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5rem);
  letter-spacing: -.02em;
  margin-bottom: 1.4rem;
}
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--sage); font-style: italic; }
.hero .lede { max-width: 34rem; margin-bottom: 2.2rem; }
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__note { margin-top: 2.4rem; font-size: .85rem; color: var(--ink-soft); }

/* Breathing orb */
.orb { position: relative; width: min(38vw, 420px); height: min(38vw, 420px); margin: 0 auto; }
.orb__core {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255,255,255,.92), rgba(122,160,138,.34) 46%, rgba(82,112,92,.10) 72%);
  box-shadow: inset 0 0 60px rgba(82,112,92,.10);
  animation: breathe 14s var(--ease) infinite;
}
.orb__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(82,112,92,.34);
  animation: ripple 14s ease-out infinite;
}
.orb__ring--2 { animation-delay: 4.6s; }
.orb__ring--3 { animation-delay: 9.3s; }
.orb__label {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sage);
  animation: breathe 14s var(--ease) infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  38% { transform: scale(1.11); }
  55% { transform: scale(1.11); }
}
@keyframes ripple {
  0% { transform: scale(.55); opacity: 0; }
  18% { opacity: .55; }
  100% { transform: scale(1.62); opacity: 0; }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  padding: calc(var(--header-h) + 5rem) 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow { margin-bottom: 1.2rem; }
.page-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  letter-spacing: -.02em;
  max-width: 20ch;
  margin-bottom: 1.2rem;
}
.page-hero .lede { max-width: 44rem; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section--tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--dark); color: var(--cream-on-dark); }
.section__head { margin-bottom: 3rem; max-width: 46rem; }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -.015em; margin: .8rem 0 1rem; }
.section__head .eyebrow { display: block; }

/* ---------- Intro split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split__copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 1.4rem; }
.split__copy p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.split__media { position: relative; }

/* ---------- Photo grid / collage ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 1.2rem;
}
.photo-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(.92);
}
.photo-grid .photo--tall { grid-row: span 2; }
.photo-grid .photo--wide { grid-column: span 1; }
.photo-frame {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo-frame:hover img { transform: scale(1.045); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(38,35,29,.18); border-color: rgba(82,112,92,.4); }
.card__num { font-family: var(--font-serif); font-style: italic; color: var(--clay); font-size: 1.05rem; }
.card h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card__tag { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); font-weight: 500; }
.card__link { margin-top: auto; font-weight: 500; color: var(--sage); display: inline-flex; align-items: center; gap: .4rem; }
.card__link .arrow { transition: transform .3s var(--ease); }
.card__link:hover .arrow { transform: translateX(4px); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.step__num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--sage);
  line-height: 1;
  margin-bottom: .8rem;
  font-style: italic;
}
.step h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.step p { color: var(--ink-soft); }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
}
.marquee__track {
  display: inline-flex;
  gap: 3.5rem;
  padding-right: 3.5rem;
  animation: marquee 40s linear infinite;
}
.marquee__track span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--sage);
}
.marquee__track span.dot { color: var(--clay); font-style: normal; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 7rem 0; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.2rem; color: var(--cream-on-dark); }
.cta-band .lede { color: var(--dark-soft); max-width: 34rem; margin: 0 auto 2.4rem; }
.cta-band--light { background: var(--sage); }
.cta-band--light h2 { color: #fff; }
.cta-band--light .lede { color: rgba(255,255,255,.82); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.2rem; }
.field label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: .45rem; color: var(--ink); }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .9rem 1.1rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(82,112,92,.14);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--ink-soft); }
.form-success {
  background: rgba(82,112,92,.12);
  border: 1px solid rgba(82,112,92,.3);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  color: var(--sage-deep);
}
.form-success strong { font-family: var(--font-serif); font-size: 1.15rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--cream-on-dark); padding: 4.5rem 0 2rem; margin-top: 4rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand--dark { color: var(--cream-on-dark); }
.footer__brand p { color: var(--dark-soft); margin: 1.1rem 0; max-width: 32rem; }
.footer__ig { color: var(--sage); font-weight: 500; }
.footer__ig:hover { color: #7fa58b; }
.footer__nav { display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; }
.footer__nav a { color: var(--dark-soft); transition: color .3s var(--ease); }
.footer__nav a:hover { color: var(--cream-on-dark); }
.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.6rem;
  font-size: .82rem;
  color: var(--dark-soft);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .2s; }
.reveal--delay-3 { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .site-header.nav-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    background: var(--bg);
    padding: 1.5rem 4vw 2rem;
    gap: 1.1rem;
    border-bottom: 1px solid var(--line);
  }
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .orb { width: min(70vw, 300px); height: min(70vw, 300px); }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .cards, .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 2.4rem; }
  .photo-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .photo-grid .photo--tall { grid-row: span 1; }
}

/* ---------- Blog ---------- */
.cards--blog .card { text-decoration: none; color: inherit; }
.back-link { display: inline-block; margin-bottom: 1.5rem; color: var(--sage); font-weight: 500; }
.back-link:hover { color: var(--sage-deep); }
.container--narrow { max-width: 720px; }
.blog-body { font-size: 1.08rem; line-height: 1.9; }
.blog-body p { margin: 0 0 1.5rem; color: var(--ink); }
.blog-body p:last-child { margin-bottom: 0; }
