/* Thumbs Up!! Human Body Mechanic
   Brand (from Brian's logo): a blue thumbs-up whose thumb is a wrench, black outline,
   "THUMBS UP!!" in thin black caps, "HUMAN" in blue. Blue #2E99BB, ink #231F20. */

:root {
  --ink: #231f20;
  --ink-2: #2e2a2b;
  --blue: #2e99bb;
  --blue-600: #217c9a;
  --blue-700: #19637b;
  --blue-100: #dff1f7;
  --blue-50: #f0f8fb;
  --paper: #fbfaf7;
  --white: #fff;
  --text: #231f20;
  --muted: #5d5859;
  --line: #e4e1dc;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(35, 31, 32, .05), 0 12px 32px rgba(35, 31, 32, .08);
  --font-display: "Jost", "Century Gothic", "Futura", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1160px;
  --header-h: 74px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-700); }
h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.4vw, 76px); font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 600; letter-spacing: -.01em; }
h3 { font-size: 24px; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.sprite { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-700); margin-bottom: 14px;
}
.eyebrow-light { color: #8fd3e8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; border: 2px solid var(--blue);
  background: var(--blue); color: #fff; font-weight: 700; text-decoration: none;
  font-family: var(--font-body); font-size: 17px; line-height: 1.2;
  transition: background .2s, border-color .2s, transform .2s, color .2s;
}
.btn:hover { background: var(--blue-600); border-color: var(--blue-600); transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 16px; }
.btn-lg { padding: 15px 24px; font-size: 18px; }
.btn-note { font-weight: 400; opacity: .85; font-size: .9em; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ink { background: var(--ink); border-color: var(--ink); }
.btn-ink:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--blue-50); border-color: var(--blue-50); color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: auto; }
.wordmark { display: flex; flex-direction: column; font-family: var(--font-display); line-height: 1; }
.wm-top { font-size: 22px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.wm-bottom { font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.wm-blue { color: var(--blue); }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav-links a:not(.btn):hover { color: var(--blue-700); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px);
  background:
    radial-gradient(900px 420px at 85% 10%, var(--blue-100), transparent 70%),
    var(--paper);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.lead { font-size: clamp(19px, 2vw, 22px); color: var(--muted); max-width: 40ch; margin-top: 18px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chips { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 600; font-size: 16px;
}
.chips .ic { color: var(--blue); }
.chips a { color: inherit; }
.hero-art { display: grid; justify-items: center; gap: 14px; }
.badge {
  width: min(100%, 340px); aspect-ratio: 1; border-radius: 50%;
  background: #fff; border: 2px solid var(--line); box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.badge img { width: 58%; height: auto; transform: rotate(-6deg); }
.badge-caption {
  font-family: var(--font-display); font-size: 30px; font-weight: 300; letter-spacing: .08em;
  text-transform: uppercase; margin: 0;
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-ink { background: var(--ink); color: #fff; }
.section-tint { background: var(--blue-50); }
.section-blue { background: var(--blue); color: #fff; }
.muted-light { color: rgba(255, 255, 255, .78); font-size: 19px; margin-top: 16px; }
.section-ink .text-link { color: #8fd3e8; margin-top: 10px; }

/* Video */
.video-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.video-frame {
  margin: 0; position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; background: #0f0d0d; border: 1px solid rgba(255, 255, 255, .12);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer;
  background: #000; display: grid; place-items: center;
}
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt .play { position: relative; transition: transform .2s, background .2s; }
.yt:hover .play, .yt:focus-visible .play { transform: scale(1.08); background: var(--blue-600); }
.play { width: 40px; height: 40px; fill: #fff; padding: 22px; border-radius: 50%; background: var(--blue); box-sizing: content-box; box-shadow: 0 8px 30px rgba(0, 0, 0, .45); }
.video-frame figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 16px 12px; font-size: 14px;
  color: rgba(255, 255, 255, .85); background: linear-gradient(transparent, rgba(0, 0, 0, .7)); pointer-events: none;
}
.video-frame iframe ~ figcaption { display: none; }
.more-video { color: rgba(255, 255, 255, .78); font-size: 16px; }
.more-video a { color: #8fd3e8; }

/* Reviews */
.proof { padding: clamp(48px, 7vw, 80px) 0; background: #fff; border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.proof-stat {
  display: grid; justify-items: center; text-align: center; gap: 6px;
  width: 220px; aspect-ratio: 1; border-radius: 50%; place-content: center;
  background: var(--blue); color: #fff; box-shadow: var(--shadow);
}
.proof-num { font-family: var(--font-display); font-size: 64px; font-weight: 700; line-height: 1; }
.proof-label { font-size: 16px; font-weight: 600; line-height: 1.3; }
.proof-copy p { color: var(--muted); font-size: 19px; margin-top: 14px; max-width: 58ch; }
.proof-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; }
.chip-proof { background: var(--blue-50) !important; border-color: var(--blue-100) !important; }
.chip-proof a { text-decoration: none; }

/* Cards */
.cards { display: grid; gap: 20px; margin-top: 36px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card h3 { margin: 14px 0 8px; }
.card p { color: var(--muted); }
.card .card-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--blue-700); font-size: 16px; font-weight: 600; }
.card-ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--blue-100); color: var(--blue-700); fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card .loc-days {
  display: inline-block; margin: 0; padding: 5px 12px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.loc h3 { font-size: 30px; margin-top: 16px; }
.loc-addr { display: flex; gap: 10px; color: var(--text) !important; margin-top: 12px; }
.loc-addr .ic { color: var(--blue); margin-top: 4px; }
.directions { margin: 6px 0 4px; border-top: 1px solid var(--line); padding-top: 10px; }
.directions summary { cursor: pointer; font-weight: 700; color: var(--blue-700); }
.directions p { font-size: 16px; margin-top: 10px; }
.loc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 20px; }

/* Before you come */
.visit-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checklist li {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px;
}
.checklist .ic { width: 26px; height: 26px; color: var(--blue); margin-top: 2px; }
.checklist strong { color: var(--ink); }
.checklist div { color: var(--muted); }

/* Book */
.book { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.book h2 { color: #fff; }
.book p { font-size: 20px; color: rgba(255, 255, 255, .9); margin-top: 10px; }
.book-ctas { display: grid; gap: 12px; justify-items: stretch; }
.book-ctas .btn { justify-content: center; }
.book-text { font-size: 17px !important; text-align: center; margin: 4px 0 0 !important; }
.book-text a { color: #fff; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 48px 0 28px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 32px; align-items: center; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { background: #fff; border-radius: 12px; padding: 6px; width: 52px; height: auto; }
.footer-brand p { margin: 0; }
.footer-name { font-family: var(--font-display); color: #fff; font-weight: 600; font-size: 19px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.cup {
  display: grid; text-decoration: none; color: #fff; padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius-sm);
}
.cup:hover { border-color: #8fd3e8; }
.cup-label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.cup-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.footer-fine { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: rgba(255, 255, 255, .55); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .video-grid, .visit-grid, .book, .proof-grid { grid-template-columns: 1fr; }
  .proof-stat { width: 170px; }
  .proof-num { font-size: 50px; }
  .hero-art { order: -1; }
  .badge { width: 200px; }
  .badge-caption { display: none; }
  .cards.three, .cards.two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .book-ctas { justify-items: stretch; }
}
@media (max-width: 760px) {
  .nav-toggle {
    display: grid; gap: 6px; place-content: center; width: 44px; height: 44px;
    border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
  }
  .nav-toggle .bar { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 12px; justify-content: center; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  body { font-size: 17px; }
}
