/* Evolve Fitness public website (22 Nov 2026). Brand from src/brand.js:
   black, the orange-to-gold sweep, warm light grounds for reading. */
:root {
  --black: #0d0d0d;
  --ink: #1a1a1a;
  --orange: #e8611c;
  --orange-deep: #bf4d0e;
  --amber: #f5921e;
  --gold: #fdc316;
  --cream: #faf8f5;
  --line: #ebe5db;
  --slate: #2b2724;
  --muted: #6b6b6b;
  --sweep: linear-gradient(90deg, #e8611c 0%, #f5921e 55%, #fdc316 100%);
  --radius: 6px;
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--orange-deep); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-block; background: var(--sweep); color: var(--black); font-weight: 700;
  text-decoration: none; padding: 15px 28px; border-radius: var(--radius); border: 0;
  font-size: 17px; font-family: var(--body); cursor: pointer; letter-spacing: .2px;
  box-shadow: 0 2px 0 rgba(0,0,0,.15);
}
.btn:hover { filter: brightness(1.05); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-sm { padding: 10px 16px; font-size: 15px; }
.btn-dark { background: var(--black); color: #fff; }
.link-btn { background: none; border: 0; color: var(--orange-deep); font: inherit; cursor: pointer; text-decoration: underline; padding: 8px 0; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: var(--black); color: #fff; }
.top-row { display: flex; align-items: center; gap: 20px; height: 64px; }
.mark { text-decoration: none; display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
.mark-word { font-family: "Trajan Pro", Optima, "Palatino Linotype", Georgia, serif; text-transform: uppercase; letter-spacing: 5px; font-size: 22px; color: var(--orange); }
.mark-sub { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: #bbb; margin-top: 4px; }
.nav { display: flex; gap: 22px; }
.nav a { color: #eee; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--gold); }
.nav-members { opacity: .75; }

/* Hero */
.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,13,.15) 0%, rgba(13,13,13,.35) 45%, rgba(13,13,13,.85) 100%); }
.hero-text { position: relative; padding-top: 120px; padding-bottom: 56px; }
.hero h1 { font-family: var(--head); font-size: clamp(42px, 7vw, 80px); line-height: .98; margin: 0 0 18px; text-transform: uppercase; letter-spacing: .5px; }
.sweep-text { background: var(--sweep); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(18px, 2.2vw, 22px); max-width: 620px; margin: 0 0 26px; color: #f1f1f1; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.cta-note { font-size: 15px; color: #ddd; }

/* Proof strip */
.proof { background: var(--black); color: #fff; border-top: 1px solid #222; }
.proof-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-top: 22px; padding-bottom: 22px; text-align: center; }
.proof strong { display: block; font-family: var(--head); font-size: 26px; color: var(--gold); text-transform: uppercase; }
.proof span { font-size: 14px; color: #ccc; }

/* Sections */
.section { padding: 76px 0; }
.alt { background: var(--cream); }
.eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: 13px; font-weight: 700; color: var(--orange-deep); margin: 0 0 6px; }
.eyebrow-light { color: var(--gold); }
h2 { font-family: var(--head); font-size: clamp(32px, 4.5vw, 48px); line-height: 1.05; margin: 0 0 28px; text-transform: uppercase; }
h3 { font-size: 20px; margin: 0 0 6px; }

.steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.steps li { background: var(--cream); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--sweep); font-weight: 700; margin-bottom: 12px; }
.steps p { margin: 0; color: #444; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; }
.card .card-img-tall { object-position: 50% 42%; }
.card .card-img-coach { object-position: 60% 40%; }
.card .card-img-steve { object-position: 50% 32%; }
.card-body { padding: 20px 22px 24px; }
.card-body p { margin: 0; color: #444; }

.l12 { background: var(--slate); color: #fff; }
.l12-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.l12 h2 { color: #fff; }
.l12-text p { color: #e9e4de; }
.l12-img { border-radius: var(--radius); }

/* Timetable */
.timetable { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 30px; }
.tt-day { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.tt-day h3 { font-family: var(--head); text-transform: uppercase; font-size: 22px; margin-bottom: 8px; }
.tt-day ul { list-style: none; margin: 0; padding: 0; }
.tt-day li { display: flex; gap: 12px; padding: 4px 0; border-top: 1px solid var(--line); }
.tt-day li:first-child { border-top: 0; }
.tt-time { font-weight: 700; min-width: 58px; color: var(--orange-deep); }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 14px; }
.price-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.price-box h3 { font-family: var(--head); text-transform: uppercase; font-size: 24px; margin-bottom: 12px; }
.price-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.price-row:first-of-type { border-top: 0; }
.price-row span { color: #444; }
.price-row strong { font-size: 20px; white-space: nowrap; }

/* Booking */
.book { background: var(--black); color: #fff; }
.book h2 { color: #fff; }
.book-wrap { max-width: 860px; }
.lede-dark { color: #ddd; margin: -12px 0 26px; font-size: 18px; }
.book-panel { background: #fff; color: var(--ink); border-radius: 10px; padding: 26px; }
.step-title { font-size: 17px; margin: 0 0 12px; }
#time-title { margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid #ccc; background: #fff; border-radius: 22px; padding: 9px 16px; font: inherit; font-size: 15px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--black); color: #fff; border-color: var(--black); }
.chip:hover { border-color: var(--orange); }
.picked { background: #fff6ec; border-left: 4px solid var(--orange); padding: 10px 14px; margin: 0 0 18px; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
label { display: block; font-size: 14px; font-weight: 600; color: #444; }
input, textarea { display: block; width: 100%; margin-top: 5px; padding: 12px; border: 1px solid #ccc; border-radius: var(--radius); font: inherit; font-weight: 400; }
textarea { resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 10px 0; }
.check input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.form-error { background: #ffebee; color: #b71c1c; padding: 10px 14px; border-radius: var(--radius); }
.form-ok { background: #e8f5e9; color: #1b5e20; padding: 10px 14px; border-radius: var(--radius); }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 8px 0 10px; }
.done-title { font-family: var(--head); text-transform: uppercase; font-size: 30px; color: #1b5e20; }

/* Questions */
.two-col { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 18px; }
details p { margin: 10px 0 0; color: #444; }
.ask { background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.ask label { margin-bottom: 12px; }

.map { width: 100%; height: 340px; border: 0; border-radius: var(--radius); }

/* Footer */
.foot { background: var(--black); color: #bbb; padding: 34px 0 90px; }
.foot-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot a { color: #ddd; }
.foot .mark-word, .foot .mark-sub { display: block; }

/* Fixed button on phones */
.mobile-cta { display: none; }

@media (max-width: 860px) {
  .nav { display: none; }
  .cards, .steps, .timetable { grid-template-columns: minmax(0, 1fr); }
  .proof-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l12-row, .two-col, .prices { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 56px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top .btn-sm { display: none; }
  .hero { min-height: 82vh; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .book-panel { padding: 20px 16px; }
  .mobile-cta {
    display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    text-align: center; background: var(--sweep); color: var(--black); font-weight: 700;
    padding: 15px; border-radius: 8px; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.35);
  }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
