/* RejuvStem website: the thank-you pages (/thank-you/, /es/gracias/; 4 Nov 2026), from the dashboard's
   my.rejuvstem.com/book/thank-you, in the website's design.
   1. The booking widget's colour names (the dashboard's app.css tokens), mapped onto the site's green and gold,
      and the dashboard's base field and button rules the widget's own sheet builds on - all inside .rj-book, and
      weighing no more than a bare element (:where), as in the dashboard's app.css, so the widget's classes win.
   2. The widget's sheet, as the dashboard has it (REJUV Dashboard app/static/pages/booking.css, copied as is).
   3. The page's own sections, in the site's look (end of this file). */

.rj-book {
  --forest: #134b3d; --forest-deep: #0f3a30; --gold: #c2a85e; --gold-deep: #a88e47; --gold-text: #7a623f;
  --gold-light: #e0c06b; --gold-on-dark: #e0c06b; --hair: rgba(19, 75, 61, .12); --edge: #6f8a7d;
  --sand: #e3d9c1; --sand-deep: #cbbd98; --cream: #f6f4f0; --cream-warm: #fbfaf7; --cream-alt: #efe9dc;
  --ink: #2e2a24; --ink-soft: #3d3d3d; --ink-mute: #5e574a; --ink-quiet: #7a7161; --white: #fff;
  --fail: #9b4423; --fail-tint: #f7eae3; --watch: #8a6d1f; --watch-tint: #f7f0dc; --ok: #2f6b4f; --done-tint: #dee9e1;
  --paper: #fff; --rule: rgba(19, 75, 61, .18);
  --serif: Optima, 'Belleza', 'RJ Serif Fallback', sans-serif;
  --sans: 'Source Sans 3', 'RJ Sans Fallback', 'Myriad Pro', sans-serif;
  --mono: ui-monospace, 'Courier New', monospace;
  color: var(--ink); font-family: var(--sans);
}
:where(.rj-book) label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .02em; margin-bottom: .35rem; color: var(--ink); }
:where(.rj-book) label[hidden] { display: none; }
:where(.rj-book) input[type="text"], :where(.rj-book) input[type="email"], :where(.rj-book) input[type="tel"], :where(.rj-book) textarea {
  width: 100%; box-sizing: border-box; padding: .7rem .8rem; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: 0; }
:where(.rj-book) ::placeholder { color: var(--ink-mute); opacity: .55; }
:where(.rj-book) input:focus-visible, :where(.rj-book) textarea:focus-visible, :where(.rj-book) button:focus-visible, :where(.rj-book) a:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
:where(.rj-book) button { display: inline-block; width: 100%; margin-top: 1.2rem; padding: .75rem 1rem; font-family: var(--sans); font-size: .95rem;
  font-weight: 600; letter-spacing: .02em; color: var(--cream); background: var(--forest); border: 1px solid var(--forest); border-radius: 0;
  cursor: pointer; text-align: center; text-decoration: none; }
:where(.rj-book) button[hidden] { display: none; }
:where(.rj-book) fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

/* ---------------------------------------------- 2. the widget's sheet --- */
/*
 * pages/booking.css
 * =================
 * The public Discovery Call booking page.
 *
 * RejuvStem Design Standard v1.0, same as everything else a lead or a patient
 * sees: forest and cream, Cormorant for display, Inter for everything read at
 * length, square corners, no shadows. Tokens only - every colour here comes
 * from the block at the top of app.css.
 *
 * ONE COLUMN, THE STANDARD SHEET. The facts sit in the masthead and the
 * calendar under it, at the 880px every patient page shares (14 October 2026);
 * it was two columns, a fixed statement on the left and the calendar on the
 * right.
 *
 * EVERY BUTTON HERE UNDOES `button { width: 100%; margin-top: 1.2rem }`.
 * That rule in app.css is right for the forms this application is mostly made
 * of - one field, one full width control under it - and wrong for every button
 * on this page, which are grids of them. Without the reset the day rail is ten
 * buttons of 544px stacked in a scrolling strip, which is what it was.
 *
 * EVERY `hidden` ELEMENT CARRIES ITS OWN `[hidden]` RESET. An author `display`
 * beats the browser's `[hidden] { display: none }`, and this application has
 * found that bug nine times - see tests/test_a11y.py. Anything here that is
 * toggled from the script gets the guard on the same line it is styled.
 */

/* ------------------------------------------------- inside the masthead --- */
/* THE FACTS LIVE IN THE STANDARD MASTHEAD NOW (page-standard.css, Wil, 14
   October 2026: one header and one width on every page a lead or a patient
   opens). The side panel they sat in, with its own medallion, eyebrow and
   title, is gone; what stays is the list and its footnote, on the same forest
   ground they were drawn for. */
.bk-sheet .hero .bk-facts { margin: 30px 0 0; max-width: 34rem; }
.bk-sheet .hero .bk-fact dt { font-size: 12px; }
.bk-sheet .hero .bk-fact dd { font-size: 16px; }
.bk-sheet .hero .bk-aside-note { margin: 18px 0 0; font-size: 14px; color: rgba(244, 239, 226, .72); }

.bk-facts {
  margin: 0 0 2.2rem;
  padding: 0;
  border-top: 1px solid rgba(230, 210, 164, .22);
}

/* 5rem, AND THE ARITHMETIC IS WHY IT IS THAT RATHER THAN A ROUNDER NUMBER.
   "Dr. Alejandro Zermeno, MD" needs 206px on one line. The panel's content
   box is 320px once the padding below is taken off, so label plus gap plus
   name has to fit in 320 - and at the old 7.5rem the value column was 192px,
   which is where the second line came from.

   The longest label was WHAT IT COSTS at 99px, which alone made one line
   impossible; it reads "Cost" now. The widest remaining is HOW LONG at 72px,
   so 5rem leaves the label 8px of slack and the name 22px. */
.bk-fact {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: .75rem;
  padding: .7rem 0;
  border-bottom: 1px solid rgba(230, 210, 164, .22);
}

.bk-fact dt {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sand-deep);
  padding-top: .2rem;
}

.bk-fact dd {
  margin: 0;
  font-size: .95rem;
  color: var(--white);
}

/* WHO WITH, WITH A FACE UNDER IT. The row is the one place on the page that
   already answers "who", so the portrait sits inside the answer rather than
   above the whole panel - which is where it was first, and which pushed the
   column down by its own height.

   UNDER THE NAME, NOT BESIDE IT. Beside it there was no room, so the row had
   to drop its label above to find some - and the name then began at the
   panel's left edge while the other three values began a hundred and twenty
   pixels in. One row out of four out of line is more noticeable than the
   thing it was making room for. Wil, on every device: the alignment is off. */
.bk-who {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .6rem;
}

/* SQUARE, WITH A HAIRLINE - the same treatment `pages/welcome.css` gives Luis
   and Alex, so a face is the same kind of object wherever this application
   shows one. `object-fit: cover` because a portrait somebody sends is not
   always square, and a squashed doctor is worse than a cropped one.

   88px rather than their 132: this one sits inside a row, not above a page,
   and the source is 300 square so it is sharp well past 2x either way. */
.bk-portrait {
  flex: 0 0 auto;
  display: block;
  width: 88px;
  height: 88px;
  border: 1px solid var(--gold-deep);
  object-fit: cover;
  background: var(--forest-deep);
}

.bk-who-name { min-width: 0; }

/* THE FOOTNOTE IS A FOOTNOTE. A point smaller than the facts above it and
   set in italic, so it reads as an aside rather than as a fifth row of the
   list - which at the same size and weight is what it looked like. */
.bk-aside-note {
  margin: 0;
  font-size: .75rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--sand-deep);
}

/* ----------------------------------------------------------- the main ---- */
.bk-main {
  padding: 48px 56px 56px;
}

.bk-main-inner {
  max-width: 36rem;
}

.bk-rehearsal {
  margin: 0 0 2rem;
  padding: .85rem 1rem;
  border-left: 3px solid var(--watch);
  background: var(--watch-tint);
  font-size: .85rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.bk-rehearsal[hidden] { display: none; }

.bk-step { margin-bottom: 3rem; }
.bk-step[hidden] { display: none; }

/* THE HEADING AND THE WAY BACK, AT THE TWO ENDS OF ONE LINE. Wrapping is
   allowed because at phone width the pair does not always fit, and a button
   dropping under its heading is better than either of them shrinking. */
.bk-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem .6rem;
  margin-bottom: .35rem;
}

.bk-step-top .bk-step-head { margin-bottom: 0; }

.bk-step-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 .35rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.85rem;
  color: var(--forest);
}

.bk-step-n {
  display: inline-grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid var(--gold);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold-text);
}

.bk-zone,
.bk-status {
  margin: 0 0 1.4rem;
  font-size: .95rem;
  color: var(--ink-mute);
}

.bk-status[hidden] { display: none; }

/* ------------------------------------------------------------- days ------ */
/* A WEEK GRID. Seven fixed columns, Monday first, every date in the window
   drawn in the column its weekday falls in. The previous version was a
   horizontal strip of whichever days happened to be free, which put Friday
   next to Monday and left the reader counting.

   WEEKENDS ARE MARKED, NOT HIDDEN. Some advisors keep them open, so a
   Saturday can be a perfectly good day to book - it just is not the same kind
   of day, and the eye should be able to find the week's edges without reading
   seven labels. The warm ground does that and says nothing about
   availability, which is the dot's job. */
.bk-cal { margin-bottom: 1.4rem; }

.bk-span {
  margin: 0 0 .5rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold-text);
}

.bk-week,
.bk-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .3rem;
}

.bk-days[hidden] { display: none; }

.bk-week { margin-bottom: .35rem; }

.bk-days {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hair);
}

.bk-wk {
  padding: .25rem 0;
  text-align: center;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* The cells, whatever they turn out to be. One rule so a day with times, a
   day without and a day outside the window are the same size and the columns
   cannot drift apart. */
.bk-cell {
  display: block;
  width: auto;
  margin-top: 0;
  padding: .5rem .2rem .45rem;
  border: 1px solid transparent;
  text-align: center;
  font-family: var(--sans);
  line-height: 1.15;
}

.bk-weekend { background: var(--cream-alt); }

.bk-wk.bk-weekend { color: var(--gold-text); }

/* Outside the booking window. Present so the first and last weeks keep their
   shape, and empty because there is nothing there to say. */
.bk-out { border-color: transparent; }

.bk-day {
  border-color: var(--hair);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.bk-day.bk-weekend { background: var(--cream-alt); }

/* HOVER HAS TO SET THE BACKGROUND, NOT ONLY THE BORDER.
   `button:hover { background: var(--forest-deep) }` in app.css applies to
   every button in the application, and these cells are buttons - so a rule
   that changed only the border left the ground dark forest with the date
   still in `--ink` on top of it. Wil found it on the 25th: a cell that looks
   selected and whose number has vanished.

   Cream and gold rather than forest and cream, because forest and cream is
   what SELECTED means two rules down. Hovering is not choosing. */
.bk-day:hover {
  background: var(--cream-warm);
  border-color: var(--gold);
  color: var(--forest);
}

.bk-day[aria-pressed="true"],
.bk-day.bk-weekend[aria-pressed="true"] {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}

/* Inside the window, nobody free. Drawn rather than left out: "nothing on
   Thursday" is an answer, and a gap is a puzzle. */
/* OPACITY WOULD HAVE BEEN EASIER AND WRONG. Fading the whole cell fades the
   month marker with it, and the 1st of the month is exactly the cell most
   likely to have nothing free on it - so the one label the grid is anchored
   by would be the faintest thing on the page. The number alone goes quiet. */
.bk-day-none {
  border-color: transparent;
}

.bk-day-none .bk-day-num { color: var(--ink-mute); }

.bk-day-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.bk-day-month {
  display: block;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.bk-day[aria-pressed="true"] .bk-day-month { color: var(--gold-on-dark); }

/* Has times. A dot rather than a count - at seven columns on a phone a cell
   is about fifty pixels wide, and a second number beside the date is a second
   number to misread. */
.bk-day-dot {
  display: block;
  width: 4px;
  height: 4px;
  margin: .3rem auto 0;
  border-radius: 50%;
  background: var(--gold);
}

.bk-day[aria-pressed="true"] .bk-day-dot { background: var(--gold-light); }

/* ------------------------------------------------------------ times ------ */
.bk-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  gap: .5rem;
  margin-top: 1.4rem;
}

.bk-times[hidden] { display: none; }

.bk-time {
  width: auto;
  margin-top: 0;
  padding: .7rem .5rem;
  border: 1px solid var(--forest);
  background: var(--white);
  font-family: var(--sans);
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
  color: var(--forest);
  cursor: pointer;
}

.bk-time:hover {
  background: var(--forest);
  color: var(--cream);
}

.bk-none {
  margin: 1.4rem 0 0;
  font-size: 1rem;
  color: var(--ink-mute);
}

.bk-fallback {
  margin: 1.4rem 0 0;
  padding: .85rem 1rem;
  border-left: 3px solid var(--fail);
  background: var(--fail-tint);
  font-size: .88rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.bk-fallback[hidden] { display: none; }

.bk-fallback-say { margin: 0 0 .6rem; }

.bk-retry {
  width: auto;
  margin-top: .4rem;
  padding: .45rem 1rem;
  border: 1px solid var(--forest);
  background: var(--paper);
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--forest);
  cursor: pointer;
}

.bk-retry:hover {
  background: var(--forest);
  color: var(--cream);
}

.bk-fallback-link { color: var(--gold-text); }

/* ------------------------------------------------------ the staff view --- */
/* NOT A LEAD'S PAGE FURNITURE. This block only exists in the markup for a
   signed-in colleague holding the sales board, so it is styled to read as a
   different kind of thing from the page around it - mono, boxed, and plainly
   an instrument rather than part of the booking. */
.bk-chain {
  margin: 0 0 1.6rem;
  padding: .9rem 1rem;
  border: 1px dashed var(--sand-deep);
  background: var(--cream-alt);
  font-family: var(--mono);
  font-size: .76rem;
}

.bk-chain-head {
  margin: 0 0 .5rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.bk-chain-sub {
  margin-left: .5rem;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--ink-mute);
}

.bk-chain-status {
  margin: 0 0 .6rem;
  color: var(--ink-soft);
}

.bk-chain-legend {
  margin: 0 0 .7rem;
  line-height: 1.6;
  color: var(--ink-mute);
}

.bk-chain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bk-chain-row {
  display: grid;
  grid-template-columns: 1.3rem minmax(0, 1fr) auto auto auto;
  gap: .6rem;
  align-items: baseline;
  padding: .3rem 0;
  border-top: 1px solid var(--hair);
  color: var(--ink);
}

/* NOT FREE IS THE INTERESTING ROW, so it is drawn quietly rather than
   dropped: the question somebody opens this panel with is usually why a
   particular person did NOT get the slot. */
.bk-chain-busy { color: var(--ink-mute); }

.bk-chain-rank {
  text-align: right;
  color: var(--gold-text);
}

.bk-chain-name { font-weight: 600; }

.bk-chain-prio,
.bk-chain-share { color: var(--ink-mute); }

.bk-chain-state { font-weight: 600; }

/* FREE FOR EVERYTHING IS NOT GOOD NEWS. Nothing is being subtracted from this
   person's hours, which in practice means no conflict calendar - and the
   cascade will hand them calls they have not agreed to. */
.bk-chain-alarm {
  color: var(--fail);
  font-weight: 600;
}

.bk-chain-busy .bk-chain-state { font-weight: 400; }

.bk-chain-foot {
  margin: .7rem 0 0;
  padding-top: .6rem;
  border-top: 1px solid var(--hair);
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------- form ------ */
/* The chosen time is a statement now, not a statement with a control caught
   in it - the way back moved to its own button above. */
.bk-chosen {
  display: block;
  margin: 0 0 1.6rem;
  padding: .85rem 1rem;
  border-left: 3px solid var(--gold);
  background: var(--cream-warm);
}

.bk-chosen-when {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--forest);
}

/* THE WAY BACK, AND IT LOOKS LIKE A BUTTON. It was the word "Change" set
   small beside the chosen time: borderless, underlined, and read as part of
   the sentence rather than as a control. Bordered, with the arrow, in the
   corner somebody looks at when they want out of a step.

   OUTLINED RATHER THAN FILLED ON PURPOSE. Book this call is the filled
   forest button at the foot of the same form, and two solid forest buttons
   on one screen is a screen with no primary action. */
.bk-back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  width: auto;
  /* No margin: it sits in `.bk-step-top`, which owns the spacing under the
     pair. On its own line it needed 1.4rem beneath it and pushed the form
     down a whole row for a control the heading's line had room for. */
  margin: 0;
  padding: .55rem 1rem;
  border: 1px solid var(--forest);
  background: var(--white);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--forest);
  cursor: pointer;
}

.bk-back:hover {
  background: var(--forest);
  color: var(--cream);
}

.bk-back-arrow {
  font-size: 1rem;
  line-height: 1;
}

.bk-form { display: block; }
.bk-field { margin-bottom: 1.2rem; }

/* PHONE OR VIDEO. A fieldset so a screen reader hears the question once and
   the two answers under it; the browser's own border and padding removed so
   it sits in the form like any other field. */
.bk-meet { border: 0; padding: 0; margin-left: 0; margin-right: 0; min-width: 0; }
.bk-meet legend { padding: 0; }
.bk-choice {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .75rem .8rem;
  border: 1px solid var(--hair);
  background: var(--white);
  cursor: pointer;
}
.bk-choice + .bk-choice { margin-top: .5rem; }
.bk-choice input { margin: .2rem 0 0; accent-color: var(--forest); }
.bk-choice:has(input:checked) { border-color: var(--forest); }
.bk-choice:focus-within { outline: 2px solid var(--gold); outline-offset: -2px; }
.bk-choice-text { display: grid; gap: .15rem; }
.bk-choice-name { font-weight: 600; color: var(--ink); }
/* REGULAR WEIGHT, SAID OUT LOUD. `.bk-choice` is a <label>, and app.css makes
   every label semi-bold and uppercase-spaced for form captions - so the help
   line inherited the weight of the option's own name and the two read as one
   block. Wil, 1 October 2026, from a screenshot of the live form. */
.bk-choice-help {
  font-size: .92rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
}

.bk-label {
  display: block;
  margin-bottom: .35rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.bk-optional {
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--ink-mute);
}

.bk-input {
  display: block;
  width: 100%;
  padding: .7rem .8rem;
  border: 1px solid var(--hair);
  background: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
}

.bk-input:focus {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.bk-textarea {
  resize: vertical;
  line-height: 1.6;
}

.bk-help {
  margin: .35rem 0 0;
  font-size: .9rem;
  color: var(--ink-mute);
}

.bk-error {
  margin: 0 0 1rem;
  padding: .75rem .9rem;
  border-left: 3px solid var(--fail);
  background: var(--fail-tint);
  font-size: .88rem;
  color: var(--ink-soft);
}

.bk-error[hidden] { display: none; }

/* A MISSING ANSWER IS MARKED WHERE IT IS MISSING (Wil, 19 October 2026: the
   message sat by the button, a screen away from the choice it was about). */
.bk-field-error {
  margin: 0 0 .5rem;
  padding: .55rem .8rem;
  border-left: 3px solid var(--fail);
  background: var(--fail-tint);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
}
.bk-field-error[hidden] { display: none; }
.bk-field .bk-input + .bk-field-error { margin: .4rem 0 0; }
.bk-meet.is-missing .bk-choice { border-color: var(--fail); }
.bk-field.is-missing .bk-input { border-color: var(--fail); }

.bk-submit {
  display: block;
  width: 100%;
  margin-top: 0;
  padding: .95rem 1rem;
  border: 1px solid var(--forest);
  background: var(--forest);
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream);
  cursor: pointer;
}

.bk-submit:hover { background: var(--forest-deep); }

.bk-submit[disabled] {
  background: var(--ink-quiet, #7A7161);
  border-color: var(--ink-quiet, #7A7161);
  cursor: default;
}

.bk-consent {
  margin: .9rem 0 0;
  font-size: .88rem;
  line-height: 1.6;
  color: var(--ink-mute);
}

/* --------------------------------------------------------- confirmed ----- */
/* NO BOX OF ITS OWN (Wil, 19 October 2026, from a screenshot: "remove the
   double container around the you are booked"). It sits where the steps sat,
   and they are not boxed - on the thank-you page that place is already a card. */
.bk-done {
  display: block;
  padding: .5rem 0 0;
}

.bk-done[hidden] { display: none; }

.bk-done-mark {
  margin: 0 0 .8rem;
  font-size: 2rem;
  line-height: 1;
  color: var(--ok);
}

.bk-done-head {
  margin: 0 0 .7rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.1rem;
  color: var(--forest);
}

.bk-done-when {
  margin: 0 0 1.2rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--gold-text);
}

.bk-done-note {
  margin: 0 0 .8rem;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------ narrow ----- */
/* ONE COLUMN BELOW 62rem, and the statement stops being sticky before it
   stops being a column - a sticky block at the top of a phone screen pins the
   marketing over the thing the lead came to do. */
@media (max-width: 720px) {
  .bk-main { padding: 32px 24px 40px; }
}

@media (max-width: 30rem) {
  /* THE PAIR FITS ON ONE LINE AT 375px, BUT ONLY JUST. Heading 164 and button
     169 leaves 10px for the gap on a 343px row, so the button gives back its
     side padding here. Wrapping would put it BETWEEN the heading and the
     chosen time, which is the one place on the step it should not be. */
  .bk-back { padding: .55rem .8rem; }
  .bk-main { padding: 28px 18px 36px; }
  .bk-times { grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); }
  /* Seven columns still, at 375px. The cells lose their side padding and the
     date drops a size rather than the week losing a day - a calendar that
     reflows to four columns is not a calendar. */
  .bk-week, .bk-days { gap: .15rem; }
  .bk-cell { padding: .45rem .1rem .4rem; }
  .bk-day-num { font-size: 1.1rem; }
  .bk-wk { font-size: .55rem; letter-spacing: .04em; }
}

/* ---------------------------------------------------------- 3. the page --- */
.ty-hero { background: var(--deep, #0f3a30); color: #fff; text-align: center; padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 40px) clamp(40px, 6vw, 72px); }
.ty-hero__in { max-width: 860px; margin: 0 auto; }
.ty-eyebrow { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: #e0c06b; font-weight: 600; }
.ty-hero h1 { margin: 14px 0 0; font-family: Optima, 'Belleza', 'RJ Serif Fallback', sans-serif; font-weight: 400; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.1; color: #fff; text-wrap: balance; }
.ty-hero h1 em { font-style: normal; color: #e0c06b; }
.ty-hero__lead { margin: 18px auto 0; max-width: 680px; font-size: 18px; line-height: 1.6; color: #dfe8e4; }
.ty-hero__cred { margin: 22px 0 0; font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: #c2a85e; }
.ty-light { background: #f6f4f0; }
.ty-wrap { max-width: 1100px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) clamp(16px, 3vw, 32px); }
.ty-book { background: #fff; border: 1px solid #e6dfcd; border-radius: 20px; padding: clamp(18px, 3vw, 36px); box-shadow: 0 18px 40px rgba(14, 42, 36, .07); }
.ty-book .bk-main { padding: 0; background: transparent; }
.ty-book .bk-main-inner { max-width: none; margin: 0; }
.ty-sub { margin: 0 0 16px; font-family: Optima, 'Belleza', 'RJ Serif Fallback', sans-serif; font-weight: 400; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; color: #134b3d; }
.ty-sub--centre { text-align: center; }
.ty-body, .ty-note { margin: 0; font-size: 17px; line-height: 1.65; color: #3d3d3d; }
.ty-note { margin-top: 16px; font-size: 15px; color: #5e574a; }
.ty-reassure { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(24px, 4vw, 56px); }
.ty-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ty-step { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.55; color: #3d3d3d; }
.ty-step__n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #c2a85e; color: #0f3a30; font-weight: 700; display: grid; place-items: center; }
.ty-team { text-align: center; }
.ty-team__list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 4vw, 48px); }
.ty-person { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 150px; }
.ty-person img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 8px 22px rgba(14, 42, 36, .14); }
.ty-person__name { font-weight: 600; color: #134b3d; font-size: 16.5px; }
.ty-person__role { font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: #7a623f; }
.ty-reviews { background: #0f3a30; color: #fff; overflow: hidden; }
.ty-reviews__head { margin: 0 0 28px; text-align: center; font-family: Optima, 'Belleza', 'RJ Serif Fallback', sans-serif; font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); color: #fff; }
.ty-reviews__head em { font-style: normal; color: #e0c06b; }
.ty-rail { overflow: hidden; }
.ty-track { display: flex; gap: 20px; width: max-content; animation: ty-drift 60s linear infinite; }
.ty-rail:hover .ty-track, .ty-rail:focus-within .ty-track, .ty-rail.is-held .ty-track { animation-play-state: paused; }
@keyframes ty-drift { to { transform: translateX(calc(-50% - 10px)); } }
@media (prefers-reduced-motion: reduce) { .ty-track { animation: none; } .ty-rail { overflow-x: auto; } }
.ty-card { width: 300px; flex: none; background: #fff; color: #3d3d3d; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.ty-card__play { position: relative; display: block; line-height: 0; }
.ty-card__play img { width: 100%; height: 169px; object-fit: cover; }
.ty-card__badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(15, 58, 48, .82); color: #e0c06b; display: grid; place-items: center; font-size: 20px; line-height: 1; }
.ty-card__watch { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 20px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12.5px; line-height: 1.4; }
.ty-card__body { padding: 16px 18px 20px; }
.ty-card__name { margin: 0; font-weight: 700; color: #134b3d; }
.ty-card__stars { margin: 4px 0 8px; color: #c2a85e; letter-spacing: 2px; }
.ty-card__note { margin: 0; font-size: 15px; line-height: 1.55; }
.ty-hold { text-align: center; margin: 22px 0 0; }
.home-v2 .ty-hold button { all: unset; cursor: pointer; padding: 9px 22px; border: 1px solid rgba(224, 192, 107, .6); border-radius: 30px; color: #e0c06b; font-size: 14px; font-weight: 600; letter-spacing: 1px; }
.ty-clinic { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ty-clinic__photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; display: block; }
.ty-clinic__doc { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.ty-clinic__doc img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.ty-clinic__caption { font-weight: 600; color: #134b3d; }
.ty-urgent { margin: 0; background: #134b3d; color: #fff; text-align: center; padding: 26px 16px; font-size: 17px; }   /* margin 0: no white band against the footer */
.home-v2 .ty-urgent a { color: #e0c06b; font-weight: 700; }

/* The stories play in a lightbox over the page (assets/js/v2/thank-you.js), YouTube's privacy-enhanced player,
   loaded only when somebody presses play. */
.ty-lightbox { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 16px; background: rgba(8, 26, 22, .88); }
.ty-lightbox[hidden] { display: none; }
.ty-lightbox__box { position: relative; width: min(100%, 960px); }
.ty-lightbox__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.ty-lightbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ty-lightbox__name { margin: 12px 0 0; color: #fff; text-align: center; font-size: 16px; }
.home-v2 .ty-lightbox__close { all: unset; position: absolute; right: 0; top: -48px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  cursor: pointer; color: #fff; background: rgba(255, 255, 255, .14); font-size: 26px; line-height: 1; }
.home-v2 .ty-lightbox__close:hover { background: #c2a85e; color: #0f3a30; }
.home-v2 .ty-lightbox__close:focus-visible { outline: 2px solid #e0c06b; outline-offset: 2px; }
body.ty-lightbox-open { overflow: hidden; }

/* "Are you willing to travel to Cancun?" (4 Nov 2026, the Dashboard's widget): two short answers side by side;
   the note under a "no" is a gold-ruled aside, not an error - a "no" still books. */
.bk-cancun { display: grid; grid-template-columns: 1fr 1fr; column-gap: .5rem; }
.bk-cancun legend, .bk-cancun .bk-field-error, .bk-cancun-note { grid-column: 1 / -1; }
.bk-cancun .bk-choice + .bk-choice { margin-top: 0; }
.bk-cancun-note { margin: .5rem 0 0; padding: .55rem .8rem; border-left: 3px solid var(--gold, #c2a85e); background: #fff; }
.bk-cancun-note[hidden] { display: none; }
