:root {
  --ink: #1f2b24;
  --muted: #627067;
  --paper: #f6f3ec;
  --mist: #e7ece3;
  --sage: #78917a;
  --moss: #304b37;
  --water: #5d8f93;
  --stone: #d8d0c3;
  --white: #fffaf2;
  --shadow: 0 24px 70px rgba(31, 43, 36, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: rgba(22, 35, 28, 0.76);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(22, 35, 28, 0.08);
}

.brand,
.main-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 6px 0 0 rgba(255, 250, 242, 0.55);
}

.main-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.94rem;
}

.main-nav a {
  text-decoration: none;
  opacity: 0.9;
}

.main-nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 130px clamp(20px, 5vw, 72px) 78px;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center bottom;
  filter: brightness(1.16) saturate(1.18);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(22, 35, 28, 0.68), rgba(22, 35, 28, 0.28) 52%, rgba(22, 35, 28, 0.06)),
    linear-gradient(0deg, rgba(31, 43, 36, 0.58), rgba(31, 43, 36, 0.02) 48%);
}

.hero-content {
  position: relative;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--water);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #c7e2cd;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(3.3rem, 8vw, 7.7rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 4.4rem);
}

h3 {
  font-size: 1.3rem;
}

.hero-text {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 250, 242, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--moss);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 250, 242, 0.68);
  background: rgba(255, 250, 242, 0.12);
  backdrop-filter: blur(12px);
}

.section {
  padding: clamp(70px, 10vw, 128px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.section-copy {
  max-width: 620px;
}

.section-copy p:not(.eyebrow),
.breathing-band p,
.contact-section p {
  color: var(--muted);
  font-size: 1.08rem;
}

.image-stack {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 18px;
  align-items: end;
}

.image-stack img,
.gallery img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-stack img:first-child {
  height: 440px;
}

.image-stack img:last-child {
  height: 560px;
}

.breathing-band {
  display: grid;
  grid-template-columns: 180px minmax(0, 680px);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  margin: 0 clamp(20px, 5vw, 72px);
  padding: clamp(34px, 6vw, 70px);
  border-radius: 8px;
  background: var(--mist);
}

.breathing-orbit {
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(48, 75, 55, 0.16);
  border-radius: 50%;
}

.breathing-orbit span {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #dfeee7, var(--water));
  animation: breathe 8s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.82);
    opacity: 0.78;
  }

  45% {
    transform: scale(1.45);
    opacity: 1;
  }
}

.centered {
  margin: 0 auto 36px;
  text-align: center;
}

.rituals {
  background: var(--paper);
}

.ritual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ritual-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(48, 75, 55, 0.12);
  border-radius: 8px;
  background: var(--white);
}

.ritual-number {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--sage);
  font-weight: 900;
}

.ritual-grid p {
  color: var(--muted);
}

.sound-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  margin-top: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(93, 143, 147, 0.34);
  border-radius: 999px;
  color: var(--moss);
  background: rgba(231, 236, 227, 0.62);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.sound-button:hover {
  border-color: rgba(93, 143, 147, 0.62);
  background: rgba(231, 236, 227, 0.92);
  transform: translateY(-1px);
}

.sound-button[aria-pressed="true"] {
  color: var(--white);
  border-color: var(--moss);
  background: var(--moss);
}

.sound-button-icon {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(93, 143, 147, 0.16);
}

.gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 1fr;
  gap: 18px;
  padding: 0 clamp(20px, 5vw, 72px) clamp(70px, 9vw, 116px);
}

.gallery img {
  height: 430px;
}

.gallery img:nth-child(2) {
  margin-top: 54px;
}

.exercises {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
  background: var(--mist);
}

.exercise-list {
  display: grid;
  gap: 14px;
}

.exercise-list article {
  display: grid;
  grid-template-columns: 94px minmax(0, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid rgba(48, 75, 55, 0.16);
}

.exercise-list article:last-child {
  border-bottom: 1px solid rgba(48, 75, 55, 0.16);
}

.exercise-list span,
.book-type {
  color: var(--sage);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.exercise-list p,
.wisdom-grid p,
.book-grid p,
.affiliate-note {
  color: var(--muted);
}

.wisdom-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(30px, 6vw, 80px);
  padding: clamp(70px, 10vw, 128px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background: #243a2b;
}

.wisdom-main {
  max-width: 760px;
}

.wisdom-main .eyebrow,
.wisdom-section p {
  color: #cfe2d2;
}

.wisdom-grid {
  display: grid;
  gap: 18px;
}

.wisdom-grid article {
  padding: 26px;
  border: 1px solid rgba(255, 250, 242, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.06);
}

.book-section {
  background: var(--paper);
}

.affiliate-note {
  max-width: 840px;
  margin: -10px auto 34px;
  padding: 14px 18px;
  border: 1px solid rgba(48, 75, 55, 0.12);
  border-radius: 8px;
  background: var(--white);
  font-size: 0.95rem;
  text-align: center;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.book-grid article {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border: 1px solid rgba(48, 75, 55, 0.12);
  border-radius: 8px;
  background: var(--white);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  color: var(--moss);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(48px, 7vw, 80px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--moss);
}

.contact-section div {
  max-width: 820px;
}

.contact-section .eyebrow,
.contact-section p {
  color: #cfe2d2;
}

.contact-section .button {
  flex: 0 0 auto;
  color: var(--moss);
  background: var(--white);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #eee8dc;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.credits {
  max-width: 520px;
  text-align: right;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 150px;
  }

  .intro,
  .breathing-band,
  .exercises,
  .wisdom-section,
  .ritual-grid,
  .gallery,
  .book-grid {
    grid-template-columns: 1fr;
  }

  .exercise-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .image-stack {
    grid-template-columns: 1fr 1fr;
  }

  .image-stack img:first-child,
  .image-stack img:last-child,
  .gallery img {
    height: 340px;
  }

  .gallery img:nth-child(2) {
    margin-top: 0;
  }

  .contact-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .credits {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .main-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 10px 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .image-stack {
    grid-template-columns: 1fr;
  }

  .breathing-band {
    margin-inline: 0;
    border-radius: 0;
  }
}
