:root {
  --ink: #1C1712;
  --ink-2: #2A231C;
  --ink-3: #14100C;
  --flour: #F4EEE4;
  --cream: #F6F0E6;
  --line: #E4DBCD;
  --line-dark: #3A3128;
  --muted: #5C5248;
  --muted-light: #D9CFC1;
  --muted-dark: #BFB3A3;
  --accent: #B83A1E;
  --accent-hover: #9E3018;
  --ember: #E8A33D;
  --display: 'Bricolage Grotesque', Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -0.025em; }
p { margin: 0; }

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: #FFFFFF;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 10;
}
.skip:focus { left: 8px; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 3px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}
.section {
  padding-top: clamp(64px, 9vw, 112px);
  padding-bottom: clamp(64px, 9vw, 112px);
}
.dark { background: var(--ink); color: var(--cream); }
.band-flour { background: var(--flour); }

/* Header */
.header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { border-radius: 8px; background: #FFFFFF; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.brand-sub { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); margin-top: 4px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: 15px; font-weight: 500; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--ember); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.15s, border-color 0.15s;
}
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; min-height: 48px; font-size: 15px; }
.btn-accent { background: var(--accent); color: #FFFFFF; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #000000; }
.btn-outline-light { border: 1px solid #5A4E42; color: var(--cream); }
.btn-outline-light:hover { border-color: var(--cream); }

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(64px, 8vw, 112px);
}
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-weight: 800; font-size: clamp(42px, 6vw, 80px); line-height: 0.98; letter-spacing: -0.03em; color: #FFFFFF; }
.ember { color: var(--ember); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted-light); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; font-weight: 500; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { color: var(--ember); flex: 0 0 18px; }
.hero-visual { flex: 1 1 420px; min-width: 0; position: relative; padding-bottom: 40px; }
.hero-photo { width: 100%; aspect-ratio: 55 / 43; object-fit: cover; border-radius: 28px; }
.hero-card {
  position: absolute;
  left: -12px;
  bottom: 0;
  max-width: 300px;
  background: var(--cream);
  color: var(--ink);
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.55);
}
.hero-card-icon {
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 12px;
  background: var(--accent);
  color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
}
.hero-card-title { font-weight: 700; font-size: 15px; line-height: 1.25; }
.hero-card-text { font-size: 13px; color: var(--muted); line-height: 1.35; }

/* Section heads */
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: 40px; }
.section-head.split { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; }
.section-head.split > div { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.section-head.split > p { max-width: 420px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.eyebrow-light { color: var(--ember); }
h2 { font-weight: 800; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.02; }
h2.light { color: #FFFFFF; }
.muted { color: var(--muted); }
.muted-light { color: var(--muted-light); }
.big { font-size: 17px; }
.small { font-size: 14px; }

/* Cards */
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card {
  flex: 1 1 320px;
  min-width: 0;
  background: var(--flour);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card h3 { font-weight: 700; font-size: 26px; line-height: 1.1; }
.card-dark { background: var(--ink); color: var(--cream); }
.card-dark h3 { color: #FFFFFF; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.num { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--accent); }
.num.ember { color: var(--ember); }
.tag { padding: 5px 12px; border-radius: 999px; background: #FFFFFF; font-size: 13px; font-weight: 600; color: var(--muted); }
.tag-accent { background: var(--accent); color: #FFFFFF; }
.facts { margin: auto 0 0; padding-top: 16px; border-top: 1px solid #DDD3C4; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; }
.facts-dark { border-top-color: var(--line-dark); }
.facts-dark dt { color: var(--muted-dark); }

.infos {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.infos h3 { font-weight: 700; font-size: 22px; }
.infos-grid { display: flex; flex-wrap: wrap; gap: 20px 32px; }
.infos-grid > div { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.label { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Two columns */
.two-col { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.col-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.col-media { flex: 1 1 360px; min-width: 0; }
.photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 16px; border-radius: 999px; background: #FFFFFF; font-size: 14px; font-weight: 500; }
.callout { background: var(--ink); color: var(--cream); border-radius: 20px; padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.callout svg { flex: 0 0 26px; color: var(--ember); margin-top: 2px; }
.callout p { font-size: 15px; }

/* Trainer */
.trainer { max-width: 820px; display: flex; flex-direction: column; gap: 20px; }
.trainer .big { font-size: 19px; }
.trainer blockquote {
  margin: 8px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.2;
}

/* References */
.refs { display: flex; flex-wrap: wrap; gap: 20px; }
.ref { flex: 1 1 250px; min-width: 0; background: #FFFFFF; border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.ref h3 { font-weight: 700; font-size: 21px; }
.ref-detail { margin-top: 8px; font-size: 15px; font-weight: 500; }

/* Steps */
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.steps li { border-top: 3px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.step-n { font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--accent); }
.steps h3 { font-weight: 700; font-size: 22px; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.contact { align-items: flex-start; }
.contact-intro { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-lines { display: flex; flex-direction: column; gap: 12px; }
.contact-line { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 16px; background: var(--ink); border: 1px solid var(--line-dark); min-height: 72px; transition: border-color 0.15s; }
.contact-line:hover { border-color: var(--ember); }
.contact-icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: var(--accent); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.contact-label { display: block; font-size: 13px; color: var(--muted-dark); }
.contact-value { display: block; font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.socials { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-top: 6px; font-size: 15px; }
.socials a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 4px; }
.socials a:hover { color: var(--ember); }

/* Contact form */
.form-card { flex: 1 1 460px; min-width: 0; background: var(--ink-2); border-radius: 24px; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.form-title { font-weight: 700; font-size: 22px; color: #FFFFFF; letter-spacing: -0.01em; }
.form-loading { color: var(--muted-dark); font-size: 15px; }
.form-loading a, .form-error a, .form-note a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.cf { display: flex; flex-direction: column; gap: 18px; }
.fields { display: flex; flex-wrap: wrap; gap: 16px; }
.field { flex: 1 1 100%; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field-short { flex: 1 1 220px; }
.field label, .field-label { font-size: 14px; font-weight: 600; color: var(--cream); }
.field .req { color: var(--ember); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #5A4E42;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 16px;
}
.field textarea { padding: 12px 14px; min-height: 130px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cream) 50%), linear-gradient(135deg, var(--cream) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--ember); outline-offset: 1px; border-color: var(--ember); }
.field [aria-invalid="true"] { border-color: #F4A58E; }
.field-error { font-size: 14px; color: #F4A58E; min-height: 0; }
.field-error:empty { display: none; }
.field-note { font-size: 14px; color: var(--muted-dark); }
.choices { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.choice { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 500; }
.choice input { width: 18px; height: 18px; accent-color: var(--accent); }
.form-error { background: rgba(244, 165, 142, 0.12); border: 1px solid #F4A58E; color: var(--cream); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-submit { flex: 1 1 auto; border: none; cursor: pointer; font-family: var(--body); }
.form-submit:disabled { opacity: 0.6; cursor: progress; }
.form-actions .btn-outline-light { background: transparent; cursor: pointer; font-family: var(--body); }
.form-note { font-size: 13px; color: var(--muted-dark); }
.form-progress { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ember); }
.form-success { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 16px; background: var(--ink); border: 1px solid var(--ember); color: var(--cream); font-size: 17px; }
.form-success svg { color: var(--ember); }
.form-success:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Footer */
.footer { background: var(--ink-3); color: var(--muted-dark); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 32px; padding-bottom: 32px; }
.footer-brand { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--cream); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-nav a:hover { color: var(--cream); }

/* Legal page */
.legal { max-width: 760px; }
.legal h1 { font-weight: 800; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.05; margin-bottom: 32px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 32px 0 10px; letter-spacing: -0.01em; }
.legal p { color: var(--muted); margin-bottom: 8px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; color: var(--accent); }

@media (max-width: 640px) {
  .hero-card { position: relative; z-index: 1; left: auto; margin-top: -28px; margin-left: 12px; margin-right: 12px; max-width: none; }
  .hero-visual { padding-bottom: 0; }
  .card { padding: 26px; }
}