/* Stillpoint House Yoga — architectural stillness demo */
:root {
  --sh-stone: #e8e4dc;
  --sh-paper: #f4f2ed;
  --sh-panel: #faf9f6;
  --sh-ink: #0c1a14;
  --sh-mute: #3d4a42;
  --sh-pine: #1a3328;
  --sh-clay: #c4a574;
  --sh-citron: #d4c96a;
  --sh-rule: #b8b0a4;
  --sh-focus: #c4a574;
  --sh-max: 75rem;
  --sh-serif: Georgia, "Times New Roman", "Palatino Linotype", serif;
  --sh-sans: system-ui, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--sh-stone);
  color: var(--sh-ink);
  font: 1.125rem/1.7 var(--sh-sans);
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--sh-pine); }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.sh-cta:focus-visible {
  outline: 3px solid var(--sh-focus);
  outline-offset: 3px;
}

.sh-footer a:focus-visible { outline-color: var(--sh-paper); }

.sh-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--sh-clay);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.3em;
}

.sh-skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.sh-skip:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 100;
  background: #fff;
  padding: 0.75rem 1rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.sh-utility {
  background: var(--sh-ink);
  color: var(--sh-paper);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.5rem 1rem;
}

.sh-masthead {
  border-bottom: 1px solid var(--sh-rule);
  padding: 0.85rem max(1rem, calc((100vw - var(--sh-max)) / 2));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--sh-panel);
}

.sh-brand {
  font-family: var(--sh-serif);
  font-size: clamp(1.15rem, 4vw, 1.65rem);
  font-weight: 700;
  text-decoration: none;
  color: var(--sh-ink);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  line-height: 1.05;
}

.sh-brand span {
  display: block;
  font-family: var(--sh-sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sh-clay);
}

.sh-nav-wrap { width: 100%; }

.sh-nav summary,
.sh-nav a {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.sh-nav-mobile { position: relative; width: 100%; }

.sh-nav-mobile__summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  border: 1px solid var(--sh-ink);
  background: var(--sh-stone);
  width: 100%;
  justify-content: space-between;
}

.sh-nav-mobile__summary::-webkit-details-marker { display: none; }

.sh-nav-mobile__bars {
  width: 1.15rem;
  height: 2px;
  background: var(--sh-ink);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 -5px 0 var(--sh-ink), 0 5px 0 var(--sh-ink);
}

.sh-nav-mobile[open] .sh-nav-mobile__bars {
  background: transparent;
  box-shadow: none;
}

.sh-nav-mobile[open] .sh-nav-mobile__bars::before,
.sh-nav-mobile[open] .sh-nav-mobile__bars::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--sh-ink);
}

.sh-nav-mobile[open] .sh-nav-mobile__bars::before { transform: rotate(45deg); }
.sh-nav-mobile[open] .sh-nav-mobile__bars::after { transform: rotate(-45deg); }

.sh-nav-mobile__open { display: inline; }
.sh-nav-mobile__close { display: none; }
.sh-nav-mobile[open] .sh-nav-mobile__open { display: none; }
.sh-nav-mobile[open] .sh-nav-mobile__close { display: inline; color: var(--sh-clay); }

.sh-nav-mobile[open] .sh-nav-mobile__summary {
  border-color: var(--sh-clay);
  background: var(--sh-paper);
}

.sh-nav .sh-drawer {
  display: none;
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  background: var(--sh-panel);
  border: 1px solid var(--sh-ink);
  padding: 0.35rem;
  box-shadow: 0 10px 28px rgba(12, 26, 20, 0.12);
}

.sh-nav-mobile[open] .sh-drawer { display: grid; }

.sh-drawer a {
  width: 100%;
  border-bottom: 1px solid rgba(12, 26, 20, 0.1);
}

.sh-drawer a:last-child { border-bottom: 0; }

.sh-desktop-nav { display: none; flex-wrap: wrap; gap: 0.05rem; justify-content: flex-end; }

@media (min-width: 1024px) {
  .sh-nav-wrap { width: auto; flex: 1; }
  .sh-nav-mobile { display: none; }
  .sh-desktop-nav { display: flex; }
}

.sh-page {
  width: min(100% - 2rem, var(--sh-max));
  margin: 0 auto;
  padding-bottom: 2.5rem;
}

.sh-label {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sh-mute);
  margin: 0 0 0.5rem;
}

h1, h2, h3 {
  font-family: var(--sh-serif);
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.25rem, 4.8vw, 3.5rem); max-width: 14ch; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.125rem; }

.sh-lede {
  font-size: 1.08rem;
  max-width: 42rem;
  color: var(--sh-mute);
}

.sh-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.sh-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  background: var(--sh-clay);
  color: var(--sh-ink);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--sh-clay);
}

.sh-cta--ghost {
  background: transparent;
  color: var(--sh-ink);
  border-color: var(--sh-ink);
}

.sh-cta--ink {
  background: var(--sh-ink);
  border-color: var(--sh-ink);
  color: var(--sh-paper);
}

.sh-cta-note {
  font-size: 0.8125rem;
  color: var(--sh-mute);
  margin-top: 0.65rem;
}

.sh-hero-home {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 1.5rem 1rem 2.25rem;
  border-bottom: 1px solid var(--sh-rule);
  background: linear-gradient(155deg, var(--sh-panel) 0%, var(--sh-stone) 58%);
  overflow-x: clip;
}

@media (min-width: 920px) {
  .sh-hero-home {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

.sh-hero-home__grid {
  display: grid;
  gap: 1.5rem;
  width: min(100%, var(--sh-max));
  margin: 0 auto;
}

@media (min-width: 920px) {
  .sh-hero-home__grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: end;
    gap: 2.5rem;
  }
  .sh-hero-home__copy { padding-bottom: 1.5rem; }
}

.sh-collage > figure {
  margin: 0;
}

.sh-collage {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.7rem;
  max-width: 38rem;
  margin-left: auto;
}

@media (max-width: 919px) {
  .sh-collage {
    display: grid;
    grid-template: 1fr / 1fr;
    gap: 0;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .sh-collage > figure {
    grid-area: 1 / 1;
  }

  .sh-collage__a {
    width: 73%;
    justify-self: start;
    align-self: start;
    grid-row: auto;
    transform: none;
    z-index: 0;
  }

  .sh-collage__a img {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .sh-collage__b {
    width: 50%;
    justify-self: end;
    align-self: end;
    margin-top: 0;
    z-index: 1;
  }

  .sh-collage__b img {
    aspect-ratio: 1;
    min-height: 0;
  }
}

@media (min-width: 920px) {
  .sh-collage {
    margin-left: 0;
    width: 100%;
    max-width: 38rem;
  }
}

.sh-collage__a {
  border: 1px solid var(--sh-ink);
}

@media (min-width: 920px) {
  .sh-collage__a {
    grid-row: 1 / 3;
    transform: translateX(-0.35rem);
  }
}

.sh-collage__b {
  border: 1px solid var(--sh-ink);
  box-shadow: 6px 8px 0 rgba(12, 26, 20, 0.07);
}

@media (min-width: 920px) {
  .sh-collage__b { margin-top: 2rem; }
}

.sh-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--sh-paper);
  display: block;
}

@media (min-width: 920px) {
  .sh-collage__a img { aspect-ratio: 3/4; min-height: 14rem; }
  .sh-collage__b img { aspect-ratio: 1; min-height: 9rem; }
}

.sh-rule-art {
  margin: 1rem auto 0;
  max-width: 40rem;
  opacity: 0.92;
}

.sh-page-title-bar {
  padding: 2rem 0 1.25rem;
  border-bottom: 1px solid var(--sh-rule);
  margin-bottom: 1.75rem;
}

.sh-band {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--sh-rule);
}

.sh-band--flush { border-bottom: 0; }

.sh-band--accent {
  background: var(--sh-panel);
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--sh-rule);
  margin: 1.5rem 0;
}

.sh-editorial {
  padding: 1.75rem 0;
}

.sh-editorial--rule {
  border-top: 1px solid var(--sh-rule);
  margin-top: 0.5rem;
}

.sh-practice-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .sh-practice-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .sh-practice-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.sh-card {
  background: var(--sh-panel);
  border: 1px solid var(--sh-rule);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.sh-card__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-bottom: 1px solid var(--sh-rule);
}

.sh-card__body {
  padding: 1rem 1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sh-card__tag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sh-pine);
  margin: 0;
}

.sh-card p { margin: 0; font-size: 0.95rem; color: var(--sh-mute); }

.sh-split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 0;
}

@media (min-width: 900px) {
  .sh-split { grid-template-columns: 1fr 1fr; }
  .sh-split--flip .sh-split__art { order: -1; }
  .sh-split--offset { grid-template-columns: 1.1fr 0.9fr; }
}

.sh-split__art {
  border: 1px solid var(--sh-ink);
  background: var(--sh-paper);
}

.sh-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.sh-list li {
  padding-left: 1.1rem;
  border-left: 2px solid var(--sh-clay);
  color: var(--sh-mute);
}

.sh-checklist {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--sh-mute);
}

.sh-checklist li { margin-bottom: 0.4rem; }

.sh-faq details {
  border: 1px solid var(--sh-rule);
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  background: var(--sh-panel);
}

.sh-faq summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.sh-demo-form {
  display: grid;
  gap: 1rem;
  max-width: 32rem;
  margin-top: 1rem;
}

.sh-demo-form label {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

.sh-demo-form input,
.sh-demo-form textarea,
.sh-demo-form select {
  width: 100%;
  min-height: 48px;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--sh-rule);
  background: #ddd8ce;
  font: inherit;
  color: var(--sh-mute);
}

.sh-demo-form textarea { min-height: 7rem; resize: vertical; }

.sh-placeholders {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--sh-mute);
}

.sh-placeholders dt {
  font-weight: 700;
  color: var(--sh-ink);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sh-footer {
  background: var(--sh-ink);
  color: var(--sh-paper);
  padding: 2rem 1rem 2.5rem;
  margin-top: 2rem;
}

.sh-footer a { color: var(--sh-paper); }

.sh-disclosure {
  font-size: 0.8125rem;
  max-width: 40rem;
  margin: 0 auto 1.25rem;
  text-align: center;
  color: #c8c0b4;
}

.sh-footer-nav__label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 0.5rem;
  color: var(--sh-clay);
}

.sh-footer-nav__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem 1rem;
  max-width: 36rem;
}

@media (min-width: 720px) {
  .sh-footer-nav__list { grid-template-columns: repeat(4, 1fr); }
}

.sh-footer-nav__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.8125rem;
  text-decoration: none;
}

.sh-colophon {
  text-align: center;
  font-size: 0.75rem;
  color: #9a9488;
  margin: 0;
}

.sh-callout {
  border-left: 3px solid var(--sh-clay);
  padding: 0.85rem 0 0.85rem 1.15rem;
  margin: 1.25rem 0;
  background: rgba(250, 249, 246, 0.75);
}

.sh-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.sh-pill {
  border: 1px solid var(--sh-rule);
  padding: 0.45rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--sh-panel);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.sh-diagram {
  padding: 1rem;
  border: 1px solid var(--sh-rule);
  background: var(--sh-paper);
  margin: 1rem 0;
}

.sh-demo-banner {
  border: 1px dashed var(--sh-clay);
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  color: var(--sh-mute);
  margin: 1rem 0;
}

.sh-demo-banner:focus { outline: none; }
.sh-demo-banner:focus-visible {
  outline: 3px solid var(--sh-focus);
  outline-offset: 2px;
}