/* Practice — the door is always in view. A warm peach rail stays beside the page and
   holds an arch in the page's own colour, with the phone number and the way to book.
   The arch comes back in the first-visit steps, the fee card and the call to book. */
:root {
  --paper: #fbf7f1;
  --peach: #f2dcc8;
  --sage: #e6e8db;
  --ink: #2e2233;
  --plum: #4c2f55;
  --plum-soft: #63436d;
  --muted: #65586a;
  --line: #e4dacd;
  --on-plum: #fbf0e4;
  --serif: "Literata", Georgia, serif;
  --sans: "Albert Sans", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 6vw, 6rem);
  --space: clamp(4rem, 10vw, 7rem);
}

* {
  box-sizing: border-box;
}
html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  overflow-wrap: break-word;
  text-wrap: balance;
}
:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -100vw;
  top: 0.5rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: var(--plum);
  color: var(--on-plum);
}
.skip:focus {
  left: 0.5rem;
}

/* Small screens: the rail is a band across the top, the arch only keeps its button. */
.rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 1rem 1.25rem;
  background: var(--peach);
}
.brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.15;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.tagline,
.door-call {
  display: none;
}
.door {
  grid-column: 2;
  grid-row: 1;
}
.door .button {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}
.nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
  font-size: 0.95rem;
}
.nav a {
  padding: 0.3rem 0;
  text-decoration: none;
}
.nav a:hover,
.nav a[aria-current] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}
.lang-switch {
  grid-column: 1 / -1;
  display: inline-flex;
  gap: 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}
.lang-switch a {
  padding: 0.15rem 0;
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
}
.lang-switch a:hover,
.lang-switch a[aria-current] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.room {
  min-width: 0;
  padding: 0 var(--gutter);
}
main {
  max-width: 52rem;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  background: var(--plum);
  color: var(--on-plum);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
}
.button:hover {
  background: var(--plum-soft);
}
.text-link {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}
.text-link:hover {
  color: var(--plum-soft);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin: 0;
}
.actions-after {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.hero {
  padding: clamp(3.5rem, 11vw, 8rem) 0 0;
}
.eyebrow {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.25rem;
  color: var(--muted);
}
.hero-title {
  margin: 0;
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}
.hero-text {
  max-width: 36rem;
  margin: 1.75rem 0 2.25rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.block {
  margin-top: var(--space);
}
.block-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 300;
}
.block-intro {
  max-width: 36rem;
  margin: 0;
  color: var(--muted);
}
.more {
  margin: 2rem 0 0;
}

/* The price list: name, a dotted leader, the fee. */
.fees {
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.fee {
  display: flow-root;
  padding: 1.25rem 0 1.35rem;
  border-bottom: 1px solid var(--line);
}
.fee-img {
  float: right;
  width: 4.5rem;
  height: 5.5rem;
  margin: 0.25rem 0 0.5rem 1.25rem;
  border-radius: 2.25rem 2.25rem 0 0;
  object-fit: cover;
}
.fee-line {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  text-decoration: none;
}
.fee-name {
  min-width: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.25;
  overflow-wrap: break-word;
}
.fee-line:hover .fee-name {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.fee-leader {
  flex: 1 1 1rem;
  min-width: 1rem;
  border-bottom: 1px dotted var(--muted);
  transform: translateY(-0.25em);
}
.fee-price {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.fee-note {
  max-width: 36rem;
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.fees-note {
  max-width: 36rem;
  margin: 2rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.empty {
  padding: 1.25rem 0;
  color: var(--muted);
}

/* How a first visit goes. */
.visit {
  margin-top: var(--space);
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1.25rem, 5vw, 3.5rem);
  border-radius: 1.25rem;
  background: var(--sage);
}
.visit .block-intro {
  color: var(--ink);
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
  gap: 2.25rem 2rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.step-arch {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 3.25rem;
  height: 4rem;
  padding-bottom: 0.35rem;
  border-radius: 1.625rem 1.625rem 0 0;
  background: var(--paper);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--plum);
}
.step h3 {
  margin: 1rem 0 0.4rem;
  font-size: 1.3rem;
}
.step p {
  margin: 0;
  font-size: 0.97rem;
}

/* Advice, as a quiet list: there may be no pictures at all. */
.articles {
  margin-top: 2.25rem;
  border-top: 1px solid var(--ink);
}
.article-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
.article-row-text {
  min-width: 0;
  max-width: 36rem;
}
.article-row-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  line-height: 1.2;
}
.article-row-title a {
  text-decoration: none;
}
.article-row-title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.article-row-excerpt {
  margin: 0;
  color: var(--muted);
}
.article-row-img {
  flex: none;
  width: 6rem;
  height: 7.5rem;
  border-radius: 3rem 3rem 0 0;
  object-fit: cover;
}
.date,
.crumb {
  margin: 0 0 0.4rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.crumb {
  margin-bottom: 2rem;
}
.crumb a {
  text-decoration: none;
}
.crumb a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

/* The call to book: a large doorway, the same shape as the one in the rail. */
.book {
  margin-top: var(--space);
  padding: clamp(5rem, 13vw, 8rem) clamp(1.5rem, 6vw, 4rem) clamp(2.5rem, 6vw, 4rem);
  border-radius: 26rem 26rem 0 0;
  background: var(--plum);
  color: var(--on-plum);
  text-align: center;
}
.book-title {
  max-width: 28rem;
  margin: 0 auto 0.9rem;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 300;
}
.book-text {
  max-width: 30rem;
  margin: 0 auto 2rem;
}
.book .button {
  background: var(--peach);
  color: var(--ink);
}
.book .button:hover {
  background: var(--on-plum);
}
.book :focus-visible {
  outline-color: var(--on-plum);
}

/* Inner pages. */
.sheet {
  max-width: 40rem;
  padding-top: clamp(3rem, 8vw, 6rem);
}
.sheet-wide {
  max-width: none;
}
.sheet-head {
  margin-bottom: 0.5rem;
}
.sheet-title {
  margin: 0 0 1.25rem;
  font-weight: 300;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
}
.lede {
  margin: 0 0 2.5rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--muted);
}
.cover {
  width: 100%;
  margin: 0 0 2.5rem;
  border-radius: 1.25rem;
}
.prose {
  overflow-wrap: break-word;
}
.prose > :first-child {
  margin-top: 0;
}
.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1.2em;
}
.prose ul,
.prose ol {
  padding-left: 1.25rem;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose h2 {
  margin: 2.2em 0 0.6em;
  font-size: 1.75rem;
}
.prose h3 {
  margin: 1.8em 0 0.5em;
  font-size: 1.3rem;
}
.prose a {
  color: var(--plum);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.prose blockquote {
  margin: 2em 0;
  padding: 0 0 0 1.25rem;
  border-left: 2px solid var(--peach);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.3rem;
  line-height: 1.4;
}
.prose img {
  height: auto;
  border-radius: 0.75rem;
}
.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}
.prose th,
.prose td {
  padding: 0.5rem 1.25rem 0.5rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

/* A service on its own page, with its fee in an arch. */
.service {
  display: grid;
  gap: 2.5rem;
}
.service-main {
  min-width: 0;
  max-width: 40rem;
}
.fee-card {
  align-self: start;
  width: min(100%, 17rem);
  padding: 4.5rem 1.5rem 1.75rem;
  border-radius: 8.5rem 8.5rem 0 0;
  background: var(--peach);
  text-align: center;
}
.fee-card-label {
  margin: 0;
  font-size: 0.875rem;
}
.fee-card-price {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2.6rem;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  font-size: 0.95rem;
}
.pagination-status {
  color: var(--muted);
}
.pagination-link {
  text-decoration: none;
}
.pagination-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.footer {
  max-width: 52rem;
  margin-top: var(--space);
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.page-home .footer {
  margin-top: 0;
  border-top: 0;
}
.footer-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 3rem;
  margin: 0 0 1.25rem;
}
.footer-facts dt {
  color: var(--muted);
}
.footer-facts dd {
  margin: 0;
}
.footer-note {
  margin: 0;
  color: var(--muted);
}

/* Wide screens: the rail stands beside the page. When the owner's admin bar is
   showing, the rail sticks below it and is that much shorter. */
@media (min-width: 58rem) {
  .shell {
    display: grid;
    grid-template-columns: clamp(19rem, 27vw, 24rem) minmax(0, 1fr);
    align-items: start;
  }
  .rail {
    position: sticky;
    top: var(--sitr-bar-height, 0px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: calc(100vh - var(--sitr-bar-height, 0px));
    padding: 3.5rem 1.75rem 0;
    overflow-y: auto;
  }
  .brand {
    font-size: 1.9rem;
    font-weight: 300;
  }
  .tagline {
    display: block;
    margin: 0.85rem 0 0;
    font-size: 0.95rem;
    line-height: 1.5;
  }
  .nav {
    flex-direction: column;
    gap: 0.1rem;
    margin-top: 2rem;
    font-size: 1.05rem;
  }
  .lang-switch {
    margin-top: 1.25rem;
    align-self: flex-start;
  }
  .door {
    margin-top: auto;
    padding: 4.75rem 1.25rem 1.75rem;
    border-radius: 12rem 12rem 0 0;
    background: var(--paper);
    text-align: center;
  }
  .door-call {
    display: block;
    margin-bottom: 1.25rem;
  }
  .door-call p {
    margin: 0;
  }
  .door-label {
    font-size: 0.875rem;
    color: var(--muted);
  }
  .door-phone {
    font-family: var(--serif);
    font-size: 1.6rem;
    line-height: 1.3;
  }
  .door-phone a {
    text-decoration: none;
  }
  .door-phone a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
  }
  .door-hours {
    margin-top: 0.3rem;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--muted);
  }
  .door .button {
    display: block;
    padding: 0.7rem 1rem;
    font-size: 1rem;
  }
  .footer-small-only {
    display: none;
  }
  .service {
    grid-template-columns: minmax(0, 1fr) 15rem;
    gap: 3rem;
  }
  .fee-card {
    position: sticky;
    top: 4.5rem;
    width: 100%;
    margin-top: 3.5rem;
    padding: 4rem 1.25rem 1.5rem;
    border-radius: 7.5rem 7.5rem 0 0;
  }
}

/* A low window: the rail keeps a flatter arch and scrolls rather than clips. */
@media (min-width: 58rem) and (max-height: 42rem) {
  .door {
    margin-top: 1.5rem;
    padding-top: 1.75rem;
    border-radius: 2rem 2rem 0 0;
  }
}
