/* The one booking page. One column, one job: headline, what it is for, length, day, time, name, email, book.
   Effortless Innovations brand (branding/BRAND-GUIDE.md): Guardian Shadow palette, Barlow Condensed + Public Sans. */
:root {
  --canvas: #13212C;      /* Night Blue */
  --surface: #1B2D3B;     /* Surface */
  --line: #24394A;        /* Line */
  --ink: #FDF3E1;         /* Bulb White */
  --ink-soft: #A9BCCB;    /* Mist */
  --accent: #F08A2C;      /* Ember */
  --accent-ink: #13212C;
  --lamp: #FCAE48;        /* Lamp */
  --danger: #FF9B8A;
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-text: "Public Sans", system-ui, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { background: var(--canvas); color: var(--ink); }
body { margin: 0; font-family: var(--font-text); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--lamp); }
[hidden] { display: none !important; }
button { font: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--lamp); outline-offset: 2px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 0.6rem 1rem; z-index: 50; border-radius: 0 0 8px 0; font-weight: 700; }
.skip:focus { left: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.s-wrap { max-width: 720px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 0 72px; }
.s-bar { display: flex; align-items: center; justify-content: space-between; padding-block: 20px; }
.s-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink); text-decoration: none; }
.s-mark { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 6px; font-size: 15px; }
.s-home { color: var(--ink-soft); font-size: 14px; text-decoration: none; }
.s-home:hover { color: var(--lamp); }

.s-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 0.88; font-size: clamp(56px, 13vw, 112px); margin: 32px 0 0; text-wrap: balance; }
.s-title em { font-style: normal; color: var(--accent); display: block; }
.s-sub { font-size: clamp(18px, 2.6vw, 22px); color: var(--ink-soft); margin: 20px 0 0; max-width: 40ch; text-wrap: balance; }
.s-sub strong { color: var(--ink); font-weight: 600; }

.s-pick { margin-top: 44px; display: grid; gap: 18px; }
.s-toggles { display: flex; flex-wrap: wrap; gap: 10px; }
.s-toggle { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 8px; padding: 4px; gap: 4px; max-width: 100%; }
.s-toggle button { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); background: none; border: 0; border-radius: 6px; padding: 10px 16px; cursor: pointer; }
.s-toggle button:hover { color: var(--ink); }
.s-toggle button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

/* The month calendar: Sunday to Saturday. Open days are Ember-ringed buttons with a dot; closed days are dimmed. */
.s-cal-box { display: grid; gap: 10px; max-width: 460px; }
.s-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.s-month { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 24px; text-transform: uppercase; letter-spacing: 0.03em; }
.s-nav { width: 40px; height: 40px; display: grid; place-items: center; font-size: 26px; line-height: 1; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.s-nav:hover:not(:disabled) { border-color: var(--lamp); }
.s-nav:disabled { opacity: 0.35; cursor: default; }
.s-grid { display: grid; gap: 6px; }
.s-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.s-wk span { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.s-cell { aspect-ratio: 1; max-width: 100%; width: 100%; display: grid; place-items: center; border-radius: 8px; font-family: var(--font-display); font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; position: relative; }
.s-closed { color: var(--ink-soft); opacity: 0.4; }
.s-open { color: var(--ink); background: var(--surface); border: 1px solid transparent; cursor: pointer; padding: 0; }
.s-open i { position: absolute; bottom: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.s-open:hover { border-color: var(--lamp); }
.s-open[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.s-open[aria-pressed="true"] i { background: var(--accent-ink); }
.s-today { box-shadow: inset 0 0 0 1px var(--ink-soft); }
.s-dayname { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: 0.04em; }
.s-times { display: flex; flex-wrap: wrap; gap: 8px; }
.s-time { font-family: var(--font-display); font-size: 19px; font-weight: 700; padding: 10px 16px; color: var(--ink); background: var(--surface); border: 1px solid transparent; border-radius: 8px; cursor: pointer; font-variant-numeric: tabular-nums; }
.s-time:hover { border-color: var(--lamp); }
.s-time[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.s-tz, .s-hint, .s-fine { margin: 0; font-size: 13px; color: var(--ink-soft); }

.s-form { display: grid; gap: 12px; margin-top: 6px; }
.s-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .s-fields { grid-template-columns: 1fr; } }
.s-field { min-width: 0; display: grid; gap: 4px; }
.s-field input { font: 16px var(--font-text); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px; width: 100%; min-width: 0; }
.s-field input::placeholder { color: var(--ink-soft); }
.s-field input[aria-invalid="true"] { border-color: var(--danger); }
/* For my career: one tap on what they are working toward (optional). */
.s-goal-row { display: grid; gap: 8px; }
.s-ask { margin: 0; font-size: 14px; color: var(--ink-soft); }
.s-goals { display: flex; flex-wrap: wrap; gap: 8px; }
.s-goal { font: 600 15px var(--font-text); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.s-goal:hover { border-color: var(--lamp); }
.s-goal[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.s-err { margin: 0; color: var(--danger); font-size: 14px; }
.s-err:empty { display: none; }
.s-go { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1; text-transform: uppercase; letter-spacing: 0.04em; color: var(--accent-ink); background: var(--accent); border: 0; border-radius: 8px; padding: 18px; cursor: pointer; box-shadow: 0 10px 30px -12px rgb(240 138 44 / 0.6); }
.s-go:hover { background: var(--lamp); }
.s-go:disabled { opacity: 0.7; cursor: progress; }
.s-notice { margin: 0; padding: 12px 14px; border-radius: 8px; background: var(--surface); border-left: 3px solid var(--danger); }

.s-done { margin-top: 44px; display: grid; gap: 14px; }
.s-done h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 8vw, 56px); line-height: 0.95; margin: 0; outline: none; }
.s-done h2 em { font-style: normal; color: var(--accent); display: block; }
.s-done p { margin: 0; color: var(--ink-soft); max-width: 50ch; }
.s-cal { display: flex; flex-wrap: wrap; gap: 10px; }
.s-calbtn { font-family: var(--font-display); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; text-decoration: none; }
.s-calbtn:hover { border-color: var(--lamp); color: var(--lamp); }
.s-again { justify-self: start; background: none; border: 0; padding: 0; color: var(--lamp); font: 600 15px var(--font-text); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .s-pick, .s-done { animation: s-rise 0.4s ease-out both; }
}
@keyframes s-rise { from { transform: translateY(8px); opacity: 0.6; } }
