/* Brand home page (prototype): fixed masthead, sticky full-screen banner, mega menu,
   image panels. Loaded after site.css on index.html only until the style is validated. */

html { scroll-padding-top: 84px; }
html.menu-open { overflow: hidden; }
section { scroll-margin-top: 84px; }

.kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font: 600 13px var(--font-text); letter-spacing: .3em; text-transform: uppercase; color: var(--primary); }
.kicker::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.title-up { font-size: clamp(34px, 5vw, 64px); text-transform: uppercase; letter-spacing: .02em; line-height: 1.02; }
.statement { margin-top: 22px; font: 500 clamp(20px, 2.2vw, 26px)/1.4 var(--font-display); color: #e6ecf4; max-width: 30ch; }
.body-text { margin-top: 20px; color: var(--muted); max-width: 52ch; }

/* ---------- Masthead: transparent over the banner, solid once the page scrolls ---------- */
/* No border of its own: over the photo the header is fully transparent; the separating line
   comes with the solid state (::before) once the page scrolls. */
.masthead { position: fixed; top: 0; left: 0; right: 0; z-index: 30; border-bottom: 0; }
/* site.css blurs everything under the header; over the photo that blurred band read as a
   frame cutting the picture, so the blur only comes with the solid state below. */
.masthead::before { backdrop-filter: none; -webkit-backdrop-filter: none; }
.masthead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,4,31,.75), rgba(0,4,31,0)); transition: background .35s, border-color .35s; border-bottom: 1px solid transparent; }
.masthead.is-solid::before { background: rgba(0,4,31,.94); border-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.mast { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; }
.wordmark { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.wordmark img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 22px -4px rgba(29,161,194,.7); }
.wordmark span { font: 600 17px var(--font-display); letter-spacing: .26em; text-transform: uppercase; }
@media (max-width: 480px) { .wordmark span { font-size: 13px; letter-spacing: .18em; } .wordmark img { width: 38px; height: 38px; } }
@media (max-width: 360px) { .wordmark span { display: none; } }

/* Mega menu (desktop): each rubric opens its panel on hover or keyboard focus, no JS needed. */
.mega { display: none; }
.mega > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; }
.mega > ul > li { position: relative; }
.mega > ul > li > a { display: block; padding: 30px 0; font: 500 13px var(--font-text); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: #dbe3ee; }
.mega > ul > li > a:hover, .mega > ul > li:focus-within > a, .mega > ul > li > a[aria-current="page"] { color: #fff; }
.mega > ul > li > a::after { content: ""; display: block; height: 2px; margin-top: 6px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.mega > ul > li:hover > a::after, .mega > ul > li:focus-within > a::after { transform: scaleX(1); }
.panel { position: absolute; top: 100%; left: -28px; min-width: 300px; padding: 22px 28px 24px; border-radius: 18px; background: rgba(4,10,43,.97); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.mega > ul > li:hover .panel, .mega > ul > li:focus-within .panel { opacity: 1; visibility: visible; transform: none; }
.panel p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.panel ul { list-style: none; margin: 0; padding: 0; }
.panel a { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; text-decoration: none; font-size: 15px; color: #e1e8f1; border-top: 1px solid rgba(255,255,255,.06); }
.panel li:first-child a { border-top: 0; }
.panel a::after { content: "→"; color: var(--primary); opacity: 0; transition: opacity .2s; }
.panel a:hover { color: #fff; }
.panel a:hover::after { opacity: 1; }
@media (min-width: 1100px) { .mega { display: block; } }

.mast-actions { display: flex; align-items: center; gap: 12px; }
.mast-actions .btn { min-height: 44px; padding: 0 20px; font-size: 14px; letter-spacing: .04em; white-space: nowrap; }
@media (max-width: 640px) { .mast-actions .btn { display: none; } }

/* Full-screen menu (below 1100px), still built on <details>. */
.masthead .mnav > summary { width: auto; height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 10px; font: 600 13px var(--font-text); letter-spacing: .2em; }
.masthead .mnav-panel { position: fixed; inset: 0; z-index: 1; overflow-y: auto; padding: 108px 0 40px; border: 0; box-shadow: none; background: radial-gradient(70% 50% at 100% 0%, rgba(29,161,194,.22), transparent 70%), radial-gradient(60% 40% at 0% 100%, rgba(162,139,216,.16), transparent 70%), var(--bg); }
.masthead .mnav-panel .groups { max-width: var(--max); margin: 0 auto; padding: 0 16px; display: grid; gap: 28px; }
@media (min-width: 720px) { .masthead .mnav-panel .groups { padding: 0 32px; grid-template-columns: 1fr 1fr; gap: 40px 48px; } }
.masthead .mnav-panel h2 { font: 600 clamp(26px, 6vw, 36px) var(--font-display); text-transform: uppercase; letter-spacing: .04em; }
.masthead .mnav-panel h2 a { text-decoration: none; }
.masthead .mnav-panel h2 a::after { content: none; }
.masthead .mnav-panel ul { padding: 10px 0 0; margin: 0; max-width: none; }
.masthead .mnav-panel a { min-height: 46px; font: 400 16px var(--font-text); color: #cfd8e6; }
.masthead .mnav-panel .menu-cta { max-width: var(--max); margin: 36px auto 0; padding: 0 16px; }
@media (min-width: 720px) { .masthead .mnav-panel .menu-cta { padding: 0 32px; } }
.masthead .mnav-panel .menu-cta .btn { width: 100%; max-width: 360px; }
.masthead .mnav-panel .menu-cta a.btn::after { content: none; }
@media (min-width: 1100px) { .masthead .mnav { display: none; } }

/* ---------- Banner: full screen, stays in place while the page slides over it ---------- */
.banner { position: sticky; top: 0; z-index: 0; height: 100vh; height: 100svh; padding: 0; overflow: hidden; display: flex; align-items: flex-end; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 74% 35%; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,4,31,.35) 0%, rgba(0,4,31,.15) 30%, rgba(0,4,31,.86) 62%, var(--bg) 100%); }
@media (min-width: 900px) {
  .banner { align-items: center; }
  .banner > img { object-position: 70% 40%; }
  .banner::after { background: linear-gradient(90deg, rgba(0,4,31,.96) 0%, rgba(0,4,31,.82) 32%, rgba(0,4,31,.25) 62%, rgba(0,4,31,.05) 80%), linear-gradient(180deg, rgba(0,4,31,.4) 0%, transparent 25%, transparent 75%, rgba(0,4,31,.9) 100%); }
}
/* Short screens: the banner would be taller than the viewport, so it scrolls normally. */
@media (max-height: 620px) { .banner { position: relative; height: auto; min-height: 100svh; } }

.banner-copy { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: 110px; }
.banner h1 { font-size: clamp(36px, 6vw, 78px); line-height: 1.04; letter-spacing: -0.02em; max-width: 14ch; }
.banner .lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 540px; color: #c9d3e2; }
.banner .cta-row { margin-top: 36px; }
.facts-row { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 0; font: 600 12px var(--font-text); letter-spacing: .2em; text-transform: uppercase; color: #cfd8e6; }
.facts-row li { display: flex; align-items: center; }
.facts-row li + li::before { content: ""; width: 4px; height: 4px; margin: 0 16px; border-radius: 50%; background: var(--primary); }
.banner-note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* Signature wave across the bottom of the banner, echoing the logo. */
.wave { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 1; width: 100%; height: 110px; pointer-events: none; opacity: .85; }
.wave path { fill: none; stroke-linecap: round; }
.wave .w1 { stroke: url(#waveGradient); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(29,161,194,.9)); }
.wave .w2 { stroke: rgba(162,139,216,.55); stroke-width: 1.2; }
@media (prefers-reduced-motion: no-preference) {
  .wave .w1 { stroke-dasharray: 14 10; animation: flow 6s linear infinite; }
  .wave .w2 { stroke-dasharray: 3 9; animation: flow 9s linear infinite reverse; }
  @keyframes flow { to { stroke-dashoffset: -240; } }
}
.scroll-cue { position: absolute; left: 50%; bottom: 18px; z-index: 2; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 10px; font: 600 11px var(--font-text); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.scroll-cue::after { content: ""; width: 1px; height: 34px; background: linear-gradient(180deg, var(--primary), transparent); }
@media (min-width: 900px) and (min-height: 700px) { .scroll-cue { display: flex; } .wave { bottom: 70px; } }

/* Everything after the banner slides over it like a curtain. */
.curtain { position: relative; z-index: 2; background: var(--bg); box-shadow: 0 -40px 80px -20px rgba(0,0,0,.7); }
@media (min-width: 900px) { .curtain { border-radius: 36px 36px 0 0; } }
.curtain > :first-child { border-radius: inherit; }

/* ---------- Partners strip ---------- */
.curtain .partners { border-bottom: 1px solid var(--line); }

/* ---------- Split panels: image bleeding to the screen edge, text beside it ---------- */
.split { display: grid; padding: 0; }
.split-media { position: relative; min-height: 360px; overflow: hidden; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, var(--bg) 100%); }
.split-body { padding: 56px 16px 80px; }
@media (min-width: 720px) { .split-body { padding: 64px 32px 88px; } }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; min-height: 680px; }
  .split-media { min-height: 0; }
  .split-media::after { background: linear-gradient(90deg, transparent 55%, var(--bg) 100%); }
  .split.reverse .split-media { order: 2; }
  .split.reverse .split-media::after { background: linear-gradient(270deg, transparent 55%, var(--bg) 100%); }
  .split-body { align-self: center; padding: 96px 64px; max-width: 640px; }
  .split.reverse .split-body { justify-self: end; }
}
.mini-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; max-width: 520px; }
.mini-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.mini-list li:last-child { border-bottom: 1px solid var(--line); }
.mini-list b { font: 600 13px var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--primary); padding-top: 3px; }
.mini-list span { color: #dfe6f0; }
.split-body .more { margin-top: 36px; }

/* ---------- Cinematic band (the sailboat illustration) ---------- */
.cinema { position: relative; padding: 0; overflow: hidden; }
.cinema img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 32% 50%; }
.cinema::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 70%, var(--bg) 100%); }
@media (min-width: 760px) { .cinema img { aspect-ratio: 1065 / 312; } }
.method-intro { padding-bottom: 32px; }
.method-intro .wrap { display: grid; gap: 24px; }
@media (min-width: 900px) { .method-intro .wrap { grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; } }
.steps-row { padding-top: 0; }
.steps-row .steps { margin-top: 24px; }

/* ---------- The four pillars as a full-width band ---------- */
.pillar-band { padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); }
@media (min-width: 1000px) { .pillar-band { grid-template-columns: repeat(4, 1fr); } }
.pb { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 280px; padding: 32px 20px; text-decoration: none; border-left: 1px solid var(--line); background: radial-gradient(120% 70% at 20% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); transition: background .3s; overflow: hidden; }
.pb:nth-child(odd) { border-left: 0; }
@media (min-width: 1000px) { .pb { min-height: 360px; padding: 44px 32px; } .pb:nth-child(odd) { border-left: 1px solid var(--line); } .pb:first-child { border-left: 0; } }
@media (max-width: 999px) { .pb:nth-child(n+3) { border-top: 1px solid var(--line); } }
.pb:hover { background: radial-gradient(130% 90% at 20% 0%, color-mix(in srgb, var(--c) 36%, transparent), transparent 75%); }
.pb .num { font: 600 13px var(--font-text); letter-spacing: .2em; color: var(--c); }
.pb h3 { font: 600 clamp(20px, 2.2vw, 28px)/1.1 var(--font-display); text-transform: uppercase; letter-spacing: .04em; }
.pb p { color: #cfd8e6; font-size: 15px; flex: 1; }
.pb .go { font: 600 12px var(--font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--c); }
.pb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.pb:hover::after { transform: scaleX(1); }

/* ---------- Founder ---------- */
.founder-band .founder-split { align-items: center; }
.founder-band .portrait { max-width: 480px; }
.founder-band .title-up { font-size: clamp(40px, 6vw, 76px); }

/* ---------- Mini FAQ ---------- */
.faq-short .faq { margin-top: 40px; }
.faq-short .center-link { text-align: center; margin-top: 32px; }

/* ---------- Final call to action over the brand image ---------- */
.final { position: relative; padding: 0; overflow: hidden; }
.final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 40%; opacity: .45; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 50% 100%, rgba(0,4,31,.2), var(--bg) 75%); }
.final .wrap { position: relative; text-align: center; padding-top: 120px; padding-bottom: 120px; }
.final .title-up { max-width: 18ch; margin: 0 auto; }
.final .lead { margin-left: auto; margin-right: auto; }
.final .cta-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-foot { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: 72px 0 0; background: var(--bg-raised); color: var(--muted); font-size: 15px; overflow: hidden; }
.foot-grid { display: grid; gap: 40px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; } }
.site-foot .tagline { margin-top: 18px; max-width: 32ch; }
.site-foot h2 { font: 600 12px var(--font-text); letter-spacing: .22em; text-transform: uppercase; color: var(--text); margin-bottom: 18px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--text); }
.site-foot .disclaimer { margin-top: 56px; }
.giant { margin: 40px 0 0; font: 700 clamp(30px, 8.4vw, 124px)/0.9 var(--font-display); letter-spacing: .04em; white-space: nowrap; text-align: center; background: linear-gradient(180deg, rgba(29,161,194,.35), rgba(162,139,216,.06) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Pillars with the application visuals ---------- */
.pillar-visuals { padding-top: 0; }
.pv-grid { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 700px) { .pv-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pv-grid { grid-template-columns: repeat(4, 1fr); } }
.pv { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; text-decoration: none; background: #01051a; border: 1px solid rgba(255,255,255,.07); transition: transform .3s, border-color .3s, box-shadow .3s; }
.pv img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pv .pv-text { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-top: 1px solid color-mix(in srgb, var(--c) 40%, transparent); color: #dfe6f0; font-size: 15px; }
.pv .pv-text::after { content: "→"; color: var(--c); transition: transform .2s; }
.pv:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--c) 70%, transparent); }
.pv:hover .pv-text::after { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .pv:hover { transform: none; } }

/* ---------- Brand DNA (from the application infographic) ---------- */
.dna { background: linear-gradient(180deg, #06143a 0%, #0a1d4a 100%); border-block: 1px solid rgba(29,161,194,.18); }
.dna .kicker { justify-content: center; color: #cfe8f3; }
.dna .kicker::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.dna-grid { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 40px; text-align: center; }
@media (min-width: 900px) { .dna-grid { grid-template-columns: repeat(3, 1fr); gap: 0; } .dna-grid li + li { border-left: 1px solid rgba(29,161,194,.3); } }
.dna-grid li { padding: 0 24px; }
.dna-grid svg { width: 56px; height: 56px; color: #38bdf8; filter: drop-shadow(0 0 10px rgba(56,189,248,.5)); }
.dna-grid h3 { margin-top: 22px; font: 600 clamp(22px, 2.4vw, 28px) var(--font-display); text-transform: uppercase; letter-spacing: .08em; }
.dna-grid h3::after { content: ""; display: block; width: 44px; height: 2px; margin: 16px auto 0; background: var(--primary); }
.dna-grid p { margin: 16px auto 0; max-width: 26ch; color: #d6e2ef; font-size: 18px; }

/* ---------- Closing banner and footer in night blue ---------- */
.final { background: radial-gradient(70% 120% at 50% 0%, rgba(29,161,194,.28), transparent 70%), linear-gradient(160deg, #0d2f66 0%, #0a1f52 45%, #0b1544 100%); border-top: 1px solid rgba(29,161,194,.25); }
.final::before { content: none; }
.final .lead { color: #c9d6ea; }
.site-foot { background: #071640; border-top: 1px solid rgba(29,161,194,.18); color: #a9b8d0; }
.site-foot .disclaimer { border-top-color: rgba(255,255,255,.1); }
.site-foot .giant { background: linear-gradient(180deg, rgba(56,189,248,.4), rgba(162,139,216,.08) 85%); -webkit-background-clip: text; background-clip: text; }

/* ---------- Adjustments after the visual check ---------- */
/* Banner copy anchored to the bottom, title sized on height too, so it never slides under the header. */
.banner { align-items: flex-end; }
.banner-copy { padding-top: 150px; padding-bottom: 104px; }
.banner h1 { font-size: clamp(32px, min(5.4vw, 7vh), 72px); max-width: 16ch; }
.banner .lead { max-width: 620px; }
/* Short laptop screens: smaller title, the facts line goes, the banner stays fixed. */
@media (min-width: 900px) and (max-height: 820px) {
  .banner h1 { font-size: clamp(30px, 6vh, 52px); }
  .banner .lead { font-size: 16px; }
  .banner .cta-row { margin-top: 26px; }
  .facts-row { display: none; }
  .banner-copy { padding-top: 120px; padding-bottom: 84px; }
}
/* Footer: the wordmark fits its column, the giant word fits the page width. */
.site-foot .wordmark span { font-size: 14px; letter-spacing: .18em; }
.site-foot .giant { font-size: clamp(22px, 6.8vw, 86px); }
/* Full-screen menu: the logo and the close button stay above the panel. */
.wordmark, .masthead .mnav > summary { position: relative; z-index: 2; }

/* ---------- Composed banner: the listener, the logo halo, orbits and travelling light ---------- */
/* .art keeps the photo's proportions and covers the banner like object-fit: cover, so the
   overlays stay locked on the head whatever the screen size. */
.art { position: absolute; left: 70%; top: 40%; width: max(100%, calc(100svh * 1600 / 763)); aspect-ratio: 1600 / 763; transform: translate(-70%, -40%); }
.art-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-halo { position: absolute; left: 64.4%; top: 1.5%; width: 33.75%; mix-blend-mode: screen; opacity: .6; -webkit-mask: radial-gradient(circle, #000 52%, transparent 71%); mask: radial-gradient(circle, #000 52%, transparent 71%); }
.art-fx { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit { fill: none; transform-box: fill-box; transform-origin: center; }
.orbit circle { fill: none; }
.particles circle { filter: drop-shadow(0 0 6px currentColor); }
@media (prefers-reduced-motion: no-preference) {
  .art { animation: drift 26s ease-in-out infinite alternate; }
  @keyframes drift { from { scale: 1; } to { scale: 1.07; } }
  .art-halo { animation: halo 5s ease-in-out infinite alternate; }
  @keyframes halo { from { opacity: .38; filter: brightness(.9); } to { opacity: .72; filter: brightness(1.25); } }
  .orbit { animation: spin 48s linear infinite; }
  .orbit.rev { animation-duration: 70s; animation-direction: reverse; }
  @keyframes spin { to { transform: rotate(360deg); } }
}
@media (prefers-reduced-motion: reduce) { .particles { display: none; } }
@media (max-width: 899px) {
  .banner { position: relative; height: auto; min-height: 100svh; }
  .art { left: 82%; top: 0; transform: translate(-82%, 0); }
  .banner-copy { padding-top: 58svh; padding-bottom: 72px; }
}

/* ---------- Launch offer: the Mental Code pack ---------- */
.pack-offer { background: radial-gradient(55% 70% at 22% 50%, rgba(29,161,194,.2), transparent 70%); }
.pack-offer .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .pack-offer .wrap { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.pack-visual { position: relative; display: grid; place-items: center; padding: 24px 0 48px; }
.pack-visual::before { content: ""; position: absolute; width: min(420px, 80vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(29,161,194,.35), rgba(162,139,216,.12) 45%, transparent 70%); filter: blur(10px); }
.pack-visual::after { content: ""; position: absolute; bottom: 30px; width: min(260px, 55vw); height: 26px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.7), transparent 70%); }
.pack-visual img { position: relative; z-index: 1; width: min(320px, 68vw); filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)) drop-shadow(0 0 30px rgba(29,161,194,.35)); }
@media (prefers-reduced-motion: no-preference) {
  .pack-visual img { animation: float 6s ease-in-out infinite; }
  @keyframes float { 50% { transform: translateY(-14px) rotate(-1deg); } }
}
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-top: 28px; }
.pack-offer .note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.cards.two { max-width: 900px; }
@media (min-width: 900px) { .cards.two { grid-template-columns: 1fr 1fr; } }

/* ---------- Partner logos (chronological) and funders ---------- */
.logo-row { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .logo-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .logo-row { grid-template-columns: repeat(6, 1fr); } }
.logo-chip { display: grid; place-items: center; height: 96px; padding: 12px 18px; border-radius: 16px; background: #fff; box-shadow: 0 12px 30px -18px rgba(29,161,194,.6); transition: transform .25s, box-shadow .25s; }
.logo-chip img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
.logo-chip:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -16px rgba(29,161,194,.8); }
.funders { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; text-align: left; }
.funders .logo-chip { height: 84px; padding: 10px 16px; }
.funders .logo-chip img { max-height: 62px; }
.funders p { max-width: 46ch; font-size: 14px; color: var(--muted); }

/* ---------- Stronger closing banner and footer ---------- */
.final { isolation: isolate; }
.final::before, .final::after { content: ""; position: absolute; z-index: -1; width: 60vw; max-width: 760px; aspect-ratio: 1; border-radius: 50%; filter: blur(70px); opacity: .55; }
.final::before { left: -12%; top: -30%; background: radial-gradient(circle, #1da1c2, transparent 65%); }
.final::after { right: -12%; bottom: -40%; background: radial-gradient(circle, #a28bd8, transparent 65%); }
html.menu-open .local-strip { display: none; }
/* Two classes: must win over the older ".final > img" background rule. */
.final .final-halo { position: absolute; inset: auto; left: 50%; top: 50%; z-index: -1; width: min(620px, 120vw); height: auto; object-fit: initial; transform: translate(-50%, -50%); mix-blend-mode: screen; opacity: .2; -webkit-mask: radial-gradient(circle, #000 50%, transparent 70%); mask: radial-gradient(circle, #000 50%, transparent 70%); }
.final .wave { bottom: 18px; opacity: .7; }
.final .wrap { z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .final::before { animation: aurora 14s ease-in-out infinite alternate; }
  .final::after { animation: aurora 18s ease-in-out infinite alternate-reverse; }
  @keyframes aurora { to { transform: translate(18%, 22%) scale(1.15); } }
  .final-halo { animation: halo-soft 6s ease-in-out infinite alternate; }
  @keyframes halo-soft { from { opacity: .12; } to { opacity: .28; } }
  .site-foot .giant { background: linear-gradient(90deg, rgba(56,189,248,.18), rgba(125,211,252,.9), rgba(162,139,216,.18)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; animation: shimmer 9s linear infinite; }
  @keyframes shimmer { to { background-position: -200% 0; } }
}

/* ---------- Inner pages: shorter fixed banner with its own visual ---------- */
.banner.inner { height: 80vh; height: 80svh; min-height: 560px; }
.banner.inner h1 { font-size: clamp(38px, min(6.2vw, 10vh), 88px); text-transform: uppercase; letter-spacing: .02em; line-height: .98; max-width: 13ch; }
.banner.inner .lead { max-width: 600px; }
.inner-media { position: absolute; inset: 0; overflow: hidden; }
.inner-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
/* Visual on the right part only, fading into the night blue on its left edge. */
.inner-media.right { left: 34%; -webkit-mask: linear-gradient(90deg, transparent 0, #000 30%); mask: linear-gradient(90deg, transparent 0, #000 30%); }
/* Brand-only banner: glowing logo ring and aurora, no photo. */
.inner-media.ring { background: radial-gradient(60% 90% at 78% 40%, rgba(29,161,194,.35), transparent 70%), radial-gradient(40% 60% at 95% 90%, rgba(162,139,216,.3), transparent 70%), linear-gradient(160deg, #04103a, #00041f 70%); }
.inner-media.ring .ring-logo { position: absolute; right: 6%; top: 50%; width: min(520px, 46vw); height: auto; transform: translateY(-50%); mix-blend-mode: screen; opacity: .75; -webkit-mask: radial-gradient(circle, #000 55%, transparent 71%); mask: radial-gradient(circle, #000 55%, transparent 71%); }
/* The pack floating in the offer banner. */
.inner-media .pack-float { position: absolute; right: 12%; top: 54%; width: min(300px, 26vw); height: auto; transform: translateY(-50%); filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)) drop-shadow(0 0 40px rgba(29,161,194,.45)); }
@media (prefers-reduced-motion: no-preference) {
  .inner-media img:not(.pack-float):not(.ring-logo) { animation: drift 26s ease-in-out infinite alternate; }
  .inner-media .ring-logo { animation: halo 5s ease-in-out infinite alternate; }
  .inner-media .pack-float { animation: float-y 6s ease-in-out infinite; }
  @keyframes float-y { 50% { transform: translateY(calc(-50% - 14px)) rotate(-1deg); } }
}
@media (max-width: 899px) {
  .banner.inner { height: auto; min-height: 0; }
  .inner-media.right { left: 0; -webkit-mask: none; mask: none; }
  .inner-media.ring .ring-logo { right: 50%; top: 24%; width: min(320px, 74vw); transform: translate(50%, -50%); }
  .inner-media .pack-float { right: 50%; top: 22%; width: min(190px, 46vw); transform: translate(50%, -50%); }
  .banner.inner .banner-copy { padding-top: 46svh; }
  @media (prefers-reduced-motion: no-preference) { .inner-media .pack-float { animation: none; } }
}

/* Inner page content: section headings in the brand style. */
.curtain .section-head { max-width: 820px; margin-bottom: 8px; }
.curtain .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.curtain .section-head.center .kicker { justify-content: center; }
.curtain .section-head .lead { margin-top: 18px; }
.pv .pv-text.long { display: block; }
.pv .pv-text.long::after { content: none; }
.pv .pv-text strong { display: block; color: #fff; font: 600 17px/1.3 var(--font-display); margin-bottom: 4px; }

/* ---------- Pared-back version: real photo, fewer effects, clean night blue ending ---------- */
/* Home banner: the brand photograph alone. Its own headline is part of the image,
   so only the buttons sit on the darker desk area at the bottom. */
/* Full-bleed and fixed, behind the transparent header. Anchored on the top edge of the
   photo, so a wide screen only crops its bottom (legs, phone), never the head; a very slow
   zoom centred on the face gives depth. */
.banner.photo .cta-row { margin-top: 0; }
@media (min-width: 900px) {
  .banner.photo::after { background: linear-gradient(90deg, rgba(0,4,31,.55) 0%, rgba(0,4,31,0) 42%), linear-gradient(180deg, rgba(0,4,31,.45) 0%, rgba(0,4,31,0) 14%, rgba(0,4,31,0) 68%, rgba(0,4,31,.75) 90%, var(--bg) 100%); }
  /* Starts under the real header height, so the image's own title and the head are never
     covered by the menu; only the bottom of the picture is cropped. */
  .banner.photo .photo-img { position: absolute; top: var(--mast-h, 84px); left: 0; width: 100%; height: calc(100% - var(--mast-h, 84px)); max-width: none; object-fit: cover; object-position: 50% 26%; transform-origin: 70% 25%; }
  /* Lighter bottom veil so the watch and the laptop stay visible (ideal framing). */
  .banner.photo::after { background: linear-gradient(90deg, rgba(0,4,31,.45) 0%, rgba(0,4,31,0) 34%), linear-gradient(180deg, transparent 0%, transparent 84%, rgba(0,4,31,.55) 95%, var(--bg) 100%); }
  .banner.photo .banner-copy { padding-top: 0; padding-bottom: 56px; }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .banner.photo .photo-img { animation: drift 30s ease-in-out infinite alternate; }
}
@media (max-width: 899px) {
  /* Stacked: the photo whole at the top, the buttons under it. */
  .banner.photo { flex-direction: column; align-items: stretch; min-height: 0; padding-top: var(--mast-h, 84px); }
  .banner.photo::after { content: none; }
  .banner.photo .photo-img { position: relative; height: auto; aspect-ratio: 3 / 2; -webkit-mask: linear-gradient(180deg, #000 78%, transparent); mask: linear-gradient(180deg, #000 78%, transparent); }
  .banner.photo .banner-copy { padding-top: 8px; padding-bottom: 48px; }
}

/* Opening statement right under the banner. */
.intro .wrap { max-width: 980px; }
.intro h2 { font-size: clamp(30px, 4.4vw, 56px); letter-spacing: -0.02em; line-height: 1.08; }
.intro .lead { max-width: 720px; font-size: clamp(17px, 1.5vw, 20px); }

/* Lightness: the seaside portrait dissolves into the navy from the left, under the text.
   Mobile: photo on top fading into the text below. Desktop: photo on the right two thirds. */
.serenity { overflow: hidden; isolation: isolate; padding-top: 0; }
.serenity-media { position: relative; overflow: hidden; margin: 0 0 -96px; height: min(78vw, 460px); }
.serenity-media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 30%; filter: brightness(.94) saturate(1.05); }
.serenity-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,4,31,.35) 0%, transparent 22%, transparent 48%, rgba(0,4,31,.8) 78%, var(--bg) 100%); }
.serenity-copy { position: relative; }
.serenity h2 .soft { background: linear-gradient(100deg, #e0f2fe 0%, #bae6fd 45%, #fde7b0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (min-width: 900px) {
  .serenity { display: flex; align-items: center; min-height: clamp(640px, 54vw, 820px); padding: 110px 0; }
  .serenity .wrap { width: 100%; }
  .serenity-media { position: absolute; inset: 0 0 0 auto; z-index: -1; width: 62%; height: auto; margin: 0; }
  .serenity-media img { object-position: 85% 32%; }
  /* Horizontal dissolve into the navy, soft top/bottom edges, and a faint sunset glow at the seam. */
  .serenity-media::after { background:
      radial-gradient(40% 45% at 22% 58%, rgba(253,231,176,.10), transparent 70%),
      linear-gradient(90deg, var(--bg) 0%, rgba(0,4,31,.9) 12%, rgba(0,4,31,.5) 30%, rgba(0,4,31,.12) 46%, transparent 60%),
      linear-gradient(180deg, var(--bg) 0%, transparent 16%, transparent 80%, var(--bg) 100%); }
  .serenity-copy { max-width: 580px; }
  .serenity h2 { font-size: clamp(34px, 3.1vw, 46px); }
  .serenity .lead { text-shadow: 0 1px 12px rgba(0,4,31,.8); }
}
/* Slow breathing of the photo, like a calm exhale. */
@media (prefers-reduced-motion: no-preference) {
  .serenity-media img { animation: serenity-breathe 18s ease-in-out infinite alternate; }
  @keyframes serenity-breathe { from { transform: scale(1.04); } to { transform: scale(1); } }
}

/* The method drawn as a frequency: agitated on the left, settled on the right. */
.process { margin: 56px 0 0; }
.process img { width: 100%; height: auto; }
.process-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 28px; counter-reset: step; }
.process-steps li { counter-increment: step; }
.process-steps li::before { content: "0" counter(step); display: block; margin-bottom: 8px; font: 600 13px var(--font-text); letter-spacing: .2em; color: var(--primary); }
.process-steps h3 { font-size: 21px; margin-bottom: 8px; }
.process-steps p { color: var(--muted); }
@media (min-width: 760px) { .process-steps { grid-template-columns: repeat(3, 1fr); text-align: center; } .process-steps p { max-width: 30ch; margin: 0 auto; } }

/* Illustrative faces: a contained, realistic size instead of half-screen panels. */
.split { max-width: var(--max); margin: 0 auto; padding: 88px 16px; gap: 40px; align-items: center; }
@media (min-width: 720px) { .split { padding: 104px 32px; } }
.split-media { min-height: 0; width: 100%; max-width: min(400px, 100%); aspect-ratio: 4 / 5; justify-self: center; border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 30px 60px -32px rgba(0,0,0,.85); }
.split-media img { object-position: 50% 30%; }
.split-media::after, .split.reverse .split-media::after { content: none; }
@media (min-width: 900px) {
  .split { grid-template-columns: .8fr 1.2fr; min-height: 0; gap: 72px; }
  .split.reverse { grid-template-columns: 1.2fr .8fr; }
  .split-body, .split.reverse .split-body { padding: 0; max-width: 620px; justify-self: start; }
}

/* "Sans difficultés · sans compétences · sans efforts" pills under the opening statement. */
.pills { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.pills li { padding: 10px 22px; border-radius: 999px; border: 1px solid rgba(125,211,252,.4); background: rgba(29,161,194,.1); font: 500 15px var(--font-text); letter-spacing: .02em; color: #dff3fb; }
.faq-note { margin-top: 28px; text-align: center; font-size: 13px; color: var(--muted); }

/* The application on a phone (real capture of the app home screen). */
.app-showcase .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .app-showcase .wrap { grid-template-columns: .8fr 1.2fr; gap: 80px; } }
.phone { position: relative; justify-self: center; width: min(290px, 72vw); margin: 0; padding: 11px; border-radius: 46px; background: linear-gradient(145deg, #2a3350, #0b1022 45%, #1c2440); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -30px rgba(0,0,0,.9), 0 0 60px -10px rgba(29,161,194,.35); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; z-index: 2; width: 84px; height: 22px; border-radius: 12px; background: #05070f; transform: translateX(-50%); }
.phone img { width: 100%; height: auto; border-radius: 36px; display: block; }
.app-title { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; }

/* Chaos → flow illustration captions. */
.process-ends { display: flex; justify-content: space-between; margin: 6px 0 40px; font: 600 12px var(--font-text); letter-spacing: .22em; text-transform: uppercase; }
.process-ends span:first-child { color: #d8b4fe; }
.process-ends span:last-child { color: #7dd3fc; }

/* Brand DNA: French innovation, smaller line icons. */
.dna2 { background: linear-gradient(180deg, #050d33, #071440); border-block: 1px solid rgba(255,255,255,.05); }
.dna2-head { max-width: 760px; }
.tricolore { display: flex; width: 72px; height: 3px; margin-top: 22px; border-radius: 3px; overflow: hidden; }
.tricolore i { flex: 1; }
.tricolore i:nth-child(1) { background: #2b4bd6; }
.tricolore i:nth-child(2) { background: #f5f7fb; }
.tricolore i:nth-child(3) { background: #e3343f; }
.dna2-grid { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .dna2-grid { grid-template-columns: repeat(3, 1fr); } }
.dna2-grid li { position: relative; padding: 30px 28px 32px; border-radius: 20px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); transition: border-color .3s; }
.dna2-grid li:hover { border-color: rgba(125,211,252,.35); }
.dna2-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(125,211,252,.35); color: #7dd3fc; }
.dna2-ic svg { width: 20px; height: 20px; }
.dna2-num { position: absolute; top: 34px; right: 28px; font: 600 12px var(--font-text); letter-spacing: .2em; color: rgba(255,255,255,.3); }
.dna2-grid h3 { margin-top: 22px; font: 600 20px var(--font-display); letter-spacing: .01em; }
.dna2-grid p { margin-top: 10px; color: var(--muted); font-size: 15px; }

.intro h2 .accent { color: #7dd3fc; }

/* The French rooster, on a light medallion matching its white background. */
.dna2-top { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .dna2-top { grid-template-columns: 1.3fr .7fr; gap: 64px; } }
.coq { justify-self: center; width: min(300px, 70vw); aspect-ratio: 1; margin: 0; border-radius: 50%; overflow: hidden; background: #fefefe; box-shadow: 0 0 0 6px rgba(255,255,255,.06), 0 0 0 1px rgba(125,211,252,.3), 0 30px 70px -25px rgba(29,161,194,.55); }
/* Scaled down so the sound wave, close to the image's right edge, stays inside the circle. */
.coq img { width: 100%; height: 100%; object-fit: cover; transform: scale(.86); }

/* The four pillars as "sound signatures": one drawn wave per pillar, redrawn on hover. */
.sig-grid { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 700px) { .sig-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .sig-grid { grid-template-columns: repeat(4, 1fr); } }
.sig { position: relative; display: flex; flex-direction: column; padding: 26px 24px 28px; border-radius: 20px; text-decoration: none; overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 9%, transparent), transparent 55%), rgba(255,255,255,.02); transition: border-color .3s, transform .3s; }
.sig::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--c); opacity: .7; }
a.sig:hover { border-color: color-mix(in srgb, var(--c) 55%, transparent); transform: translateY(-3px); }
/* Two lines reserved for the moment label, so the four names stay aligned. */
.sig-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; min-height: 2.9em; font: 600 11px/1.3 var(--font-text); letter-spacing: .2em; text-transform: uppercase; }
.sig-num { color: var(--c); }
.sig-moment { color: var(--muted); text-align: right; }
.sig-name { margin-top: 22px; font: 600 clamp(20px, 1.8vw, 24px) var(--font-display); text-transform: uppercase; letter-spacing: .06em; }
.sig-wave { width: 100%; height: 72px; margin: 22px 0 18px; overflow: visible; }
.sig-wave path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sig-base { stroke: rgba(255,255,255,.07); stroke-width: 1; }
.sig-line { stroke: var(--c); stroke-width: 2; filter: drop-shadow(0 0 5px color-mix(in srgb, var(--c) 70%, transparent)); stroke-dasharray: 1; stroke-dashoffset: 0; }
.sig-title { font: 500 17px/1.4 var(--font-display); color: #eef3f9; }
.sig-need { margin-top: 10px; font-size: 15px; color: var(--muted); }
.sig-go { margin-top: auto; padding-top: 18px; font: 600 12px var(--font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--c); }
.sig-go::after { content: " →"; }
@media (prefers-reduced-motion: no-preference) {
  .sig:hover .sig-line { animation: sig-draw 1.4s ease-out; }
  @keyframes sig-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  a.sig:hover { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) { a.sig:hover { transform: none; } }

/* "Changer d'état" header: title and "Imagine. Visualise. Optimise." beside an original coded
   artwork (young man's profile, halo, rotating sound arcs). */
.methode-head { display: grid; gap: 16px; align-items: center; }
@media (min-width: 900px) { .methode-head { grid-template-columns: 1.1fr .9fr; gap: 48px; } }
.manifesto-words { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 22px; font: 600 clamp(16px, 1.6vw, 20px) var(--font-display); letter-spacing: .26em; text-transform: uppercase; color: #38bdf8; text-shadow: 0 0 18px rgba(56,189,248,.45); }
.manifesto-words span { display: inline-block; }
/* The bottom of the bust fades into the background instead of ending on a hard edge. */
.manifesto-art { display: block; justify-self: center; width: min(500px, 88vw); height: auto; -webkit-mask: linear-gradient(180deg, #000 72%, transparent 97%); mask: linear-gradient(180deg, #000 72%, transparent 97%); }
.m-arc { transform-box: view-box; transform-origin: 310px 208px; }
@media (prefers-reduced-motion: no-preference) {
  .manifesto-words span:nth-child(2) { transition-delay: .35s; }
  .manifesto-words span:nth-child(3) { transition-delay: .7s; }
  .m-arc.a1 { animation: spin 60s linear infinite; }
  .m-arc.a2 { animation: spin 42s linear infinite reverse; }
  .m-arc.a3 { animation: spin 30s linear infinite; }
  .m-arc.a4 { animation: spin 24s linear infinite reverse; }
  .m-glow { transform-box: view-box; transform-origin: 310px 208px; animation: breathe 7s ease-in-out infinite alternate; }
  @keyframes breathe { from { opacity: .9; transform: scale(.97); } to { opacity: 1; transform: scale(1.03); } }
}

/* The Mental Code pack: product at the centre, contents on both sides, founders offer below. */
.pack-show { background: radial-gradient(50% 45% at 50% 52%, rgba(29,161,194,.16), transparent 70%); }
.pack-head { text-align: center; max-width: 760px; margin: 0 auto; }
.pack-head .kicker { justify-content: center; }
.pack-head .statement { margin-left: auto; margin-right: auto; }
.pack-stage { display: grid; gap: 32px; align-items: center; margin-top: 48px; }
@media (min-width: 1000px) { .pack-stage { grid-template-columns: 1fr minmax(300px, 380px) 1fr; gap: 40px; } }
.pack-hero { position: relative; margin: 0; justify-self: center; width: min(360px, 76vw); padding-bottom: 36px; }
.pack-hero::before { content: ""; position: absolute; left: 50%; top: 45%; width: 125%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(56,189,248,.35), rgba(162,139,216,.12) 45%, transparent 70%); filter: blur(8px); }
.pack-hero::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 8px; height: 22px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.75), transparent 70%); }
.pack-hero img { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
@media (prefers-reduced-motion: no-preference) {
  .pack-hero img { animation: float 7s ease-in-out infinite; }
}
.pack-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pack-items li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.025); }
.pack-items .pi { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(125,211,252,.35); color: #7dd3fc; }
.pack-items svg { width: 20px; height: 20px; }
.pack-items strong { display: block; font: 600 16px/1.3 var(--font-display); color: #f2f6fb; }
.pack-items span:not(.pi) { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
@media (min-width: 1000px) {
  /* Left column mirrors the right one: text towards the pack, icon on the outside. */
  .pack-items.left li { grid-template-columns: 1fr 44px; text-align: right; }
  .pack-items.left .pi { order: 2; }
}
@media (max-width: 999px) { .pack-hero, .pack-stage .pack-photo { order: -1; } }
/* Premium pack photograph (with its own warm setting): framed, rounded, soft cyan and gold halo. */
.pack-photo { position: relative; margin: 0; justify-self: center; width: min(380px, 80vw); }
.pack-photo::before { content: ""; position: absolute; inset: -14%; z-index: 0; border-radius: 50%; background: radial-gradient(circle, rgba(56,189,248,.28), rgba(250,204,21,.08) 45%, transparent 70%); filter: blur(20px); }
.pack-photo img { position: relative; z-index: 1; display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(250,204,21,.08); }
.pack-offer .pack-photo { width: min(440px, 90vw); }
/* The halo must not widen the page on small screens. */
.pack-show, .pack-offer { overflow-x: clip; }

/* Offer banner: the whole pack photo, sized on the height left under the header, anchored
   right, its left edge fading into the night blue behind the title. */
.inner-media.pack-banner img { position: absolute; top: 84px; right: 0; width: auto; height: calc(100% - 84px); max-width: none; aspect-ratio: 1000 / 1206; object-fit: cover; -webkit-mask: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, #000 80%, transparent); -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent 0, #000 30%) intersect, linear-gradient(180deg, #000 80%, transparent); animation: none; }
@media (max-width: 899px) {
  .inner-media.pack-banner img { top: 84px; left: 50%; right: auto; height: 46svh; transform: translateX(-50%); -webkit-mask: linear-gradient(180deg, #000 70%, transparent); mask: linear-gradient(180deg, #000 70%, transparent); }
}
.founders-offer { max-width: 620px; margin: 56px auto 0; padding: 36px 28px; text-align: center; border-radius: 28px; border: 1px solid rgba(250,204,21,.35); background: linear-gradient(160deg, rgba(250,204,21,.08), rgba(29,161,194,.06) 60%, transparent), rgba(255,255,255,.02); }
.founders-badge { display: inline-block; padding: 6px 16px; border-radius: 999px; background: rgba(250,204,21,.14); border: 1px solid rgba(250,204,21,.45); font: 600 12px var(--font-text); letter-spacing: .22em; text-transform: uppercase; color: #fde68a; }
.founders-offer .price { margin-top: 18px; }
.founders-limit { margin: 10px 0 18px; font: 600 17px var(--font-display); color: #fde68a; }
.founders-offer .note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.founders-offer .cta-row { justify-content: center; }

/* Method page banner: the founder's photograph, warm and natural, with a light film-like
   grade and a soft fade into the night blue on the text side. */
/* Whole photo (cut at the wrist), sized on the height under the header, anchored right. */
.inner-media.portrait-banner { left: 0; -webkit-mask: none; mask: none; }
.inner-media.portrait-banner img { position: absolute; top: calc(var(--mast-h, 84px) + 6%); right: 0; width: auto; max-width: none; height: calc(78% - var(--mast-h, 84px)); aspect-ratio: 2000 / 1128; filter: saturate(.92) contrast(1.04); animation: none; -webkit-mask: linear-gradient(90deg, transparent 0, #000 34%), linear-gradient(180deg, #000 82%, transparent); -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent 0, #000 34%) intersect, linear-gradient(180deg, #000 82%, transparent); }
@media (max-width: 899px) {
  .inner-media.portrait-banner img { right: auto; left: 50%; height: 44svh; transform: translateX(-62%); -webkit-mask: linear-gradient(180deg, #000 70%, transparent); mask: linear-gradient(180deg, #000 70%, transparent); }
}
.inner-media.portrait-banner::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 0%, transparent 80%, rgba(0,4,31,.8) 100%); }

/* A section with a faded artwork in the background (the blue brain on the method page). */
.has-backdrop { overflow: hidden; isolation: isolate; }
.section-backdrop { position: absolute; right: -6%; top: 50%; z-index: -1; width: min(980px, 90vw); height: auto; transform: translateY(-50%); opacity: .16; pointer-events: none; mix-blend-mode: screen; -webkit-mask: radial-gradient(closest-side, #000 40%, transparent); mask: radial-gradient(closest-side, #000 40%, transparent); }

/* DNA cards: each takes a colour of the French flag on hover (blue, white, red), softly. */
.dna2-grid li:nth-child(1) { --flag: 99,140,255; }
.dna2-grid li:nth-child(2) { --flag: 240,244,250; }
.dna2-grid li:nth-child(3) { --flag: 239,68,68; }
.dna2-grid li { transition: border-color .35s, background .35s, transform .35s, box-shadow .35s; }
.dna2-ic, .dna2-num, .dna2-grid h3 { transition: color .35s, border-color .35s, box-shadow .35s; }
.dna2-grid li:hover { transform: translateY(-3px); border-color: rgba(var(--flag), .5); background: linear-gradient(160deg, rgba(var(--flag), .12), rgba(var(--flag), .02) 60%), rgba(255,255,255,.025); box-shadow: 0 24px 50px -30px rgba(var(--flag), .6); }
.dna2-grid li:hover .dna2-ic { color: rgb(var(--flag)); border-color: rgba(var(--flag), .7); box-shadow: 0 0 18px rgba(var(--flag), .35); }
.dna2-grid li:hover .dna2-num { color: rgba(var(--flag), .9); }
@media (prefers-reduced-motion: reduce) { .dna2-grid li:hover { transform: none; } }

/* "L'influx": a nerve impulse travels along a fine blue-white-red line under the cards and
   lights each card's icon, in its flag colour, as it passes beneath it. */
.dna2-signal { position: relative; height: 1px; margin-top: 28px; background: linear-gradient(90deg, rgba(99,140,255,0), rgba(99,140,255,.45) 12%, rgba(240,244,250,.4) 50%, rgba(239,68,68,.45) 88%, rgba(239,68,68,0)); }
.dna2-signal span { position: absolute; top: -2px; left: 0; width: 70px; height: 5px; border-radius: 5px; background: radial-gradient(ellipse at center, #fff, rgba(255,255,255,0) 70%); filter: drop-shadow(0 0 6px rgba(255,255,255,.9)); opacity: 0; }
.dna2-caption { margin-top: 14px; text-align: right; font: 500 11px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.38); }
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
  .dna2-signal span { animation: influx 7s cubic-bezier(.45,.05,.55,.95) infinite; }
  @keyframes influx { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { left: calc(100% - 70px); opacity: 0; } }
  /* Same 7 s cycle; the delay sets when the pulse passes under each card (≈ 1/6, 1/2, 5/6). */
  .dna2-grid li .dna2-ic { animation: fire 7s ease-out infinite; }
  .dna2-grid li:nth-child(1) .dna2-ic { animation-delay: 1.1s; }
  .dna2-grid li:nth-child(2) .dna2-ic { animation-delay: 3.5s; }
  .dna2-grid li:nth-child(3) .dna2-ic { animation-delay: 5.9s; }
  @keyframes fire { 0% { box-shadow: 0 0 0 rgba(var(--flag), 0); border-color: rgba(125,211,252,.35); } 5% { box-shadow: 0 0 22px rgba(var(--flag), .55); border-color: rgba(var(--flag), .85); } 22%, 100% { box-shadow: 0 0 0 rgba(var(--flag), 0); border-color: rgba(125,211,252,.35); } }
  .dna2-grid li:hover .dna2-ic { animation: none; }
}
@media (max-width: 899px) { .dna2-signal span { display: none; } .dna2-caption { text-align: left; } }

/* Founder's quote, as if handwritten in ink: warm off-white, a fine gold rule, a signature. */
.founder-quote { position: relative; max-width: 540px; margin: 26px 0 0; padding: 4px 0 0 22px; border-left: 1px solid rgba(250,204,21,.45); }
.founder-quote blockquote { margin: 0; }
.founder-quote p { font: 500 clamp(22px, 2.1vw, 28px)/1.3 "Caveat", "Segoe Script", cursive; color: #f3ead9; letter-spacing: .005em; transform: rotate(-.6deg); transform-origin: left; text-shadow: 0 1px 12px rgba(0,4,31,.6); }
.founder-quote p + p { margin-top: 6px; color: #fde6b0; }
.founder-quote figcaption { margin-top: 10px; font: 600 11px var(--font-text); letter-spacing: .22em; text-transform: uppercase; color: rgba(253,230,176,.7); }
.founder-quote figcaption::before { content: "— "; }
@media (min-width: 900px) {
  .banner.inner:has(.founder-quote) { height: auto; min-height: 80svh; }
  .banner.inner:has(.founder-quote) .banner-copy { padding-top: 150px; }
}

/* "Construit avec prudence": title on the left, a medium-size portrait on the right. */
.engage-head { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .engage-head { grid-template-columns: 1fr minmax(320px, 460px); gap: 56px; } }
.engage-photo { margin: 0; justify-self: end; width: 100%; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 34px 70px -34px rgba(0,0,0,.9); }
.engage-photo img { display: block; width: 100%; height: auto; filter: saturate(.94) contrast(1.03); }

/* Contact banner: the founder in front of the logo ring, both melting into the night blue. */
/* Large faded logo in the background; the portrait sits lower right, sized on the banner height. */
.inner-media.ring.contact-media .ring-logo { display: none; }
/* A slightly taller banner so the portrait keeps its size with room above the head and below the arms. */
@media (min-width: 900px) { .banner.inner:has(.contact-media) { height: 92vh; height: 92svh; } }
/* Lighter bottom veil on this banner so the crossed arms stay visible. */
.banner.inner:has(.contact-media)::after { background: linear-gradient(180deg, transparent 0%, transparent 90%, var(--bg) 100%); }
/* Contact banner: plain night blue with a cool brushed-silver light behind the portrait. */
.inner-media.ring.contact-media { background: radial-gradient(45% 70% at 78% 40%, rgba(203,213,225,.16), transparent 70%), linear-gradient(115deg, #00041f 40%, #0c1530 70%, #151c2e 100%); }
.inner-media .contact-portrait { position: absolute; right: 5%; top: calc(var(--mast-h, 84px) + 20px); bottom: auto; width: auto; height: calc(100% - var(--mast-h, 84px) - 20px); max-width: 54vw; object-fit: initial; animation: none; -webkit-mask: linear-gradient(90deg, transparent 0, #000 28%, #000 88%, transparent), linear-gradient(180deg, transparent 0, #000 14%, #000 98%, transparent); -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent 0, #000 28%, #000 88%, transparent) intersect, linear-gradient(180deg, transparent 0, #000 14%, #000 98%, transparent); filter: saturate(.9) contrast(1.03); }
@media (max-width: 899px) {
  .contact-media .ring-logo { right: 50%; top: 22%; width: min(340px, 80vw); }
  .inner-media .contact-portrait { right: 50%; bottom: auto; top: var(--mast-h, 84px); width: min(380px, 86vw); transform: translateX(50%); }
}
.trust-points { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .trust-points { grid-template-columns: repeat(3, 1fr); } }
.trust-points li { padding: 26px 24px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); }
.trust-points b { display: block; font: 600 12px var(--font-text); letter-spacing: .22em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.trust-points span { color: #dfe6f0; }
.b2b-grid { display: grid; gap: 16px; margin-top: 44px; }
@media (min-width: 900px) { .b2b-grid { grid-template-columns: repeat(3, 1fr); } }
.b2b { display: flex; flex-direction: column; gap: 10px; padding: 30px 26px; border-radius: 20px; text-decoration: none; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(160deg, rgba(29,161,194,.08), transparent 60%), rgba(255,255,255,.02); transition: border-color .3s, transform .3s; }
.b2b:hover { border-color: rgba(29,161,194,.55); transform: translateY(-3px); }
.b2b-num { font: 600 12px var(--font-text); letter-spacing: .2em; color: rgba(255,255,255,.35); }
.b2b h3 { font: 600 22px var(--font-display); text-transform: uppercase; letter-spacing: .05em; }
.b2b p { color: var(--muted); flex: 1; }
@media (prefers-reduced-motion: reduce) { .b2b:hover { transform: none; } }

/* Business touch (contact page): brushed silver light, metallic borders and titles. */
.silver-text { background: linear-gradient(100deg, #9aa4b5 0%, #f4f6fa 35%, #b8c0cc 55%, #ffffff 70%, #8e98a8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust-points li, .b2b { position: relative; border: 1px solid transparent; background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01) 60%) padding-box, linear-gradient(#0c1330, #0c1330) padding-box, linear-gradient(135deg, rgba(226,232,240,.55), rgba(148,163,184,.12) 40%, rgba(226,232,240,.35) 75%, rgba(148,163,184,.1)) border-box; }
.trust-points b, .b2b-num { color: #cbd5e1; }
/* Metallic line icon beside each value, in a small brushed-silver square. */
.trust-points b { display: flex; align-items: center; gap: 14px; }
.tp-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; border: 1px solid transparent; background: linear-gradient(160deg, #1a2238, #0c1330) padding-box, linear-gradient(135deg, rgba(241,245,249,.7), rgba(100,116,139,.2) 45%, rgba(226,232,240,.5)) border-box; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 18px -10px rgba(0,0,0,.8); transition: box-shadow .3s; }
.tp-ic svg { width: 22px; height: 22px; }
/* Gold line under each value: a soft gleam travels along it, in turn on the three cards. */
.trust-points li { display: flex; flex-direction: column; }
.trust-points li > span { flex: 1; margin-bottom: 22px; }
.trust-points li::after { content: ""; display: block; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(212,175,55,.15), #d4af37 30%, #f6e27a 50%, #d4af37 70%, rgba(212,175,55,.15)); background-size: 220% 100%; background-position: 100% 0; box-shadow: 0 0 8px rgba(212,175,55,.35); }
@media (prefers-reduced-motion: no-preference) {
  .trust-points li::after { animation: gold-gleam 6s ease-in-out infinite; }
  .trust-points li:nth-child(2)::after { animation-delay: .6s; }
  .trust-points li:nth-child(3)::after { animation-delay: 1.2s; }
  @keyframes gold-gleam { 0%, 55% { background-position: 100% 0; box-shadow: 0 0 6px rgba(212,175,55,.25); } 75% { box-shadow: 0 0 14px rgba(246,226,122,.6); } 100% { background-position: -20% 0; box-shadow: 0 0 6px rgba(212,175,55,.25); } }
}
.trust-points li:hover .tp-ic { box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 18px rgba(203,213,225,.35); }
.b2b:hover { border-color: transparent; box-shadow: 0 24px 50px -28px rgba(203,213,225,.45); }
.b2b .arrow-link { color: #e2e8f0; }
/* Business emblem (brain + four pillars) in a square brushed-metal frame, with a slow light scan. */
.b2b-head { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .b2b-head { grid-template-columns: 1fr 300px; gap: 64px; } }
.b2b-emblem { position: relative; margin: 0; justify-self: center; width: min(300px, 70vw); aspect-ratio: 1; padding: 1px; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, rgba(226,232,240,.6), rgba(148,163,184,.12) 40%, rgba(226,232,240,.4) 75%, rgba(148,163,184,.1)); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 50px -20px rgba(203,213,225,.35); }
.b2b-emblem img { display: block; width: 100%; height: 100%; border-radius: 17px; }
.b2b-emblem::after { content: ""; position: absolute; inset: 1px; border-radius: 17px; pointer-events: none; background: linear-gradient(180deg, transparent 0%, rgba(226,232,240,.14) 48%, rgba(255,255,255,.28) 50%, rgba(226,232,240,.14) 52%, transparent 100%); background-size: 100% 300%; background-position: 0 -100%; }
@media (prefers-reduced-motion: no-preference) {
  .b2b-emblem::after { animation: scan 6s ease-in-out infinite; }
  @keyframes scan { 0%, 15% { background-position: 0 -100%; } 65%, 100% { background-position: 0 200%; } }
}
/* Cube logo as a square icon tile on each business card. */
.b2b-top { display: flex; justify-content: space-between; align-items: center; }
.b2b-ic { width: 46px; height: 46px; padding: 1px; border-radius: 10px; background: linear-gradient(135deg, rgba(226,232,240,.6), rgba(148,163,184,.15)); transition: box-shadow .3s, transform .3s; }
.b2b-ic img { display: block; width: 100%; height: 100%; border-radius: 9px; }
.b2b:hover .b2b-ic { box-shadow: 0 0 22px rgba(203,213,225,.45); transform: rotate(-4deg) scale(1.06); }
@media (prefers-reduced-motion: reduce) { .b2b:hover .b2b-ic { transform: none; } }
/* Partnership strip. */
.b2b-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 28px; padding: 22px 26px; border-radius: 16px; border: 1px solid rgba(203,213,225,.18); background: rgba(255,255,255,.02); }
.b2b-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.b2b-strip li { display: flex; align-items: center; gap: 10px; font: 600 12px var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: #cbd5e1; }
.b2b-strip li::before { content: ""; width: 7px; height: 7px; background: linear-gradient(135deg, #f1f5f9, #94a3b8); transform: rotate(45deg); }
.b2b-section { background: linear-gradient(180deg, #0b1128, #111a30 60%, #0b1128); border-block: 1px solid rgba(203,213,225,.1); }

/* Trademark sign: small, raised, discreet. */
sup.tm { font-size: .42em; font-weight: 500; letter-spacing: 0; vertical-align: super; margin-left: .12em; opacity: .75; }
.wordmark sup.tm { font-size: .55em; }

/* Funders next to the founder. */
.founder-funders { justify-content: flex-start; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }

/* Closing banner and footer: plain night blue, nothing superfluous. */
.final { background: #0b1c47; border-top: 1px solid rgba(255,255,255,.06); }
.final::before, .final::after { content: none; animation: none; }
.final .final-halo, .final .wave { display: none; }
.site-foot { background: #07143a; border-top: 1px solid rgba(255,255,255,.06); color: #a9b8d0; }
.site-foot .giant { display: none; }
.site-foot .disclaimer { margin-top: 48px; padding-bottom: 40px; }
