/* Pulse Fitness Studio · sample site by Ninth Orbit Software */
:root {
  --bg: #0b0b0c;
  --bg-2: #141416;
  --bg-3: #1c1c1f;
  --ink: #f3f3ee;
  --mute: #a9a9a3;
  --line: #2b2b2f;
  --lime: #c8ff3d;
  --lime-d: #a8e01a;
  --coral: #ff5e57;
  --coral-l: #ff7a6e;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
  --slant: 4vw;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--lime); }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; text-transform: uppercase; }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.lime { color: var(--lime); }
.coral { color: var(--coral); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lime); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Sample bar */
.sample-bar { background: #fff; color: #111; font-size: .82rem; padding: 7px 16px; display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: center; align-items: center; text-align: center; }
.sample-bar p { margin: 0; }
.sample-bar a { color: #111; font-weight: 700; }
.sample-bar .sample-quote { background: #111; color: var(--lime); padding: 3px 10px; border-radius: 99px; text-decoration: none; }
.sample-bar .sample-quote:hover { background: var(--coral); color: #111; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 12, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo svg { width: 40px; height: 24px; color: var(--lime); }
.logo span { font: 900 1.35rem/1 var(--display); letter-spacing: .04em; display: flex; flex-direction: column; }
.logo small { font: 600 .62rem/1.4 var(--body); letter-spacing: .28em; text-transform: uppercase; color: var(--mute); }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.top nav a:hover { color: var(--lime); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 99px; font: 800 .82rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.btn-lime { background: var(--lime); color: #0b0b0c; }
.btn-lime:hover { background: #fff; color: #0b0b0c; transform: translateY(-2px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--coral); color: var(--coral); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: .9rem; }

/* Image placeholders: gradient shows until ImageForge pictures are added */
.ph { position: relative; overflow: hidden; margin: 0; background-color: var(--bg-3); }
.ph img { width: 100%; height: 100%; object-fit: cover; position: relative; }
.ph-hero { background: radial-gradient(60% 70% at 78% 30%, rgba(200,255,61,.28), transparent 60%), radial-gradient(50% 60% at 20% 90%, rgba(255,94,87,.3), transparent 60%), repeating-linear-gradient(115deg, transparent 0 60px, rgba(255,255,255,.03) 60px 62px), linear-gradient(160deg, #18181b, #070708); }
.ph-motion { background: linear-gradient(100deg, rgba(200,255,61,.5), transparent 40%), linear-gradient(80deg, transparent 50%, rgba(255,94,87,.55)), repeating-linear-gradient(90deg, #111 0 30px, #1b1b1e 30px 34px); }
.ph-ride { background: linear-gradient(0deg, rgba(0,0,0,.6), transparent 60%), repeating-linear-gradient(90deg, transparent 0 46px, rgba(200,255,61,.22) 46px 48px), linear-gradient(180deg, #ff5e57 0 3%, #241015 3% 100%); }
.ph-strength { background: radial-gradient(circle at 25% 70%, #2a2a2e 0 14%, transparent 15%), radial-gradient(circle at 50% 70%, #2a2a2e 0 14%, transparent 15%), radial-gradient(circle at 75% 70%, #2a2a2e 0 14%, transparent 15%), linear-gradient(160deg, rgba(255,94,87,.4), #121214 60%); }
.ph-fight { background: repeating-linear-gradient(90deg, transparent 0 14%, #252528 14% 22%, transparent 22% 26%), radial-gradient(80% 50% at 50% 0%, rgba(255,255,255,.18), transparent 70%), linear-gradient(180deg, #19191c, #0c0c0d); }
.ph-stretch { background: linear-gradient(120deg, rgba(255,240,210,.35), transparent 50%), repeating-linear-gradient(0deg, #3a2f26 0 18px, #43362b 18px 20px); }

/* Hero */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%); padding-bottom: calc(var(--slant) + 20px); }
.hero-img { position: absolute; inset: 0; }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.55) 55%, rgba(11,11,12,.2)), linear-gradient(0deg, var(--bg) 0%, transparent 40%); }
.hero-in { position: relative; padding: 90px 0 40px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--mute); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(255,94,87,.7); animation: beat 1.4s infinite; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgba(255,94,87,.7); } 70% { box-shadow: 0 0 0 12px rgba(255,94,87,0); } 100% { box-shadow: 0 0 0 0 rgba(255,94,87,0); } }
.hero h1 { font-size: clamp(3rem, 10vw, 8.4rem); font-weight: 900; text-transform: uppercase; line-height: .92; margin: .25em 0 .3em; }
.hero-lead { max-width: 36ch; font-size: 1.15rem; color: #dcdcd5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 12px; }
.sample-note { font-size: .85rem; color: var(--mute); border-left: 3px solid var(--coral); padding-left: 10px; }
.hero-stats { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.hero-stats b { display: block; font: 900 2rem/1 var(--display); color: var(--lime); }
.hero-stats span { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); }
.ticker { position: relative; transform: rotate(-3deg); background: var(--lime); color: #0b0b0c; margin: 30px -20px 0; padding: 10px 0; overflow: hidden; }
.ticker-track { display: flex; gap: 40px; width: max-content; animation: slide 28s linear infinite; }
.ticker span { font: 900 1.2rem/1 var(--display); letter-spacing: .08em; }
.ticker span:nth-child(odd)::after { content: "✦"; margin-left: 40px; color: var(--coral); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
.sec { padding: 100px 0; position: relative; }
.diag { background: var(--bg-2); clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%); padding: calc(100px + var(--slant)) 0; margin: calc(var(--slant) * -.5) 0; }
.diag-rev { clip-path: polygon(0 0, 100% var(--slant), 100% 100%, 0 calc(100% - var(--slant))); }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.label { display: inline-block; font: 800 .75rem/1 var(--display); text-transform: uppercase; letter-spacing: .2em; color: var(--coral); margin-bottom: 14px; }
.label::before { content: ""; display: inline-block; width: 26px; height: 3px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.sec-lead { color: #cfcfc8; font-size: 1.08rem; }
.fine { font-size: .8rem; color: var(--mute); margin-top: 14px; }

/* Timetable */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 99px; border: 2px solid var(--line); background: var(--bg-2); color: var(--ink); font: 700 .92rem var(--body); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--lime); }
.chip.is-on { background: var(--lime); border-color: var(--lime); color: #0b0b0c; }
.sw { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.sw-hiit, .t-hiit { --c: var(--coral); }
.sw-spin, .t-spin { --c: var(--lime); }
.sw-strength, .t-strength { --c: #ffb547; }
.sw-boxing, .t-boxing { --c: #ff4fa3; }
.sw-mobility, .t-mobility { --c: #5fe3d0; }
.sw { background: var(--c); }
.tt-count { font-size: .9rem; color: var(--mute); margin: 6px 0 22px; }
.tt-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.day { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 10px; min-width: 0; }
.day h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .15em; color: var(--lime); margin: 0 0 12px; text-align: center; }
.day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cls { background: var(--bg-3); border-radius: 10px; padding: 10px; border-left: 4px solid var(--c); display: grid; gap: 2px; }
.cls[hidden] { display: none; }
.cls time { font-weight: 800; font-size: .8rem; color: var(--c); }
.cls b { font-size: .9rem; line-height: 1.25; }
.cls span { font-size: .75rem; color: var(--mute); }
.day-empty { display: none; font-size: .78rem; color: var(--mute); text-align: center; margin: 0; }
.day.is-empty .day-empty { display: block; }
.timetable { padding-bottom: 0; }
.tt-banner { height: 260px; margin-top: 70px; clip-path: polygon(0 18%, 100% 0, 100% 82%, 0 100%); }

/* Memberships */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; }
.plan ul { list-style: none; padding: 0; margin: 10px 0 26px; flex: 1; }
.plan li { padding: 8px 0 8px 28px; border-bottom: 1px solid var(--line); position: relative; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 6px; border: solid var(--lime); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.price { font: 900 3.4rem/1 var(--display); margin: 10px 0 4px; }
.price .cur { font-size: 1.4rem; vertical-align: top; margin-right: 2px; }
.price small { font: 600 .9rem var(--body); color: var(--mute); margin-left: 6px; }
.sample-tag { display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--coral); border: 1px dashed var(--coral); padding: 3px 8px; border-radius: 6px; }
.plan-hot { border: 2px solid var(--lime); transform: translateY(-12px); box-shadow: 0 20px 60px -20px rgba(200,255,61,.35); }
.badge { position: absolute; top: -14px; left: 28px; background: var(--coral); color: #0b0b0c; font: 800 .7rem/1 var(--display); text-transform: uppercase; letter-spacing: .1em; padding: 7px 12px; border-radius: 99px; margin: 0; }

/* Try */
.try { background: linear-gradient(120deg, rgba(200,255,61,.08), transparent 50%), linear-gradient(300deg, rgba(255,94,87,.12), transparent 50%); }
.try-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.try-form { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field select { min-height: 50px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg); color: var(--ink); font: 500 1rem var(--body); padding: 0 14px; }
.field input:focus, .field select:focus { border-color: var(--lime); outline: none; }
.form-msg { margin: 0; font-size: .92rem; min-height: 1.4em; }
.form-msg.ok { color: var(--lime); }
.form-msg.err { color: var(--coral-l); }

/* Coaches */
.coach-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.coach { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.avatar { width: 92px; height: 92px; border-radius: 28px; display: grid; place-items: center; font: 900 1.6rem var(--display); color: #0b0b0c; margin-bottom: 18px; transform: rotate(-6deg); }
.av1 { background: linear-gradient(135deg, var(--lime), #7ee000); }
.av2 { background: linear-gradient(135deg, var(--coral), #ff9a5c); }
.av3 { background: linear-gradient(135deg, #ff4fa3, var(--coral)); }
.av4 { background: linear-gradient(135deg, #5fe3d0, var(--lime)); }
.role { color: var(--coral); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.coach p:last-child { color: #cfcfc8; font-size: .95rem; margin: 0; }

/* Spaces */
.space-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.space { margin: 0; background: var(--bg-2); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.space-img { aspect-ratio: 16 / 9; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.space figcaption { padding: 6px 26px 26px; }
.space figcaption p { color: #cfcfc8; margin: 0; }
.space:nth-child(even) h3 { color: var(--lime); }
.space:nth-child(odd) h3 { color: var(--coral); }

/* Reviews */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; background: var(--bg); border-radius: 20px; padding: 28px; border-top: 4px solid var(--lime); }
.quote:nth-child(2) { border-top-color: var(--coral); }
.quote blockquote { margin: 0 0 16px; font-size: 1.08rem; font-weight: 500; }
.quote figcaption { font-size: .85rem; color: var(--mute); }
.stars { color: var(--lime); letter-spacing: 2px; margin-right: 6px; }

/* FAQ */
.faq-in { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: start; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 22px 50px 22px 0; font: 700 1.08rem var(--body); position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--bg-3); color: var(--lime); display: grid; place-items: center; font: 800 1.2rem/1 var(--display); transition: transform .25s, background .25s; }
.acc details[open] summary::after { content: "–"; background: var(--lime); color: #0b0b0c; }
.acc summary:hover { color: var(--lime); }
.acc details p { color: #cfcfc8; padding: 0 50px 20px 0; margin: 0; }

/* Visit + CSS map */
.visit-in { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: center; }
address { font-style: normal; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hours { border-collapse: collapse; width: 100%; max-width: 420px; }
.hours caption { text-align: left; font-weight: 800; padding-bottom: 6px; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; color: var(--mute); }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: #1a1a1d; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 34px 34px; border: 1px solid var(--line); }
.map-water { position: absolute; right: -10%; bottom: -20%; width: 70%; height: 80%; background: linear-gradient(135deg, #12303a, #0d2229); border-radius: 50% 0 0 0 / 60% 0 0 0; }
.road { position: absolute; background: #34343a; }
.r1 { left: 0; right: 0; top: 46%; height: 14px; transform: rotate(-8deg); }
.r2 { top: 0; bottom: 0; left: 30%; width: 12px; }
.r3 { top: 0; bottom: 0; left: 58%; width: 8px; transform: rotate(10deg); }
.r4 { left: 0; width: 60%; top: 18%; height: 8px; }
.pier { position: absolute; right: 22%; bottom: 14%; width: 10px; height: 28%; background: #4a4a50; transform: rotate(-30deg); }
.map-label { position: absolute; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #b6b6b0; }
.l1 { left: 4%; top: 36%; transform: rotate(-8deg); }
.l2 { left: 32%; top: 6%; }
.l3 { right: 8%; bottom: 8%; color: #6fb6c8; font-size: .85rem; }
.l4 { right: 6%; bottom: 44%; }
.pin { position: absolute; left: 40%; top: 30%; transform: translate(-50%, -100%); }
.pin span { display: block; background: var(--lime); color: #0b0b0c; font: 900 .78rem/1 var(--display); padding: 9px 12px; border-radius: 10px; position: relative; box-shadow: 0 10px 30px rgba(200,255,61,.35); }
.pin span::after { content: ""; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); border: 8px solid transparent; border-bottom: 0; border-top-color: var(--lime); }
.pin::after { content: ""; position: absolute; left: 50%; top: calc(100% + 6px); width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 6px rgba(255,94,87,.3); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 50px 0 30px; margin-top: 60px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.foot-in p { color: var(--mute); margin: 10px 0 0; font-size: .92rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.foot nav a:hover { color: var(--lime); }
.foot-sample { margin-top: 30px; padding-top: 20px; border-top: 1px dashed var(--line); font-size: .82rem; color: var(--mute); }
.foot-sample p { margin: 0 0 4px; }

/* Sticky phone action */
.sticky-cta { display: none; }

/* Reveal motion (only added by JS when reduced motion is off) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.plan-hot.reveal.in { transform: translateY(-12px); }

/* Responsive */
@media (max-width: 1100px) {
  .top nav { display: none; }
  .top-cta { margin-left: auto; }
  .tt-grid { grid-template-columns: repeat(4, 1fr); }
  .coach-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  body { font-size: 16px; padding-bottom: 76px; }
  :root { --slant: 7vw; }
  .sec { padding: 70px 0; }
  .diag { padding: calc(70px + var(--slant)) 0; }
  .tt-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; gap: 12px; margin-inline: -16px; padding: 0 16px 14px; scrollbar-width: thin; }
  .day { flex: 0 0 78%; scroll-snap-align: start; }
  .day h3 { text-align: left; }
  .day.is-empty { display: none; }
  .tt-count::after { content: " Swipe for more days →"; color: var(--lime); }
  .plans, .quotes, .try-in, .faq-in, .visit-in, .space-grid { grid-template-columns: 1fr; }
  .plan-hot, .plan-hot.reveal.in { transform: none; }
  .try-in, .faq-in, .visit-in { gap: 30px; }
  .top-cta { display: none; }
  .sticky-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 60; min-height: 54px; font-size: .9rem; box-shadow: 0 10px 30px rgba(0,0,0,.6); }
  .hero-in { padding-top: 60px; }
  .tt-banner { height: 170px; margin-top: 50px; }
}
@media (max-width: 520px) {
  .coach-list { gap: 12px; }
  .coach { padding: 18px 16px; }
  .coach h3 { font-size: .98rem; }
  .coach .role { font-size: .72rem; }
  .coach p:last-child { font-size: .86rem; }
  .avatar { width: 64px; height: 64px; border-radius: 20px; font-size: 1.15rem; margin-bottom: 12px; }
  .space-img { aspect-ratio: 2 / 1; }
  .sample-bar { font-size: .76rem; padding: 6px 12px; }
  address { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; }
  .hero-stats { gap: 14px 26px; }
  .hero-stats b { font-size: 1.6rem; }
  .acc summary { padding-right: 46px; }
  .acc details p { padding-right: 0; }
  .map { aspect-ratio: 1 / 1; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker-track { transform: none; }
}
