/* Tuhf Capital client booking page. Palette per Corporate Identity July 2026:
   Deep Purple #2d265c, Coral #f86568, Teal #3bb0b8, Light Teal #7cd8d8.
   Montserrat is self-hosted (SIL OFL 1.1, see assets/fonts/OFL.txt). */

@font-face { font-family: "Montserrat"; font-weight: 300; font-display: swap; src: url("assets/fonts/Montserrat-Light.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url("assets/fonts/Montserrat-Regular.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url("assets/fonts/Montserrat-Medium.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("assets/fonts/Montserrat-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("assets/fonts/Montserrat-Bold.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-display: swap; src: url("assets/fonts/Montserrat-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 900; font-display: swap; src: url("assets/fonts/Montserrat-Black.woff2") format("woff2"); }

:root {
  --deep: #2d265c;
  --coral: #f86568;
  --coral-dark: #d9454a;
  --coral-tint: #fff1f1;
  --teal: #3bb0b8;
  --teal-text: #1f7f86; /* teal darkened for AA text contrast on white */
  --light-teal: #7cd8d8;
  --ink: #2d265c;
  --muted: #5f5a85;
  --line: #d9d7e6;
  --field: #f6f5fa;
  --disabled: #ecebf2;
  --white: #ffffff;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.45;
}
img { max-width: 100%; height: auto; }
a { color: var(--deep); font-weight: 700; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

.demo-banner {
  background: var(--light-teal); color: var(--deep); text-align: center;
  font-weight: 700; font-size: 13px; padding: 6px 16px;
}

.layout { display: grid; grid-template-columns: minmax(320px, 40%) 1fr; min-height: 100vh; }

/* Brand panel */
.brand-panel {
  position: relative; overflow: hidden;
  background: var(--deep); color: var(--white);
  padding: 56px 48px 240px;
}
.logo { display: block; width: 220px; margin-bottom: 56px; }
.hero { font-weight: 900; color: var(--coral); font-size: clamp(36px, 4vw, 48px); line-height: 1.05; margin: 0 0 16px; }
.hero-sub { font-weight: 300; font-size: 22px; margin: 0 0 32px; max-width: 22ch; }
.hero-intro { font-size: 15px; margin: 0 0 40px; max-width: 46ch; }
.space-list { list-style: none; padding: 0; margin: 0 0 48px; display: grid; gap: 12px; max-width: 420px; }
.space-list li { border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius); padding: 14px 16px; font-size: 14px; }
.space-list b { display: block; color: var(--light-teal); font-size: 15px; margin-bottom: 2px; }
.copyright { font-size: 12px; opacity: .75; margin: 0; }
.arc {
  position: absolute; left: 48px; bottom: -210px; width: 420px; height: 420px; border-radius: 50%;
  border: 28px solid var(--coral); border-right-color: var(--teal); border-bottom-color: transparent;
  transform: rotate(-45deg);
}

/* Content */
.content { padding: 56px clamp(16px, 5vw, 56px) 64px; max-width: 760px; width: 100%; }
.eyebrow { color: var(--teal-text); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.title { font-weight: 900; font-size: clamp(26px, 3vw, 32px); margin: 0 0 12px; line-height: 1.15; }
.lede { color: var(--muted); margin: 0 0 24px; }

fieldset { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.section { color: var(--teal-text); font-weight: 700; font-size: 17px; padding: 0; margin: 24px 0 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 18px; }
label, .label { display: block; font-weight: 700; font-size: 14px; margin: 0 0 8px; }
.opt { font-weight: 400; color: var(--muted); }
input[type=text], input:not([type]), input[type=email], input[type=tel], input[type=date], input[type=number], textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--field); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; min-height: 46px;
}
textarea { resize: vertical; min-height: 88px; }
input.half { max-width: 50%; }
input:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible, .space-option:focus-visible {
  outline: 3px solid var(--teal); outline-offset: 2px;
}
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--coral-dark); }
.hint { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.field-error { color: #b3262b; font-size: 13px; font-weight: 600; margin: 6px 0 0; }
.notice { background: var(--field); border: 1px solid var(--line); border-left: 4px solid var(--teal-text); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 16px; }
.notice:focus { outline: none; } /* focused programmatically only, not interactive */
.notice p { margin: 0 0 6px; }
.notice p:last-child { margin-bottom: 0; }
.notice-title { font-weight: 700; color: var(--teal-text); }
.notice-hint { color: var(--muted); font-size: 14px; }
.alert { background: var(--coral-tint); border: 1px solid var(--coral); border-radius: var(--radius); padding: 12px 16px; font-weight: 600; margin-bottom: 16px; }

/* Space options */
.space-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.space-option {
  text-align: left; font: inherit; color: var(--ink); cursor: pointer;
  background: var(--field); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
}
.space-option b { display: block; font-size: 15px; }
.space-option span { display: block; font-size: 14px; }
.space-option small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.space-option[aria-checked=true] { border: 2px solid var(--coral); background: var(--coral-tint); padding: 13px; }

/* Seats stepper */
.stepper { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--field); }
.stepper button { width: 52px; border: 0; background: var(--field); font-size: 20px; font-weight: 700; color: var(--deep); cursor: pointer; }
.stepper button:disabled { color: #b4b1c8; cursor: not-allowed; }
.stepper input { width: 112px; text-align: center; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-radius: 0; background: var(--white); font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Slots */
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.slot {
  font: inherit; text-align: left; cursor: pointer; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; min-height: 60px;
}
.slot b { display: block; font-size: 15px; }
.slot span { display: block; font-size: 13px; font-weight: 700; color: var(--teal-text); }
.slot[aria-pressed=true] { border: 2px solid var(--coral); background: var(--coral-tint); padding: 9px 11px; }
.slot[aria-pressed=true] span { color: var(--deep); }
.slot:disabled { cursor: not-allowed; background: var(--disabled); color: #8f8ba8; border-color: var(--disabled); }
.slot:disabled span { color: #8f8ba8; font-weight: 500; }
.slots-msg { grid-column: 1 / -1; color: var(--muted); font-size: 14px; margin: 0; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 13px; height: 13px; border-radius: 3px; border: 1px solid var(--line); display: inline-block; }
.sw-sel { border: 2px solid var(--coral); background: var(--coral-tint); }
.sw-full { background: var(--disabled); }
.selected { border-left: 4px solid var(--teal); background: var(--field); border-radius: 0 var(--radius) var(--radius) 0; padding: 12px 16px; margin: 14px 0 0; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-top: 24px; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--coral); flex: none; }
.consent label { font-weight: 400; font-size: 14px; margin: 0; }
.turnstile { margin-top: 16px; min-height: 0; }

.actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.btn-primary {
  font: inherit; font-weight: 700; font-size: 17px; color: var(--white); background: var(--coral);
  border: 0; border-radius: 999px; padding: 15px 28px; cursor: pointer;
}
.btn-primary:hover { background: var(--coral-dark); }
.btn-primary:disabled { opacity: .6; cursor: progress; }
.btn-outline {
  font: inherit; font-weight: 700; font-size: 17px; color: var(--deep); background: var(--white);
  border: 1.5px solid var(--deep); border-radius: 999px; padding: 14px 28px; cursor: pointer; margin-top: 24px;
}
.btn-outline:hover { background: var(--field); }

/* Confirmation */
.tick { width: 56px; height: 56px; border-radius: 50%; background: var(--teal); color: var(--white); display: grid; place-items: center; font-size: 28px; font-weight: 700; margin-bottom: 20px; }
.pill { display: inline-block; border: 1px solid var(--coral); background: var(--coral-tint); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; margin: 0 0 16px; }
.pill.ok { border-color: var(--teal); background: #e9f7f8; }
.summary-box { border: 1px solid var(--coral); background: var(--coral-tint); border-radius: var(--radius); padding: 16px 18px; font-weight: 700; font-size: 18px; margin: 0 0 20px; }
.details { border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin: 0; display: grid; grid-template-columns: 160px 1fr; }
.details dt, .details dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 15px; }
.details dt { font-weight: 700; color: var(--muted); }
.details dt:nth-last-of-type(1), .details dd:last-of-type { border-bottom: 0; }

/* Mobile */
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .brand-panel { padding: 24px 16px 32px; }
  .logo { width: 160px; margin-bottom: 20px; }
  .hero { font-size: 34px; margin-bottom: 10px; }
  .hero-sub { font-size: 18px; margin-bottom: 12px; }
  .hero-intro { font-size: 15px; margin-bottom: 0; }
  .space-list, .copyright, .arc { display: none; }
  .content { padding: 28px 16px 48px; }
  .grid-2 { grid-template-columns: 1fr; }
  .space-options { grid-template-columns: 1fr; }
  .slots { grid-template-columns: 1fr 1fr; }
  input.half { max-width: 100%; }
  .details { grid-template-columns: 1fr; }
  .details dt { border-bottom: 0; padding-bottom: 2px; }
  .details dd { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.note { color: var(--muted); font-size: 14px; margin: -8px 0 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-row .btn-outline { margin-top: 0; }
.centre-page { max-width: 720px; margin: 0 auto; }
.page-head { background: var(--deep); padding: 20px 16px; }
.page-head .inner { max-width: 720px; margin: 0 auto; padding: 0 clamp(0px, 3vw, 24px); }
.page-head img { width: 180px; display: block; }
