/* Global styles. Most visual styling lives inline in the templates, exactly as exported from the design. */
/* Page gutter used by every content column (max-width 1200px including this padding) */
:root { --gutter: clamp(20px, 4vw, 40px); --header-pad: 16px; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: #F6F6F2; color: #111311; -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
a { color: #111311; text-decoration-color: #83C51D; text-underline-offset: 3px; }
a:hover { color: #111311; text-decoration-color: #111311; }
:focus-visible { outline: 2px solid #111311; outline-offset: 3px; border-radius: 4px; }
input, textarea, select, button { font: inherit; }
summary::-webkit-details-marker { display: none; }
[x-cloak] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

.page { font-family: Geist, ui-sans-serif, system-ui, sans-serif; color: #111311; background: #F6F6F2; min-height: 100vh; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: #111311; color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; color: #fff; }

/* Hover states (the design's style-hover attributes). !important is needed to beat inline styles. */
.hv-ink:hover { color: #111311 !important; }
.hv-bg-white:hover { background: #fff !important; }
.hv-underline:hover { text-decoration: underline !important; }
.hv-dark:hover { background: #2a2e2a !important; color: #fff !important; }
.hv-border-ink:hover { border-color: #111311 !important; }
.hv-outline:hover { background: #fff !important; border-color: #111311 !important; }
.hv-lime:hover { background: #A8E83A !important; color: #111311 !important; }

/* ── Header ─────────────────────────────────────── */
/* The bar's text lines up with the page content: the bar is the content width plus its own padding,
   and sits that much outside the gutter, so only its (scroll-revealed) background extends past the content. */
.site-header { position: sticky; top: 0; z-index: 50; padding: 12px calc(var(--gutter) - var(--header-pad)) 0; }
.site-header__bar {
  max-width: calc(1200px - 2 * var(--gutter) + 2 * var(--header-pad)); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 56px; padding: 0 calc(var(--header-pad) - 1px); background: rgba(246,246,242,0); border: 1px solid rgba(220,221,215,0); border-radius: 10px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s, border-color .2s;
}
.site-header.is-raised .site-header__bar { background: rgba(255,255,255,0.88); border-color: #DCDDD7; }
.logo { display: flex; align-items: center; gap: 2px; text-decoration: none; color: #111311; font: 600 18px/1 Geist; letter-spacing: -0.03em; }
.logo__dot { width: 7px; height: 7px; background: #83C51D; border-radius: 2px; display: inline-block; margin-left: 2px; margin-top: 8px; }
.site-header__nav { display: flex; align-items: center; gap: 32px; font: 450 15px/1 Geist; }
.site-header__nav a { text-decoration: none; color: #3c403c; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.site-header__nav a:hover { color: #111311; }
.site-header__nav a[aria-current="page"] { color: #111311; border-bottom-color: #83C51D; }
.btn-lime-sm {
  display: inline-flex; align-items: center; height: 38px; padding: 0 14px; white-space: nowrap; background: #B7F34A; color: #111311;
  border-radius: 6px; font: 500 14px/1 Geist; text-decoration: none; border: 1px solid #9AD936;
}
.btn-lime-sm:hover { background: #A8E83A; }
.site-header__menu-btn { display: none; height: 38px; padding: 0 12px; border: 1px solid #DCDDD7; background: #fff; border-radius: 6px; font: 500 14px/1 Geist; color: #111311; cursor: pointer; }
.site-header__mobile { max-width: calc(1200px - 2 * var(--gutter) + 2 * var(--header-pad)); margin: 8px auto 0; background: #fff; border: 1px solid #DCDDD7; border-radius: 10px; padding: 8px; display: grid; }
.site-header__mobile a { padding: 14px 12px; text-decoration: none; color: #111311; font: 500 17px/1 Geist; border-bottom: 1px solid #EEEFEA; }
.site-header__mobile a:last-child { border-bottom: 0; }
@media (max-width: 859px) {
  .site-header__nav { display: none; }
  .site-header__menu-btn { display: inline-block; }
}
@media (min-width: 860px) { .site-header__mobile { display: none !important; } }

/* ── Case study "On this page" (active item set by the tocSpy component) ── */
.toc-link { text-decoration: none; color: #626762; padding-left: 12px; border-left: 2px solid #DCDDD7; transition: color .15s, border-color .15s; }
.toc-link:hover { color: #111311; }
.toc-link.is-active { color: #111311; font-weight: 500; border-left-color: #83C51D; }

/* ── Booking picker skeleton (shown while availability loads) ── */
@keyframes sk-shine { 0% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.sk-card { display: grid; justify-items: center; align-content: center; border: 1px solid #EEEFEA; border-radius: 6px; background: #fff; }
.sk-card--day { gap: 6px; height: 70px; }
.sk-card--time { height: 42px; }
.sk-bar {
  display: block; border-radius: 3px;
  background: linear-gradient(90deg, #EEEFEA 25%, #F8F8F5 37%, #EEEFEA 63%);
  background-size: 400% 100%; animation: sk-shine 1.4s ease infinite;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── Home: scrolling "Built with" logo strip ── */
.logo-strip { max-width: 1200px; margin: 0 auto; padding: 22px var(--gutter); display: flex; align-items: center; gap: 14px 36px; }
.logo-strip__label { flex: none; font: 500 11px/1 'Geist Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: #626762; }
.logo-strip__viewport {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-strip__track { display: flex; width: max-content; animation: logo-scroll 30s linear infinite; }
.logo-strip__duplicate { display: flex; flex: none; }
.logo-strip__viewport:hover .logo-strip__track { animation-play-state: paused; }
.logo-strip__list { list-style: none; margin: 0; padding: 0 36px 0 0; display: flex; gap: 36px; font: 500 15px/1 Geist; color: #3c403c; letter-spacing: -0.01em; }
.logo-strip__list li { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.logo-strip__list svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
@keyframes logo-scroll { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .logo-strip { flex-direction: column; align-items: flex-start; } .logo-strip__viewport { width: 100%; } }
/* No motion: show one static, wrapping list instead */
@media (prefers-reduced-motion: reduce) {
  .logo-strip__viewport { -webkit-mask-image: none; mask-image: none; }
  .logo-strip__track { width: auto; }
  .logo-strip__list { flex-wrap: wrap; gap: 14px 28px; padding: 0; }
  .logo-strip__duplicate { display: none; }
}

/* ── Booking: timezone picker ── */
.tz-picker { display: inline-flex; align-items: center; gap: 6px; font: 400 13px/1.2 Geist; color: #626762; min-width: 0; }
.tz-picker > span { white-space: nowrap; }
.tz-picker select {
  max-width: 230px; min-width: 0; padding: 4px 6px; border: 1px solid #DCDDD7; border-radius: 6px; background: #fff;
  font: 500 13px/1.2 Geist; color: #111311; cursor: pointer; text-overflow: ellipsis;
}
.tz-picker select:hover { border-color: #111311; }

/* ── Labels & forms ─────────────────────────────── */
.pill-radio { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 1px solid #C9CBC3; background: #fff; border-radius: 6px; font: 500 14px/1 Geist; cursor: pointer; }
.pill-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill-radio:has(input:focus-visible) { outline: 2px solid #111311; outline-offset: 2px; }

input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #B42318 !important; }
.field-error { font: 400 13px/1.3 Geist; color: #B42318; }
.form-error { margin: 0; padding: 10px 12px; border-radius: 6px; background: #FEF3F2; border: 1px solid #FDA29B; color: #912018; font: 400 14px/1.4 Geist; }
.recaptcha-note { margin: 0; font: 400 12px/1.4 Geist; color: #8a8e88; }
.recaptcha-note a { color: inherit; }
button:disabled { opacity: .7; cursor: not-allowed; }
.grecaptcha-badge { visibility: hidden; } /* allowed when the text notice is shown on each form */

/* Honeypot: off-screen, not display:none, so naive bots still fill it */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
