/* WEXLY inner pages and the shared menu. Loaded after site.css, reuses its tokens and components. */

/* ---------------- the menu (every page) ---------------- */
.menu { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: calc(env(safe-area-inset-top) + 0.6rem) var(--gutter) calc(env(safe-area-inset-bottom) + 1.6rem); border: 0; background: radial-gradient(120% 80% at 50% 0%, #12304A 0%, #07111D 46%, #04060B 100%); color: var(--ink); overflow-y: auto; }
.menu[open] { display: flex; flex-direction: column; animation: menuIn 320ms var(--ease-out); }
.menu::backdrop { background: rgb(3 6 10 / 0.5); }
@keyframes menuIn { from { opacity: 0; } }
.menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 4.4rem; }
.menu__brand { display: inline-flex; align-items: center; gap: 0.8rem; color: var(--ink); text-decoration: none; }
.menu__brand svg { height: 40px; width: auto; fill: currentColor; }
.menu__brand b { font: 800 1.35rem/1 var(--f-display); font-stretch: 125%; letter-spacing: 0.2em; }
.menu__nav { margin-block: auto; padding-block: 2rem; display: grid; gap: clamp(0.15rem, 1.2vh, 0.7rem); }
.menu__nav a { display: flex; align-items: baseline; gap: 1rem; width: fit-content; font: 800 clamp(2.1rem, 1rem + 5vw, 5rem)/1.02 var(--f-display); font-stretch: 116%; text-transform: uppercase; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; transition: color 180ms var(--ease-out), transform 220ms var(--ease-out); }
.menu__nav a span { min-width: 2.2em; font: 500 0.78rem/1 var(--f-mono); letter-spacing: 0.12em; color: var(--ink-faint); }
.menu__nav a[aria-current="page"] { color: var(--accent); }
.menu[open] .menu__nav a { animation: linkIn 460ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms + 60ms); }
@keyframes linkIn { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
@media (hover: hover) and (pointer: fine) { .menu__nav a:hover { color: var(--accent); transform: translateX(8px); } }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--hair); }
.menu__social { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font: 500 0.8rem/1 var(--f-mono); letter-spacing: 0.04em; }
.menu__social a { color: var(--ink-soft); text-decoration: none; }
.menu__social a:hover { color: var(--ink); }

/* ---------------- page chrome ---------------- */
html.page { --bar-h: 7rem; }
html.page .mark path { fill: currentColor; stroke: transparent; opacity: 1; }
html.page .bar::before { transition: opacity 300ms var(--ease-out), background-color 300ms var(--ease-out); }
html.page.is-scrolled .bar::before { inset: 0; background: rgb(4 6 11 / 0.8); border-bottom: 1px solid var(--hair); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); }
.pnav { grid-column: 1 / -1; grid-row: 2; justify-self: center; display: flex; gap: clamp(1rem, 2.2vw, 2.2rem); }
.pnav a { position: relative; padding: 0.5rem 0.1rem; font: 500 0.74rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; transition: color 180ms var(--ease-out); }
.pnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.15rem; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out); }
.pnav a[aria-current="page"] { color: var(--ink); }
.pnav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .pnav a:hover { color: var(--ink); } .pnav a:hover::after { transform: scaleX(1); } }

/* ---------------- layout ---------------- */
.wrap { width: 100%; max-width: 84rem; margin-inline: auto; padding-inline: var(--gutter); }
.psec { padding-block: calc(var(--section) * 0.85); }
.psec--band { background: linear-gradient(180deg, #04060B 0%, #071321 40%, #04060B 100%); }
.psec + .psec { padding-top: 0; }
.psec--band + .psec, .psec + .psec--band { padding-top: calc(var(--section) * 0.85); }
.sec-head { max-width: 52rem; }
.sec-head .lede { margin-top: var(--s-4); }
.kicker { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: var(--s-5); font: 500 var(--t-xs)/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }

/* ---------------- page hero ---------------- */
.phero { position: relative; display: flex; align-items: flex-end; min-height: min(94vh, 62rem); padding: calc(var(--bar-h) + 10vh) 0 clamp(3rem, 9vh, 6.5rem); overflow: hidden; isolation: isolate; }
.phero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgb(4 6 11 / 0.82) 0%, rgb(4 6 11 / 0.5) 45%, rgb(4 6 11 / 0.1) 75%),
  linear-gradient(180deg, rgb(4 6 11 / 0.6) 0%, rgb(4 6 11 / 0) 30%, rgb(4 6 11 / 0.35) 70%, #04060B 100%); }
.phero__in { max-width: 62rem; }
.phero--sign::before { background: linear-gradient(180deg, rgb(4 6 11 / 0.5) 0%, rgb(4 6 11 / 0) 18%, rgb(4 6 11 / 0) 46%, rgb(4 6 11 / 0.72) 68%, #04060B 100%); }
.phero--dim::before { background: linear-gradient(90deg, rgb(4 6 11 / 0.92) 0%, rgb(4 6 11 / 0.78) 48%, rgb(4 6 11 / 0.42) 80%), linear-gradient(180deg, rgb(4 6 11 / 0.6) 0%, rgb(4 6 11 / 0.2) 30%, rgb(4 6 11 / 0.45) 70%, #04060B 100%); }
.phero .hx { font-size: var(--hx-xl); }
.phero .lede { color: #C8D4E0; }
.phero .actions { margin-top: var(--s-6); }
.phero--screen { min-height: min(78vh, 52rem); background: radial-gradient(120% 85% at 50% 0%, #2C427F 0%, #1A2852 42%, #04060B 100%); }
.phero--screen::before { background-image: radial-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1.2px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 90%); mask-image: linear-gradient(180deg, #000 20%, transparent 90%); }
.phero--screen .scr__chrome { position: absolute; top: calc(var(--bar-h) + 1.2rem); }
.phero--plain { min-height: auto; padding-top: calc(var(--bar-h) + 12vh); }
.phero--plain::before { background: radial-gradient(90% 70% at 50% 0%, #0E2238 0%, #04060B 70%); }

/* ---------------- blocks ---------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr)); gap: var(--s-4); margin-top: var(--s-7); }
.pcard { padding: clamp(1.4rem, 1rem + 1vw, 2rem); border-radius: var(--r-card); background: linear-gradient(180deg, rgb(22 31 48 / 0.7), rgb(9 14 25 / 0.7)); border: 1px solid var(--hair); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06); }
.pcard__n { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1.1rem; border-radius: 14px; background: rgb(87 214 255 / 0.1); color: var(--accent); box-shadow: inset 0 0 0 1px rgb(87 214 255 / 0.25); font: 600 0.8rem/1 var(--f-mono); }
.pcard h3 { margin: 0; font: 800 1.2rem/1.15 var(--f-display); font-stretch: 112%; text-transform: uppercase; }
.pcard p { margin-top: 0.6rem; color: var(--ink-soft); font-size: var(--t-sm); line-height: 1.6; }

/* before / after */
.ba { display: grid; gap: 0.6rem; margin-top: var(--s-7); }
.ba__head, .ba__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.ba__head span { padding: 0 1.2rem; font: 500 var(--t-xs)/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.ba__head span:last-child { color: var(--accent); }
.ba__row > p { display: flex; align-items: center; gap: 0.8rem; padding: 1rem 1.2rem; border-radius: 16px; font-size: var(--t-sm); }
.ba__row > p::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: center/13px no-repeat; }
.ba__row > p:first-child { background: rgb(255 255 255 / 0.03); border: 1px solid var(--hair); color: var(--ink-soft); }
.ba__row > p:first-child::before { background-color: rgb(255 71 71 / 0.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF7A7A' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E"); }
.ba__row > p:last-child { background: linear-gradient(90deg, rgb(87 214 255 / 0.1), rgb(87 214 255 / 0.03)); border: 1px solid rgb(87 214 255 / 0.25); color: var(--ink); font-weight: 500; }
.ba__row > p:last-child::before { background-color: rgb(87 214 255 / 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357D6FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E"); }

/* text + picture */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.split--rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.split--rev .split__media { order: -1; }
.split__media { position: relative; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 90px -40px rgb(0 0 0 / 0.9), 0 0 0 1px var(--hair); }
.split__media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.split__media figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: 0.4rem 0.75rem; border-radius: 999px; background: rgb(4 6 11 / 0.66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 500 0.7rem/1 var(--f-mono); letter-spacing: 0.08em; color: #DCE6F0; }
.split .lede + .lede { margin-top: var(--s-4); }
.textlink { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: var(--s-6); color: var(--accent); font-weight: 600; text-decoration: none; }
.textlink svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 220ms var(--ease-out); }
.textlink:hover svg { transform: translateX(4px); }

/* phases */
.phases { position: relative; display: grid; gap: 0; margin-top: var(--s-7); counter-reset: ph; }
.phase { position: relative; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.4fr); gap: 1.5rem; align-items: start; padding: 1.6rem 0; border-top: 1px solid var(--hair); }
.phase:last-child { border-bottom: 1px solid var(--hair); }
.phase__n { font: 600 0.85rem/1.6 var(--f-mono); color: var(--accent); }
.phase h3 { margin: 0; font: 800 clamp(1.2rem, 0.9rem + 1vw, 1.7rem)/1.1 var(--f-display); font-stretch: 114%; text-transform: uppercase; }
.phase ul { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.phase li { padding: 0.4rem 0.75rem; border-radius: 999px; background: rgb(255 255 255 / 0.05); box-shadow: inset 0 0 0 1px var(--hair); font-size: var(--t-sm); color: var(--ink-soft); }

/* offers, detailed */
.plans--full { margin-top: var(--s-7); }
.plans--full .plan { padding: 2rem 1.8rem 1.8rem; }
.plan__res { padding: 0.8rem 0.9rem; border-radius: 14px; background: rgb(7 17 29 / 0.05); font-size: var(--t-sm); color: #26364C; }
.plan--core .plan__res { background: rgb(255 255 255 / 0.06); color: #DCE6F0; }
.plan__res b { display: block; margin-bottom: 0.25rem; font: 600 0.68rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: #5A6A80; }
.plan--core .plan__res b { color: #9FE6FF; }
.plan__quote { margin-top: -0.2rem; font-size: var(--t-sm); font-style: italic; color: #4A5A70; }
.plan--core .plan__quote { color: #B9C7D6; }

/* rules and FAQ */
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: var(--s-4); margin-top: var(--s-7); }
.rule { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: 0.35rem; padding: 1.4rem; border-radius: 20px; background: rgb(255 255 255 / 0.035); border: 1px solid var(--hair); }
.rule__i { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgb(87 214 255 / 0.1); color: var(--accent); }
.rule__i svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rule h3 { margin: 0; font: 650 1.02rem/1.3 var(--f-text); }
.rule p { color: var(--ink-soft); font-size: var(--t-sm); }
.faq { display: grid; gap: 0.6rem; margin-top: var(--s-7); max-width: 56rem; }
.faq details { border-radius: 18px; background: rgb(255 255 255 / 0.035); border: 1px solid var(--hair); transition: background-color 200ms var(--ease-out); }
.faq details[open] { background: rgb(255 255 255 / 0.06); }
.faq summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; cursor: pointer; list-style: none; font: 650 var(--t-base)/1.35 var(--f-text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgb(87 214 255 / 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357D6FF' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/15px no-repeat; transition: transform 260ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); font-size: var(--t-sm); max-width: 46em; }

/* statement */
.statement { font: 800 clamp(1.7rem, 0.9rem + 2.6vw, 3.4rem)/1.08 var(--f-display); font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.01em; text-wrap: balance; max-width: 22em; }
.statement em { font-style: normal; color: var(--accent); }
.statement span { color: var(--ink-faint); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: var(--s-3); margin-top: var(--s-7); }
.quotes li { padding: 1.2rem 1.3rem; border-radius: 18px; background: rgb(255 255 255 / 0.035); border: 1px solid var(--hair); font-size: var(--t-base); color: #DCE6F0; }
.quotes li::before { content: "«\00a0"; color: var(--accent); }
.quotes li::after { content: "\00a0»"; color: var(--accent); }
.signoff { margin-top: var(--s-6); font: 500 var(--t-sm)/1.4 var(--f-mono); color: var(--ink-faint); letter-spacing: 0.04em; }

/* projects */
.proj { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--hair); }
.proj:first-of-type { border-top: 0; }
.proj__frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 22px; background: #0B1320; box-shadow: 0 40px 90px -40px rgb(0 0 0 / 0.9), 0 0 0 1px var(--hair); }
.proj__frame video { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.proj__t .tag { margin-bottom: var(--s-4); }
.proj__t h2 { font: 800 clamp(1.8rem, 1rem + 2.4vw, 3.2rem)/1 var(--f-display); font-stretch: 114%; text-transform: uppercase; letter-spacing: -0.01em; }
.proj__t p { margin-top: var(--s-4); color: var(--ink-soft); font-size: var(--t-lg); max-width: 26em; }
.slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: var(--s-4); margin-top: var(--s-6); }
.slots .shot--empty { display: grid; }
.slots .shot--empty figcaption { display: grid; gap: 0.4rem; padding: 1rem 0.75rem 0.7rem; }
.slots .shot--empty figcaption strong { font: 800 1.1rem/1.15 var(--f-display); font-stretch: 112%; text-transform: uppercase; }

/* contact */
.channels--xl { max-width: none; margin-top: var(--s-7); }
.channels--xl .channel { padding: 1.1rem 1.1rem 1.1rem 1.2rem; }
.checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 0.6rem; margin-top: var(--s-6); counter-reset: ck; }
.checklist li { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.2rem; border-radius: 16px; background: rgb(255 255 255 / 0.035); border: 1px solid var(--hair); counter-increment: ck; }
.checklist li::before { content: counter(ck, decimal-leading-zero); flex: none; font: 600 0.8rem/1 var(--f-mono); color: var(--accent); }
.next { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: var(--s-4); margin-top: var(--s-7); }

/* closing call */
.cta-band { position: relative; overflow: hidden; padding: clamp(4rem, 9vw, 8rem) var(--gutter); text-align: center; isolation: isolate; border-top: 1px solid var(--hair); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 100%, rgb(87 214 255 / 0.16), transparent 70%), radial-gradient(120% 80% at 50% 0%, #0E2238 0%, #04060B 70%); }
.cta-band .hx { margin-inline: auto; max-width: 18em; font-size: var(--hx-lg); }
.cta-band .lede { margin-inline: auto; }
.cta-band .actions { justify-content: center; }

/* footer */
.pfoot { padding: clamp(3rem, 6vw, 5rem) var(--gutter) calc(env(safe-area-inset-bottom) + 2rem); border-top: 1px solid var(--hair); background: #030509; }
.pfoot__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 2.5rem; max-width: 84rem; margin-inline: auto; }
.pfoot__brand { display: inline-flex; align-items: center; gap: 0.8rem; color: var(--ink); text-decoration: none; }
.pfoot__brand svg { height: 44px; width: auto; fill: currentColor; }
.pfoot__brand b { font: 800 1.4rem/1 var(--f-display); font-stretch: 125%; letter-spacing: 0.2em; }
.pfoot__claim { margin-top: 1rem; max-width: 22em; color: var(--ink-soft); font-size: var(--t-sm); }
.pfoot h2 { margin-bottom: 1rem; font: 500 var(--t-xs)/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.pfoot ul { display: grid; gap: 0.6rem; }
.pfoot li a { color: var(--ink-soft); text-decoration: none; font-size: var(--t-sm); }
.pfoot li a:hover { color: var(--ink); text-decoration: underline; }
.pfoot__bottom { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; max-width: 84rem; margin: 3rem auto 0; padding-top: 1.4rem; border-top: 1px solid var(--hair); font: 400 var(--t-xs)/1.4 var(--f-mono); color: var(--ink-faint); letter-spacing: 0.04em; }
.pfoot__bottom a { color: var(--ink-soft); text-decoration: none; }
.pfoot__bottom a:hover { color: var(--ink); text-decoration: underline; }

/* legal placeholder */
.legal { max-width: 46rem; }
.legal p { color: var(--ink-soft); }

/* phone bar: menu, two networks, the name, PROJET; on the smallest phones the networks live in the menu */
@media (max-width: 899px) {
  .bar { column-gap: 6px; }
  .bar__social { gap: 4px; }
  .bar .iconbtn { width: 34px; height: 34px; }
  .bar .iconbtn svg { width: 16px; height: 16px; }
  .bar__brand { gap: 0.4rem; padding-inline: 0; }
  .mark { height: 30px; }
  .bar__word { font-size: 0.92rem; letter-spacing: 0.14em; }
  .bar__cta { height: 38px; padding-left: 0.8rem; gap: 0.4rem; font-size: 0.8rem; }
  .bar__cta .btn__i { width: 28px; height: 28px; }
}
@media (max-width: 379px) {
  .bar__social a.iconbtn { display: none; }
}

/* reveal on scroll (only when the script runs and motion is welcome) */
.js [data-r] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-r].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-r] { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1080px) {
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .proj { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 3rem minmax(0, 1fr); }
  .phase ul { grid-column: 2; }
  .pfoot__grid { grid-template-columns: 1fr 1fr; }
  .pfoot__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  html.page { --bar-h: 4.4rem; }
  html.page .bar { grid-template-rows: 3.7rem; }
  .pnav { display: none; }
  .phero { min-height: 86svh; padding-top: calc(var(--bar-h) + 8vh); }
  .phero::before { background: linear-gradient(180deg, rgb(4 6 11 / 0.55) 0%, rgb(4 6 11 / 0.15) 30%, rgb(4 6 11 / 0.7) 62%, #04060B 100%); }
  .phero--screen::before { background-image: radial-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1.2px); }
  .phero--screen { min-height: 70svh; }
  .phero--sign::before { background: linear-gradient(180deg, rgb(4 6 11 / 0.5) 0%, rgb(4 6 11 / 0) 18%, rgb(4 6 11 / 0) 40%, rgb(4 6 11 / 0.75) 62%, #04060B 100%); }
  .phero--dim::before { background: linear-gradient(180deg, rgb(4 6 11 / 0.72) 0%, rgb(4 6 11 / 0.55) 40%, rgb(4 6 11 / 0.85) 70%, #04060B 100%); }
  .phero--plain { min-height: auto; }
  .phero .actions .btn--ghost { display: none; }
  .ba__head { display: none; }
  .ba__row { grid-template-columns: 1fr; gap: 0.35rem; margin-bottom: 0.6rem; }
  .menu__foot .btn { width: 100%; justify-content: space-between; }
}


/* ================================================================
   v5: menu numerals, offer cards that follow the pointer, the PROJET composer
   ================================================================ */
/* menu: the numbers are as big as the words, drawn as cyan outlines, filled when current or hovered */
.menu__nav a span { min-width: 2.35ch; font: inherit; letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 1.5px var(--accent); transition: color 220ms var(--ease-out), -webkit-text-stroke-color 220ms var(--ease-out); }
.menu__nav a[aria-current="page"] span { color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .menu__nav a:hover span { color: var(--accent); } }

/* offers (inner page): they arrive tilted back, then lean toward the pointer */
.plans .plan { transform-origin: 50% 100%; transform: perspective(1200px) translate3d(0, calc((1 - var(--in, 1)) * 46px - var(--lift, 0px) - var(--hov, 0px)), 0) rotateX(calc((1 - var(--in, 1)) * 18deg + var(--rx, 0deg))) rotateY(var(--ry, 0deg)) scale(calc(0.93 + var(--in, 1) * 0.07)); }
.plans--full .plan { opacity: var(--in, 1); }
.js .plans--full .plan[data-tween] { --in: 0; }
@media (prefers-reduced-motion: reduce) { .js .plans--full .plan[data-tween] { --in: 1; } }
.plan::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 320ms var(--ease-out); background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(255 255 255 / 0.65), rgb(255 255 255 / 0) 55%); mix-blend-mode: soft-light; }
.plan--core::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(87 214 255 / 0.32), rgb(87 214 255 / 0) 55%); mix-blend-mode: screen; }
.plan.is-hot::after { opacity: 1; }
.plan.is-hot { box-shadow: 0 1px 2px rgb(16 32 56 / 0.06), 0 50px 90px -30px rgb(0 0 0 / 0.75); }
.plan--core.is-hot { box-shadow: 0 0 0 6px rgb(87 214 255 / 0.14), 0 0 60px -10px rgb(87 214 255 / 0.45), 0 50px 90px -30px rgb(0 0 0 / 0.8); }

/* ---------------- the PROJET composer, like the reel's order card ---------------- */
.projet { width: min(94vw, 35rem); max-height: min(94svh, 56rem); padding: 0; overflow: visible; border: 0; border-radius: 28px; background: transparent; box-shadow: none; color: #07111D; }
.projet[open] { animation: pjIn 420ms var(--ease-out); }
@keyframes pjIn { from { opacity: 0; transform: translate3d(0, 26px, 0) scale(0.96); } }
.projet::backdrop { background: rgb(3 6 10 / 0.66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pj { position: relative; display: flex; flex-direction: column; max-height: inherit; border-radius: 28px; background: #FFFFFF; box-shadow: 0 50px 110px -30px rgb(0 0 0 / 0.75), 0 0 0 1px rgb(255 255 255 / 0.6); }
.pj__chrome { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 0.9rem 0.85rem 1.2rem; border-bottom: 1px solid rgb(7 17 29 / 0.07); }
.pj__dots { display: flex; gap: 6px; }
.pj__dots i { width: 9px; height: 9px; border-radius: 50%; background: #FF6159; }
.pj__dots i:nth-child(2) { background: #FFBD2E; } .pj__dots i:nth-child(3) { background: #28C941; }
.pj__tabs { display: flex; gap: 1rem; margin-right: auto; font: 500 0.72rem/1 var(--f-mono); color: #8391A3; letter-spacing: 0.03em; }
.pj__tabs b { font-weight: 500; color: #07111D; }
.pj__tabs b::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 0.45rem; border-radius: 50%; background: var(--accent-deep); vertical-align: 1px; }
.pj__x { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgb(7 17 29 / 0.05); color: #07111D; }
.pj__x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pj__body { overflow-y: auto; overscroll-behavior: contain; padding: 1.3rem 1.5rem 1.4rem; }
.pj__eyebrow { font: 500 0.68rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: #8391A3; }
.pj__t { margin-top: 0.5rem; font: 800 clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem)/0.98 var(--f-display); font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.01em; color: #07111D; }
.pj__t:focus { outline: none; }
.pj__grid { display: grid; gap: 0.95rem; margin-top: 1.2rem; }
.pj__row { animation: pjRow 520ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms + 120ms); }
@keyframes pjRow { from { opacity: 0; transform: translate3d(0, 12px, 0); } }
.pj__f { display: grid; gap: 0.4rem; }
.pj__f > span, .pj__chips legend { font: 500 0.66rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: #5A6A80; }
.pj__f em { font-style: normal; color: #9AA6B5; text-transform: none; letter-spacing: 0.02em; }
.pj__f input, .pj__f textarea { width: 100%; padding: 0.8rem 0.95rem; border: 1px solid rgb(7 17 29 / 0.1); border-radius: 14px; background: #F4F7FA; color: #07111D; font: 400 0.98rem/1.45 var(--f-text); transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }
.pj__f textarea { min-height: 6.2rem; resize: vertical; }
.pj__f input::placeholder, .pj__f textarea::placeholder { color: #8C98A8; }
.pj__f input:focus, .pj__f textarea:focus { outline: none; border-color: var(--accent-deep); background: #FFFFFF; box-shadow: 0 0 0 4px rgb(10 109 146 / 0.12); }
.pj__f [aria-invalid="true"] { border-color: #E5484D; box-shadow: 0 0 0 4px rgb(229 72 77 / 0.12); }
.pj__chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; border: 0; }
.pj__chips legend { width: 100%; margin-bottom: 0.45rem; padding: 0; }
.pj__chips label { position: relative; }
.pj__chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pj__chips span { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 36px; padding: 0 0.9rem; border-radius: 999px; background: #FFFFFF; box-shadow: inset 0 0 0 1px rgb(7 17 29 / 0.14); font: 500 0.86rem/1 var(--f-text); color: #26364C; cursor: pointer; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), box-shadow 160ms var(--ease-out), transform 160ms var(--ease-out); }
.pj__chips span::before { content: ""; width: 0; height: 15px; border-radius: 50%; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307111D' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/10px no-repeat; transition: width 200ms var(--ease-spring); }
.pj__chips input:checked + span { background: #07111D; color: #FFFFFF; box-shadow: none; }
.pj__chips input:checked + span::before { width: 15px; }
.pj__chips input:focus-visible + span { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
.pj__chips label:active span { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .pj__chips input:not(:checked) + span:hover { box-shadow: inset 0 0 0 1px rgb(7 17 29 / 0.35); } }
.pj__via span { padding-left: 0.6rem; }
.pj__via span svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pj__via span svg .fill { fill: currentColor; stroke: none; }
.pj__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pj__err { padding: 0.65rem 0.85rem; border-radius: 12px; background: rgb(229 72 77 / 0.08); color: #B42318; font-size: 0.86rem; }
.pj__send { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; height: 56px; padding: 0 0.45rem 0 1.4rem; border: 0; border-radius: 999px; background: #07111D; color: #FFFFFF; font: 600 1rem/1 var(--f-text); transition: transform 160ms var(--ease-out); isolation: isolate; }
.pj__send:active { transform: scale(0.98); }
.pj__send .btn__i { background: var(--accent); color: var(--accent-ink); width: 44px; height: 44px; }
.pj__bar { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0A6D92, #57D6FF); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 900ms var(--ease-out); }
.pj__send.is-sending { pointer-events: none; }
.pj__send.is-sending .btn__i { animation: pjSpin 900ms linear infinite; }
@keyframes pjSpin { to { transform: rotate(360deg); } }
@media (hover: hover) and (pointer: fine) { .pj__send:hover .btn__i { transform: rotate(45deg); } }
.pj__fine { margin-top: 0.2rem; font-size: 0.78rem; line-height: 1.5; color: #6B7A8D; text-align: center; }
.pj__fine a { color: inherit; }
/* sent */
.pj__done { display: grid; justify-items: center; gap: 0.8rem; padding: 2.4rem 1.6rem 2rem; text-align: center; }
.pj__done[hidden] { display: none; }
.pj__ok { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: #07111D; color: var(--accent); animation: pjPop 520ms var(--ease-spring) both; }
.pj__ok svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: pjTick 520ms 200ms var(--ease-out) forwards; }
@keyframes pjPop { from { transform: scale(0.4); opacity: 0; } }
@keyframes pjTick { to { stroke-dashoffset: 0; } }
.pj__done p { max-width: 24rem; color: #4A5A70; font-size: 0.95rem; }
.pj__done .pj__send { width: auto; justify-content: center; padding: 0 1.6rem; margin-top: 0.6rem; }
/* the toast under the card, like "Order received" */
.pj__toast { position: absolute; left: 50%; bottom: -1.2rem; display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.6rem 1rem 0.6rem 0.65rem; border-radius: 999px; background: #FFFFFF; color: #07111D; font: 600 0.88rem/1 var(--f-text); box-shadow: 0 14px 34px -10px rgb(0 0 0 / 0.55), 0 0 0 1px rgb(7 17 29 / 0.08); opacity: 0; transform: translate(-50%, 10px) scale(0.92); transition: opacity 260ms var(--ease-out), transform 360ms var(--ease-spring); pointer-events: none; white-space: nowrap; }
.pj__toast i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #07111D; color: #FFFFFF; }
.pj__toast svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pj__toast.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
@media (max-width: 599px) {
  .projet { width: 100%; max-width: none; max-height: 94svh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  .projet[open] { animation: pjUp 420ms var(--ease-out); }
  @keyframes pjUp { from { transform: translate3d(0, 40%, 0); } }
  .pj { border-radius: 26px 26px 0 0; }
  .pj__body { padding: 1.1rem 1.1rem calc(env(safe-area-inset-bottom) + 1.2rem); }
  .pj__tabs span { display: none; }
  .pj__toast { bottom: auto; top: -3.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .projet[open], .pj__row, .pj__ok, .pj__ok svg { animation: none; }
  .pj__ok svg { stroke-dashoffset: 0; }
}
