/* Peak Data Training — visual layer. Content and SEO remain in the HTML. */
html[data-design="alpine"] {
  --paper: #f6f4ee;
  --surface: #fffefa;
  --ink: #1e302c;
  --ink-soft: #5d6a63;
  --forest: #213f35;
  --forest-light: #2c4c41;
  --stone: #eaece3;
  --gold: #bda36f;
  --gold-soft: #e6d6af;
  --wine: #79513b;
  --line: #dce0d5;
  --brand: #36574a;
  --brand-dark: #213f35;
  --text: #1e302c;
  --muted: #5d6a63;
  --border: #dce0d5;
  --card: #fffefa;
  --pdt-noir: #213f35;
  --pdt-noir-2: #2c4c41;
  --pdt-cream: #f6f4ee;
  --pdt-stone: #eaece3;
  --pdt-ink: #1e302c;
  --pdt-ink-soft: #5d6a63;
  --pdt-gold: #bda36f;
  --pdt-gold-soft: #e6d6af;
  --pdt-wine: #79513b;
  --noir: #213f35;
  --noir-2: #2c4c41;
  --cream: #f6f4ee;
  --line-light: #dce0d5;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  color-scheme: light;
}
html[data-design] body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
html[data-design] *, html[data-design] *::before, html[data-design] *::after { box-sizing: border-box; }
html[data-design] h1, html[data-design] h2, html[data-design] h3, html[data-design] h4 {
  font-family: Fraunces, Georgia, serif; font-weight: 500;
  text-wrap: balance; letter-spacing: -.035em;
}
html[data-design] h1 { font-size: clamp(2.6rem, 5.2vw, 5rem); line-height: 1.05; }
html[data-design] h2 { font-size: clamp(2rem, 3.2vw, 3.1rem); line-height: 1.15; margin-top: 0; }
html[data-design] h3 { font-size: 1.5rem; line-height: 1.25; }
html[data-design] p { text-wrap: pretty; }
html[data-design] a { text-underline-offset: .22em; }
html[data-design] button, html[data-design] input, html[data-design] select, html[data-design] textarea { font: inherit; }
html[data-design] button, html[data-design] a { -webkit-tap-highlight-color: transparent; }
html[data-design] :focus-visible { outline: 2px solid #967944; outline-offset: 5px; }
html[data-design] ::selection { background: #d9dfcf; color: #18372d; }
html[data-design] img { max-width: 100%; }
html[data-design] .text-emerald-700, html[data-design] .text-emerald-600 { color: var(--forest); }
html[data-design] .shadow-soft { box-shadow: 0 10px 35px #20382d08; }
html[data-design] .container, html[data-design] .wrap { max-width: 1248px !important; margin-inline: auto; padding-inline: 40px; }
html[data-design] .container { padding-block: 0; }
html[data-design] section { scroll-margin-top: 104px; }

/* A single, calm navigation system across every page. */
html[data-design] [data-site-nav] {
  position: sticky; top: 0; z-index: 50; background: #fffefaf2 !important;
  border-bottom: 1px solid var(--line) !important; backdrop-filter: blur(18px);
}
html[data-design] [data-site-nav] > .container { max-width: 1328px !important; }
html[data-design] [data-site-nav] nav { height: 86px; padding: 0; }
html[data-design] [data-site-nav] nav > a img { height: 58px !important; width: auto; border-radius: 0; }
html[data-design] #main-nav { gap: 30px; align-items: center; font-size: 14px; font-weight: 500; }
html[data-design] #main-nav > a, html[data-design] #main-nav > div > button { color: var(--ink); padding-block: 12px; }
html[data-design] #main-nav > a:hover, html[data-design] #main-nav > div > button:hover { color: #967944; }
html[data-design] #main-nav > a[href="/contact/"] {
  padding: 10px 20px; border: 1px solid var(--line); border-radius: 5px;
}
html[data-design] .dropdown-panel { border-radius: 8px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 15px 35px #20382d16; }
html[data-design] .dropdown-panel a { padding: 12px 14px; font-size: 14px; border-radius: 4px; color: var(--ink); }
html[data-design] .dropdown-panel a:hover { background: var(--stone); }
html[data-design] #burgerBtn { height: 44px; width: 44px; border-color: var(--line); border-radius: 5px; color: var(--ink); }
html[data-design] #mobileMenu { background: var(--surface); border-color: var(--line); max-height: calc(100dvh - 72px); overflow-y: auto; }
html[data-design] #mobileMenu a, html[data-design] #mobileMenu button { font-size: 15px; }
html[data-design] #mobileMenu > div { padding: 20px 24px 28px; }

/* Buttons: consistent size, clear contrast, quiet interaction. */
html[data-design] a.bg-emerald-600, html[data-design] button.bg-emerald-600,
html[data-design] .cta-gold, html[data-design] .btn-primary, html[data-design] .submit-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 13px 22px; border: 1px solid var(--forest) !important; border-radius: 5px !important;
  background: var(--forest) !important; color: #fffefa !important;
  font-size: 13px; font-weight: 600; line-height: 1.45; text-align: center;
  text-decoration: none; box-shadow: none; transition: background .2s, transform .2s;
}
html[data-design] a.bg-emerald-600:hover, html[data-design] button.bg-emerald-600:hover,
html[data-design] .cta-gold:hover, html[data-design] .btn-primary:hover { background: #34584a !important; transform: translateY(-2px); }
html[data-design] a.border-emerald-600, html[data-design] .cta-outline,
html[data-design] .btn-ghost, html[data-design] .hero-blend__content .mt-8 > a + a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  border: 1px solid #aab7a8 !important; border-radius: 5px !important; padding: 13px 22px;
  background: transparent !important; color: var(--forest) !important;
  font-size: 13px; line-height: 1.45; font-weight: 600; box-shadow: none; text-decoration: none;
}
html[data-design] a.border-emerald-600:hover, html[data-design] .cta-outline:hover { background: #e9ede3 !important; }

/* Home: a generous photographic opening, then a quieter reading rhythm. */
body[data-page="home"] > header { background: var(--paper); padding-top: 28px; }
body[data-page="home"] > header > .container { max-width: 1408px !important; }
body[data-page="home"] .hero-blend {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 72px;
  min-height: 580px; align-items: stretch; padding: 28px 0 48px;
}
body[data-page="home"] .hero-blend__content { padding: 28px 0 28px 40px; }
body[data-page="home"] .hero-blend__content::before { content: ""; width: 52px; height: 2px; background: var(--gold); margin-bottom: 30px; }
body[data-page="home"] > header h1 { font-size: clamp(3rem, 5.4vw, 5.2rem); font-weight: 500; color: var(--ink) !important; letter-spacing: -.055em; }
html[data-design] body[data-page="home"] > header h1 span { color: #7a805c; font-style: italic; }
body[data-page="home"] .hero-blend__content > p { font-size: 16px; line-height: 1.85; max-width: 48ch; color: var(--ink-soft) !important; margin-top: 24px; }
body[data-page="home"] .hero-blend__content strong { font-weight: 500; }
body[data-page="home"] .hero-blend__content a.underline { text-decoration-color: #b7bfae; }
body[data-page="home"] .hero-blend__content .mt-8 { margin-top: 30px; gap: 10px; }
body[data-page="home"] .hero-blend__media { border-radius: 8px 8px 64px 8px; min-height: 490px; }
body[data-page="home"] .hero-blend__media picture { display: block; height: 100%; }
body[data-page="home"] .hero-blend__img { height: 100% !important; width: 100%; object-fit: cover; object-position: 62% center; aspect-ratio: auto !important; }
body[data-page="home"] .reassurance-pills {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0;
  margin: 0 40px 0; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
body[data-page="home"] .pill { max-width: none; padding: 0 20px; background: transparent; border: 0; border-radius: 0; box-shadow: none; text-align: left; justify-content: flex-start; }
body[data-page="home"] .pill + .pill { border-left: 1px solid var(--line); }
body[data-page="home"] .pill-text { font-size: 12px; line-height: 1.6; color: var(--ink-soft); }
body[data-page="home"] .pill-text b { color: var(--ink); font-size: 13px; font-weight: 600; margin: 0; }
body[data-page="home"] .pill-text br { display: none; }
body[data-page="home"] > section { padding-block: 96px; }
body[data-page="home"] #offres { background: var(--paper) !important; color: var(--ink); }
body[data-page="home"] #offres > .container > h2 { color: var(--ink) !important; max-width: 780px; }
body[data-page="home"] #offres > .container > p { color: var(--ink-soft) !important; font-size: 15px; max-width: 76ch; margin-top: 20px; }
body[data-page="home"] #offres > .container > .grid { margin-top: 40px; gap: 24px; }
body[data-page="home"] #offres article { background: var(--surface) !important; border: 1px solid var(--line) !important; border-radius: 8px; box-shadow: none; transition: transform .25s, box-shadow .25s; }
body[data-page="home"] #offres article:hover { transform: translateY(-6px); box-shadow: 0 18px 45px #20382d0d; }
body[data-page="home"] #offres article > div:first-child { height: 220px; border-radius: 0; }
body[data-page="home"] #offres article picture { display: block; width: 100%; height: 100%; }
body[data-page="home"] #offres article img { height: 100%; object-fit: cover; border-radius: 0; transition: transform .6s; }
body[data-page="home"] #offres article:hover img { transform: scale(1.035); }
body[data-page="home"] #offres article > .p-6 { padding: 28px 24px 24px; }
body[data-page="home"] #offres article h3 { color: var(--ink) !important; font-size: 26px; }
body[data-page="home"] #offres article h3 span { color: var(--ink-soft); font-size: 18px; display: block; margin-top: 8px; line-height: 1.4; }
body[data-page="home"] #offres article p { font-size: 15px; line-height: 1.8; margin-top: 18px; }
body[data-page="home"] #offres article ul { font-size: 14px; line-height: 1.75; padding-left: 15px; list-style-position: outside; margin-top: 22px; }
body[data-page="home"] #offres article li { padding-left: 3px; margin-top: 7px; }
body[data-page="home"] #offres article li::marker { color: #9b875c; }
body[data-page="home"] #offres article .mt-6.text-center { margin-top: 12px; }
body[data-page="home"] #offres article .mt-3.flex { flex-direction: column; gap: 9px; margin-top: 22px; }
body[data-page="home"] #offres .bg-emerald-50 { background: var(--stone) !important; border: 0 !important; border-left: 3px solid var(--gold) !important; border-radius: 0 6px 6px 0; padding: 20px 24px; margin-top: 28px; }
body[data-page="home"] #offres .bg-emerald-50 p { color: var(--ink) !important; font-size: 13px; }

body[data-page="home"] #coaching-velo-home { background: var(--forest) !important; color: var(--paper) !important; }
body[data-page="home"] #coaching-velo-home h2 { color: var(--paper) !important; }
body[data-page="home"] #coaching-velo-home .max-w-3xl > p:first-child { color: var(--gold-soft) !important; font-size: 11px; letter-spacing: .16em; }
body[data-page="home"] #coaching-velo-home .max-w-3xl > p:last-child { color: #ced8cb !important; font-size: 15px; line-height: 1.8; margin-top: 20px; }
body[data-page="home"] #coaching-velo-home article { background: var(--forest-light) !important; border: 1px solid #ffffff20 !important; border-radius: 6px; box-shadow: none; }
body[data-page="home"] #coaching-velo-home article > div { padding: 30px 26px; }
body[data-page="home"] #coaching-velo-home article span { color: var(--gold-soft) !important; font-size: 10px; letter-spacing: .12em; }
body[data-page="home"] #coaching-velo-home article h3 { color: var(--paper) !important; font-size: 27px; margin-top: 20px; }
body[data-page="home"] #coaching-velo-home article p, body[data-page="home"] #coaching-velo-home article li { color: #d2dccf !important; font-size: 13px; line-height: 1.8; }
body[data-page="home"] #coaching-velo-home article ul { padding-left: 15px; list-style-position: outside; }
body[data-page="home"] #coaching-velo-home article .flex.flex-wrap { flex-direction: column; }
body[data-page="home"] #coaching-velo-home article a:first-child { border: 1px solid #8b9d8e !important; color: var(--paper) !important; border-radius: 4px; font-size: 12px; padding: 12px; }
body[data-page="home"] #coaching-velo-home article a:last-child { background: var(--gold-soft) !important; color: var(--ink) !important; border-radius: 4px; font-size: 12px; padding: 12px; }
body[data-page="home"] #coaching-velo-home .mt-10.rounded-3xl { background: transparent !important; border: 0 !important; border-top: 1px solid #ffffff26 !important; border-radius: 0; padding: 24px 0 0; }
body[data-page="home"] #coaching-velo-home .mt-10.rounded-3xl p { color: #d2dccf !important; }
body[data-page="home"] #coaching-velo-home .mt-10.rounded-3xl strong { color: var(--paper) !important; }
body[data-page="home"] #a-propos { background: var(--paper) !important; }
body[data-page="home"] #a-propos .grid { gap: 80px; align-items: center; }
body[data-page="home"] #a-propos h2 { font-size: clamp(2rem,3.3vw,3.25rem); }
body[data-page="home"] #a-propos h3 { margin-top: 30px; font-size: 22px; }
body[data-page="home"] #a-propos p { font-size: 14px; line-height: 1.9; }
body[data-page="home"] #a-propos .relative img { aspect-ratio: 4/5; width: 100%; height: auto; object-fit: cover; border-radius: 8px 8px 8px 64px; box-shadow: none; }
body[data-page="home"] #temoignages { background: #ebece3 !important; }
body[data-page="home"] #temoignages .grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
body[data-page="home"] #temoignages figure { padding: 32px; border: 0 !important; border-top: 2px solid var(--gold) !important; border-radius: 0; box-shadow: none; background: transparent !important; }
body[data-page="home"] #temoignages blockquote { border: 0; background: transparent; border-radius: 0; margin: 0; padding: 0; font-family: Fraunces,Georgia,serif; font-size: 25px; line-height: 1.5; color: var(--ink); }
body[data-page="home"] #temoignages figcaption { margin-top: 22px; color: var(--ink-soft); font-size: 12px; }
body[data-page="home"] #faq { background: var(--paper) !important; }
body[data-page="home"] #faq .grid { gap: 18px; }
html[data-design] details { border: 1px solid var(--line) !important; border-radius: 6px !important; padding: 22px 24px !important; box-shadow: none !important; background: var(--surface) !important; margin-block: 0; }
html[data-design] summary { font-size: 15px; font-weight: 500; color: var(--ink) !important; line-height: 1.6; }
html[data-design] details[open] { border-color: #91a48b !important; }
html[data-design] details p, html[data-design] details div { font-size: 14px; line-height: 1.85; color: var(--ink-soft); }
body[data-page="home"] #contact { background: var(--forest) !important; }
body[data-page="home"] #contact .grid.md\:grid-cols-2 { align-items: center; gap: 72px; }
body[data-page="home"] #contact h2 { font-size: clamp(2.2rem,3.5vw,3.5rem); }
body[data-page="home"] #contact > .container > .grid > div:last-child img { aspect-ratio: 4/5; height: auto; width: 100%; object-fit: cover; border-radius: 8px 8px 56px 8px; box-shadow: none; }
body[data-page="home"] #contact p { color: #d6dfcf !important; font-size: 14px; }
html[data-design] input:not([name="website"]), html[data-design] select, html[data-design] textarea {
  width: 100%; min-width: 0; border-radius: 5px !important; padding: 15px 16px; min-height: 52px;
  font-size: 14px; border: 1px solid #cad3c2 !important; box-shadow: none;
}
html[data-design] textarea { resize: vertical; min-height: 130px; }
body[data-page="home"] #contact input, body[data-page="home"] #contact select, body[data-page="home"] #contact textarea { background: #ffffff0a !important; border-color: #ffffff35 !important; color: #fffefa !important; }
body[data-page="home"] #contact input::placeholder, body[data-page="home"] #contact textarea::placeholder { color: #d2dccf; }
body[data-page="home"] #contact button[type="submit"] { background: var(--gold-soft) !important; border-color: var(--gold-soft) !important; color: var(--ink) !important; }

/* Service pages: editorial heroes, readable content and restrained cards. */
body[data-page="service"] > section { padding-block: 80px !important; }
body[data-page="service"] > section > div { max-width: 1248px; padding-inline: 40px; }
body[data-page="service"] > section:first-of-type { background: var(--forest) !important; padding-block: 64px 72px !important; }
body[data-page="service"] > section:first-of-type > .grid { padding-block: 0; gap: 64px; grid-template-columns: 1.05fr 1fr; }
body[data-page="service"] h1 { color: var(--paper); font-size: clamp(2.4rem,4.3vw,4.1rem); font-weight: 500; line-height: 1.12; }
body[data-page="service"] > section:first-of-type nav { font-size: 11px; letter-spacing: .015em; margin-bottom: 26px; }
body[data-page="service"] > section:first-of-type p { font-size: 15px; line-height: 1.9; color: #d2dccf; }
body[data-page="service"] > section:first-of-type ul { font-size: 12px; color: #d2dccf; gap: 10px 24px; }
body[data-page="service"] > section:first-of-type .grid > div:last-child { aspect-ratio: 5/6; border-radius: 8px 8px 56px 8px; box-shadow: none; }
body[data-page="service"] > section:first-of-type img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
body[data-page="service"] > section:first-of-type .cta-gold, body[data-page="service"] #cta .cta-gold { background: var(--gold-soft) !important; border-color: var(--gold-soft) !important; color: var(--ink) !important; }
body[data-page="service"] > section:first-of-type .mt-6.flex > a + a { border: 1px solid #8a9d8c; border-radius: 5px; color: var(--paper); font-size: 13px; padding: 13px 22px; }
body[data-page="service"] .section-cream { background: var(--paper) !important; }
body[data-page="service"] .section-stone { background: var(--stone) !important; border-color: var(--line); }
body[data-page="service"] .section-dark { background: var(--forest) !important; }
body[data-page="service"] .container-narrow { max-width: 1100px; }
body[data-page="service"] h2 { max-width: 850px; }
body[data-page="service"] h3 { font-size: 23px; }
body[data-page="service"] .bg-white { background: var(--surface); border-radius: 6px; box-shadow: none; }
body[data-page="service"] .grid > .bg-white { border: 1px solid var(--line); padding: 28px; }
body[data-page="service"] p, body[data-page="service"] .prose { font-size: 14px; line-height: 1.9; }
body[data-page="service"] .prose li { margin-bottom: 12px; }
body[data-page="service"] .prose li::marker { color: #8b805a; }
body[data-page="service"] #cta { margin-inline: 0; }
body[data-page="service"] #cta > div { padding-block: 0; }
body[data-page="service"] #cta h2 { color: var(--paper); }
body[data-page="service"] #cta ul { font-size: 14px; line-height: 1.9; color: #d6dfcf; }
body[data-page="service"] #cta .bg-white { padding: 30px; background: var(--forest-light); border: 1px solid #ffffff30; }
body[data-page="service"] #cta .bg-white h3 { color: var(--paper); }
body[data-page="service"] #cta .bg-white p { color: #d6dfcf; }
html[data-design] table { border-collapse: collapse; border-radius: 6px; }
html[data-design] table th { background: #e0e5d9; color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 16px; }
html[data-design] table td { padding: 16px; font-size: 13px; line-height: 1.7; }

/* Journal and long-form reading. */
body[data-page="blog"] > section { background: var(--stone); padding: 76px 0 64px; text-align: left; }
body[data-page="blog"] > section h1 { font-size: clamp(3rem,4.8vw,4.8rem); }
body[data-page="blog"] > section p { color: var(--ink-soft); margin-top: 20px; font-size: 16px; }
html[data-design] body[data-page="blog"] > main { padding-block: 56px 96px; }
body[data-page="blog"] > main > .grid { gap: 36px; }
body[data-page="blog"] article { border: 1px solid var(--line); border-radius: 8px; box-shadow: none; background: var(--surface); }
body[data-page="blog"] article > a > div { height: 300px; }
body[data-page="blog"] article img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .5s; }
body[data-page="blog"] article:hover img { transform: scale(1.035); }
body[data-page="blog"] article > .p-6 { padding: 30px; }
body[data-page="blog"] article h2, body[data-page="blog"] article > .p-6 > a:first-child { font-family: Fraunces,Georgia,serif; font-size: 30px; font-weight: 500; letter-spacing: -.025em; line-height: 1.25; }
body[data-page="blog"] article p { font-size: 14px; line-height: 1.85; color: var(--ink-soft); }
body[data-page="blog"] article a { color: var(--forest); }
body[data-page="article"] > header:not([data-site-nav]) { max-width: 1120px !important; padding: 40px 40px 0; }
body[data-page="article"] > header > nav { font-size: 12px; margin-block: 0 32px; }
body[data-page="article"] > header h1 { font-size: clamp(2.6rem,4.6vw,4.6rem); line-height: 1.12; max-width: 1000px; font-weight: 500; }
body[data-page="article"] > header h1 span { color: #6b795d; }
body[data-page="article"] > header h1 + p { color: var(--ink-soft); font-size: 12px; margin-top: 24px; }
body[data-page="article"] .blog-hero { height: 440px; border-radius: 8px 8px 48px 8px; margin-top: 32px; overflow: hidden; }
body[data-page="article"] .blog-hero img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
html[data-design] body[data-page="article"] > main { max-width: 840px !important; padding: 8px 40px 80px; font-size: 16px; line-height: 1.95; }
body[data-page="article"] > main h2 { margin-top: 52px; font-size: clamp(1.9rem,2.7vw,2.5rem); line-height: 1.2; }
body[data-page="article"] > main h3 { margin-top: 32px; }
body[data-page="article"] > main p { margin-block: 18px; color: #4e5d55; }
body[data-page="article"] > main > p:first-child { font-size: 18px; line-height: 1.85; }
body[data-page="article"] > main nav { background: var(--stone); border: 0; border-radius: 6px; padding: 28px; margin-block: 32px; font-size: 14px; }
body[data-page="article"] > main li { margin-block: 10px; }
body[data-page="article"] > main a { color: var(--forest); text-decoration-color: #adbda3; }
body[data-page="article"] > main > section:last-child { background: var(--stone); border: 0; border-radius: 6px; padding: 30px; }
body[data-page="article"] > main > section:last-child h2 { margin-top: 0; font-size: 28px; }

/* Cycling page: align the existing editorial layout with the rest of the site. */
body[data-page="cycling"] .wrap { max-width: 1248px; padding-inline: 40px; }
body[data-page="cycling"] section { padding-block: 88px; }
body[data-page="cycling"] .hero { background: var(--forest); padding-block: 72px 0; }
body[data-page="cycling"] .hero-grid { gap: 80px; align-items: center; }
body[data-page="cycling"] .hero-left { padding-bottom: 72px; }
body[data-page="cycling"] .hero h1 { font-size: clamp(2.8rem,4.7vw,4.6rem); font-weight: 500; }
body[data-page="cycling"] .hero h1 em { color: var(--gold-soft); }
body[data-page="cycling"] .hero p.lead { font-size: 16px; line-height: 1.85; }
body[data-page="cycling"] .hero .btn-primary { background: var(--gold-soft) !important; color: var(--ink) !important; border-color: var(--gold-soft) !important; }
body[data-page="cycling"] .hero .btn-ghost { color: var(--paper) !important; border-color: #8a9d8c !important; }
body[data-page="cycling"] .hero-photo { border-radius: 8px 8px 48px 8px; overflow: hidden; }
body[data-page="cycling"] .hero-photo img { border-radius: 0; }
body[data-page="cycling"] .hero-curve { opacity: .5; }
body[data-page="cycling"] .kicker, body[data-page="cycling"] .eyebrow { font-size: 11px; letter-spacing: .16em; }
body[data-page="cycling"] .section-head { margin-bottom: 42px; max-width: 790px; }
body[data-page="cycling"] .section-head h2 { font-size: clamp(2rem,3.2vw,3.1rem); }
body[data-page="cycling"] .section-head p { font-size: 15px; line-height: 1.85; }
body[data-page="cycling"] .steps { gap: 0; }
body[data-page="cycling"] .step { padding: 28px; border: 1px solid var(--line); border-radius: 0; background: var(--surface); }
body[data-page="cycling"] .step:first-child { border-radius: 6px 0 0 6px; }
body[data-page="cycling"] .step:last-child { border-radius: 0 6px 6px 0; }
body[data-page="cycling"] .step h3 { font-size: 25px; }
body[data-page="cycling"] .step p { font-size: 14px; line-height: 1.85; }
body[data-page="cycling"] .pack-row { padding-block: 36px; }
body[data-page="cycling"] .pack-main h3 { font-size: 28px; }
body[data-page="cycling"] .pack-main p, body[data-page="cycling"] .pack-details li { font-size: 14px; }
body[data-page="cycling"] .apropos-photo { border-radius: 6px 6px 48px 6px; overflow: hidden; }
body[data-page="cycling"] .apropos-photo img { border-radius: 0; }
body[data-page="cycling"] .avis-card { border: 0; border-top: 2px solid var(--gold); background: transparent; box-shadow: none; padding: 28px 0; border-radius: 0; }
body[data-page="cycling"] .avis-card .quote { font-family: Fraunces,Georgia,serif; font-size: 26px; line-height: 1.5; }
body[data-page="cycling"] .faq-item h3 { font-family: Inter,sans-serif; font-size: 16px; letter-spacing: -.02em; font-weight: 600; }
body[data-page="cycling"] .contact .btn-primary { background: var(--gold-soft) !important; color: var(--ink) !important; border-color: var(--gold-soft) !important; }
body[data-page="cycling"] .reveal { opacity: 1; transform: none; }

/* Contact and confirmation pages. */
body[data-page="contact"] main { padding-block: 64px 88px; background: var(--paper) !important; }
body[data-page="contact"] main > .container > .grid { gap: 72px; align-items: stretch; }
body[data-page="contact"] main h1 { font-size: clamp(3rem,5vw,4.8rem); }
body[data-page="contact"] main .grid > div:first-child { padding: 12px 0; }
body[data-page="contact"] main p { font-size: 14px; color: var(--ink-soft); }
body[data-page="contact"] form { margin-top: 30px; gap: 15px; }
body[data-page="contact"] input, body[data-page="contact"] select, body[data-page="contact"] textarea { background: var(--surface); }
body[data-page="contact"] .contact-media { border-radius: 8px 8px 56px 8px; box-shadow: none; min-height: 560px; min-width: 0; width: 100%; aspect-ratio: auto; }
body[data-page="contact"] .contact-media img { height: 100%; width: 100%; object-fit: cover; border-radius: 0; }
body[data-page="thanks"] { display: grid; min-height: 100svh; place-items: center; background: var(--forest); padding: 24px; }
body[data-page="thanks"] .card { max-width: 540px; padding: 48px; border: 1px solid #ffffff26; border-radius: 8px; background: var(--surface); box-shadow: 0 24px 80px #00000015; }
body[data-page="thanks"] h1 { font-size: 36px; }
body[data-page="thanks"] p { color: var(--ink-soft); font-size: 15px; }
body[data-page="thanks"] .icon { background: var(--stone); border-radius: 100%; }
body[data-page="thanks"] .icon svg { color: var(--forest); }
body[data-page="thanks"] .btn { background: var(--forest); color: var(--paper); border-radius: 5px; }
body[data-page="thanks"] .btn.secondary { background: var(--stone); color: var(--ink); }

/* Footer: identical visual treatment on all pages, with original content. */
html[data-design] footer { margin-top: 0 !important; padding-top: 16px; background: var(--surface) !important; color: var(--ink-soft) !important; border-top: 1px solid var(--line) !important; }
html[data-design] footer > div { max-width: 1248px; margin-inline: auto; }
html[data-design] footer > .grid { grid-template-columns: 1.5fr 1fr .85fr .7fr 1.25fr; gap: 28px; padding: 48px 40px; text-align: left; }
html[data-design] footer h4 { color: var(--ink) !important; font: 600 12px/1.7 Inter,sans-serif; letter-spacing: .02em; margin-top: 12px; }
html[data-design] footer p, html[data-design] footer li { font-size: 12px !important; line-height: 1.85; }
html[data-design] footer p { max-width: 28ch; }
html[data-design] footer a { color: var(--ink-soft) !important; overflow-wrap: anywhere; }
html[data-design] footer a:hover { color: var(--forest) !important; }
html[data-design] footer ul { padding: 0; list-style: none; }
html[data-design] footer img { height: 66px !important; width: auto; margin: 0; border-radius: 0; }
html[data-design] footer img[src*="Logo_peak_blanc"] { filter: brightness(.24) sepia(.15); }
html[data-design] footer > .border-t { border-color: var(--line); max-width: none; }
html[data-design] footer > .border-t > div { max-width: 1248px; padding: 22px 40px; margin-inline: auto; font-size: 11px; color: var(--ink-soft); }

@media (min-width: 1024px) {
  html[data-design] #main-nav { display: flex !important; }
  html[data-design] #burgerBtn, html[data-design] #mobileMenu { display: none !important; }
}
@media (max-width: 1100px) {
  body[data-page="home"] .hero-blend { gap: 40px; }
  body[data-page="home"] .hero-blend__content { padding-left: 0; }
  body[data-page="home"] .hero-blend__content .mt-8 { flex-direction: column; align-items: flex-start; }
  body[data-page="home"] .hero-blend__content .mt-8 > a { width: 100%; }
  html[data-design] footer > .grid { grid-template-columns: 1.5fr 1fr 1fr; }
  body[data-page="service"] > section:first-of-type > .grid { gap: 40px; }
}
@media (max-width: 1023px) {
  html[data-design] #main-nav { display: none !important; }
  html[data-design] #burgerBtn { display: inline-flex !important; }
  html[data-design] #mobileMenu:not(.hidden) { display: block !important; }
}
@media (max-width: 900px) {
  body[data-page="cycling"] .hero-right { order: 1; min-width: 0; }
  body[data-page="cycling"] .hero-photo { width: 100%; aspect-ratio: 4/3; max-height: 480px; }
}
@media (max-width: 767px) {
  html[data-design] { scroll-padding-top: 82px; }
  html[data-design] .container, html[data-design] .wrap { padding-inline: 24px; }
  html[data-design] [data-site-nav] nav { height: 72px; }
  html[data-design] [data-site-nav] nav > a img { height: 48px !important; }
  html[data-design] h1 { font-size: 44px; }
  html[data-design] h2 { font-size: 34px; }
  body[data-page="home"] > header { padding-top: 10px; }
  body[data-page="home"] .hero-blend { grid-template-columns: 1fr; padding: 20px 0 28px; gap: 32px; min-height: 0; }
  body[data-page="home"] .hero-blend__content { padding: 16px 0 0; }
  body[data-page="home"] .hero-blend__content::before { margin-bottom: 22px; width: 40px; }
  body[data-page="home"] > header h1 { font-size: clamp(42px,11.5vw,64px); max-width: 10ch; }
  body[data-page="home"] .hero-blend__content > p { font-size: 15px; line-height: 1.8; }
  body[data-page="home"] .hero-blend__content .mt-8 { align-items: stretch; margin-top: 24px; }
  body[data-page="home"] .hero-blend__media { min-height: 0; height: 330px; border-radius: 6px 6px 40px 6px; }
  body[data-page="home"] .reassurance-pills { grid-template-columns: 1fr 1fr; margin: 0; padding-block: 8px; }
  body[data-page="home"] .pill { padding: 18px 10px; }
  body[data-page="home"] .pill:nth-child(3) { border-left: 0; }
  body[data-page="home"] .pill:nth-child(n+3) { border-top: 1px solid var(--line); }
  body[data-page="home"] > section { padding-block: 64px; }
  body[data-page="home"] #offres > .container > .grid { gap: 24px; margin-top: 32px; }
  body[data-page="home"] #offres article > div:first-child { height: 240px; }
  body[data-page="home"] #offres article > .p-6 { padding: 26px; }
  body[data-page="home"] #offres article p { font-size: 15px; }
  body[data-page="home"] #offres article ul { font-size: 13px; }
  body[data-page="home"] #coaching-velo-home article > div { padding: 28px; }
  body[data-page="home"] #a-propos .grid { gap: 40px; }
  body[data-page="home"] #a-propos .relative img { max-height: 540px; }
  body[data-page="home"] #temoignages .grid { grid-template-columns: 1fr; gap: 12px; }
  body[data-page="home"] #temoignages figure { padding: 24px 0; }
  body[data-page="home"] #temoignages blockquote { font-size: 24px; }
  body[data-page="home"] #contact .grid.md\:grid-cols-2 { gap: 40px; }
  body[data-page="home"] #contact > .container > .grid > div:last-child img { aspect-ratio: 4/3; }
  body[data-page="service"] > section { padding-block: 56px !important; }
  body[data-page="service"] > section > div { padding-inline: 24px; }
  body[data-page="service"] > section:first-of-type { padding-block: 36px 48px !important; }
  body[data-page="service"] > section:first-of-type > .grid { grid-template-columns: 1fr; gap: 36px; }
  body[data-page="service"] h1 { font-size: 40px; }
  body[data-page="service"] > section:first-of-type .grid > div:last-child { aspect-ratio: 4/3; }
  body[data-page="service"] > section:first-of-type nav ol { flex-wrap: wrap; }
  body[data-page="service"] h2 { font-size: 31px; }
  body[data-page="service"] #cta .bg-white { padding: 26px; }
  body[data-page="service"] table th, body[data-page="service"] table td { min-width: 110px; padding: 12px; }
  body[data-page="blog"] > section { padding: 48px 0; }
  body[data-page="blog"] > section h1 { font-size: 44px; }
  html[data-design] body[data-page="blog"] > main { padding-block: 32px 64px; }
  body[data-page="blog"] article > a > div { height: 230px; }
  body[data-page="blog"] article > .p-6 { padding: 24px; }
  body[data-page="blog"] article h2, body[data-page="blog"] article > .p-6 > a:first-child { font-size: 27px; }
  body[data-page="article"] > header:not([data-site-nav]) { padding: 28px 24px 0; }
  body[data-page="article"] > header > nav { margin-bottom: 26px; }
  body[data-page="article"] > header h1 { font-size: 39px; }
  body[data-page="article"] .blog-hero { height: 270px; border-radius: 6px 6px 32px 6px; margin-top: 28px; }
  html[data-design] body[data-page="article"] > main { padding: 8px 24px 56px; font-size: 15px; line-height: 1.9; }
  body[data-page="article"] > main > p:first-child { font-size: 17px; }
  body[data-page="article"] > main h2 { font-size: 29px; margin-top: 38px; }
  body[data-page="article"] > main nav, body[data-page="article"] > main > section:last-child { padding: 24px; }
  body[data-page="cycling"] .wrap { padding-inline: 24px; }
  body[data-page="cycling"] section { padding-block: 60px; }
  body[data-page="cycling"] .hero { padding-top: 36px; }
  body[data-page="cycling"] .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  body[data-page="cycling"] .hero h1 { font-size: 43px; }
  body[data-page="cycling"] .hero-left { padding-bottom: 0; }
  body[data-page="cycling"] .hero-ctas { gap: 12px; }
  body[data-page="cycling"] .hero-ctas > a { width: 100%; }
  body[data-page="cycling"] .hero-photo { max-height: 440px; }
  body[data-page="cycling"] .hero-photo img { width: 100%; }
  body[data-page="cycling"] .steps { grid-template-columns: 1fr; }
  body[data-page="cycling"] .step { border-radius: 5px !important; }
  body[data-page="cycling"] .pack-row { grid-template-columns: 36px 1fr; }
  body[data-page="cycling"] .pack-details { grid-column: 2; }
  body[data-page="cycling"] .apropos-grid { gap: 36px; }
  body[data-page="cycling"] .band .wrap { grid-template-columns: 1fr 1fr; gap: 32px; }
  body[data-page="cycling"] .contact-grid { gap: 24px; }
  body[data-page="contact"] main { padding-block: 40px 64px; }
  body[data-page="contact"] main > .container > .grid { gap: 36px; }
  body[data-page="contact"] main h1 { font-size: 48px; }
  body[data-page="contact"] .contact-media { min-height: 0; height: 320px; }
  body[data-page="thanks"] .card { padding: 32px 24px; }
  body[data-page="thanks"] h1 { font-size: 32px; }
  html[data-design] footer > .grid { grid-template-columns: 1fr 1fr; padding: 36px 24px; gap: 24px; }
  html[data-design] footer > .grid > div:first-child { grid-column: 1/-1; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  html[data-design] footer > .grid > div:last-child { grid-column: 1/-1; }
  html[data-design] footer > .border-t > div { padding: 20px 24px; align-items: flex-start; text-align: left; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-design], html[data-design] * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Fullscreen photographic openings. The original content remains in each page. */
@property --pdt-nav-progress {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}
html[data-design] [data-site-nav] {
  --pdt-nav-progress: 1;
  position: fixed; inset: 0 0 auto; width: 100%; z-index: 50;
  background: rgba(255, 254, 250, calc(var(--pdt-nav-progress) * .97)) !important;
  border: 0 !important; backdrop-filter: blur(calc(var(--pdt-nav-progress) * 16px));
  box-shadow: 0 5px 24px rgba(15, 34, 27, calc(var(--pdt-nav-progress) * .07));
}
html[data-design] [data-site-nav] > .container {
  max-width: none !important; padding-inline: clamp(24px, 5.5vw, 88px);
}
html[data-design] [data-site-nav] nav {
  height: 104px;
  border-bottom: 1px solid color-mix(in srgb, #ffffff30, var(--line) calc(var(--pdt-nav-progress) * 100%));
}
html[data-design] [data-site-nav] nav > a {
  padding: 0; border-radius: 0; background: transparent;
  border: 0; flex-shrink: 0;
}
html[data-design] [data-site-nav] nav > a img {
  /* White over the hero; original artwork when the header becomes light. */
  filter: brightness(var(--pdt-nav-progress)) invert(calc(1 - var(--pdt-nav-progress)));
  height: 52px !important;
}
html[data-design] #main-nav {
  color: color-mix(in srgb, #fffefa, var(--ink) calc(var(--pdt-nav-progress) * 100%));
}
/* Inherit the header tone for every link, including previously visited pages. */
html[data-design] #main-nav > a,
html[data-design] #main-nav > a:visited,
html[data-design] #main-nav > div > button { color: inherit; }
html[data-design] #main-nav > a:hover, html[data-design] #main-nav > div > button:hover { color: var(--gold); }
html[data-design] #main-nav > a[href="/contact/"] {
  border-color: color-mix(in srgb, #ffffff70, var(--line) calc(var(--pdt-nav-progress) * 100%));
  background: transparent;
}
html[data-design] #burgerBtn {
  color: color-mix(in srgb, #fffefa, var(--ink) calc(var(--pdt-nav-progress) * 100%));
  border-color: color-mix(in srgb, #ffffff70, var(--line) calc(var(--pdt-nav-progress) * 100%));
  background: transparent;
}
@supports (animation-timeline: scroll()) and (animation-range: 0px 80px) {
  html[data-design] [data-site-nav] {
    animation: pdt-header-tone 1s linear both;
    animation-timeline: scroll(root);
    animation-range: 0px 80px;
  }
}
@keyframes pdt-header-tone {
  from { --pdt-nav-progress: 0; }
  to { --pdt-nav-progress: 1; }
}
html[data-design] #mobileMenu { box-shadow: 0 24px 50px #08161030; }
html[data-design] #mobileMenu a, html[data-design] #mobileMenu button { color: var(--ink); }
html[data-design] #mobileMenu .cta-gold, html[data-design] #mobileMenu .bg-emerald-600 { color: #fffefa; }

body[data-page="home"] > header { padding-top: 0; }
body[data-page="home"] > header > .container { max-width: none !important; padding: 0; }
body[data-page="home"] .hero-blend {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  min-height: 100svh; padding: 168px clamp(24px, 7vw, 112px) 88px; overflow: hidden;
}
body[data-page="home"] .hero-blend__content { position: relative; z-index: 2; padding: 0; max-width: 900px; }
body[data-page="home"] .hero-blend__content::before { width: 64px; background: #e6d6af; margin-bottom: 28px; }
body[data-page="home"] > header h1 { color: #fffefa !important; font-size: clamp(58px, 7.4vw, 112px); max-width: 13ch; line-height: .99; }
html[data-design] body[data-page="home"] > header h1 span { color: #e6d6af; }
body[data-page="home"] .hero-blend__content > p { color: #f3f4ebe8 !important; max-width: 60ch; font-size: 16px; line-height: 1.8; }
body[data-page="home"] .hero-blend__content .mt-8 { flex-direction: row; align-items: center; gap: 12px; }
body[data-page="home"] .hero-blend__content .mt-8 > a { width: auto; }
html[data-design] body[data-page="home"] .hero-blend__content .mt-8 > a:first-child {
  background: #fffefa !important; border-color: #fffefa !important; color: var(--forest) !important;
}
html[data-design] body[data-page="home"] .hero-blend__content .mt-8 > a + a {
  color: #fffefa !important; border-color: #ffffff80 !important; background: #ffffff08 !important;
}
body[data-page="home"] .hero-blend__media {
  position: absolute !important; inset: 0; z-index: 0; height: 100%; min-height: 0; width: 100%; border-radius: 0;
}
body[data-page="home"] .hero-blend__img { object-position: 62% center; }
body[data-page="home"] .reassurance-pills { max-width: 1200px; margin: 0 auto; padding: 30px 0; border-top: 0; }

body[data-page="service"] > section:first-of-type {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: 100svh; padding: 160px clamp(24px, 7vw, 112px) 72px !important;
}
body[data-page="service"] > section:first-of-type > .grid { display: block; width: 100%; max-width: none; padding: 0; margin: 0; }
body[data-page="service"] > section:first-of-type > .grid > div:first-child { position: relative; z-index: 2; max-width: 880px; }
body[data-page="service"] > section:first-of-type > .grid > div:last-child {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; aspect-ratio: auto;
  margin: 0; padding: 0; border-radius: 0; background: transparent;
}
body[data-page="service"] > section:first-of-type img { object-position: center 46%; }
body[data-page="service"] > section:first-of-type h1 { color: #fffefa; font-size: clamp(44px, 4.8vw, 76px); max-width: 22ch; line-height: 1.06; }
body[data-page="service"] > section:first-of-type p { color: #f1f2e9e8; max-width: 64ch; }
body[data-page="service"] > section:first-of-type nav { color: #f1f2e9c9; }
body[data-page="service"] > section:first-of-type ul { color: #f1f2e9dc; max-width: 820px; }
html[data-design] body[data-page="service"] > section:first-of-type .cta-gold { background: #fffefa !important; border-color: #fffefa !important; color: var(--forest) !important; }

body[data-page="cycling"] .hero {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  min-height: 100svh; padding: 168px clamp(24px, 7vw, 112px) 88px; overflow: hidden;
}
body[data-page="cycling"] .hero-grid { display: block; width: 100%; max-width: none !important; padding: 0; margin: 0; }
body[data-page="cycling"] .hero-left { position: relative; z-index: 2; max-width: 850px; padding: 0; }
body[data-page="cycling"] .hero h1 { color: #fffefa; font-size: clamp(52px, 6.3vw, 94px); line-height: 1.03; max-width: 16ch; }
body[data-page="cycling"] .hero p.lead { color: #f1f2e9e8; max-width: 58ch; }
body[data-page="cycling"] .hero .eyebrow { color: #e6d6af; }
body[data-page="cycling"] .hero .btn-primary { background: #fffefa !important; border-color: #fffefa !important; color: var(--forest) !important; }
body[data-page="cycling"] .hero-right { position: absolute; inset: 0; z-index: 0; padding: 0; }
body[data-page="cycling"] .hero-photo { width: 100%; height: 100%; max-height: none; border-radius: 0; aspect-ratio: auto; }
body[data-page="cycling"] .hero-photo img { object-position: 65% 35%; }
body[data-page="cycling"] .hero-photo .tag { inset: auto 32px 28px auto; max-width: 240px; font-size: 11px; background: #14251b80; border: 1px solid #ffffff40; z-index: 3; }
body[data-page="cycling"] .hero-curve { display: none; }

body[data-page="blog"] > section:first-of-type {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  min-height: 100svh; padding: 168px clamp(24px, 7vw, 112px) 96px;
  background: #213f35 url('/images/hero-grand.webp') center / cover;
}
body[data-page="blog"] > section:first-of-type > .container { position: relative; z-index: 2; width: 100%; max-width: none !important; padding: 0; margin: 0; }
body[data-page="blog"] > section:first-of-type h1 { color: #fffefa; font-size: clamp(60px, 7.2vw, 108px); line-height: 1.02; max-width: 12ch; }
body[data-page="blog"] > section:first-of-type p { color: #f1f2e9e8; max-width: 54ch; }

html[data-design] body[data-page="article"] > header:not([data-site-nav]) {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100svh; max-width: none !important; width: 100%; margin: 0;
  padding: 168px clamp(24px, 7vw, 112px) 88px; overflow: hidden; background: var(--forest);
}
body[data-page="article"] > header:not([data-site-nav]) > div { position: static; margin: 0; }
body[data-page="article"] > header > nav { position: relative; z-index: 2; color: #ffffffbf; margin-bottom: 30px; }
body[data-page="article"] > header h1 { position: relative; z-index: 2; color: #fffefa; font-size: clamp(48px, 5.9vw, 88px); line-height: 1.06; max-width: 1000px; }
html[data-design] body[data-page="article"] > header h1 span { color: #e6d6af; }
body[data-page="article"] > header h1 + p { position: relative; z-index: 2; color: #ffffffc9; margin-top: 28px; }
body[data-page="article"] > header figure { position: absolute; inset: 0; z-index: 0; margin: 0; }
body[data-page="article"] .blog-hero { position: absolute; inset: 0; height: 100%; width: 100%; margin: 0; border-radius: 0; }
body[data-page="article"] .blog-hero img { object-position: center; }
html[data-design] body[data-page="article"] > main { padding-top: 60px; }

body[data-page="contact"] .contact-hero {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  min-height: 100svh; padding: 168px clamp(24px, 7vw, 112px) 96px; overflow: hidden; background: var(--forest);
}
body[data-page="contact"] .contact-hero__content { position: relative; z-index: 2; max-width: 800px; }
body[data-page="contact"] .contact-hero h1 { color: #fffefa; font-size: clamp(72px, 9vw, 140px); line-height: 1; }
body[data-page="contact"] .contact-hero p { color: #f1f2e9e8; font-size: 18px; max-width: 46ch; margin-top: 24px; }
body[data-page="contact"] .contact-hero .contact-media {
  position: absolute; inset: 0; z-index: 0; min-height: 0; height: 100%; width: 100%; border-radius: 0; background: transparent;
}
body[data-page="contact"] .contact-hero img { object-position: center 42%; }
body[data-page="contact"] main { padding-block: 72px 96px; }
body[data-page="contact"] main > .container { max-width: 820px !important; }
body[data-page="contact"] main > .container > .grid { display: block; }
body[data-page="contact"] main form { margin-top: 0; }

body[data-page="thanks"] {
  position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center;
  min-height: 100svh; height: auto; padding: 160px 24px 72px;
  background: #213f35 url('/images/hero-grand.webp') center / cover;
}
body[data-page="thanks"] .card { position: relative; z-index: 2; max-width: 800px; padding: 24px 0; background: transparent; border: 0; box-shadow: none; }
body[data-page="thanks"] h1 { color: #fffefa; font-size: clamp(44px, 5vw, 76px); }
body[data-page="thanks"] p { color: #f1f2e9e8; max-width: 48ch; margin: 24px auto 32px; }
body[data-page="thanks"] .icon { background: #ffffff16; border: 1px solid #ffffff40; }
body[data-page="thanks"] .icon svg { color: #e6d6af; }
body[data-page="thanks"] .actions { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 12px; }
body[data-page="thanks"] .btn { background: #fffefa; color: var(--forest); font-size: 14px; padding: 14px 24px; border: 1px solid #fffefa; }
body[data-page="thanks"] .btn.secondary { color: #fffefa; background: #ffffff08; border-color: #ffffff80; }

/* A gradient keeps the full photograph while protecting text contrast. */
body[data-page="home"] .hero-blend::after,
body[data-page="service"] > section:first-of-type::after,
body[data-page="cycling"] .hero::after,
body[data-page="blog"] > section:first-of-type::after,
body[data-page="article"] > header:not([data-site-nav])::after,
body[data-page="contact"] .contact-hero::after,
body[data-page="thanks"]::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, #0b20198f 0%, #0b201914 38%, #0b20196b 100%),
              linear-gradient(90deg, #091b16d4 0%, #091b1680 48%, #091b1614 100%);
}
@media (max-width: 767px) {
  html[data-design] [data-site-nav] nav { height: 84px; }
  html[data-design] [data-site-nav] nav > a img { height: 44px !important; }
  html[data-design] #mobileMenu { max-height: calc(100svh - 84px); }
  body[data-page="home"] .hero-blend { padding: 144px 24px 56px; }
  body[data-page="home"] > header h1 { font-size: clamp(52px, 12vw, 78px); max-width: 11ch; }
  body[data-page="home"] .hero-blend__content > p { font-size: 14px; line-height: 1.8; margin-top: 24px; }
  body[data-page="home"] .hero-blend__content .mt-8 { flex-direction: column; align-items: stretch; margin-top: 26px; }
  body[data-page="home"] .hero-blend__content .mt-8 > a { width: 100%; }
  body[data-page="home"] .hero-blend__media { height: 100%; }
  body[data-page="home"] .hero-blend__img { object-position: 62% center; }
  body[data-page="home"] .reassurance-pills { padding: 8px 14px; }
  body[data-page="service"] > section:first-of-type { padding: 132px 24px 48px !important; }
  body[data-page="service"] > section:first-of-type h1 { font-size: clamp(39px, 10vw, 54px); }
  body[data-page="service"] > section:first-of-type nav { margin-bottom: 24px; line-height: 1.7; }
  body[data-page="service"] > section:first-of-type p { font-size: 14px; line-height: 1.8; }
  body[data-page="service"] > section:first-of-type .mt-6.flex { flex-wrap: wrap; }
  body[data-page="service"] > section:first-of-type ul { font-size: 11px; line-height: 1.7; gap: 8px 20px; }
  body[data-page="cycling"] .hero { padding: 144px 24px 80px; }
  body[data-page="cycling"] .hero h1 { font-size: clamp(48px, 12vw, 68px); }
  body[data-page="cycling"] .hero p.lead { font-size: 14px; line-height: 1.8; }
  body[data-page="cycling"] .hero-photo { max-height: none; height: 100%; aspect-ratio: auto; }
  body[data-page="cycling"] .hero-photo img { object-position: 58% center; }
  body[data-page="cycling"] .hero-photo .tag { right: 24px; bottom: 22px; }
  body[data-page="blog"] > section:first-of-type { padding: 144px 24px 64px; }
  body[data-page="blog"] > section:first-of-type h1 { font-size: clamp(55px, 13vw, 76px); }
  body[data-page="blog"] > section:first-of-type p { font-size: 15px; }
  html[data-design] body[data-page="article"] > header:not([data-site-nav]) { padding: 144px 24px 60px; }
  body[data-page="article"] > header h1 { font-size: clamp(40px, 10.4vw, 58px); }
  body[data-page="article"] > header > nav { font-size: 11px; line-height: 1.7; margin-bottom: 28px; }
  body[data-page="article"] > header h1 + p { font-size: 11px; line-height: 1.7; gap: 6px; }
  body[data-page="article"] .blog-hero { height: 100%; border-radius: 0; margin: 0; }
  html[data-design] body[data-page="article"] > main { padding-top: 32px; }
  body[data-page="contact"] .contact-hero { padding: 144px 24px 64px; }
  body[data-page="contact"] .contact-hero h1 { font-size: 76px; }
  body[data-page="contact"] .contact-hero p { font-size: 16px; }
  body[data-page="contact"] .contact-hero .contact-media { height: 100%; }
  body[data-page="contact"] main { padding-block: 40px 64px; }
  body[data-page="thanks"] { padding-top: 132px; }
  body[data-page="thanks"] h1 { font-size: 44px; }
  body[data-page="thanks"] .actions { flex-direction: column; }
}

/* Contact: the conversation and the form share the opening screen. */
html[data-design] body[data-page="contact"] .contact-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  align-items: center; gap: clamp(40px, 6vw, 96px);
  padding: 148px clamp(24px, 7vw, 112px) 64px;
}
body[data-page="contact"] .contact-hero__content { align-self: center; }
body[data-page="contact"] .contact-hero h1 { font-size: clamp(72px, 8vw, 120px); }
body[data-page="contact"] .contact-hero__content > p { max-width: 32ch; }
body[data-page="contact"] .contact-hero__content > p:last-child {
  margin-top: 36px; padding-top: 24px; border-top: 1px solid #ffffff40;
  font-size: 13px; line-height: 1.9; color: #f1f2e9c9;
}
body[data-page="contact"] .contact-hero__content > p:last-child a { color: #fffefa; display: block; font-size: 15px; overflow-wrap: anywhere; }
body[data-page="contact"] .contact-hero__form {
  position: relative; z-index: 2; width: 100%; padding: 32px;
  border: 1px solid #ffffffb3; border-radius: 12px; background: #fffefaf5;
  box-shadow: 0 24px 72px #071d1830; color: var(--ink);
}
body[data-page="contact"] .contact-hero__form form { margin: 0; gap: 12px; }
body[data-page="contact"] .contact-hero__form input,
body[data-page="contact"] .contact-hero__form select,
body[data-page="contact"] .contact-hero__form textarea { background: #fffefa; color: var(--ink); }
body[data-page="contact"] .contact-hero__form textarea { min-height: 128px; }
body[data-page="contact"] .contact-hero__form button[type="submit"] { width: 100%; margin-top: 4px; }
body[data-page="contact"] .contact-hero__form #formResponse { margin: 0; font-size: 13px; }
@media (max-width: 1023px) {
  html[data-design] body[data-page="contact"] .contact-hero { grid-template-columns: 1fr 1fr; gap: 32px; }
  body[data-page="contact"] .contact-hero h1 { font-size: 76px; }
  body[data-page="contact"] .contact-hero__form { padding: 24px; }
}
@media (max-width: 767px) {
  html[data-design] body[data-page="contact"] .contact-hero {
    grid-template-columns: minmax(0, 1fr); padding: 132px 24px 48px; gap: 32px;
  }
  body[data-page="contact"] .contact-hero h1 { font-size: 68px; }
  body[data-page="contact"] .contact-hero__content > p { max-width: 36ch; font-size: 15px; }
  body[data-page="contact"] .contact-hero__content > p:last-child { margin-top: 24px; padding-top: 16px; font-size: 12px; }
  body[data-page="contact"] .contact-hero__content > p:last-child a { font-size: 14px; }
  body[data-page="contact"] .contact-hero__form { padding: 22px; border-radius: 8px; }
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body[data-page="home"] .hero-blend {
    background: var(--forest) url('/images/hero-grand.webp') center / cover fixed;
  }
  body[data-page="home"] .hero-blend__media { opacity: 0; pointer-events: none; }
  body[data-page="blog"] > section:first-of-type { background-attachment: fixed; }
}
