/* CGYM · Protocollo Cucco
   Direzione: capitoli alternati scuro (grafite) / chiaro (gesso), come le pagine prodotto.
   Il verde del logo è l'unico accento. Titoli Archivo largo e pesante, testo Figtree. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  /* colori */
  --ink: #0f1211;          /* grafite di base */
  --ink-2: #171b19;        /* superfici rialzate su scuro */
  --ink-3: #222725;
  --graphite: #3c3d41;     /* grigio del logo */
  --chalk: #f2f3ee;        /* gesso: fondo chiaro */
  --chalk-2: #e4e7de;
  --stone: #a1a7a0;        /* testo secondario su scuro */
  --stone-dark: #575c56;   /* testo secondario su chiaro */
  --lime: #8dc753;         /* verde del logo */
  --lime-soft: #b6de8c;
  --lime-ink: #3d6915;     /* verde per testo su chiaro */
  --line: rgba(242, 243, 238, 0.12);
  --line-dark: rgba(15, 18, 17, 0.12);
  --demo: #e3b23c;

  /* tipografia */
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-hero: clamp(2.7rem, 7.4vw, 7rem);
  --t-h2: clamp(2.1rem, 5vw, 4.4rem);
  --t-h3: clamp(1.3rem, 2vw, 1.7rem);
  --t-lead: clamp(1.1rem, 1.5vw, 1.3rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;

  /* spazi */
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --section: clamp(5rem, 11vw, 9.5rem);
  --radius: 22px;
  --radius-lg: 34px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 780; font-stretch: 112%; line-height: 1; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.section { padding-block: var(--section); position: relative; }
.light { background: var(--chalk); color: var(--ink); }
.light ::selection { background: var(--ink); color: var(--chalk); }

/* etichette e testi ricorrenti */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-stretch: 100%; font-weight: 650;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.light .eyebrow { color: var(--lime-ink); }
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); line-height: 1.12; }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--stone); max-width: 38ch; }
.light .lead { color: var(--stone-dark); }
.muted { color: var(--stone); }
.light .muted { color: var(--stone-dark); }
.accent { color: var(--lime); }
.light .accent { color: var(--lime-ink); }
.section-head { display: grid; gap: 22px; max-width: 860px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head--split { max-width: none; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; }

/* contenuti di esempio */
.tag-demo {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--display); font-stretch: 100%; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--demo); border: 1.5px dashed var(--demo); border-radius: 999px; padding: 3px 10px;
}
.light .tag-demo { color: #8a6200; border-color: #b8860b; }
.is-demo { outline: 1.5px dashed color-mix(in srgb, var(--demo) 70%, transparent); outline-offset: 4px; border-radius: 6px; }
.light .is-demo { outline-color: #b8860b; }

/* pulsanti */
.btn {
  --bg: transparent; --fg: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--display); font-stretch: 105%; font-weight: 700; font-size: 1rem; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .35s var(--ease);
}
.btn--lime { --bg: var(--lime); --fg: var(--ink); box-shadow: 0 0 0 0 rgba(141, 199, 83, 0); }
.btn--lime:hover { --bg: var(--lime-soft); box-shadow: 0 12px 40px -10px rgba(141, 199, 83, .7); }
.btn--ghost { box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px currentColor; }
.light .btn--ghost { box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.light .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--dark { --bg: var(--ink); --fg: var(--chalk); }
.btn--dark:hover { --bg: var(--graphite); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 0.9rem; }
.btn--lg { min-height: 56px; padding: 14px 30px; font-size: 1.05rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; text-decoration: none; padding-block: 8px; }
.link-arrow::after { content: "→"; transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease); }
.link-arrow:hover span { background-size: 100% 1.5px; }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
.site-header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  background: rgba(15, 18, 17, .55); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  transition: background-color .4s var(--ease);
}
.site-header.is-scrolled, .menu-open .site-header { background: rgba(15, 18, 17, .78); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); max-width: 1280px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.brand { display: inline-flex; padding: 6px 0; }
.wordmark { height: 30px; width: auto; }
.wordmark path, .mark path { fill-rule: evenodd; }
.lg-g { fill: var(--lime); }
.lg-d { fill: var(--chalk); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav ul { display: flex; gap: 6px; }
.nav ul a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 550; font-size: 0.95rem; color: var(--stone); transition: color .25s, background-color .25s; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--chalk); }
.nav ul a[aria-current="page"] { background: var(--ink-3); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; border-radius: 12px; }
.menu-toggle__bars, .menu-toggle__bars::before { display: block; width: 22px; height: 2px; margin: 0 auto; background: var(--chalk); border-radius: 2px; transition: transform .35s var(--ease); position: relative; }
.menu-toggle__bars { transform: translateY(-4px); }
.menu-toggle__bars::before { content: ""; position: absolute; top: 8px; left: 0; }
.menu-open .menu-toggle__bars { transform: translateY(0) rotate(45deg); }
.menu-open .menu-toggle__bars::before { transform: translateY(-8px) rotate(-90deg); }

/* barra di avanzamento: un bilanciere che si carica scorrendo */
.bar-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.bar-progress span { position: absolute; inset: 0 auto 0 0; width: calc(var(--progress, 0) * 100%); background: var(--lime); }

/* avviso bozza */
.draft-note {
  position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: flex; align-items: center; gap: 12px; max-width: min(440px, calc(100vw - 32px));
  padding: 10px 10px 10px 14px; border-radius: 16px;
  background: rgba(23, 27, 25, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); font-size: 0.82rem; line-height: 1.4; color: var(--stone);
  transition: transform .5s var(--ease), opacity .5s;
}
.draft-note button { flex: none; width: 32px; height: 32px; border-radius: 10px; border: 0; background: var(--ink-3); color: var(--chalk); cursor: pointer; font-size: 1.1rem; }
.draft-note.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 5rem)); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden; isolation: isolate; }
.hero__glow { position: absolute; z-index: -1; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; right: -18vw; top: -10vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(141, 199, 83, .16), transparent 70%); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__text { display: grid; gap: 26px; justify-items: start; }
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 5.6rem); line-height: .95; font-stretch: 112%; font-weight: 820; }
@media (min-width: 901px) { .hero h1 .line > span { white-space: nowrap; } }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .line > span { display: block; animation: rise 1.1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; color: var(--lime); }
.hero .lead { max-width: 46ch; animation: fadeUp 1s .45s var(--ease) both; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; animation: fadeUp 1s .6s var(--ease) both; }
.hero .eyebrow { animation: fadeUp .9s .05s var(--ease) both; }
.hero__media { position: relative; justify-self: end; width: 100%; max-width: 420px; }
.hero__media .video-card { animation: cardIn 1.4s .2s var(--ease) both; }
.hero__badges { animation: fadeUp 1s .9s var(--ease) both; }
.video-card { position: relative; aspect-ratio: 9 / 16; max-height: 76vh; width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .8), 0 0 0 1px var(--line); }
.video-card video, .video-card img { width: 100%; height: 100%; object-fit: cover; }
.video-card__shade { position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(8, 10, 9, .85)); pointer-events: none; }
.video-card__label { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.video-card__label strong { display: block; font-family: var(--display); font-stretch: 110%; font-size: 1.15rem; line-height: 1.1; }
.video-card__label span { font-size: .85rem; color: var(--stone); }
.sound-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 0; border-radius: 999px; background: rgba(242, 243, 238, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--chalk); cursor: pointer; font-size: .82rem; font-weight: 650; transition: background-color .25s; }
.sound-btn:hover { background: rgba(242, 243, 238, .24); }
.sound-btn svg { width: 18px; height: 18px; fill: currentColor; }
.hero__badges { position: absolute; left: -38px; top: 12%; display: grid; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px; background: rgba(23, 27, 25, .94); will-change: transform; border: 1px solid var(--line); font-weight: 650; font-size: .88rem; white-space: nowrap; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); animation: float 6s ease-in-out infinite; }
.badge:nth-child(2) { margin-left: 34px; animation-delay: -3s; }
.badge i { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(141, 199, 83, .2); }
.hero__mark { margin-top: clamp(3rem, 7vw, 6rem); }
.hero__mark .mark { width: 100%; height: auto; opacity: .9; }
.mk-c, .mk-g { transform-box: fill-box; transition: transform .2s linear; }
.mk-c { transform: translateX(calc((1 - var(--k, 1)) * -45%)); }
.mk-g { transform: translateX(calc((1 - var(--k, 1)) * 22%)); }
.hero__mark { opacity: calc(.35 + var(--k, 1) * .65); max-width: 1100px; margin-inline: auto; }
.hero__strip { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 22px; color: var(--stone); font-size: .95rem; }
.hero__strip b { color: var(--chalk); font-weight: 650; }

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(40px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes plateL { from { transform: translateX(-14%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes plateR { from { transform: translateX(10%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- comparsa allo scorrimento ---------- */
.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-pending { opacity: 0; transform: translateY(36px); }

/* ---------- storie ---------- */
.stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.story { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 var(--line-dark), 0 30px 60px -40px rgba(15, 18, 17, .35); overflow: hidden; transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.story:hover { box-shadow: 0 1px 0 var(--line-dark), 0 40px 80px -40px rgba(15, 18, 17, .5); }
.story__media { position: relative; aspect-ratio: 4 / 3; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--chalk-2); }
.ph { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #dfe2d8 0 10px, #e8eae2 10px 20px); color: var(--stone-dark); font-family: var(--display); font-stretch: 100%; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ph--dark { background: repeating-linear-gradient(135deg, #1d2220 0 10px, #232826 10px 20px); color: var(--stone); }
.story__media .tag-demo { position: absolute; left: 14px; top: 14px; background: #fff; }
.story__body { display: grid; align-content: start; gap: 16px; padding: 24px 24px 26px; }
.goal-tag { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--chalk); font-size: .8rem; font-weight: 650; }
.goal-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.story blockquote { margin: 0; font-family: var(--display); font-stretch: 105%; font-weight: 650; font-size: 1.22rem; line-height: 1.25; letter-spacing: -0.01em; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-dark); font-size: .88rem; }
.facts dt { color: var(--stone-dark); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.facts dd { margin: 2px 0 0; font-weight: 650; }
.stories-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; }
.disclaimer { font-size: .85rem; color: var(--stone-dark); }

/* ---------- obiettivi ---------- */
.goals { display: flex; gap: 14px; min-height: 540px; }
.goal {
  --c: var(--ink-2);
  position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: 30px; border-radius: var(--radius-lg); background: var(--c); border: 1px solid var(--line); overflow: hidden;
  transition: flex-grow .8s var(--ease), background-color .6s var(--ease), color .6s var(--ease), border-color .6s;
  cursor: pointer; text-align: left; color: var(--chalk);
}
.goal.is-active { flex-grow: 2.3; background: var(--lime); color: var(--ink); border-color: var(--lime); }
.goal__word { font-family: var(--display); font-stretch: 125%; font-weight: 850; font-size: clamp(3rem, 6.4vw, 6.2rem); line-height: .85; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--stone); transition: color .6s var(--ease), -webkit-text-stroke-color .6s; white-space: nowrap; }
.goal.is-active .goal__word { color: var(--ink); -webkit-text-stroke-color: var(--ink); }
@media (min-width: 901px) {
  .goal:not(.is-active) .goal__word { writing-mode: vertical-rl; transform: rotate(180deg); margin-top: auto; font-size: clamp(3rem, 5vw, 5.2rem); }
  .goal:not(.is-active) .goal__more { position: absolute; visibility: hidden; }
}
.goal__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.goal__label { font-weight: 650; font-size: .95rem; }
.goal__icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid currentColor; transition: transform .6s var(--ease); }
.goal.is-active .goal__icon { transform: rotate(-45deg); }
.goal__more { display: grid; gap: 18px; max-width: 46ch; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.goal.is-active .goal__more { opacity: 1; transform: none; transition-delay: .25s; }
.goal__quote { font-family: var(--display); font-stretch: 108%; font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 720; line-height: 1.12; letter-spacing: -.015em; }
.goal__text { font-size: 1rem; }
.goal .btn { justify-self: start; }

/* ---------- filosofia: scena fissata ---------- */
.philo { position: relative; height: 340vh; }
.philo__stage { position: sticky; top: 0; padding-top: var(--header-h); height: 100vh; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.philo__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.philo__words { display: grid; gap: .1em; margin-top: 20px; }
.philo__word {
  --p: 0;
  font-family: var(--display); font-stretch: 112%; font-weight: 850; font-size: clamp(2.4rem, 5.4vw, 5.6rem); line-height: .98; letter-spacing: -0.035em;
  background: linear-gradient(90deg, var(--ink) calc(var(--p) * 100%), rgba(15, 18, 17, .13) calc(var(--p) * 100%));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.philo__word:last-child { background-image: linear-gradient(90deg, var(--lime-ink) calc(var(--p) * 100%), rgba(15, 18, 17, .13) calc(var(--p) * 100%)); }
.philo__side { display: grid; gap: 26px; }
.philo__caption { min-height: 6.5em; display: grid; }
.philo__caption p { grid-area: 1 / 1; font-size: var(--t-lead); line-height: 1.45; color: var(--stone-dark); opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.philo__caption p strong { display: block; color: var(--ink); font-family: var(--display); font-stretch: 108%; font-size: 1.5rem; line-height: 1.15; margin-bottom: 8px; letter-spacing: -.01em; }
.philo__caption p.is-on { opacity: 1; transform: none; }
.streak { padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: 0 30px 60px -40px rgba(15, 18, 17, .35); }
.streak__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; font-size: .82rem; color: var(--stone-dark); }
.streak__head b { font-family: var(--display); font-stretch: 110%; font-size: 1.6rem; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.streak__body { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.streak__days { display: grid; grid-template-rows: repeat(7, 1fr); gap: 5px; font-size: .66rem; color: var(--stone-dark); font-weight: 600; align-items: center; }
.streak__grid { display: grid; grid-template-rows: repeat(7, auto); grid-auto-flow: column; grid-auto-columns: 1fr; gap: 5px; }
.streak__grid i { aspect-ratio: 1; border-radius: 4px; background: var(--chalk-2); transition: background-color .35s var(--ease), transform .35s var(--ease); }
.streak__grid i.on { background: var(--lime); transform: scale(1.02); }
.streak__grid i.rest.on { background: #cfe6b5; }
.streak__foot { margin-top: 12px; font-size: .78rem; color: var(--stone-dark); }
.philo-static { display: none; }

/* ---------- video metodo ---------- */
.method-video { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.player { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line); }
.player video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.player__play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, .1), rgba(0, 0, 0, .55)); cursor: pointer; color: var(--ink); }
.player__play span { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--lime); transition: transform .5s var(--ease); box-shadow: 0 0 0 14px rgba(141, 199, 83, .18); }
.player__play:hover span { transform: scale(1.08); }
.player__play svg { width: 30px; height: 30px; margin-left: 5px; fill: currentColor; }
.player .tag-demo { position: absolute; left: 18px; top: 18px; background: rgba(0, 0, 0, .7); color: var(--demo); border-color: var(--demo); }
.player.is-playing .player__play { opacity: 0; pointer-events: none; }

/* ---------- online + palestre h24 ---------- */
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mode { position: relative; min-height: 600px; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3vw, 40px); isolation: isolate; color: var(--chalk); }
.mode__img { position: absolute; inset: 0; z-index: -2; }
.mode__img img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.mode::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 10, 9, 0) 25%, rgba(8, 10, 9, .88) 78%); }
.mode__body { display: grid; gap: 14px; max-width: 440px; }
.mode__kicker { font-family: var(--display); font-stretch: 100%; font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.mode h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.mode p { color: rgba(242, 243, 238, .82); }
.clock { display: inline-flex; align-items: center; gap: 12px; justify-self: start; margin-top: 6px; padding: 10px 16px; border-radius: 16px; background: rgba(15, 18, 17, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); font-size: .9rem; }
.clock b { font-family: var(--display); font-stretch: 110%; font-size: 1.35rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.clock i { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(141, 199, 83, .6); } 100% { box-shadow: 0 0 0 12px rgba(141, 199, 83, 0); } }

/* ---------- gabriele ---------- */
.coach { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.coach__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--chalk-2); }
.coach__photo img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 20%; }
.coach__sig { position: absolute; right: 18px; bottom: 18px; padding: 10px 16px; border-radius: 14px; background: rgba(242, 243, 238, .9); color: var(--ink); font-weight: 650; font-size: .88rem; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.coach__text { display: grid; gap: 24px; justify-items: start; }
.coach__quote { font-family: var(--display); font-stretch: 110%; font-weight: 760; font-size: clamp(1.7rem, 3.2vw, 2.8rem); line-height: 1.08; letter-spacing: -.025em; }
.coach__quote em { font-style: normal; color: var(--lime-ink); }

/* ---------- passi ---------- */
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps__line { position: absolute; left: 30px; right: 30px; top: 30px; height: 4px; border-radius: 4px; background: var(--ink-3); }
.steps__line span { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); border-radius: 4px; background: var(--lime); }
.step { position: relative; display: grid; gap: 16px; align-content: start; }
.step__n { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); border: 4px solid var(--ink-3); font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.3rem; transition: border-color .5s, background-color .5s, color .5s; position: relative; }
.step.is-done .step__n { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.step h3 { font-size: 1.5rem; line-height: 1.1; }
.step p { color: var(--stone); max-width: 32ch; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__list { border-top: 1px solid var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line-dark); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--display); font-stretch: 106%; font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.35rem); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 5h2v14h-2zM5 11h14v2H5z' fill='%23f2f3ee'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .45s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--lime-ink); }
.faq__answer { padding: 0 0 26px; color: var(--stone-dark); max-width: 60ch; display: grid; gap: 10px; justify-items: start; }
.faq-sticky { position: sticky; top: calc(var(--header-h) + 30px); display: grid; gap: 22px; justify-items: start; }

/* ---------- contatto finale + modulo ---------- */
.final { position: relative; overflow: hidden; isolation: isolate; }
.final__bg { position: absolute; inset: auto -10% -40% -10%; height: 90%; z-index: -1; background: radial-gradient(ellipse at 50% 100%, rgba(141, 199, 83, .22), transparent 60%); pointer-events: none; }
.final__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.final h2 { font-size: clamp(2.4rem, 5.6vw, 5rem); font-stretch: 116%; }
.final__text { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 30px); }
.lead-form { display: grid; gap: 22px; padding: clamp(22px, 3vw, 38px); border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--line); position: relative; }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 650; font-size: .95rem; padding: 0; margin-bottom: 0; }
.field legend { margin-bottom: 10px; }
.field__opt { font-weight: 450; color: var(--stone); font-size: .82rem; margin-left: 4px; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--ink); color: var(--chalk); transition: border-color .25s, box-shadow .25s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #6f756f; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(141, 199, 83, .18); }
.field [aria-invalid="true"] { border-color: #ff8a7a; }
.field__error { color: #ffab9f; font-size: .85rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .95rem; transition: background-color .25s, border-color .25s, color .25s; }
.chip input:hover + span { border-color: var(--stone); }
.chip input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 3px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--stone); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--lime); }
.lead-form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lead-form__done { position: absolute; inset: 0; display: grid; align-content: center; justify-items: start; gap: 14px; padding: clamp(24px, 4vw, 48px); border-radius: inherit; background: var(--ink-2); animation: fadeUp .6s var(--ease) both; }
.lead-form__done-title { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -.02em; }
.lead-form__done-title::before { content: ""; display: block; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z' fill='%230f1211'/%3E%3C/svg%3E") center / 28px no-repeat; }

/* ---------- pagine interne: apertura ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 7rem)); padding-bottom: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; isolation: isolate; }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 7.6rem); font-stretch: 120%; font-weight: 840; line-height: .92; }
.page-hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.page-hero h1 .line > span { display: block; animation: rise 1.1s var(--ease) both; }
.page-hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.page-hero__inner { display: grid; gap: 28px; }
.page-hero .lead { animation: fadeUp 1s .35s var(--ease) both; max-width: 52ch; }

/* risultati */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button { min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line-dark); background: transparent; cursor: pointer; font-weight: 650; color: var(--ink); transition: background-color .25s, color .25s, border-color .25s; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--chalk); border-color: var(--ink); }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: 0 30px 60px -45px rgba(15, 18, 17, .4); transition: opacity .4s, transform .5s var(--ease); }
.case.is-out { display: none; }
.ba { position: relative; aspect-ratio: 4 / 5; overflow: hidden; user-select: none; touch-action: pan-y; --pos: 50%; }
.ba__layer { position: absolute; inset: 0; display: grid; place-items: center; }
.ba__before { background: repeating-linear-gradient(135deg, #d9dcd2 0 12px, #e3e5dd 12px 24px); color: var(--stone-dark); }
.ba__after { background: repeating-linear-gradient(135deg, #cfe6b5 0 12px, #dbedc8 12px 24px); color: var(--lime-ink); clip-path: inset(0 0 0 var(--pos)); }
.ba__layer span { font-family: var(--display); font-stretch: 100%; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.ba__layer span { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.ba__before span { left: 25%; }
.ba__after span { left: 75%; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ba__handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); font-weight: 800; font-size: 1rem; letter-spacing: 2px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba .tag-demo { position: absolute; left: 14px; top: 14px; background: #fff; z-index: 2; pointer-events: none; }
.ba:has(input:focus-visible) .ba__handle::after { outline: 3px solid var(--lime-ink); outline-offset: 2px; }
.vtests { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vtest { position: relative; aspect-ratio: 9 / 14; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border: 1px solid var(--line); }
.vtest .play { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: rgba(242, 243, 238, .12); align-self: center; margin-block: auto; }
.vtest .play svg { width: 22px; height: 22px; margin-left: 3px; fill: var(--chalk); }
.vtest p { font-weight: 650; }
.wins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.win { padding: 26px 22px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.win b { font-family: var(--display); font-stretch: 110%; font-size: 1.3rem; line-height: 1.1; letter-spacing: -.01em; }
.win p { color: var(--stone); font-size: .95rem; }

/* gabriele */
.g-hero { position: relative; padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)); overflow: hidden; isolation: isolate; }
.g-hero__name { font-family: var(--display); font-stretch: 125%; font-weight: 880; font-size: clamp(3.4rem, 15.5vw, 15rem); line-height: .82; letter-spacing: -.05em; color: var(--ink); white-space: nowrap; }
.g-hero__name span { display: block; }
.g-hero__name span:last-child { color: var(--lime-ink); text-align: right; }
.g-hero__figure { position: relative; margin: clamp(-9rem, -11vw, -3rem) auto 0; width: min(560px, 82vw); z-index: -1; }
.g-hero__figure img { width: 100%; border-radius: 0 0 var(--radius-lg) var(--radius-lg); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
.g-hero__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(3rem, 6vw, 5rem); align-items: start; }
.prose { display: grid; gap: 18px; max-width: 62ch; }
.prose p { color: var(--stone-dark); }
.quals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.qual { padding: 26px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.qual b { font-family: var(--display); font-stretch: 108%; font-size: 1.25rem; line-height: 1.15; }
.qual p { color: var(--stone); font-size: .95rem; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 16px; }
.bento figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--ink-2); }
.bento img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento figure:hover img { transform: scale(1.04); }
.bento figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(15, 18, 17, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .8rem; font-weight: 600; color: var(--chalk); }
.bento .b1 { grid-column: span 5; grid-row: span 2; }
.bento .b2 { grid-column: span 4; grid-row: span 2; }
.bento .b3 { grid-column: span 3; grid-row: span 1; }
.bento .b4 { grid-column: span 3; grid-row: span 1; }
.bento .b1 img { object-position: 50% 15%; }

/* contatti */
.channels { display: grid; gap: 14px; }
.channel { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--ink); box-shadow: 0 20px 50px -40px rgba(15, 18, 17, .4); transition: transform .4s var(--ease); }
.channel:hover { transform: translateX(6px); }
.channel small { display: block; color: var(--stone-dark); font-size: .82rem; }
.channel b { font-family: var(--display); font-stretch: 108%; font-size: 1.2rem; }
.channel::after { content: "→"; font-size: 1.3rem; }
.sedi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sede { padding: 26px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); display: grid; gap: 10px; }
.sede b { font-family: var(--display); font-stretch: 110%; font-size: 1.4rem; }
.sede .open { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font-weight: 650; font-size: .9rem; }
.sede .open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

/* pagine legali */
.legal { max-width: 760px; display: grid; gap: 18px; }
.legal h2 { font-size: 1.5rem; margin-top: 18px; }
.legal p, .legal li { color: var(--stone-dark); }
.legal ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; }

/* ---------- footer ---------- */
.site-footer { padding-top: clamp(4rem, 8vw, 6rem); padding-bottom: calc(clamp(2rem, 4vw, 3rem) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--ink); color: var(--chalk); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__brand { display: grid; gap: 20px; align-content: start; max-width: 320px; }
.site-footer__brand img { width: 130px; }
.site-footer__brand p { color: var(--stone); font-size: .95rem; }
.site-footer__title { font-family: var(--display); font-stretch: 100%; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); margin-bottom: 16px; }
.site-footer__links { display: grid; gap: 10px; font-size: .95rem; justify-items: start; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { color: var(--lime); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--stone); }
.site-footer__bottom a { color: var(--stone); }

/* barra contatto fissa su mobile */
.dock { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero__badges { left: -18px; }
  .goals { min-height: 500px; }
  .goal { padding: 24px; }
  .wins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
    padding: 28px var(--gutter-r) calc(28px + env(safe-area-inset-bottom, 0px)) var(--gutter);
    background: var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s .5s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { font-family: var(--display); font-stretch: 112%; font-weight: 760; font-size: 2.1rem; letter-spacing: -.02em; color: var(--chalk); padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav ul a[aria-current="page"] { background: none; color: var(--lime); }
  .nav__cta { min-height: 56px; font-size: 1.05rem; }
  .menu-open { overflow: hidden; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { justify-self: center; max-width: 360px; margin-top: 10px; }
  .video-card { max-height: none; }
  .hero__badges { left: -10px; top: 8%; }

  .section-head--split { grid-template-columns: 1fr; }
  .stories { grid-template-columns: 1fr; max-width: 560px; }
  .stories { margin-inline: auto; }

  .goals { flex-direction: column; min-height: 0; }
  .goal { flex: none; min-height: 0; }
  .goal__word { font-size: clamp(2.6rem, 13vw, 4.5rem); }
  .goal__more { opacity: 1; transform: none; }
  .goal.is-active { flex-grow: 0; }

  .philo { height: auto; }
  .philo__stage { position: relative; height: auto; padding-block: var(--section); }
  .philo__grid { grid-template-columns: 1fr; }
  .philo__caption { min-height: 0; display: grid; gap: 22px; }
  .philo__caption p { grid-area: auto; opacity: 1; transform: none; }
  .philo__word { --p: 1 !important; }

  .method-video, .coach, .faq, .final__grid, .g-hero__intro { grid-template-columns: 1fr; }
  .final__text, .faq-sticky { position: static; }
  .modes { grid-template-columns: 1fr; }
  .mode { min-height: 520px; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps__line { left: 30px; right: auto; top: 30px; bottom: 30px; width: 4px; height: auto; }
  .steps__line span { inset: 0 0 auto 0; width: auto; height: calc(var(--p, 0) * 100%); }
  .step { grid-template-columns: 64px 1fr; column-gap: 20px; }
  .step > :not(.step__n) { grid-column: 2; }
  .step__n { grid-row: span 2; }
  .cases, .vtests, .quals { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .bento .b1, .bento .b2 { grid-column: span 1; grid-row: span 2; }
  .bento .b3, .bento .b4 { grid-column: span 1; grid-row: span 1; }

  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: flex; gap: 10px;
    padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter);
    background: rgba(15, 18, 17, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .5s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock__cta { flex: 1; }
  .dock__wa { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-3); }
  .dock__wa svg { width: 22px; height: 22px; fill: var(--chalk); }
  .draft-note { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 600px) {
  .hero { padding-top: calc(var(--header-h) + 1.5rem); }
  .hero .eyebrow { font-size: .7rem; letter-spacing: .12em; }
  .hero .lead { font-size: 1.05rem; }
  .hero__text { gap: 20px; }
  .draft-note { padding: 6px 6px 6px 10px; gap: 8px; }
  .draft-note p { font-size: .74rem; }
  .draft-note button { width: 28px; height: 28px; }
  .lead-form__row { grid-template-columns: 1fr; }
  .cases, .vtests, .quals, .sedi { grid-template-columns: 1fr; }
  .wins { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__actions .btn { width: 100%; }
  .lead-form__actions .btn { width: 100%; white-space: normal; }
  .hero__badges { position: static; display: flex; flex-wrap: wrap; margin-top: 14px; }
  .badge:nth-child(2) { margin-left: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .bento { grid-auto-rows: 150px; }
  .g-hero__name span:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
  .philo { height: auto; }
  .philo__stage { position: relative; height: auto; padding-block: var(--section); }
  .philo__word { --p: 1 !important; }
  .philo__caption { display: grid; gap: 22px; min-height: 0; }
  .philo__caption p { grid-area: auto; opacity: 1; transform: none; }
}
.case blockquote { margin: 0; font-family: var(--display); font-stretch: 105%; font-weight: 650; font-size: 1.22rem; line-height: 1.25; letter-spacing: -0.01em; }
