/* Kiteline Pilates · example site by Suneya Labs
   Blush-linen paper, espresso ink, one dusty sage accent.
   Display: Cormorant Garamond. Text: Albert Sans. Plain CSS, no build step. */

:root {
  --paper: #F5EBE3;        /* blush linen */
  --paper-deep: #EEDFD4;   /* a shade deeper, for quiet bands */
  --paper-light: #FAF5F0;  /* lighter, for form fields and lists */
  --ink: #2B1A12;          /* espresso */
  --text: #4E3C33;
  --muted: #7B675B;
  --line: rgba(43, 26, 18, .17);
  --sage: #A9B09B;         /* the one accent */
  --sage-deep: #56624D;
  --serif: "Cormorant Garamond", "Cormorant", "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: "Albert Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 3.2vw, 48px);
  --max: 1440px;
  --head: 76px;
  --bar: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; }
::selection { background: var(--sage); color: var(--ink); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; font-size: 14px;
}
.skip:focus { top: 12px; }
.on-phone { display: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.012em;
  line-height: 1;
}
h1 em, h2 em, h3 em, .serif em { font-style: italic; font-weight: 400; }
.display { font-size: clamp(3.1rem, 7.2vw, 6.4rem); line-height: .98; }
h2 { font-size: clamp(2.7rem, 5.6vw, 5rem); }
h3 { font-size: clamp(1.9rem, 2.9vw, 2.6rem); line-height: 1.05; }

.label {
  font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--sage-deep); line-height: 1.4;
}
.tiny-link {
  display: inline-block;
  font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; line-height: 1.4;
  color: var(--muted);
  padding-bottom: 5px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: color .4s ease, background-size .5s ease;
}
.tiny-link:hover { color: var(--ink); background-size: 40% 1px; }
.lede { font-size: clamp(1.06rem, 1.35vw, 1.2rem); line-height: 1.65; max-width: 34em; }
.text-link { border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: opacity .3s ease; }
.text-link:hover { opacity: .65; }

/* ---------- buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: .01em; line-height: 1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .4s ease, color .4s ease, border-color .4s ease;
}
.pill-white { background: #fff; color: var(--ink); }
.pill-white:hover { background: var(--paper); }
.pill-ink { background: var(--ink); color: var(--paper); }
.pill-ink:hover { background: #45302A; }
.pill-line { border-color: var(--ink); color: var(--ink); }
.pill-line:hover { background: var(--ink); color: var(--paper); }

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(76px, 11vw, 168px) 0; }
.section.tight { padding: clamp(56px, 7vw, 104px) 0; }
.band-deep { background: var(--paper-deep); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.ph { overflow: hidden; background: var(--paper-deep); }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.93) sepia(.05); transition: transform 1.6s cubic-bezier(.2, .6, .2, 1); }
.ph.warm img { filter: saturate(.74) sepia(.22) brightness(1.02); }
a:hover > .ph img, a.ph:hover img { transform: scale(1.025); }
.r-16x10 { aspect-ratio: 16 / 10; }
.r-3x2 { aspect-ratio: 3 / 2; }
.r-4x5 { aspect-ratio: 4 / 5; }
.r-3x4 { aspect-ratio: 3 / 4; }
.r-5x3 { aspect-ratio: 5 / 3; }
.r-4x3 { aspect-ratio: 4 / 3; }
.r-21x9 { aspect-ratio: 21 / 9; }
figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---------- header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--head);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 24px;
  padding: 0 var(--gutter);
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: background .5s ease, color .5s ease, border-color .5s ease;
}
.js .home .site-head:not(.scrolled) { background: transparent; color: #fff; border-bottom-color: transparent; }
.wordmark { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; letter-spacing: -.005em; line-height: 1; justify-self: start; white-space: nowrap; padding-bottom: 4px; }
.nav ul { display: flex; gap: clamp(22px, 3.2vw, 44px); }
.nav a { font-size: 15.5px; padding: 6px 0; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .5s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav-book, .nav .nav-home { display: none; }
.head-book { justify-self: end; font-size: 15.5px; padding: 6px 0; border-bottom: 1px solid currentColor; transition: opacity .3s ease; }
.head-book:hover { opacity: .7; }
.menu-toggle {
  display: none; justify-self: end; background: none; border: 0; padding: 12px 0; cursor: pointer;
  font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: inherit;
}
main { display: block; }
body:not(.home) main { padding-top: var(--head); }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; background: #5a4334; overflow: hidden;
}
.hero-img { position: absolute; inset: 0; display: block; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; filter: saturate(.9) sepia(.08); }
.js .hero-img img { animation: settle 3.2s cubic-bezier(.2, .6, .2, 1) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(43, 26, 18, .5), rgba(43, 26, 18, 0) 60%),
    linear-gradient(to bottom, rgba(43, 26, 18, .3), rgba(43, 26, 18, 0) 26%),
    rgba(78, 48, 28, .2);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 28px;
  padding: 0 var(--gutter) clamp(40px, 6.4vh, 80px);
  max-width: none;
}
.hero .label { color: rgba(255, 255, 255, .9); margin-bottom: 22px; }
.hero h1 em { font-weight: 500; }
.hero h1 { color: #fff; font-weight: 500; font-size: clamp(3.4rem, 9.3vw, 8rem); line-height: .93; letter-spacing: -.018em; margin-bottom: clamp(26px, 4vh, 40px); }
.hero-aside { font-size: 15px; color: rgba(255, 255, 255, .92); padding-bottom: 12px; text-align: right; }
.hero-aside a { border-bottom: 1px solid rgba(255, 255, 255, .7); padding-bottom: 2px; }
.hero-aside a:hover { border-bottom-color: #fff; }

/* ---------- home: small on purpose ---------- */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 8vw, 128px); align-items: end; }
.split .copy h2 { margin: 18px 0 30px; }
.split .copy p + p { margin-top: 1em; }
.split .copy .tiny-link { margin-top: 34px; }
.copy p { max-width: 30em; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(64px, 9vw, 128px); }
.facts li { padding: 30px 24px 0 0; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts .n { display: block; font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1; color: var(--ink); font-weight: 400; }
.facts .n em { font-style: italic; }
.facts .k { display: block; margin-top: 14px; font-size: 15px; line-height: 1.5; max-width: 15em; }

/* ---------- home: three ways (large quiet photographs) ---------- */
.ways-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(48px, 7vw, 104px); }
.ways-head h2 { margin-top: 18px; }
.ways { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(72px, 10vw, 150px); }
.way { display: block; }
.way h3 { margin-top: 30px; }
.way p { margin-top: 12px; font-size: 15.5px; max-width: 26em; }
.way .tiny-link { margin-top: 18px; }
.way-a { grid-column: 1 / span 7; margin-left: calc(-1 * var(--gutter)); }
.way-a .way-text { padding-left: calc(var(--gutter) + 9%); }
.way-b { grid-column: 9 / span 3; padding-top: clamp(0px, 6vw, 96px); }
.way-note { grid-column: 2 / span 4; align-self: center; }
.way-note p { font-family: var(--serif); font-size: clamp(1.6rem, 2.5vw, 2.25rem); line-height: 1.22; color: var(--ink); max-width: 15em; }
.way-note p em { font-style: italic; }
.way-note .tiny-link { margin-top: 30px; }
.way-c { grid-column: 8 / span 5; margin-right: calc(-1 * var(--gutter)); }
.way-c .way-text { padding-right: var(--gutter); }

/* ---------- quote ---------- */
.quote-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.quote-row .ph { grid-column: 2 / span 4; }
.quote-row blockquote { grid-column: 7 / span 6; }
blockquote .q { font-family: var(--serif); font-size: clamp(1.9rem, 3.5vw, 3.2rem); line-height: 1.14; color: var(--ink); letter-spacing: -.01em; }
blockquote .q em { font-style: italic; }
blockquote footer { margin-top: 30px; }

/* ---------- today ---------- */
.today { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.today .copy h2 { margin: 18px 0 28px; }
.today .copy .pill { margin-top: 34px; }
.rows { border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 96px 1fr auto; align-items: baseline; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rows .time { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
.rows .what { font-family: var(--serif); font-size: clamp(1.5rem, 2.1vw, 1.85rem); line-height: 1.1; color: var(--ink); }
.rows .who { display: block; font-family: var(--sans); font-size: 13.5px; color: var(--muted); margin-top: 6px; letter-spacing: 0; }
.rows .spots { font-size: 13.5px; color: var(--text); white-space: nowrap; }
.rows .spots.wait { color: var(--muted); font-style: italic; }

/* ---------- pricing ---------- */
.price-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 104px); align-items: end; margin-bottom: clamp(44px, 6vw, 84px); }
.price-head h2 { margin-top: 18px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.plan { padding: 34px 32px 6px 0; }
.plan + .plan { padding-left: 32px; border-left: 1px solid var(--line); }
.plan .amount { font-family: var(--serif); font-size: clamp(3.2rem, 5.2vw, 4.6rem); line-height: 1; color: var(--ink); margin: 20px 0 6px; }
.plan .amount small { font-family: var(--sans); font-size: 14px; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan .what { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.2; color: var(--ink); margin-bottom: 16px; }
.plan ul li { font-size: 15px; padding: 9px 0; border-top: 1px solid var(--line); }
.plan ul li:first-child { border-top: 0; }
.plan .tiny-link { margin-top: 22px; }
.after-plans { margin-top: clamp(36px, 5vw, 60px); }

.price-list { border-top: 1px solid var(--line); margin-top: clamp(48px, 6vw, 88px); }
.price-list li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.price-list .name { font-family: var(--serif); font-size: clamp(1.45rem, 2vw, 1.8rem); line-height: 1.1; color: var(--ink); }
.price-list .note { font-size: 15px; color: var(--muted); }
.price-list .cost { font-family: var(--serif); font-size: clamp(1.45rem, 2vw, 1.8rem); color: var(--ink); }

/* ---------- closing band ---------- */
.closing { background: var(--sage); color: var(--ink); text-align: center; padding: clamp(88px, 12vw, 176px) 0; }
.closing h2 { font-size: clamp(2.8rem, 6.6vw, 6rem); line-height: .98; }
.closing p { margin: 26px auto 0; max-width: 30em; color: #33291f; }
.closing .pill { margin-top: 38px; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #E9DACE; padding: clamp(60px, 7vw, 100px) 0 34px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.4fr)); gap: 40px 32px; }
.site-foot .wordmark { color: #F5EBE3; font-size: 2.3rem; display: inline-block; }
.site-foot .blurb { margin-top: 18px; max-width: 24em; color: #CDB9AB; }
.site-foot h4 { font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #B8BFA9; margin-bottom: 16px; }
.site-foot li { padding: 3px 0; color: #E0CFC2; overflow-wrap: anywhere; }
.site-foot li a:hover { color: #fff; }
.foot-note { margin-top: clamp(48px, 6vw, 84px); padding-top: 24px; border-top: 1px solid rgba(245, 235, 227, .18); font-size: 13px; color: #B9A597; }

/* ---------- phone book bar ---------- */
.book-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: var(--ink); color: var(--paper);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-top: 1px solid rgba(245, 235, 227, .14);
}
.book-bar a { display: flex; align-items: center; justify-content: center; height: 52px; font-size: 14.5px; font-weight: 500; letter-spacing: .02em; }
.book-bar .go { flex: 1; }
.book-bar .call { padding: 0 26px; border-left: 1px solid rgba(245, 235, 227, .2); color: #DCCBBE; }

/* ---------- inner page heads ---------- */
.page-head { padding: clamp(48px, 7vw, 110px) 0 clamp(56px, 8vw, 120px); }
.page-head .grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.page-head h1 { margin: 22px 0 32px; }
.page-head.plain h1 { margin-bottom: 26px; }

/* ---------- classes page ---------- */
.class-list { border-top: 1px solid var(--line); }
.class-list li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 24px; align-items: baseline; padding: clamp(26px, 3.2vw, 44px) 0; border-bottom: 1px solid var(--line); }
.class-list h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.class-list p { max-width: 30em; }
.class-list .meta { text-align: right; }
.class-list .meta span { display: block; }
.class-list .meta span + span { margin-top: 6px; color: var(--muted); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head h2 { margin-top: 18px; }
.sec-head .side { max-width: 26em; padding-bottom: 8px; }

.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.day { padding: 26px 14px 0 0; }
.day + .day { padding-left: 14px; border-left: 1px solid var(--line); }
.day h3 { font-size: 1.75rem; font-style: italic; margin-bottom: 18px; }
.day h3 abbr { text-decoration: none; }
.day li { padding: 15px 0 16px; border-top: 1px solid var(--line); }
.day .time { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
.day .what { display: block; font-family: var(--serif); font-size: 1.32rem; line-height: 1.12; color: var(--ink); margin: 7px 0 4px; }
.day .who { display: block; font-size: 13px; color: var(--muted); }
.week-note { margin-top: 28px; font-size: 14px; color: var(--muted); }

.notes { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.notes h2 { margin: 18px 0 clamp(28px, 4vw, 48px); }
.note-list li { padding: 26px 0; border-top: 1px solid var(--line); }
.note-list li:last-child { border-bottom: 1px solid var(--line); }
.note-list h3 { font-size: clamp(1.6rem, 2.3vw, 2rem); margin-bottom: 10px; }
.note-list p { max-width: 32em; }

/* ---------- about page ---------- */
.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.story .lead { grid-column: 1 / span 5; }
.story .lead h2 { margin-top: 18px; }
.story .body { grid-column: 7 / span 5; padding-top: 10px; }
.story .body p + p { margin-top: 1.15em; }
.story .body p:first-child { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 1.95rem); line-height: 1.28; color: var(--ink); }
.wide-photo { margin-top: clamp(64px, 9vw, 128px); }
.head-photo { margin-top: clamp(40px, 5vw, 76px); }
.book-section { padding-bottom: clamp(76px, 10vw, 150px); }
.book-page .page-head { padding-bottom: clamp(40px, 5vw, 72px); }

.teachers { border-top: 1px solid var(--line); }
.teachers li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); gap: 24px; align-items: baseline; padding: clamp(28px, 3.4vw, 46px) 0; border-bottom: 1px solid var(--line); }
.teachers h3 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); font-style: italic; }

.stills { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.stills figure:nth-child(1) { grid-column: 1 / span 4; }
.stills figure:nth-child(2) { grid-column: 6 / span 3; margin-top: clamp(40px, 9vw, 140px); }
.stills figure:nth-child(3) { grid-column: 9 / span 4; padding-left: 24px; }
.stills h3 { margin-top: 26px; font-size: clamp(1.7rem, 2.5vw, 2.2rem); }
.stills p { margin-top: 8px; font-size: 15.5px; max-width: 22em; }
.stills-foot { margin-top: clamp(48px, 6vw, 88px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 15.5px; }

.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.quotes blockquote { padding: 34px 32px 0 0; }
.quotes blockquote + blockquote { padding-left: 32px; border-left: 1px solid var(--line); }
.quotes .q { font-size: clamp(1.5rem, 2.1vw, 1.9rem); line-height: 1.22; }
.quotes footer { margin-top: 22px; }

/* ---------- book page ---------- */
.book-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(36px, 7vw, 120px); align-items: start; }
.step { padding: clamp(30px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.step-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 26px; }
.step-head .num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--sage-deep); }
.step-head h2 { font-size: clamp(1.9rem, 2.8vw, 2.5rem); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.days label { display: block; text-align: center; padding: 14px 0 12px; border: 1px solid var(--line); border-radius: 3px; cursor: pointer; transition: background .35s ease, color .35s ease, border-color .35s ease; }
.days .d { display: block; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); transition: color .35s ease; }
.days .n { display: block; font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; color: var(--ink); margin-top: 4px; transition: color .35s ease; }
.days label:hover { border-color: var(--ink); }
.days input:checked + label { background: var(--ink); border-color: var(--ink); }
.days input:checked + label .d { color: #D9C8BB; }
.days input:checked + label .n { color: var(--paper); }
.days input:focus-visible + label, .slots input:focus-visible + label { outline: 2px solid var(--sage-deep); outline-offset: 3px; }

.slots { border-bottom: 1px solid var(--line); }
.slots label { display: grid; grid-template-columns: 76px 1fr auto 22px; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); cursor: pointer; }
.slots .time { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
.slots .what { font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; color: var(--ink); }
.slots .who { display: block; font-family: var(--sans); font-size: 13.5px; color: var(--muted); margin-top: 5px; }
.slots .spots { font-size: 13.5px; white-space: nowrap; }
.slots .dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--muted); position: relative; transition: border-color .3s ease; }
.slots .dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .3s ease; }
.slots input:checked + label .dot { border-color: var(--ink); }
.slots input:checked + label .dot::after { transform: scale(1); }
.slots input:disabled + label { cursor: default; opacity: .5; }
.slots input:disabled + label .dot { visibility: hidden; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.field { display: block; }
.field.full { grid-column: 1 / -1; }
.field > span { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(43, 26, 18, .4); border-radius: 0;
  padding: 9px 0 10px; font-size: 17px; color: var(--ink); outline-offset: 4px;
  -webkit-appearance: none; appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232B1A12' stroke-width='1.2'/%3E%3C/svg%3E") right 2px center no-repeat; padding-right: 24px; }
.field textarea { min-height: 84px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.check { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; font-size: 15.5px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.submit-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 8px; }
.submit-row .pill { height: 50px; padding: 0 30px; }
.form-note { font-size: 14px; color: var(--muted); max-width: 30em; line-height: 1.55; }
.sent { display: none; grid-column: 1 / -1; padding: 18px 22px; background: var(--paper-light); border-left: 2px solid var(--sage-deep); font-size: 15.5px; color: var(--ink); }
.sent.show { display: block; }
.sent:focus { outline: none; }

.aside { position: sticky; top: calc(var(--head) + 28px); }
.aside .block { padding: 28px 0; border-top: 1px solid var(--line); }
.aside .block:last-child { border-bottom: 1px solid var(--line); }
.aside .amount { font-family: var(--serif); font-size: 3.6rem; line-height: 1; color: var(--ink); margin: 14px 0 10px; }
.aside h3 { font-size: 1.7rem; margin: 12px 0 10px; }
.aside p:not(.label):not(.amount) { font-size: 15.5px; }
.aside dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; font-size: 15.5px; margin-top: 12px; }
.aside dd { text-align: right; }
.aside .ph { margin-bottom: 28px; }

/* ---------- reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 1.1s ease, transform 1.2s cubic-bezier(.2, .6, .2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: .12s; }
.js [data-reveal][data-delay="2"] { transition-delay: .24s; }
.js [data-reveal][data-delay="3"] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .hero-img img { animation: none; }
  .ph img, .pill, .tiny-link, .site-head { transition: none; }
}

@media (max-aspect-ratio: 4/5) {
  .hero-img img { object-position: 50% 30%; }
}

/* ---------- tablet ---------- */
@media (max-width: 1040px) {
  .week { display: block; border-top: 0; }
  .day, .day + .day { display: grid; grid-template-columns: 120px 1fr; padding: 22px 0 6px; border-left: 0; border-top: 1px solid var(--line); }
  .day:last-child { border-bottom: 1px solid var(--line); }
  .day h3 { margin: 6px 0 0; }
  .day li { display: grid; grid-template-columns: 92px 1fr auto; align-items: baseline; gap: 14px; padding: 12px 0; border-top: 0; }
  .day li + li { border-top: 1px solid var(--line); }
  .day .what { margin: 0; font-size: 1.4rem; }
  .class-list li { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
  .class-list .meta { grid-column: 2; text-align: left; display: flex; gap: 18px; }
  .class-list .meta span + span { margin-top: 0; }
  .teachers li { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); }
  .teachers li p { grid-column: 2; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}

/* ---------- phone ---------- */
@media (max-width: 800px) {
  :root { --head: 64px; --bar: 52px; }
  body { font-size: 16.5px; padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom, 0px)); }
  .site-head { grid-template-columns: 1fr auto; }
  .wordmark { font-size: 1.7rem; }
  .head-book { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; background: var(--paper); color: var(--ink);
    display: flex; align-items: center; padding: var(--head) var(--gutter) calc(var(--bar) + 24px);
    opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s;
  }
  .nav ul { flex-direction: column; gap: 6px; width: 100%; }
  .nav a { font-family: var(--serif); font-size: 2.7rem; line-height: 1.15; display: inline-block; padding: 4px 0; }
  .nav a::after { display: none; }
  .nav .nav-home { display: block; }
  .nav .nav-book { display: block; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
  .nav .nav-book a { font-style: italic; }
  .menu-open .nav { opacity: 1; visibility: visible; transition: opacity .45s ease; }
  .menu-open .site-head, .menu-open .home .site-head:not(.scrolled), html.menu-open .site-head { color: var(--ink); background: var(--paper); border-bottom-color: transparent; }
  html.menu-open, html.menu-open body { overflow: hidden; }
  .book-bar { display: flex; }

  .hero { min-height: calc(100svh - var(--bar)); }
  .hero-img img { object-position: 50% 30%; }
  .hero .pill { display: none; }
  .hero::after {
    background:
      linear-gradient(to top, rgba(43, 26, 18, .62), rgba(43, 26, 18, 0) 62%),
      linear-gradient(to bottom, rgba(43, 26, 18, .24), rgba(43, 26, 18, 0) 22%),
      rgba(70, 44, 28, .26);
  }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; padding-bottom: 34px; }
  .hero h1 { font-size: clamp(3rem, 15.2vw, 4.6rem); margin-bottom: 0; }
  .hero .label { margin-bottom: 16px; font-size: 10.5px; letter-spacing: .2em; }
  .hero-aside { text-align: left; padding-bottom: 0; font-size: 14.5px; }

  .split, .today, .price-head, .notes, .book-grid, .page-head .grid { grid-template-columns: 1fr; }
  .split .ph { order: -1; }
  .page-head .grid { align-items: start; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li, .facts li + li { padding: 24px 16px 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .facts li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .facts li:nth-last-child(-n+2) { border-bottom: 0; }

  .ways-head, .sec-head { display: block; }
  .ways-head .tiny-link, .sec-head .tiny-link, .sec-head .pill { margin-top: 24px; }
  .sec-head .side { margin-top: 20px; padding-bottom: 0; }
  .ways { display: block; }
  .way-a, .way-c { margin-left: 0; margin-right: 0; }
  .way-a .way-text, .way-c .way-text { padding-left: 0; padding-right: 0; }
  .way-b { padding-top: 0; width: 78%; margin-left: auto; }
  .way + .way, .way-note, .way-note + .way { margin-top: 64px; }
  .way h3 { margin-top: 22px; }

  .quote-row { display: block; }
  .quote-row .ph { width: 62%; margin-bottom: 40px; }

  .rows li { grid-template-columns: 74px 1fr auto; gap: 12px; padding: 18px 0; }
  .plans { grid-template-columns: 1fr; }
  .plan, .plan + .plan { padding: 30px 0 30px; border-left: 0; }
  .plan + .plan { border-top: 1px solid var(--line); }
  .price-list li { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .price-list .note { grid-column: 1 / -1; grid-row: 2; }

  .class-list li { grid-template-columns: 1fr; gap: 12px; }
  .class-list .meta { grid-column: 1; }
  .day, .day + .day { grid-template-columns: 1fr; padding-top: 24px; }
  .day h3 { margin: 0 0 8px; font-size: 1.9rem; }
  .day li { grid-template-columns: 82px 1fr auto; gap: 10px; }

  .story { display: block; }
  .story .body { padding-top: 30px; }
  .teachers li { grid-template-columns: 1fr; gap: 10px; }
  .teachers li p { grid-column: 1; }
  .stills { display: block; }
  .stills figure + figure { margin-top: 56px; }
  .stills figure:nth-child(2) { margin-top: 56px; width: 70%; margin-left: auto; }
  .stills figure:nth-child(3) { width: 82%; padding-left: 0; }
  .head-photo .ph { aspect-ratio: 4 / 3; }
  .quotes { grid-template-columns: 1fr; }
  .quotes blockquote, .quotes blockquote + blockquote { padding: 30px 0; border-left: 0; }
  .quotes blockquote + blockquote { border-top: 1px solid var(--line); }

  .days { gap: 5px; }
  .days .n { font-size: 1.55rem; }
  .days .d { font-size: 9.5px; letter-spacing: .12em; }
  .slots label { grid-template-columns: 68px 1fr 20px; gap: 10px; }
  .slots .time { white-space: nowrap; font-size: 12px; }
  .on-phone { display: inline; }
  .on-desk { display: none; }
  .slots .spots { grid-column: 2; grid-row: 2; margin-top: -8px; color: var(--muted); }
  .slots .dot { grid-column: 3; grid-row: 1; }
  .fields { grid-template-columns: 1fr; }
  .aside { position: static; }

  .foot-grid { grid-template-columns: 1.3fr 1fr; gap: 36px 16px; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .foot-grid > :nth-child(3) { grid-column: 1 / -1; order: 3; }
}
