/* Book a free call on our own page (Troy, 18 Nov 2026). The fields, card and buttons are start.css's (the Site Check
   form's), so both forms look the same.
   Circle a date (Troy, 18 Nov 2026: "come up with a creative concept for the calendar"): the card is a paper wall
   planner. Binder rings, a coral band with the month, weekdays only; a day with open times has a lime dot, and the one
   you pick gets a coral marker drawn round it. Its times sit on the day's own light, a sunrise wash for the morning and
   dusk for the afternoon. Your time becomes a ticket; booked, the marker circles its date. */
.book__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto 1fr; grid-template-areas: "intro card" "about card"; column-gap: clamp(32px, 5vw, 64px); padding-block: clamp(48px, 7vw, 104px) 40px; align-items: start; }
.book__about { grid-area: about; }
.book__topics { margin: 26px 0 0; }
.book .start__topics li { color: var(--ink); font-size: 17px; }
.book__troy { display: flex; align-items: center; gap: 12px; margin: 28px 0 0; color: var(--muted); }
.book__troy img { width: 48px; height: 48px; border-radius: 50%; }
.book__wait { grid-column: 1 / -1; padding: 18px 0; color: var(--muted); }
.book [hidden] { display: none !important; }

/* The planner. */
.book__card { padding: 0; margin-top: 14px; }
.book__body { padding: clamp(16px, 3vw, 28px); }
.cal__rings { position: absolute; top: -14px; left: 0; right: 0; z-index: 2; display: flex; justify-content: space-between; padding: 0 22%; pointer-events: none; }
.cal__rings i { width: 12px; height: 32px; border-radius: 8px; background: linear-gradient(90deg, #1B1830, #57506F 45%, #1B1830); box-shadow: 0 3px 0 #0D102426; }
.cal__band { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; padding: 24px clamp(16px, 3vw, 28px) 16px; border-radius: 23px 23px 0 0; background: linear-gradient(120deg, #FF6A3D, #FF7F59); color: #fff; }
.cal__month { font: italic 400 clamp(30px, 3.6vw, 38px)/1 var(--font-aside); letter-spacing: -.01em; }
.cal__zone { font: 700 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.cal__dow span { padding: 0 0 10px; text-align: center; font: 700 11px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cal__grid { padding-top: 10px; border-top: 1px solid #ECE6DA; }
.cal__day { position: relative; display: grid; place-items: center; align-content: center; gap: 5px; min-height: 58px; border: 0; border-radius: 14px; background: none; color: var(--ink); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cal__day b { font: 700 clamp(20px, 2.3vw, 23px)/1 var(--font-display); letter-spacing: -.03em; }
.cal__day::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: inset 0 0 0 1px #0D10241F; }
.cal__day small { position: absolute; top: 5px; left: max(6px, calc(50% - 30px)); font: italic 400 12px/1 var(--font-aside); color: var(--violet); }
button.cal__day:hover { background: #F6F2EA; }
button.cal__day:focus-visible, .slot:focus-visible, .book__change:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.cal__day[aria-pressed="true"] { background: #FFF0E9; }
.cal__day.is-off { cursor: default; color: #CFC8BB; }
.cal__day.is-off::after { visibility: hidden; }
/* The coral marker: a hand-drawn loop that draws itself round the day (and round the ticket's date once booked). */
.ring { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); max-width: none; overflow: visible; fill: none; stroke: var(--coral); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; pointer-events: none; }
/* Only the picked day has one: an undrawn loop still shows its round pen tip as a dot. In a wide cell (a computer) it
   stays a loop round the date, not a long flat oval. */
.cal__day:not([aria-pressed="true"]) > .ring { display: none; }
.cal__day > .ring { left: 50%; width: min(calc(100% - 6px), 70px); transform: translateX(-50%); }
[aria-pressed="true"] > .ring { animation: ring-draw .5s cubic-bezier(.6, 0, .3, 1) both; }
@keyframes ring-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* The day: morning on a sunrise wash, afternoon at dusk. */
.day { margin-top: 18px; }
.day__title { margin: 0 0 12px; font: 700 clamp(20px, 2.3vw, 23px)/1.2 var(--font-display); letter-spacing: -.02em; }
.day__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.day__col { padding: 14px 12px; border-radius: 18px; }
.day__col--am { background: linear-gradient(180deg, #FFF4E3, #FFE6D8); }
.day__col--pm { background: linear-gradient(180deg, #F2EDFF, #E3D8FF); }
.day__label { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 700 14px/1 var(--font-body); color: var(--ink); }
.day__sun { width: 14px; height: 14px; border-radius: 50%; background: #FFB238; box-shadow: 0 0 0 4px #FFB23833; }
.day__col--pm .day__sun { background: #8E6BFF; box-shadow: 0 0 0 4px #8E6BFF2E; }
.day__slots { display: grid; gap: 8px; }
.slot { min-height: 46px; border: 1px solid #0D10241A; border-radius: 999px; background: #fff; color: var(--ink); font: 600 16px/1 var(--font-body); font-variant-numeric: tabular-nums; cursor: pointer; box-shadow: 0 6px 14px -12px #2A184480; transition: translate .15s, border-color .15s; }
.slot:hover { border-color: var(--ink); translate: 0 -1px; }
.slot[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.day__none { margin: 0; padding: 8px 4px; color: var(--muted); font: italic 400 16px/1.3 var(--font-aside); }

/* Your time as a ticket: the day's page, the time, what it is; a dashed tear line with two notches. */
.ticket { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 18px; padding: 16px 16px 16px 18px; border: 1px solid #E2DCCF; border-radius: 18px; background: #FFFDF9; box-shadow: 0 12px 26px -18px #2A184480; }
.ticket::before, .ticket::after { content: ""; position: absolute; left: 92px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 1px solid #E2DCCF; }
.ticket::before { top: -10px; clip-path: inset(50% 0 0 0); }
.ticket::after { bottom: -10px; clip-path: inset(0 0 50% 0); }
.ticket__page { position: relative; display: grid; justify-items: center; width: 64px; padding: 0 0 7px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #2A184417, 0 10px 18px -12px #2A1844B3; text-align: center; transform: rotate(-4deg); }
.ticket__body { padding-left: 18px; border-left: 2px dashed #E2DCCF; }
.ticket__page b { display: block; width: 100%; padding: 5px 0 4px; border-radius: 12px 12px 0 0; background: var(--coral); color: #fff; font: 700 10px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.ticket__page span { font: 800 30px/1.15 var(--font-display); letter-spacing: -.024em; color: var(--ink); }
.ticket__page i { font: italic 400 14px/1 var(--font-aside); color: var(--violet); }
.ticket__time { margin: 0; font: 700 21px/1.2 var(--font-display); letter-spacing: -.02em; }
.ticket__meta { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.book__change { border: 1px solid var(--ink); border-radius: 999px; min-height: 40px; padding: 0 16px; background: #fff; color: var(--ink); font: 600 14px/1 var(--font-body); cursor: pointer; }
.book .start__form .ticket { margin-bottom: 4px; }

/* Booked: the marker circles the date on the ticket. */
.book__done { display: grid; gap: 4px; }
.book__done:focus { outline: none; }
.ticket--booked { grid-template-columns: auto minmax(0, 1fr); margin-bottom: 18px; }
/* The marker goes round the date itself, as you'd circle a day on a paper calendar. */
.ticket__date { position: relative; display: inline-block; padding: 0 5px; }
.ticket--booked .ring { inset: -3px -9px; width: calc(100% + 18px); height: calc(100% + 6px); stroke-width: 3; animation: ring-draw .8s .3s cubic-bezier(.6, 0, .3, 1) both; }
.book__done .start__done-title { margin: 0 0 6px; }
.book__done p { margin: 0; }

.book__none { display: grid; gap: 12px; }
.book__none p { margin: 0 0 4px; font: 700 20px/1.3 var(--font-display); }
.book__none .btn--wa { gap: 10px; border: 1px solid #D6CFC2; background: #fff; color: var(--ink); }
.book__none .btn--wa svg { width: 20px; height: 20px; fill: #25D366; }
/* Not ready to talk: the free Site Check, quieter. */
.book__else { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-block: 8px 88px; }
.book__else p { margin: 0; font: 700 20px/1.3 var(--font-display); }
.book__else .btn { width: auto; }

/* Motion: the planner hangs in, the day's times rise one after another. Never with motion off. */
@media (prefers-reduced-motion: no-preference) {
  html:not(.reduce-motion) .book__card { animation: cal-hang .7s cubic-bezier(.2, .9, .3, 1.15) both; transform-origin: 50% 0; }
  html:not(.reduce-motion) .slot { animation: slot-rise .35s calc(var(--i, 0) * 30ms) both; }
}
@keyframes cal-hang { from { opacity: 0; transform: translateY(-16px) rotate(-1.5deg); } }
@keyframes slot-rise { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  [aria-pressed="true"] > .ring, .ticket--booked .ring { animation: none; stroke-dashoffset: 0; }
}
html.reduce-motion [aria-pressed="true"] > .ring, html.reduce-motion .ticket--booked .ring { animation: none; stroke-dashoffset: 0; }

@media (max-width: 900px) {
  .book__inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "intro" "card" "about"; row-gap: 28px; padding-block: 32px 32px; }
  .book .start__card { position: relative; top: auto; }
  .book__topics { margin-top: 0; }
  .book__else { padding-bottom: 64px; }
}
@media (max-width: 520px) {
  .ticket { grid-template-columns: auto minmax(0, 1fr); padding: 14px; }
  .ticket::before, .ticket::after { left: 88px; }
  .ticket .book__change { grid-column: 1 / -1; justify-self: start; }
  .ticket__body { padding-left: 16px; }
  .ticket__time { font-size: 19px; }
}
/* Add it to your own calendar, under the booked note. */
.book__add { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
