/* /contact page. Tokens, .shell, .btn and footer come from assets/site.css. */
.s-hero.is--light { position: relative; isolation: isolate; background: var(--c-canvas); overflow: hidden; }
/* drafting-sheet rules: left, right and centre of the container, plus a short rule under the header */
.s-hero.is--light::before, .s-hero.is--light::after { content: ''; position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px dashed var(--c-line-strong); pointer-events: none; }
.s-hero.is--light::before { left: max(var(--gutter), calc(50% - var(--shell-max, 80rem) / 2)); }
.s-hero.is--light::after { right: max(var(--gutter), calc(50% - var(--shell-max, 80rem) / 2)); }
.sheet-centre { position: absolute; top: 0; bottom: 0; left: 50%; width: 0; border-left: 1px dashed var(--c-line-strong); pointer-events: none; }
.sheet-centre::after { content: ''; position: absolute; top: 5.5rem; left: -2.5rem; width: 5rem; border-top: 1px dashed var(--c-line-strong); }
@media (max-width: 767px) { .sheet-centre { display: none; } }
.contact-head { max-width: 45rem; padding-top: clamp(8rem, 22vh, 14rem); }
.contact-head .eyebrow { display: flex; align-items: center; gap: 0.625rem; }
.contact-head .eyebrow::before { content: ''; width: 8px; height: 8px; background: var(--c-fg); transform: rotate(45deg); }
.contact-head h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); line-height: 1.05; font-weight: 300; letter-spacing: -0.025em; }
.contact-head p { max-width: 26.25rem; color: var(--c-fg-muted); }
.scheduler { display: flex; flex-direction: column; min-height: 40rem; padding: 1.5rem; border-radius: 24px; background: var(--c-raised); border: 1px solid var(--c-line); }
@media (max-width: 767px) { .scheduler { padding: 0.75rem; border-radius: 16px; } }
.scheduler iframe { flex: 1 1 auto; width: 100%; height: 100%; min-height: 47.5rem; border: 0; border-radius: 14px; background: var(--c-raised); }
.scheduler.is--fallback iframe { display: none; }
.sched-fallback { display: none; margin: auto; max-width: 30rem; text-align: center; padding: 2rem 1rem; }
.scheduler.is--fallback .sched-fallback { display: block; }
.contact-strip { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.contact-strip li { display: grid; gap: 0.125rem; }
.contact-strip .k { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-fg-muted); }
.contact-strip a { font-size: 0.9375rem; font-weight: 500; color: var(--c-fg); }
.contact-strip a:hover { color: var(--c-accent); }
@media (max-width: 767px) { .contact-strip { flex-direction: column; gap: 1rem; } }

/* native booker (served by the Worker's /api/book endpoints; the Cal.com frame is the fallback) */
.booker { display: none; flex: 1 1 auto; gap: 1.5rem; }
.scheduler.is--native .booker { display: grid; }
.scheduler.is--native iframe, .scheduler.is--native .sched-fallback { display: none; }
@media (min-width: 900px) { .booker { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.booker h2 { font-size: 1.25rem; font-weight: 500; }
.booker .meta { display: grid; gap: 0.375rem; margin-top: 1rem; font-size: 0.875rem; color: var(--c-fg-muted); }
.booker .days { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.25rem; scrollbar-width: thin; }
.booker .day { flex: 0 0 auto; display: grid; place-items: center; width: 4.25rem; padding: 0.625rem 0; border-radius: 10px; border: 1px solid var(--c-line); background: var(--c-canvas); font-size: 0.8125rem; color: var(--c-fg); }
.booker .day small { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-fg-muted); }
.booker .day[aria-pressed='true'] { border-color: var(--c-fg); background: var(--c-fg); color: var(--c-canvas); }
.booker .day[aria-pressed='true'] small { color: rgb(255 255 255 / 0.7); }
.booker .times { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.25rem, 1fr)); gap: 0.5rem; margin-top: 1rem; }
.booker .time { padding: 0.625rem 0; border-radius: 8px; border: 1px solid var(--c-line); background: var(--c-canvas); font-family: var(--font-mono); font-size: 0.8125rem; color: var(--c-fg); }
.booker .time[aria-pressed='true'] { border-color: var(--c-accent); background: var(--c-accent); color: #0a0d14; }
.booker .form { display: grid; gap: 0.75rem; margin-top: 1rem; }
.booker input, .booker textarea { width: 100%; padding: 0.75rem 0.875rem; border-radius: 8px; border: 1px solid var(--c-line); background: var(--c-canvas); font: inherit; font-size: 0.9375rem; color: var(--c-fg); }
.booker input:focus-visible, .booker textarea:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 1px; }
.booker .status { min-height: 1.25rem; font-size: 0.875rem; color: var(--c-fg-muted); }
.booker .status.is--error { color: #c0392b; }
.booker .done { display: grid; gap: 0.5rem; padding: 1.25rem; border-radius: 12px; border: 1px solid var(--c-line); background: var(--c-canvas); }
