/* ============================================================
   Maleric Solutions — app.css  (v4 · dark cinematic studio)
   Brand gradient: #6366f1 → #8b5cf6 → #ec4899
   ============================================================ */

:root {
  --bg: #07060c;
  --bg-2: #0d0b16;
  --text: #ece9f7;
  --muted: #a29cb9;
  --dim: #8f89a8;
  --hair: rgba(255, 255, 255, .08);
  --hair-2: rgba(255, 255, 255, .15);
  --glass: rgba(255, 255, 255, .035);

  --b1: #6366f1;
  --b2: #8b5cf6;
  --b3: #ec4899;
  --grad: linear-gradient(100deg, #6366f1 0%, #8b5cf6 48%, #ec4899 100%);
  --accent: #a78bfa;

  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1280px;
  --gutter: clamp(1.1rem, 4vw, 3.5rem);
  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-ui: cubic-bezier(.23, 1, .32, 1);      /* strong ease-out for UI feedback */
  --ease-move: cubic-bezier(.77, 0, .175, 1);   /* on-screen movement */
  --r-xl: 30px;
  --r-lg: 22px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.1rem);
  line-height: 1.6; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* fixed film grain (pointer-events none) */
body::after { content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .035; background: url("/assets/img/noise.png") repeat; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; color: #f6f3ff; }
::selection { background: var(--b2); color: #f6f3ff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: fixed; top: -100%; left: 1rem; z-index: 300; background: #f6f3ff; color: var(--bg); padding: .7rem 1rem; border-radius: 999px; }
.skip:focus { top: 1rem; }

/* ---------- layout ---------- */
.wrap, .shell { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(5rem, 11vw, 10rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.rule-top { border-top: 1px solid var(--hair); }
.gradtext { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ---------- type ---------- */
.display { font-size: clamp(2.8rem, 1.2rem + 6.4vw, 6.4rem); font-weight: 700; line-height: .95; letter-spacing: -.045em; }
.h2 { font-size: clamp(2.2rem, 1.2rem + 3.8vw, 4.4rem); line-height: .98; letter-spacing: -.04em; }
.h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -.025em; }
.lede { font-size: clamp(1.08rem, 1rem + .45vw, 1.32rem); line-height: 1.55; color: var(--muted); }
.prose { max-width: 66ch; color: var(--muted); }
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a, .linklike { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(167,139,250,.4); text-underline-offset: .2em; }
.prose a:hover, .linklike:hover { text-decoration-color: var(--accent); }
.muted { color: var(--muted); }
.measure { max-width: 60ch; }
.note { color: var(--dim); font-size: .92rem; }
.center { text-align: center; }

/* small pill label (sentence case) */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .85rem; font-weight: 500; color: var(--text);
  padding: .38rem .85rem; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--hair); margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--grad); }

/* ---------- buttons: solid block; on hover the label rolls up and the brand colour wipes in from below ---------- */
.b {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  height: 3.4rem; padding: 0 1.9rem; border-radius: .55rem; border: 1px solid transparent;
  font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; line-height: 1;
  white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent;
  /* leaving: quick */
  transition: color .22s var(--ease-ui), border-color .22s var(--ease-ui), transform .16s var(--ease-ui);
}
.b::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: linear-gradient(100deg, #6366f1, #8b5cf6 55%, #c0459e);
  transform: translateY(101%); transition: transform .24s var(--ease-ui);
}
.b__roll { position: relative; display: block; overflow: hidden; height: 1.15em; line-height: 1.15; }
.b__roll > span, .b__roll::after { display: block; transition: transform .24s var(--ease-ui); }
.b__roll::after { content: attr(data-t); position: absolute; left: 0; right: 0; top: 100%; text-align: center; }
/* press feedback on every device */
.b:active { transform: scale(.97); }
.b--solid { background: #f6f3ff; color: #0d0b16; }
.b--line { background: transparent; color: #f6f3ff; border-color: rgba(246,243,255,.28); }
/* entering: a touch slower; hover only where a real pointer exists (no sticky hover on phones) */
.b:focus-visible::before { transform: translateY(0); }
.b:focus-visible .b__roll > span, .b:focus-visible .b__roll::after { transform: translateY(-100%); }
.b--solid:focus-visible { color: #f6f3ff; }
.b--line:focus-visible { border-color: transparent; }
@media (hover: hover) and (pointer: fine) {
  .b:hover { transition-duration: .38s, .38s, .16s; }
  .b:hover::before { transform: translateY(0); transition-duration: .38s; }
  .b:hover .b__roll > span, .b:hover .b__roll::after { transform: translateY(-100%); transition-duration: .38s; }
  .b--solid:hover { color: #f6f3ff; }
  .b--line:hover { border-color: transparent; }
}
.b--sm { height: 2.6rem; padding: 0 1.15rem; font-size: .9rem; border-radius: .45rem; }
.b[disabled] { opacity: .6; pointer-events: none; }
.b[hidden] { display: none; }
.textlink { color: #f6f3ff; font-weight: 500; border-bottom: 1px solid var(--hair-2); padding-bottom: .15rem; transition: border-color .3s; }
.textlink:hover { border-color: var(--accent); }

/* ---------- double-bezel ---------- */
.bezel { padding: 6px; border-radius: var(--r-xl); background: rgba(255,255,255,.03); border: 1px solid var(--hair); transition: background .3s ease, border-color .3s ease; }
.bezel__core { height: 100%; border-radius: calc(var(--r-xl) - 6px); background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); overflow: hidden; position: relative; }
a.bezel:hover, .bezel--hover:hover { background: linear-gradient(135deg, rgba(99,102,241,.55), rgba(139,92,246,.35) 50%, rgba(236,72,153,.45)); border-color: transparent; }

/* ---------- island nav ---------- */
.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; justify-content: center; padding: 1rem var(--gutter) 0; pointer-events: none; }
.island {
  pointer-events: auto; display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.8rem);
  padding: .45rem .45rem .45rem 1.1rem; border-radius: 999px;
  background: rgba(13, 11, 22, .55); border: 1px solid var(--hair);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 20px 50px -30px rgba(0,0,0,.8);
  transition: background .5s var(--ease), border-color .5s var(--ease);
}
.site-head.is-scrolled .island { background: rgba(13, 11, 22, .82); border-color: var(--hair-2); }
.brand img { height: 30px; width: auto; display: block; }
.nav__list { display: flex; align-items: center; gap: .2rem; }
.nav__top { display: block; padding: .55rem .85rem; border-radius: 999px; font-size: .94rem; color: var(--muted); transition: color .3s, background .3s; }
.nav__top:hover, .nav__top[aria-current="page"] { color: #f6f3ff; background: rgba(255,255,255,.06); }
.nav__has-sub { position: relative; }
.nav__subtoggle { display: none; }
.nav__sub {
  position: absolute; top: calc(100% + .7rem); left: 50%; min-width: 260px; padding: .5rem;
  background: rgba(13, 11, 22, .92); border: 1px solid var(--hair-2); border-radius: 20px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px) scale(.97); transform-origin: 50% 0; transition: opacity .18s var(--ease-ui), transform .18s var(--ease-ui), visibility 0s linear .18s;
}
.nav__has-sub:hover .nav__sub, .nav__has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition: opacity .22s var(--ease-ui), transform .22s var(--ease-ui), visibility 0s; }
.nav__sub a { display: block; padding: .65rem .85rem; border-radius: 12px; font-size: .93rem; color: var(--muted); }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: rgba(255,255,255,.06); color: #f6f3ff; }
.site-head__side { display: flex; align-items: center; gap: .5rem; }
.lang { font-size: .82rem; font-weight: 600; color: var(--muted); padding: .5rem .7rem; border-radius: 999px; }
.lang:hover { color: #f6f3ff; background: rgba(255,255,255,.06); }
.burger { display: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(255,255,255,.08); position: relative; }
.burger span { position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: #f6f3ff; border-radius: 2px; transition: transform .3s var(--ease-move); }
.burger span:nth-child(1) { transform: translate(-50%, -4px); }
.burger span:nth-child(2) { transform: translate(-50%, 3px); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translate(-50%, 0) rotate(-45deg); }

/* full-screen glass menu */
.m-menu { position: fixed; inset: 0; z-index: 90; background: rgba(7, 6, 12, .9); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); padding: 7rem var(--gutter) 2rem; overflow-y: auto; display: flex; flex-direction: column; justify-content: space-between; }
.m-menu[hidden] { display: none; }
.m-menu { transition: opacity .25s var(--ease-ui); }
@starting-style { .m-menu { opacity: 0; } }
.m-menu__nav > ul > li { overflow: hidden; border-bottom: 1px solid var(--hair); }
.m-menu__nav > ul > li > a { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -.03em; padding: .9rem 0 .5rem; color: #f6f3ff; }
.m-menu__nav > ul > li { animation: mIn .42s var(--ease-ui) both; }
.m-menu__nav > ul > li:nth-child(1) { animation-delay: .04s; } .m-menu__nav > ul > li:nth-child(2) { animation-delay: .08s; }
.m-menu__nav > ul > li:nth-child(3) { animation-delay: .12s; } .m-menu__nav > ul > li:nth-child(4) { animation-delay: .16s; }
.m-menu__nav > ul > li:nth-child(5) { animation-delay: .2s; }
@keyframes mIn { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }
.m-menu__sub { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; padding-bottom: 1rem; }
.m-menu__sub a { color: var(--muted); font-size: .95rem; }
.m-menu__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 2rem; color: var(--muted); }

/* ---------- hero ---------- */
.hero { min-height: 100dvh; display: flex; align-items: center; padding-top: 7.5rem; padding-bottom: 4rem; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.hero::before { width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; left: -20vw; top: -25vw; background: radial-gradient(circle, rgba(99,102,241,.35), transparent 62%); }
.hero::after { width: 55vw; height: 55vw; max-width: 820px; max-height: 820px; right: -18vw; bottom: -30vw; background: radial-gradient(circle, rgba(236,72,153,.26), transparent 62%); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: clamp(3rem, 6vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: 1.6rem; }
.hero h1 .line { display: block; }
.hero__lede { max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 2.6rem; color: var(--dim); font-size: .9rem; }
.hero__meta b { color: var(--text); font-weight: 500; }

/* centered hero */
.hero--center { display: block; min-height: auto; padding-top: clamp(8.5rem, 14vw, 11.5rem); padding-bottom: 0; }
.hero--center .hero__text { position: relative; z-index: 1; max-width: 80rem; margin-inline: auto; text-align: center; }
.hero--center h1 { font-size: clamp(3rem, 1.3rem + 6.8vw, 7.6rem); }
.hero--center .hero__lede { margin-inline: auto; max-width: 50ch; }
.hero--center .hero__cta { justify-content: center; }

/* deck of real work (driven by --s scroll and --mx/--my pointer) */
.deck { --s: 0; --mx: 0; --my: 0; position: relative; z-index: 1; height: clamp(250px, 40vw, 620px); margin-top: clamp(3.5rem, 7vw, 6rem); }
.deck__card { position: absolute; left: 50%; top: 0; margin: 0; width: min(54%, 740px); animation: cardIn 1.4s var(--ease-out) both; }
.deck__card .bezel { padding: 5px; border-radius: 22px; background: rgba(255,255,255,.05); box-shadow: 0 60px 120px -40px rgba(0,0,0,.95); }
.deck__card .bezel__core { border-radius: 17px; }
.deck__card img { width: 100%; aspect-ratio: 16 / 9.6; object-fit: cover; }
.deck__card--c { z-index: 3; width: min(62%, 840px); animation-delay: .15s;
  transform: translateX(-50%) translate(calc(var(--mx) * 6px), calc(var(--my) * 6px - var(--s) * 40px)) scale(calc(1 + var(--s) * .07)); }
.deck__card--l { z-index: 1; animation-delay: .35s;
  transform: translateX(calc(-106% - var(--s) * 10%)) translateY(calc(10% + var(--s) * 8%)) translate(calc(var(--mx) * 16px), calc(var(--my) * 16px)) rotate(calc(-7deg - var(--s) * 6deg)); }
.deck__card--r { z-index: 2; animation-delay: .5s;
  transform: translateX(calc(6% + var(--s) * 10%)) translateY(calc(10% + var(--s) * 8%)) translate(calc(var(--mx) * 16px), calc(var(--my) * 16px)) rotate(calc(7deg + var(--s) * 6deg)); }
.cascade__tag { position: absolute; left: .8rem; bottom: .8rem; padding: .35rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 500; background: rgba(7,6,12,.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--hair-2); }
@keyframes cardIn { from { opacity: 0; translate: 0 70px; } to { opacity: 1; translate: 0 0; } }


/* ---------- section heads ---------- */
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head-row .h2 { max-width: 14ch; }
.head-row__side { max-width: 36ch; color: var(--muted); }
.sec-head { max-width: 48rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head .lede { margin-top: 1.1rem; }

/* ---------- work ---------- */
.work { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.work-card { display: block; }
.work-card__img { position: relative; overflow: hidden; height: clamp(300px, 36vw, 520px); }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.work-card__info { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.3rem 1.3rem; }
.work-card__name { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -.03em; color: #f6f3ff; line-height: 1.1; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.tag { font-size: .78rem; color: var(--muted); padding: .28rem .65rem; border-radius: 999px; border: 1px solid var(--hair-2); }
.ico-circle { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.07); border: 1px solid var(--hair-2); transition: transform .3s var(--ease-ui), background-color .2s ease; }
@media (hover: hover) { .work-card:hover .ico-circle { transform: rotate(45deg); background: #f6f3ff; color: var(--bg); } }

/* ---------- services bento ---------- */
.bento { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.svc .bezel__core { padding: .55rem; display: flex; flex-direction: column; }
.svc__art { aspect-ratio: 16 / 10; border-radius: calc(var(--r-xl) - 12px); overflow: hidden; border: 1px solid var(--hair); background: #100d1b; }
.svc__art .art { display: block; width: 100%; height: 100%; transition: transform .5s var(--ease-ui); }
.svc__body { flex: 1; display: flex; flex-direction: column; gap: .8rem; padding: clamp(1.1rem, 2vw, 1.6rem) clamp(.9rem, 1.6vw, 1.3rem) clamp(1rem, 1.6vw, 1.3rem); }
.svc h3 { font-size: clamp(1.45rem, 1.15rem + .9vw, 1.95rem); }
.svc--q h3 { font-size: clamp(1.22rem, 1.05rem + .45vw, 1.45rem); }
.svc p { color: var(--muted); max-width: 46ch; }
.svc--q p { font-size: .95rem; }
.svc__list { display: flex; flex-wrap: wrap; gap: .4rem; }
.svc__more { margin-top: auto; padding-top: .4rem; display: inline-flex; align-items: center; gap: .5rem; color: #f6f3ff; font-weight: 500; font-size: .95rem; }
.svc__more svg { transition: transform .25s var(--ease-ui); }
@media (hover: hover) and (pointer: fine) {
  .svc:hover .svc__more svg { transform: translate(3px, -3px); }
  .svc:hover .svc__art .art { transform: scale(1.035); }
}

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: p; }
.proc { padding: 1.8rem 0; border-top: 1px solid var(--hair); display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; }
.proc__n { font-family: var(--display); font-weight: 700; font-size: 2.2rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.proc h3 { font-size: 1.45rem; margin-bottom: .4rem; }
.proc p { color: var(--muted); }
/* builders .steps → same look */
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--hair); }
.step__n { font-family: var(--display); font-weight: 700; font-size: 1.6rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--muted); margin-top: .3rem; }
.facts { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); }
.fact .bezel__core { padding: 1.5rem; }
.fact b { display: block; font-family: var(--display); font-size: 1.25rem; color: #f6f3ff; margin-bottom: .35rem; letter-spacing: -.02em; }
.fact span { color: var(--muted); font-size: .95rem; }

/* ---------- pricing ---------- */
.plans-box .bezel__core { display: grid; grid-template-columns: 1fr; }
.plan { padding: clamp(1.8rem, 3vw, 2.6rem); display: flex; flex-direction: column; position: relative; }
.plan + .plan { border-top: 1px solid var(--hair); }
.plan--feat { background: radial-gradient(120% 90% at 50% 0%, rgba(139,92,246,.22), transparent 70%); }
.plan__badge { align-self: flex-start; font-size: .78rem; font-weight: 500; padding: .3rem .75rem; border-radius: 999px; background: var(--grad); color: #f6f3ff; margin-bottom: 1rem; }
.plan h3 { font-size: 1.6rem; }
.plan__for { color: var(--muted); margin: .3rem 0 1.6rem; }
.plan__price { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); letter-spacing: -.04em; color: #f6f3ff; line-height: 1; margin-bottom: 1.8rem; }
.plan__price span { font-family: var(--sans); font-size: 1rem; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-right: .3rem; }
.plan__feats { display: grid; gap: .7rem; margin-bottom: 2rem; flex: 1; }
.plan__feats li { display: grid; grid-template-columns: 1.2rem 1fr; gap: .6rem; color: var(--muted); font-size: .97rem; }
.plan__feats li::before { content: ""; width: .5rem; height: .5rem; margin-top: .5rem; border-radius: 50%; background: var(--grad); }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr; gap: 2rem 4rem; }
.faq { display: grid; }
.acc { border-bottom: 1px solid var(--hair); }
.acc:first-child { border-top: 1px solid var(--hair); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: #f6f3ff; letter-spacing: -.02em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--hair-2); background: no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='1.4'%3E%3Cpath d='M6 1v10M1 6h10'/%3E%3C/svg%3E"); transition: transform .25s var(--ease-ui), background-color .2s ease; }
.acc[open] summary::after { transform: rotate(45deg); background-color: rgba(255,255,255,.08); }
.acc { interpolate-size: allow-keywords; }
.acc::details-content { block-size: 0; overflow: hidden; transition: block-size .3s var(--ease-ui), content-visibility .3s allow-discrete; }
.acc[open]::details-content { block-size: auto; }
.acc__body { padding: 0 3rem 1.5rem 0; color: var(--muted); max-width: 62ch; }

/* ---------- final CTA ---------- */
.cta-final { position: relative; text-align: center; padding-block: clamp(6rem, 14vw, 12rem); overflow: hidden; }
.cta-final::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1000px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(139,92,246,.3), rgba(236,72,153,.12) 40%, transparent 65%); pointer-events: none; }
.cta-final > * { position: relative; }
.cta-final h2 { font-size: clamp(3rem, 1.5rem + 7vw, 8rem); line-height: .9; letter-spacing: -.05em; }
.cta-final p { color: var(--muted); max-width: 46ch; margin: 1.6rem auto 0; font-size: 1.12rem; }
.cta-final .hero__cta { justify-content: center; }
.cta-final__contacts { margin-top: 2rem; color: var(--dim); font-size: .95rem; display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem 1.6rem; }
.cta-final__contacts a { color: var(--text); }
.cta-final__contacts a:hover { color: var(--accent); }

/* ---------- sub-page hero & blocks ---------- */
.page-hero { padding-top: 9rem; padding-bottom: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; right: -25vw; top: -40vw; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.25), transparent 62%); pointer-events: none; }
.page-hero > * { position: relative; }
.page-hero .display { max-width: 18ch; }
.page-hero .lede { margin-top: 1.6rem; max-width: 52ch; }
.crumb { margin-bottom: 2rem; }
.crumb ul { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .88rem; color: var(--dim); }
.crumb a:hover { color: #f6f3ff; }
.crumb .crumb__sep { color: var(--hair-2); }
.crumb [aria-current="page"] { color: var(--muted); }
.cols, .state { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.state__label .eyebrow { margin-bottom: 0; }
.cols--split { gap: 2rem; }

/* ticks */
.ticks { display: grid; gap: .9rem; }
.ticks li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .6rem; color: var(--muted); }
.ticks li::before { content: ""; width: .55rem; height: .55rem; margin-top: .55rem; border-radius: 50%; background: var(--grad); }

/* spec (case study facts) */
.spec { display: grid; border-top: 1px solid var(--hair); }
.spec__row { display: grid; grid-template-columns: 1fr; gap: .2rem 2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--hair); }
.spec__k { color: var(--dim); font-size: .92rem; }
.spec__v { color: var(--text); }

/* case study figure */
.shot .bezel__core img { width: 100%; height: auto; display: block; }
.shots { display: grid; grid-template-columns: 1fr; gap: 1rem; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.3rem; }
.field { display: grid; gap: .45rem; }
.field > label { font-size: .9rem; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit; color: #f6f3ff; background: rgba(255,255,255,.04); border: 1px solid var(--hair-2);
  border-radius: 14px; padding: .9rem 1rem; transition: border-color .3s, background .3s, box-shadow .3s;
}
.field select option { background: var(--bg-2); color: #f6f3ff; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.06); box-shadow: 0 0 0 4px rgba(139,92,246,.18); }
.field textarea { min-height: 8rem; resize: vertical; }
.field--row { display: grid; gap: 1.3rem; }
.field.invalid input, .field.invalid textarea { border-color: var(--b3); }
.field__err { font-size: .82rem; color: #f9a8d4; min-height: 1em; }
.consent { display: grid; grid-template-columns: 1.3rem 1fr; gap: .6rem; align-items: start; color: var(--muted); font-size: .92rem; }
.consent input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--b2); }
.form__status { min-height: 1.2em; font-weight: 500; }
.form__status.ok { color: #6ee7b7; } .form__status.err { color: #f9a8d4; }
.form button[type="submit"] { justify-self: start; }

/* ---------- cookie ---------- */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; padding: var(--gutter); display: flex; justify-content: center; pointer-events: none; }
.cookie[hidden] { display: none; }
.cookie__card { pointer-events: auto; width: min(42rem, 100%); padding: 1.6rem; border-radius: 26px; background: rgba(13,11,22,.92); border: 1px solid var(--hair-2); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); }
.cookie__title { font-size: 1.3rem; }
.cookie__text { color: var(--muted); margin-top: .5rem; font-size: .95rem; }
.cookie__prefs { display: grid; gap: .7rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--hair); }
.cookie__prefs[hidden] { display: none; }
.cookie__row { display: grid; grid-template-columns: 1.3rem 1fr; gap: .6rem; color: var(--muted); font-size: .92rem; }
.cookie__row input { accent-color: var(--b2); margin-top: .2rem; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.cookie__save[hidden] { display: none; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--hair); padding-top: clamp(4rem, 8vw, 6rem); overflow: hidden; }
.site-foot__top { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.site-foot__logo { height: 34px; width: auto; }
.site-foot__tag { color: var(--muted); margin-top: 1rem; max-width: 32ch; }
.site-foot__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1.5rem; }
.site-foot__cols h2 { font-family: var(--sans); font-size: .82rem; font-weight: 500; color: var(--dim); letter-spacing: 0; margin-bottom: 1rem; }
.site-foot__cols li { margin-bottom: .6rem; }
.site-foot__cols a, .site-foot__cols .linklike { color: var(--muted); text-decoration: none; transition: color .3s; }
.site-foot__cols a:hover, .site-foot__cols .linklike:hover { color: #f6f3ff; }
.foot-word {
  font-family: var(--display); font-weight: 800; letter-spacing: -.06em; line-height: .78;
  font-size: clamp(3.4rem, 15.5vw, 15rem); white-space: nowrap; text-align: center;
  margin-top: clamp(3rem, 7vw, 6rem); padding-bottom: .05em;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.015) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  user-select: none;
}
.site-foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; padding-block: 1.6rem; border-top: 1px solid var(--hair); color: var(--dim); font-size: .86rem; }
.site-foot__social { display: flex; gap: 1.3rem; }
.site-foot__social a:hover { color: #f6f3ff; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(1.5rem); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- helpers ---------- */
.mt-s { margin-top: 1rem; } .mt-m { margin-top: 2rem; } .mt-l { margin-top: clamp(2.5rem, 5vw, 4rem); }
.stack > * + * { margin-top: 1.5rem; }
.err-page { min-height: 70vh; display: grid; place-content: center; text-align: center; gap: 1.4rem; padding-top: 6rem; }

/* ---------- responsive ---------- */
@media (min-width: 768px) {
  .work { grid-template-columns: 7fr 5fr; }
  .bento { grid-template-columns: repeat(12, 1fr); }
  .svc--feat, .svc--q { grid-column: span 6; }
  .process { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .proc { grid-template-columns: 1fr; padding-top: 2rem; }
  .proc__n { font-size: 3rem; margin-bottom: 1.2rem; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .plans-box .bezel__core { grid-template-columns: repeat(3, 1fr); }
  .plan + .plan { border-top: 0; border-left: 1px solid var(--hair); }
  .faq-wrap { grid-template-columns: 5fr 7fr; }
  .field--row { grid-template-columns: 1fr 1fr; }
  .spec__row { grid-template-columns: 13rem 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
  .site-foot__cols { grid-template-columns: repeat(4, 1fr); }
  .cols--split { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
  .site-foot__top { grid-template-columns: 1.2fr 2fr; }
}
@media (max-width: 979px) {
  .nav, .site-head__side .lang, .site-head__side .b { display: none; }
  .burger { display: block; }
  .island { width: 100%; justify-content: space-between; }
}
@media (min-width: 980px) { .m-menu { display: none !important; } }
@media (max-width: 767px) {
  .deck { height: auto; }
  .deck__card--l, .deck__card--r { display: none; }
  .deck__card--c { position: relative; left: auto; width: 100%; transform: none; }
  .hero { min-height: auto; }
}


/* gapless bento */

/* section titles inside sub-page blocks */
.section--block { padding-block: clamp(3.5rem, 7vw, 6rem); }
.block__title { font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.6rem); margin-bottom: 1.6rem; }
.split { display: grid; grid-template-columns: 1fr; gap: .5rem 4rem; }
.split .block__title { margin-bottom: 1rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; }
  .split__head { position: sticky; top: 7.5rem; align-self: start; }
}

/* native cross-page transitions */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .2s var(--ease-ui) both; }
::view-transition-new(root) { animation: vtIn .4s var(--ease-out) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(18px); } }
.site-head { view-transition-name: site-head; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transform: none !important; transition: opacity .4s ease; transition-delay: 0s; }
  .hero__text { animation: none !important; }
  .deck__card { animation: none; transition: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .m-menu__nav > ul > li { animation: none; }
  .work-card__img img, .b, .b::before, .b__roll > span, .b__roll::after, .ico-circle { transition: none; }
}

/* ---------- v4 refinements ---------- */
.display em, .h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* process: no numbers — a progress bar that fills across the four steps */
.process { --fill: 1; }
.proc { grid-template-columns: 1fr; gap: 1.2rem; border-top: 0; padding-top: 0; }
.proc__n { display: block; position: relative; height: 3px; width: 100%; margin: 0; font-size: 0; border-radius: 3px; overflow: hidden;
  background: var(--hair); -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: initial; }
.proc__n::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(var(--fill)); }
.steps .step { grid-template-columns: 1.4rem 1fr; }
.step__n { width: .65rem; height: .65rem; margin-top: .55rem; border-radius: 50%; font-size: 0;
  background: var(--grad); -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: initial; }

/* image hover uses the individual `scale` property so GSAP can own `transform` */
.work-card__img img { transition: scale 1.2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .work-card:hover .work-card__img img { transform: none; scale: 1.045; } }
.shot .bezel__core { overflow: hidden; }

/* hero: positioned so its glows are clipped; headline animates in immediately (no scroll wait) */
.hero { position: relative; }
.hero__text[data-reveal] { opacity: 1; transform: none; transition: none; animation: heroIn 1s var(--ease-out) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } }
@media (prefers-reduced-motion: reduce) { .hero__text[data-reveal] { animation: none; } }

/* footer polish */
.site-foot .wrap, .site-foot .shell { container-type: inline-size; }
.foot-word { font-size: 8vw; font-size: 14.6cqw; text-align: left; }
.site-foot__cols li { color: var(--muted); }
.site-foot__cols button { padding: 0; text-align: left; }
/* nav: keep content behind it from showing through */
.site-head.is-scrolled .island { background: rgba(13, 11, 22, .92); }

/* impeccable audit fixes */
.display em, .h2 em, .accent-solid { font-style: normal; background: none; -webkit-text-fill-color: currentColor; color: #b6a2ff; }
/* facts: no cards, a quiet ruled row */
.fact { border-top: 1px solid var(--hair-2); padding-top: 1.2rem; }
.fact b { display: block; font-family: var(--display); font-size: 1.25rem; color: #f6f3ff; margin-bottom: .35rem; letter-spacing: -.02em; }
.fact span { color: var(--muted); font-size: .95rem; }
@media (min-width: 1100px) {
  .svc--q { grid-column: span 3; }
}

/* service page hero with illustration */
.page-hero__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.page-hero__art { margin: 0; }
.page-hero__art .bezel__core { aspect-ratio: 16 / 10; }
.page-hero__art .art { display: block; width: 100%; height: 100%; }
@media (min-width: 980px) {
  .page-hero__grid { grid-template-columns: 1fr 1fr; }
  .page-hero--art .display { font-size: clamp(2.6rem, 1.5rem + 3vw, 4.4rem); }
}

/* ---------- price calculator ---------- */
.calc { display: grid; gap: 2rem; align-items: start; }
.calc__opts { min-width: 0; }
.calc__group { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc__group + .calc__group { margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--hair); }
.calc__group[hidden] { display: none; }
.calc__q { float: left; width: 100%; padding: 0; margin-bottom: 1rem; font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); letter-spacing: -.02em; color: #f6f3ff; }
.calc__q + * { clear: both; }
.calc__hint { color: var(--dim); font-size: .86rem; margin-top: .6rem; }
.calc__hint--top { margin: -.4rem 0 1rem; }
.calc__list { display: grid; gap: .55rem; }
.calc__pair { display: grid; gap: 1.6rem; }

/* option cards (real radios / checkboxes, restyled) */
.opt {
  display: grid; grid-template-columns: 1.25rem 1fr; gap: .25rem .85rem; align-items: start;
  padding: 1rem 1.1rem; border-radius: 16px; cursor: pointer;
  background: rgba(255,255,255,.025); border: 1px solid var(--hair-2);
  transition: border-color .2s var(--ease-ui), background-color .2s var(--ease-ui);
}
.opt:hover { border-color: rgba(255,255,255,.26); }
.opt:has(input:checked) { border-color: rgba(167,139,250,.7); background: linear-gradient(135deg, rgba(99,102,241,.16), rgba(139,92,246,.08) 55%, rgba(236,72,153,.08)); }
.opt input, .chip-opt input {
  appearance: none; -webkit-appearance: none; margin: .2rem 0 0; width: 1.15rem; height: 1.15rem; flex: none;
  border: 1.5px solid rgba(255,255,255,.35); border-radius: 50%; background: transparent;
  transition: background-color .2s var(--ease-ui), border-color .2s var(--ease-ui);
}
.opt--check input { border-radius: 6px; }
.opt input:checked { border-color: transparent; background: var(--grad); }
.opt input[type="radio"]:checked { box-shadow: inset 0 0 0 3.5px #1a1530; }
.opt--check input:checked { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5'/%3E%3C/svg%3E") center / 11px no-repeat, var(--grad); }
.opt input:focus-visible, .chip-opt input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.opt__main { display: grid; gap: .2rem; min-width: 0; }
.opt__t { font-weight: 600; color: #f6f3ff; line-height: 1.35; }
.opt__d { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.opt__p { grid-column: 2; font-family: var(--display); font-weight: 600; color: #f6f3ff; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (min-width: 560px) {
  .opt { grid-template-columns: 1.25rem 1fr auto; }
  .opt__p { grid-column: 3; grid-row: 1; padding-left: 1rem; }
}

/* product-count chips */
.calc__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-opt { display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border-radius: 999px; border: 1px solid var(--hair-2); background: rgba(255,255,255,.025); cursor: pointer; font-size: .95rem; transition: border-color .2s var(--ease-ui), background-color .2s var(--ease-ui); }
.chip-opt input { margin: 0; }
.chip-opt input:checked { border-color: transparent; background: var(--grad); box-shadow: inset 0 0 0 3.5px #1a1530; }
.chip-opt:has(input:checked) { border-color: rgba(167,139,250,.7); background: rgba(139,92,246,.12); }
.chip-opt em { font-style: normal; color: var(--muted); font-size: .88rem; }

/* steppers */
.stepper { display: inline-flex; align-items: center; gap: .25rem; padding: .3rem; border-radius: 999px; border: 1px solid var(--hair-2); background: rgba(255,255,255,.025); }
.stepper__btn { width: 2.6rem; height: 2.6rem; border-radius: 50%; font-size: 1.3rem; line-height: 1; color: #f6f3ff; background: rgba(255,255,255,.07); transition: background-color .2s var(--ease-ui), transform .12s var(--ease-ui); }
.stepper__btn:hover { background: rgba(255,255,255,.14); }
.stepper__btn:active { transform: scale(.92); }
.stepper__val { width: 3.4rem; text-align: center; font: 600 1.35rem/1 var(--display); color: #f6f3ff; background: transparent; border: 0; -moz-appearance: textfield; appearance: textfield; font-variant-numeric: tabular-nums; }
.stepper__val::-webkit-outer-spin-button, .stepper__val::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__val:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }

/* summary */
.calc__card { padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: var(--r-xl); border: 1px solid var(--hair-2); background: radial-gradient(120% 80% at 50% 0%, rgba(139,92,246,.24), transparent 70%), rgba(255,255,255,.03); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.calc__k { color: var(--muted); font-size: .92rem; }
.calc__k span { color: var(--dim); }
.calc__total { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem); letter-spacing: -.04em; line-height: 1.05; color: #f6f3ff; margin-top: .4rem; font-variant-numeric: tabular-nums; }
.calc__month { color: var(--muted); margin-top: .6rem; font-size: .95rem; }
.calc__month b { color: #f6f3ff; font-weight: 600; }
.calc__month[hidden] { display: none; }
.calc__lines { margin: 1.4rem 0 1.6rem; border-top: 1px solid var(--hair); }
.calc__lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--hair); font-size: .92rem; color: var(--muted); }
.calc__lines li span:last-child { color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc__send { width: 100%; }
.calc__fine { color: var(--dim); font-size: .84rem; margin-top: 1rem; }
.calc-section { padding-top: 0; scroll-margin-top: 5.5rem; }
@media (min-width: 980px) {
  .calc:not(.calc--sheet) { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); }
  .calc:not(.calc--sheet) .calc__sum { position: sticky; top: 6.5rem; }
}
@media (min-width: 640px) { .calc__pair { grid-template-columns: 1fr 1fr; } }

/* home: plans → calculator */
.calc-cta { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: 2.2rem; text-align: center; }

/* ---------- floating launcher (every page) ---------- */
.calc-fab {
  position: fixed; right: clamp(.9rem, 2.4vw, 1.6rem); bottom: clamp(.9rem, 2.4vw, 1.6rem); z-index: 80;
  display: inline-flex; align-items: center; gap: .55rem; height: 3.2rem; padding: 0 1.25rem 0 1.05rem; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: .98rem; color: #f6f3ff;
  background: linear-gradient(100deg, #6366f1, #8b5cf6 55%, #c0459e);
  box-shadow: 0 18px 40px -14px rgba(139,92,246,.75), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .25s var(--ease-ui), opacity .25s var(--ease-ui), box-shadow .25s var(--ease-ui);
  animation: fabIn .6s .8s var(--ease-out) both;
}
.calc-fab:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .calc-fab:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -14px rgba(139,92,246,.9), inset 0 1px 0 rgba(255,255,255,.25); } }
.calc-fab.is-away { opacity: 0; transform: translateY(1rem); pointer-events: none; }
@keyframes fabIn { from { opacity: 0; transform: translateY(1.2rem); } }

/* ---------- slide-in sheet ---------- */
html.calc-lock { overflow: hidden; }
.calc-sheet {
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; border: 0;
  width: min(35rem, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh;
  background: #0d0b16; color: var(--text); border-left: 1px solid var(--hair-2);
  box-shadow: -40px 0 120px -40px rgba(0,0,0,.9);
}
.calc-sheet[open] { animation: sheetIn .42s var(--ease-out); }
.calc-sheet::backdrop { background: rgba(7,6,12,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@keyframes sheetIn { from { transform: translateX(100%); } }
.calc-sheet__in { height: 100%; display: flex; flex-direction: column; }
.calc-sheet__head { flex: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.3rem 1.4rem 1.1rem; border-bottom: 1px solid var(--hair); }
.calc-sheet__t { font-size: 1.55rem; }
.calc-sheet__sub { color: var(--muted); font-size: .92rem; margin-top: .3rem; }
.calc-sheet__x { width: 2.6rem; height: 2.6rem; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: background-color .2s var(--ease-ui); }
.calc-sheet__x:hover { background: rgba(255,255,255,.14); }
.calc-sheet__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1.4rem 1.4rem 0; }
/* in the sheet the summary is a compact bar pinned to the bottom */
.calc--sheet { gap: 1.6rem; }
.calc--sheet .calc__sum { position: sticky; bottom: 0; margin-inline: -1.4rem; background: #0d0b16; border-top: 1px solid var(--hair-2); }
.calc--sheet .calc__card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2rem 1rem; padding: .9rem 1.4rem 1.1rem; border: 0; border-radius: 0; background: radial-gradient(90% 140% at 0% 100%, rgba(139,92,246,.2), transparent 70%); box-shadow: none; }
.calc--sheet .calc__k, .calc--sheet .calc__total, .calc--sheet .calc__month { grid-column: 1; }
.calc--sheet .calc__k { font-size: .82rem; }
.calc--sheet .calc__total { font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.1rem); margin-top: 0; }
.calc--sheet .calc__month { margin-top: 0; font-size: .82rem; }
.calc--sheet .calc__lines, .calc--sheet .calc__fine { display: none; }
.calc--sheet .calc__send { grid-column: 2; grid-row: 1 / span 3; width: auto; }
@keyframes sheetUp { from { transform: translateY(100%); } }
@media (max-width: 599px) {
  .calc-sheet { width: 100%; border-left: 0; }
  .calc-sheet[open] { animation-name: sheetUp; }
  .calc--sheet .calc__card { grid-template-columns: 1fr; }
  .calc--sheet .calc__send { grid-column: 1; grid-row: auto; width: 100%; margin-top: .6rem; }
}

/* inline calculator on phones/tablets: the total rides along at the bottom, like in the sheet */
@media (max-width: 979px) {
  .calc:not(.calc--sheet) .calc__sum { position: sticky; bottom: 0; z-index: 5; margin-inline: calc(var(--gutter) * -1); background: #0d0b16; border-top: 1px solid var(--hair-2); }
  .calc:not(.calc--sheet) .calc__card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2rem 1rem; padding: .9rem var(--gutter) 1.1rem; border: 0; border-radius: 0; background: radial-gradient(90% 140% at 0% 100%, rgba(139,92,246,.2), transparent 70%); box-shadow: none; }
  .calc:not(.calc--sheet) .calc__k, .calc:not(.calc--sheet) .calc__total, .calc:not(.calc--sheet) .calc__month { grid-column: 1; }
  .calc:not(.calc--sheet) .calc__k, .calc:not(.calc--sheet) .calc__month { font-size: .82rem; margin-top: 0; }
  .calc:not(.calc--sheet) .calc__total { font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.1rem); margin-top: 0; }
  .calc:not(.calc--sheet) .calc__lines, .calc:not(.calc--sheet) .calc__fine { display: none; }
  .calc:not(.calc--sheet) .calc__send { grid-column: 2; grid-row: 1 / span 3; width: auto; }
}
@media (max-width: 599px) {
  .calc:not(.calc--sheet) .calc__card { grid-template-columns: 1fr; }
  .calc:not(.calc--sheet) .calc__send { grid-column: 1; grid-row: auto; width: 100%; margin-top: .6rem; }
}

/* contact form note when it arrives pre-filled */
.form__calc { padding: .8rem 1rem; border-radius: 12px; font-size: .9rem; color: var(--text); background: rgba(139,92,246,.12); border: 1px solid rgba(167,139,250,.35); }
.form__calc[hidden] { display: none; }
#contactForm { scroll-margin-top: 6rem; }

/* ---------- price list (pricing page) ---------- */
.pl { display: grid; gap: clamp(2.2rem, 4vw, 3rem); }
.pl__h { font-family: var(--sans); font-size: .85rem; font-weight: 500; color: var(--dim); letter-spacing: 0; margin-bottom: .4rem; }
.pl__rows { border-top: 1px solid var(--hair-2); }
.pl__row { display: grid; grid-template-columns: 1fr auto; gap: .3rem 2rem; align-items: baseline; padding: 1.05rem 0; border-bottom: 1px solid var(--hair); }
.pl__t { color: #f6f3ff; font-weight: 600; }
.pl__d { color: var(--muted); font-size: .92rem; margin-top: .15rem; max-width: 60ch; }
.pl__p { font-family: var(--display); font-weight: 600; font-size: 1.12rem; color: #f6f3ff; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.pl__p span { font-family: var(--sans); font-weight: 400; font-size: .88rem; color: var(--muted); }
.pl__note { color: var(--dim); font-size: .88rem; margin-top: .9rem; max-width: 70ch; }
@media (min-width: 900px) { .pl { grid-template-columns: 1fr 1fr; gap: 3rem 4rem; } .pl__group:first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  .calc-fab, .calc-sheet[open] { animation: none; }
  .opt, .chip-opt, .stepper__btn, .calc-fab { transition: none; }
}
