:root {
  --forest: #4f5a3a;
  --forest-dark: #303628;
  --moss: #71865b;
  --river: #236f70;
  --clay: #cc5500;
  --clay-dark: #ad4800;
  --stone: #e9dbd2;
  --fog: #d8dfc8;
  --night: #3f392f;
  --white: #fffaf2;
  --paper: #f5eadf;
  --text: #3f392f;
  --muted: #6a6257;
  --line: rgba(75, 82, 57, 0.22);
  --shadow: 0 18px 42px rgba(80, 62, 43, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 8%, rgba(204, 85, 0, 0.13), transparent 26%),
    radial-gradient(circle at 88% 14%, rgba(35, 111, 112, 0.12), transparent 24%),
    radial-gradient(circle at 82% 88%, rgba(113, 134, 91, 0.18), transparent 28%),
    linear-gradient(180deg, #f8eee4 0%, var(--stone) 48%, #f4e8dc 100%);
  font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 8% 14%, rgba(113, 134, 91, 0.16), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(204, 85, 0, 0.12), transparent 22%),
    radial-gradient(circle at 80% 86%, rgba(35, 111, 112, 0.12), transparent 25%);
  pointer-events: none;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--forest-dark);
  color: var(--white);
  font-weight: 900;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

strong {
  color: var(--forest-dark);
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(calc(100% - 32px), var(--max));
  margin: 14px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(79, 90, 58, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.88);
  box-shadow: 0 12px 34px rgba(80, 62, 43, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 46px;
  height: 46px;
  overflow: visible;
  flex: 0 0 46px;
  border-radius: 50%;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong,
h1,
h2,
h3 {
  font-family: "Merriweather", Georgia, serif;
}

.brand-text strong {
  font-size: 1.04rem;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  color: #625f50;
  font-size: 0.96rem;
  font-weight: 800;
}

.nav a,
.footer a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.24em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.footer a:hover,
.footer a:focus-visible {
  color: var(--forest);
  text-decoration-color: var(--clay);
}

main,
.footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--clay);
  color: var(--white);
  font-family: "Lato", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(173, 72, 0, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--clay-dark);
  box-shadow: 0 16px 28px rgba(173, 72, 0, 0.28);
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255, 250, 242, 0.78);
  border-color: var(--river);
  color: var(--river);
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(35, 111, 112, 0.1);
  color: #184f50;
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(380px, 1.04fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: clamp(34px, 5vw, 76px) 0 clamp(30px, 5vw, 58px);
}

.hero-copy {
  min-width: 0;
  padding: clamp(10px, 3vw, 34px) 0;
}

.hero > *,
.split > *,
.reverse > *,
.membership-intro > *,
.join-section > * {
  min-width: 0;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
}

p,
li,
summary {
  overflow-wrap: break-word;
}

h1 {
  max-width: 11ch;
  margin: 0 0 24px;
  color: var(--forest-dark);
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.92;
}

h2 {
  margin: 0;
  color: var(--forest-dark);
  font-size: clamp(2.25rem, 4.5vw, 4.35rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

h3 {
  margin: 0 0 10px;
  color: var(--forest-dark);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.12;
}

.lead {
  max-width: 58ch;
  margin: 0;
  color: #4f5a56;
  font-size: clamp(1.08rem, 1.4vw, 1.22rem);
}

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

.hero-art,
.image-panel {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 59, 52, 0.14);
  border-radius: 32px 24px 36px 26px;
  background: var(--fog);
  box-shadow: var(--shadow);
}

.hero-art {
  aspect-ratio: 1 / 1.08;
  transform: rotate(1deg);
}

.hero-art img,
.image-panel img,
.membership-intro img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(31, 59, 52, 0.16);
  border-radius: 24px;
  background: rgba(79, 90, 58, 0.16);
  box-shadow: 0 16px 44px rgba(29, 34, 48, 0.08);
}

.intro-band p {
  margin: 0;
  padding: 22px 18px;
  background: rgba(255, 250, 242, 0.78);
  color: var(--forest-dark);
  font-weight: 800;
  text-align: center;
}

.section {
  padding: clamp(72px, 10vw, 132px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
}

.reverse {
  grid-template-columns: minmax(320px, 1.02fr) minmax(0, 0.98fr);
}

.section-copy p:not(.eyebrow),
.section-heading + p,
.section-note {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-copy p:not(.eyebrow) {
  max-width: 62ch;
}

.section-copy .button {
  margin-top: 12px;
}

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

.image-panel {
  aspect-ratio: 4 / 3;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 780px;
}

.teaching-section {
  position: relative;
}

.teaching-section::before {
  content: "";
  position: absolute;
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background: rgba(215, 222, 214, 0.48);
}

.teaching-section::before {
  top: 0;
}

.teaching-list {
  display: grid;
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid rgba(31, 59, 52, 0.17);
}

.teaching-list article {
  display: grid;
  grid-template-columns: 86px minmax(180px, 0.42fr) 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid rgba(31, 59, 52, 0.17);
}

.teaching-list span,
.tier {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.teaching-list p,
.price-card li,
.faq-list p,
.join-section p,
.footer p {
  color: var(--muted);
}

.membership {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
}

.membership::before {
  content: "";
  position: absolute;
  inset: 36px 50% 36px auto;
  z-index: -1;
  width: 100vw;
  transform: translateX(50%);
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 18%, rgba(196, 100, 74, 0.28), transparent 24%),
    linear-gradient(135deg, #303628 0%, #4f5a3a 62%, #556447 100%);
  box-shadow: var(--shadow);
}

.membership h2,
.membership h3 {
  color: #fffdf8;
}

.membership .eyebrow {
  color: #f0b8a7;
}

.membership-intro {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: 32px;
  align-items: end;
  padding: 72px 44px 38px;
}

.membership-intro img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.2);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

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

.price-card,
details {
  border: 1px solid rgba(31, 59, 52, 0.16);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 16px 46px rgba(29, 34, 48, 0.08);
}

.price-card {
  padding: 28px;
  background: rgba(255, 253, 248, 0.12);
  border-color: rgba(255, 253, 248, 0.2);
}

.price-card.highlighted {
  background: rgba(255, 253, 248, 0.2);
  border-color: rgba(240, 184, 167, 0.52);
}

.price {
  margin: 14px 0;
  color: #fffdf8;
  font-size: 2.75rem;
  font-weight: 900;
}

.price span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 1rem;
  font-weight: 700;
}

.model-label {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 19px;
}

.price-card li {
  color: rgba(255, 255, 255, 0.76);
}

.section-note {
  margin: 0;
  padding: 0 44px 72px;
  color: rgba(255, 255, 255, 0.72);
}

.faq-section {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(30px, 6vw, 84px);
}

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

details {
  padding: 19px 22px;
  background: rgba(255, 253, 248, 0.7);
}

summary {
  cursor: pointer;
  color: var(--forest);
  font-weight: 900;
}

.join-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  margin-bottom: 70px;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(31, 59, 52, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.88), rgba(215, 222, 214, 0.72)),
    var(--white);
  box-shadow: var(--shadow);
}

.join-section h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.signup-embed {
  display: grid;
  gap: 14px;
}

.signup-embed [data-form="bea04e4a-88a0-11f1-b174-37be14541337"] .emailoctopus-form {
  --button-colour: var(--clay) !important;
  --button-text-colour: var(--white) !important;
  --field-border-colour: rgba(31, 59, 52, 0.22) !important;
  --field-colour: var(--white) !important;
  --font-family: Inter, system-ui, sans-serif !important;
  --text-colour: var(--text) !important;
}

.signup-embed [data-form="bea04e4a-88a0-11f1-b174-37be14541337"] input {
  width: 100%;
  min-height: 52px;
  padding: 12px 15px;
  border-radius: 15px !important;
}

.signup-embed [data-form="bea04e4a-88a0-11f1-b174-37be14541337"] input:focus-visible {
  outline: 3px solid rgba(77, 109, 126, 0.24);
  border-color: var(--river) !important;
}

.signup-embed [data-form="bea04e4a-88a0-11f1-b174-37be14541337"] :is(.btn, button, input[type="submit"]) {
  border-color: var(--clay) !important;
  background: var(--clay) !important;
  color: var(--white) !important;
  cursor: pointer;
  font-weight: 900;
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto minmax(220px, auto);
  gap: 24px;
  align-items: end;
  padding: 34px 0 44px;
}

.footer strong {
  color: var(--forest);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-weight: 800;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .topbar,
  .hero,
  .split,
  .reverse,
  .membership-intro,
  .pricing,
  .faq-section,
  .join-section,
  .footer {
    grid-template-columns: 1fr;
  }

  .topbar {
    border-radius: 26px;
  }

  .nav {
    justify-content: start;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-art {
    aspect-ratio: 16 / 10;
    transform: none;
  }

  .intro-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teaching-list article {
    grid-template-columns: 64px 1fr;
  }

  .teaching-list p {
    grid-column: 2;
    margin-top: 0;
  }

  .membership::before {
    inset: 24px 50% 24px auto;
  }

  .membership-intro,
  .pricing,
  .section-note {
    padding-left: 26px;
    padding-right: 26px;
  }
}

@media (max-width: 680px) {
  .topbar,
  main,
  .footer {
    width: min(calc(100% - 20px), var(--max));
  }

  .topbar {
    position: static;
    padding: 16px;
  }

  .button-small {
    width: 100%;
  }

  .brand-text small {
    display: none;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3.25rem, 18vw, 4.4rem);
  }

  .intro-band {
    grid-template-columns: 1fr;
  }

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

  .teaching-list p {
    grid-column: auto;
  }

  .membership-intro {
    padding-top: 52px;
  }

  .section-note {
    padding-bottom: 52px;
  }

  .join-section {
    padding: 28px 20px;
  }
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.featured-teaching {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(31, 59, 52, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.9), rgba(216, 223, 200, 0.72)),
    var(--white);
  box-shadow: 0 16px 46px rgba(29, 34, 48, 0.08);
}

.featured-teaching h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
}

.featured-teaching p:not(.eyebrow) {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
}

.text-link,
.back-link {
  color: var(--river);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(204, 85, 0, 0.45);
  text-underline-offset: 0.22em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.text-link:hover,
.text-link:focus-visible,
.back-link:hover,
.back-link:focus-visible {
  color: var(--clay-dark);
  text-decoration-color: currentColor;
}

.teaching-page {
  padding-top: clamp(34px, 5vw, 76px);
}

.teaching-article {
  margin-bottom: clamp(54px, 8vw, 96px);
}

.teaching-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(22px, 4vw, 42px) 0 clamp(44px, 7vw, 84px);
}

.teaching-hero-copy {
  min-width: 0;
}

.teaching-hero h1 {
  max-width: 13ch;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
}

.teaching-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.teaching-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(31, 59, 52, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.76);
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 900;
}

.teaching-hero-image {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(31, 59, 52, 0.14);
  border-radius: 32px 24px 36px 26px;
  background: var(--fog);
  box-shadow: var(--shadow);
}

.teaching-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  width: min(100%, 780px);
  margin: 0 auto;
}

.article-body > p:first-child {
  color: var(--forest-dark);
  font-size: clamp(1.24rem, 2vw, 1.45rem);
  line-height: 1.52;
}

.article-body section {
  padding-top: clamp(38px, 6vw, 62px);
}

.article-body h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.06;
}

.article-body h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 1.06rem;
}

.article-body a:not(.button) {
  color: var(--river);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(204, 85, 0, 0.45);
  text-underline-offset: 0.22em;
}

.article-body a:not(.button):hover,
.article-body a:not(.button):focus-visible {
  color: var(--clay-dark);
  text-decoration-color: currentColor;
}

.article-body ul {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding-left: 24px;
}

.practice-callout {
  margin: clamp(38px, 6vw, 62px) 0 6px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(31, 59, 52, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.92), rgba(216, 223, 200, 0.72)),
    var(--white);
  box-shadow: 0 16px 46px rgba(29, 34, 48, 0.08);
}

.practice-callout h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.practice-callout p:last-child {
  margin-bottom: 0;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.practice-grid section {
  padding: 22px;
  border: 1px solid rgba(31, 59, 52, 0.16);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.68);
}

.practice-grid p {
  margin-bottom: 0;
}

.article-accordions {
  display: grid;
  gap: 14px;
}

.article-signup {
  align-items: center;
}

.article-signup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

/* Meditation room */

.meditation-page {
  padding-top: clamp(34px, 5vw, 72px);
}

.meditation-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.86fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
  padding: clamp(18px, 3vw, 38px) 0 clamp(58px, 8vw, 104px);
}

.meditation-hero-copy {
  min-width: 0;
}

.meditation-hero h1 {
  max-width: 10ch;
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 7vw, 6.9rem);
}

.meditation-hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.meditation-hero-notes span,
.coming-soon {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(31, 59, 52, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.72);
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 900;
}

.meditation-hero-art {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 59, 52, 0.14);
  border-radius: 34px 24px 40px 26px;
  background: var(--fog);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.meditation-hero-art img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.meditation-hero-art figcaption {
  padding: 14px 18px 17px;
  background: rgba(255, 250, 242, 0.72);
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

.meditation-room {
  position: relative;
  margin: 0 calc(50% - 50vw);
  padding: clamp(52px, 7vw, 88px) max(20px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(204, 85, 0, 0.2), transparent 22%),
    radial-gradient(circle at 88% 82%, rgba(113, 134, 91, 0.3), transparent 28%),
    linear-gradient(135deg, #303628 0%, #435038 54%, #536247 100%);
  color: rgba(255, 253, 248, 0.86);
}

.meditation-room::after {
  position: absolute;
  right: 8%;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.meditation-room-heading,
.meditation-app {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin-right: auto;
  margin-left: auto;
}

.meditation-room-heading {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 38px;
}

.meditation-room-heading .eyebrow {
  margin-bottom: 0;
  color: #f0b8a7;
}

.meditation-room-heading h2 {
  color: #fffdf8;
}

.meditation-room-heading p:not(.eyebrow) {
  max-width: 62ch;
  margin: 0;
  color: rgba(255, 253, 248, 0.74);
  font-size: 1.05rem;
}

.meditation-app {
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.2);
  border-radius: 30px 24px 36px 26px;
  background: rgba(255, 253, 248, 0.1);
  box-shadow: 0 26px 70px rgba(25, 29, 22, 0.28);
  backdrop-filter: blur(12px);
}

.timer-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
}

.timer-column {
  display: grid;
  justify-items: center;
  min-width: 0;
  text-align: center;
}

.timer-ring {
  display: grid;
  width: min(100%, 328px);
  aspect-ratio: 1;
  padding: 13px;
  border-radius: 50%;
  background: conic-gradient(
    var(--clay) var(--progress),
    rgba(255, 253, 248, 0.15) var(--progress) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 253, 248, 0.1),
    0 22px 46px rgba(25, 29, 22, 0.28);
  transition: background 500ms ease, box-shadow 300ms ease;
}

.timer-ring.is-complete {
  background: conic-gradient(var(--moss) 100%, rgba(255, 253, 248, 0.15) 100%);
  box-shadow:
    0 0 0 1px rgba(216, 223, 200, 0.24),
    0 22px 46px rgba(25, 29, 22, 0.28),
    0 0 44px rgba(216, 223, 200, 0.18);
}

.timer-face {
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 0;
  padding: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 24%, rgba(255, 255, 255, 0.9), transparent 28%),
    var(--white);
  color: var(--forest-dark);
  box-shadow: inset 0 0 0 1px rgba(79, 90, 58, 0.08);
}

.timer-kicker {
  color: var(--clay-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.timer-display {
  margin-top: 4px;
  color: var(--forest-dark);
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

.timer-label {
  max-width: 16ch;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.3;
}

.timer-status {
  min-height: 3em;
  max-width: 30ch;
  margin: 22px 0 0;
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.95rem;
  line-height: 1.45;
}

.timer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

.meditation-app .button-secondary {
  border-color: rgba(255, 253, 248, 0.48);
  background: rgba(255, 253, 248, 0.08);
  color: #fffdf8;
}

.meditation-app .button-secondary:hover,
.meditation-app .button-secondary:focus-visible {
  background: rgba(255, 253, 248, 0.18);
  color: #fffdf8;
}

.timer-controls {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.duration-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.duration-fieldset legend,
.custom-duration label {
  margin-bottom: 13px;
  color: #fffdf8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.duration-option {
  display: grid;
  justify-items: center;
  min-height: 82px;
  padding: 12px 8px;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 18px 13px 19px 14px;
  background: rgba(255, 253, 248, 0.08);
  color: rgba(255, 253, 248, 0.78);
  cursor: pointer;
  font-family: "Lato", sans-serif;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.duration-option strong {
  color: inherit;
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.6rem;
  line-height: 1;
}

.duration-option span {
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.duration-option:hover,
.duration-option:focus-visible {
  border-color: rgba(240, 184, 167, 0.72);
  background: rgba(255, 253, 248, 0.15);
  transform: translateY(-2px);
}

.duration-option.is-selected {
  border-color: #f0b8a7;
  background: var(--clay);
  color: var(--white);
  box-shadow: 0 12px 22px rgba(25, 29, 22, 0.18);
}

.duration-option:disabled,
.custom-duration input:disabled,
.custom-duration button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.custom-duration {
  display: grid;
}

.custom-duration-row {
  display: grid;
  grid-template-columns: minmax(84px, 0.42fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.custom-duration input {
  width: 100%;
  min-height: 50px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 13px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--forest-dark);
  font: 800 1rem "Lato", sans-serif;
}

.custom-duration input:focus-visible {
  outline: 3px solid rgba(240, 184, 167, 0.34);
  border-color: #f0b8a7;
}

.custom-duration-row > span {
  color: rgba(255, 253, 248, 0.76);
  font-size: 0.94rem;
  font-weight: 800;
}

.custom-duration-row .button {
  min-height: 50px;
  padding-right: 15px;
  padding-left: 15px;
  white-space: nowrap;
}

.control-note {
  margin: 9px 0 0;
  color: rgba(255, 253, 248, 0.58);
  font-size: 0.84rem;
}

.timer-preferences {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 253, 248, 0.16);
}

.preference-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fffdf8;
  cursor: pointer;
  font: 800 0.95rem "Lato", sans-serif;
}

.preference-toggle:hover,
.preference-toggle:focus-visible {
  color: #f0b8a7;
}

.sound-indicator {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 5px rgba(204, 85, 0, 0.18);
}

.preference-toggle[aria-pressed="false"] .sound-indicator {
  background: rgba(255, 253, 248, 0.42);
  box-shadow: 0 0 0 5px rgba(255, 253, 248, 0.08);
}

.timer-preferences p {
  margin: 0;
  color: rgba(255, 253, 248, 0.58);
  font-size: 0.88rem;
}

.timer-preferences .sound-credit {
  flex-basis: 100%;
  margin-top: -3px;
  font-size: 0.72rem;
  line-height: 1.55;
}

.sound-credit a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.sound-credit a:hover,
.sound-credit a:focus-visible {
  color: #f0b8a7;
}

.timer-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 23px clamp(28px, 5vw, 58px) 30px;
  border-top: 1px solid rgba(255, 253, 248, 0.14);
  background: rgba(31, 37, 28, 0.18);
}

.timer-guide > div {
  min-width: 0;
}

.guide-number {
  color: #f0b8a7;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.timer-guide h3 {
  margin-top: 8px;
  color: #fffdf8;
  font-size: 1.2rem;
}

.timer-guide p {
  margin: 0;
  color: rgba(255, 253, 248, 0.64);
  font-size: 0.92rem;
}

.guided-placeholder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  padding: clamp(72px, 10vw, 126px) 0;
}

.guided-placeholder > div {
  min-width: 0;
}

.guided-placeholder h2 {
  max-width: 16ch;
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.guided-placeholder p:not(.eyebrow) {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.guided-placeholder-card {
  padding: 28px;
  border: 1px solid rgba(31, 59, 52, 0.16);
  border-radius: 24px 18px 28px 20px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.92), rgba(216, 223, 200, 0.72)),
    var(--white);
  box-shadow: 0 16px 46px rgba(29, 34, 48, 0.08);
}

.guided-placeholder-card p {
  margin: 18px 0;
}

.guided-placeholder-card .coming-soon {
  border-color: rgba(204, 85, 0, 0.26);
  background: rgba(204, 85, 0, 0.09);
  color: var(--clay-dark);
}

.meditation-note {
  display: flex;
  gap: 18px;
  align-items: center;
  width: min(100%, 760px);
  margin: 0 auto clamp(70px, 10vw, 120px);
  padding: 24px 28px;
  border-top: 1px solid rgba(31, 59, 52, 0.17);
  border-bottom: 1px solid rgba(31, 59, 52, 0.17);
}

.meditation-note img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.meditation-note p {
  margin: 0;
  color: var(--forest-dark);
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.26rem);
  line-height: 1.4;
}

@media (max-width: 980px) {
  .meditation-hero,
  .timer-layout,
  .guided-placeholder {
    grid-template-columns: 1fr;
  }

  .meditation-hero-art {
    width: min(100%, 680px);
    transform: none;
  }

  .timer-column {
    width: min(100%, 460px);
    margin: 0 auto;
  }

  .timer-guide {
    grid-template-columns: 1fr;
  }

  .guided-placeholder-card {
    max-width: 620px;
  }
}

@media (max-width: 680px) {
  .meditation-page {
    padding-top: 28px;
  }

  .meditation-hero {
    padding-bottom: 62px;
  }

  .meditation-hero h1 {
    max-width: 9ch;
    font-size: clamp(3.1rem, 16vw, 4.5rem);
  }

  .meditation-room {
    margin-right: -10px;
    margin-left: -10px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .timer-layout {
    padding: 26px 20px 30px;
  }

  .timer-ring {
    width: min(100%, 286px);
  }

  .timer-guide {
    padding-right: 20px;
    padding-left: 20px;
  }

  .custom-duration-row {
    grid-template-columns: minmax(72px, 0.44fr) auto;
  }

  .custom-duration-row .button {
    grid-column: 1 / -1;
  }

  .guided-placeholder {
    padding-top: 74px;
  }

  .meditation-note {
    align-items: flex-start;
    padding-right: 0;
    padding-left: 0;
  }
}

.content-page {
  padding-top: clamp(34px, 5vw, 76px);
}

.content-hero {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) 0 clamp(42px, 7vw, 76px);
}

.content-hero h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 7vw, 6.3rem);
}

.content-hero .lead {
  max-width: 66ch;
}

.content-body {
  width: min(100%, 780px);
  margin: 0 auto clamp(64px, 9vw, 110px);
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(31, 59, 52, 0.16);
  border-radius: 28px;
  background: rgba(255, 250, 242, 0.76);
  box-shadow: var(--shadow);
}

.content-body > :first-child {
  margin-top: 0;
}

.content-body section + section {
  padding-top: clamp(32px, 5vw, 50px);
}

.content-body h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

.content-body h3 {
  margin-top: 28px;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.content-body p,
.content-body li {
  color: var(--muted);
  font-size: 1.04rem;
}

.content-body ul {
  display: grid;
  gap: 8px;
  padding-left: 24px;
}

.page-updated {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

@media (max-width: 980px) {
  .featured-teaching,
  .teaching-hero,
  .practice-grid {
    grid-template-columns: 1fr;
  }

  .featured-teaching .button,
  .article-signup-actions {
    justify-self: start;
  }

  .teaching-hero-image {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 680px) {
  .teaching-hero h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .article-body p,
  .article-body li {
    font-size: 1rem;
  }

  .practice-grid section {
    padding: 20px;
  }

  .article-signup-actions .button {
    width: 100%;
  }

  .content-hero h1 {
    max-width: 11ch;
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .content-body {
    padding: 24px 20px;
    border-radius: 22px;
  }
}
