/* ===========================================================
   Mateusz Pieczyński — Landing Page
   Custom CSS · dark · gradient accents · scroll-driven UI
   =========================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: rgba(167, 139, 250, .35); color: #fff; }

:root {
  --bg: #0a0a0f;
  --bg-2: #0f0f17;
  --surface: #14141d;
  --surface-2: #1a1a25;
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.16);
  --text: #ececf1;
  --text-dim: #a4a4b3;
  --text-mute: #6c6c7c;
  --text-sub: #c7c7d8;

  --accent: #a78bfa;       /* violet 400 */
  --accent-2: #22d3ee;     /* cyan 400 */
  --accent-3: #f472b6;     /* pink 400 */
  --grad: linear-gradient(120deg, #a78bfa 0%, #22d3ee 60%, #f472b6 120%);

  --radius: 18px;
  --radius-lg: 26px;

  --container: 1200px;
  --pad: clamp(20px, 4vw, 40px);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

html { scrollbar-color: #2a2a36 #0a0a0f; }
body { overflow-x: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ====================== BACKGROUND FX ====================== */
.bg-fx {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(167,139,250,.10), transparent 60%),
    radial-gradient(1000px 700px at -10% 30%, rgba(34,211,238,.08), transparent 60%),
    radial-gradient(900px 700px at 50% 110%, rgba(244,114,182,.07), transparent 60%),
    var(--bg);
}
.bg-fx .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
}
.blob {
  position: absolute;
  width: 520px; height: 520px; border-radius: 50%;
  filter: blur(80px); opacity: .55; mix-blend-mode: screen;
  will-change: transform;
}
.blob-1 { background: #6d28d9; top: -120px; left: -100px; }
.blob-2 { background: #0891b2; top: 30%; right: -160px; }
.blob-3 { background: #db2777; bottom: -180px; left: 30%; }
.noise {
  position: absolute; inset: 0; opacity: .04; pointer-events: none;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .8 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.card h3 {
  font-size: 24px;
  line-height: 1.15;
}

/* ====================== CURSOR ============================= */
.cursor {
  position: fixed; top: 0; left: 0; width: 22px; height: 22px;
  border: 1px solid rgba(255,255,255,.4); border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 9999;
  transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  mix-blend-mode: difference;
}
.cursor.hover { width: 56px; height: 56px; background: rgba(255,255,255,.9); border-color: transparent; }
@media (hover: none) { .cursor { display: none; } }

/* ====================== NAV ================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--pad);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(10,10,15,.7), rgba(10,10,15,.4));
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(10,10,15,.85); }

.brand { display: inline-flex; align-items: center; gap: 12px; font-family: 'Space Grotesk', sans-serif; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad);
  color: #0a0a0f; font-weight: 700; letter-spacing: .5px;
  box-shadow: 0 6px 24px rgba(167,139,250,.35);
}
.brand-name { font-weight: 600; letter-spacing: -.01em; }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14px; color: var(--text-dim);
  position: relative; padding: 6px 2px;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--grad); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); position: relative; }
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--text);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 18px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(10,10,15,.96);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px var(--pad); }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  body.creative-mode .nav-links { background: rgba(245,237,225,.98); border-bottom-color: var(--line); }
  body.creative-mode .nav-links a { color: var(--text-dim); }
}

/* Tighten section spacing on small screens */
@media (max-width: 640px) {
  .section { padding: clamp(56px, 9vh, 90px) 0; }
  .section-head { margin-bottom: 36px; }
  .testi-grid,
  .stack-grid,
  .blog-grid,
  .portfolio-grid { margin-top: 36px; }
  .clients-band { margin-top: 36px; padding-top: 24px; }
}

/* ====================== BUTTONS ============================ */
.btn {
  --pv: 14px; --ph: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: var(--pv) var(--ph);
  border-radius: 999px;
  font-weight: 500; font-size: 15px; letter-spacing: -.005em;
  border: 1px solid transparent;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.btn-lg { --pv: 18px; --ph: 28px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: #ececf1; color: #0a0a0f;
  box-shadow: 0 8px 28px rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.6);
}
.nav-cta { background: #ececf1; color: #0a0a0f; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(167,139,250,.25), inset 0 0 0 1px #fff; }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0;
  transition: opacity .35s var(--ease);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover { color: #0a0a0f; }

.btn-ghost {
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }

/* ====================== HERO =============================== */
.hero {
  position: relative;
  min-height: calc(100svh - 70px);
  display: grid; align-items: center;
  padding: clamp(60px, 10vh, 120px) 0 80px;
}
.hero-inner { display: flex; flex-direction: column; gap: 28px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--text-dim); font-size: 13px; letter-spacing: .01em;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.18);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
  50% { box-shadow: 0 0 0 8px rgba(34,197,94,.0); }
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(44px, 7.4vw, 108px);
  line-height: .98;
  letter-spacing: -.035em;
  color: #fff;
}
.hero-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); will-change: transform; }
.reveal-line.in > span { transform: translateY(0); transition: transform 1.05s var(--ease-out); }
.reveal-line:nth-child(1).in > span { transition-delay: .05s; }
.reveal-line:nth-child(2).in > span { transition-delay: .18s; }

.hero-sub {
  max-width: 640px; color: var(--text-dim);
  font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px; max-width: 600px; margin-top: 24px; list-style: none;
  border-top: 1px solid var(--line); padding-top: 24px;
}
.hero-meta li { display: flex; flex-direction: column; gap: 2px; }
.hero-meta strong {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; color: #fff;
}
.hero-meta span { font-size: 13px; color: var(--text-mute); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--text-mute);
  animation: float 2.6s var(--ease) infinite;
}
@keyframes float { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* ====================== TICKER ============================= */
.ticker {
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  overflow: hidden; padding: 18px 0;
}
.ticker-track {
  display: inline-flex; gap: 28px; white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif; font-weight: 500;
  color: var(--text-dim); font-size: 18px; letter-spacing: .01em;
  animation: scroll-x 38s linear infinite;
}
.ticker-track span:nth-child(even) { color: var(--accent); }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ====================== SECTIONS =========================== */
.section { padding: clamp(80px, 12vh, 140px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.02), transparent); }

.transition-band {
  background:
    radial-gradient(1100px 420px at 50% 50%, rgba(167,139,250,.18), transparent 70%),
    radial-gradient(700px 320px at 80% 100%, rgba(34,211,238,.14), transparent 65%),
    linear-gradient(180deg, rgba(10,10,15,.4) 0%, rgba(17,17,28,.85) 50%, rgba(10,10,15,.4) 100%);
  border-block: 1px solid var(--line);
}
.transition-band .section-tag { color: var(--accent); }
.transition-band .section-title { color: #fff; }
.transition-band .section-desc { color: rgba(236,236,241,.78); }

.transition-inner {
  text-align: center;
  max-width: 920px;
}

.section-light {
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(56,189,248,.2), transparent 65%),
    linear-gradient(180deg, #f7faff 0%, #eef4ff 40%, #f9fbff 100%);
  color: #11203d;
}

.section-light .section-tag { color: #4c6692; }
.section-light .section-title { color: #11203d; }
.section-light .section-desc { color: #38507a; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(17,32,61,.1);
  border-radius: 22px;
  padding: 18px 18px 22px;
  box-shadow: 0 18px 40px rgba(39,72,128,.08);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(39,72,128,.18);
  border-color: rgba(17,32,61,.18);
}

.portfolio-card-wide { grid-column: span 8; }

.portfolio-card-placeholder {
  border-style: dashed;
  border-color: rgba(17,32,61,.2);
  background: rgba(255,255,255,.5);
}

.portfolio-thumb-placeholder {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(17,32,61,.3);
  width: 100%;
  height: 100%;
}

.portfolio-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 14px;
  color: #fff;
  isolation: isolate;
}

.portfolio-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,.25), transparent 60%);
  z-index: 1;
}

.thumb-grad-1 { background: linear-gradient(135deg, #1f2937 0%, #6d28d9 60%, #db2777 100%); }
.thumb-grad-2 { background: linear-gradient(135deg, #0f172a 0%, #0ea5e9 70%, #22d3ee 100%); }
.thumb-grad-3 { background: linear-gradient(135deg, #111827 0%, #334155 50%, #94a3b8 100%); }
.thumb-grad-4 { background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 50%, #f0abfc 100%); }
.thumb-grad-5 { background: linear-gradient(135deg, #052e16 0%, #166534 60%, #84cc16 100%); }
.thumb-grad-6 { background: linear-gradient(135deg, #7c2d12 0%, #ea580c 60%, #fbbf24 100%); }

.thumb-bar {
  position: absolute;
  top: 12px;
  left: 14px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.thumb-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
}
.thumb-bar span:nth-child(1) { background: rgba(255,255,255,.45); }
.thumb-bar span:nth-child(2) { background: rgba(255,255,255,.6); }
.thumb-bar span:nth-child(3) { background: rgba(255,255,255,.75); }

.thumb-domain {
  position: relative;
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(255,255,255,.95);
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.18);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thumb-wide { aspect-ratio: 21 / 9; }

.portfolio-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #466495;
  margin-bottom: 6px;
}

.portfolio-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: #11203d;
  margin: 0 0 10px;
}

.portfolio-desc {
  color: #2d4774;
  line-height: 1.6;
  font-size: 15px;
  margin: 0 0 16px;
  flex: 1;
}

.portfolio-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #11203d;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.portfolio-cta:hover {
  background: #1d3563;
  transform: translateX(2px);
}
.portfolio-cta svg { transition: transform .25s var(--ease); }
.portfolio-cta:hover svg { transform: translateX(3px); }

.portfolio-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.portfolio-cta-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17,32,61,.06);
  border: 1px solid rgba(17,32,61,.1);
  color: #11203d;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-decoration: none;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.portfolio-cta-mini:hover {
  background: rgba(17,32,61,.12);
  border-color: rgba(17,32,61,.2);
}

/* ====================== CASE STUDIES ======================= */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 240px at 20% -10%, rgba(167,139,250,.18), transparent 65%),
    linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  box-shadow: 0 18px 36px rgba(0,0,0,.24);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167,139,250,.45);
  box-shadow: 0 26px 44px rgba(0,0,0,.32);
}

.case-kicker {
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent-2);
  font-size: 11px;
}

.case-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
  color: #fff;
}

.case-points {
  list-style: none;
  display: grid;
  gap: 10px;
}

.case-points li {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.55;
}

.case-points strong {
  color: #fff;
  font-weight: 600;
}

.case-link {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.03);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}

.case-link:hover {
  transform: translateY(-2px);
  border-color: rgba(34,211,238,.55);
  background: rgba(34,211,238,.12);
}

@media (max-width: 980px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .portfolio-card { grid-column: span 6; }
  .portfolio-card-wide { grid-column: span 12; }
}

@media (max-width: 680px) {
  .portfolio-card { grid-column: span 12; }
}

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-tag {
  display: inline-block; font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 18px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(30px, 4.5vw, 56px); line-height: 1.05; letter-spacing: -.025em;
  color: #fff;
}
.section-desc { color: var(--text-dim); margin-top: 18px; font-size: clamp(15px, 1.3vw, 17px); max-width: 620px; }

.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.two-col {
  display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.lead { color: var(--text); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; margin-bottom: 16px; }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; list-style: none; }
.chip-list li {
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text-dim); font-size: 13px;
  background: rgba(255,255,255,.03);
}

/* ====================== CARDS / OFERTA ===================== */
.cards {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
}
.card {
  grid-column: span 2;
  position: relative;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
  will-change: transform;
}
.card-wide { grid-column: span 6; }
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card { grid-column: span 1; }
  .card-wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .card, .card-wide { grid-column: span 1; }
}
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); }
.card:hover::before { opacity: .9; }

.card-num {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--text-mute); letter-spacing: .12em;
}
.card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  color: var(--accent); margin: 16px 0 18px;
  transition: transform .5s var(--ease), color .35s var(--ease), background .35s var(--ease);
}
.card:hover .card-icon { transform: rotate(-6deg) scale(1.05); color: #fff; background: rgba(167,139,250,.18); }

.card h3 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 22px; letter-spacing: -.015em; color: #fff; margin-bottom: 8px;
}
.card p { color: var(--text-dim); font-size: 15px; }
.card ul { list-style: none; margin-top: 18px; display: grid; gap: 8px; }
.card ul li {
  font-size: 13px; color: var(--text-dim); padding-left: 18px; position: relative;
}
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 1px; background: var(--accent);
}

/* ====================== USP ================================ */
.usp-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
@media (max-width: 720px) { .usp-grid { grid-template-columns: 1fr; } }
.usp {
  padding: 36px clamp(24px, 4vw, 40px);
  background: var(--bg);
  transition: background .3s var(--ease);
  position: relative;
}
.usp:hover { background: rgba(255,255,255,.025); }
.usp-num {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--accent); letter-spacing: .12em; margin-bottom: 14px;
}
.usp h3 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(20px, 2vw, 24px); color: #fff; margin-bottom: 10px; letter-spacing: -.015em;
}
.usp p { color: var(--text-dim); font-size: 15px; }

/* ====================== STEPS / PROCES ===================== */
.steps {
  list-style: none; counter-reset: step;
  display: grid; gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  display: grid; grid-template-columns: 140px 1fr; gap: clamp(20px, 4vw, 60px);
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  position: relative;
  transition: background .3s var(--ease);
}
.step::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(167,139,250,.06), transparent 60%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.step:hover::after { opacity: 1; }
.step-no {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(36px, 4.5vw, 56px); letter-spacing: -.04em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step-body h3 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(20px, 2vw, 26px); color: #fff; margin-bottom: 8px; letter-spacing: -.015em;
}
.step-body p { color: var(--text-dim); max-width: 640px; }
@media (max-width: 640px) {
  .step { grid-template-columns: 1fr; gap: 8px; }
}

/* ====================== PROJECTS =========================== */
.projects {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 900px) { .projects { grid-template-columns: 1fr; } }

.project {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .35s var(--ease);
}
.project:hover { transform: translateY(-4px); border-color: var(--line-strong); }

.project-visual {
  aspect-ratio: 4 / 3;
  position: relative;
  display: grid; place-items: center;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(167,139,250,.18), transparent 60%),
    linear-gradient(180deg, #11111a, #0c0c14);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.project-meta { padding: 22px; }
.project-meta .tag {
  display: inline-block; font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 12px;
}
.project-meta h3 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 20px; color: #fff; margin-bottom: 8px;
}
.project-meta p { color: var(--text-dim); font-size: 14px; }

/* Window mock */
.window { width: 78%; border-radius: 12px; background: #15151f; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.window-bar { display: flex; gap: 6px; padding: 10px; border-bottom: 1px solid var(--line); background: #1a1a25; }
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2a2a36; }
.window-bar span:nth-child(1) { background: #f87171; } .window-bar span:nth-child(2) { background: #fbbf24; } .window-bar span:nth-child(3) { background: #34d399; }
.window-body { padding: 16px; display: grid; gap: 8px; }
.window-body .bar { height: 8px; border-radius: 4px; background: linear-gradient(90deg, #2a2a3a, #1a1a25); }
.window-body .w-60 { width: 60%; } .window-body .w-40 { width: 40%; } .window-body .w-80 { width: 80%; }
.window-body .grid-mini { margin-top: 8px; display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; }
.window-body .grid-mini > div { aspect-ratio: 1; border-radius: 6px; background: rgba(167,139,250,.15); border: 1px solid var(--line); }

/* Flow */
.flow { display: grid; grid-template-columns: repeat(3, auto); align-items: center; gap: 10px; }
.flow .node {
  padding: 10px 14px; background: #15151f; border: 1px solid var(--line); border-radius: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text);
}
.flow .node.accent { background: rgba(167,139,250,.15); border-color: rgba(167,139,250,.4); color: #fff; }
.flow .node.sm { font-size: 11px; padding: 8px 12px; }
.flow .line { width: 30px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }
.flow .line.v { grid-column: 2; height: 24px; width: 1px; background: linear-gradient(180deg, var(--accent), transparent); justify-self: center; }

/* Chart */
.chart { position: relative; width: 78%; height: 70%; display: flex; align-items: flex-end; gap: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.bar-c { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--accent), rgba(167,139,250,.2)); }
.line-c { position: absolute; inset: 0; color: var(--accent-2); }

/* ====================== CTA SECTION ======================== */
.cta-section { padding-block: clamp(60px, 8vh, 100px); }
.cta-box {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 70px);
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(167,139,250,.20), transparent 70%),
    radial-gradient(600px 300px at 50% 100%, rgba(34,211,238,.15), transparent 70%),
    rgba(255,255,255,.02);
}
.cta-box h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(28px, 4vw, 48px); letter-spacing: -.025em; color: #fff;
  max-width: 720px; margin: 0 auto 16px;
}
.cta-box p { color: var(--text-dim); max-width: 580px; margin: 0 auto 28px; }
.cta-box .cta-tag {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--accent);
}
body.creative-mode .cta-box .cta-tag { color: #fbbf24; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ====================== KONTAKT ============================ */
.contact { align-items: start; }
.contact-list { list-style: none; margin-top: 32px; display: grid; gap: 16px; }
.contact-list li {
  padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255,255,255,.025);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.contact-list li:hover { border-color: var(--line-strong); background: rgba(255,255,255,.04); }
.contact-label { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .12em; color: var(--text-mute); text-transform: uppercase; }
.contact-val { font-family: 'Space Grotesk', sans-serif; font-size: 17px; color: #fff; }

.contact-form {
  display: grid; gap: 14px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: 12px; color: var(--text-mute);
  font-family: 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase;
}
.field input, .field select, .field textarea {
  font: inherit; color: var(--text);
  background: rgba(0,0,0,.3);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  outline: none; resize: vertical;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(167,139,250,.6);
  background: rgba(0,0,0,.4);
  box-shadow: 0 0 0 4px rgba(167,139,250,.12);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a4a4b3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
  padding-right: 40px;
}
.form-note { font-size: 13px; color: var(--text-dim); min-height: 18px; margin-top: 4px; }
.form-note.ok { color: #34d399; } .form-note.err { color: #f87171; }

/* ====================== FOOTER ============================= */
.footer { border-top: 1px solid var(--line); padding: 36px 0; margin-top: 60px; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-mute);
}
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-family: 'Space Grotesk', sans-serif; }
.foot-links { display: flex; gap: 18px; }
.foot-links a { color: var(--text-dim); transition: color .25s var(--ease); }
.foot-links a:hover { color: var(--text); }

/* ====================== REVEAL ============================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .cursor { display: none; }
}

/* ======== TICKER PAUSE ON HOVER ======== */
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ======== TESTIMONIALS ======== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 64px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.testimonial:hover {
  border-color: rgba(167,139,250,.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(109,40,217,.12);
}
.t-stars { display: flex; gap: 4px; color: #fbbf24; }
.testimonial blockquote {
  font-size: 16px; line-height: 1.7; color: var(--text-sub);
  font-style: italic; flex: 1; margin: 0;
}
.t-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.t-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), #22d3ee);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; color: #fff;
}
.t-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; color: #fff; margin: 0 0 2px; }
.t-role { font-size: 13px; color: var(--text-mute); margin: 0; }

/* ======== PRICING ======== */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 64px;
  align-items: start;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 44px);
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.price-card:hover {
  border-color: rgba(167,139,250,.25);
  transform: translateY(-4px);
}
.price-card--featured {
  background: linear-gradient(160deg, rgba(109,40,217,.08) 0%, rgba(14,116,144,.06) 100%);
  border-color: rgba(167,139,250,.4);
  box-shadow: 0 0 0 1px rgba(167,139,250,.18), 0 24px 64px rgba(109,40,217,.15);
}
.price-card--featured:hover { border-color: rgba(167,139,250,.65); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 16px; border-radius: 20px; white-space: nowrap;
}
.price-label {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin: 0;
}
.price-amount {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(26px, 3vw, 34px); color: #fff; margin: 0; line-height: 1.1;
}
.price-sub { font-size: 14px; color: var(--text-mute); line-height: 1.55; margin: 0; }
.price-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.price-features li {
  font-size: 14px; color: var(--text-sub); padding-left: 22px; position: relative; line-height: 1.5;
}
.price-features li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--grad);
  opacity: .7;
}
.btn-block { width: 100%; justify-content: center; }
.pricing-note {
  text-align: center; font-size: 13px; color: var(--text-mute);
  margin-top: 40px; max-width: 560px; margin-inline: auto; line-height: 1.6;
}

/* ======== FAQ ======== */
.faq-list {
  max-width: 800px;
  margin: 64px auto 0;
  display: flex; flex-direction: column; gap: 8px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .3s var(--ease);
}
.faq-item.open, .faq-item:hover { border-color: rgba(167,139,250,.35); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px;
  background: var(--surface);
  border: none; cursor: pointer; text-align: left;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px; color: #fff;
  transition: background .2s var(--ease);
}
.faq-q:hover { background: rgba(255,255,255,.03); }
.faq-icon {
  flex-shrink: 0; width: 28px; height: 28px;
  border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; color: var(--accent);
  transition: transform .35s var(--ease), background .2s, border-color .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq-a p {
  padding: 0 26px 22px;
  font-size: 15px; color: var(--text-sub); line-height: 1.75; margin: 0;
}

/* ====================== PORTFOLIO THUMBS (real shots) ===== */
.thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background: linear-gradient(135deg, #1f2937, #6d28d9);
  filter: saturate(1.05) contrast(1.02);
}
.portfolio-thumb { background: #11203d; }

/* Play overlay for video/reel thumbs */
.thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #1a1a1a;
  box-shadow: 0 12px 40px rgba(0,0,0,.35), 0 0 0 8px rgba(255,255,255,.18);
  transition: transform .35s var(--ease);
}
.thumb-play svg { margin-left: 3px; }
.portfolio-card:hover .thumb-play { transform: scale(1.08); }

/* Stat overlay for wide retainer-style thumb */
.thumb-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 16px;
  padding: 24px 28px 56px;
  background: linear-gradient(180deg, rgba(10,10,15,0) 35%, rgba(10,10,15,.78) 100%);
  pointer-events: none;
}
.overlay-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.overlay-stat strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, #fbbf24, #f97316, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.overlay-stat span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-top: 4px;
}
@media (max-width: 640px) {
  .thumb-overlay { padding: 16px 12px 44px; gap: 8px; }
  .overlay-stat strong { font-size: 18px; }
  .overlay-stat span { font-size: 9px; }
}

.thumb-trio {
  background: #0f1830;
  align-items: stretch;
  justify-content: stretch;
  padding: 32px 12px 12px;
}
.trio-grid {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.trio-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  background: linear-gradient(135deg, #4c1d95, #f0abfc);
}

.thumb-private {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: auto auto 4px;
  color: rgba(255,255,255,.92);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-align: center;
  letter-spacing: .04em;
}
.thumb-private svg { opacity: .85; }

.thumb-illu {
  position: relative;
  z-index: 2;
  margin: auto;
  color: rgba(255,255,255,.85);
}

/* ====================== FOOTER LEGAL ====================== */
.foot-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  flex-basis: 100%;
  padding-top: 18px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}
.foot-legal a,
.foot-legal-btn {
  color: var(--text-mute);
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color .25s var(--ease);
}
.foot-legal a:hover,
.foot-legal-btn:hover { color: var(--text); }

/* ====================== COOKIE BANNER ===================== */
.cookie-banner {
  position: fixed;
  z-index: 90;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.show { opacity: 1; transform: none; pointer-events: auto; }
.cookie-inner {
  pointer-events: auto;
  width: min(880px, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(15,15,24,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
.cookie-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin: 0 0 4px;
  letter-spacing: -.005em;
}
.cookie-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-sub);
  margin: 0;
}
.cookie-text a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.btn-cookie {
  padding: 10px 16px;
  font-size: 13px;
}

/* ====================== LEGAL PAGES ======================= */
.legal-page main { padding-top: 120px; padding-bottom: 80px; }
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.legal-wrap .section-tag { margin-bottom: 14px; }
.legal-wrap h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--text);
}
.legal-wrap .lead {
  color: var(--text-sub);
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 36px;
}
.legal-wrap h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  letter-spacing: -.01em;
  margin: 36px 0 12px;
  color: var(--text);
}
.legal-wrap h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  margin: 24px 0 8px;
  color: var(--text);
}
.legal-wrap p,
.legal-wrap li {
  color: var(--text-sub);
  line-height: 1.75;
  font-size: 15px;
}
.legal-wrap ul,
.legal-wrap ol {
  padding-left: 22px;
  margin: 8px 0 12px;
}
.legal-wrap ul li,
.legal-wrap ol li { margin-bottom: 6px; }
.legal-wrap a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.legal-meta {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mute);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

@media (max-width: 720px) {
  .cookie-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
  .cookie-actions { width: 100%; }
  .btn-cookie { flex: 1; justify-content: center; }
}

/* ====================== MODE SWITCH (Tech / Kreatywna) === */
.mode-switch {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.mode-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.mode-switch:hover .mode-track { border-color: rgba(167,139,250,.5); }
.mode-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border-radius: 999px;
  background: linear-gradient(120deg, #a78bfa, #22d3ee);
  box-shadow: 0 8px 20px rgba(167,139,250,.35);
  transition: transform .35s var(--ease);
  z-index: 0;
}
.mode-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-width: 96px;
  padding: 0 18px;
  color: var(--text-mute);
  transition: color .25s var(--ease);
  white-space: nowrap;
}
.mode-label-tech { color: #0a0a0f; font-weight: 600; }
.mode-label-creative { color: var(--text-mute); }
body.creative-mode .mode-label-tech { color: var(--text-mute); }
body.creative-mode .mode-label-creative { color: #fff; font-weight: 600; }
body.creative-mode .mode-thumb {
  transform: translateX(100%);
  background: linear-gradient(120deg, #d97706 0%, #ea580c 55%, #be185d 110%);
  box-shadow: 0 8px 22px rgba(217,119,6,.45);
}
body.creative-mode .mode-track { background: rgba(35,31,28,.05); }
body.creative-mode .mode-switch:hover .mode-track { border-color: rgba(217,119,6,.45); }

/* ====================== PORTFOLIO SHOW MORE ============== */
.portfolio-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.portfolio-toggle {
  background: transparent;
  border: 1px solid rgba(17,32,61,.18);
  color: #11203d;
  padding: 12px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.portfolio-toggle:hover {
  background: rgba(17,32,61,.06);
  border-color: rgba(17,32,61,.32);
  transform: translateY(-1px);
}
.toggle-icon { transition: transform .35s var(--ease); }
.portfolio-toggle.open .toggle-icon { transform: rotate(180deg); }

.portfolio-extra {
  margin-top: 24px;
}
.portfolio-extra[hidden] { display: none; }
.portfolio-extra .portfolio-card {
  opacity: 0;
  transform: translateY(20px);
}
.portfolio-extra .portfolio-card.extra-in {
  animation: extraIn .55s var(--ease-out) forwards;
}
@keyframes extraIn {
  to { opacity: 1; transform: none; }
}
.trio-grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 860px) {
  .mode-switch { display: none; }
}

/* ====================== CORNER FLOATING SWITCH =========== */
.corner-switch {
  position: fixed;
  z-index: 80;
  right: 18px;
  bottom: 18px;
  display: none;
  align-items: center;
  text-decoration: none;
  padding: 6px;
  border-radius: 999px;
  background: rgba(15,15,24,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.corner-switch:hover { transform: translateY(-2px); }
.corner-switch .mode-track { height: 34px; border: 0; background: transparent; }
.corner-switch .mode-thumb { top: 0; left: 0; height: 100%; width: 50%; }
.corner-switch .mode-label { padding: 0 14px; font-size: 10px; min-width: 80px; }

@media (max-width: 520px) {
  .corner-switch { right: 12px; bottom: 12px; }
  .corner-switch .mode-label { padding: 0 10px; }
}

@media (max-width: 860px) {
  .corner-switch { display: inline-flex; }
}

/* ====================== CREATIVE MODE (light) ============ */
body.creative-mode {
  --bg: #f5ede1;
  --bg-2: #efe5d6;
  --surface: #ffffff;
  --surface-2: #faf3e7;
  --line: rgba(35,31,28,.1);
  --line-strong: rgba(35,31,28,.2);
  --text: #231f1c;
  --text-dim: #4a423b;
  --text-mute: #8a8076;
  --text-sub: #4a423b;
  --accent: #d97706;
  --accent-2: #b45309;
  --accent-3: #ea580c;
  --grad: linear-gradient(120deg, #d97706 0%, #ea580c 50%, #be185d 110%);
}
body.creative-mode .bg-fx { opacity: .35; }
body.creative-mode .grid {
  background-image:
    linear-gradient(rgba(35,31,28,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35,31,28,.05) 1px, transparent 1px);
}
body.creative-mode .blob-1 { background: radial-gradient(circle, rgba(217,119,6,.5), transparent 60%); }
body.creative-mode .blob-2 { background: radial-gradient(circle, rgba(190,24,93,.4), transparent 60%); }
body.creative-mode .blob-3 { background: radial-gradient(circle, rgba(234,88,12,.4), transparent 60%); }
body.creative-mode .nav { background: rgba(245,237,225,.7); border-bottom-color: var(--line); }
body.creative-mode .nav.scrolled { background: rgba(245,237,225,.92); }
body.creative-mode .nav a { color: var(--text-dim); }
body.creative-mode .nav a:hover { color: var(--text); }
body.creative-mode .brand-name { color: var(--text); }
body.creative-mode .brand-suffix { color: var(--accent); font-weight: 500; }
body.creative-mode .btn-primary {
  background: var(--text);
  color: #f5ede1;
  box-shadow: 0 8px 24px rgba(35,31,28,.18), inset 0 0 0 1px rgba(35,31,28,.9);
}
body.creative-mode .btn-primary:hover {
  color: #fff;
  box-shadow: 0 16px 36px rgba(217,119,6,.35), inset 0 0 0 1px transparent;
}
body.creative-mode .btn-primary::before {
  background: linear-gradient(120deg, #d97706 0%, #ea580c 55%, #be185d 110%);
}
body.creative-mode .btn-ghost {
  background: rgba(255,255,255,.6);
  border-color: rgba(35,31,28,.18);
  color: var(--text);
  backdrop-filter: blur(8px);
}
body.creative-mode .btn-ghost:hover {
  background: rgba(255,255,255,.95);
  border-color: rgba(35,31,28,.35);
  color: var(--text);
}
body.creative-mode .nav-cta {
  background: linear-gradient(120deg, #d97706 0%, #ea580c 55%, #be185d 110%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(217,119,6,.4), inset 0 0 0 1px rgba(255,255,255,.18);
}
body.creative-mode .nav-cta::before { display: none; }
body.creative-mode .nav-cta:hover {
  filter: brightness(1.06);
  box-shadow: 0 12px 28px rgba(217,119,6,.5);
  color: #fff;
}
body.creative-mode .portfolio-toggle {
  background: var(--text);
  color: #f5ede1;
  border-color: var(--text);
}
body.creative-mode .portfolio-toggle:hover {
  background: #3a322c;
  border-color: #3a322c;
  color: #fff;
}
body.creative-mode .portfolio-cta {
  background: var(--text);
  color: #f5ede1;
}
body.creative-mode .portfolio-cta:hover {
  background: linear-gradient(120deg, #d97706 0%, #ea580c 100%);
  color: #fff;
}
body.creative-mode .portfolio-cta-mini {
  background: rgba(35,31,28,.06);
  border-color: rgba(35,31,28,.14);
  color: var(--text);
}
body.creative-mode .portfolio-cta-mini:hover {
  background: rgba(217,119,6,.12);
  border-color: rgba(217,119,6,.4);
  color: #b45309;
}
body.creative-mode .ticker {
  background: #faf3e7;
  border-top-color: var(--line);
  border-bottom-color: var(--line);
  color: var(--text-dim);
}
body.creative-mode .section-light {
  background: #ffffff;
  color: var(--text);
}
body.creative-mode .section-light .section-tag,
body.creative-mode .section-light .section-desc { color: var(--text-dim); }
body.creative-mode .section-alt { background: #faf3e7; }
body.creative-mode .card,
body.creative-mode .testimonial,
body.creative-mode .price-card,
body.creative-mode .case-card,
body.creative-mode .faq-item {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}
body.creative-mode .card h3,
body.creative-mode .case-card h3,
body.creative-mode .price-card h3 { color: var(--text); }
body.creative-mode .card p,
body.creative-mode .card li,
body.creative-mode .case-card p,
body.creative-mode .case-card li { color: var(--text-dim); }
body.creative-mode .card-num,
body.creative-mode .step-no,
body.creative-mode .case-kicker { color: var(--accent); }
body.creative-mode .step-body h3 { color: var(--text); }
body.creative-mode .step-body p { color: var(--text-dim); }
body.creative-mode .cta-box {
  background: var(--text);
  color: #f5ede1;
}
body.creative-mode .cta-box h2 { color: #f5ede1; }
body.creative-mode .cta-box p { color: rgba(245,237,225,.75); }
body.creative-mode .cta-box .btn-primary {
  background: #f5ede1;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0,0,0,.25), inset 0 0 0 1px rgba(35,31,28,.05);
}
body.creative-mode .cta-box .btn-primary:hover { color: #fff; }
body.creative-mode .cta-box .btn-primary::before {
  background: linear-gradient(120deg, #fb923c 0%, #ea580c 100%);
}
body.creative-mode .cta-box .btn-ghost {
  color: #f5ede1;
  border-color: rgba(245,237,225,.35);
  background: transparent;
}
body.creative-mode .cta-box .btn-ghost:hover {
  background: rgba(245,237,225,.12);
  border-color: rgba(245,237,225,.6);
  color: #fff;
}
body.creative-mode .footer { border-top-color: var(--line); }
body.creative-mode .foot-brand { color: var(--text); }
body.creative-mode .foot-meta,
body.creative-mode .foot-links a,
body.creative-mode .foot-legal a,
body.creative-mode .foot-legal-btn { color: var(--text-dim); }
body.creative-mode .foot-legal { border-top-color: var(--line); }
body.creative-mode .contact-form input,
body.creative-mode .contact-form textarea,
body.creative-mode .contact-form select {
  background: #faf3e7;
  border-color: var(--line);
  color: var(--text);
}
body.creative-mode .contact-form label { color: var(--text-dim); }
body.creative-mode .contact-list .contact-label { color: var(--text-mute); }
body.creative-mode .contact-list .contact-val { color: var(--text); }
body.creative-mode .cookie-inner {
  background: rgba(255,255,255,.95);
  color: var(--text);
  border-color: var(--line);
}
body.creative-mode .cookie-title { color: var(--text); }
body.creative-mode .cookie-text { color: var(--text-dim); }
body.creative-mode .cookie-text a { color: var(--text); }
body.creative-mode .cursor { mix-blend-mode: multiply; background: rgba(35,31,28,.4); }
body.creative-mode .corner-switch {
  background: rgba(255,255,255,.92);
  border-color: var(--line);
}

/* Creative-mode text/contrast fixes */
body.creative-mode .hero-title { color: var(--text); }
body.creative-mode .section-title { color: var(--text); }
body.creative-mode .section-tag { color: var(--accent); }
body.creative-mode .faq-q {
  color: var(--text);
  background: #ffffff;
}
body.creative-mode .faq-q:hover { background: #faf3e7; }
body.creative-mode .faq-a p { color: var(--text-dim); }
body.creative-mode .faq-icon {
  color: var(--text);
  border-color: var(--line);
  background: rgba(35,31,28,.04);
}
body.creative-mode .faq-item.open,
body.creative-mode .faq-item:hover { border-color: rgba(217,119,6,.45); }

/* Tech nav-cta stays cream-on-dark; in creative flip to dark-on-cream */
body.creative-mode .nav-cta {
  background: var(--text);
  color: #f5ede1;
  box-shadow: 0 6px 18px rgba(217,119,6,.25);
}

/* Creative transition band: warm panel, dark text */
body.creative-mode .transition-band {
  background:
    radial-gradient(900px 360px at 50% 50%, rgba(217,119,6,.18), transparent 70%),
    radial-gradient(700px 320px at 80% 100%, rgba(190,24,93,.12), transparent 65%),
    linear-gradient(180deg, #f5ede1 0%, #efe5d6 100%);
  border-block-color: var(--line);
}
body.creative-mode .transition-band .section-tag { color: var(--accent); }
body.creative-mode .transition-band .section-title { color: var(--text); }
body.creative-mode .transition-band .section-desc { color: var(--text-dim); }

/* ====================== STACK (Tech grid) ================ */
.stack-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  margin-top: 48px;
}
.stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  transition: all .3s var(--ease);
  cursor: pointer;
}
.stack-item:hover {
  border-color: rgba(167,139,250,.35);
  background: rgba(167,139,250,.08);
  transform: translateY(-2px);
}
.stack-icon {
  font-size: 28px;
  line-height: 1;
  display: block;
}
.stack-item p {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.2;
}
.stack-item:hover p { color: var(--text); }

body.creative-mode .stack-item {
  background: #ffffff;
  border-color: var(--line);
}
body.creative-mode .stack-item:hover {
  background: #faf3e7;
  border-color: rgba(217,119,6,.4);
}
body.creative-mode .stack-item p { color: var(--text-dim); }

@media (max-width: 1080px) {
  .stack-items { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; }
}
@media (max-width: 720px) {
  .stack-items { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 9px; }
  .stack-item { padding: 12px; }
  .stack-icon { font-size: 24px; }
  .stack-item p { font-size: 11px; }
}
@media (max-width: 560px) {
  .stack-items { grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 8px; }
  .stack-item { padding: 10px; }
  .stack-icon { font-size: 22px; }
}

.stack-note {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-mute);
}
body.creative-mode .stack-note { color: var(--text-dim); }

/* ====================== TESTIMONIALS ===================== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 56px;
}
.testi-card {
  padding: 28px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.testi-card:hover {
  border-color: rgba(167,139,250,.35);
  transform: translateY(-3px);
}
.testi-stars {
  display: inline-flex;
  gap: 2px;
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 1px;
}
.testi-card blockquote {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: -.005em;
}
.testi-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  background: var(--grad);
  color: #0a0a0f;
  flex-shrink: 0;
}
.testi-foot strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: var(--text);
}
.testi-foot span {
  display: block;
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 2px;
}
body.creative-mode .testi-card {
  background: #ffffff;
  border-color: var(--line);
}
body.creative-mode .testi-card:hover { border-color: rgba(217,119,6,.4); }
body.creative-mode .testi-card blockquote { color: var(--text); }
body.creative-mode .testi-avatar { color: #fff; }
body.creative-mode .testi-foot strong { color: var(--text); }
body.creative-mode .testi-foot span { color: var(--text-mute); }

@media (max-width: 760px) {
  .testi-grid { grid-template-columns: 1fr; gap: 14px; }
  .testi-card { padding: 22px; }
  .testi-card blockquote { font-size: 16px; }
}

/* Clients band */
.clients-band {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.clients-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-mute);
  text-align: center;
  margin: 0 0 22px;
}

/* Logo marquee */
.logo-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: logo-scroll 48s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.logo-chip:hover {
  border-color: rgba(167,139,250,.4);
  background: rgba(255,255,255,.06);
  transform: translateY(-2px);
}
.logo-mono {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c1, #6366f1), var(--c2, #a855f7));
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -.02em;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.logo-word {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--text-dim);
  white-space: nowrap;
}
.logo-word strong {
  font-weight: 700;
  color: var(--text);
}
.logo-word em {
  font-style: italic;
  font-weight: 400;
  color: var(--text);
}
.logo-chip:hover .logo-word { color: var(--text); }

body.creative-mode .clients-band { border-top-color: var(--line); }
body.creative-mode .clients-label { color: var(--text-mute); }
body.creative-mode .logo-chip {
  background: #ffffff;
  border-color: var(--line);
}
body.creative-mode .logo-chip:hover {
  border-color: rgba(217,119,6,.4);
  background: #faf3e7;
}
body.creative-mode .logo-word { color: var(--text-dim); }
body.creative-mode .logo-word strong,
body.creative-mode .logo-word em { color: var(--text); }
body.creative-mode .logo-mono { box-shadow: 0 4px 14px rgba(35,31,28,.18); }

@media (max-width: 560px) {
  .logo-chip { padding: 10px 14px 10px 10px; gap: 10px; }
  .logo-mono { width: 32px; height: 32px; font-size: 11px; }
  .logo-word { font-size: 14px; }
}

/* ====================== BLOG / INSIGHTS ================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 56px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.blog-card:hover {
  border-color: rgba(167,139,250,.4);
  transform: translateY(-4px);
}
.blog-thumb-link {
  display: block;
  text-decoration: none;
  overflow: hidden;
}
.blog-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  overflow: hidden;
  background: #11203d;
}
.blog-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .6s var(--ease);
}
.blog-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0) 40%, rgba(10,10,15,.55) 100%);
  z-index: 1;
}
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-grad-1 { background: linear-gradient(135deg, #1e3a8a 0%, #6366f1 60%, #a855f7 100%); }
.blog-grad-2 { background: linear-gradient(135deg, #064e3b 0%, #10b981 60%, #6ee7b7 100%); }
.blog-grad-3 { background: linear-gradient(135deg, #7c2d12 0%, #ea580c 60%, #fbbf24 100%); }
.blog-grad-4 { background: linear-gradient(135deg, #312e81 0%, #7c3aed 60%, #f0abfc 100%); }
.blog-grad-5 { background: linear-gradient(135deg, #0c4a6e 0%, #0ea5e9 60%, #67e8f9 100%); }
.blog-grad-6 { background: linear-gradient(135deg, #581c87 0%, #be185d 60%, #f472b6 100%); }
.blog-tag-mini {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.blog-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.blog-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-mute);
  margin: 0;
}
.blog-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--text);
  margin: 0;
}
.blog-title a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .35s var(--ease);
}
.blog-title a:hover { background-size: 100% 1px; }
.blog-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
}
.blog-link {
  margin-top: auto;
  padding-top: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.blog-link:hover { gap: 10px; color: var(--text); }

body.creative-mode .blog-card {
  background: #ffffff;
  border-color: var(--line);
}
body.creative-mode .blog-card:hover { border-color: rgba(217,119,6,.4); }
body.creative-mode .blog-title { color: var(--text); }
body.creative-mode .blog-desc { color: var(--text-dim); }
body.creative-mode .blog-link { color: var(--accent); }
body.creative-mode .blog-link:hover { color: var(--accent-2); }

@media (max-width: 980px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 620px) {
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-body { padding: 18px; }
  .blog-title { font-size: 17px; }
}

/* ====================== BLOG POST PAGE =================== */
.blog-post-hero {
  position: relative;
  margin: 0 0 36px;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  border: 1px solid var(--line);
  background: #11203d;
}
.blog-post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-post-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0) 50%, rgba(10,10,15,.55) 100%);
}
.blog-post-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.blog-post-callout {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 3px solid var(--accent);
  background: rgba(255,255,255,.03);
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
}
.blog-post-callout strong { color: var(--text); }
body.creative-mode .blog-post-callout { background: rgba(217,119,6,.06); }
.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color .25s var(--ease), gap .25s var(--ease);
}
.blog-back:hover { color: var(--text); gap: 10px; }
@media (max-width: 720px) {
  .blog-post-hero { aspect-ratio: 16 / 10; border-radius: 16px; }
}

/* ====================== CREATIVE THUMBS (mock) =========== */
.creative-thumb-1 { background: linear-gradient(135deg, #fef3c7, #fbbf24); }
.creative-thumb-2 { background: linear-gradient(135deg, #fde2e4, #fbcfe8); }
.creative-thumb-3 { background: linear-gradient(135deg, #1f2937, #111827); }
.creative-thumb-4 { background: linear-gradient(135deg, #fef3c7, #f5ede1); }
.creative-thumb-5 { background: linear-gradient(135deg, #fb7185, #f97316); }
.creative-thumb-6 { background: linear-gradient(135deg, #231f1c, #4a423b); }

/* Mock: instagram feed */
.creative-mock-feed {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4px;
  padding: 30px 10px 10px;
}
.mock-tile { border-radius: 4px; }
.mock-tile-a { background: linear-gradient(135deg, #84cc16, #15803d); }
.mock-tile-b { background: linear-gradient(135deg, #fde68a, #d97706); }
.mock-tile-c { background: linear-gradient(135deg, #f0fdf4, #86efac); }
.mock-tile-d { background: linear-gradient(135deg, #166534, #052e16); }
.mock-tile-e { background: linear-gradient(135deg, #fcd34d, #b45309); }
.mock-tile-f { background: linear-gradient(135deg, #ecfccb, #65a30d); }

/* Mock: product packshot */
.creative-mock-product {
  position: relative;
  z-index: 1;
  margin: auto;
  width: 60%;
  height: 60%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.mock-bottle {
  width: 38%;
  height: 75%;
  background: linear-gradient(180deg, #fdf2f8 0%, #fbcfe8 60%, #f9a8d4 100%);
  border-radius: 18px 18px 8px 8px;
  position: relative;
  box-shadow: 0 18px 30px rgba(190,24,93,.25);
}
.mock-bottle::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 30%;
  width: 40%;
  height: 14px;
  background: #be185d;
  border-radius: 4px 4px 2px 2px;
}
.mock-bottle::after {
  content: "M";
  position: absolute;
  top: 35%;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Space Grotesk', serif;
  font-weight: 700;
  font-size: 22px;
  color: #be185d;
  letter-spacing: -.02em;
}
.mock-shadow {
  position: absolute;
  bottom: -4px;
  left: 25%;
  right: 25%;
  height: 8px;
  background: radial-gradient(ellipse, rgba(190,24,93,.25), transparent 70%);
  filter: blur(6px);
}

/* Mock: phone reel */
.creative-mock-reel {
  position: relative;
  z-index: 1;
  margin: auto;
  width: 90px;
  height: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-phone {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  border-radius: 14px;
  position: relative;
  box-shadow: 0 14px 24px rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255,255,255,.15);
}
.mock-play {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ea580c;
}
.mock-progress {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  height: 3px;
  background: rgba(255,255,255,.3);
  border-radius: 2px;
  overflow: hidden;
}
.mock-progress span {
  display: block;
  width: 38%;
  height: 100%;
  background: #fff;
  border-radius: 2px;
}

/* Mock: brand book */
.creative-mock-brand {
  position: relative;
  z-index: 1;
  margin: auto;
  width: 75%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: #231f1c;
}
.mock-logo {
  font-family: 'Space Grotesk', serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.mock-logo span {
  font-size: 24px;
  background: var(--text);
  color: #fef3c7;
  padding: 2px 6px;
  border-radius: 4px;
}
.mock-swatches { display: flex; gap: 6px; }
.mock-swatches .sw {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(35,31,28,.2);
}
.sw-1 { background: #231f1c; }
.sw-2 { background: #d97706; }
.sw-3 { background: #fef3c7; }
.sw-4 { background: #be185d; }

/* Mock: campaign posters */
.creative-mock-campaign {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 30px 14px 14px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}
.mock-poster {
  flex: 1;
  height: 75%;
  border-radius: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.05;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: -.01em;
  padding: 6px;
  box-shadow: 0 8px 16px rgba(0,0,0,.18);
}
.mock-poster-1 { background: #fff; color: #f97316; transform: rotate(-4deg); }
.mock-poster-2 { background: #f97316; color: #fff; transform: translateY(-6px); }
.mock-poster-3 { background: #231f1c; color: #fb923c; transform: rotate(4deg); }

/* Mock: agency stats */
.creative-mock-agency {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 30px 18px 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: center;
}
.mock-stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  color: #fff;
  backdrop-filter: blur(6px);
}
.mock-stat strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -.02em;
  background: linear-gradient(120deg, #fb923c, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mock-stat span {
  display: block;
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.brand-suffix { color: var(--text-mute); font-weight: 400; }
