/* =============================================================
   REALVISION LAB — styles.css
   Laboratorio creativo · identidad real: teal profundo +
   degradados magenta/púrpura y amarillo/naranja + Poppins
   =============================================================
   1. Tokens
   2. Reset & base
   3. Utilities
   4. Typography
   5. Components (btn, nav, forms, modal, blobs, pills)
   6. Sections
   7. Effects
   8. Responsive
   9. Reduced motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:          #122624;
  --bg-soft:     #193230;
  --bg-soft-2:   #21403c;
  --card:        #1c3532;
  --ink:         #f5f7f6;
  --ink-soft:    #dfe6e4;
  --ink-mute:    #9fb2ae;
  --ink-faint:   #6d7f7b;
  --line:        rgba(245,247,246,0.12);
  --line-strong: rgba(245,247,246,0.24);

  --magenta:       #e6127f;
  --magenta-deep:  #8e2675;
  --magenta-mid:   #b21c73;
  --gradient-magenta: linear-gradient(135deg, #ef2e8e 0%, #8e2675 100%);

  --yellow:  #fde503;
  --orange:  #ff8a00;
  --gradient-yellow: linear-gradient(135deg, #fde503 0%, #ff8a00 100%);

  --display: "Poppins", sans-serif;
  --sans:    "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 84px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --container: 1440px;
  --radius: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  color-scheme: dark;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: .5s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
::view-transition-old(root) { animation-name: rvlFadeOutUp; }
::view-transition-new(root) { animation-name: rvlFadeInUp; }
@keyframes rvlFadeOutUp { to { opacity: 0; transform: translateY(-10px); } }
@keyframes rvlFadeInUp  { from { opacity: 0; transform: translateY(10px); } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.06; letter-spacing: -0.01em; font-family: var(--display); font-weight: 600; }
ul { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--magenta); color: #fff; }

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--ink); color: var(--bg);
  font-family: var(--sans); font-weight: 600; font-size: .85rem; border-radius: var(--radius-pill);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.section { position: relative; padding-block: clamp(4rem, 9vw, 8rem); overflow: hidden; }
.section-dark { background: var(--bg); color: var(--ink); }
.section-soft { background: var(--bg-soft); }
.hairline-top { border-top: 1px solid var(--line); }
.hairline-bottom { border-bottom: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-weight: 700; font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; color: #fff;
  background: var(--gradient-magenta);
  padding: .5em 1.1em; border-radius: var(--radius-pill);
}
.eyebrow.is-yellow { background: var(--gradient-yellow); color: #1a1400; }
.eyebrow.is-plain { background: none; padding: 0; color: var(--magenta); }

.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 1.5rem 2rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-head h2 { max-width: 16ch; }
.section-head .section-lede { max-width: 42ch; color: var(--ink-mute); font-size: 1.05rem; }

.section-num {
  font-family: var(--sans); font-weight: 600; font-size: .8rem; color: var(--ink-faint);
  letter-spacing: .1em;
}

/* Organic blob decorations */
.blob {
  position: absolute; pointer-events: none; z-index: 0;
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  opacity: .85;
}
.blob-magenta { background: var(--gradient-magenta); }
.blob-yellow  { background: var(--gradient-yellow); }
.blob-spin { animation: blobMorph 18s ease-in-out infinite; }
@keyframes blobMorph {
  0%, 100% { border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%; }
  50%      { border-radius: 58% 42% 38% 62% / 55% 62% 38% 45%; }
}

.timecode {
  font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: .06em; color: var(--ink-faint);
}

/* Reveal system */
[data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal][data-split] { opacity: 1; transform: none; }

.split-word, .split-char { display: inline-block; will-change: transform, opacity; }

/* =============================================================
   4. Typography
   ============================================================= */
.h-display {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.h-xl { font-size: clamp(2.8rem, 7.2vw, 6.4rem); }
.h-lg { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.h-md { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
em {
  font-style: normal; font-weight: 700;
  background: var(--gradient-yellow);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-mute); line-height: 1.6; }

.mono-tag {
  font-family: var(--sans); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-mute);
}

/* =============================================================
   5. Components
   ============================================================= */

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans); font-weight: 600; font-size: .92rem;
  padding: 1rem 1.7rem; border: 1px solid transparent; border-radius: var(--radius-pill);
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-out), background-color .4s, border-color .4s, color .4s;
}
.btn-primary { background: var(--gradient-magenta); color: #fff; box-shadow: 0 8px 24px -8px rgba(230,18,127,.55); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -10px rgba(230,18,127,.65); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }
.btn-arrow { transition: transform .4s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.has-magnetic { display: inline-flex; position: relative; isolation: isolate; }
.magnetic-inner { display: inline-flex; align-items: center; gap: inherit; will-change: transform; transition: transform .8s var(--ease-soft); }

/* --- Nav --- */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(18,38,36,0);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out), backdrop-filter .4s;
}
.nav.is-scrolled {
  background: rgba(18,38,36,0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-brand { display: flex; align-items: center; gap: .65rem; font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: -.01em; color: var(--ink); }
.nav-brand img:first-child { width: 32px; height: 32px; border-radius: 8px; }
.nav-brand span { white-space: nowrap; }
.nav-brand-word { height: 15px; width: auto; }
.nav-links { display: none; align-items: center; gap: 2.1rem; }
.nav-link {
  position: relative; padding: .3rem 0;
  font-family: var(--sans); font-weight: 500; font-size: .92rem;
  color: var(--ink-soft);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--gradient-yellow); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.is-active { color: var(--yellow); }
.nav-cta { display: none; }
.nav-toggle {
  display: grid; place-items: center; width: 40px; height: 40px; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease-out), opacity .35s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 190; background: var(--bg); color: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 0;
  clip-path: inset(0 0 100% 0); transition: clip-path .65s var(--ease-soft);
  padding: var(--nav-h) var(--gutter) 3rem; overflow: hidden;
}
.nav-mobile[data-open="true"] { clip-path: inset(0 0 0 0); }
.nav-mobile a {
  font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 8vw, 2.6rem); padding: .5rem 0;
  border-bottom: 1px solid var(--line); position: relative; z-index: 1;
}
.nav-mobile-foot { margin-top: 2rem; font-family: var(--sans); font-size: .85rem; color: var(--ink-mute); position: relative; z-index: 1; }

/* --- Cards --- */
.card { position: relative; }
.has-tilt {
  --rx: 0deg; --ry: 0deg;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .55s var(--ease-soft);
}
.has-tilt:hover { transition-duration: .15s; }

/* --- Forms --- */
.field { position: relative; margin-bottom: 1.4rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 1.2rem 1.2rem .55rem; border: 1px solid var(--line-strong);
  background: var(--card); color: var(--ink); border-radius: var(--radius); font-family: var(--sans); font-size: 1rem;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--magenta); }
.field textarea { min-height: 110px; resize: vertical; }
.field label {
  position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%); pointer-events: none;
  transition: all .25s var(--ease-out); color: var(--ink-mute); font-size: .95rem;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field.has-value label {
  top: .6rem; transform: none; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
}
.field select { padding: 1.2rem 1.2rem .55rem; }
.field-static-label { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); display: block; margin-bottom: .6rem; font-weight: 600; }
.chip-group { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  font-family: var(--sans); font-weight: 500; font-size: .82rem;
  padding: .6rem 1.1rem; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: var(--gradient-magenta); border-color: transparent; color: #fff; }
.chip:has(input:focus-visible) { outline: 2px solid var(--yellow); outline-offset: 2px; }

.cta-form { position: relative; transition: opacity .5s var(--ease-out), transform .5s var(--ease-soft); }
.cta-form.is-sent { opacity: 0; transform: translateY(-10px); pointer-events: none; position: absolute; inset: 0; }
.cta-form-submit { position: relative; width: 100%; justify-content: center; }
.cta-form-spinner { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.cta-form.is-sending .cta-form-submit .btn-label { opacity: 0; }
.cta-form.is-sending .cta-form-spinner { opacity: 1; }
.cta-form-spinner::after {
  content: ""; width: 16px; height: 16px; border: 1.5px solid rgba(255,255,255,0.3); border-top-color: #fff;
  border-radius: 50%; animation: rvlSpin .8s linear infinite;
}
@keyframes rvlSpin { to { transform: rotate(360deg); } }
.cta-success {
  opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-soft);
  pointer-events: none;
}
.cta-success.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* --- Modal (showreel) --- */
.showreel-dialog { border: 0; padding: 0; max-width: none; width: 100%; height: 100%; background: #000; }
.showreel-dialog::backdrop { background: rgba(6,14,13,0.95); }
.showreel-dialog-inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.showreel-dialog video { width: 100%; max-height: 100svh; aspect-ratio: 16/9; }
.showreel-close {
  position: absolute; top: clamp(1rem,3vw,2rem); right: clamp(1rem,3vw,2rem); z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
}
.showreel-close:hover { background: var(--magenta); border-color: var(--magenta); }

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Hero --- */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--ink); background: var(--bg); overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,38,36,.4) 0%, rgba(18,38,36,.45) 35%, rgba(18,38,36,.92) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero-top { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: clamp(1.5rem, 4vw, 3rem); gap: .6rem; }
.hero-top .hero-meta:last-child { display: none; }
@media (min-width: 720px) {
  .hero-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .hero-top .hero-meta:last-child { display: flex; }
}
.hero-meta { display: flex; align-items: center; gap: .6rem; font-family: var(--sans); font-weight: 500; font-size: .84rem; letter-spacing: .04em; color: var(--ink-mute); }
.hero-meta .dot { width: 7px; height: 7px; background: var(--gradient-yellow); border-radius: 50%; }
.hero-title { max-width: 20ch; }
.hero-title .split-word { overflow: hidden; }
.hero-sub { max-width: 46ch; margin-top: 1.4rem; font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--ink-mute); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero-scroll {
  position: absolute; left: var(--gutter); bottom: 1.6rem; z-index: 2;
  display: flex; align-items: center; gap: .6rem; font-family: var(--sans); font-weight: 500; font-size: .78rem;
  color: var(--ink-mute);
}
.hero-scroll-line { width: 1px; height: 26px; background: rgba(245,247,246,0.25); position: relative; overflow: hidden; }
.hero-scroll-line::after {
  content: ""; position: absolute; inset: 0; background: var(--gradient-yellow);
  animation: rvlScrollLine 2.2s ease-in-out infinite;
}
@keyframes rvlScrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
.hero-coords { position: absolute; right: var(--gutter); bottom: 1.6rem; z-index: 2; font-family: var(--sans); font-size: .78rem; color: var(--ink-mute); display: none; }

.hero::before {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  top: -18%; right: -16%; width: min(40vw, 560px); aspect-ratio: 1;
  background: var(--gradient-yellow);
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  filter: blur(60px); opacity: .22; mix-blend-mode: screen;
  animation: blobMorph 20s ease-in-out infinite;
}

/* --- Manifesto --- */
.manifesto-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
.manifesto-num { font-family: var(--sans); font-weight: 700; font-size: .9rem; color: var(--magenta); }
.manifesto-text p { font-size: clamp(1.1rem, 1.9vw, 1.6rem); font-family: var(--display); font-weight: 500; line-height: 1.32; letter-spacing: -.01em; color: var(--ink-soft); }
.manifesto-close { margin-top: 2rem; font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--ink); font-family: var(--display); font-weight: 600; }
.tw-cursor { display: inline-block; width: 2px; height: .95em; background: var(--yellow); margin-left: 3px; vertical-align: -.12em; opacity: 0; }
.tw-cursor.is-visible { opacity: 1; }
.tw-cursor.is-blinking { animation: tw-blink .5s steps(1, start) 3; }
@keyframes tw-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tw-cursor { display: none; } }

/* --- System (4 pillars) --- */
.system-list { border-top: 1px solid var(--line); }
.system-item {
  display: grid; grid-template-columns: 3rem 1fr; gap: 1.5rem;
  padding: clamp(1.6rem, 3vw, 2.6rem) 0; border-bottom: 1px solid var(--line);
  position: relative; cursor: default;
  transition: background-color .5s var(--ease-out);
}
.system-item:hover { background: var(--bg-soft); }
.system-item-num {
  font-family: var(--display); font-weight: 700; font-size: 1rem; padding-top: .3rem;
  background: var(--gradient-yellow); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.system-item-body { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 3rem; align-items: baseline; }
.system-item-title { font-size: clamp(1.5rem, 3vw, 2.4rem); transition: color .4s; font-family: var(--display); font-weight: 600; }
.system-item:hover .system-item-title { color: var(--magenta); }
.system-item-text { max-width: 42ch; color: var(--ink-mute); font-size: 1rem; }
.system-item-arrow {
  font-family: var(--sans); font-size: 1.3rem; color: var(--ink-faint);
  transform: translateX(0); transition: transform .4s var(--ease-out), color .4s;
}
.system-item:hover .system-item-arrow { transform: translateX(6px); color: var(--magenta); }

/* --- Method --- */
.method-track { display: grid; gap: 1px; grid-template-columns: 1fr; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.method-item { padding: 2.2rem 1.8rem; background: var(--card); position: relative; }
.method-item-num {
  font-family: var(--display); font-weight: 700; font-size: .95rem;
  background: var(--gradient-magenta); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.method-item h3 { margin-top: .8rem; font-size: 1.35rem; }
.method-item p { margin-top: .7rem; color: var(--ink-mute); font-size: .94rem; }

/* --- Selected work / project grid --- */
.work-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.project-card {
  background: var(--card); padding: clamp(1.8rem, 3vw, 2.6rem); display: flex; flex-direction: column; gap: 1.5rem;
  min-height: 260px; position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line);
}
.project-card-media {
  position: relative; aspect-ratio: 16/10; background: var(--bg); overflow: hidden; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft), filter .6s; }
.project-card:hover .project-card-media img { transform: scale(1.06); filter: saturate(1.15); }
.project-card-media.is-placeholder {
  background: linear-gradient(135deg, var(--bg-soft-2) 0%, var(--bg) 60%);
}
.project-card-mark {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.1rem); color: var(--ink-mute);
  letter-spacing: -.01em;
}
.project-card-tc {
  position: absolute; top: .9rem; left: .9rem; font-family: var(--sans); font-weight: 600; font-size: .68rem; color: rgba(245,247,246,0.7);
}
.project-card-play {
  position: absolute; bottom: .9rem; right: .9rem; width: 38px; height: 38px; background: var(--gradient-magenta);
  border-radius: 50%; display: grid; place-items: center; opacity: 0; transition: opacity .4s, transform .4s; color: #fff;
}
.project-card:hover .project-card-play { opacity: 1; transform: scale(1.05); }
.project-card-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.project-card-name { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.project-card-tags { font-family: var(--sans); font-weight: 500; font-size: .78rem; color: var(--ink-mute); letter-spacing: .01em; margin-top: .4rem; }
.project-card-year { font-family: var(--sans); font-weight: 600; font-size: .84rem; color: var(--ink-faint); white-space: nowrap; }
.project-card-summary { color: var(--ink-mute); font-size: .92rem; max-width: 46ch; }
.project-card-cs { font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .03em; color: var(--yellow); display: inline-flex; align-items: center; gap: .4em; }

/* --- HORECA ecosystem --- */
.horeca-diagram { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.horeca-node { padding: 1.5rem 1.3rem; background: var(--card); display: flex; align-items: center; gap: .8rem; }
.horeca-node-num {
  font-family: var(--display); font-weight: 700; font-size: .78rem;
  background: var(--gradient-magenta); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.horeca-node-label { font-family: var(--display); font-weight: 600; font-size: 1rem; }
.horeca-center { text-align: center; padding: 2rem; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; }

/* --- Ecosystem / partners --- */
.partners-strip { display: flex; flex-wrap: wrap; gap: 1rem; }
.partner-tile { flex: 1 1 180px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem; display: flex; align-items: center; justify-content: center; min-height: 110px; transition: border-color .4s, transform .4s var(--ease-soft); }
.partner-tile:hover { border-color: var(--magenta); transform: translateY(-4px); }
.partner-tile img { max-height: 42px; width: auto; filter: grayscale(.4) brightness(1.3); opacity: .85; transition: filter .4s, opacity .4s; }
.partner-tile:hover img { filter: none; opacity: 1; }
.partner-tile-text { font-family: var(--sans); font-weight: 600; font-size: .88rem; letter-spacing: .02em; color: var(--ink-mute); text-align: center; }

/* --- Marquee --- */
.marquee { overflow: hidden; position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee-track { display: inline-flex; gap: 3rem; white-space: nowrap; will-change: transform; padding-block: 1.1rem; }
.marquee-track span { font-family: var(--sans); font-weight: 600; font-size: .88rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); }
.marquee-track .dot { background: var(--gradient-yellow); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --- Stats / count-up --- */
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.stat-item { border-top: 1px solid var(--line); padding-top: 1rem; }
.stat-num { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.6rem); background: var(--gradient-yellow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-family: var(--sans); font-weight: 500; font-size: .78rem; letter-spacing: .03em; color: var(--ink-mute); margin-top: .3rem; }

/* --- RVL TV / documentary --- */
.tv-cats { display: flex; flex-wrap: wrap; gap: .6rem; }
.tv-cat { font-family: var(--sans); font-weight: 600; font-size: .8rem; padding: .6rem 1.1rem; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); color: var(--ink-soft); }
.tv-feature {
  position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-soft-2); border-radius: var(--radius-lg);
  display: flex; align-items: flex-end;
}
.tv-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.tv-feature-content { position: relative; z-index: 1; padding: clamp(1.5rem, 4vw, 3rem); }
.tv-feature-badge { font-family: var(--sans); font-weight: 700; font-size: .74rem; letter-spacing: .06em; color: #fff; background: var(--gradient-magenta); padding: .5em 1.1em; border-radius: var(--radius-pill); text-transform: uppercase; }

/* --- Case study --- */
.cs-meta-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.cs-meta-item dt { font-family: var(--sans); font-weight: 600; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.cs-meta-item dd { font-size: 1.05rem; margin-top: .4rem; font-family: var(--display); font-weight: 500; }
.cs-block { padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.cs-block-label { font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--magenta); margin-bottom: 1rem; display: block; }
.cs-block p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 68ch; color: var(--ink-soft); }

/* --- Testimonials (placeholder-ready) --- */
.testimonial-card { border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); padding: clamp(1.8rem, 3vw, 2.6rem); background: var(--card); }
.testimonial-quote { font-family: var(--display); font-weight: 500; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.35; }
.testimonial-foot { margin-top: 1.2rem; font-family: var(--sans); font-weight: 500; font-size: .82rem; color: var(--ink-mute); }
.testimonial-placeholder-tag { font-family: var(--sans); font-weight: 700; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .3rem .7rem; display: inline-block; margin-bottom: 1rem; }

/* --- About --- */
.about-figure { aspect-ratio: 4/5; background: linear-gradient(160deg, var(--bg-soft-2), var(--bg)); position: relative; overflow: hidden; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; isolation: isolate; }
.about-figure-blob { position: absolute; z-index: 0; pointer-events: none; border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%; filter: blur(38px); }
.about-figure-blob-1 { top: -14%; left: -18%; width: 65%; aspect-ratio: 1; background: var(--gradient-magenta); opacity: .8; animation: blobMorph 16s ease-in-out infinite; }
.about-figure-blob-2 { bottom: -18%; right: -16%; width: 60%; aspect-ratio: 1; background: var(--gradient-yellow); opacity: .5; animation: blobMorph 20s ease-in-out infinite reverse; }
.about-figure-blob-3 { top: 38%; left: 58%; width: 30%; aspect-ratio: 1; background: var(--gradient-magenta); opacity: .35; filter: blur(30px); }
.about-figure-logo {
  position: relative; z-index: 2; width: 40%; max-width: 220px;
  filter: drop-shadow(0 30px 46px rgba(0,0,0,.5));
  animation: aboutFloat 6.5s ease-in-out infinite;
}
.about-figure-chip {
  position: absolute; z-index: 3; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: 0 14px 26px -6px rgba(0,0,0,.5);
  animation: aboutFloat 5.5s ease-in-out infinite;
}
.about-figure-chip svg { width: 22px; height: 22px; }
.about-figure-chip-1 { top: 12%; left: 12%; background: var(--gradient-magenta); animation-delay: -1.2s; }
.about-figure-chip-2 { bottom: 16%; right: 10%; background: var(--gradient-yellow); color: #1a1400; animation-delay: -3s; }
.about-figure-chip-3 { top: 58%; left: 6%; background: var(--card); border: 1px solid var(--line-strong); animation-delay: -.6s; width: 44px; height: 44px; }
.about-figure-chip-3 svg { width: 18px; height: 18px; }
@keyframes aboutFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.director-card { display: flex; flex-direction: column; gap: .3rem; margin-top: 1.6rem; }
.director-name { font-family: var(--display); font-weight: 600; font-size: 1.3rem; }
.director-role { font-family: var(--sans); font-weight: 500; font-size: .82rem; color: var(--ink-mute); }

/* --- Final CTA --- */
.cta-final {
  text-align: center;
  background: radial-gradient(120% 140% at 15% 0%, #b21c73 0%, #7a1f66 42%, #4a1552 100%);
  color: #fff;
}
.cta-final .eyebrow { background: var(--gradient-yellow); color: #1a1400; }
.cta-final h2 { max-width: 18ch; margin-inline: auto; color: #fff; }
.cta-final .lede { max-width: 40ch; margin-inline: auto; margin-top: 1rem; color: rgba(255,255,255,0.78); }
.cta-final-actions { display: flex; justify-content: center; margin-top: 2.5rem; }
.cta-final .btn-primary { background: #fff; color: var(--magenta-deep); box-shadow: 0 8px 24px -8px rgba(0,0,0,.35); }
.cta-final .btn-primary:hover { background: var(--yellow); color: #1a1400; }
.cta-final .btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.cta-final .btn-ghost:hover { border-color: #fff; color: var(--yellow); }
.cta-final::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  bottom: -30%; left: -10%; width: min(40vw, 500px); aspect-ratio: 1;
  background: var(--gradient-yellow);
  border-radius: 58% 42% 38% 62% / 55% 62% 38% 45%;
  filter: blur(4px); opacity: .25;
}
.cta-final .container { position: relative; z-index: 1; }

/* --- WhatsApp discreet --- */
.wa-float {
  position: fixed; right: clamp(1rem,3vw,1.8rem); bottom: clamp(1rem,3vw,1.8rem); z-index: 150;
  width: 54px; height: 54px; border-radius: 50%; background: var(--gradient-magenta); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(230,18,127,.6);
  transition: transform .4s var(--ease-soft), box-shadow .4s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 34px -8px rgba(230,18,127,.75); }
.wa-float svg { width: 24px; height: 24px; }

/* --- Footer --- */
.footer { background: var(--bg); color: var(--ink); padding-block: clamp(3rem, 7vw, 6rem) 2rem; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 3rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); position: relative; z-index: 1; }
.footer-brand-group { display: flex; flex-direction: column; align-items: center; }
.footer-brand-lockup { display: flex; align-items: center; gap: .8rem; }
.footer-brand-lockup img:first-child { width: 40px; height: 40px; border-radius: 10px; }
.footer-brand-word { height: 24px; width: auto; }
.footer-brand-tagline { margin-top: .7rem; font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .04em; color: var(--ink-mute); text-align: center; }
.footer-city { font-family: var(--sans); font-weight: 500; font-size: .88rem; color: var(--ink-mute); margin-top: .8rem; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.footer-col-title { font-family: var(--sans); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1rem; }
.footer-col a, .footer-col span { display: block; padding: .3rem 0; font-size: .95rem; }
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-family: var(--sans); font-weight: 500; font-size: .8rem; color: var(--ink-mute); position: relative; z-index: 1; }
.footer-tagline { font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .04em; }

/* --- Page header (subpages) --- */
.page-header { padding-top: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.page-header.is-dark { background: var(--bg-soft); }
.page-header::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: -30%; right: -10%; width: min(38vw, 460px); aspect-ratio: 1;
  background: var(--gradient-magenta);
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  filter: blur(6px); opacity: .35;
}
.page-header .container { position: relative; z-index: 1; }
.page-kicker { margin-bottom: 1.2rem; }
.page-header h1 { max-width: 22ch; }
.page-header .lede { margin-top: 1.4rem; }
.breadcrumb { font-family: var(--sans); font-weight: 500; font-size: .8rem; color: var(--ink-mute); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--yellow); }

/* --- Capabilities detail --- */
.cap-block { border-top: 1px solid var(--line); padding-block: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.cap-block-head { display: flex; align-items: baseline; gap: 1rem; }
.cap-code {
  font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem);
  background: var(--gradient-magenta); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cap-block-title { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cap-items { display: flex; flex-wrap: wrap; gap: .6rem; }
.cap-items span { font-family: var(--sans); font-weight: 500; font-size: .84rem; color: var(--ink-mute); padding: .5rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-pill); }

/* =============================================================
   7. Effects
   ============================================================= */
.rvl-fade-in { animation: rvlFadeIn 1s var(--ease-soft) both; }
@keyframes rvlFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
  .horeca-diagram { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 720px) {
  .contact-form-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
  .method-track { grid-template-columns: repeat(2, 1fr); }
  .cs-meta-grid { grid-template-columns: repeat(3, 1fr); }
  .cap-block { grid-template-columns: .5fr 1fr; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .hero-coords { display: block; }
  .footer-top { grid-template-columns: 1fr 2fr; }
  .method-track { grid-template-columns: repeat(5, 1fr); }
  .work-grid.work-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
}
@media (min-width: 1280px) {
  .system-item-body { flex-wrap: nowrap; }
  .horeca-diagram { grid-template-columns: repeat(6, 1fr); }
}

/* =============================================================
   9. Reduced motion — only truly intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-meta .dot { animation: none; }
  .hero-scroll-line::after { animation: none; }
  .marquee-track { animation: none !important; }
  .blob-spin { animation: none; }
}
