/* =========================================================
   TORONTO BREATHWORK — SHARED STYLES
   ========================================================= */

:root {
  --bone: #ffffff;
  --paper: #ffffff;
  --ink: #000000;
  --char: #000000;
  --stone: #000000;
  --mute: rgba(0, 0, 0, 0.55);
  --line: rgba(0, 0, 0, 0.14);
  --line-soft: rgba(0, 0, 0, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bone);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.05) 1px, transparent 0);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  mix-blend-mode: multiply;
}

.display { font-family: 'Fraunces', serif; font-weight: 300; letter-spacing: -0.02em; line-height: 0.95; }
.label { font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 400; }
em.serif-i { font-family: 'Fraunces', serif; font-style: italic; font-weight: 300; }

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(255, 255, 255, 0);
}
nav.scrolled,
nav.solid {
  padding: 18px 48px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
/* Inner pages have a solid nav by default since they don't have a full-bleed hero */
.has-solid-nav nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-soft);
  padding: 18px 48px;
}

nav .logo {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
nav .logo em { font-style: italic; font-weight: 300; }
nav ul { display: flex; gap: 36px; list-style: none; }
nav ul a {
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  transition: opacity 0.3s;
}
nav ul a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
nav ul a:hover::after { width: 100%; }
nav ul a.current::after { width: 100%; }

.cta-pill {
  padding: 12px 24px;
  border: 1px solid currentColor;
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.4s;
  display: inline-block;
}
.cta-pill:hover { background: var(--ink); color: var(--bone); }

/* ============ HERO ON HOMEPAGE (kept here to share between index + inner) ============ */
.hero {
  height: 100vh;
  min-height: 720px;
  position: relative;
  overflow: hidden;
  color: var(--bone);
}
.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroFloat 24s ease-in-out infinite alternate;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 35%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.75) 100%);
}
@keyframes heroFloat {
  0% { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1%, -2%); }
}

/* The homepage hero (white text on image) needs its own nav treatment */
body.home nav {
  mix-blend-mode: difference;
}
body.home nav .logo,
body.home nav ul a,
body.home nav .cta-pill {
  color: var(--bone);
}
body.home nav.scrolled {
  mix-blend-mode: normal;
}
body.home nav.scrolled .logo,
body.home nav.scrolled ul a,
body.home nav.scrolled .cta-pill {
  color: var(--ink);
}

/* ============ PAGE HEADER (inner pages) ============ */
.page-header {
  padding: 200px 48px 100px;
  max-width: 1600px;
  margin: 0 auto;
}
.page-header .crumbs {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 32px;
  display: block;
}
.page-header .crumbs a {
  color: inherit;
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 0.3s;
}
.page-header .crumbs a:hover { opacity: 1; }
.page-header .crumbs .sep { margin: 0 10px; opacity: 0.4; }
.page-header h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(56px, 10vw, 168px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin-bottom: 56px;
  max-width: 1400px;
}
.page-header h1 em { font-style: italic; }
.page-header-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  margin-top: 32px;
}
.page-header-meta .item .label {
  display: block;
  margin-bottom: 12px;
  opacity: 0.5;
}
.page-header-meta .item .val {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: -0.01em;
}
.page-header-meta .item .val em { font-style: italic; }

/* Full-bleed image below page header */
.page-feature-image {
  width: 100%;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  margin-bottom: 0;
}
.page-feature-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}

/* ============ EDITORIAL CONTENT BLOCK ============ */
.editorial {
  padding: 160px 48px;
  max-width: 1600px;
  margin: 0 auto;
}
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.editorial-label {
  position: sticky;
  top: 120px;
}
.editorial-label .label {
  color: var(--ink);
  margin-bottom: 16px;
  display: block;
}
.editorial-label .num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  opacity: 0.55;
}
.editorial-body h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 4.8vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 56px;
  max-width: 1000px;
}
.editorial-body h2 em { font-style: italic; }
.editorial-body h2 .light { opacity: 0.45; }
.editorial-body .lead {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 760px;
}
.editorial-body p {
  font-size: 16px;
  line-height: 1.75;
  opacity: 0.78;
  margin-bottom: 24px;
  max-width: 720px;
}
.editorial-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
  max-width: 880px;
}
.editorial-cols p { margin-bottom: 0; }

/* ============ LIST / OFFERINGS ============ */
.offerings {
  padding: 120px 48px 160px;
  max-width: 1600px;
  margin: 0 auto;
}
.offerings-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 64px;
}
.offerings-header h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 5.5vw, 88px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 900px;
}
.offerings-header h2 em { font-style: italic; }
.offerings-header .num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  opacity: 0.55;
  white-space: nowrap;
}

.offering-list {
  border-top: 1px solid var(--line);
}
.offering-item {
  display: grid;
  grid-template-columns: 60px 1fr 2fr auto;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding 0.4s;
}
.offering-item:hover { padding-left: 18px; }
.offering-item .idx {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  opacity: 0.5;
  padding-top: 6px;
}
.offering-item h3 {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.offering-item h3 em { font-style: italic; }
.offering-item .meta {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-top: 8px;
}
.offering-item p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.78;
  max-width: 540px;
}
.offering-item .price {
  text-align: right;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 18px;
  white-space: nowrap;
}
.offering-item .price small {
  display: block;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-top: 6px;
}

/* ============ TWO-UP IMAGE BLOCK ============ */
.two-up {
  padding: 120px 48px;
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
}
.two-up .image-tall {
  aspect-ratio: 4/5;
  overflow: hidden;
}
.two-up .image-tall img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}
.two-up .text-col h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}
.two-up .text-col h2 em { font-style: italic; }
.two-up .text-col .lead {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 24px;
}
.two-up .text-col p {
  line-height: 1.75;
  opacity: 0.78;
  margin-bottom: 20px;
  max-width: 540px;
}
.two-up.image-right { direction: rtl; }
.two-up.image-right > * { direction: ltr; }

/* ============ QUOTE BLOCK ============ */
.quote-block {
  padding: 160px 48px;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-block blockquote {
  max-width: 1100px;
  margin: 0 auto;
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.quote-block blockquote em { font-style: italic; }
.quote-block .cite {
  margin-top: 40px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* ============ FAQ ============ */
.faq {
  padding: 160px 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.faq h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 64px;
}
.faq h2 em { font-style: italic; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  cursor: pointer;
}
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 32px;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.4s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding-top: 20px;
  line-height: 1.75;
  opacity: 0.78;
  max-width: 720px;
  font-size: 15px;
}

/* ============ END CTA STRIP ============ */
.cta-strip {
  padding: 180px 48px;
  text-align: center;
}
.cta-strip .section-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  opacity: 0.55;
  margin-bottom: 32px;
  display: block;
}
.cta-strip h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(48px, 8vw, 140px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.04em;
  max-width: 1400px;
  margin: 0 auto 48px;
}
.cta-strip h2 em { font-style: italic; }
.cta-strip p {
  max-width: 560px;
  margin: 0 auto 48px;
  opacity: 0.7;
  font-size: 16px;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary, .btn-secondary {
  padding: 18px 36px;
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s;
  display: inline-block;
}
.btn-primary {
  background: var(--ink);
  color: var(--bone);
}
.btn-primary:hover { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 17px 35px; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--bone); }

/* ============ FOOTER ============ */
footer {
  background: var(--bone);
  color: var(--ink);
  padding: 100px 48px 40px;
  border-top: 1px solid var(--line);
}
.footer-top {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 96px;
}
.footer-brand h3 {
  font-family: 'Fraunces', serif;
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.footer-brand h3 em { font-style: italic; }
.footer-brand p {
  opacity: 0.65;
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}
.footer-col h5 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 400;
  opacity: 0.65;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.footer-col ul a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  max-width: 1600px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  opacity: 0.55;
  letter-spacing: 0.05em;
}
.footer-wordmark {
  font-family: 'Fraunces', serif;
  font-size: clamp(80px, 18vw, 280px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  font-weight: 300;
  text-align: center;
  margin: 60px 0 40px;
  color: var(--ink);
  opacity: 0.95;
  user-select: none;
}
.footer-wordmark em { font-style: italic; }

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Page header in-load animation */
.page-header h1,
.page-header .crumbs,
.page-header .page-header-meta {
  opacity: 0;
  transform: translateY(30px);
  animation: pageIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.page-header .crumbs { animation-delay: 0.1s; }
.page-header h1 { animation-delay: 0.25s; }
.page-header .page-header-meta { animation-delay: 0.5s; }
@keyframes pageIn { to { opacity: 1; transform: translateY(0); } }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  nav { padding: 18px 24px; }
  nav.scrolled, nav.solid, .has-solid-nav nav { padding: 14px 24px; }
  nav ul { display: none; }
  .page-header { padding: 140px 24px 60px; }
  .page-header-meta { grid-template-columns: 1fr; gap: 24px; }
  .editorial { padding: 80px 24px; }
  .editorial-grid { grid-template-columns: 1fr; gap: 40px; }
  .editorial-label { position: relative; top: 0; }
  .editorial-cols { grid-template-columns: 1fr; gap: 24px; }
  .offerings { padding: 60px 24px 100px; }
  .offerings-header { flex-direction: column; align-items: start; gap: 24px; }
  .offering-item { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .offering-item .price { text-align: left; }
  .two-up { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px; }
  .two-up.image-right { direction: ltr; }
  .quote-block { padding: 80px 24px; }
  .faq { padding: 80px 24px; }
  .faq-item summary { font-size: 18px; gap: 16px; }
  .cta-strip { padding: 100px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
