/*
Theme Name: BFT Lilydale
Theme URI: https://bodyfittraining.com/club/lilydale
Author: Skedyul
Description: Project 100 landing page for BFT Lilydale. Each enquiry is emailed as plain text for Skedyul to ingest, and stored in WordPress.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: bft-lilydale
*/

@font-face {
  font-family: "D-DIN Italic";
  src: url("assets/fonts/D-DIN-Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --blue: #00b5cc;
  --blue-dark: #0097ad;
  --ink: #0a0a0a;
  --body: #1a1a1a;
  --muted: #5e676b;
  --line: #e4e7ea;
  --paper: #f5f6f7;
  --white: #ffffff;
  --card-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
  --headline: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --text: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--body);
  background: var(--white);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
a { color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

h1, h2, .display {
  font-family: var(--headline);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-transform: uppercase;
  margin: 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 12, 16, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.05) 28%, rgba(0, 0, 0, 0.15) 70%, rgba(0, 0, 0, 0.55) 100%);
}
.nav, .hero-grid { position: relative; z-index: 1; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem 0;
}
.logo {
  display: block;
  width: 46px;
  height: auto;
}
.nav-place {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--white);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-place svg { flex: none; }

.hero-grid {
  width: min(1180px, calc(100% - 2rem));
  margin: auto auto 2.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0 1rem;
}
.lockup {
  width: min(340px, 78%);
  height: auto;
  margin-bottom: 0.85rem;
}
.hero h1 {
  font-size: clamp(4.4rem, 8vw, 7.4rem);
  color: var(--white);
}
.hero h1 span { display: block; color: var(--blue); }
.hero-sub {
  margin: 1.1rem 0 0.35rem;
  max-width: 16ch;
  font-family: var(--headline);
  font-weight: 700;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.hero-date {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pills li {
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-card {
  background: var(--white);
  color: var(--body);
  border-radius: 28px;
  padding: 1.45rem 1.35rem 1.15rem;
  box-shadow: var(--card-shadow);
}
.spots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  margin: 0 auto 0.85rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #f2f4f5;
  color: #3d474b;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.spots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  display: block;
}
.form-card h2 {
  font-family: var(--text);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-transform: none;
  text-align: center;
  margin: 0 0 0.45rem;
}
.form-lead {
  margin: 0 0 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}
.field { margin: 0 0 0.75rem; }
.field span, .intent legend {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #667075;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"] {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: #f3f5f6;
  padding: 0 0.9rem;
  color: var(--ink);
}
.field input:focus {
  outline: 2px solid var(--blue);
  background: var(--white);
}
.phone {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #f3f5f6;
  border-radius: 12px;
  padding-left: 0.75rem;
}
.phone strong { font-size: 0.95rem; font-weight: 600; }
.phone input {
  background: transparent !important;
  padding-left: 0.2rem !important;
}
.intent { border: 0; margin: 0 0 0.8rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block;
  border: 1px solid #d5dbde;
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--body);
}
.chips input:focus-visible + span { outline: 2px solid var(--blue); }
.chips input:checked + span {
  border-color: var(--blue);
  background: rgba(0, 181, 204, 0.12);
  color: #066070;
}
.chips .chip-peak span {
  font-weight: 700;
}
.age {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.2rem 0 0.85rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #4d575b;
}
.age input { margin-top: 0.15rem; width: 16px; height: 16px; flex: none; }
.consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.2rem 0 0.85rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #4d575b;
}
.consent input { margin-top: 0.15rem; width: 16px; height: 16px; flex: none; }
.consent a { color: var(--blue-dark); }
.submit {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: var(--white);
  min-height: 52px;
  padding: 0.75rem 1rem;
  font-family: var(--headline);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.submit:hover { background: var(--blue-dark); }
.submit:disabled { opacity: 0.7; cursor: progress; }
.reassure {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin: 0.75rem 0 0;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 600;
}
.form-error {
  display: none;
  margin: 0 0 0.7rem;
  color: #9d1c1c;
  font-size: 0.85rem;
}
.form-error.is-on { display: block; }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-thanks { text-align: center; padding: 1.2rem 0.4rem 0.6rem; }
.form-thanks[hidden] { display: none; }
.form-thanks h3 {
  font-family: var(--text);
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-transform: none;
  margin: 0 0 0.55rem;
}
.form-thanks p { margin: 0; color: var(--muted); }
.form-card.is-done .lead-form { display: none; }

.reviews, .results, .faq { padding: 5rem 0; }
.reviews { background: var(--paper); }
.reviews h2, .results h2, .faq h2, .close h2 {
  text-align: center;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: 0.4rem;
}
.section-note {
  text-align: center;
  margin: 0 0 2rem;
  color: var(--muted);
}
.section-note a { color: var(--blue-dark); font-weight: 600; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.review {
  background: var(--white);
  border-radius: 16px;
  padding: 1rem 1rem 0.9rem;
  box-shadow: 0 8px 24px rgba(16, 24, 32, 0.05);
}
.review header { display: flex; gap: 0.65rem; align-items: center; margin-bottom: 0.45rem; }
.g-mark { width: 28px; height: 28px; flex: none; }
.review strong { display: block; font-size: 0.92rem; }
.review header small { color: var(--muted); font-size: 0.75rem; }
.stars { color: #f5b400; letter-spacing: 0.08em; font-size: 0.85rem; margin: 0.15rem 0 0.35rem; }
.review p { margin: 0 0 0.45rem; font-size: 0.92rem; color: #2a3134; }
.review a { color: #1a73e8; font-size: 0.85rem; font-weight: 600; }

.results { background: var(--white); }
.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 1.4rem;
  margin-top: 2rem;
}
.result img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
}
.result h3 {
  margin: 0.85rem 0 0.35rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.result p { margin: 0; color: #3c4549; }

.paths {
  background: var(--paper);
  padding: 5rem 0 4.5rem;
}
.paths h2 {
  text-align: center;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: 0.4rem;
}
.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.path {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(16, 24, 32, 0.08);
  display: flex;
  flex-direction: column;
}
.path img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.path-body {
  padding: 1.35rem 1.4rem 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.path h3 {
  font-family: var(--headline);
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.9;
  margin: 0 0 0.55rem;
}
.path-body > p {
  margin: 0 0 0.85rem;
  color: #3c4549;
}
.path ul {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
}
.path li {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.path li::before { content: "✓ "; color: var(--blue-dark); }
.path-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-family: var(--headline);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mid-cta { text-align: center; padding: 0 0 4.5rem; background: var(--white); }
.mid-cta .submit {
  width: auto;
  min-width: 280px;
  padding-inline: 1.6rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.proof {
  background: var(--ink);
  color: var(--white);
  padding: 4.5rem 0;
}
.proof-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: center;
}
.proof img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 18px;
}
.proof h2 {
  text-align: left;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin-bottom: 1rem;
}
.proof ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.proof li { padding-left: 1.4rem; position: relative; }
.proof li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--blue);
}

.faq { background: var(--white); }
.faq-list { width: min(760px, 100%); margin: 1.5rem auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 0.2rem;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: #8b9498;
  font-weight: 500;
  font-size: 1.4rem;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p {
  margin: 0;
  padding: 0 0.2rem 1.1rem;
  color: #3c4549;
  max-width: 62ch;
}

.close {
  background: var(--paper);
  padding: 4.5rem 0 5rem;
  text-align: center;
}
.close .tagline {
  font-family: "D-DIN Italic", Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  margin: 0.8rem 0 1.5rem;
  text-transform: none;
  letter-spacing: 0;
}
.close .form-card {
  width: min(460px, 100%);
  margin: 0 auto;
  text-align: left;
}

.footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.footer .logo { width: 36px; }
.footer p { margin: 0; color: var(--muted); font-size: 0.85rem; }
.footer a { color: var(--body); }

@media (max-width: 900px) {
  .hero-grid, .proof-grid, .result-grid, .review-grid, .path-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-grid { margin: 1.5rem auto 1.5rem; gap: 1.4rem; }
  .hero h1 { font-size: clamp(3.6rem, 18vw, 5.2rem); }
  .lockup { width: min(260px, 70%); }
  .result img, .proof img, .path img { height: 220px; }
  .paths, .reviews, .results, .faq { padding: 3.4rem 0; }
  .proof h2 { text-align: left; }
  .nav { padding-inline: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
