/* Sections: "Ways to work with me" (price menu and package), reviews, booking with the referral card,
   "Areas I visit", "Questions", and long-form text pages such as the privacy policy. */

/* Ways to work with me: a price menu and an arched package panel ---------------- */
.services-menu { background: var(--band); }
.menu-head { max-width: 40em; }
.menu-layout {
  margin-top: clamp(32px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.menu-card {
  background: var(--card);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 2px 16px rgba(42, 21, 38, 0.05);
}
.menu-group + .menu-group { margin-top: 30px; }
.menu-group h3 {
  font-size: 0.8125rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--sage);
}
.menu-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.menu-group .menu-row:last-child { border-bottom: 0; }
.menu-main { min-width: 0; }
.menu-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.25;
  color: var(--ink);
}
.menu-desc { margin-top: 4px; color: var(--muted); max-width: 34em; }
.menu-side {
  flex: none;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: baseline;
  justify-items: end;
}
.menu-len { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.menu-price { font-family: var(--font-display); font-size: 1.625rem; color: var(--plum); }
/* 44px tall (the mockup had 40px) to meet the spec's 44px touch target rule (spec 6.5). */
.menu-book {
  grid-column: 1 / -1;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid var(--plum);
  color: var(--plum);
  font-weight: 600;
  text-decoration: none;
}
.menu-book:hover { background: var(--plum); color: var(--page); }

.package {
  position: relative;
  padding: clamp(64px, 7vw, 92px) clamp(24px, 2.6vw, 36px) 34px;
  color: var(--page);
  background: var(--plum);
  border-radius: 50% 50% 24px 24px / 150px 150px 24px 24px;
  text-align: center;
  --focus: var(--page);
}
.package-kicker {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--sage-strong);
  color: var(--page);
  font-size: 0.8125rem;
  font-weight: 700;
}
.package h3 { margin-top: 14px; font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); color: var(--page); }
.package-meta {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 14px;
  color: var(--on-plum-soft);
  font-weight: 600;
}
.package-price { font-family: var(--font-display); font-size: 2.25rem; color: var(--page); font-weight: 400; }
.package-lead { margin-top: 14px; color: var(--on-plum-soft); }
.package-list {
  list-style: none;
  margin: 18px auto 26px;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 17em;
  text-align: left;
}
.package-list li { position: relative; padding-left: 24px; }
.package-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 8px;
  border-radius: 0 80% 0 80%;
  background: var(--sage-soft);
}

/* Cal status line (launched home page only): cal.js writes "Opening the booking calendar." into it, or a link to the
   event's own page when the calendar does not open. It sticks near the bottom of the screen while the services
   section is in view, so the message shows beside the Book buttons. Empty, it has no box. It is never display: none
   or visibility: hidden, which would take the aria-live region out of the accessibility tree and silence it. */
.cal-status {
  position: sticky;
  bottom: 16px;
  z-index: 1;
  max-width: 38em;
  margin: 24px auto 0;
  padding: 12px 20px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  color: var(--ink);
}
.cal-status:empty { margin: 0; padding: 0; border: 0; min-height: 0; }
.cal-status a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--plum); }

/* Reviews: only rendered when site.json holds real, permissioned reviews (spec 4). */
.reviews h2 { margin-bottom: clamp(24px, 3vw, 36px); }
.review-card {
  max-width: 44em;
  margin: 0;
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
}
.review-card + .review-card { margin-top: 20px; }
.review-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink);
}
.review-card figcaption { margin-top: 14px; font-size: 0.9375rem; font-weight: 600; color: var(--plum); }

/* Booking: the arch returns --------------------------------------------------- */
.booking { padding-top: clamp(24px, 3vw, 40px); }
.booking-panel {
  max-width: 620px;
  margin-inline: auto;
  padding: clamp(92px, 14vw, 150px) clamp(24px, 6vw, 72px) clamp(52px, 6vw, 76px);
  background: var(--plum-deep);
  color: var(--page);
  text-align: center;
  /* Oversized radii are scaled down together, giving a semicircular top at any width. */
  border-radius: 999px 999px 90px 90px;
  --focus: var(--page);
}
.booking-panel .sprig { width: 34px; height: 44px; margin: 0 auto 18px; }
/* Child combinators keep these panel rules off the referral card's own heading and text. */
.booking-panel > h2 { color: var(--page); }
.booking-panel > p { max-width: 30em; margin: 18px auto 0; color: var(--on-plum-soft); text-wrap: balance; }
.booking-panel > p a { color: var(--page); }
.booking-panel > .btn { margin-top: 32px; }

/* Referral card (launch mode only): a cream card for a trusted colleague. */
.referral-card {
  max-width: 30em;
  margin: 36px auto 0;
  padding: 22px 26px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  color: var(--ink);
  text-align: left;
  --focus: var(--plum);
}
.referral-card h3 { font-size: 1.375rem; font-weight: 500; color: var(--plum); }
.referral-card p { margin-top: 8px; color: var(--ink); }
.referral-card a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--plum); }

/* Areas I visit ---------------------------------------------------------------- */
.tiers { display: grid; gap: 40px; }
.tier h3 { font-size: 1.375rem; font-weight: 500; }
.chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 7px 16px; border-radius: 999px; font-size: 1rem; line-height: 1.35; }
/* Areas with travel included are filled, pale sage chips. */
.tier--core .chips li { background: var(--tint); }
.area-note { margin-top: 36px; font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }

/* Questions -------------------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--rule); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 16px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  font-weight: 500;
  line-height: 1.3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--muted);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--plum);
  transform: translate(-50%, -50%);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .faq-icon { background: var(--tint); }
details[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { max-width: 38em; padding: 0 52px 26px 0; color: var(--muted); }

/* Long-form pages ("section prose"), such as the privacy policy. */
.prose h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); line-height: 1.08; letter-spacing: -0.015em; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.2; }
.prose h3 { margin-top: 1.4em; font-size: 1.375rem; font-weight: 500; }
.prose p, .prose ul, .prose ol { max-width: 38em; margin: 1em 0 0; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.4em; }

/* Articles and area guides (/articles/<slug>/) and their index (/articles/) -------- */
.breadcrumb { margin-bottom: 8px; font-size: 0.9375rem; color: var(--muted); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li { margin-top: 0; }
/* A chevron drawn with borders, so screen readers announce no separator character. */
.breadcrumb li + li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin: 0 12px 0 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

.article .byline { margin-top: 16px; color: var(--muted); font-weight: 600; }
.article .last-reviewed { margin-top: 2px; font-size: 0.9375rem; color: var(--muted); }
/* A draft has no byline, so its date line keeps the byline's distance from the title. */
.article h1 + .last-reviewed { margin-top: 16px; }
/* The first block of the page's own text starts clear of the byline. */
.article .last-reviewed + * { margin-top: clamp(28px, 4vw, 44px); }
.article blockquote {
  max-width: 38em;
  margin: 1.5em 0 0;
  padding: 18px 22px;
  background: var(--tint);
  border-left: 4px solid var(--sage);
  border-radius: 0 12px 12px 0;
}
.article blockquote p:first-child { margin-top: 0; }

/* Drafts exist only in private builds: the page is shaded and the banner says so in words. */
.article--draft { background: var(--band); }
.article .draft-banner {
  max-width: 44em;
  margin: 0 0 20px;
  padding: 14px 18px;
  background: var(--card);
  border: 1.5px solid var(--plum);
  border-left-width: 6px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 600;
}

/* The index: one row per page, the title as a 44px link above its description. */
.prose .article-list { list-style: none; max-width: 44em; padding: 0; border-top: 1px solid var(--rule); }
.prose .article-list li { padding: 14px 0 18px; border-bottom: 1px solid var(--rule); }
.prose .article-list li + li { margin-top: 0; }
.prose .article-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.25;
}
.prose .article-list p { margin-top: 2px; color: var(--muted); }

/* An area chip that links to its published guide. The link spans the chip's width and is 44px tall, and its
   negative margins keep the chip the same size as a plain one: the extra height spills into the row gap. */
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: calc(0.675em - 22px) -16px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 600;
}

/* Responsive and motion ------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .faq-icon::after { transition: transform 0.25s ease; }
}

@media (max-width: 899px) {
  .menu-layout { grid-template-columns: minmax(0, 1fr); }
  .package { border-radius: 50% 50% 22px 22px / 100px 100px 22px 22px; }
}

@media (max-width: 640px) {
  .faq-answer { padding-right: 0; }
}

@media (max-width: 560px) {
  .menu-row { flex-direction: column; gap: 10px; }
  .menu-side { justify-items: start; grid-template-columns: auto auto auto; column-gap: 12px; align-items: center; }
  .menu-book { grid-column: auto; margin-top: 0; }
}
