/* Dicaia Web – site styles v3: black, editorial, logo blue as the one accent (design-system/dicaia-web/MASTER.md) */
:root {
  --bg: #0a0a0a;
  --surface: #111214;
  --surface-2: #17181b;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --ink: #f4f5f7;
  --muted: #9da1aa;
  --dim: #7b7f88;
  --brand: #7892ff;
  --brand-2: #a9b8ff;
  --on-brand: #0a0a0a;
  --paper: #f3f2ee;
  --paper-ink: #0d0e10;
  --error: #ff8a8a;
  --ok: #7ee2a8;

  --font: "Host Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-s: 12px; --r-m: 18px; --r-l: 28px;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(96px, 12vw, 168px);
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a, button, summary, select { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section) 0; position: relative; }
.label {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.label::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--brand); }
.chip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: rgba(120,146,255,.12); color: var(--brand-2); border: 1px solid rgba(120,146,255,.25); }
.big { font-size: clamp(2.1rem, 4.4vw, 3.9rem); }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.15rem); max-width: 38em; }
.head { display: grid; gap: 20px; justify-items: start; margin-bottom: clamp(48px, 6vw, 80px); }
.head--center { justify-items: center; text-align: center; }
.head--center .big { max-width: 18em; }
.head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.head--split .label { grid-column: 1 / -1; }
@media (max-width: 899px) { .head--split { grid-template-columns: 1fr; } }

/* ---------- buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), transform 120ms var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform 220ms var(--ease); }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 54px; padding: 0 28px; font-size: 16px; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--brand-2); }
  .btn--ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); }
  .btn:hover svg { transform: translateX(3px); }
}
@media (prefers-reduced-motion: no-preference) { .btn:active { transform: scale(.97); } }
.btn[aria-busy="true"] { opacity: .65; cursor: progress; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color 250ms var(--ease), border-color 250ms var(--ease); border-bottom: 1px solid transparent; }
.nav.is-scrolled, .nav.is-open { background: rgba(10,10,10,.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.nav__logo { display: inline-flex; justify-self: start; padding: 8px 0; transition: opacity 150ms var(--ease); }
.nav__logo img { height: 18px; width: auto; }
@media (hover: hover) { .nav__logo:hover { opacity: .75; } }
.nav__links { display: flex; gap: 2px; }
.nav__links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; color: #c9ccd3; text-decoration: none; font-size: 14.5px; font-weight: 500; border-radius: 999px; transition: color 150ms var(--ease); }
@media (hover: hover) { .nav__links a:hover { color: #fff; } }
.nav__cta { justify-self: end; }
.nav__toggle { display: none; justify-self: end; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; place-items: center; }
.nav__toggle svg path { transition: transform 250ms var(--ease); transform-origin: center; }
.nav.is-open .nav__toggle .l1 { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__toggle .l2 { transform: translateY(-4px) rotate(-45deg); }
.nav__menu { display: none; }
@media (max-width: 899px) {
  .nav__bar { grid-template-columns: 1fr auto; height: 64px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; }
  .nav__menu {
    display: grid; gap: 2px; padding: 0 0 16px; opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden; height: 0; overflow: hidden;
    transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s 200ms;
  }
  .nav.is-open .nav__menu { height: auto; opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity 200ms var(--ease), transform 250ms var(--ease); }
  .nav__menu a:not(.btn) { display: flex; align-items: center; min-height: 52px; text-decoration: none; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
  .nav__menu .btn { margin-top: 16px; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: grid; align-content: center; padding: 140px 0 72px; overflow: hidden; isolation: isolate; text-align: center; }
.hero__flow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__flow i {
  position: absolute; width: 62vmax; height: 26vmax; border-radius: 50%;
  background: conic-gradient(from 200deg, transparent 0deg, rgba(120,146,255,.0) 40deg, rgba(120,146,255,.75) 110deg, rgba(198,208,255,.9) 140deg, rgba(60,80,200,.6) 190deg, transparent 260deg);
  filter: blur(38px); opacity: .55; mix-blend-mode: screen;
}
.hero__flow i:nth-child(1) { left: -34vmax; top: 18%; transform: rotate(-24deg); }
.hero__flow i:nth-child(2) { right: -34vmax; top: 30%; transform: rotate(160deg); }
.hero__flow i:nth-child(3) { right: -20vmax; top: -6%; width: 40vmax; height: 14vmax; transform: rotate(200deg); opacity: .3; }
@media (prefers-reduced-motion: no-preference) {
  .hero__flow i:nth-child(1) { animation: drift1 18s ease-in-out infinite alternate; }
  .hero__flow i:nth-child(2) { animation: drift2 22s ease-in-out infinite alternate; }
  .hero__flow i:nth-child(3) { animation: drift2 26s ease-in-out -6s infinite alternate; }
}
@keyframes drift1 { to { transform: rotate(-12deg) translate(3vmax, -2vmax) scale(1.08); } }
@keyframes drift2 { to { transform: rotate(172deg) translate(3vmax, 2vmax) scale(1.06); } }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; background: linear-gradient(transparent, var(--bg)); }
.hero__kicker { font-size: clamp(1.15rem, 2vw, 1.7rem); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: #e3e5ea; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.6rem, 8.2vw, 7.4rem); font-weight: 700; text-transform: uppercase; letter-spacing: -0.045em; line-height: .94; max-width: 12ch; margin-inline: auto; }
.hero h1 .accent { color: var(--brand); }
.hero__lead { margin: 30px auto 0; max-width: 36em; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); }
.hero .btn-row { justify-content: center; margin-top: 36px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__checks { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.hero__checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__checks svg { width: 15px; height: 15px; color: var(--brand); }
.scroll-dot { width: 22px; height: 36px; border: 1.5px solid var(--line-2); border-radius: 12px; margin: 48px auto 0; position: relative; }
.scroll-dot::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: #fff; }
@media (prefers-reduced-motion: no-preference) { .scroll-dot::after { animation: dot 1.8s var(--ease) infinite; } }
@keyframes dot { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- showcase (mockups) ---------- */
.showcase { padding-top: 24px; }
.mock { position: relative; max-width: 1040px; margin-inline: auto; aspect-ratio: 16 / 8.2; }
.win { position: absolute; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 50px 100px -40px rgba(0,0,0,.9); }
.win__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #0d0e10; border-bottom: 1px solid var(--line); }
.win__bar i { width: 8px; height: 8px; border-radius: 50%; background: #2a2c31; }
.win__url { margin-inline: auto; height: 17px; width: 40%; border-radius: 6px; background: #1b1d21; font: 500 10px/17px var(--font); color: #6d717b; text-align: center; overflow: hidden; white-space: nowrap; }
.site { position: relative; }
.site__img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; filter: saturate(.9) brightness(.62); }
.site__over { position: absolute; inset: 0; display: grid; align-content: space-between; padding: 18px 22px; }
.site__nav { display: flex; justify-content: space-between; align-items: center; font: 600 11px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.site__nav span:last-child { display: flex; gap: 8px; }
.site__nav span:last-child i { width: 22px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.7); }
.site__title { font: 600 clamp(16px, 2.4vw, 34px)/1.05 var(--font); letter-spacing: -0.035em; color: #fff; max-width: 55%; text-align: left; }
.site__btn { display: inline-block; margin-top: 12px; padding: 7px 14px; border-radius: 999px; background: #fff; color: #111; font: 600 10px/1 var(--font); }
.site__rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 16px 16px; }
.site__rows span { height: 54px; border-radius: 8px; background: #1b1d21; }
.win--a { left: 9%; right: 9%; top: 0; z-index: 1; }
.win--b { left: 0; bottom: 0; width: 34%; z-index: 2; }
.win--b .site__img { aspect-ratio: 4 / 3; }
.win--b .site__title { font-size: clamp(13px, 1.5vw, 19px); max-width: 90%; }
.phone { position: absolute; right: 3%; bottom: -3%; width: 17%; z-index: 3; aspect-ratio: 9 / 18.5; border-radius: 28px; padding: 6px; background: #050505; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); }
.phone__screen { height: 100%; border-radius: 22px; overflow: hidden; background: var(--surface-2); display: grid; grid-template-rows: auto 1fr; }
.phone__screen img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: brightness(.8); }
.phone__body { padding: 10px; display: grid; gap: 6px; align-content: start; text-align: left; }
.phone__body b { font: 600 12px/1.15 var(--font); }
.phone__body i { height: 5px; border-radius: 3px; background: #2a2c31; }
.phone__body i:nth-child(3) { width: 70%; }
.phone__body span { margin-top: 4px; height: 22px; border-radius: 999px; background: var(--brand); }
.badge { position: absolute; z-index: 4; right: 14%; top: -5%; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; background: rgba(23,24,27,.9); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 13px; line-height: 1.3; text-align: left; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.badge__icon { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(126,226,168,.14); color: var(--ok); }
.badge__icon svg { width: 16px; height: 16px; }
.badge small { display: block; color: var(--muted); font-size: 11.5px; }
@media (prefers-reduced-motion: no-preference) {
  .win--b { animation: float 9s ease-in-out infinite; }
  .phone { animation: float 9s ease-in-out -4.5s infinite; }
  .badge { animation: float 7s ease-in-out -2s infinite; }
}
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 767px) {
  .mock { aspect-ratio: 1 / .78; }
  .win--a { left: 0; right: 0; }
  .win--b { width: 52%; }
  .phone { width: 28%; right: 2%; border-radius: 18px; padding: 4px; }
  .phone__screen { border-radius: 14px; }
  .badge { right: 2%; top: -8%; padding: 8px 10px 8px 8px; font-size: 12px; }
  .badge small { display: none; }
  .site__rows span { height: 30px; }
  .site__over { padding: 12px 14px; }
}

/* ---------- marquee ---------- */
.marquee { margin-top: clamp(72px, 9vw, 120px); border-block: 1px solid var(--line); padding-block: 26px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__group span { display: inline-flex; align-items: center; gap: 32px; padding-right: 32px; white-space: nowrap; font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 500; color: #8d919a; letter-spacing: -0.02em; }
.marquee__group span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
@media (prefers-reduced-motion: no-preference) { .marquee__track { animation: marquee 45s linear infinite; } .marquee:hover .marquee__track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; } .marquee__group[aria-hidden] { display: none; } }

/* ---------- before / after ---------- */
.ba { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ba__intro { color: var(--muted); margin-bottom: 28px; max-width: 30em; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 500; letter-spacing: -0.02em; color: var(--dim); transition: color 200ms var(--ease); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { flex: none; width: 18px; height: 18px; transition: transform 250ms var(--ease); }
.acc details[open] summary { color: var(--ink); }
.acc details[open] summary svg { transform: rotate(180deg); }
@media (hover: hover) { .acc summary:hover { color: #c9ccd3; } }
.acc details p { color: var(--muted); padding: 0 32px 22px 0; max-width: 34em; }
.after { position: sticky; top: 110px; border-radius: var(--r-l); padding: clamp(28px, 3.5vw, 44px); background: radial-gradient(80% 60% at 100% 0%, rgba(120,146,255,.28), transparent 70%), var(--surface); border: 1px solid rgba(120,146,255,.28); display: grid; gap: 18px; }
.after h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.after > p { color: #c3c6cd; }
.after__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.after__grid div { border-radius: var(--r-s); padding: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.after__grid b { display: block; font-weight: 600; font-size: 15.5px; }
.after__grid span { color: var(--muted); font-size: 14px; }
@media (max-width: 899px) { .ba { grid-template-columns: 1fr; } .after { position: static; } }
@media (max-width: 420px) { .after__grid { grid-template-columns: 1fr; } }

/* ---------- services: stacked cards ---------- */
.stack { display: grid; gap: 24px; }
.panel {
  position: sticky; top: calc(96px + var(--n, 0) * 22px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  min-height: min(560px, 72vh); padding: clamp(28px, 4.5vw, 64px); border-radius: var(--r-l);
  background: radial-gradient(70% 90% at 0% 100%, rgba(120,146,255,.12), transparent 70%), #0f1012; border: 1px solid var(--line);
  box-shadow: 0 -30px 60px -30px rgba(0,0,0,.9);
}
.panel__text { display: grid; gap: 18px; justify-items: start; }
.panel h3 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
.panel__text p { color: var(--muted); max-width: 30em; }
.panel__price { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: #c9ccd3; padding-top: 6px; }
.items { display: grid; gap: 10px; }
.item { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--r-m); background: rgba(255,255,255,.03); border: 1px solid var(--line); transition: border-color 200ms var(--ease), background-color 200ms var(--ease); }
@media (hover: hover) { .item:hover { border-color: rgba(120,146,255,.35); background: rgba(120,146,255,.06); } }
.item__icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(120,146,255,.12); color: var(--brand); }
.item__icon svg { width: 19px; height: 19px; }
.item b { display: block; font-weight: 600; font-size: 16px; }
.item span { color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 899px) { .panel { grid-template-columns: 1fr; position: relative; top: auto; min-height: 0; } }

/* ---------- process: expanding numbered cards ---------- */
.steps { display: flex; gap: 12px; height: clamp(440px, 46vw, 540px); }
.step {
  position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px 24px 26px; border-radius: var(--r-m); background: #0f1012; border: 1px solid var(--line); cursor: pointer; text-align: left; overflow: hidden;
  transition: flex-grow 500ms var(--ease), background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease);
}
.step__dots { display: flex; gap: 4px; }
.step__dots i { width: 5px; height: 5px; border-radius: 50%; background: #3a3d44; }
.step__dots i.on { background: var(--brand); }
.step__num { font-size: clamp(6rem, 13vw, 11rem); font-weight: 300; line-height: .8; letter-spacing: -0.06em; color: #d9dbe0; align-self: center; transition: color 300ms var(--ease); }
.step__foot { display: grid; gap: 10px; justify-items: start; }
.step h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
.step p { font-size: 15px; line-height: 1.55; max-width: 26em; display: none; }
.step .chip { background: rgba(255,255,255,.06); color: #c9ccd3; border-color: var(--line-2); }
.step.is-active { flex-grow: 1.9; background: var(--paper); color: var(--paper-ink); border-color: var(--paper); cursor: default; }
.step.is-active .step__num { color: var(--paper-ink); }
.step.is-active p { display: block; color: #4a4d55; }
.step.is-active .chip { background: rgba(13,14,16,.08); color: #2b2e35; border-color: rgba(13,14,16,.12); }
.step.is-active .step__dots i { background: #c8c9cc; }
.step.is-active .step__dots i.on { background: var(--brand); }
@media (hover: hover) { .step:not(.is-active):hover { border-color: rgba(255,255,255,.2); } }
@media (max-width: 899px) {
  .steps { flex-direction: column; height: auto; }
  .step { flex: none; min-height: 0; padding: 22px; cursor: default; }
  .step__num { font-size: 4.5rem; align-self: start; margin: 14px 0; }
  .step p { display: block; color: var(--muted); }
}

/* ---------- industries bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 20vw, 250px); gap: 12px; }
.tile { position: relative; border-radius: var(--r-m); overflow: hidden; background: var(--surface); border: 1px solid var(--line); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 700ms var(--ease), filter 400ms var(--ease); filter: saturate(.8) brightness(.8); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,10,0) 35%, rgba(10,10,10,.92)); }
.tile__body { position: absolute; inset: auto 0 0; padding: 20px; display: grid; gap: 6px; }
.tile h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
.tile p { font-size: 14px; line-height: 1.45; color: #c3c6cd; }
.tile--xl { grid-column: span 2; grid-row: span 2; }
.tile--xl h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.tile--xl p { font-size: 15.5px; max-width: 30em; }
@media (hover: hover) and (pointer: fine) { .tile:hover img { transform: scale(1.04); filter: saturate(1) brightness(.92); } }
.tile--more { display: grid; place-content: center; text-align: center; gap: 8px; padding: 24px; text-decoration: none; background: radial-gradient(90% 90% at 50% 0%, rgba(120,146,255,.22), transparent 70%), var(--surface); border-color: rgba(120,146,255,.3); transition: border-color 200ms var(--ease); }
.tile--more::after { display: none; }
.tile--more p { color: var(--muted); }
@media (hover: hover) { .tile--more:hover { border-color: rgba(120,146,255,.6); } .tile--more:hover .textlink svg { transform: translateX(3px); } }
.textlink { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: 15px; color: var(--brand); text-decoration: none; }
.textlink svg { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
@media (max-width: 1023px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; } .tile--xl { grid-row: span 1; } .tile p { display: none; } .tile--xl p, .tile--more p { display: block; } }
@media (max-width: 479px) { .bento { grid-auto-rows: 170px; gap: 10px; } .tile__body { padding: 14px; } .tile h3 { font-size: 1rem; } .tile--xl p { display: none; } }

/* ---------- comparison ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; }
.compare th, .compare td { padding: 20px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { font-weight: 500; color: var(--muted); font-size: 14.5px; border-bottom: 0; padding-bottom: 16px; }
.compare tbody th { text-align: left; font-weight: 500; padding-left: 0; }
.compare .us { background: rgba(120,146,255,.08); border-left: 1px solid rgba(120,146,255,.25); border-right: 1px solid rgba(120,146,255,.25); }
.compare thead .us { border-top: 1px solid rgba(120,146,255,.25); border-radius: 18px 18px 0 0; color: var(--ink); font-weight: 600; }
.compare thead .us img { height: 14px; width: auto; margin: 0 auto; }
.compare tbody tr:last-child .us { border-bottom: 1px solid rgba(120,146,255,.25); border-radius: 0 0 18px 18px; }
.yes, .no, .part { display: inline-grid; place-items: center; width: 34px; height: 24px; border-radius: 999px; }
.yes { background: var(--brand); color: var(--on-brand); }
.no { background: rgba(255,120,120,.1); color: #ff9c9c; }
.part { background: rgba(255,255,255,.07); color: #c9ccd3; }
.yes svg, .no svg, .part svg { width: 13px; height: 13px; }
.compare__wrap { overflow-x: auto; }
.compare__note { margin-top: 18px; color: var(--dim); font-size: 13px; }
@media (max-width: 639px) {
  .compare { font-size: 14px; min-width: 520px; }
  .compare th, .compare td { padding: 14px 8px; }
}

/* ---------- faq ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.split .head { margin-bottom: 0; position: sticky; top: 120px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 68px; padding: 18px 0; font-size: 1.12rem; font-weight: 500; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform 250ms var(--ease), background-color 150ms; }
.faq summary .pm svg { width: 14px; height: 14px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
@media (hover: hover) { .faq summary:hover .pm { background: rgba(255,255,255,.06); } }
.faq details p { color: var(--muted); padding: 0 52px 24px 0; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } .split .head { position: static; } .faq details p { padding-right: 0; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact .head { margin-bottom: 32px; }
.promises { display: grid; gap: 16px; }
.promises li { display: flex; gap: 14px; align-items: flex-start; }
.promises .item__icon { width: 40px; height: 40px; }
.promises b { display: block; font-weight: 600; }
.promises span { color: var(--muted); font-size: 15px; }
.contact__note { margin-top: 28px; color: var(--muted); font-size: 14px; }
.contact__note a { color: var(--ink); }
.form-card { border-radius: var(--r-l); padding: clamp(24px, 3.5vw, 44px); background: #0f1012; border: 1px solid var(--line-2); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: #d3d6dc; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-s); background: #0a0a0a; border: 1px solid var(--line-2); color: var(--ink); font: 400 16px/1.4 var(--font); transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease); }
.field select { appearance: none; cursor: pointer; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%239da1aa' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 4.5 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field select option { background: var(--surface); }
.field textarea { min-height: 130px; resize: vertical; }
@media (hover: hover) { .field :is(input, select, textarea):hover { border-color: rgba(255,255,255,.26); } }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(120,146,255,.25); }
.field :is(input, select, textarea)[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field :is(input, textarea):-webkit-autofill { -webkit-text-fill-color: var(--ink); box-shadow: 0 0 0 40px #0a0a0a inset; caret-color: var(--ink); }
.field__error { font-size: 13.5px; color: var(--error); }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form__foot small { color: var(--muted); font-size: 13px; flex: 1; min-width: 200px; }
.form__status { grid-column: 1 / -1; font-size: 15px; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--error); }
@media (max-width: 1023px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .form { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }

/* ---------- closing + footer ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; display: grid; justify-items: center; gap: 24px; padding: clamp(72px, 10vw, 128px) var(--gutter); border-radius: var(--r-l); border: 1px solid var(--line); background: #0f1012; }
.cta .hero__flow i { opacity: .4; }
.cta h2 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); font-weight: 700; text-transform: uppercase; letter-spacing: -0.045em; line-height: .95; max-width: 14ch; }
.cta p { color: #c3c6cd; max-width: 34em; }
.footer { padding: var(--section) 0 40px; }
.footer__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; padding-top: 56px; margin-top: clamp(64px, 8vw, 96px); border-top: 1px solid var(--line); }
.footer__brand { display: grid; gap: 14px; align-content: start; }
.footer__brand img { height: 20px; width: auto; }
.footer__brand p { color: var(--muted); font-size: 15px; max-width: 22em; }
.footer h3 { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer ul { display: grid; gap: 2px; }
.footer ul a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; color: #d3d6dc; font-size: 15px; transition: color 150ms var(--ease); }
@media (hover: hover) { .footer ul a:hover { color: var(--brand); } }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.footer__legal a { color: var(--muted); }
@media (max-width: 767px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* hero silk: thin glowing ribbons on both sides (SVG in index.html) */
.hero__silk { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .9; }
/* the whole SVG layer moves (an HTML element, so the compositor animates the already-blurred bitmap);
   animating the filtered <g> inside would re-run the blur on every frame */
@media (prefers-reduced-motion: no-preference) {
  .hero__silk { will-change: transform; }
  .hero__silk--l { animation: silkL 16s ease-in-out infinite alternate; }
  .hero__silk--r { animation: silkR 19s ease-in-out infinite alternate; }
}
@keyframes silkL { to { transform: translate(1.2%, -1.6%) rotate(-1.5deg) scale(1.04); } }
@keyframes silkR { to { transform: translate(-1.2%, 1.4%) rotate(1.5deg) scale(1.04); } }
@media (max-width: 767px) { .hero__silk { opacity: .55; } }

/* main mockup: headline sits in the free middle, between the café window and the phone */
.win--a .site__over > div:last-child { justify-self: center; text-align: center; max-width: 42%; }
.win--a .site__title { max-width: none; text-align: center; }
@media (max-width: 767px) { .win--b { display: none; } .mock { aspect-ratio: 1 / .72; } .win--a .site__over > div:last-child { justify-self: start; text-align: left; max-width: 62%; } .win--a .site__title { text-align: left; } .badge { left: 2%; right: auto; } }

/* ---------- before / after compare slider ---------- */
.cmp { margin: 0 0 clamp(56px, 7vw, 96px); border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line-2); background: #0d0e10; box-shadow: 0 60px 120px -50px rgba(120,146,255,.35); }
.cmp__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.cmp__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2c31; }
.cmp__url { margin-inline: auto; width: min(40%, 260px); height: 20px; border-radius: 6px; background: #1b1d21; font: 500 11px/20px var(--font); color: #6d717b; text-align: center; transform: translateX(-24px); }
.cmp__stage { position: relative; aspect-ratio: 16 / 9; container-type: inline-size; overflow: hidden; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.cmp__stage > .old, .cmp__stage > .new { position: absolute; inset: 0; }
.cmp__stage img { pointer-events: none; -webkit-user-drag: none; }

/* before: deliberately dated */
.old { background: #efeedd; color: #000; font-family: "Times New Roman", Times, serif; font-size: 1.55cqw; line-height: 1.3; display: grid; grid-template-rows: auto auto 1fr; }
.old__top { background: linear-gradient(#0a8a8a, #006b6b); padding: 1.6cqw 2cqw; border-bottom: .35cqw ridge #c0c0c0; display: flex; align-items: baseline; gap: 2cqw; }
.old__logo { font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive; font-size: 3.4cqw; font-weight: 700; color: #ffef3a; text-shadow: .25cqw .25cqw 0 #c0185a; }
.old__sub { color: #fff; font-style: italic; font-size: 1.6cqw; }
.old__nav { display: flex; gap: .5cqw; padding: .7cqw 2cqw; background: #c0c0c0; border-bottom: .2cqw solid #808080; }
.old__nav span { padding: .35cqw 1.1cqw; background: #dcdcdc; border: .2cqw outset #fff; font-family: Arial, sans-serif; font-size: 1.25cqw; }
.old__body { display: grid; grid-template-columns: 17cqw 1fr; min-height: 0; }
.old__side { background: #ccccff; border-right: .3cqw double #000080; padding: 1.4cqw; display: grid; align-content: start; gap: .6cqw; }
.old__side u { color: #0000ee; }
.old__counter { margin-top: 1.4cqw; padding: .8cqw; background: #000; color: #0f0; font-family: "Courier New", monospace; text-align: center; font-size: 1.2cqw; border: .2cqw inset #888; }
.old__counter span { font-size: 2cqw; letter-spacing: .2cqw; }
.old__main { padding: 1.8cqw 2.4cqw; display: grid; align-content: start; gap: 1.4cqw; }
.old__welcome { color: #d10000; font-size: 2.8cqw; font-weight: 700; text-align: center; text-decoration: underline; }
.old__row { display: grid; grid-template-columns: 24cqw 1fr; gap: 1.6cqw; align-items: start; }
.old__row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: .5cqw ridge #b8860b; filter: saturate(.5) contrast(.8) blur(.06cqw); image-rendering: pixelated; }
.old__row p { text-align: justify; font-size: 1.5cqw; }
.old__wip { padding: .8cqw; text-align: center; font-family: Arial, sans-serif; font-weight: 700; font-size: 1.4cqw; background: repeating-linear-gradient(-45deg, #ffd400 0 1.4cqw, #111 1.4cqw 2.8cqw); color: #fff; text-shadow: 0 0 .3cqw #000, 0 0 .3cqw #000; }
.old__foot { font-size: 1.05cqw; color: #555; text-align: center; }

/* after: the same salon, modern */
.new { background: #0b0b0c; color: #fff; font-family: var(--font); clip-path: inset(0 0 0 var(--pos)); }
.new__img { position: absolute; left: 0; top: 0; width: 58%; height: 100%; object-fit: cover; object-position: 40% 40%; -webkit-mask-image: linear-gradient(270deg, transparent, #000 40%); mask-image: linear-gradient(270deg, transparent, #000 40%); filter: brightness(.85) saturate(.9); }
.new__nav { position: absolute; inset: 0 0 auto; display: flex; align-items: center; gap: 2.8cqw; padding: 2.4cqw 3.6cqw; font-size: 1.25cqw; color: rgba(255,255,255,.75); }
.new__nav b { color: #fff; letter-spacing: .25em; font-size: 1.35cqw; margin-right: auto; }
.new__nav em, .new__btns em { font-style: normal; background: #e9d8c4; color: #141414; font-weight: 600; padding: .9cqw 1.8cqw; border-radius: 99cqw; }
.new__hero { position: absolute; right: 3.6cqw; top: 50%; transform: translateY(-58%); width: 44%; display: grid; gap: 1.6cqw; }
.new__hero small { font-size: 1.15cqw; letter-spacing: .2em; text-transform: uppercase; color: #e9d8c4; }
.new__hero h3 { font-size: 5.2cqw; line-height: .98; letter-spacing: -0.045em; font-weight: 600; }
.new__hero p { font-size: 1.45cqw; line-height: 1.5; color: rgba(255,255,255,.7); max-width: 32em; }
.new__btns { display: flex; gap: 1.2cqw; font-size: 1.3cqw; margin-top: .6cqw; }
.new__btns span { padding: .9cqw 1.8cqw; border-radius: 99cqw; border: 1px solid rgba(255,255,255,.3); }
.new__cards { position: absolute; left: 53%; right: 3.6cqw; bottom: 2.8cqw; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2cqw; }
.new__cards span { padding: 1.2cqw 1.4cqw; border-radius: 1.2cqw; background: rgba(20,20,22,.72); border: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 1.2cqw; color: rgba(255,255,255,.65); }
.new__cards b { display: block; color: #fff; font-size: 1.6cqw; font-weight: 600; margin-bottom: .2cqw; }

/* labels, handle, input */
.cmp__tag { position: absolute; bottom: 1.6cqw; z-index: 3; padding: 6px 12px; border-radius: 999px; font: 600 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; pointer-events: none; transition: opacity 200ms var(--ease); }
.cmp__tag--l { left: 1.6cqw; background: rgba(0,0,0,.72); color: #fff; }
.cmp__tag--r { right: 1.6cqw; background: var(--brand); color: var(--on-brand); }
.cmp[data-pos-low] .cmp__tag--l, .cmp[data-pos-high] .cmp__tag--r { opacity: 0; }
.cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 4; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 0 24px rgba(120,146,255,.8); pointer-events: none; }
.cmp__handle span { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0a0a0a; box-shadow: 0 10px 30px -6px rgba(0,0,0,.6); transition: transform 160ms var(--ease); }
.cmp__handle svg { width: 20px; height: 20px; }
.cmp.is-dragging .cmp__handle span { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .cmp__stage:hover .cmp__handle span { transform: scale(1.06); } .cmp.is-dragging .cmp__handle span { transform: scale(.92); } }
.cmp__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.cmp__range:focus-visible ~ .cmp__handle span, .cmp:has(.cmp__range:focus-visible) .cmp__handle span { outline: 3px solid var(--brand); outline-offset: 3px; }
.cmp__cap { padding: 14px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; text-align: center; }
@media (max-width: 639px) {
  .cmp__stage { aspect-ratio: 4 / 3.4; }
  .old { font-size: 2.1cqw; }
  .old__body { grid-template-columns: 1fr; }
  .old__side { display: none; }
  .old__row { grid-template-columns: 34cqw 1fr; }
  .old__row p { font-size: 2.3cqw; }
  .old__welcome { font-size: 3.6cqw; }
  .old__nav span { font-size: 1.9cqw; }
  .old__foot { font-size: 1.8cqw; }
  .old__wip { font-size: 2.1cqw; }
  .new__img { width: 75%; }
  .new__nav span { display: none; }
  .new__nav { font-size: 2.3cqw; } .new__nav b { font-size: 2.4cqw; }
  .new__hero { width: 43%; right: 3cqw; top: 44%; }
  .new__btns span { display: none; }
  .new__hero p { display: none; }
  .new__hero h3 { font-size: 5.8cqw; }
  .new__hero small { font-size: 2cqw; }
  .new__hero p { font-size: 2.6cqw; }
  .new__btns { font-size: 2.4cqw; }
  .new__cards { left: 54%; right: 3cqw; bottom: 9cqw; grid-template-columns: 1fr; }
  .new__cards span:last-child { display: none; }
  .new__cards span { font-size: 2.2cqw; } .new__cards b { font-size: 2.8cqw; }
  .cmp__handle span { width: 42px; height: 42px; margin: -21px 0 0 -21px; }
  .cmp__tag { font-size: 10.5px; padding: 5px 9px; }
}

/* ---------- process cards: motion (animate skill) ----------
   The width change is the one layout animation on the page: four cards, no transform equivalent that keeps text undistorted
   (same exception as an accordion's height). On-screen morph, so the strong ease-in-out; transitions, so a fast pointer retargets. */
@media (min-width: 900px) {
  .step { transition: flex-grow 420ms var(--ease-in-out), background-color 260ms ease, border-color 260ms ease, color 260ms ease; }
  /* the text is always laid out at its open width, so it never re-wraps while the card grows; only its opacity and position change */
  .step p { display: block; width: min(26em, 30vw); max-width: none; opacity: 0; transform: translateY(6px); transition: opacity 120ms ease, transform 120ms var(--ease); }
  .step.is-active p { opacity: 1; transform: none; transition: opacity 260ms var(--ease) 160ms, transform 260ms var(--ease) 160ms; }
  .step__num { transition: color 260ms ease, transform 420ms var(--ease-in-out); transform: scale(.9); }
  .step.is-active .step__num { transform: none; }
  .step__dots i { transition: background-color 260ms ease; }
}
@media (prefers-reduced-motion: reduce) {
  .step, .step__num { transition-property: background-color, border-color, color; }
  .step p, .step.is-active p { transform: none; }
}

/* after side: the barber photo fills the frame; a dark wash from the right keeps the text readable */
.new__img { left: 0; right: 0; width: 100%; object-position: 30% 45%; -webkit-mask-image: none; mask-image: none; filter: brightness(.9) saturate(1.05); }
.new::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(270deg, rgba(11,11,12,.94) 0%, rgba(11,11,12,.86) 34%, rgba(11,11,12,.35) 62%, rgba(11,11,12,.05) 100%); }
.new__nav, .new__hero, .new__cards { z-index: 2; }
@media (max-width: 639px) { .new__img { width: 100%; object-position: 25% 45%; } .new::before { background: linear-gradient(270deg, rgba(11,11,12,.95) 0%, rgba(11,11,12,.85) 42%, rgba(11,11,12,.3) 70%, rgba(11,11,12,.05) 100%); } }

/* ---------- impeccable critique/audit fixes (2026-11-19) ---------- */
/* a11y: visually hidden that can never widen the page (it escaped .compare__wrap's scroller on phones) */
.sr-only { clip-path: inset(50%); margin: -1px; padding: 0; border: 0; }
.compare__wrap { position: relative; }
/* a11y: the skip link appears when a keyboard user lands on it */
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform 200ms var(--ease); }
.skip-link:focus-visible { transform: none; outline-offset: 2px; }
/* a11y: placeholders and the browser mock url meet AA */
.field ::placeholder { color: #80848d; opacity: 1; }
.win__url, .cmp__url { color: #8a8f99; }
/* browser surfaces carry the palette */
::selection { background: rgba(120,146,255,.35); color: #fff; }
html { scrollbar-color: #2a2c31 var(--bg); }
.nobr { white-space: nowrap; }
/* the "Mit Dicaia Web" chip keeps its own width */
.after { justify-items: start; }
.after > * { justify-self: stretch; }
.after > .chip { justify-self: start; }
/* hero: tracking floor */
.hero h1, .cta h2 { letter-spacing: -0.04em; }
/* phones: a direct way to the form is always one tap away */
.nav__cta-m { display: none; }
@media (max-width: 899px) {
  .nav__bar { grid-template-columns: 1fr auto auto; gap: 10px; }
  .nav__cta-m { display: inline-flex; --h: 40px; padding: 0 16px; }
}
/* mouse hint only where there is a mouse */
@media (hover: none) { .scroll-dot { display: none; } }

/* process cards: real buttons for keyboard + screen readers; the whole card stays clickable */
.step__btn { all: unset; cursor: inherit; border-radius: 6px; }
.step__btn::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-m); }
.step__btn:focus-visible { outline: none; }
.step:has(.step__btn:focus-visible) { outline: 2px solid var(--brand); outline-offset: 3px; }
/* phones and tablets: the card in the middle of the screen turns white while scrolling (site.js) */
@media (max-width: 899px) {
  .step { transition: background-color 380ms var(--ease), border-color 380ms var(--ease), color 380ms var(--ease); }
  .step__num, .step p, .step .chip { transition: color 380ms var(--ease), background-color 380ms var(--ease), border-color 380ms var(--ease); }
  .step__btn::after { display: none; }
}
}

/* comparison: on phones each row becomes a small card with its own column names */
@media (max-width: 639px) {
  .compare { min-width: 0; }
  .compare thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .compare tbody th { padding: 0 0 12px; border: 0; font-size: 15.5px; }
  .compare td { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border: 0; text-align: left; }
  .compare td::before { content: attr(data-label); color: var(--muted); font-size: 14px; }
  .compare td.us { background: none; border: 0; border-radius: 0; }
  .compare td.us::before { color: var(--ink); font-weight: 600; }
  .compare tbody tr:last-child .us { border: 0; }
}

/* ---------- the person: strip after the showcase + reprise at the form ---------- */
.who { padding-top: clamp(80px, 10vw, 128px); }
.who__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 980px; }
.who__photo, .me__photo {
  display: grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden; position: relative;
  background: radial-gradient(80% 80% at 30% 20%, rgba(169,184,255,.45), transparent 60%), linear-gradient(160deg, #26304f, #11131a);
  border: 1px solid rgba(120,146,255,.35); color: #e6eaff; font-weight: 600; letter-spacing: -0.04em;
}
.who__photo { width: clamp(132px, 16vw, 200px); aspect-ratio: 1; font-size: clamp(3rem, 6vw, 4.6rem); }
.who__photo small { position: absolute; bottom: 18%; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(230,234,255,.7); }
.who__text { display: grid; gap: 16px; justify-items: start; }
.who__text h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); max-width: 18em; }
.who__text p { color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.15rem); max-width: 36em; }
@media (max-width: 639px) { .who__grid { grid-template-columns: 1fr; justify-items: start; } }
.me { display: flex; gap: 14px; align-items: center; padding: 14px 16px; margin-bottom: 22px; border-radius: var(--r-m); background: rgba(120,146,255,.06); border: 1px solid rgba(120,146,255,.2); }
.me__photo { width: 48px; height: 48px; font-size: 20px; }
.me b { display: block; font-weight: 600; }
.me span { color: var(--muted); font-size: 14px; }

/* ---------- showcase = the before/after slider (mockups removed) ---------- */
.showcase { padding-top: clamp(24px, 4vw, 48px); }
.showcase__head { margin-bottom: clamp(28px, 4vw, 44px); }
.showcase .cmp { margin-bottom: 0; }
/* the promise from the hero, made visible on the after side */
.cmp__notice { position: absolute; z-index: 3; right: 3.6cqw; top: 7.2cqw; display: flex; align-items: center; gap: 1cqw; padding: .9cqw 1.4cqw .9cqw .9cqw; border-radius: 1.2cqw; background: rgba(23,24,27,.88); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 1.15cqw; line-height: 1.3; color: #fff; box-shadow: 0 1.6cqw 3cqw -1.6cqw rgba(0,0,0,.8); }
.cmp__notice .badge__icon { width: 2.6cqw; height: 2.6cqw; border-radius: .8cqw; }
.cmp__notice .badge__icon svg { width: 1.3cqw; height: 1.3cqw; }
.cmp__notice small { display: block; color: var(--muted); font-size: .95cqw; }
@media (max-width: 639px) { .cmp__notice { display: none; } }

/* ---------- slider shown on a desktop monitor: smaller, with bezel and stand, so it reads as an example ---------- */
.pc { max-width: 940px; margin-inline: auto; }
.pc .cmp {
  margin: 0; border-radius: 18px; border: 12px solid #18191c; outline: 1px solid rgba(255,255,255,.12); outline-offset: 0;
  background: #18191c; box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 40px 120px -60px rgba(120,146,255,.45);
}
.pc .cmp__bar { border-radius: 6px 6px 0 0; }
.pc .cmp__stage { border-radius: 0 0 6px 6px; }
.pc__stand { display: grid; justify-items: center; }
.pc__stand i { width: 15%; height: 44px; background: linear-gradient(#1d1e22, #121316); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.pc__stand b { width: 34%; height: 10px; border-radius: 6px 6px 10px 10px; background: linear-gradient(#25272c, #141518); box-shadow: 0 18px 30px -12px rgba(0,0,0,.9); }
@media (max-width: 639px) {
  .pc .cmp { border-width: 7px; border-radius: 12px; }
  .pc__stand i { height: 26px; width: 20%; }
  .pc__stand b { width: 44%; height: 7px; }
}
/* after side with the clipper photo: lighter wash so the photo reads even at the 50 % start position */
.new::before { background: linear-gradient(270deg, rgba(11,11,12,.9) 0%, rgba(11,11,12,.7) 36%, rgba(11,11,12,.25) 64%, rgba(11,11,12,.05) 100%); }
.new__img { object-position: 42% 40%; }

/* ---------- Leistungen, decluttered: same stacked scroll panels, calmer content ---------- */
.panel { min-height: 0; align-items: start; padding: clamp(32px, 4.5vw, 60px); }
.panel__text { gap: 16px; }
.panel .items { gap: 0; border-top: 1px solid var(--line); }
.panel .item { align-items: flex-start; gap: 14px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
@media (hover: hover) { .panel .item:hover { background: none; border-color: var(--line); } }
.panel .item__icon { width: auto; height: auto; margin-top: 3px; border-radius: 0; background: none; border: 0; }
.panel .item__icon svg { width: 18px; height: 18px; }
.panel .item b { font-size: 1.02rem; letter-spacing: -0.01em; }
.panel .item span { font-size: 14.5px; }
.panel__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; color: var(--brand); font-weight: 600; font-size: 15px; text-decoration: none; }
.panel__link svg { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .panel__link:hover svg { transform: translateX(3px); } }

/* ---------- "Ich bin Gabriel": cut-out portrait standing on the page, fading into it at the bottom ---------- */
.who { padding-top: clamp(64px, 8vw, 112px); overflow: hidden; }
.who__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: center; max-width: 1120px; }
.who__figure { position: relative; margin: 0; display: grid; justify-items: center; align-self: end; }
.who__glow { position: absolute; left: 50%; top: 18%; width: 92%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(120,146,255,.34), rgba(120,146,255,.1) 55%, transparent 75%); filter: blur(10px); pointer-events: none; }
.who__figure picture { position: relative; display: block; width: min(100%, 460px); }
.who__img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 98%); mask-image: linear-gradient(180deg, #000 72%, transparent 98%); image-rendering: auto; }
.who__name { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); }
.who__text h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
@media (max-width: 767px) {
  .who__grid { grid-template-columns: 1fr; gap: 8px; }
  .who__figure picture { width: min(78vw, 340px); }
  .who__text { margin-top: -24px; position: relative; }
}

/* Leistungen: one large line symbol per card, so "new from scratch" and "redesign" read at a glance */
.panel__symbol { width: clamp(84px, 9vw, 132px); height: clamp(84px, 9vw, 132px); color: var(--brand); margin-bottom: 4px; filter: drop-shadow(0 0 18px rgba(120,146,255,.35)); }
