/* Derek Bolt Fitness brand: black, charcoal, white, light gray, gold #C8A04A. */
:root {
  --black: #000000;
  --charcoal: #121212;
  --charcoal-2: #1a1a1a;
  --line: #262626;
  --line-strong: #3a3a3a;
  --white: #ffffff;
  --light: #d2d2d2;
  --dim: #9a9a9a;
  --gold: #c8a04a;
  --gold-hi: #e2bd62;
  --gold-soft: rgba(200, 160, 74, 0.5);
  --radius: 6px;
  --max: 1080px;
  --narrow: 720px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 16px; top: 12px; z-index: 100;
  background: var(--gold); color: var(--black);
  padding: 8px 14px; font-weight: 700;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Brand lockup: DB monogram, DEREK BOLT in white, FITNESS in gold */

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--white); text-decoration: none; white-space: nowrap;
}
.brand img { height: 34px; width: auto; }
.wordmark {
  font-size: 15px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.wordmark .gold { color: var(--gold); }

/* Header */

header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 68px;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav .link {
  color: var(--light); text-decoration: none; font-size: 15px;
  padding: 10px 12px;
}
.nav .link:hover { color: var(--gold); }
.nav .button { margin-left: 8px; }
@media (max-width: 760px) {
  .nav .link { display: none; }
}
@media (max-width: 380px) {
  .brand .wordmark { font-size: 13px; letter-spacing: 0.06em; }
  .brand img { height: 30px; }
}

/* Buttons */

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px; border-radius: 4px;
  border: 1px solid var(--gold);
  background: var(--gold); color: var(--black);
  font-size: 14px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.button:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.button.small { min-height: 44px; padding: 0 18px; font-size: 13px; }
.button.ghost { background: transparent; color: var(--white); border-color: var(--line-strong); }
.button.ghost:hover { border-color: var(--gold); color: var(--gold); background: transparent; }

/* Type */

h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4.6vw, 42px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.gold { color: var(--gold); }
.eyebrow {
  display: block; margin: 0 0 14px;
  color: var(--gold); font-size: 13px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.lede { color: var(--light); font-size: 19px; max-width: 36em; }
.fine { color: var(--dim); font-size: 14px; margin: 14px 0 0; }
.rule { width: 64px; height: 3px; background: var(--gold); border: 0; margin: 0 0 20px; }

/* Hero */

.hero { padding: 56px 0 72px; }
.hero .wrap { display: grid; gap: 44px; align-items: center; }
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(40px, 7vw, 66px); font-weight: 850;
  line-height: 1.02; letter-spacing: -0.035em;
}
.hero .lede { margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.facts {
  list-style: none; margin: 40px 0 0; padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.facts strong { display: block; color: var(--gold); font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.facts span { display: block; color: var(--light); font-size: 14px; line-height: 1.4; }

@media (min-width: 880px) {
  .hero { padding: 88px 0 104px; }
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
}

/* Gold frame, as on the Instagram templates: black, a gold line, the photo inside. */

.frame { position: relative; margin: 0; padding: 10px; border: 2px solid var(--gold); }
.frame .badge { position: absolute; top: 22px; left: 22px; z-index: 1; height: 40px; width: auto; }
.hero .frame { width: 100%; max-width: 440px; justify-self: center; }

/* Photos. A .todo photo is a placeholder that has to be replaced before launch. */

.photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--charcoal); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.todo {
  display: grid; place-items: center; padding: 24px; text-align: center;
  background: repeating-linear-gradient(135deg, var(--charcoal) 0 14px, var(--charcoal-2) 14px 28px);
}
.photo.todo span {
  max-width: 18em; padding: 10px 14px;
  background: rgba(0, 0, 0, 0.75); color: var(--light); font-size: 14px; line-height: 1.45;
}

/* Sections */

.block { padding: 72px 0; border-top: 1px solid var(--line); }
.block-head { max-width: 40em; margin: 0 0 40px; }
.block-head p { margin: 16px 0 0; color: var(--light); font-size: 18px; }
@media (min-width: 880px) {
  .block { padding: 96px 0; }
}

.card {
  background: var(--charcoal); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.card p { margin: 8px 0 0; color: var(--light); font-size: 16px; }

.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid.two, .grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }

/* Tick lists */

.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--light); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ticks.no li::before {
  background: var(--charcoal-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9a9a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 11px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.fit .card.no h3 { color: var(--dim); }

/* What you get */

.feature .num {
  display: block; margin-bottom: 14px;
  color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: 0.12em;
}
.feature.lead { border-color: var(--gold-soft); }
.after-grid { margin: 24px 0 0; color: var(--dim); font-size: 15px; }

/* Steps */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 16px; counter-reset: step;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px;
  border-radius: 4px; background: var(--gold); color: var(--black); font-weight: 800;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Approach and about */

.quote {
  margin: 0 0 28px; padding-left: 20px; border-left: 3px solid var(--gold);
  font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em;
}
.prose { max-width: 38em; }
.prose p { margin: 0 0 18px; color: var(--light); font-size: 18px; }
.prose p:last-child { margin-bottom: 0; }

.split { display: grid; gap: 40px; align-items: center; }
.split .frame { width: 100%; max-width: 420px; }
#about .split { align-items: start; row-gap: 32px; }
.stage-wrap { width: 100%; max-width: 420px; }
.stage { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 880px) {
  #about .split { grid-template-areas: "photo text" "stage text"; }
  #about .frame { grid-area: photo; }
  #about .about-text { grid-area: text; align-self: center; }
  #about .stage-wrap { grid-area: stage; }
}
.stage img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border: 1px solid var(--gold-soft); }
.credit { margin: 10px 0 0; color: var(--dim); font-size: 13px; }
@media (min-width: 880px) {
  .split { grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
}

/* Results: before and after pairs */

.results { display: grid; gap: 16px; max-width: 880px; }
.result { padding: 20px; }
.result-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 16px; }
.result-head span { color: var(--dim); font-size: 14px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pair figure { margin: 0; }
.pair img { width: 100%; aspect-ratio: 928 / 824; object-fit: cover; background: var(--black); }
.pair.tall img { aspect-ratio: 606 / 824; }
.pair figcaption { margin-top: 10px; color: var(--light); font-size: 14px; line-height: 1.35; }
.pair figcaption b {
  display: block; color: var(--gold); font-size: 12px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
}

/* Pricing */

.prices { display: grid; gap: 20px; }
@media (min-width: 760px) { .prices { grid-template-columns: 1fr 1fr; } }
.price { position: relative; padding: 28px 24px 24px; }
.price.featured { border-color: var(--gold); }
.price .tag {
  position: absolute; top: -12px; left: 24px;
  padding: 4px 10px; border-radius: 3px;
  background: var(--gold); color: var(--black);
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.price .label { color: var(--dim); font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.price .amount {
  margin: 12px 0 10px;
  font-size: 46px; font-weight: 850; line-height: 1; letter-spacing: -0.035em;
}
.price .amount small { color: var(--dim); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.included { margin-top: 20px; }
.included .ticks { grid-template-columns: 1fr; }
@media (min-width: 640px) { .included .ticks { grid-template-columns: 1fr 1fr; gap: 12px 24px; } }
.pricing-cta { margin-top: 32px; }

/* FAQ */

.faq { max-width: 46em; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 44px; padding: 20px 0; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  color: var(--gold); font-size: 28px; font-weight: 400; line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; max-width: 40em; color: var(--light); }

/* Closing card, styled like the carousel end card */

.cta { padding: 72px 0 88px; border-top: 1px solid var(--line); }
.endcard {
  max-width: 640px; margin: 0 auto; padding: 48px 24px;
  border: 2px solid var(--gold); text-align: center;
}
.endcard img { height: 64px; width: auto; margin: 0 auto 28px; }
.endcard .wordmark { display: block; font-size: clamp(26px, 5vw, 38px); line-height: 1.15; letter-spacing: 0.04em; }
.endcard .tagline { margin: 16px 0 28px; color: var(--light); font-size: 19px; font-weight: 700; }
.endcard .rule { margin: 0 auto 28px; width: 70%; }
.endcard h2 { font-size: 24px; margin: 0 0 8px; }
.endcard p { margin: 0 0 24px; color: var(--light); }

/* Footer */

footer.site { border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
footer.site .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px 24px; padding: 32px 20px 48px;
}
footer.site .brand img { height: 26px; }
footer.site .brand .wordmark { font-size: 12px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer.site a { color: var(--dim); text-decoration: none; }
footer.site a:hover { color: var(--gold); }
footer.site .legalname { width: 100%; }

/* Legal pages */

.legal { max-width: var(--narrow); padding-top: 56px; padding-bottom: 40px; }
.legal h1 { margin: 0 0 6px; font-size: 34px; }
.legal .updated { margin: 0 0 28px; color: var(--dim); font-size: 15px; }
.legal h2 { margin: 32px 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--light); }
.legal ul, .legal ol { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
