/* Chris Burns Fitness website. Colors match the app (app/styles.css). */
:root {
  --ink: #1a1e23; --dark: #121518; --gun: #2b3238;
  --muted: #5d6670; --line: #e3e6e9; --bg: #f6f7f8; --card: #fff; --tint: #eef0f2;
  --coral: #ec7a4c; --coral-dk: #c95a2e; --sky: #9fd0ee; --sky-tint: #eef7fc;
  --head: "Barlow Condensed", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --body: "Avenir Next", "Nunito Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--head); font-weight: 800; font-style: italic; text-transform: uppercase; line-height: 1.02; letter-spacing: .005em; margin: 0 0 .4em; }
h1 { font-size: clamp(42px, 7vw, 76px); }
h2 { font-size: clamp(32px, 4.6vw, 48px); }
h3 { font-size: 26px; }
p { margin: 0 0 1em; }
.eyebrow { font-family: var(--head); font-weight: 700; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-dk); margin-bottom: 10px; }
.lead { font-size: 20px; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }

/* Header */
.top { background: var(--dark); color: #fff; position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-family: var(--head); font-weight: 800; font-style: italic; font-size: 24px; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.logo span { color: var(--coral); }
.nav { display: flex; gap: 22px; align-items: center; font-size: 15px; }
.nav a { text-decoration: none; color: #d5dade; }
.nav a:hover, .nav a[aria-current] { color: #fff; }
.nav .btn { color: #fff; }
.menu-btn { display: none; background: none; border: 0; color: #fff; font: inherit; font-size: 15px; padding: 8px 0; cursor: pointer; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--dark); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--gun); }
  .nav .btn { margin-top: 12px; text-align: center; border: 0; }
}

/* Buttons */
.btn { display: inline-block; background: var(--coral); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 26px; border-radius: 10px; border: 0; font: inherit; font-weight: 700; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--coral-dk); }
.btn.small { padding: 9px 16px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--tint); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Sections */
section { padding: 84px 0; }
section.tight { padding: 56px 0; }
.dark { background: var(--dark); color: #fff; }
.dark .lead, .dark .muted { color: #aab2ba; }
.dark .eyebrow { color: var(--coral); }
.white { background: #fff; }

/* Hero */
.hero { padding: 64px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--coral); }
.hero .photo { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--gun); }
.hero .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero .note { margin-top: 18px; font-size: 15px; color: var(--muted); }
.hero .note a { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .hero { padding: 36px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero .photo { aspect-ratio: 4 / 3; order: -1; }
}

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.dark .card { background: var(--gun); border-color: #3d464f; }
.card h3 { margin-bottom: .3em; }
.card p:last-child { margin-bottom: 0; }
.num { font-family: var(--head); font-weight: 800; font-style: italic; font-size: 44px; line-height: 1; color: var(--coral); margin-bottom: 8px; }

/* Split (text + photo) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .photo { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } .split .photo { aspect-ratio: 4 / 3; } }

/* Coaching price box */
.price-box { background: #fff; color: var(--ink); border-radius: 16px; padding: 32px; }
.price { font-family: var(--head); font-weight: 800; font-style: italic; font-size: 64px; line-height: 1; }
.price small { font-size: 22px; color: var(--muted); font-style: normal; font-weight: 600; text-transform: none; }
ul.checks { list-style: none; padding: 0; margin: 20px 0 26px; }
ul.checks li { position: relative; padding: 7px 0 7px 32px; border-bottom: 1px solid var(--line); }
ul.checks li:last-child { border-bottom: 0; }
ul.checks li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px; border-left: 3px solid var(--coral); border-bottom: 3px solid var(--coral); transform: rotate(-45deg); }

/* Program cards */
.program { display: flex; flex-direction: column; }
.program .tag { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--sky-tint); color: #2c6d93; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.program .tag.free { background: #e9f6ee; color: #2d7a4b; }
.program .cost { font-family: var(--head); font-weight: 800; font-style: italic; font-size: 34px; margin: 4px 0 12px; }
.program .cost small { font-size: 17px; font-style: normal; font-weight: 600; color: var(--muted); text-transform: none; }
.program p { flex: 1; }
.program .btn { align-self: flex-start; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; position: relative; padding-right: 30px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 4px; top: -4px; font-size: 26px; color: var(--coral); font-weight: 400; }
details[open] summary::after { content: "\2013"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* Forms */
.form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.field { margin-bottom: 20px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.field .hint { font-size: 14px; color: var(--muted); margin: -2px 0 8px; }
.field input[type=text], .field input[type=email], .field select, .field textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #cfd4d9; border-radius: 10px; background: #fff; color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--sky); border-color: #5aa9d6; }
fieldset { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { font-weight: 500; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #cfd4d9; border-radius: 10px; padding: 10px 14px; cursor: pointer; margin: 0; }
.choices input { accent-color: var(--coral); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
.check input { margin-top: 6px; accent-color: var(--coral); }
.hidden { position: absolute; left: -9999px; }
.req { color: var(--coral-dk); }

/* Blog */
.post-list { display: grid; gap: 18px; }
.post-list a { text-decoration: none; }
.post-list .card:hover { border-color: #cfd4d9; }
.post-meta { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
article.post { max-width: 720px; margin: 0 auto; }
article.post h1 { font-size: clamp(38px, 6vw, 58px); }
article.post h2 { font-size: 32px; margin-top: 1.4em; }
article.post p, article.post li { font-size: 18px; }
article.post .cta { background: var(--sky-tint); border-radius: 14px; padding: 24px; margin-top: 40px; }

/* Footer */
footer { background: var(--dark); color: #aab2ba; padding: 48px 0 36px; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
footer a { color: #d5dade; text-decoration: none; }
footer a:hover { color: #fff; }
footer .links { display: flex; flex-wrap: wrap; gap: 18px; }
footer .fine { width: 100%; border-top: 1px solid var(--gun); padding-top: 20px; font-size: 13px; }
.disclaimer { background: var(--sky-tint); border: 1px solid #cfe6f4; border-radius: 12px; padding: 22px 22px 20px; margin-bottom: 30px; }
.disclaimer h3 { font-size: 22px; }
.disclaimer p { font-size: 15px; color: var(--muted); }
details.doc { border: 1px solid var(--line); border-radius: 12px; padding: 0; margin: 0 0 18px; background: #fff; overflow: hidden; }
details.doc summary { padding: 14px 18px; font-size: 16px; }
details.doc summary::after { right: 16px; top: 8px; }
details.doc img { width: 100%; height: auto; border-top: 1px solid var(--line); }
.qgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
@media (max-width: 620px) { .qgrid { grid-template-columns: 1fr; } }
.qrow { margin-bottom: 14px; }
.qrow legend { font-weight: 700; }
.field select { width: 100%; }
.field.missing { background: #fff4ee; box-shadow: 0 0 0 2px var(--coral); border-radius: 10px; padding: 10px 12px; }
.form-note { background: #fff4ee; color: var(--coral-dk); border-radius: 10px; padding: 12px 14px; font-weight: 700; }
/* PAR-Q+ questions: the official wording as an image, answers right under it */
.pq { border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 18px; }
.pq-list > .pq:first-child { border-top: 0; padding-top: 0; }
.pq-img { display: block; max-width: 100%; height: auto; margin: 0 0 12px; }
.pq-more { margin-top: 14px; padding-left: 14px; border-left: 3px solid var(--sky); }
.pq-more .pq { border-top: 0; padding-top: 6px; margin-bottom: 14px; }
.pq-section { margin-bottom: 4px; }
@media (max-width: 520px) { .wrap:has(> form.form) { padding-left: 12px; padding-right: 12px; } form.form { padding: 20px 14px; } }
