/* PT Zeph — one stylesheet for the whole site.
   Dark by design: it matches the gym the photos were taken in. The accent is
   the ember of the Jetts lighting and the bumper plates. Bump ?v=N in every
   page's <link> when this file changes (it is cached for a year). */

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #121110;
  --ink-2: #1c1a18;
  --ink-3: #26231f;
  --paper: #f3efe7;
  --paper-2: #e8e2d6;
  --text: #f3efe7;
  --muted: #a9a297;
  --muted-on-paper: #5e584f;
  --line: rgba(243, 239, 231, 0.13);
  --ember: #ff5b2e;
  --ember-deep: #d9441c;
  --radius: 14px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1.0625rem/1.65 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ember); color: var(--ink); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 0.5em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 38ch; }
.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ember); margin: 0 0 1rem;
}
.small { font-size: 0.875rem; color: var(--muted); }
.em { color: var(--ember); }

/* --- buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0 1.4em; border-radius: 999px; border: 2px solid var(--ember);
  background: var(--ember); color: var(--ink); font-weight: 750; text-decoration: none;
  font-size: 1rem; cursor: pointer; transition: background .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--ember-deep); border-color: var(--ember-deep); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--text); }
.btn.sm { min-height: 40px; padding: 0 1.1em; font-size: 0.92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }

/* --- header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 17, 16, 0.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; text-decoration: none; }
.brand span { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: -2px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { text-decoration: none; font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--text); }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
    background: transparent; color: var(--text); border: 1px solid var(--line); font: inherit; font-weight: 650; cursor: pointer;
  }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px var(--gutter) 20px; background: var(--ink); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; }
}

/* --- sections ------------------------------------------------------- */
section { padding: clamp(64px, 10vw, 112px) 0; }
.paper { background: var(--paper); color: var(--ink); }
.paper .lede, .paper .small { color: var(--muted-on-paper); }
.paper .btn.ghost { color: var(--ink); border-color: rgba(18, 17, 16, 0.2); }
.paper .btn.ghost:hover { border-color: var(--ink); }
.shade { background: var(--ink-2); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }

/* --- hero -------------------------------------------------------------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 9vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-3); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption {
  position: absolute; left: 12px; bottom: 12px; background: rgba(18, 17, 16, 0.8); padding: 6px 12px;
  border-radius: 999px; font-size: 0.8rem; font-weight: 650;
}
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 16ch; }
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 4 / 3; order: -1; }
  .hero-photo img { object-position: center 30%; }
}

/* --- the slot strip: the home page's explanation of how booking works --- */
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 2rem 0 1rem; }
.strip > div {
  border-radius: 8px; padding: 12px 10px; min-height: 76px; font-size: 0.8rem; font-weight: 650;
  display: flex; flex-direction: column; justify-content: space-between;
}
.strip .t { font-variant-numeric: tabular-nums; font-size: 0.75rem; font-weight: 600; opacity: 0.7; }
.strip .booked { background: var(--ink-3); color: var(--muted); }
.strip .open { background: transparent; border: 2px dashed var(--ember); color: var(--ember); }
.strip .gap { background: repeating-linear-gradient(-45deg, transparent 0 6px, var(--line) 6px 7px); color: var(--muted); }
.strip-key { display: flex; flex-wrap: wrap; gap: 18px; font-size: 0.85rem; color: var(--muted); }
.strip-key i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 6px; }
@media (max-width: 640px) {
  .strip { grid-template-columns: repeat(3, 1fr); }
}

/* --- grids, cards, steps ------------------------------------------------ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column; gap: 0.5rem; padding: 28px; border-radius: var(--radius);
  background: var(--ink-2); border: 1px solid var(--line); text-decoration: none;
  transition: border-color .15s, transform .15s;
}
a.card:hover { border-color: var(--ember); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; }
.card .more { margin-top: auto; padding-top: 1rem; font-weight: 700; color: var(--ember); }
.paper .card { background: #fff; border-color: var(--paper-2); }
.paper .card p { color: var(--muted-on-paper); }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: step; padding-top: 20px; border-top: 2px solid currentColor; }
.steps li::before { content: "0" counter(step); display: block; font-weight: 800; font-size: 0.9rem; color: var(--ember); margin-bottom: 0.75rem; }
.steps h3 { margin-bottom: 0.4em; }
.steps p { margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.ticks li { position: relative; padding: 0.55em 0 0.55em 1.9em; border-bottom: 1px solid var(--line); }
.paper .ticks li { border-color: rgba(18, 17, 16, 0.1); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 0.9em; height: 0.5em; border-left: 2.5px solid var(--ember); border-bottom: 2.5px solid var(--ember); transform: rotate(-45deg); }

.photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

.note { border-left: 3px solid var(--ember); padding: 4px 0 4px 18px; color: var(--muted); max-width: 60ch; }
.paper .note { color: var(--muted-on-paper); }

/* --- reviews ------------------------------------------------------------ */
.quote { margin: 0; padding: 28px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 1.25rem; font-size: 1rem; }
.quote .stars { color: var(--ember); letter-spacing: 0.15em; margin-bottom: 0.75rem; }
.quote figcaption { margin-top: auto; font-weight: 700; }
.quote figcaption span { display: block; font-weight: 500; font-size: 0.85rem; color: var(--muted); }

/* --- FAQ ------------------------------------------------------------- */
.faq details { border-bottom: 1px solid rgba(18, 17, 16, 0.12); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 0.9rem; font-size: 1.4rem; font-weight: 500; color: var(--ember-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-right: 2rem; color: var(--muted-on-paper); }
.faq { max-width: 760px; }

/* --- forms -------------------------------------------------------------- */
.form { display: grid; gap: 18px; max-width: 620px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 650; font-size: 0.95rem; }
.form label .opt { font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ember); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 10px; background: rgba(255, 91, 46, 0.12); border: 1px solid var(--ember); margin-bottom: 1.5rem; }
.alert[hidden] { display: none; }

/* --- booking embed ------------------------------------------------------- */
.cal-embed { min-height: 640px; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); }
.cal-embed .loading { padding: 40px; color: var(--muted); }

/* --- CTA band & footer ---------------------------------------------- */
.cta-band { text-align: left; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.cta-band h2 { max-width: 18ch; margin: 0; }

.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.site-footer .brand { color: var(--text); display: inline-block; margin-bottom: 0.5rem; }
.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; align-content: start; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--text); }
.site-footer .legal { grid-column: 1 / -1; font-size: 0.82rem; margin: 0; }
@media (max-width: 700px) { .site-footer .wrap { grid-template-columns: 1fr; } }

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