/* The public booking pages (/book/{token} and /booking/{token}). These wear the WEBSITE's look, not the hub's,
   because a client arrives from studiohummingbird.com and should see no seam: Playfair Display headings, Roboto
   body, Montserrat small caps, charcoal, gold, cream. Legibility as the portal: body 17px, line height 1.6 or
   more, text no lighter than #3e4b45 on white, every target 44px or more.
   The choosing step is Calendly's layout in the studio's colours, to the mock-up Victoria approved on 25 September
   (Main, Chosen and Phone boards): the studio on the left, the month in the middle, the chosen day's times on the
   right; stacked on a phone, the times under a rule below the month. No JavaScript anywhere: dates, month arrows
   and times are links, the form is a plain POST. */
:root {
  --bk-ink: #3a3d3e; --bk-text: #3e4b45; --bk-muted: #5f6664; --bk-gold: #d1b46d; --bk-gold-deep: #b89b55;
  --bk-btn-gold: #8c6d2c; --bk-btn-gold-hover: #6f5622; /* solid buttons: white words need the darker gold to be readable (Victoria, 25 Sep) */
  --bk-words-gold: #6f5622; --bk-open: #f3ead3; --bk-shut: #6b7170; --bk-hover: #f4f1ea;
  --bk-white: #ffffff; --bk-cream: #f4f1ea; --bk-paper: #f7f7f7; --bk-line: rgba(74, 77, 78, 0.16);
  --bk-ok: #2f5d3f; --bk-ok-bg: #eaf1ea; --bk-warn: #8a2f24; --bk-warn-bg: #f9e7e4; --bk-stone: #f4f2ec;
  --bk-serif: 'Playfair Display', Georgia, serif; --bk-sans: Roboto, 'Helvetica Neue', Arial, sans-serif;
  --bk-mont: Montserrat, 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.bk-body { margin: 0; padding: 48px 16px 56px; background: var(--bk-paper); color: var(--bk-text); font: 400 17px/1.7 var(--bk-sans); }
.bk-body a { color: var(--bk-gold-deep); }
.bk-body a:hover { color: var(--bk-gold); }
:focus-visible { outline: 2px solid var(--bk-gold-deep); outline-offset: 2px; }
.bk-body svg { stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3 { margin: 0; font-family: var(--bk-serif); font-weight: 400; color: var(--bk-ink); line-height: 1.2; }
h1 { font-size: clamp(30px, 3.6vw, 40px); }
h2 { font-size: 26px; line-height: 1.25; }
h3 { font-family: var(--bk-sans); font-size: 17px; font-weight: 500; color: var(--bk-ink); }
p { margin: 0; }
.bk-eyebrow { font-family: var(--bk-mont); font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--bk-gold-deep); }
.bk-step { font-family: var(--bk-mont); font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--bk-gold-deep); }
.bk-small { font-size: 15px; line-height: 1.6; color: var(--bk-muted); }
.bk-stack { display: flex; flex-direction: column; gap: 20px; }

/* the card: the studio on the left, the work on the right; one column on a phone and for the single pages */
.bk-card { max-width: 1180px; min-height: 700px; margin: 0 auto; display: grid; grid-template-columns: 380px minmax(0, 1fr); background: var(--bk-white); border: 1px solid var(--bk-line); border-radius: 8px; overflow: hidden; box-shadow: 0 30px 70px rgba(58, 61, 62, .10); }
.bk-card--one { grid-template-columns: minmax(0, 1fr); max-width: 680px; min-height: 0; }
.bk-main { display: flex; flex-direction: column; gap: 22px; padding: 36px 40px; background: var(--bk-white); }
.bk-brand { display: flex; align-items: center; gap: 16px; }
.bk-brand img { width: 72px; height: 72px; border-radius: 50%; display: block; }
.bk-brand span { font-family: var(--bk-serif); font-size: 22px; color: var(--bk-ink); }

/* the studio column */
.bk-studio { display: flex; flex-direction: column; border-right: 1px solid var(--bk-line); background: var(--bk-white); }
.bk-studio__band { height: 190px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--bk-line); }
.bk-logo { width: 120px; height: 120px; border-radius: 50%; display: block; }
.bk-studio__body { display: flex; flex-direction: column; gap: 14px; padding: 32px 36px; }
.bk-owner { font-family: var(--bk-mont); font-size: 15px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--bk-words-gold); }
.bk-studio h1 { font-size: 34px; line-height: 1.2; }
.bk-facts { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bk-facts li { display: flex; gap: 12px; align-items: center; font-size: 17px; font-weight: 500; line-height: 1.6; color: var(--bk-ink); }
.bk-facts svg { flex: none; width: 22px; height: 22px; color: var(--bk-btn-gold); }
.bk-studio__body > p { margin-top: 8px; font-size: 17px; line-height: 1.7; color: var(--bk-text); }

/* step 1: the month and the chosen day's times */
.bk-pick { padding: 36px 40px; background: var(--bk-white); display: flex; flex-direction: column; gap: 22px; }
.bk-pick__cols { display: flex; gap: 36px; align-items: flex-start; }
.bk-cal { width: 440px; flex-shrink: 0; display: flex; flex-direction: column; gap: 22px; }
.bk-cal h2 { font-size: 28px; }
.bk-cal__nav { display: flex; align-items: center; justify-content: center; gap: 24px; }
.bk-cal__nav h3 { min-width: 190px; text-align: center; font-family: var(--bk-sans); font-size: 18px; font-weight: 500; color: var(--bk-ink); }
.bk-arrow { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.bk-arrow svg { stroke-width: 2; }
.bk-body a.bk-arrow { color: var(--bk-ink); }
.bk-body a.bk-arrow:hover, .bk-body a.bk-arrow:focus-visible { background: var(--bk-hover); color: var(--bk-ink); }
.bk-arrow.is-off { color: #b7b9b8; }
.bk-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 8px; justify-items: center; }
.bk-cal__dow { font-family: var(--bk-mont); font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--bk-muted); padding-bottom: 6px; }
.bk-cal__cell { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; }
.bk-date { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.bk-date.is-shut { color: var(--bk-shut); }
.bk-body a.bk-date { background: var(--bk-open); color: var(--bk-ink); font-weight: 700; text-decoration: none; }
.bk-body a.bk-date:hover, .bk-body a.bk-date:focus-visible { outline: 2px solid var(--bk-btn-gold); outline-offset: -2px; color: var(--bk-ink); }
.bk-body a.bk-date.is-chosen, .bk-body a.bk-date.is-chosen:hover { background: var(--bk-btn-gold); color: var(--bk-white); }
.bk-zone { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; font-size: 15px; color: var(--bk-text); }
.bk-zone strong { font-weight: 500; color: var(--bk-ink); }
.bk-times { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 58px; scroll-margin-top: 16px; }
.bk-times h3 { font-size: 17px; font-weight: 500; color: var(--bk-ink); padding-bottom: 6px; }
.bk-times__list { max-height: 540px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding-right: 6px; }
.bk-body a.bk-time { flex: none; display: flex; align-items: center; justify-content: center; min-height: 52px; border: 1.5px solid var(--bk-btn-gold); border-radius: 4px; font-size: 17px; font-weight: 700; color: var(--bk-words-gold); text-decoration: none; }
.bk-body a.bk-time:hover, .bk-body a.bk-time:focus-visible { background: var(--bk-hover); color: var(--bk-words-gold); }
.bk-times--none { padding-top: 110px; font-size: 17px; line-height: 1.7; color: var(--bk-muted); }

/* narrower than the three columns: the times drop under the month, below a rule */
@media (max-width: 1120px) {
  .bk-pick__cols { flex-direction: column; gap: 18px; }
  .bk-cal { width: 100%; max-width: 440px; }
  .bk-times { width: 100%; padding: 18px 0 0; border-top: 1px solid var(--bk-line); }
  .bk-times__list { max-height: none; overflow: visible; padding-right: 0; }
}
/* a phone: one column, as the Phone board */
@media (max-width: 900px) {
  body.bk-body { padding: 16px 16px 40px; }
  .bk-card { grid-template-columns: minmax(0, 1fr); min-height: 0; box-shadow: none; }
  .bk-studio { border-right: 0; border-bottom: 1px solid var(--bk-line); }
  .bk-studio__band { height: auto; justify-content: flex-start; border-bottom: 0; padding: 24px 22px 0; }
  .bk-logo { width: 72px; height: 72px; }
  .bk-studio__body { gap: 12px; padding: 12px 22px 24px; }
  .bk-studio h1 { font-size: 30px; }
  .bk-facts { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; margin-top: 0; }
  .bk-facts li { gap: 8px; }
  .bk-facts svg { width: 20px; height: 20px; }
  .bk-studio__body > p { margin-top: 0; }
  .bk-main { padding: 24px 16px 32px; }
  .bk-pick { padding: 24px 14px; }
  .bk-cal { gap: 18px; max-width: none; }
  .bk-cal h2 { font-size: 24px; margin: 0 8px; }
  .bk-cal__nav { justify-content: space-between; gap: 8px; }
  .bk-cal__nav h3 { min-width: 0; }
  .bk-cal__grid { row-gap: 6px; }
  .bk-cal__dow { font-size: 12px; letter-spacing: .5px; padding-bottom: 4px; }
  .bk-cal__cell { width: 46px; height: 46px; }
  .bk-date { width: 44px; height: 44px; }
  .bk-zone { flex-direction: row; gap: 6px; margin: 0 8px; }
  .bk-zone strong::after { content: ':'; }
  .bk-times { padding: 18px 8px 0; gap: 10px; }
  .bk-times h3 { padding-bottom: 4px; }
  .bk-times--none { padding: 0 8px; }
  .bk-brand img { width: 56px; height: 56px; }
}
@media (max-width: 370px) {
  body.bk-body { padding: 8px 8px 32px; }
  .bk-pick { padding: 20px 6px; }
}

/* the chips: the nearest free times offered when a slot is lost to someone else while they typed */
.bk-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.bk-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 4px; background: var(--bk-white); color: var(--bk-words-gold); border: 1.5px solid var(--bk-btn-gold); font: 700 17px var(--bk-sans); text-decoration: none; cursor: pointer; }
.bk-chip:hover, .bk-chip:focus-visible { background: var(--bk-hover); }

/* the cancel fold on the booked page */
.bk-fold { border-top: 1px solid var(--bk-line); padding-top: 4px; }
.bk-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 48px; font-family: var(--bk-mont); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--bk-ink); }
.bk-fold > summary::-webkit-details-marker { display: none; }
.bk-fold > summary::before { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--bk-gold-deep); border-bottom: 2px solid var(--bk-gold-deep); transform: rotate(-45deg); transition: transform .2s; }
.bk-fold[open] > summary::before { transform: rotate(45deg); }
.bk-fold__body { display: flex; flex-direction: column; gap: 14px; padding: 8px 0 18px; }

/* the chosen time, pinned above the form */
.bk-pinned { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 20px; background: var(--bk-cream); border-left: 3px solid var(--bk-gold); }
.bk-pinned strong { font-weight: 500; color: var(--bk-ink); }
.bk-pinned a { font-family: var(--bk-mont); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* the form */
.bk-form { display: flex; flex-direction: column; gap: 22px; }
.bk-field { display: flex; flex-direction: column; gap: 8px; }
.bk-field label { display: flex; flex-direction: column; gap: 4px; }
.bk-field label > span:first-child { font-family: var(--bk-mont); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--bk-ink); }
.bk-field label > span + span { font-size: 15px; line-height: 1.5; color: var(--bk-muted); }
.bk-field input, .bk-field textarea { width: 100%; min-height: 52px; padding: 12px 16px; font: 400 17px/1.5 var(--bk-sans); color: var(--bk-ink); background: var(--bk-white); border: 1px solid rgba(74, 77, 78, .3); border-radius: 2px; }
.bk-field textarea { min-height: 120px; resize: vertical; }
.bk-field input:focus, .bk-field textarea:focus { border-color: var(--bk-gold-deep); outline: 2px solid var(--bk-gold-deep); outline-offset: 1px; }
.bk-field.is-wrong input, .bk-field.is-wrong textarea { border-color: var(--bk-warn); }
.bk-field__msg { font-size: 15px; color: var(--bk-warn); }
.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .bk-row { grid-template-columns: 1fr; } }
.bk-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.bk-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 36px; border-radius: 2px; border: 1px solid var(--bk-btn-gold); background: var(--bk-btn-gold); color: var(--bk-white); font: 600 13px var(--bk-mont); letter-spacing: 3px; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.bk-btn:hover, .bk-btn:focus-visible { background: var(--bk-btn-gold-hover); border-color: var(--bk-btn-gold-hover); color: var(--bk-white); }
.bk-btn--outline { background: var(--bk-white); border-color: var(--bk-gold); color: var(--bk-gold-deep); }
.bk-btn--outline:hover, .bk-btn--outline:focus-visible { background: var(--bk-cream); color: var(--bk-gold-deep); border-color: var(--bk-gold); }
/* A button made from a link must beat ".bk-body a", which is more specific than ".bk-btn" and was painting the
   text of every link-button gold on its own gold ground ("Add to my calendar"). Same colours, stronger selectors. */
.bk-body a.bk-btn, .bk-body a.bk-btn:hover, .bk-body a.bk-btn:focus-visible { color: var(--bk-white); }
.bk-body a.bk-btn--outline, .bk-body a.bk-btn--outline:hover, .bk-body a.bk-btn--outline:focus-visible { color: var(--bk-gold-deep); }
.bk-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 640px) { .bk-actions .bk-btn { width: 100%; } }

/* notices */
.bk-note { padding: 16px 20px; border-radius: 2px; font-size: 16px; line-height: 1.6; }
.bk-note--ok { background: var(--bk-ok-bg); color: var(--bk-ok); border-left: 3px solid var(--bk-ok); }
.bk-note--warn { background: var(--bk-warn-bg); color: var(--bk-warn); border-left: 3px solid var(--bk-warn); }
.bk-note--stone { background: var(--bk-stone); color: var(--bk-text); border-left: 3px solid var(--bk-gold); }
.bk-note strong { font-weight: 500; }

/* the booked page */
.bk-tick { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bk-ok-bg); color: var(--bk-ok); }
.bk-when { font-family: var(--bk-serif); font-size: 26px; line-height: 1.3; color: var(--bk-ink); }
.bk-kv { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid var(--bk-line); border-bottom: 1px solid var(--bk-line); }
.bk-kv span:first-child { font-family: var(--bk-mont); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--bk-gold-deep); }

/* The email list's public pages (/join, /join/thanks/{ticket}, /list/{token}): the boards JoinDesk, JoinPhone,
   JoinDeskStates and JoinPhoneThanks. The same type and colours as the booking page; a photograph on the left
   (on top on a phone), the words beside it. Kept short on purpose (Victoria, 26 September: "too wordy"). */
body.ls-body { padding: 64px 16px 40px; }
.ls-card { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 480px minmax(0, 1fr); background: var(--bk-white); border: 1px solid var(--bk-line); box-shadow: 0 12px 30px rgba(0, 0, 0, .06); }
.ls-card--thanks { grid-template-columns: 420px minmax(0, 1fr); }
.ls-card--words { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
.ls-photo { overflow: hidden; min-height: 100%; }
.ls-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ls-card--thanks .ls-photo img { object-position: 50% 20%; }
.ls-words { display: flex; flex-direction: column; gap: 24px; padding: 52px 56px 48px; }
.ls-studio { display: flex; align-items: center; gap: 12px; }
.ls-studio img { width: 44px; height: 44px; border-radius: 50%; display: block; }
.ls-studio span { font-family: var(--bk-serif); font-size: 20px; color: var(--bk-ink); }
.ls-head { display: flex; flex-direction: column; gap: 12px; }
.ls-body h1 { margin: 0; font-family: var(--bk-serif); font-weight: 400; font-size: 44px; line-height: 1.2; color: var(--bk-ink); }
.ls-lead { margin: 0; font-size: 18px; line-height: 1.7; color: var(--bk-text); }
.ls-quiet { margin: 0; font-size: 16px; line-height: 1.7; color: var(--bk-muted); }
.ls-quiet a, .ls-lead a { text-decoration: underline; }
.ls-send { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.ls-send .bk-small, .ls-words > .bk-small { margin: 0; }
.ls-done { display: flex; align-items: center; gap: 16px; }
.ls-done h1 { font-size: 40px; }
.ls-tick { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bk-ok-bg); color: var(--bk-ok); }
.ls-tick svg { width: 26px; height: 26px; stroke-width: 2; }
.ls-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.ls-foot { max-width: 1100px; margin: 22px auto 0; font-size: 15px; color: var(--bk-muted); text-align: right; }
@media (max-width: 900px) {
  body.ls-body { padding: 0 0 32px; background: var(--bk-white); }
  .ls-card, .ls-card--thanks { grid-template-columns: minmax(0, 1fr); border: 0; box-shadow: none; }
  .ls-photo { height: 210px; min-height: 0; }
  .ls-card--thanks .ls-photo { height: 280px; }
  .ls-card--thanks .ls-photo img { object-position: 50% 18%; }
  .ls-words { gap: 22px; padding: 24px 22px 32px; }
  .ls-body h1 { font-size: 32px; }
  .ls-done h1 { font-size: 32px; }
  .ls-done .ls-tick { display: none; }
  .ls-send { align-items: stretch; }
  .ls-send .bk-btn, .ls-words > div > .bk-btn { width: 100%; }
  .ls-foot { padding: 0 22px; text-align: left; font-size: 14px; }
}
