:root {
  color-scheme: light;
  --ink: #24343a;
  --teal: #2a7d78;
  --plum: #74516f;
  --amber: #c48745;
  --leaf: #6c8353;
  --oat: #f5efe5;
  --paper: #ffffff;
  --muted: #6d7679;
  --line: rgba(36, 52, 58, 0.14);
  --shadow: 0 22px 50px rgba(36, 52, 58, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--oat);
  font-family: "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

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

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

.topbar {
  display: grid;
  grid-template-columns: minmax(220px, auto) 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px max(22px, calc((100vw - 1180px) / 2));
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  font-size: 20px;
  font-weight: 950;
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0;
}

.brand span span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.top-note {
  justify-self: center;
  color: var(--plum);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.therapy-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 12px max(22px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(36, 52, 58, 0.12);
  background: rgba(245, 239, 229, 0.94);
  backdrop-filter: blur(18px);
}

.therapy-nav a,
.button,
.gallery-lock {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(42, 125, 120, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.therapy-nav a[aria-current="page"] {
  background: var(--teal);
  color: #ffffff;
}

.button {
  border-color: var(--plum);
  background: var(--plum);
  color: #ffffff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.14);
}

.button.soft {
  border-color: rgba(196, 135, 69, 0.3);
  background: #ffffff;
  color: var(--amber);
}

.gallery-lock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(36, 52, 58, 0.24);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  display: grid;
  align-items: end;
  padding: 112px max(22px, calc((100vw - 1180px) / 2)) 70px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(36, 52, 58, 0.9), rgba(42, 125, 120, 0.56) 48%, rgba(116, 81, 111, 0.16)),
    var(--hero-image, url("https://images.unsplash.com/photo-1544161515-4ab6ce6db874?auto=format&fit=crop&w=1800&q=80")) center / cover;
  color: #ffffff;
}

.hero:not(.bodywork-hero) {
  min-height: 520px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 76px;
}

.hero:not(.bodywork-hero) .hero-copy {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(36, 52, 58, 0.58);
  box-shadow: var(--shadow);
}

.hero:not(.bodywork-hero)::before {
  content: "";
  position: absolute;
  right: max(22px, calc((100vw - 1180px) / 2));
  top: 76px;
  width: 220px;
  height: 220px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(42, 125, 120, 0.8), rgba(116, 81, 111, 0.76)),
    url("https://images.unsplash.com/photo-1519823551278-64ac92734fb1?auto=format&fit=crop&w=700&q=80") center / cover;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 42%;
  background: linear-gradient(0deg, rgba(36, 52, 58, 0.86), transparent);
}

.hero-copy {
  width: min(780px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: #f2cf9b;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  max-width: 790px;
  font-size: 74px;
  line-height: 0.96;
}

h2 {
  color: var(--teal);
  font-size: 50px;
  line-height: 1.05;
}

h3 {
  font-size: 22px;
}

.hero p:not(.eyebrow),
.lead {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.section {
  padding: 76px max(22px, calc((100vw - 1180px) / 2));
}

.section.white {
  background: #ffffff;
}

.section.ink {
  background: var(--ink);
  color: #ffffff;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-heading p,
.path p,
.session p,
.condition p,
.member p,
.step p,
.prep p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.ink h2,
.ink h3 {
  color: #ffffff;
}

.ink .section-heading p,
.ink .path p {
  color: rgba(255, 255, 255, 0.72);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 32px;
  align-items: center;
}

.photo-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-panel img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.path-grid,
.session-grid,
.condition-grid,
.member-grid,
.step-grid,
.prep-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.path,
.session,
.condition,
.member,
.step,
.prep {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 22px;
}

.ink .path {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.path strong,
.session strong,
.condition strong,
.member strong,
.step strong,
.prep strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 18px;
}

.ink .path strong {
  color: #ffffff;
}

.session {
  border-top: 7px solid var(--teal);
}

.session:nth-child(2),
.session:nth-child(5) {
  border-top-color: var(--plum);
}

.session:nth-child(3),
.session:nth-child(6) {
  border-top-color: var(--amber);
}

.condition {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
}

.condition code,
.prep code {
  display: grid;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--leaf);
  color: #ffffff;
  font-family: inherit;
  font-weight: 950;
}

.member-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
  gap: 24px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 28px;
  box-shadow: var(--shadow);
}

.member-board .member-grid {
  grid-template-columns: 1fr;
  align-content: start;
}

.schedule-box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.56fr);
  gap: 26px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.schedule-box .step-grid {
  grid-template-columns: 1fr;
  align-content: start;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  min-height: 44px;
  border: 1px solid rgba(36, 52, 58, 0.18);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px max(22px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer a {
  color: #ffffff;
  font-weight: 900;
}

.bodywork-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.6fr);
  gap: 34px;
  align-items: center;
  padding: 76px max(22px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(135deg, rgba(42, 125, 120, 0.14), transparent 42%),
    linear-gradient(315deg, rgba(116, 81, 111, 0.12), transparent 36%),
    var(--oat);
}

.bodywork-copy h1 {
  color: var(--teal);
  font-size: 68px;
}

.bodywork-copy .eyebrow {
  color: var(--plum);
}

.bodywork-copy p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.relief-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.relief-map article {
  min-height: 128px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 18px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.relief-map article:nth-child(2) {
  background: var(--teal);
  color: #ffffff;
}

.relief-map article:nth-child(3) {
  background: var(--plum);
  color: #ffffff;
}

.relief-map span {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.relief-map strong {
  font-size: 20px;
}

.therapy-photo-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 12px;
}

.therapy-photo-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.therapy-photo-grid img:nth-child(2) {
  height: 240px;
  align-self: end;
}

@media (min-width: 1120px) {
  .therapy-nav {
    position: fixed;
    top: 126px;
    right: 18px;
    width: 190px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .therapy-nav a {
    justify-content: flex-start;
  }

  main,
  .footer {
    margin-right: 220px;
  }

  .gallery-lock {
    right: 228px;
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .top-note {
    justify-self: start;
  }

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

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 40px;
  }

  .split,
  .bodywork-hero,
  .member-board,
  .schedule-box {
    grid-template-columns: 1fr;
  }

  .path-grid,
  .session-grid,
  .condition-grid,
  .member-grid,
  .step-grid,
  .prep-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .therapy-nav {
    position: static;
  }

  .therapy-nav a {
    flex: 1 1 42%;
  }

  .hero {
    min-height: 560px;
    padding-top: 84px;
  }

  h1 {
    font-size: 40px;
  }

  .bodywork-copy h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 33px;
  }

  .path-grid,
  .session-grid,
  .condition-grid,
  .member-grid,
  .step-grid,
  .prep-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .condition {
    grid-template-columns: 1fr;
  }

  .photo-panel img {
    height: 300px;
  }

  .relief-map {
    grid-template-columns: 1fr;
  }

  .therapy-photo-grid {
    grid-template-columns: 1fr;
  }

  .therapy-photo-grid img,
  .therapy-photo-grid img:nth-child(2) {
    height: 280px;
  }
}

:root {
  --teal: #3d7f77;
  --plum: #6f6578;
  --amber: #b9895a;
  --leaf: #7d8e68;
  --oat: #f7f2ea;
}

body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 380px),
    var(--oat);
}

.topbar {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
}

.therapy-nav {
  position: sticky;
  top: 0;
  right: auto;
  width: auto;
  flex-direction: row;
  align-items: center;
  border-radius: 0;
  box-shadow: none;
}

@media (min-width: 1120px) {
  .therapy-nav {
    position: sticky;
    top: 0;
    right: auto;
    width: auto;
    flex-direction: row;
    align-items: center;
    border: 0;
    border-bottom: 1px solid rgba(36, 52, 58, 0.12);
    border-radius: 0;
    box-shadow: none;
  }

  .therapy-nav a {
    justify-content: center;
  }

  main,
  .footer {
    margin-right: 0;
  }

  .gallery-lock {
    right: 18px;
  }
}

.therapy-nav {
  position: sticky;
  overflow: hidden;
}

.therapy-nav a {
  position: relative;
  z-index: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.therapy-nav a:hover {
  transform: translateY(-2px);
}

.breath-line {
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  opacity: 0;
  transition: transform 280ms ease, width 280ms ease, height 280ms ease, opacity 180ms ease;
  pointer-events: none;
}

.bodywork-hero {
  min-height: 650px;
  grid-template-columns: minmax(0, 0.82fr) minmax(330px, 0.58fr);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(61, 127, 119, 0.1), transparent 44%),
    var(--oat);
}

.bodywork-copy h1 {
  color: #2f5f5a;
}

.relief-map article,
.path,
.session,
.condition,
.member,
.step,
.prep {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(36, 52, 58, 0.08);
}

.tranquil-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease var(--delay, 0ms), transform 620ms ease var(--delay, 0ms), box-shadow 180ms ease;
}

.tranquil-reveal.tranquil-in {
  opacity: 1;
  transform: translateY(0);
}

.tranquil-reveal:hover {
  box-shadow: 0 22px 48px rgba(36, 52, 58, 0.12);
}

@media (max-width: 980px) {
  .bodywork-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .bodywork-hero {
    min-height: auto;
    padding: 52px 22px 68px;
  }

  .bodywork-copy h1 {
    line-height: 1.02;
  }

  .relief-map article {
    min-height: 104px;
  }

  .gallery-lock {
    position: fixed;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-indent: -999px;
  }

  .gallery-lock::before {
    content: "<";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 20px;
    text-indent: 0;
  }
}
