@font-face { font-family: "Marcellus"; src: url(fonts/marcellus.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree.woff2) format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree-italic.woff2) format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }

:root {
  /* the studio: sunlit plaster, a painted gold disc, sage floor, plum altar cloth */
  --plaster: #efe8da;
  --lime: #e4e8da;
  --moss: #2c3a28;
  --moss-2: #4a5a43;
  --sage: #4a5f3f;
  --sage-deep: #3f5236;
  --sage-pale: #c8d2b2;
  --gold: #d6a032;
  --gold-hi: #f5d68a;
  --gold-lo: #a8721b;
  --plum: #5c2236;
  --plum-hi: #74304a;
  --line: rgb(44 58 40 / .18);
  --serif: "Marcellus", "Trajan Pro", Georgia, serif;
  --sans: "Figtree", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 74rem;
  --gutter: clamp(1rem, 4vw, 3rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--sage) var(--lime); }
body { margin: 0; background: var(--lime); color: var(--moss); font: 400 1.0625rem/1.65 var(--sans); }
::selection { background: var(--gold-hi); color: var(--moss); }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--gold-lo); outline-offset: 3px; }
input, textarea { caret-color: var(--plum); }
p { margin: 0 0 1em; }
strong { font-weight: 650; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: .01em; margin-bottom: 1.2rem; }
h3 { font-size: 1.45rem; margin-bottom: .4rem; }

.skip { position: absolute; left: -999px; top: 0; background: var(--moss); color: var(--plaster); padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }

/* ---------- header: sits on the plaster wall ---------- */
.site-header { position: fixed; z-index: 10; top: 0; left: 0; right: 0; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.2rem var(--gutter); border-bottom: 1px solid var(--line); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--plaster) url(img/plaster.jpg) repeat; background-size: 480px; }
html { scroll-padding-top: 5.5rem; }
/* home: the name is the headline; it moves into the header once the headline has scrolled away */
@supports (animation-timeline: scroll()) {
  /* hidden and unfocusable until it fades in; the header ground fades in with it, so the wall and the light run up to the top */
  .page-home .wordmark { animation: wordmark-in linear both; animation-timeline: scroll(root); animation-range: 14rem 22rem; }
  .page-home .site-header { animation: header-line linear both; animation-timeline: scroll(root); animation-range: 14rem 22rem; }
  .page-home .site-header::before { animation: header-ground linear both; animation-timeline: scroll(root); animation-range: 14rem 22rem; }
  @keyframes wordmark-in { from { opacity: 0; visibility: hidden; transform: translateY(.4rem); } to { opacity: 1; visibility: visible; transform: none; } }
  @keyframes header-line { from { border-bottom-color: transparent; } to { border-bottom-color: var(--line); } }
  @keyframes header-ground { from { opacity: 0; } to { opacity: 1; } }
}
.wordmark { font-family: var(--serif); font-size: 1.3rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.site-header ul { list-style: none; margin: 0; padding: 0; }
nav.main ul { display: flex; gap: 2.2rem; }
nav.main a, .menu nav a { font-weight: 500; font-size: .95rem; letter-spacing: .04em; text-decoration: none; padding: .3rem 0; border-bottom: 1px solid transparent; transition: border-color .3s; }
nav.main a:hover { border-bottom-color: var(--line); }
nav.main a[aria-current] { border-bottom-color: var(--gold-lo); }
.menu { display: none; }

/* ---------- the sun: the painted disc on the studio wall, hero on every page ---------- */
.sun { --d: min(70vh, 52vw); position: relative; overflow: hidden; min-height: 100svh; display: grid; grid-template-rows: 1fr auto;
  background: var(--plaster) url(img/plaster.jpg) repeat; background-size: 480px; }
.sun__wall { position: relative; display: grid; align-items: center; padding-top: 5.5rem; }
.sun__disc { position: absolute; z-index: 0; right: 9vw; bottom: calc(var(--d) * -.2); width: var(--d); aspect-ratio: 1; animation: rise 2.2s cubic-bezier(.16, 1, .3, 1) both; }
.sun__disc i { position: absolute; inset: 0; background: url(img/disc.jpg) center / cover;
  -webkit-mask: url(img/disc-mask.png) center / 100% 100% no-repeat; mask: url(img/disc-mask.png) center / 100% 100% no-repeat; }
/* the window-light shaft crossing wall and disc */
.sun__wall::after { content: ""; position: absolute; z-index: 1; top: 0; right: 0; bottom: -25%; width: 78%; pointer-events: none;
  background: url(img/shaft.png) right top / 100% 100% no-repeat; }
.sun__text { position: relative; z-index: 2; padding: 2rem var(--gutter); max-width: 52rem; }
.sun h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1.05; letter-spacing: .08em; text-transform: uppercase; }
.sun__sub { margin: 1.2rem 0 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); letter-spacing: .02em; color: var(--moss-2); }
.sun__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }

.call { display: inline-flex; align-items: center; gap: .7rem; background: var(--plum); color: var(--plaster); text-decoration: none; padding: .9rem 1.4rem; border-radius: 3px; font-weight: 600; letter-spacing: .03em; font-variant-numeric: tabular-nums; box-shadow: 0 .5rem 1.2rem -.6rem rgb(20 24 18 / .45); transition: background .25s, transform .25s; }
.call svg { width: 1.1rem; height: 1.1rem; }
.call:hover { background: var(--plum-hi); transform: translateY(-1px); }
.mail { font-weight: 500; }

/* sage floor: the two practices stand on it */
.floor { position: relative; z-index: 3; background: var(--sage); color: var(--plaster); display: grid; grid-template-columns: 1fr 1fr; }
.floor a { display: block; text-decoration: none; padding: clamp(1.6rem, 3vw, 2.4rem) var(--gutter) clamp(1.8rem, 3.4vw, 2.8rem); transition: background .35s; }
.floor a + a { border-left: 1px solid rgb(239 232 218 / .25); }
.floor a:hover { background: var(--sage-deep); }
.floor b { display: flex; align-items: center; gap: .9rem; font: 400 clamp(1.5rem, 2.6vw, 2.2rem)/1.1 var(--serif); letter-spacing: .08em; text-transform: uppercase; }
.floor b svg { width: 1.5rem; height: 1.5rem; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.floor a:hover b svg { transform: translateX(.35rem); }
.floor span { display: block; margin-top: .6rem; font-size: 1.05rem; color: var(--plaster); }

/* home: the sun rises behind the meditating figure */
/* home: the meditation photo fills the wall, the painted sun lies over it and carries the name */
.page-home .sun { --d: min(40vw, 66vh); }
.sun__photo { position: absolute; z-index: 0; inset: 0; }
.sun__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.page-home .sun__wall { padding-top: 0; }
.page-home .sun__wall::after { display: none; }
.page-home .sun__disc { z-index: 1; left: calc(var(--gutter) - var(--d) * .14); right: auto; top: calc(50% - var(--d) / 2 + 2.5rem); bottom: auto; }
.page-home .sun__text { z-index: 2; align-self: start; margin-top: calc(50vh - var(--d) * .2); max-width: calc(var(--d) * .9); padding-left: calc(var(--gutter) + var(--d) * .06); }
.page-home .sun__sub { color: var(--moss); }
/* keeps the menu readable over the photo before the header ground fades in */
.page-home .site-header { background: linear-gradient(rgb(239 232 218 / .82), rgb(239 232 218 / .55) 60%, rgb(239 232 218 / 0)); }

/* subpages: a lower, smaller sun */
.sun--page { --d: min(50vh, 38vw); min-height: min(36rem, 72svh); }
.sun--page .sun__disc { right: 7vw; bottom: calc(var(--d) * -.3); }
.sun--page h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.sun--page .motto { margin-top: 1rem; font: 400 clamp(1.25rem, 2vw, 1.6rem)/1.35 var(--serif); color: var(--moss-2); max-width: 26ch; }
.sun--page .floor { display: block; height: 1.2rem; }

@keyframes rise { from { transform: translateY(16%); } to { transform: none; } }
@supports (animation-timeline: scroll()) {
  .sun__disc i { animation: climb linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
  @keyframes climb { to { transform: translateY(-14%); filter: brightness(1.08); } }
}
@media (prefers-reduced-motion: reduce) {
  .sun__disc, .sun__disc i { animation: none; }
}

/* ---------- sections ---------- */
.band { padding: clamp(4rem, 9vw, 7.5rem) var(--gutter); }
.band > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.field { background: var(--sage-deep); color: var(--plaster); }
.field h2, .field h3 { color: var(--plaster); }
.field a { color: var(--plaster); }
.prose { max-width: 65ch; }
.lead { font-size: 1.2rem; line-height: 1.6; }

.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split figure img { width: 100%; border-radius: 2px; }
.split figcaption, .caption { margin-top: .6rem; font-size: .9rem; color: var(--moss-2); }

/* home: the two practices side by side, joined by the sun */
.practices { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.practices::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.practices::after { content: ""; position: absolute; left: 50%; top: -.55rem; width: 1.1rem; height: 1.1rem; margin-left: -.55rem; border-radius: 50%; background: var(--gold); }
.practice { padding: 0 clamp(1.5rem, 4vw, 4rem); }
.practice:first-child { padding-left: 0; }
.practice:last-child { padding-right: 0; }
.practice h2 { margin-top: 1.6rem; }
.practice .role { font-size: 1.1rem; color: var(--moss-2); margin-bottom: 2rem; }
.more { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold-lo); padding-bottom: .15rem; }
.more svg { width: 1rem; height: 1rem; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.more:hover svg { transform: translateX(.25rem); }

/* treatment lists: ruled, no cards; name and description left, duration right */
.treatments { width: 100%; border-collapse: collapse; margin: 1.5rem 0 3rem; }
.treatments th { text-align: left; font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--moss-2); padding: 0 0 .6rem; border-bottom: 1px solid var(--moss); }
.treatments th:last-child, .treatments td:last-child { text-align: right; }
.treatments td { padding: 1.25rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.treatments td:first-child { padding-right: 2rem; }
.treatments .name { display: block; font: 400 1.3rem/1.3 var(--serif); }
.treatments .desc, .treatment-list .desc { display: block; margin-top: .35rem; max-width: 62ch; }
.treatments td.dur { white-space: nowrap; color: var(--moss-2); font-variant-numeric: tabular-nums; padding-top: 1.45rem; }
.treatments.compact td { padding: .8rem 0; }
.treatments.compact td.dur { padding-top: .95rem; }
.treatments.compact .name { font-size: 1.15rem; }
.treatment-list { list-style: none; padding: 0; margin: 1.5rem 0 3rem; border-top: 1px solid var(--moss); }
.treatment-list li { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.treatment-list .name { display: block; font: 400 1.3rem/1.3 var(--serif); }
.facts { margin: 0 0 2rem; color: var(--moss-2); }

/* weekly plan: the class slots are little suns */
.week { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin: 1rem 0 2rem; }
.week th, .week td { padding: .9rem .5rem; text-align: center; border-bottom: 1px solid rgb(239 232 218 / .22); }
.week thead th { font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-pale); border-bottom-color: rgb(239 232 218 / .6); }
.week th[scope="row"] { text-align: left; font-weight: 600; white-space: nowrap; }
.week td { color: rgb(239 232 218 / .35); }
.day-short { display: none; }
abbr[title] { text-decoration: none; }
.week .slot { display: inline-grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 50%; background: var(--gold) url(img/disc.jpg) center / cover; color: var(--moss); font-weight: 650; font-size: .95rem; }
.on-plaster .week th, .on-plaster .week td { border-bottom-color: var(--line); }
.on-plaster .week thead th { color: var(--moss-2); border-bottom-color: var(--moss); }
.on-plaster .week td { color: rgb(44 58 40 / .35); }
.on-plaster .week .slot { width: 3.2rem; height: 3.2rem; font-size: .85rem; }


.notes { list-style: none; padding: 0; margin: 0 0 2rem; columns: 2; column-gap: 3rem; }
.notes li { position: relative; padding-left: 1.4rem; margin-bottom: .7rem; break-inside: avoid; }
.notes li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--gold); }

/* quote on the yoga page */
.quote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.quote figure { height: 100%; }
.quote figure img { width: 100%; height: 100%; min-height: 20rem; object-fit: cover; object-position: right center; }
.quote blockquote { margin: 0; padding: clamp(2rem, 5vw, 4.5rem); }
.quote blockquote p { font: 400 clamp(1.35rem, 2.2vw, 1.85rem)/1.45 var(--serif); }
.quote cite { font-style: normal; font-size: .95rem; letter-spacing: .04em; color: var(--sage-pale); }

.after-actions { margin-top: 1.5rem; }
.meso { max-width: 34rem; }
.meso img { width: 100%; border-radius: 2px; }
.products { background: #d9dfcb; }

/* brands */
.brands { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem 3.5rem; margin-top: 1.5rem; }
.brands a, .brands span { display: block; }
.brands img { height: 3.4rem; width: auto; mix-blend-mode: multiply; }
.brands img.tall { height: 6.5rem; }

/* gallery */
.gallery { columns: 3 18rem; column-gap: 1.2rem; }
.gallery a { display: block; margin-bottom: 1.2rem; break-inside: avoid; }
.gallery img { width: 100%; border-radius: 2px; transition: filter .4s; }
.gallery a:hover img { filter: brightness(1.06) saturate(1.05); }
.rooms > div:first-child { margin-bottom: 2.2rem; }
.mosaic { max-width: var(--wrap); margin: 0 auto 2rem; display: grid; grid-template-columns: minmax(0, 37.5rem) 1fr 1fr; grid-template-rows: repeat(2, 12.3rem); gap: 1rem; }
.mosaic a { display: block; overflow: hidden; border-radius: 2px; }
.mosaic .big { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.mosaic a:hover img { transform: scale(1.03); }
.strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.2rem; }
.strip img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.contact figure img { width: 100%; border-radius: 2px; }
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2rem 0; }
.places p { margin: 0; }
.places strong { display: block; font: 400 1.3rem var(--serif); margin-bottom: .3rem; }

.legal h2 { font-size: 1.6rem; margin: 2.4rem 0 .6rem; }
.legal h1 + h2 { margin-top: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--moss); color: var(--plaster); padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2rem; }
.site-footer a { color: var(--plaster); }
.footer-places { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-places strong { font: 400 1.2rem var(--serif); letter-spacing: .02em; }
.footer-legal { max-width: var(--wrap); margin: 3rem auto 0; padding-top: 1.4rem; border-top: 1px solid rgb(239 232 218 / .2); font-size: .9rem; color: var(--sage-pale); }
.footer-legal a { color: var(--sage-pale); }

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
  nav.main { display: none; }
  .menu { display: block; position: static; }
  .menu summary { cursor: pointer; list-style: none; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; padding: .5rem 0; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--lime); border-top: 1px solid var(--line); box-shadow: 0 1.2rem 2rem -1rem rgb(44 58 40 / .35); padding: .5rem var(--gutter) 1.5rem; }
  .menu nav a { display: block; padding: .8rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .menu nav a[aria-current] { color: var(--plum); }
  .sun { --d: 78vw; min-height: auto; }
  .sun__wall { display: block; padding-top: 5rem; }
  .sun__wall::after { width: 100%; bottom: 0; }
  .sun__disc { position: relative; right: auto; bottom: auto; margin: 0 auto calc(var(--d) * -.17); }
  .sun__text { padding: 0 var(--gutter) 2.5rem; }
  .page-home .sun { --d: 74vw; }
  .page-home .sun__wall { min-height: 31rem; padding-top: 0; }
  .page-home .sun__disc { position: absolute; left: -4vw; top: 6.2rem; margin: 0; }
  .page-home .sun__text { margin-top: calc(6.2rem + var(--d) * .3); max-width: calc(var(--d) * .95); padding: 0 0 1.5rem var(--gutter); }
  .page-home .floor a { padding-top: 1.1rem; padding-bottom: 1.2rem; }
  .page-home .floor span { margin-top: .3rem; }
  .floor { grid-template-columns: 1fr; }
  .floor a + a { border-left: 0; border-top: 1px solid rgb(239 232 218 / .25); }
  .sun--page { --d: 60vw; min-height: auto; }
  .sun--page .sun__disc { margin: 0 -12vw calc(var(--d) * -.17) auto; }
  .quote blockquote { padding: 2.5rem var(--gutter); }
  .quote figure img { min-height: 0; aspect-ratio: 960 / 410; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .mosaic .big { grid-column: 1 / -1; grid-row: auto; }
  .mosaic img { aspect-ratio: 4 / 3; }
  .day-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .day-short { display: inline; }
  .split, .contact, .quote { grid-template-columns: 1fr; }
  .contact figure { max-width: 15rem; }
  .practices { grid-template-columns: 1fr; gap: 4rem; }
  .practices::before { display: none; }
  .practices::after { left: 0; margin-left: 0; }
  .practice, .practice:first-child, .practice:last-child { padding: 0; }
  .footer-places, .places { grid-template-columns: 1fr; }
  .notes { columns: 1; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip a:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .week { font-size: .85rem; }
  .week th, .week td { padding: .6rem .15rem; }
  .week .slot, .on-plaster .week .slot { width: 2.6rem; height: 2.6rem; font-size: .7rem; }
  .treatments td:first-child { padding-right: 1rem; }
}
