/* ═══════════════════════════════════════════
   Vitor Gorla — "Black Belt" design system
   Shared by index.html and services.html
═══════════════════════════════════════════ */
:root {
  --black:   #050505;
  --surface: #0f0f0e;
  --raised:  #171716;
  --gi:      #ecebe6;
  --muted:   rgba(236,235,230,.64);
  --subtle:  rgba(236,235,230,.40);
  --line:    rgba(236,235,230,.12);
  --line-h:  rgba(236,235,230,.24);
  --red:     #c8102e;
  --red-hi:  #e0213f;
  --tape:    #f5f5f0;
  --mat:     #1f3b57;
  --mat-hi:  #2b5078;

  --ff-d: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --ff-b: 'Familjen Grotesk', system-ui, sans-serif;

  --nav-h: 64px;
  --max-w: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.7,0,.2,1);
  --ease-out: cubic-bezier(.2,.8,.2,1);
  color-scheme: dark;
}

/* ── Language toggle: hide the inactive language ── */
html[lang="de"] [data-l="en"],
html[lang="en"] [data-l="de"] { display: none !important; }

/* ── Cross-page transitions (Chromium/Safari; others just navigate) ── */
@view-transition { navigation: auto; }
.belt-nav { view-transition-name: belt; }

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; touch-action: manipulation; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--ff-b); font-size: 17px; line-height: 1.6;
  background: var(--black); color: var(--gi);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
::selection { background: var(--red); color: var(--tape); }
:focus-visible { outline: 2px solid var(--tape); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 999;
  padding: 8px 16px; background: var(--tape); color: var(--black); font-weight: 600;
  transform: translateY(-200%); transition: transform .15s;
}
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(72px, 11vw, 136px); }
.sec + .sec { border-top: 1px solid var(--line); }

/* ── Type ── */
.h1, .h2, .h3 { font-family: var(--ff-d); font-weight: 800; text-transform: uppercase; line-height: .92; letter-spacing: .005em; }
.h1 { font-size: clamp(52px, 9.4vw, 132px); }
.h2 { font-size: clamp(40px, 6.4vw, 84px); margin-bottom: 20px; }
.h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 54ch; }
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head .lead { margin-top: 4px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font-weight: 600; font-size: 16px; border-radius: 3px;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--red { background: var(--red); color: var(--tape); }
.btn--red:hover { background: var(--red-hi); }
.btn--line { border: 1px solid var(--line-h); color: var(--gi); }
.btn--line:hover { border-color: var(--gi); }
.btn--wa { background: #1f8f4e; color: #fff; }
.btn--wa:hover { background: #24a75b; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { color: var(--gi); border-bottom: 1px solid var(--red); padding-bottom: 1px; transition: color .15s; }
.text-link:hover { color: var(--red-hi); }

/* ═══════════════════════════════════════════
   BELT NAV — the nav is a black belt; the red bar
   holds 4 tape stripes that fill with scroll
═══════════════════════════════════════════ */
.belt-nav {
  position: sticky; top: 0; z-index: 200; height: var(--nav-h);
  background:
    repeating-linear-gradient(180deg, transparent 0 9px, rgba(255,255,255,.035) 9px 10px),
    var(--black);
  border-bottom: 1px solid var(--line);
}
.belt-in { height: 100%; display: flex; align-items: center; gap: 16px; padding-left: var(--gutter); }
.logo { font-family: var(--ff-d); font-weight: 900; font-size: 24px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.logo-short { display: none; }
.nav-links { display: flex; gap: 4px; margin-left: 24px; }
.nav-links a { font-size: 15px; color: var(--muted); padding: 8px 12px; transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gi); }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.lang { display: flex; border: 1px solid var(--line-h); border-radius: 3px; overflow: hidden; }
.lang button { min-width: 44px; min-height: 36px; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.lang button[aria-pressed="true"] { background: var(--gi); color: var(--black); }

.bar {
  align-self: stretch; display: flex; align-items: center; gap: 14px;
  background: var(--red); padding: 0 var(--gutter) 0 18px;
}
.stripes { display: flex; gap: 5px; }
.stripes i { width: 7px; height: 30px; background: rgba(0,0,0,.28); transition: background .3s var(--ease-out), transform .3s var(--ease-out); }
.stripes i.on { background: var(--tape); }
.bar .btn { min-height: 40px; padding: 0 16px; background: var(--black); color: var(--tape); font-size: 15px; }
.bar .btn:hover { background: #1a1a1a; }

.ham { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.ham span { width: 20px; height: 2px; background: var(--gi); transition: transform .2s, opacity .2s; }
.ham[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ham[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-nav {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 190; background: var(--black);
  padding: 32px var(--gutter); display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.mob-nav.open { opacity: 1; visibility: visible; }
.mob-nav a { font-family: var(--ff-d); font-weight: 800; font-size: 44px; text-transform: uppercase; line-height: 1.15; }
.mob-nav .lang { align-self: flex-start; margin-top: 24px; }

/* ═══════════════════════════════════════════
   HERO BELT BAND — ties in once on load
═══════════════════════════════════════════ */
.band {
  position: relative; display: flex; align-items: center; height: clamp(72px, 9vw, 104px);
  background:
    repeating-linear-gradient(180deg, transparent 0 11px, rgba(255,255,255,.05) 11px 12px),
    #000;
  border-block: 1px solid var(--line-h);
  overflow: hidden;
  animation: tie 1s var(--ease) .15s both;
}
.band-text {
  padding-left: var(--gutter); font-family: var(--ff-d); font-weight: 700;
  font-size: clamp(16px, 2.2vw, 26px); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0;
}
.band-bar { align-self: stretch; width: clamp(150px, 22vw, 300px); background: var(--red); display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.2vw, 14px); flex-shrink: 0; }
.band-bar i { width: clamp(9px, 1.1vw, 14px); height: 64%; background: var(--tape); animation: stamp .35s var(--ease-out) both; }
.band-bar i:nth-child(1) { animation-delay: 1.05s; }
.band-bar i:nth-child(2) { animation-delay: 1.17s; }
.band-bar i:nth-child(3) { animation-delay: 1.29s; }
.band-bar i:nth-child(4) { animation-delay: 1.41s; }
@keyframes tie   { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes stamp { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Headline lines rise in behind the band */
.h1.rise { line-height: 1.02; }
.rise > span { display: block; overflow: hidden; padding-top: .16em; margin-top: -.16em; } /* headroom so Ü/Ä/Ö dots aren't clipped */
.rise > span > span { display: block; animation: rise .8s var(--ease-out) both; }
.rise > span:nth-child(2) > span { animation-delay: .1s; }
.rise > span:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero { padding-block: clamp(48px, 8vw, 104px) clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1fr minmax(240px, 34%); gap: clamp(32px, 6vw, 80px); align-items: end; }
.hero .lead { margin: 28px 0 36px; }
.portrait { position: relative; aspect-ratio: 4/5; background: var(--raised); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.portrait figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: 14px; color: var(--muted);
}

/* ═══════════════════════════════════════════
   PATH — timeline (a real sequence, so numbered)
═══════════════════════════════════════════ */
.path { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-h); }
.step { padding: 24px 20px 8px 0; position: relative; }
.step + .step { padding-left: 20px; border-left: 1px solid var(--line); }
.step-year { font-family: var(--ff-d); font-weight: 800; font-size: 40px; line-height: 1; display: block; margin-bottom: 12px; }
.step { transition: box-shadow .3s var(--ease-out), opacity .3s; }
.step-year { transition: color .3s; }
.step.is-active { box-shadow: inset 0 3px 0 var(--red); }
.step.is-active .step-year { color: var(--red-hi); }
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); }

/* ═══════════════════════════════════════════
   WORK ROWS — screenshot + copy, alternating
═══════════════════════════════════════════ */
.rows { display: grid; gap: clamp(64px, 9vw, 120px); }
.row { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.row:nth-child(even) .shot { order: 2; }
.row--solo { grid-template-columns: 1fr; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line-h); background: var(--surface); }
.row--solo .row-copy p { max-width: 64ch; }
.shot-frame--board img { object-position: center; }
.shot { position: relative; }
.shot-frame { border: 1px solid var(--line-h); background: var(--raised); overflow: hidden; aspect-ratio: 16/10; }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease-out); }
.shot a:hover .shot-frame img { transform: scale(1.025); }
.shot-phone {
  position: absolute; right: -4%; bottom: -10%; width: 26%;
  border: 3px solid #000; border-radius: 18px; overflow: hidden; aspect-ratio: 390/844;
  box-shadow: 0 0 0 1px var(--line-h), 0 24px 48px rgba(0,0,0,.6);
}
.shot-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.row-copy .h3 { margin-bottom: 14px; }
.row-copy p { color: var(--muted); margin-bottom: 18px; max-width: 46ch; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin-bottom: 14px; color: var(--gi); }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--live { color: #4ade80; }
.status--soon { color: #fbbf24; }
.status--dev  { color: #93c5fd; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.tags li { font-size: 13px; color: var(--subtle); border: 1px solid var(--line); padding: 2px 10px; border-radius: 2px; }

/* ═══════════════════════════════════════════
   PARTNER MARQUEE
═══════════════════════════════════════════ */
.mq { overflow: hidden; border-block: 1px solid var(--line); padding-block: 28px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq 38s linear infinite; }
.mq:hover .mq-track { animation-play-state: paused; }
.mq a {
  display: flex; align-items: center; gap: 18px; padding-inline: 32px;
  font-family: var(--ff-d); font-weight: 800; font-size: clamp(32px, 5vw, 56px); text-transform: uppercase; white-space: nowrap;
  color: var(--subtle); transition: color .2s;
}
.mq a:hover { color: var(--gi); }
.mq a::after { content: ''; width: 10px; height: 10px; background: var(--red); margin-left: 32px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════
   CONTACT FORM
═══════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-wrap { position: relative; }
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--surface); color: var(--gi); border: 1px solid var(--line-h); border-radius: 3px;
  font: inherit; font-size: 16px; transition: border-color .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gi); }
.field input::placeholder, .field textarea::placeholder { color: var(--subtle); }
.req { color: var(--red-hi); }
.form-error { color: #fca5a5; font-size: 15px; }
.form-done { padding: 32px; border: 1px solid var(--line-h); background: var(--surface); }
.form-done .h3 { margin-bottom: 8px; }
.side-links { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.side-links a { display: grid; gap: 2px; padding: 18px 20px; background: var(--black); transition: background .15s; }
.side-links a:hover { background: var(--surface); }
.side-links strong { font-weight: 600; }
.side-links a > span { font-size: 14px; color: var(--muted); }
.avail { margin-top: 20px; font-size: 15px; color: var(--muted); }
.avail b { color: #4ade80; font-weight: 600; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.foot { border-top: 1px solid var(--line); padding-block: 32px; font-size: 14px; color: var(--subtle); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a:hover { color: var(--gi); }

/* ═══════════════════════════════════════════
   SERVICES PAGE
═══════════════════════════════════════════ */
.svc-hero { padding-block: clamp(48px, 8vw, 104px); }
.svc-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.svc-hero .lead { margin: 28px 0 36px; }
.svc-hero .h1 { font-size: clamp(52px, 6.2vw, 92px); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; font-size: 15px; color: var(--muted); }
.trust li::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--red); margin-right: 10px; vertical-align: middle; }

.fan { position: relative; height: clamp(360px, 44vw, 540px); overflow-x: clip; }
.fan figure {
  position: absolute; top: 50%; left: 50%; width: 38%; aspect-ratio: 390/844;
  border: 3px solid #000; border-radius: 22px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-h), 0 30px 60px rgba(0,0,0,.7);
  transform: translate(-50%, -50%) rotate(var(--r)) translateX(var(--x));
  transition: transform .5s var(--ease-out);
}
.fan figure img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fan figure:nth-child(1) { --r: -9deg; --x: -62%; }
.fan figure:nth-child(2) { --r: 0deg;  --x: 0%; z-index: 2; }
.fan figure:nth-child(3) { --r: 9deg;  --x: 62%; }
.fan:hover figure:nth-child(1) { --x: -72%; }
.fan:hover figure:nth-child(3) { --x: 72%; }

/* Proof grid */
.proof { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(20px, 3vw, 32px); }
.case { grid-column: span 3; display: grid; gap: 16px; align-content: start; }
.case--wide { grid-column: span 6; grid-template-columns: 1.4fr 1fr; align-items: center; gap: clamp(24px, 4vw, 48px); }
.case:nth-child(4), .case:nth-child(5) { grid-column: span 3; }
.case .shot-frame { aspect-ratio: 16/10; }
.case-meta { font-size: 14px; color: var(--subtle); }
.case h3 { font-family: var(--ff-d); font-weight: 800; font-size: 30px; text-transform: uppercase; line-height: 1; }
.case p { color: var(--muted); font-size: 16px; }
.case-did { display: flex; flex-wrap: wrap; gap: 6px; }
.case-did li { font-size: 13px; color: var(--subtle); border: 1px solid var(--line); padding: 2px 10px; border-radius: 2px; }

/* Three ways to work */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-h); }
.way { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.way + .way { border-left: 1px solid var(--line-h); }
.way { transition: background .3s, box-shadow .3s var(--ease-out), opacity .3s; }
.way.is-active { background: var(--surface); box-shadow: inset 0 4px 0 var(--red); }
.way-tag { font-size: 14px; font-weight: 600; color: var(--red-hi); min-height: 1.6em; }
.way p { color: var(--muted); }
.way ul { display: grid; gap: 10px; margin-top: 4px; flex: 1; }
.way li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 16px; }
.way li::before { content: ''; width: 10px; height: 3px; background: var(--red); margin-top: .7em; }
.way-for { font-size: 15px; color: var(--subtle); border-top: 1px solid var(--line); padding-top: 16px; }
.ways--kit { grid-template-columns: repeat(4, 1fr); }
.way .way-price { font-family: var(--ff-d); font-size: clamp(40px, 4vw, 52px); font-weight: 800; line-height: 1; color: var(--gi); }
.way-price small { font-family: var(--ff-b); font-size: 15px; font-weight: 500; color: var(--subtle); margin-left: 4px; }
.ways--kit .way ul { align-content: start; }
.ways--kit .btn { align-self: stretch; justify-content: center; text-align: center; }
.kit-free { border: 1px solid var(--line-h); border-bottom: none; padding: 16px clamp(24px, 3vw, 36px); color: var(--muted); }
.kit-free strong { color: var(--red-hi); margin-right: 8px; }
.row-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.kit-note { margin-top: 16px; font-size: 15px; color: var(--subtle); }
.kit-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red-hi); margin-bottom: 16px; }
.kit-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); list-style: none; padding: 0; }
.kit-steps li { border-top: 3px solid var(--red); padding-top: 16px; }
.kit-steps strong { font-family: var(--ff-d); font-size: 24px; font-weight: 800; text-transform: uppercase; }
.kit-steps p { color: var(--muted); margin-top: 8px; }
.kit-fig { margin-top: clamp(32px, 4vw, 48px); border: 1px solid var(--line-h); }
.kit-fig img { width: 100%; height: auto; display: block; }
@media (max-width: 859px) { .kit-steps { grid-template-columns: 1fr; } }
@media (min-width: 1024px) and (max-width: 1279px) {
  .ways--kit { grid-template-columns: repeat(2, 1fr); }
  .ways--kit .way:nth-child(3) { border-left: none; }
  .ways--kit .way:nth-child(n+3) { border-top: 1px solid var(--line-h); }
}

/* Know-how: architecture / security / integrations */
.know { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.know h3 { font-family: var(--ff-d); font-weight: 800; font-size: 34px; text-transform: uppercase; margin-bottom: 12px; padding-top: 16px; border-top: 3px solid var(--gi); }
.know p { color: var(--muted); margin-bottom: 16px; }
.know li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.know li b { font-weight: 600; }

/* Quiz */
.quiz { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.q-step { margin-bottom: 36px; }
.q-step legend { font-family: var(--ff-d); font-weight: 800; font-size: clamp(26px, 3vw, 34px); text-transform: uppercase; line-height: 1; margin-bottom: 16px; }
.q-step fieldset { border: none; }
.q-step[hidden] { display: none; }
.q-step { animation: pop .4s var(--ease-out) both; }
.q-hint { font-size: 14px; color: var(--subtle); margin-top: 10px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt > span {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px;
  background: rgba(236,235,230,.07); border: 1px solid rgba(236,235,230,.38); border-radius: 3px;
  font-size: 16px; font-weight: 600; color: var(--gi); cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.opt > span::before {
  content: ''; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; flex-shrink: 0;
  transition: background .15s, box-shadow .15s;
}
.opt input:hover + span { background: rgba(236,235,230,.14); border-color: var(--gi); }
.opt input:active + span { transform: scale(.98); }
.opt input:checked + span { background: var(--gi); color: var(--black); border-color: var(--gi); }
.opt input:checked + span::before { background: var(--red); border-color: var(--red); box-shadow: inset 0 0 0 2px var(--gi); }
.opt input:focus-visible + span { outline: 2px solid var(--tape); outline-offset: 3px; }

.chat { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 12px; }
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chat-head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.chat-head strong { display: block; font-weight: 600; }
.chat-head div > span { font-size: 14px; color: var(--muted); }
.msgs { display: grid; gap: 10px; min-height: 120px; }
.msg {
  justify-self: start; max-width: 92%; padding: 14px 16px; background: var(--mat);
  border-radius: 4px 16px 16px 16px; font-size: 16px; line-height: 1.55;
  animation: pop .35s var(--ease-out) both; transform-origin: top left;
}
.msg--hint { background: transparent; border: 1px dashed var(--line-h); color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(6px); } to { opacity: 1; transform: none; } }
.quiz-cta { display: grid; gap: 10px; margin-top: 6px; }
.quiz-cta[hidden] { display: none; }

/* Process (a real sequence) */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: p; }
.process li { padding: 24px 24px 0 0; border-top: 3px solid var(--line-h); counter-increment: p; transition: border-color .3s, opacity .3s; }
.process li.is-active { border-top-color: var(--red); }
.process li::before { transition: color .3s; }
.process li.is-active::before { color: var(--gi); }
.process li::before { content: counter(p); font-family: var(--ff-d); font-weight: 800; font-size: 56px; line-height: 1; display: block; margin-bottom: 12px; color: var(--subtle); }
.process h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.process p { color: var(--muted); font-size: 16px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px;
  padding: 22px 0; font-size: 19px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--ff-d); font-size: 32px; line-height: .8; color: var(--red-hi); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 68ch; }

/* Final CTA */
.final .h1 { font-size: clamp(48px, 8vw, 112px); margin-bottom: 28px; }
.final .lead { margin-bottom: 36px; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .ham { display: flex; }
  .path { grid-template-columns: 1fr 1fr; }
  .step:nth-child(odd) { padding-left: 0; border-left: none; }
  .step { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .ways, .know { grid-template-columns: 1fr; }
  .way + .way { border-left: none; border-top: 1px solid var(--line-h); }
  .process { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}
@media (max-width: 859px) {
  .hero-grid, .svc-hero-grid, .row, .contact-grid, .quiz, .case--wide { grid-template-columns: 1fr; }
  .row:nth-child(even) .shot { order: 0; }
  .portrait { max-width: 360px; aspect-ratio: 1; }
  .case, .case:nth-child(4), .case:nth-child(5), .case--wide { grid-column: span 6; }
  .chat { position: static; }
  .shot-phone { right: 2%; }
}
@media (max-width: 599px) {
  body { font-size: 16px; }
  .path, .process, .form-row { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: none; }
  .bar { padding: 0 12px 0 10px; gap: 8px; }
  .stripes { gap: 3px; }
  .stripes i { width: 5px; height: 24px; }
  .bar .btn { padding: 0 12px; font-size: 14px; }
  .logo { font-size: 20px; }
  .belt-in { gap: 4px; }
  .nav-tools { gap: 2px; }
  .nav-tools .lang button { min-width: 34px; min-height: 32px; }
  .fan figure { width: 46%; }
  .band-text { font-size: 14px; }
  .band-bar { width: 96px; }
  .band-bar i { width: 7px; }
}
@media (max-width: 479px) {
  .logo-long { display: none; }
  .logo-short { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .mq-track { animation: none; }
  @view-transition { navigation: none; }
}

/* ═══════════════════════════════════════════
   MOTION & DEPTH
   Fixed background layers (injected by site.js) move at
   different speeds; --sy = scrollY, --mx/--my = pointer.
═══════════════════════════════════════════ */
.depth { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.depth > * { position: absolute; will-change: transform; }
.depth-glow { border-radius: 50%; filter: blur(90px); }
.depth-glow--red {
  width: 48vw; height: 48vw; right: -14vw; top: -14vw; background: rgba(200,16,46,.20);
  transform: translate3d(calc(var(--mxn, 0) * -24px), calc(var(--sy, 0) * -0.08px), 0);
}
.depth-glow--mat {
  width: 56vw; height: 56vw; left: -22vw; top: 45vh; background: rgba(43,80,120,.30);
  transform: translate3d(calc(var(--mxn, 0) * 32px), calc(var(--sy, 0) * -0.18px), 0);
}
/* Tatami floor: a mat grid in perspective, scrolling slower than the page */
.depth-mat {
  left: -50%; right: -50%; bottom: -10vh; height: 70vh;
  background-image:
    linear-gradient(rgba(236,235,230,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236,235,230,.09) 1px, transparent 1px);
  background-size: 120px 120px;
  background-position: 0 calc(var(--sy, 0) * 0.35px);
  transform: perspective(700px) rotateX(64deg);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(transparent, #000 45%);
}
.depth-spot { inset: 0; background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 20%), rgba(236,235,230,.055), transparent 65%); }
.depth-grain {
  inset: -50%; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Giant outlined word behind a section, drifting slower than its content */
.sec[data-bg] { position: relative; isolation: isolate; overflow: clip; }
.sec[data-bg]::before {
  content: attr(data-bg); position: absolute; z-index: -1; left: -1vw; top: 50%;
  font-family: var(--ff-d); font-weight: 900; font-size: clamp(160px, 30vw, 460px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(236,235,230,.11); white-space: nowrap;
  transform: translate3d(0, calc(-50% + var(--py, 0) * 1px), 0); pointer-events: none;
}
.sec[data-bg-side="right"]::before { left: auto; right: -1vw; }

/* 3D scroll reveal — tagged by site.js, staggered with --i */
.js [data-rv] {
  opacity: 0; transform: perspective(1100px) translate3d(0, 56px, 0) rotateX(12deg); transform-origin: 50% 100%;
  transition: opacity .8s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-rv].in { opacity: 1; transform: none; }

/* Parallax layers inside compositions (value set by site.js) */
.shot-phone, .fan figure { translate: 0 calc(var(--dy, 0) * 1px); }

/* Pointer tilt */
.tilt { transition: transform .25s var(--ease-out); transform-style: preserve-3d; }
.portrait { box-shadow: 18px 18px 0 -1px var(--red); overflow: visible; }
.portrait img { position: relative; }
.portrait figcaption { z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .js [data-rv] { opacity: 1; transform: none; }
  .depth > * { transform: none !important; }
  .depth-mat { transform: perspective(700px) rotateX(64deg) !important; }
  .sec[data-bg]::before { transform: translate3d(0, -50%, 0); }
  .shot-phone, .fan figure { translate: none; }
}

/* ═══════════════════════════════════════════
   STEPPERS ([data-steps]): path, ways, process
   Desktop: the active item follows the pointer.
   Mobile: section pins and slides sideways item by item.
═══════════════════════════════════════════ */
.pin-dots { display: none; }
@media (hover: hover) and (min-width: 860px) {
  [data-steps] > * { cursor: default; }
  [data-steps]:hover > :not(.is-active) { opacity: .5; }
}
@media (max-width: 859px) {
  .pin.is-pinned .pin-stick {
    position: sticky; top: calc(var(--nav-h) + 12px); overflow: hidden;
    min-height: calc(100svh - var(--nav-h) - 24px); display: flex; flex-direction: column; justify-content: center;
  }
  .pin.is-pinned .sec-head { margin-bottom: 28px; }
  .pin.is-pinned [data-steps] { display: flex; gap: 14px; border: none; position: relative; will-change: transform; transition: transform .55s var(--ease-out); }
  .pin.is-pinned [data-steps] > * { flex: 0 0 min(84vw, 380px); opacity: .4; transition: opacity .3s; }
  .pin.is-pinned [data-steps] > .is-active { opacity: 1; }
  .pin.is-pinned .step { border: 1px solid var(--line-h); border-bottom: 1px solid var(--line-h); padding: 20px; }
  .pin.is-pinned .way { border: 1px solid var(--line-h); }
  .pin.is-pinned .way + .way { border-top: 1px solid var(--line-h); }
  .pin.is-pinned .process li { padding-right: 0; }
  .pin.is-pinned .pin-dots { display: flex; gap: 6px; margin-top: 18px; }
  .pin-dots i { width: 24px; height: 4px; background: var(--line-h); transition: background .3s; }
  .pin-dots i.on { background: var(--red); }
}

/* ── Tap targets: ≥44px hit areas without changing the look ── */
.logo { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.text-link { position: relative; }
.text-link::after { content: ''; position: absolute; inset: -12px -6px; }
.foot nav { gap: 4px 8px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; }

/* ═══════════════════════════════════════════
   CREATOR KIT SALES PAGE (k-)
═══════════════════════════════════════════ */
.k-vs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-h); }
.k-vs-col { padding: clamp(24px, 3vw, 40px); }
.k-vs-col + .k-vs-col { border-left: 1px solid var(--line-h); }
.k-vs-col--on { background: var(--surface); box-shadow: inset 0 4px 0 var(--red); }
.k-vs-h { font-family: var(--ff-d); font-weight: 800; font-size: clamp(26px, 3vw, 34px); text-transform: uppercase; line-height: 1; margin-bottom: 20px; }
.k-x, .k-ok { display: grid; gap: 14px; }
.k-x li, .k-ok li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 17px; }
.k-x li { color: var(--muted); }
.k-x li::before { content: '×'; font-family: var(--ff-d); font-size: 24px; line-height: .9; color: var(--subtle); }
.k-ok li::before { content: '✓'; font-weight: 700; color: var(--red-hi); }
.k-ok--tight { margin-top: 28px; gap: 10px; }

.k-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); }
.k-feat { display: grid; gap: 12px; align-content: start; }
.k-feat--wide { grid-column: 1 / -1; }
.k-shot { border: 1px solid var(--line-h); border-radius: 6px; overflow: hidden; background: var(--surface); box-shadow: 0 24px 48px rgba(0,0,0,.5); }
.k-shot img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease-out); }
.k-feat:hover .k-shot img { transform: scale(1.02); }
.k-feat-h { font-family: var(--ff-d); font-weight: 800; font-size: clamp(24px, 2.4vw, 30px); text-transform: uppercase; line-height: 1; margin-top: 8px; }
.k-feat p { color: var(--muted); max-width: 60ch; }

.k-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.k-week li { padding: 20px 20px 0 0; border-top: 3px solid var(--line-h); }
.k-week li:nth-child(5) { border-top-color: var(--red); }
.k-day { display: block; font-family: var(--ff-d); font-weight: 900; font-size: 56px; line-height: 1; color: var(--subtle); text-transform: uppercase; margin-bottom: 10px; }
.k-week h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.k-week p { color: var(--muted); font-size: 16px; }

.k-guide { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.k-guide .lead { margin-top: 4px; }
.k-pages { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding-block: 24px; }
.k-pages img { width: 100%; height: auto; border-radius: 3px; box-shadow: 0 0 0 1px var(--line-h), 0 24px 48px rgba(0,0,0,.6); }
.k-pages img:nth-child(1) { transform: rotate(-5deg) translateX(14%); }
.k-pages img:nth-child(2) { transform: translateY(-16px) scale(1.06); z-index: 1; position: relative; }
.k-pages img:nth-child(3) { transform: rotate(5deg) translateX(-14%); }

.k-table-wrap { margin-top: clamp(32px, 4vw, 48px); overflow-x: auto; border: 1px solid var(--line-h); }
.k-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.k-table th, .k-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.k-table tbody tr:last-child th, .k-table tbody tr:last-child td { border-bottom: none; }
.k-table th[scope="row"] { text-align: left; font-weight: 500; color: var(--muted); }
.k-table thead th { font-weight: 600; vertical-align: bottom; }
.k-table thead small { display: block; font-family: var(--ff-d); font-weight: 800; font-size: 24px; color: var(--gi); margin-top: 4px; }
.k-table td { color: var(--gi); }
.k-table td:nth-child(4), .k-table thead th:nth-child(4) { background: var(--surface); }
.k-table tr > :first-child { position: sticky; left: 0; z-index: 1; background: var(--black); min-width: 150px; box-shadow: 1px 0 0 var(--line); }

.k-me { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.k-me .lead + .lead { margin-top: 16px; }
.k-me .text-link { display: inline-block; margin-top: 28px; }

.k-sticky { display: none; }
@media (max-width: 1023px) {
  .k-week { grid-template-columns: 1fr; gap: 20px; }
  .k-week li { display: grid; grid-template-columns: 76px 1fr; column-gap: 16px; padding-right: 0; }
  .k-day { grid-row: span 2; font-size: 40px; }
  .k-guide { grid-template-columns: 1fr; }
}
@media (max-width: 859px) {
  .k-vs, .k-feats { grid-template-columns: 1fr; }
  .k-vs-col + .k-vs-col { border-left: none; border-top: 1px solid var(--line-h); }
  .k-me { grid-template-columns: 1fr; }
  .k-me .portrait { max-width: 280px; }
  .k-sticky {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    box-shadow: 0 12px 32px rgba(0,0,0,.6); transform: translateY(150%); transition: transform .35s var(--ease-out);
  }
  .k-sticky.on { transform: none; }
  body:has(.k-sticky) .foot { padding-bottom: 88px; }
}
